From fb26e097209f129b92dab735bde04a5f11bb6a8b Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Fri, 18 Oct 2019 14:48:35 -0700
Subject: [PATCH 001/189] addtdebyokapiswaggers
---
.../ListManagedInstanceOperations.json | 72 ++++
.../managedInstanceOperations.json | 315 ++++++++++++++++++
.../examples/ListServerOperations.json | 42 +++
.../2019-06-01-preview/serverOperations.json | 315 ++++++++++++++++++
4 files changed, 744 insertions(+)
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListManagedInstanceOperations.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedInstanceOperations.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListServerOperations.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/serverOperations.json
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListManagedInstanceOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListManagedInstanceOperations.json
new file mode 100644
index 000000000000..5a9870148b02
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListManagedInstanceOperations.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "sqlcrudtest-7398",
+ "managedInstanceName": "sqlcrudtest-4645",
+ "api-version": "2018-06-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/operations/11111111-1111-1111-1111-111111111111",
+ "name": "11111111-1111-1111-1111-111111111111",
+ "type": "Microsoft.Sql/managedInstances/operations",
+ "properties": {
+ "managedInstanceName": "sqlcrudtest-4645",
+ "operation": "UpsertManagedServer",
+ "operationFriendlyName": "MANAGED SERVER UPDATE",
+ "percentComplete": 0,
+ "startTime": "2017-06-01T09:10:08.10Z",
+ "state": "InProgress"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/operations/22222222-2222-2222-2222-222222222222",
+ "name": "22222222-2222-2222-2222-222222222222",
+ "type": "Microsoft.Sql/managedInstances/operations",
+ "properties": {
+ "managedInstanceName": "sqlcrudtest-4645",
+ "operation": "UpsertManagedServer",
+ "operationFriendlyName": "MANAGED SERVER UPDATE",
+ "percentComplete": 100,
+ "startTime": "2019-09-23T08:05:28.687Z",
+ "state": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/operations/33333333-3333-3333-3333-333333333333",
+ "name": "33333333-3333-3333-3333-333333333333",
+ "type": "Microsoft.Sql/managedInstances/operations",
+ "properties": {
+ "managedInstanceName": "sqlcrudtest-4645",
+ "operation": "UpsertManagedServer",
+ "operationFriendlyName": "MANAGED SERVER UPDATE",
+ "percentComplete": 55,
+ "startTime": "2019-09-23T08:05:28.687Z",
+ "state": "Failed",
+ "errorCode": "45157",
+ "errorDescription": "Server 'testcl' is busy with another operation. Please try your operation later.",
+ "errorSeverity": "16",
+ "isUserError": "True"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/operations/44444444-4444-4444-4444-444444444444",
+ "name": "44444444-4444-4444-4444-444444444444",
+ "type": "Microsoft.Sql/managedInstances/operations",
+ "properties": {
+ "managedInstanceName": "sqlcrudtest-4645",
+ "operation": "MakeAllManagedDatabasesAccessible",
+ "operationFriendlyName": "MAKE ALL MANAGED DBS ACCESSIBLE",
+ "percentComplete": 100,
+ "startTime": "2017-06-01T09:00:08.10Z",
+ "state": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedInstanceOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedInstanceOperations.json
new file mode 100644
index 000000000000..49ba608953af
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedInstanceOperations.json
@@ -0,0 +1,315 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2018-06-01-preview",
+ "title": "SqlManagementClient",
+ "description": "The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/operations": {
+ "get": {
+ "tags": [
+ "ManagedInstanceOperations"
+ ],
+ "description": "Gets a list of operations performed on the managed instance.",
+ "operationId": "ManagedInstanceOperations_ListByManagedInstance",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request for getting managed instance operations has been executed successfully.",
+ "schema": {
+ "$ref": "#/definitions/ManagedInstanceOperationListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription."
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List the managed instance management operations": {
+ "$ref": "./examples/ListManagedInstanceOperations.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ManagedInstanceOperationListResult": {
+ "description": "The response to a list managed instance operations request",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Array of results.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedInstanceOperation"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to retrieve next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ManagedInstanceOperationProperties": {
+ "description": "The properties of a managed instance operation.",
+ "type": "object",
+ "properties": {
+ "managedInstanceName": {
+ "description": "The name of the managed instance the operation is being performed on.",
+ "type": "string",
+ "readOnly": true
+ },
+ "operation": {
+ "description": "The name of operation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "operationFriendlyName": {
+ "description": "The friendly name of operation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "percentComplete": {
+ "format": "int32",
+ "description": "The percentage of the operation completed.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "startTime": {
+ "format": "date-time",
+ "description": "The operation start time.",
+ "type": "string",
+ "readOnly": true
+ },
+ "state": {
+ "description": "The operation state.",
+ "enum": [
+ "Pending",
+ "InProgress",
+ "Succeeded",
+ "Failed",
+ "CancelInProgress",
+ "Cancelled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "ManagementOperationState",
+ "modelAsString": true
+ }
+ },
+ "errorCode": {
+ "format": "int32",
+ "description": "The operation error code.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "errorDescription": {
+ "description": "The operation error description.",
+ "type": "string",
+ "readOnly": true
+ },
+ "errorSeverity": {
+ "format": "int32",
+ "description": "The operation error severity.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "isUserError": {
+ "description": "Whether or not the error is a user error.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "estimatedCompletionTime": {
+ "format": "date-time",
+ "description": "The estimated completion time of the operation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "description": {
+ "description": "The operation description.",
+ "type": "string",
+ "readOnly": true
+ },
+ "isCancellable": {
+ "description": "Whether the operation can be cancelled.",
+ "type": "boolean",
+ "readOnly": true
+ }
+ }
+ },
+ "Resource": {
+ "description": "ARM resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Resource name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Resource type.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ProxyResource": {
+ "description": "ARM proxy resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {}
+ },
+ "ManagedInstanceOperation": {
+ "description": "A managed instance operation.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ManagedInstanceOperationProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The subscription ID that identifies an Azure subscription.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The API version to use for the request.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ResourceGroupParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ServerNameParameter": {
+ "name": "serverName",
+ "in": "path",
+ "description": "The name of the server.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ManagedInstanceNameParameter": {
+ "name": "managedInstanceName",
+ "in": "path",
+ "description": "The name of the managed instance.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "DatabaseNameParameter": {
+ "name": "databaseName",
+ "in": "path",
+ "description": "The name of the database.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "BlobAuditingPolicyNameParameter": {
+ "name": "blobAuditingPolicyName",
+ "in": "path",
+ "description": "The name of the blob auditing policy.",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "default"
+ ],
+ "x-ms-parameter-location": "method"
+ },
+ "SqlVirtualMachineInstanceNameParameter": {
+ "name": "sqlVirtualMachineInstanceName",
+ "in": "path",
+ "description": "The name of the SqlVirtualMachineInstance.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "SqlVirtualMachineContainerNameParameter": {
+ "name": "sqlVirtualMachineContainerName",
+ "in": "path",
+ "description": "The name of the SqlVirtualMachineContainer.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "VirtualClusterNameParameter": {
+ "name": "virtualClusterName",
+ "in": "path",
+ "description": "The name of the virtual cluster.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListServerOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListServerOperations.json
new file mode 100644
index 000000000000..c781324aa4b6
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListServerOperations.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "sqlcrudtest-7398",
+ "serverName": "sqlcrudtest-4645",
+ "api-version": "2019-06-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/operations/11111111-1111-1111-1111-111111111111",
+ "name": "11111111-1111-1111-1111-111111111111",
+ "type": "Microsoft.Sql/servers/operations",
+ "properties": {
+ "operation": "MakeAllLogicalDatabasesAccessible",
+ "operationFriendlyName": "MAKE ALL DBS ACCESSIBLE",
+ "percentComplete": 0,
+ "serverName": "sqlcrudtest-4645",
+ "startTime": "2017-06-01T09:10:08.10Z",
+ "state": "InProgress"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/operations/22222222-2222-2222-2222-222222222222",
+ "name": "22222222-2222-2222-2222-222222222222",
+ "type": "Microsoft.Sql/servers/operations",
+ "properties": {
+ "operation": "MakeAllLogicalDatabasesAccessible",
+ "operationFriendlyName": "MAKE ALL DBS ACCESSIBLE",
+ "percentComplete": 100,
+ "serverName": "sqlcrudtest-4645",
+ "startTime": "2017-06-01T09:00:08.10Z",
+ "state": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/serverOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/serverOperations.json
new file mode 100644
index 000000000000..c39847a58825
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/serverOperations.json
@@ -0,0 +1,315 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-06-01-preview",
+ "title": "SqlManagementClient",
+ "description": "The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/operations": {
+ "get": {
+ "tags": [
+ "ServerOperations"
+ ],
+ "description": "Gets a list of operations performed on the server.",
+ "operationId": "ServerOperations_ListByServer",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request for getting server operations has been executed successfully.",
+ "schema": {
+ "$ref": "#/definitions/ServerOperationListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 NameAlreadyExists - The provided name already exists.\n\n * 400 ProvisioningDisabled - Displays error message from resources operation authorizer as is, without changes\n\n * 400 InvalidLoginName - The provided login name is invalid.\n\n * 400 InvalidUsername - Supplied user name contains invalid characters.\n\n * 400 PasswordTooShort - The provided password is too short\n\n * 400 RegionDoesNotSupportVersion - A user attempted to create a server of a specified version in a location where that server version isn't supported.\n\n * 400 PasswordTooLong - The provided password is too long.\n\n * 400 PasswordNotComplex - The provided password is not complex enough.\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidParameterValue - An invalid value was given to a parameter.\n\n * 400 InvalidLocation - An invalid location was specified.\n\n * 400 InvalidServerName - Invalid server name specified.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 ServerNotFound - The requested server was not found.\n\n * 400 RegionDoesNotAllowProvisioning - The selected location is not accepting new Windows Azure SQL Database servers. This may change at a later time.\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 409 ServerDisabled - Server is disabled.\n\n * 409 ConflictingServerOperation - An operation is currently in progress for the server.\n\n * 409 SubscriptionDisabled - Subscription is disabled.\n\n * 409 ServerQuotaExceeded - Server cannot be added to a subscription because it will exceed quota.\n\n * 409 ServerAlreadyExists - Duplicate server name.\n\n * 409 ServerDisabled - Server is disabled.\n\n * 409 ConflictingServerOperation - An operation is currently in progress for the server.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 ConflictingSubscriptionOperation - An operation is currently in progress for the subscription.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources."
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List the server management operations": {
+ "$ref": "./examples/ListServerOperations.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ServerOperationListResult": {
+ "description": "The response to a list server operations request",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Array of results.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServerOperation"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to retrieve next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ServerOperationProperties": {
+ "description": "The properties of a server operation.",
+ "type": "object",
+ "properties": {
+ "operation": {
+ "description": "The name of operation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "operationFriendlyName": {
+ "description": "The friendly name of operation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "percentComplete": {
+ "format": "int32",
+ "description": "The percentage of the operation completed.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "serverName": {
+ "description": "The name of the server.",
+ "type": "string",
+ "readOnly": true
+ },
+ "startTime": {
+ "format": "date-time",
+ "description": "The operation start time.",
+ "type": "string",
+ "readOnly": true
+ },
+ "state": {
+ "description": "The operation state.",
+ "enum": [
+ "Pending",
+ "InProgress",
+ "Succeeded",
+ "Failed",
+ "CancelInProgress",
+ "Cancelled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "ManagementOperationState",
+ "modelAsString": true
+ }
+ },
+ "errorCode": {
+ "format": "int32",
+ "description": "The operation error code.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "errorDescription": {
+ "description": "The operation error description.",
+ "type": "string",
+ "readOnly": true
+ },
+ "errorSeverity": {
+ "format": "int32",
+ "description": "The operation error severity.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "isUserError": {
+ "description": "Whether or not the error is a user error.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "estimatedCompletionTime": {
+ "format": "date-time",
+ "description": "The estimated completion time of the operation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "description": {
+ "description": "The operation description.",
+ "type": "string",
+ "readOnly": true
+ },
+ "isCancellable": {
+ "description": "Whether the operation can be cancelled.",
+ "type": "boolean",
+ "readOnly": true
+ }
+ }
+ },
+ "Resource": {
+ "description": "ARM resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Resource name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Resource type.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ProxyResource": {
+ "description": "ARM proxy resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {}
+ },
+ "ServerOperation": {
+ "description": "A server operation.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ServerOperationProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The subscription ID that identifies an Azure subscription.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The API version to use for the request.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ResourceGroupParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ServerNameParameter": {
+ "name": "serverName",
+ "in": "path",
+ "description": "The name of the server.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ManagedInstanceNameParameter": {
+ "name": "managedInstanceName",
+ "in": "path",
+ "description": "The name of the managed instance.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "DatabaseNameParameter": {
+ "name": "databaseName",
+ "in": "path",
+ "description": "The name of the database.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "BlobAuditingPolicyNameParameter": {
+ "name": "blobAuditingPolicyName",
+ "in": "path",
+ "description": "The name of the blob auditing policy.",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "default"
+ ],
+ "x-ms-parameter-location": "method"
+ },
+ "SqlVirtualMachineInstanceNameParameter": {
+ "name": "sqlVirtualMachineInstanceName",
+ "in": "path",
+ "description": "The name of the SqlVirtualMachineInstance.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "SqlVirtualMachineContainerNameParameter": {
+ "name": "sqlVirtualMachineContainerName",
+ "in": "path",
+ "description": "The name of the SqlVirtualMachineContainer.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "VirtualClusterNameParameter": {
+ "name": "virtualClusterName",
+ "in": "path",
+ "description": "The name of the virtual cluster.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ }
+}
\ No newline at end of file
From d88d1065c405419825995f6120eb41c4e8d7696f Mon Sep 17 00:00:00 2001
From: Phoenix He
Date: Sat, 19 Oct 2019 09:17:39 +0800
Subject: [PATCH 002/189] Fix typo in readme.go for web (#7547)
---
specification/web/resource-manager/readme.go.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/web/resource-manager/readme.go.md b/specification/web/resource-manager/readme.go.md
index 5b4ff553def4..3ea00b2ca37c 100644
--- a/specification/web/resource-manager/readme.go.md
+++ b/specification/web/resource-manager/readme.go.md
@@ -24,7 +24,7 @@ batch:
These settings apply only when `--tag=package-2019-08 --go` is specified on the command line.
Please also specify `--go-sdk-folder=`.
-``` yaml $(tag) == 'package-2018-02' && $(go)
+``` yaml $(tag) == 'package-2019-08' && $(go)
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-08-01/$(namespace)
```
From 4a26ffa7e7042d4a16d916188bef8091456b6ad0 Mon Sep 17 00:00:00 2001
From: Hyonho Lee
Date: Sun, 20 Oct 2019 16:55:20 -0700
Subject: [PATCH 003/189] Compute 2019-07-01 version (#7094)
* Copy compute.json and runCommands.json from 2019-03-01 to 2019-07-01
* changes to add publicIpAddressVersion field (#7173)
* temp fix
* Adding new VirtualMachines.POST.Reapply action to compute api-version: 2019-07-01. Updating parameter info for skus api-version:2019-04-01.. (#7167)
* Copy compute.json and runCommands.json from 2019-03-01 to 2019-07-01
* Adding new VirtualMachines.POST.Reapply action.
* Adding example for POST Reapply virtual machine action.
* Adding missing $filter parameter documentation to skus.json for api-version: 2019-04-01.
* Unexpected change.
* Added DiskEnryptionSet property in the managed disk parameters for the VM/VMSS (#7293)
* updated swagger
* updated swagger
* Removed example files which are not relevant and added links to examples for newly added property
* fixed the syntax error
* updated swagger
* fixed the sytax error
* Added examples for the DiskEncryptionSet property (#7318)
* updated swagger
* updated swagger
* Removed example files which are not relevant and added links to examples for newly added property
* fixed the syntax error
* updated swagger
* fixed the sytax error
* updated code
* udpated swagger to create DiskEncryptionSet as new property to initiate
* Resolved conflicts with DiskRP definition names for the DiskEncryptionSet (#7340)
* updated swagger
* updated swagger
* Removed example files which are not relevant and added links to examples for newly added property
* fixed the syntax error
* updated swagger
* fixed the sytax error
* updated code
* udpated swagger to create DiskEncryptionSet as new property to initiate
* resolved conflicts and updated swagger due to conflict in the DiskRP definitions
* Disk 2019-07-01 version (#7280)
* Copy compute.json and runCommands.json from 2019-03-01 to 2019-07-01
* changes to add publicIpAddressVersion field (#7173)
* Add diskEncryptionSet in swagger compute-2019-07
* resolve semantic conflicts
* Fix model conflicts
* Resolve readme
* Resolve readme
* Resolve description conflicts
* Improve description
* Fix spell error
* Add some examples.
* fix model error
* Update examples (#7429)
* Copy compute.json and runCommands.json from 2019-03-01 to 2019-07-01
* changes to add publicIpAddressVersion field (#7173)
* Add diskEncryptionSet in swagger compute-2019-07
* resolve semantic conflicts
* Fix model conflicts
* Resolve readme
* Resolve readme
* Resolve description conflicts
* Improve description
* Fix spell error
* Add some examples.
* fix model error
* Update examples
* Add extension API for VMScaleset VMs (#7407)
* add extension Api
* change operationID
* update description
* update description
* add examples
* add missing /
* add missing / in examples
* add new line
* remove unnecessary file
* add reference examples
* fix model validation failures
* remove provisioning state from params
* remove unnecessary param
* fix Delete example
* updating the description of storage account id (#7385)
* Private temp (#7456)
* Copy compute.json and runCommands.json from 2019-03-01 to 2019-07-01
* changes to add publicIpAddressVersion field (#7173)
* Add diskEncryptionSet in swagger compute-2019-07
* resolve semantic conflicts
* Fix model conflicts
* Resolve readme
* Resolve readme
* Resolve description conflicts
* Improve description
* Fix spell error
* Add some examples.
* fix model error
* Update examples
* Remove uniqueId in swagger
* Remove required for diskEncryptionSetId
* cherry pick code owner change to compute-2019-07 (#7480)
* Iops, throughput and instance view (#7499)
* Swagger changes for IOPS, Bulk InstanceView, documentation for GETVM and InstanceView
* Fixed typos
* Updated samples
* Update 2019-07 from latest 2019-03 update.
* Update swagger (#7510)
* Copy compute.json and runCommands.json from 2019-03-01 to 2019-07-01
* changes to add publicIpAddressVersion field (#7173)
* Add diskEncryptionSet in swagger compute-2019-07
* resolve semantic conflicts
* Fix model conflicts
* Resolve readme
* Resolve readme
* Resolve description conflicts
* Improve description
* Fix spell error
* Add some examples.
* fix model error
* Update examples
* Remove uniqueId in swagger
* Remove required for diskEncryptionSetId
* Update principalId and tenantId to be readonly
* small space fix
* add update property (#7514)
* Sync with the latest 2019-03-01 version to 2019-07-01 version of compute.
* suppress LintDiff validation error.
* Add default responses to new APIs.
---
.../stable/2017-03-30/compute.json | 5 +
.../ListAvailabilitySetsInASubscription.json | 65 +-
.../stable/2017-12-01/compute.json | 5 +
.../ListAvailabilitySetsInASubscription.json | 65 +-
.../examples/VirtualMachineRunCommandGet.json | 4 +-
.../VirtualMachineRunCommandList.json | 20 +-
.../stable/2018-04-01/compute.json | 5 +
.../ListAvailabilitySetsInASubscription.json | 65 +-
.../examples/VirtualMachineRunCommandGet.json | 4 +-
.../VirtualMachineRunCommandList.json | 20 +-
.../stable/2018-06-01/compute.json | 5 +
.../ListAvailabilitySetsInASubscription.json | 65 +-
.../examples/VirtualMachineRunCommandGet.json | 4 +-
.../VirtualMachineRunCommandList.json | 20 +-
.../stable/2018-10-01/compute.json | 5 +
.../ListAvailabilitySetsInASubscription.json | 65 +-
.../examples/VirtualMachineRunCommandGet.json | 4 +-
.../VirtualMachineRunCommandList.json | 20 +-
.../stable/2019-03-01/compute.json | 5 +
.../ListAvailabilitySetsInASubscription.json | 65 +-
.../examples/VirtualMachineRunCommandGet.json | 4 +-
.../VirtualMachineRunCommandList.json | 20 +-
.../ListAvailableResourceSkusForARegion.json | 190 +
.../stable/2019-04-01/skus.json | 10 +
.../stable/2019-07-01/compute.json | 10301 ++++++++++++++++
.../stable/2019-07-01/disk.json | 1945 +++
...eSetFromAnUnmanagedGeneralizedOsImage.json | 202 +
...geVmFromAnUnmanagedGeneralizedOsImage.json | 145 +
.../examples/CreateADiskEncryptionSet.json | 60 +
.../CreateAManagedDiskByCopyingASnapshot.json | 45 +
...managedBlobFromADifferentSubscription.json | 48 +
...nUnmanagedBlobFromTheSameSubscription.json | 45 +
.../CreateAManagedDiskFromAPlatformImage.json | 54 +
...AManagedDiskFromAnExistingManagedDisk.json | 45 +
.../examples/CreateAManagedUploadDisk.json | 45 +
...formImageScaleSetWithUnmanagedOsDisks.json | 222 +
...ormImageVmWithUnmanagedOsAndDataDisks.json | 213 +
.../CreateAScaleSetFromACustomImage.json | 204 +
...ateAScaleSetWithAMarketplaceImagePlan.json | 230 +
...ScaleSetWithAnAzureApplicationGateway.json | 230 +
...reateAScaleSetWithAnAzureLoadBalancer.json | 251 +
.../CreateAScaleSetWithAutomaticRepairs.json | 231 +
.../CreateAScaleSetWithBootDiagnostics.json | 233 +
.../CreateAScaleSetWithDiffOsDisk.json | 239 +
...teAScaleSetWithEmptyDataDisksOnEachVm.json | 270 +
...teAScaleSetWithPasswordAuthentication.json | 215 +
.../CreateAScaleSetWithPremiumStorage.json | 215 +
.../CreateAScaleSetWithSshAuthentication.json | 239 +
...SetWithTerminateScheduledEventEnabled.json | 233 +
...reateAScaleSetWithVMsInDifferentZones.json | 284 +
...ScalesetWithDiskEncryptionSetResource.json | 255 +
...managedBlobFromADifferentSubscription.json | 48 +
...nUnmanagedBlobFromTheSameSubscription.json | 45 +
...CreateASnapshotFromAnExistingSnapshot.json | 45 +
.../examples/CreateAVmFromACustomImage.json | 144 +
.../CreateAVmInAnAvailabilitySet.json | 162 +
.../examples/CreateAVmWithADiffOsDisk.json | 177 +
.../CreateAVmWithAMarketplaceImagePlan.json | 168 +
.../CreateAVmWithBootDiagnostics.json | 171 +
...reateAVmWithDiskEncryptionSetResource.json | 229 +
.../examples/CreateAVmWithEmptyDataDisks.json | 205 +
.../CreateAVmWithPasswordAuthentication.json | 153 +
.../examples/CreateAVmWithPremiumStorage.json | 153 +
.../CreateAVmWithSshAuthentication.json | 177 +
.../examples/CreateAnAvailabilitySet.json | 32 +
.../examples/CreateAnEmptyManagedDisk.json | 45 +
.../examples/CreateAnImageFromABlob.json | 62 +
...AnImageFromABlobWithDiskEncryptionSet.json | 71 +
.../CreateAnImageFromAManagedDisk.json | 68 +
...FromAManagedDiskWithDiskEncryptionSet.json | 77 +
.../examples/CreateAnImageFromASnapshot.json | 68 +
...ageFromASnapshotWithDiskEncryptionSet.json | 77 +
.../examples/CreateAnImageFromAVM.json | 68 +
...AnImageThatIncludesADataDiskFromABlob.json | 78 +
...ThatIncludesADataDiskFromAManagedDisk.json | 90 +
...ageThatIncludesADataDiskFromASnapshot.json | 90 +
.../CreateOrUpdateADedicatedHost.json | 60 +
.../CreateOrUpdateADedicatedHostGroup.json | 57 +
...reateOrUpdateAProximityPlacementGroup.json | 38 +
...ateVirtualMachineScaleSetVMExtensions.json | 54 +
.../examples/DeleteADiskEncryptionSet.json | 13 +
.../DeleteAProximityPlacementGroup.json | 12 +
...eteVirtualMachineScaleSetVMExtensions.json | 15 +
.../examples/GetADedicatedHost.json | 58 +
.../examples/GetADedicatedHostGroup.json | 33 +
.../examples/GetAProximityPlacementGroup.json | 37 +
...GetInformationAboutADiskEncryptionSet.json | 35 +
.../GetInformationAboutAManagedDisk.json | 57 +
.../GetInformationAboutASnapshot.json | 53 +
.../examples/GetInformationAboutAnImage.json | 49 +
.../examples/GetVirtualMachine.json | 120 +
.../GetVirtualMachineInstanceView.json | 91 +
...GetVirtualMachineScaleSetVMExtensions.json | 28 +
.../ListAvailabilitySetsInASubscription.json | 85 +
.../ListAvailableVmSizes_VirtualMachines.json | 32 +
...istDiskEncryptionSetsInAResourceGroup.json | 62 +
...ListDiskEncryptionSetsInASubscription.json | 61 +
.../examples/ListImagesInAResourceGroup.json | 51 +
.../examples/ListImagesInASubscription.json | 50 +
.../ListManagedDisksInAResourceGroup.json | 120 +
.../ListManagedDisksInASubscription.json | 119 +
...ximityPlacementGroupsInAResourceGroup.json | 41 +
...oximityPlacementGroupsInASubscription.json | 40 +
.../ListSnapshotsInAResourceGroup.json | 57 +
.../ListSnapshotsInASubscription.json | 99 +
...istVirtualMachineScaleSetVMExtensions.json | 45 +
...tualMachinesInASubscriptionByLocation.json | 127 +
.../LogAnalyticsRequestRateByInterval.json | 24 +
.../LogAnalyticsThrottledRequests.json | 24 +
.../PatchAProximityPlacementGroup.json | 26 +
.../examples/ReapplyVirtualMachine.json | 12 +
.../examples/ReimageVirtualMachine.json | 15 +
.../examples/UpdateADiskEncryptionSet.json | 68 +
...tachDataDiskUsingToBeDetachedProperty.json | 208 +
...ateVirtualMachineScaleSetVMExtensions.json | 37 +
.../VMScaleSetExtensionRollingUpgrade.json | 12 +
.../examples/VirtualMachineRunCommand.json | 34 +
.../examples/VirtualMachineRunCommandGet.json | 38 +
.../VirtualMachineRunCommandList.json | 85 +
.../stable/2019-07-01/gallery.json | 2 +-
.../stable/2019-07-01/runCommands.json | 467 +
.../compute/resource-manager/readme.md | 40 +-
122 files changed, 22886 insertions(+), 147 deletions(-)
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/examples/ListAvailableResourceSkusForARegion.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateACustomImageScaleSetFromAnUnmanagedGeneralizedOsImage.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateADiskEncryptionSet.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedDiskByCopyingASnapshot.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscription.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscription.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedDiskFromAPlatformImage.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedDiskFromAnExistingManagedDisk.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedUploadDisk.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAPlatformImageScaleSetWithUnmanagedOsDisks.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetFromACustomImage.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAMarketplaceImagePlan.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAnAzureApplicationGateway.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAnAzureLoadBalancer.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAutomaticRepairs.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithBootDiagnostics.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithDiffOsDisk.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithEmptyDataDisksOnEachVm.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithPasswordAuthentication.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithPremiumStorage.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithSshAuthentication.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithVMsInDifferentZones.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScalesetWithDiskEncryptionSetResource.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateASnapshotByImportingAnUnmanagedBlobFromADifferentSubscription.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateASnapshotFromAnExistingSnapshot.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmFromACustomImage.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmInAnAvailabilitySet.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithADiffOsDisk.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithAMarketplaceImagePlan.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithBootDiagnostics.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithDiskEncryptionSetResource.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithEmptyDataDisks.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithPasswordAuthentication.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithPremiumStorage.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithSshAuthentication.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnAvailabilitySet.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnEmptyManagedDisk.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromABlob.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromABlobWithDiskEncryptionSet.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAManagedDisk.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAManagedDiskWithDiskEncryptionSet.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromASnapshot.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromASnapshotWithDiskEncryptionSet.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAVM.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromABlob.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromAManagedDisk.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromASnapshot.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateADedicatedHost.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateADedicatedHostGroup.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateAProximityPlacementGroup.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateVirtualMachineScaleSetVMExtensions.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteADiskEncryptionSet.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAProximityPlacementGroup.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteVirtualMachineScaleSetVMExtensions.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetADedicatedHost.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetADedicatedHostGroup.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAProximityPlacementGroup.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutADiskEncryptionSet.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutAManagedDisk.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutASnapshot.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutAnImage.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachine.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineInstanceView.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineScaleSetVMExtensions.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListAvailabilitySetsInASubscription.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListAvailableVmSizes_VirtualMachines.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInAResourceGroup.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInASubscription.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListImagesInAResourceGroup.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListImagesInASubscription.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListManagedDisksInAResourceGroup.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListManagedDisksInASubscription.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListProximityPlacementGroupsInAResourceGroup.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListProximityPlacementGroupsInASubscription.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListSnapshotsInAResourceGroup.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListSnapshotsInASubscription.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListVirtualMachineScaleSetVMExtensions.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListVirtualMachinesInASubscriptionByLocation.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/LogAnalyticsRequestRateByInterval.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/LogAnalyticsThrottledRequests.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/PatchAProximityPlacementGroup.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ReapplyVirtualMachine.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ReimageVirtualMachine.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateADiskEncryptionSet.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateVMDetachDataDiskUsingToBeDetachedProperty.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateVirtualMachineScaleSetVMExtensions.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/VMScaleSetExtensionRollingUpgrade.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/VirtualMachineRunCommand.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/VirtualMachineRunCommandGet.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/VirtualMachineRunCommandList.json
create mode 100644 specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/runCommands.json
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json
index e3d283c379b6..3220166fd21f 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/compute.json
@@ -196,6 +196,11 @@
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List availability sets in a subscription.": {
+ "$ref": "./examples/ListAvailabilitySetsInASubscription.json"
+ }
}
}
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListAvailabilitySetsInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListAvailabilitySetsInASubscription.json
index 9d05f5b7b7f6..996c3b390765 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListAvailabilitySetsInASubscription.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-03-30/examples/ListAvailabilitySetsInASubscription.json
@@ -1,40 +1,79 @@
{
"parameters": {
"subscriptionId": "{subscriptionId}",
- "api-version": "2017-03-30"
+ "api-version": "2017-03-30",
+ "$expand": "virtualMachines\\$ref"
},
"responses": {
"200": {
"body": {
"value": [
{
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
+ "type": "Microsoft.Compute/availabilitySets",
+ "location": "australiasoutheast",
"properties": {
"platformUpdateDomainCount": 5,
- "platformFaultDomainCount": 2
+ "platformFaultDomainCount": 3,
+ "virtualMachines": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}"
+ }
+ ]
},
+ "sku": {
+ "name": "Classic"
+ }
+ },
+ {
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
"type": "Microsoft.Compute/availabilitySets",
- "location": "centralus",
- "tags": {
- "{tagName}": "{tagValue}"
+ "location": "australiasoutheast",
+ "properties": {
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}"
+ }
+ ]
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
- "name": "{availabilitySetName}",
"sku": {
- "name": "Aligned"
+ "name": "Classic"
}
},
{
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
+ "type": "Microsoft.Compute/availabilitySets",
+ "location": "westcentralus",
+ "tags": {
+ "{tagName}": "{tagValue}"
+ },
"properties": {
- "platformUpdateDomainCount": 3,
- "platformFaultDomainCount": 2
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": []
},
+ "sku": {
+ "name": "Classic"
+ }
+ },
+ {
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
"type": "Microsoft.Compute/availabilitySets",
- "location": "westus",
+ "location": "westcentralus",
"tags": {
"{tagName}": "{tagValue}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
- "name": "{availabilitySetName}",
+ "properties": {
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": []
+ },
"sku": {
"name": "Classic"
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json
index cd898877ad80..c2a57fceccbe 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/compute.json
@@ -267,6 +267,11 @@
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List availability sets in a subscription.": {
+ "$ref": "./examples/ListAvailabilitySetsInASubscription.json"
+ }
}
}
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListAvailabilitySetsInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListAvailabilitySetsInASubscription.json
index fc27c0283bd8..d5bb9e943b6d 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListAvailabilitySetsInASubscription.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/ListAvailabilitySetsInASubscription.json
@@ -1,40 +1,79 @@
{
"parameters": {
"subscriptionId": "{subscriptionId}",
- "api-version": "2017-12-01"
+ "api-version": "2017-12-01",
+ "$expand": "virtualMachines\\$ref"
},
"responses": {
"200": {
"body": {
"value": [
{
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
+ "type": "Microsoft.Compute/availabilitySets",
+ "location": "australiasoutheast",
"properties": {
"platformUpdateDomainCount": 5,
- "platformFaultDomainCount": 2
+ "platformFaultDomainCount": 3,
+ "virtualMachines": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}"
+ }
+ ]
},
+ "sku": {
+ "name": "Classic"
+ }
+ },
+ {
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
"type": "Microsoft.Compute/availabilitySets",
- "location": "centralus",
- "tags": {
- "{tagName}": "{tagValue}"
+ "location": "australiasoutheast",
+ "properties": {
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}"
+ }
+ ]
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
- "name": "{availabilitySetName}",
"sku": {
- "name": "Aligned"
+ "name": "Classic"
}
},
{
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
+ "type": "Microsoft.Compute/availabilitySets",
+ "location": "westcentralus",
+ "tags": {
+ "{tagName}": "{tagValue}"
+ },
"properties": {
- "platformUpdateDomainCount": 3,
- "platformFaultDomainCount": 2
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": []
},
+ "sku": {
+ "name": "Classic"
+ }
+ },
+ {
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
"type": "Microsoft.Compute/availabilitySets",
- "location": "westus",
+ "location": "westcentralus",
"tags": {
"{tagName}": "{tagValue}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
- "name": "{availabilitySetName}",
+ "properties": {
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": []
+ },
"sku": {
"name": "Classic"
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/VirtualMachineRunCommandGet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/VirtualMachineRunCommandGet.json
index 43018b699255..4c861d859678 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/VirtualMachineRunCommandGet.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/VirtualMachineRunCommandGet.json
@@ -19,12 +19,12 @@
{
"name": "arg1",
"type": "string",
- "value": "value1"
+ "defaultValue": "value1"
},
{
"name": "arg2",
"type": "string",
- "value": "value2"
+ "defaultValue": "value2"
}
],
"$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/VirtualMachineRunCommandList.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/VirtualMachineRunCommandList.json
index fbd040f32504..e79d8c93b6af 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/VirtualMachineRunCommandList.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-12-01/examples/VirtualMachineRunCommandList.json
@@ -9,70 +9,70 @@
"body": {
"value": [
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "EnableRemotePS",
"osType": "Windows",
"label": "Enable remote PowerShell",
"description": "Configure the machine to enable remote PowerShell."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "IPConfig",
"osType": "Windows",
"label": "List IP configuration",
"description": "Shows detailed information for the IP address, subnet mask and default gateway for each adapter bound to TCP/IP."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "RunPowerShellScript",
"osType": "Windows",
"label": "Executes a PowerShell script",
"description": "Custom multiline PowerShell script should be defined in script property. Optional parameters can be set in parameters property."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "RunShellScript",
"osType": "Linux",
"label": "Executes a Linux shell script",
"description": "Custom multiline shell script should be defined in script property. Optional parameters can be set in parameters property."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "ifconfig",
"osType": "Linux",
"label": "List network configuration",
"description": "Get the configuration of all network interfaces."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "EnableAdminAccount",
"osType": "Windows",
"label": "Enable administrator account",
"description": "Checks if the local Administrator account is disabled, and if so enables it."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "ResetAccountPassword",
"osType": "Windows",
"label": "Reset built-in Administrator account password",
"description": "Reset built-in Administrator account password."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "RDPSettings",
"osType": "Windows",
"label": "Verify RDP Listener Settings",
"description": "Checks registry settings and domain policy settings. Suggests policy actions if machine is part of a domain or modifies the settings to default values."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "SetRDPPort",
"osType": "Windows",
"label": "Set Remote Desktop port",
"description": "Sets the default or user specified port number for Remote Desktop connections. Enables firewall rule for inbound access to the port."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "ResetRDPCert",
"osType": "Windows",
"label": "Restore RDP Authentication mode to defaults",
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json
index 35d00ec6a20b..7ff9b80a8217 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json
@@ -264,6 +264,11 @@
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List availability sets in a subscription.": {
+ "$ref": "./examples/ListAvailabilitySetsInASubscription.json"
+ }
}
}
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListAvailabilitySetsInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListAvailabilitySetsInASubscription.json
index 12fdbbabc24a..29bb119ff690 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListAvailabilitySetsInASubscription.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/ListAvailabilitySetsInASubscription.json
@@ -1,40 +1,79 @@
{
"parameters": {
"subscriptionId": "{subscriptionId}",
- "api-version": "2018-04-01"
+ "api-version": "2018-04-01",
+ "$expand": "virtualMachines\\$ref"
},
"responses": {
"200": {
"body": {
"value": [
{
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
+ "type": "Microsoft.Compute/availabilitySets",
+ "location": "australiasoutheast",
"properties": {
"platformUpdateDomainCount": 5,
- "platformFaultDomainCount": 2
+ "platformFaultDomainCount": 3,
+ "virtualMachines": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}"
+ }
+ ]
},
+ "sku": {
+ "name": "Classic"
+ }
+ },
+ {
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
"type": "Microsoft.Compute/availabilitySets",
- "location": "centralus",
- "tags": {
- "{tagName}": "{tagValue}"
+ "location": "australiasoutheast",
+ "properties": {
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}"
+ }
+ ]
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
- "name": "{availabilitySetName}",
"sku": {
- "name": "Aligned"
+ "name": "Classic"
}
},
{
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
+ "type": "Microsoft.Compute/availabilitySets",
+ "location": "westcentralus",
+ "tags": {
+ "{tagName}": "{tagValue}"
+ },
"properties": {
- "platformUpdateDomainCount": 3,
- "platformFaultDomainCount": 2
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": []
},
+ "sku": {
+ "name": "Classic"
+ }
+ },
+ {
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
"type": "Microsoft.Compute/availabilitySets",
- "location": "westus",
+ "location": "westcentralus",
"tags": {
"{tagName}": "{tagValue}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
- "name": "{availabilitySetName}",
+ "properties": {
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": []
+ },
"sku": {
"name": "Classic"
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/VirtualMachineRunCommandGet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/VirtualMachineRunCommandGet.json
index 43cfc334537e..2dbb2aa4b669 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/VirtualMachineRunCommandGet.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/VirtualMachineRunCommandGet.json
@@ -19,12 +19,12 @@
{
"name": "arg1",
"type": "string",
- "value": "value1"
+ "defaultValue": "value1"
},
{
"name": "arg2",
"type": "string",
- "value": "value2"
+ "defaultValue": "value2"
}
],
"$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/VirtualMachineRunCommandList.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/VirtualMachineRunCommandList.json
index 49d1d30d8f14..6c7b4fa34bac 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/VirtualMachineRunCommandList.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/examples/VirtualMachineRunCommandList.json
@@ -9,70 +9,70 @@
"body": {
"value": [
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "EnableRemotePS",
"osType": "Windows",
"label": "Enable remote PowerShell",
"description": "Configure the machine to enable remote PowerShell."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "IPConfig",
"osType": "Windows",
"label": "List IP configuration",
"description": "Shows detailed information for the IP address, subnet mask and default gateway for each adapter bound to TCP/IP."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "RunPowerShellScript",
"osType": "Windows",
"label": "Executes a PowerShell script",
"description": "Custom multiline PowerShell script should be defined in script property. Optional parameters can be set in parameters property."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "RunShellScript",
"osType": "Linux",
"label": "Executes a Linux shell script",
"description": "Custom multiline shell script should be defined in script property. Optional parameters can be set in parameters property."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "ifconfig",
"osType": "Linux",
"label": "List network configuration",
"description": "Get the configuration of all network interfaces."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "EnableAdminAccount",
"osType": "Windows",
"label": "Enable administrator account",
"description": "Checks if the local Administrator account is disabled, and if so enables it."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "ResetAccountPassword",
"osType": "Windows",
"label": "Reset built-in Administrator account password",
"description": "Reset built-in Administrator account password."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "RDPSettings",
"osType": "Windows",
"label": "Verify RDP Listener Settings",
"description": "Checks registry settings and domain policy settings. Suggests policy actions if machine is part of a domain or modifies the settings to default values."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "SetRDPPort",
"osType": "Windows",
"label": "Set Remote Desktop port",
"description": "Sets the default or user specified port number for Remote Desktop connections. Enables firewall rule for inbound access to the port."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "ResetRDPCert",
"osType": "Windows",
"label": "Restore RDP Authentication mode to defaults",
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json
index 6445e9d30625..93874efd9f87 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json
@@ -264,6 +264,11 @@
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List availability sets in a subscription.": {
+ "$ref": "./examples/ListAvailabilitySetsInASubscription.json"
+ }
}
}
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListAvailabilitySetsInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListAvailabilitySetsInASubscription.json
index bcf40066ac4b..217c0f707840 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListAvailabilitySetsInASubscription.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListAvailabilitySetsInASubscription.json
@@ -1,40 +1,79 @@
{
"parameters": {
"subscriptionId": "{subscriptionId}",
- "api-version": "2018-06-01"
+ "api-version": "2018-06-01",
+ "$expand": "virtualMachines\\$ref"
},
"responses": {
"200": {
"body": {
"value": [
{
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
+ "type": "Microsoft.Compute/availabilitySets",
+ "location": "australiasoutheast",
"properties": {
"platformUpdateDomainCount": 5,
- "platformFaultDomainCount": 2
+ "platformFaultDomainCount": 3,
+ "virtualMachines": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}"
+ }
+ ]
},
+ "sku": {
+ "name": "Classic"
+ }
+ },
+ {
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
"type": "Microsoft.Compute/availabilitySets",
- "location": "centralus",
- "tags": {
- "{tagName}": "{tagValue}"
+ "location": "australiasoutheast",
+ "properties": {
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}"
+ }
+ ]
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
- "name": "{availabilitySetName}",
"sku": {
- "name": "Aligned"
+ "name": "Classic"
}
},
{
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
+ "type": "Microsoft.Compute/availabilitySets",
+ "location": "westcentralus",
+ "tags": {
+ "{tagName}": "{tagValue}"
+ },
"properties": {
- "platformUpdateDomainCount": 3,
- "platformFaultDomainCount": 2
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": []
},
+ "sku": {
+ "name": "Classic"
+ }
+ },
+ {
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
"type": "Microsoft.Compute/availabilitySets",
- "location": "westus",
+ "location": "westcentralus",
"tags": {
"{tagName}": "{tagValue}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
- "name": "{availabilitySetName}",
+ "properties": {
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": []
+ },
"sku": {
"name": "Classic"
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/VirtualMachineRunCommandGet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/VirtualMachineRunCommandGet.json
index 033cce1df40b..965cf747fc33 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/VirtualMachineRunCommandGet.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/VirtualMachineRunCommandGet.json
@@ -19,12 +19,12 @@
{
"name": "arg1",
"type": "string",
- "value": "value1"
+ "defaultValue": "value1"
},
{
"name": "arg2",
"type": "string",
- "value": "value2"
+ "defaultValue": "value2"
}
],
"$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/VirtualMachineRunCommandList.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/VirtualMachineRunCommandList.json
index ff6bebf28b12..d6f72c39c771 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/VirtualMachineRunCommandList.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/VirtualMachineRunCommandList.json
@@ -9,70 +9,70 @@
"body": {
"value": [
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "EnableRemotePS",
"osType": "Windows",
"label": "Enable remote PowerShell",
"description": "Configure the machine to enable remote PowerShell."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "IPConfig",
"osType": "Windows",
"label": "List IP configuration",
"description": "Shows detailed information for the IP address, subnet mask and default gateway for each adapter bound to TCP/IP."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "RunPowerShellScript",
"osType": "Windows",
"label": "Executes a PowerShell script",
"description": "Custom multiline PowerShell script should be defined in script property. Optional parameters can be set in parameters property."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "RunShellScript",
"osType": "Linux",
"label": "Executes a Linux shell script",
"description": "Custom multiline shell script should be defined in script property. Optional parameters can be set in parameters property."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "ifconfig",
"osType": "Linux",
"label": "List network configuration",
"description": "Get the configuration of all network interfaces."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "EnableAdminAccount",
"osType": "Windows",
"label": "Enable administrator account",
"description": "Checks if the local Administrator account is disabled, and if so enables it."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "ResetAccountPassword",
"osType": "Windows",
"label": "Reset built-in Administrator account password",
"description": "Reset built-in Administrator account password."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "RDPSettings",
"osType": "Windows",
"label": "Verify RDP Listener Settings",
"description": "Checks registry settings and domain policy settings. Suggests policy actions if machine is part of a domain or modifies the settings to default values."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "SetRDPPort",
"osType": "Windows",
"label": "Set Remote Desktop port",
"description": "Sets the default or user specified port number for Remote Desktop connections. Enables firewall rule for inbound access to the port."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "ResetRDPCert",
"osType": "Windows",
"label": "Restore RDP Authentication mode to defaults",
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json
index 58167b80e75b..2427b20cd5d3 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json
@@ -264,6 +264,11 @@
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List availability sets in a subscription.": {
+ "$ref": "./examples/ListAvailabilitySetsInASubscription.json"
+ }
}
}
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListAvailabilitySetsInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListAvailabilitySetsInASubscription.json
index b5cc831927b5..bd9cb9e4e140 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListAvailabilitySetsInASubscription.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListAvailabilitySetsInASubscription.json
@@ -1,40 +1,79 @@
{
"parameters": {
"subscriptionId": "{subscriptionId}",
- "api-version": "2018-10-01"
+ "api-version": "2018-10-01",
+ "$expand": "virtualMachines\\$ref"
},
"responses": {
"200": {
"body": {
"value": [
{
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
+ "type": "Microsoft.Compute/availabilitySets",
+ "location": "australiasoutheast",
"properties": {
"platformUpdateDomainCount": 5,
- "platformFaultDomainCount": 2
+ "platformFaultDomainCount": 3,
+ "virtualMachines": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}"
+ }
+ ]
},
+ "sku": {
+ "name": "Classic"
+ }
+ },
+ {
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
"type": "Microsoft.Compute/availabilitySets",
- "location": "centralus",
- "tags": {
- "{tagName}": "{tagValue}"
+ "location": "australiasoutheast",
+ "properties": {
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}"
+ }
+ ]
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
- "name": "{availabilitySetName}",
"sku": {
- "name": "Aligned"
+ "name": "Classic"
}
},
{
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
+ "type": "Microsoft.Compute/availabilitySets",
+ "location": "westcentralus",
+ "tags": {
+ "{tagName}": "{tagValue}"
+ },
"properties": {
- "platformUpdateDomainCount": 3,
- "platformFaultDomainCount": 2
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": []
},
+ "sku": {
+ "name": "Classic"
+ }
+ },
+ {
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
"type": "Microsoft.Compute/availabilitySets",
- "location": "westus",
+ "location": "westcentralus",
"tags": {
"{tagName}": "{tagValue}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
- "name": "{availabilitySetName}",
+ "properties": {
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": []
+ },
"sku": {
"name": "Classic"
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/VirtualMachineRunCommandGet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/VirtualMachineRunCommandGet.json
index b15195ff297d..ec10bdcb35ff 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/VirtualMachineRunCommandGet.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/VirtualMachineRunCommandGet.json
@@ -19,12 +19,12 @@
{
"name": "arg1",
"type": "string",
- "value": "value1"
+ "defaultValue": "value1"
},
{
"name": "arg2",
"type": "string",
- "value": "value2"
+ "defaultValue": "value2"
}
],
"$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/VirtualMachineRunCommandList.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/VirtualMachineRunCommandList.json
index 6b20efeac977..316ad384a014 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/VirtualMachineRunCommandList.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/VirtualMachineRunCommandList.json
@@ -9,70 +9,70 @@
"body": {
"value": [
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "EnableRemotePS",
"osType": "Windows",
"label": "Enable remote PowerShell",
"description": "Configure the machine to enable remote PowerShell."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "IPConfig",
"osType": "Windows",
"label": "List IP configuration",
"description": "Shows detailed information for the IP address, subnet mask and default gateway for each adapter bound to TCP/IP."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "RunPowerShellScript",
"osType": "Windows",
"label": "Executes a PowerShell script",
"description": "Custom multiline PowerShell script should be defined in script property. Optional parameters can be set in parameters property."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "RunShellScript",
"osType": "Linux",
"label": "Executes a Linux shell script",
"description": "Custom multiline shell script should be defined in script property. Optional parameters can be set in parameters property."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "ifconfig",
"osType": "Linux",
"label": "List network configuration",
"description": "Get the configuration of all network interfaces."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "EnableAdminAccount",
"osType": "Windows",
"label": "Enable administrator account",
"description": "Checks if the local Administrator account is disabled, and if so enables it."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "ResetAccountPassword",
"osType": "Windows",
"label": "Reset built-in Administrator account password",
"description": "Reset built-in Administrator account password."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "RDPSettings",
"osType": "Windows",
"label": "Verify RDP Listener Settings",
"description": "Checks registry settings and domain policy settings. Suggests policy actions if machine is part of a domain or modifies the settings to default values."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "SetRDPPort",
"osType": "Windows",
"label": "Set Remote Desktop port",
"description": "Sets the default or user specified port number for Remote Desktop connections. Enables firewall rule for inbound access to the port."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "ResetRDPCert",
"osType": "Windows",
"label": "Restore RDP Authentication mode to defaults",
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json
index 48ec9675219d..74ce6d52a326 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json
@@ -264,6 +264,11 @@
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List availability sets in a subscription.": {
+ "$ref": "./examples/ListAvailabilitySetsInASubscription.json"
+ }
}
}
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListAvailabilitySetsInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListAvailabilitySetsInASubscription.json
index f83d4692138d..d7c2558571ef 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListAvailabilitySetsInASubscription.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListAvailabilitySetsInASubscription.json
@@ -1,40 +1,79 @@
{
"parameters": {
"subscriptionId": "{subscriptionId}",
- "api-version": "2019-03-01"
+ "api-version": "2019-03-01",
+ "$expand": "virtualMachines\\$ref"
},
"responses": {
"200": {
"body": {
"value": [
{
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
+ "type": "Microsoft.Compute/availabilitySets",
+ "location": "australiasoutheast",
"properties": {
"platformUpdateDomainCount": 5,
- "platformFaultDomainCount": 2
+ "platformFaultDomainCount": 3,
+ "virtualMachines": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}"
+ }
+ ]
},
+ "sku": {
+ "name": "Classic"
+ }
+ },
+ {
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
"type": "Microsoft.Compute/availabilitySets",
- "location": "centralus",
- "tags": {
- "{tagName}": "{tagValue}"
+ "location": "australiasoutheast",
+ "properties": {
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}"
+ }
+ ]
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
- "name": "{availabilitySetName}",
"sku": {
- "name": "Aligned"
+ "name": "Classic"
}
},
{
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
+ "type": "Microsoft.Compute/availabilitySets",
+ "location": "westcentralus",
+ "tags": {
+ "{tagName}": "{tagValue}"
+ },
"properties": {
- "platformUpdateDomainCount": 3,
- "platformFaultDomainCount": 2
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": []
},
+ "sku": {
+ "name": "Classic"
+ }
+ },
+ {
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
"type": "Microsoft.Compute/availabilitySets",
- "location": "westus",
+ "location": "westcentralus",
"tags": {
"{tagName}": "{tagValue}"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
- "name": "{availabilitySetName}",
+ "properties": {
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": []
+ },
"sku": {
"name": "Classic"
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/VirtualMachineRunCommandGet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/VirtualMachineRunCommandGet.json
index 2ee8c2c1f551..79c85f111f2f 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/VirtualMachineRunCommandGet.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/VirtualMachineRunCommandGet.json
@@ -19,12 +19,12 @@
{
"name": "arg1",
"type": "string",
- "value": "value1"
+ "defaultValue": "value1"
},
{
"name": "arg2",
"type": "string",
- "value": "value2"
+ "defaultValue": "value2"
}
],
"$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/VirtualMachineRunCommandList.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/VirtualMachineRunCommandList.json
index ca6d8a7a5247..07c17bc67543 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/VirtualMachineRunCommandList.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/VirtualMachineRunCommandList.json
@@ -9,70 +9,70 @@
"body": {
"value": [
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "EnableRemotePS",
"osType": "Windows",
"label": "Enable remote PowerShell",
"description": "Configure the machine to enable remote PowerShell."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "IPConfig",
"osType": "Windows",
"label": "List IP configuration",
"description": "Shows detailed information for the IP address, subnet mask and default gateway for each adapter bound to TCP/IP."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "RunPowerShellScript",
"osType": "Windows",
"label": "Executes a PowerShell script",
"description": "Custom multiline PowerShell script should be defined in script property. Optional parameters can be set in parameters property."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "RunShellScript",
"osType": "Linux",
"label": "Executes a Linux shell script",
"description": "Custom multiline shell script should be defined in script property. Optional parameters can be set in parameters property."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "ifconfig",
"osType": "Linux",
"label": "List network configuration",
"description": "Get the configuration of all network interfaces."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "EnableAdminAccount",
"osType": "Windows",
"label": "Enable administrator account",
"description": "Checks if the local Administrator account is disabled, and if so enables it."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "ResetAccountPassword",
"osType": "Windows",
"label": "Reset built-in Administrator account password",
"description": "Reset built-in Administrator account password."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "RDPSettings",
"osType": "Windows",
"label": "Verify RDP Listener Settings",
"description": "Checks registry settings and domain policy settings. Suggests policy actions if machine is part of a domain or modifies the settings to default values."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "SetRDPPort",
"osType": "Windows",
"label": "Set Remote Desktop port",
"description": "Sets the default or user specified port number for Remote Desktop connections. Enables firewall rule for inbound access to the port."
},
{
- "schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
"id": "ResetRDPCert",
"osType": "Windows",
"label": "Restore RDP Authentication mode to defaults",
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/examples/ListAvailableResourceSkusForARegion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/examples/ListAvailableResourceSkusForARegion.json
new file mode 100644
index 000000000000..1b040438586a
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/examples/ListAvailableResourceSkusForARegion.json
@@ -0,0 +1,190 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "api-version": "2019-04-01",
+ "$filter": "location eq 'westus'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "resourceType": "virtualMachines",
+ "locations": [
+ "westus"
+ ],
+ "capabilities": [
+ {
+ "name": "MaxResourceVolumeMB",
+ "value": "20480"
+ },
+ {
+ "name": "OSVhdSizeMB",
+ "value": "1047552"
+ },
+ {
+ "name": "vCPUs",
+ "value": "1"
+ },
+ {
+ "name": "HyperVGenerations",
+ "value": "V1"
+ },
+ {
+ "name": "MemoryGB",
+ "value": "0.75"
+ },
+ {
+ "name": "MaxDataDiskCount",
+ "value": "1"
+ },
+ {
+ "name": "LowPriorityCapable",
+ "value": "False"
+ },
+ {
+ "name": "PremiumIO",
+ "value": "False"
+ },
+ {
+ "name": "vCPUsAvailable",
+ "value": "1"
+ },
+ {
+ "name": "ACUs",
+ "value": "50"
+ },
+ {
+ "name": "vCPUsPerCore",
+ "value": "1"
+ },
+ {
+ "name": "EphemeralOSDiskSupported",
+ "value": "False"
+ },
+ {
+ "name": "AcceleratedNetworkingEnabled",
+ "value": "False"
+ },
+ {
+ "name": "RdmaEnabled",
+ "value": "False"
+ },
+ {
+ "name": "MaxNetworkInterfaces",
+ "value": "2"
+ }
+ ],
+ "locationInfo": [
+ {
+ "location": "westus",
+ "zones": [
+ "westus-AZ01"
+ ],
+ "zoneDetails": [
+ {
+ "name": [
+ "westus-AZ01"
+ ],
+ "capabilities": [
+ {
+ "name": "UltraSSDAvailable",
+ "value": "True"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "name": "Standard_A0",
+ "tier": "Standard",
+ "size": "A0",
+ "family": "standardA0_A7Family"
+ },
+ {
+ "resourceType": "virtualMachines",
+ "locations": [
+ "westus"
+ ],
+ "capabilities": [
+ {
+ "name": "MaxResourceVolumeMB",
+ "value": "71680"
+ },
+ {
+ "name": "OSVhdSizeMB",
+ "value": "1047552"
+ },
+ {
+ "name": "vCPUs",
+ "value": "1"
+ },
+ {
+ "name": "HyperVGenerations",
+ "value": "V1"
+ },
+ {
+ "name": "MemoryGB",
+ "value": "1.75"
+ },
+ {
+ "name": "MaxDataDiskCount",
+ "value": "2"
+ },
+ {
+ "name": "LowPriorityCapable",
+ "value": "True"
+ },
+ {
+ "name": "PremiumIO",
+ "value": "False"
+ },
+ {
+ "name": "vCPUsAvailable",
+ "value": "1"
+ },
+ {
+ "name": "ACUs",
+ "value": "100"
+ },
+ {
+ "name": "vCPUsPerCore",
+ "value": "1"
+ },
+ {
+ "name": "EphemeralOSDiskSupported",
+ "value": "False"
+ },
+ {
+ "name": "AcceleratedNetworkingEnabled",
+ "value": "False"
+ },
+ {
+ "name": "RdmaEnabled",
+ "value": "False"
+ },
+ {
+ "name": "MaxNetworkInterfaces",
+ "value": "2"
+ }
+ ],
+ "locationInfo": [
+ {
+ "location": "westus",
+ "zones": [
+ "westus-AZ02",
+ "westus-AZ01"
+ ]
+ }
+ ],
+ "name": "Standard_A1",
+ "tier": "Standard",
+ "size": "A1",
+ "family": "standardA0_A7Family"
+ }
+ ],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/skus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/skus.json
index 7012927a8fd3..e579007e9eaa 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/skus.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/skus.json
@@ -48,6 +48,13 @@
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The filter to apply on the operation."
}
],
"responses": {
@@ -64,6 +71,9 @@
"x-ms-examples": {
"Lists all available Resource SKUs": {
"$ref": "./examples/ListAvailableResourceSkus.json"
+ },
+ "Lists all available Resource SKUs for the specified region": {
+ "$ref": "./examples/ListAvailableResourceSkusForARegion.json"
}
}
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
new file mode 100644
index 000000000000..94b1e654dd27
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
@@ -0,0 +1,10301 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "ComputeManagementClient",
+ "description": "The Compute Management Client.",
+ "version": "2019-07-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.Compute/operations": {
+ "get": {
+ "tags": [
+ "ComputeOperations"
+ ],
+ "operationId": "Operations_List",
+ "description": "Gets a list of compute operations.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ComputeOperationListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}": {
+ "put": {
+ "tags": [
+ "AvailabilitySets"
+ ],
+ "operationId": "AvailabilitySets_CreateOrUpdate",
+ "description": "Create or update 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."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AvailabilitySet"
+ },
+ "description": "Parameters supplied to the Create Availability Set operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AvailabilitySet"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create an availability set.": {
+ "$ref": "./examples/CreateAnAvailabilitySet.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "AvailabilitySets"
+ ],
+ "operationId": "AvailabilitySets_Update",
+ "description": "Update 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."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AvailabilitySetUpdate"
+ },
+ "description": "Parameters supplied to the Update Availability Set operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AvailabilitySet"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "AvailabilitySets"
+ ],
+ "operationId": "AvailabilitySets_Delete",
+ "description": "Delete 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."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "AvailabilitySets"
+ ],
+ "operationId": "AvailabilitySets_Get",
+ "description": "Retrieves information about 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."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AvailabilitySet"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/availabilitySets": {
+ "get": {
+ "tags": [
+ "AvailabilitySets"
+ ],
+ "operationId": "AvailabilitySets_ListBySubscription",
+ "description": "Lists all availability sets in a subscription.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The expand expression to apply to the operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AvailabilitySetListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List availability sets in a subscription.": {
+ "$ref": "./examples/ListAvailabilitySetsInASubscription.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets": {
+ "get": {
+ "tags": [
+ "AvailabilitySets"
+ ],
+ "operationId": "AvailabilitySets_List",
+ "description": "Lists all availability sets in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AvailabilitySetListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}/vmSizes": {
+ "get": {
+ "tags": [
+ "AvailabilitySets"
+ ],
+ "operationId": "AvailabilitySets_ListAvailableSizes",
+ "description": "Lists all available virtual machine sizes that can be used to create a new virtual machine in an existing 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."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineSizeListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}": {
+ "put": {
+ "tags": [
+ "ProximityPlacementGroups"
+ ],
+ "operationId": "ProximityPlacementGroups_CreateOrUpdate",
+ "description": "Create or update a proximity placement group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "proximityPlacementGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the proximity placement group."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ProximityPlacementGroup"
+ },
+ "description": "Parameters supplied to the Create Proximity Placement Group operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProximityPlacementGroup"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/ProximityPlacementGroup"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create or Update a proximity placement group.": {
+ "$ref": "./examples/CreateOrUpdateAProximityPlacementGroup.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "ProximityPlacementGroups"
+ ],
+ "operationId": "ProximityPlacementGroups_Update",
+ "description": "Update a proximity placement group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "proximityPlacementGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the proximity placement group."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ProximityPlacementGroupUpdate"
+ },
+ "description": "Parameters supplied to the Update Proximity Placement Group operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProximityPlacementGroup"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create a proximity placement group.": {
+ "$ref": "./examples/PatchAProximityPlacementGroup.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ProximityPlacementGroups"
+ ],
+ "operationId": "ProximityPlacementGroups_Delete",
+ "description": "Delete a proximity placement group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "proximityPlacementGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the proximity placement group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ }
+ },
+ "x-ms-examples": {
+ "Create a proximity placement group.": {
+ "$ref": "./examples/DeleteAProximityPlacementGroup.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "ProximityPlacementGroups"
+ ],
+ "operationId": "ProximityPlacementGroups_Get",
+ "description": "Retrieves information about a proximity placement group .",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "proximityPlacementGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the proximity placement group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProximityPlacementGroup"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create a proximity placement group.": {
+ "$ref": "./examples/GetAProximityPlacementGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups": {
+ "get": {
+ "tags": [
+ "ProximityPlacementGroups"
+ ],
+ "operationId": "ProximityPlacementGroups_ListBySubscription",
+ "description": "Lists all proximity placement groups in a subscription.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProximityPlacementGroupListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Create a proximity placement group.": {
+ "$ref": "./examples/ListProximityPlacementGroupsInASubscription.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups": {
+ "get": {
+ "tags": [
+ "ProximityPlacementGroups"
+ ],
+ "operationId": "ProximityPlacementGroups_ListByResourceGroup",
+ "description": "Lists all proximity placement groups in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProximityPlacementGroupListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Create a proximity placement group.": {
+ "$ref": "./examples/ListProximityPlacementGroupsInAResourceGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}": {
+ "put": {
+ "tags": [
+ "DedicatedHostGroups"
+ ],
+ "operationId": "DedicatedHostGroups_CreateOrUpdate",
+ "description": "Create or update a dedicated host group. For details of Dedicated Host and Dedicated Host Groups please see [Dedicated Host Documentation] (https://go.microsoft.com/fwlink/?linkid=2082596)",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroup"
+ },
+ "description": "Parameters supplied to the Create Dedicated Host Group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroup"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroup"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create or update a dedicated host group.": {
+ "$ref": "./examples/CreateOrUpdateADedicatedHostGroup.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "DedicatedHostGroups"
+ ],
+ "operationId": "DedicatedHostGroups_Update",
+ "description": "Update an dedicated host group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroupUpdate"
+ },
+ "description": "Parameters supplied to the Update Dedicated Host Group operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroup"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "DedicatedHostGroups"
+ ],
+ "operationId": "DedicatedHostGroups_Delete",
+ "description": "Delete a dedicated host group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "DedicatedHostGroups"
+ ],
+ "operationId": "DedicatedHostGroups_Get",
+ "description": "Retrieves information about a dedicated host group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroup"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create a dedicated host group.": {
+ "$ref": "./examples/GetADedicatedHostGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups": {
+ "get": {
+ "tags": [
+ "DedicatedHostGroups"
+ ],
+ "operationId": "DedicatedHostGroups_ListByResourceGroup",
+ "description": "Lists all of the dedicated host groups in the specified resource group. Use the nextLink property in the response to get the next page of dedicated host groups.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroupListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups": {
+ "get": {
+ "tags": [
+ "DedicatedHostGroups"
+ ],
+ "operationId": "DedicatedHostGroups_ListBySubscription",
+ "description": "Lists all of the dedicated host groups in the subscription. Use the nextLink property in the response to get the next page of dedicated host groups.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroupListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}": {
+ "put": {
+ "tags": [
+ "DedicatedHosts"
+ ],
+ "operationId": "DedicatedHosts_CreateOrUpdate",
+ "description": "Create or update a dedicated host .",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "name": "hostName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host ."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DedicatedHost"
+ },
+ "description": "Parameters supplied to the Create Dedicated Host."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHost"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHost"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create or update a dedicated host .": {
+ "$ref": "./examples/CreateOrUpdateADedicatedHost.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "DedicatedHosts"
+ ],
+ "operationId": "DedicatedHosts_Update",
+ "description": "Update an dedicated host .",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "name": "hostName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host ."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostUpdate"
+ },
+ "description": "Parameters supplied to the Update Dedicated Host operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHost"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "DedicatedHosts"
+ ],
+ "operationId": "DedicatedHosts_Delete",
+ "description": "Delete a dedicated host.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "name": "hostName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "get": {
+ "tags": [
+ "DedicatedHosts"
+ ],
+ "operationId": "DedicatedHosts_Get",
+ "description": "Retrieves information about a dedicated host.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "name": "hostName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host."
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The expand expression to apply on the operation.",
+ "enum": [
+ "instanceView"
+ ],
+ "x-ms-enum": {
+ "name": "InstanceViewTypes",
+ "modelAsString": false
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHost"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get a dedicated host.": {
+ "$ref": "./examples/GetADedicatedHost.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts": {
+ "get": {
+ "tags": [
+ "DedicatedHost"
+ ],
+ "operationId": "DedicatedHosts_ListByHostGroup",
+ "description": "Lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink property in the response to get the next page of dedicated hosts.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/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",
+ "description": "The name of a supported Azure region."
+ },
+ {
+ "name": "publisherName",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "type",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "version",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineExtensionImage"
+ }
+ }
+ }
+ }
+ },
+ "/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",
+ "description": "The name of a supported Azure region."
+ },
+ {
+ "name": "publisherName",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "array",
+ "items": {
+ "$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",
+ "description": "The name of a supported Azure region."
+ },
+ {
+ "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"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineExtensionImage"
+ }
+ }
+ }
+ },
+ "x-ms-odata": "#/definitions/VirtualMachineExtensionImage"
+ }
+ },
+ "/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 created 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."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineExtension"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineExtension"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "VirtualMachineExtensions"
+ ],
+ "operationId": "VirtualMachineExtensions_Update",
+ "description": "The operation to 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 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/VirtualMachineExtensionUpdate"
+ },
+ "description": "Parameters supplied to the Update Virtual Machine Extension operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "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."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ }
+ },
+ "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": "The expand expression to apply on the operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineExtension"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions": {
+ "get": {
+ "tags": [
+ "VirtualMachineExtensions"
+ ],
+ "operationId": "VirtualMachineExtensions_List",
+ "description": "The operation to get all extensions of 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 containing the extension."
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The expand expression to apply on the operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineExtensionsListResult"
+ }
+ }
+ }
+ }
+ },
+ "/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",
+ "description": "The name of a supported Azure region."
+ },
+ {
+ "name": "publisherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "A valid image publisher."
+ },
+ {
+ "name": "offer",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "A valid image publisher offer."
+ },
+ {
+ "name": "skus",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "A valid image SKU."
+ },
+ {
+ "name": "version",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "A valid image SKU version."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineImage"
+ }
+ }
+ }
+ }
+ },
+ "/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 all virtual machine image versions for the specified location, publisher, offer, and SKU.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of a supported Azure region."
+ },
+ {
+ "name": "publisherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "A valid image publisher."
+ },
+ {
+ "name": "offer",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "A valid image publisher offer."
+ },
+ {
+ "name": "skus",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "A valid image SKU."
+ },
+ {
+ "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"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineImageResource"
+ }
+ }
+ }
+ },
+ "x-ms-odata": "#/definitions/VirtualMachineImageResource"
+ }
+ },
+ "/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 for the specified location and publisher.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of a supported Azure region."
+ },
+ {
+ "name": "publisherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "A valid image publisher."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "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 for the specified Azure location.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of a supported Azure region."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "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 for the specified location, publisher, and offer.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of a supported Azure region."
+ },
+ {
+ "name": "publisherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "A valid image publisher."
+ },
+ {
+ "name": "offer",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "A valid image publisher offer."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineImageResource"
+ }
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/usages": {
+ "get": {
+ "tags": [
+ "Usage"
+ ],
+ "operationId": "Usage_List",
+ "description": "Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location for which resource usage is queried.",
+ "pattern": "^[-\\w\\._]+$"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ListUsagesResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines": {
+ "get": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "operationId": "VirtualMachines_ListByLocation",
+ "description": "Gets all the virtual machines under the specified subscription for the specified location.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location for which virtual machines under the subscription are queried.",
+ "pattern": "^[-\\w\\._]+$"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Lists all the virtual machines under the specified subscription for the specified location.": {
+ "$ref": "./examples/ListVirtualMachinesInASubscriptionByLocation.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes": {
+ "get": {
+ "tags": [
+ "VirtualMachineSizes"
+ ],
+ "operationId": "VirtualMachineSizes_List",
+ "description": "This API is deprecated. Use [Resources Skus](https://docs.microsoft.com/en-us/rest/api/compute/resourceskus/list)",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location upon which virtual-machine-sizes is queried.",
+ "pattern": "^[-\\w\\._]+$"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineSizeListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}": {
+ "put": {
+ "tags": [
+ "Images"
+ ],
+ "operationId": "Images_CreateOrUpdate",
+ "description": "Create or update an image.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "imageName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the image."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Image"
+ },
+ "description": "Parameters supplied to the Create Image operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Image"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Image"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create a virtual machine image from a blob.": {
+ "$ref": "./examples/CreateAnImageFromABlob.json"
+ },
+ "Create a virtual machine image from a snapshot.": {
+ "$ref": "./examples/CreateAnImageFromASnapshot.json"
+ },
+ "Create a virtual machine image from a managed disk.": {
+ "$ref": "./examples/CreateAnImageFromAManagedDisk.json"
+ },
+ "Create a virtual machine image from an existing virtual machine.": {
+ "$ref": "./examples/CreateAnImageFromAVM.json"
+ },
+ "Create a virtual machine image that includes a data disk from a blob.": {
+ "$ref": "./examples/CreateAnImageThatIncludesADataDiskFromABlob.json"
+ },
+ "Create a virtual machine image that includes a data disk from a snapshot.": {
+ "$ref": "./examples/CreateAnImageThatIncludesADataDiskFromASnapshot.json"
+ },
+ "Create a virtual machine image that includes a data disk from a managed disk.": {
+ "$ref": "./examples/CreateAnImageThatIncludesADataDiskFromAManagedDisk.json"
+ },
+ "Create a virtual machine image from a blob with DiskEncryptionSet resource.": {
+ "$ref": "./examples/CreateAnImageFromABlobWithDiskEncryptionSet.json"
+ },
+ "Create a virtual machine image from a snapshot with DiskEncryptionSet resource.": {
+ "$ref": "./examples/CreateAnImageFromASnapshotWithDiskEncryptionSet.json"
+ },
+ "Create a virtual machine image from a managed disk with DiskEncryptionSet resource.": {
+ "$ref": "./examples/CreateAnImageFromAManagedDiskWithDiskEncryptionSet.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Images"
+ ],
+ "operationId": "Images_Update",
+ "description": "Update an image.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "imageName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the image."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ImageUpdate"
+ },
+ "description": "Parameters supplied to the Update Image operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Image"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Image"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "Images"
+ ],
+ "operationId": "Images_Delete",
+ "description": "Deletes an Image.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "imageName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the image."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "get": {
+ "tags": [
+ "Images"
+ ],
+ "operationId": "Images_Get",
+ "description": "Gets an image.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "imageName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the image."
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The expand expression to apply on the operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Image"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get information about a virtual machine image.": {
+ "$ref": "./examples/GetInformationAboutAnImage.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images": {
+ "get": {
+ "tags": [
+ "Images"
+ ],
+ "operationId": "Images_ListByResourceGroup",
+ "description": "Gets the list of images under a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ImageListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all virtual machine images in a resource group.": {
+ "$ref": "./examples/ListImagesInAResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/images": {
+ "get": {
+ "tags": [
+ "Images"
+ ],
+ "operationId": "Images_List",
+ "description": "Gets the list of Images in the subscription. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ImageListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all virtual machine images in a subscription.": {
+ "$ref": "./examples/ListImagesInASubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/capture": {
+ "post": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "operationId": "VirtualMachines_Capture",
+ "description": "Captures the VM by copying virtual hard disks 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."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineCaptureResult"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/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."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachine"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachine"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create a vm with password authentication.": {
+ "$ref": "./examples/CreateAVmWithPasswordAuthentication.json"
+ },
+ "Create a vm with ssh authentication.": {
+ "$ref": "./examples/CreateAVmWithSshAuthentication.json"
+ },
+ "Create a vm with premium storage.": {
+ "$ref": "./examples/CreateAVmWithPremiumStorage.json"
+ },
+ "Create a vm in an availability set.": {
+ "$ref": "./examples/CreateAVmInAnAvailabilitySet.json"
+ },
+ "Create a vm with boot diagnostics.": {
+ "$ref": "./examples/CreateAVmWithBootDiagnostics.json"
+ },
+ "Create a vm with empty data disks.": {
+ "$ref": "./examples/CreateAVmWithEmptyDataDisks.json"
+ },
+ "Create a vm with a marketplace image plan.": {
+ "$ref": "./examples/CreateAVmWithAMarketplaceImagePlan.json"
+ },
+ "Create a vm from a custom image.": {
+ "$ref": "./examples/CreateAVmFromACustomImage.json"
+ },
+ "Create a platform-image vm with unmanaged os and data disks.": {
+ "$ref": "./examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json"
+ },
+ "Create a custom-image vm from an unmanaged generalized os image.": {
+ "$ref": "./examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json"
+ },
+ "Create a vm with ephemeral os disk.": {
+ "$ref": "./examples/CreateAVmWithADiffOsDisk.json"
+ },
+ "Create a vm with DiskEncryptionSet resource id in the os disk and data disk.": {
+ "$ref": "./examples/CreateAVmWithDiskEncryptionSetResource.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "operationId": "VirtualMachines_Update",
+ "description": "The operation to 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/VirtualMachineUpdate"
+ },
+ "description": "Parameters supplied to the Update Virtual Machine operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachine"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachine"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Update a VM by detaching data disk": {
+ "$ref": "./examples/UpdateVMDetachDataDiskUsingToBeDetachedProperty.json"
+ }
+ }
+ },
+ "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."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "get": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "operationId": "VirtualMachines_Get",
+ "description": "Retrieves information about the model view or the instance view of 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": "The expand expression to apply on the operation.",
+ "enum": [
+ "instanceView"
+ ],
+ "x-ms-enum": {
+ "name": "InstanceViewTypes",
+ "modelAsString": false
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachine"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get a Virtual Machine.": {
+ "$ref": "./examples/GetVirtualMachine.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/instanceView": {
+ "get": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "operationId": "VirtualMachines_InstanceView",
+ "description": "Retrieves information about the run-time state of 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."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineInstanceView"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Virtual Machine Instance View.": {
+ "$ref": "./examples/GetVirtualMachineInstanceView.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/convertToManagedDisks": {
+ "post": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "operationId": "VirtualMachines_ConvertToManagedDisks",
+ "description": "Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation.",
+ "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."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/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."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "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 virtual machine to 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."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines": {
+ "get": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "operationId": "VirtualMachines_List",
+ "description": "Lists all of the virtual machines in the specified resource group. Use the nextLink property in the response to get the next page of virtual machines.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachines": {
+ "get": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "operationId": "VirtualMachines_ListAll",
+ "description": "Lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "statusOnly",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "statusOnly=true enables fetching run time status of all Virtual Machines in the subscription."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/vmSizes": {
+ "get": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "operationId": "VirtualMachines_ListAvailableSizes",
+ "description": "Lists all available virtual machine sizes to which the specified virtual machine can be resized.",
+ "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."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineSizeListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "x-ms-examples": {
+ "Lists all available virtual machine sizes to which the specified virtual machine can be resized": {
+ "$ref": "./examples/ListAvailableVmSizes_VirtualMachines.json"
+ }
+ }
+ }
+ },
+ "/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. The virtual machine can be restarted with the same provisioned resources. You are still charged for this 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": "skipShutdown",
+ "in": "query",
+ "required": false,
+ "type": "boolean",
+ "default": false,
+ "description": "The parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reapply": {
+ "post": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "operationId": "VirtualMachines_Reapply",
+ "description": "The operation to reapply a virtual machine's state.",
+ "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."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Reapply the state of a virtual machine.": {
+ "$ref": "./examples/ReapplyVirtualMachine.json"
+ }
+ }
+ }
+ },
+ "/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."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "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."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/redeploy": {
+ "post": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "operationId": "VirtualMachines_Redeploy",
+ "description": "Shuts down the virtual machine, moves it to a new node, and powers it back on.",
+ "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."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reimage": {
+ "post": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "operationId": "VirtualMachines_Reimage",
+ "description": "Reimages the virtual machine which has an ephemeral OS disk back to its initial state.",
+ "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": false,
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineReimageParameters"
+ },
+ "description": "Parameters supplied to the Reimage Virtual Machine operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Reimage a Virtual Machine.": {
+ "$ref": "./examples/ReimageVirtualMachine.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/performMaintenance": {
+ "post": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "operationId": "VirtualMachines_PerformMaintenance",
+ "description": "The operation to perform maintenance on 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."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}": {
+ "put": {
+ "tags": [
+ "VirtualMachineScaleSets"
+ ],
+ "operationId": "VirtualMachineScaleSets_CreateOrUpdate",
+ "description": "Create or update a VM scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set to create or update."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSet"
+ },
+ "description": "The scale set object."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSet"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSet"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create a scale set with password authentication.": {
+ "$ref": "./examples/CreateAScaleSetWithPasswordAuthentication.json"
+ },
+ "Create a scale set with ssh authentication.": {
+ "$ref": "./examples/CreateAScaleSetWithSshAuthentication.json"
+ },
+ "Create a scale set with premium storage.": {
+ "$ref": "./examples/CreateAScaleSetWithPremiumStorage.json"
+ },
+ "Create a scale set with empty data disks on each vm.": {
+ "$ref": "./examples/CreateAScaleSetWithEmptyDataDisksOnEachVm.json"
+ },
+ "Create a scale set with an azure load balancer.": {
+ "$ref": "./examples/CreateAScaleSetWithAnAzureLoadBalancer.json"
+ },
+ "Create a scale set with an azure application gateway.": {
+ "$ref": "./examples/CreateAScaleSetWithAnAzureApplicationGateway.json"
+ },
+ "Create a scale set with boot diagnostics.": {
+ "$ref": "./examples/CreateAScaleSetWithBootDiagnostics.json"
+ },
+ "Create a scale set with a marketplace image plan.": {
+ "$ref": "./examples/CreateAScaleSetWithAMarketplaceImagePlan.json"
+ },
+ "Create a scale set from a custom image.": {
+ "$ref": "./examples/CreateAScaleSetFromACustomImage.json"
+ },
+ "Create a platform-image scale set with unmanaged os disks.": {
+ "$ref": "./examples/CreateAPlatformImageScaleSetWithUnmanagedOsDisks.json"
+ },
+ "Create a custom-image scale set from an unmanaged generalized os image.": {
+ "$ref": "./examples/CreateACustomImageScaleSetFromAnUnmanagedGeneralizedOsImage.json"
+ },
+ "Create a scale set with virtual machines in different zones.": {
+ "$ref": "./examples/CreateAScaleSetWithVMsInDifferentZones.json"
+ },
+ "Create a scale set with ephemeral os disks.": {
+ "$ref": "./examples/CreateAScaleSetWithDiffOsDisk.json"
+ },
+ "Create a scale set with terminate scheduled events enabled.": {
+ "$ref": "./examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json"
+ },
+ "Create a scale set with automatic repairs enabled": {
+ "$ref": "./examples/CreateAScaleSetWithAutomaticRepairs.json"
+ },
+ "Create a scale set with DiskEncryptionSet resource in os disk and data disk.": {
+ "$ref": "./examples/CreateAScalesetWithDiskEncryptionSetResource.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "VirtualMachineScaleSets"
+ ],
+ "operationId": "VirtualMachineScaleSets_Update",
+ "description": "Update a VM scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set to create or update."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetUpdate"
+ },
+ "description": "The scale set object."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSet"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "VirtualMachineScaleSets"
+ ],
+ "operationId": "VirtualMachineScaleSets_Delete",
+ "description": "Deletes a VM scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "get": {
+ "tags": [
+ "VirtualMachineScaleSets"
+ ],
+ "operationId": "VirtualMachineScaleSets_Get",
+ "description": "Display information about a virtual machine scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSet"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/deallocate": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSets"
+ ],
+ "operationId": "VirtualMachineScaleSets_Deallocate",
+ "description": "Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "vmInstanceIDs",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMInstanceIDs"
+ },
+ "description": "A list of virtual machine instance IDs from the VM scale set."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/delete": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSets"
+ ],
+ "operationId": "VirtualMachineScaleSets_DeleteInstances",
+ "description": "Deletes virtual machines in a VM scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "vmInstanceIDs",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMInstanceRequiredIDs"
+ },
+ "description": "A list of virtual machine instance IDs from the VM scale set."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/instanceView": {
+ "get": {
+ "tags": [
+ "VirtualMachineScaleSets"
+ ],
+ "operationId": "VirtualMachineScaleSets_GetInstanceView",
+ "description": "Gets the status of a VM scale set instance.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetInstanceView"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets": {
+ "get": {
+ "tags": [
+ "VirtualMachineScaleSets"
+ ],
+ "operationId": "VirtualMachineScaleSets_List",
+ "description": "Gets a list of all VM scale sets under a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}": {
+ "put": {
+ "tags": [
+ "VirtualMachineScaleSetExtensions"
+ ],
+ "operationId": "VirtualMachineScaleSetExtensions_CreateOrUpdate",
+ "description": "The operation to create or update an extension.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set where the extension should be create or updated."
+ },
+ {
+ "name": "vmssExtensionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set extension."
+ },
+ {
+ "name": "extensionParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetExtension"
+ },
+ "description": "Parameters supplied to the Create VM scale set Extension operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetExtension"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetExtension"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "VirtualMachineScaleSetExtensions"
+ ],
+ "operationId": "VirtualMachineScaleSetExtensions_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": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set where the extension should be deleted."
+ },
+ {
+ "name": "vmssExtensionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set extension."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "get": {
+ "tags": [
+ "VirtualMachineScaleSetExtensions"
+ ],
+ "operationId": "VirtualMachineScaleSetExtensions_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": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set containing the extension."
+ },
+ {
+ "name": "vmssExtensionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set extension."
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The expand expression to apply on the operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetExtension"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions": {
+ "get": {
+ "tags": [
+ "VirtualMachineScaleSetExtensions"
+ ],
+ "operationId": "VirtualMachineScaleSetExtensions_List",
+ "description": "Gets a list of all extensions in a VM scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set containing the extension."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetExtensionListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachineScaleSets": {
+ "get": {
+ "tags": [
+ "VirtualMachineScaleSets"
+ ],
+ "operationId": "VirtualMachineScaleSets_ListAll",
+ "description": "Gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of VM Scale Sets. Do this till nextLink is null to fetch all the VM Scale Sets.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetListWithLinkResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/skus": {
+ "get": {
+ "tags": [
+ "VirtualMachineScaleSets"
+ ],
+ "operationId": "VirtualMachineScaleSets_ListSkus",
+ "description": "Gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetListSkusResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory": {
+ "get": {
+ "tags": [
+ "VirtualMachineScaleSets"
+ ],
+ "operationId": "VirtualMachineScaleSets_GetOSUpgradeHistory",
+ "description": "Gets list of OS upgrades on a VM scale set instance.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetListOSUpgradeHistory"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/poweroff": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSets"
+ ],
+ "operationId": "VirtualMachineScaleSets_PowerOff",
+ "description": "Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "vmInstanceIDs",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMInstanceIDs"
+ },
+ "description": "A list of virtual machine instance IDs from the VM scale set."
+ },
+ {
+ "name": "skipShutdown",
+ "in": "query",
+ "required": false,
+ "type": "boolean",
+ "default": false,
+ "description": "The parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/restart": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSets"
+ ],
+ "operationId": "VirtualMachineScaleSets_Restart",
+ "description": "Restarts one or more virtual machines in a VM scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "vmInstanceIDs",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMInstanceIDs"
+ },
+ "description": "A list of virtual machine instance IDs from the VM scale set."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/start": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSets"
+ ],
+ "operationId": "VirtualMachineScaleSets_Start",
+ "description": "Starts one or more virtual machines in a VM scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "vmInstanceIDs",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMInstanceIDs"
+ },
+ "description": "A list of virtual machine instance IDs from the VM scale set."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/redeploy": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSets"
+ ],
+ "operationId": "VirtualMachineScaleSets_Redeploy",
+ "description": "Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "vmInstanceIDs",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMInstanceIDs"
+ },
+ "description": "A list of virtual machine instance IDs from the VM scale set."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/performMaintenance": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSets"
+ ],
+ "operationId": "VirtualMachineScaleSets_PerformMaintenance",
+ "description": "Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "vmInstanceIDs",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMInstanceIDs"
+ },
+ "description": "A list of virtual machine instance IDs from the VM scale set."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/manualupgrade": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSets"
+ ],
+ "operationId": "VirtualMachineScaleSets_UpdateInstances",
+ "description": "Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "vmInstanceIDs",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMInstanceRequiredIDs"
+ },
+ "description": "A list of virtual machine instance IDs from the VM scale set."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimage": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSets"
+ ],
+ "operationId": "VirtualMachineScaleSets_Reimage",
+ "description": "Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "vmScaleSetReimageInput",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetReimageParameters"
+ },
+ "description": "Parameters for Reimaging VM ScaleSet."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimageall": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSets"
+ ],
+ "operationId": "VirtualMachineScaleSets_ReimageAll",
+ "description": "Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "vmInstanceIDs",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMInstanceIDs"
+ },
+ "description": "A list of virtual machine instance IDs from the VM scale set."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/cancel": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSetRollingUpgrades"
+ ],
+ "operationId": "VirtualMachineScaleSetRollingUpgrades_Cancel",
+ "description": "Cancels the current virtual machine scale set rolling upgrade.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osRollingUpgrade": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSetRollingUpgrades"
+ ],
+ "operationId": "VirtualMachineScaleSetRollingUpgrades_StartOSUpgrade",
+ "description": "Starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensionRollingUpgrade": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSetRollingUpgrades"
+ ],
+ "operationId": "VirtualMachineScaleSetRollingUpgrades_StartExtensionUpgrade",
+ "description": "Starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Start an extension rolling upgrade.": {
+ "$ref": "./examples/VMScaleSetExtensionRollingUpgrade.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/rollingUpgrades/latest": {
+ "get": {
+ "tags": [
+ "VirtualMachineScaleSetRollingUpgrades"
+ ],
+ "operationId": "VirtualMachineScaleSetRollingUpgrades_GetLatest",
+ "description": "Gets the status of the latest virtual machine scale set rolling upgrade.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/RollingUpgradeStatusInfo"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/forceRecoveryServiceFabricPlatformUpdateDomainWalk": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSets"
+ ],
+ "operationId": "VirtualMachineScaleSets_ForceRecoveryServiceFabricPlatformUpdateDomainWalk",
+ "description": "Manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "platformUpdateDomain",
+ "in": "query",
+ "required": true,
+ "type": "integer",
+ "description": "The platform update domain for which a manual recovery walk is requested"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/RecoveryWalkResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSets"
+ ],
+ "operationId": "VirtualMachineScaleSets_ConvertToSinglePlacementGroup",
+ "description": "Converts SinglePlacementGroup property to false for a existing virtual machine scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the virtual machine scale set to create or update."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VMScaleSetConvertToSinglePlacementGroupInput"
+ },
+ "description": "The input object for ConvertToSinglePlacementGroup API."
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions/{vmExtensionName}": {
+ "put": {
+ "tags": [
+ "VirtualMachineScaleSetVMExtensions"
+ ],
+ "operationId": "VirtualMachineScaleSetVMExtensions_CreateOrUpdate",
+ "description": "The operation to create or update the VMSS VM extension.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The instance ID of the virtual machine."
+ },
+ {
+ "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."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineExtension"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineExtension"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create VirtualMachineScaleSet VM extension.": {
+ "$ref": "./examples/CreateOrUpdateVirtualMachineScaleSetVMExtensions.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "VirtualMachineScaleSetVMExtensions"
+ ],
+ "operationId": "VirtualMachineScaleSetVMExtensions_Update",
+ "description": "The operation to update the VMSS VM extension.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The instance ID of the virtual machine."
+ },
+ {
+ "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/VirtualMachineExtensionUpdate"
+ },
+ "description": "Parameters supplied to the Update Virtual Machine Extension operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineExtension"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Update VirtualMachineScaleSet VM extension.": {
+ "$ref": "./examples/UpdateVirtualMachineScaleSetVMExtensions.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "VirtualMachineScaleSetVMExtensions"
+ ],
+ "operationId": "VirtualMachineScaleSetVMExtensions_Delete",
+ "description": "The operation to delete the VMSS VM extension.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The instance ID of the virtual machine."
+ },
+ {
+ "name": "vmExtensionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the virtual machine extension."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete VirtualMachineScaleSet VM extension.": {
+ "$ref": "./examples/DeleteVirtualMachineScaleSetVMExtensions.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "VirtualMachineScaleSetVMExtensions"
+ ],
+ "operationId": "VirtualMachineScaleSetVMExtensions_Get",
+ "description": "The operation to get the VMSS VM extension.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The instance ID of the virtual machine."
+ },
+ {
+ "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": "The expand expression to apply on the operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineExtension"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get VirtualMachineScaleSet VM extension.": {
+ "$ref": "./examples/GetVirtualMachineScaleSetVMExtensions.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions": {
+ "get": {
+ "tags": [
+ "VirtualMachineScaleSetVMExtensions"
+ ],
+ "operationId": "VirtualMachineScaleSetVMExtensions_List",
+ "description": "The operation to get all extensions of an instance in Virtual Machine Scaleset.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The instance ID of the virtual machine."
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The expand expression to apply on the operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineExtensionsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List extensions in Vmss instance.": {
+ "$ref": "./examples/ListVirtualMachineScaleSetVMExtensions.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/reimage": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSetVMs"
+ ],
+ "operationId": "VirtualMachineScaleSetVMs_Reimage",
+ "description": "Reimages (upgrade the operating system) a specific virtual machine in a VM scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The instance ID of the virtual machine."
+ },
+ {
+ "name": "vmScaleSetVMReimageInput",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMReimageParameters"
+ },
+ "description": "Parameters for the Reimaging Virtual machine in ScaleSet."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/reimageall": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSetVMs"
+ ],
+ "operationId": "VirtualMachineScaleSetVMs_ReimageAll",
+ "description": "Allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The instance ID of the virtual machine."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/deallocate": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSetVMs"
+ ],
+ "operationId": "VirtualMachineScaleSetVMs_Deallocate",
+ "description": "Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The instance ID of the virtual machine."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}": {
+ "put": {
+ "tags": [
+ "VirtualMachineScaleSetVMs"
+ ],
+ "operationId": "VirtualMachineScaleSetVMs_Update",
+ "description": "Updates a virtual machine of a VM scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set where the extension should be create or updated."
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The instance ID of the virtual machine."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVM"
+ },
+ "description": "Parameters supplied to the Update Virtual Machine Scale Sets VM operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVM"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVM"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "VirtualMachineScaleSetVMs"
+ ],
+ "operationId": "VirtualMachineScaleSetVMs_Delete",
+ "description": "Deletes a virtual machine from a VM scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The instance ID of the virtual machine."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "get": {
+ "tags": [
+ "VirtualMachineScaleSetVMs"
+ ],
+ "operationId": "VirtualMachineScaleSetVMs_Get",
+ "description": "Gets a virtual machine from a VM scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The instance ID of the virtual machine."
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The expand expression to apply on the operation.",
+ "enum": [
+ "instanceView"
+ ],
+ "x-ms-enum": {
+ "name": "InstanceViewTypes",
+ "modelAsString": false
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVM"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/instanceView": {
+ "get": {
+ "tags": [
+ "VirtualMachineScaleSetVMs"
+ ],
+ "operationId": "VirtualMachineScaleSetVMs_GetInstanceView",
+ "description": "Gets the status of a virtual machine from a VM scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The instance ID of the virtual machine."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMInstanceView"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines": {
+ "get": {
+ "tags": [
+ "VirtualMachineScaleSetVMs"
+ ],
+ "operationId": "VirtualMachineScaleSetVMs_List",
+ "description": "Gets a list of all virtual machines in a VM scale sets.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "virtualMachineScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The filter to apply to the operation."
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The list parameters."
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The expand expression to apply to the operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/VirtualMachineScaleSetVM"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/poweroff": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSetVMs"
+ ],
+ "operationId": "VirtualMachineScaleSetVMs_PowerOff",
+ "description": "Power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The instance ID of the virtual machine."
+ },
+ {
+ "name": "skipShutdown",
+ "in": "query",
+ "required": false,
+ "type": "boolean",
+ "default": false,
+ "description": "The parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/restart": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSetVMs"
+ ],
+ "operationId": "VirtualMachineScaleSetVMs_Restart",
+ "description": "Restarts a virtual machine in a VM scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The instance ID of the virtual machine."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/start": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSetVMs"
+ ],
+ "operationId": "VirtualMachineScaleSetVMs_Start",
+ "description": "Starts a virtual machine in a VM scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The instance ID of the virtual machine."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/redeploy": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSetVMs"
+ ],
+ "operationId": "VirtualMachineScaleSetVMs_Redeploy",
+ "description": "Shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The instance ID of the virtual machine."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/performMaintenance": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSetVMs"
+ ],
+ "operationId": "VirtualMachineScaleSetVMs_PerformMaintenance",
+ "description": "Performs maintenance on a virtual machine in a VM scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The instance ID of the virtual machine."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getRequestRateByInterval": {
+ "post": {
+ "tags": [
+ "LogAnalytics"
+ ],
+ "operationId": "LogAnalytics_ExportRequestRateByInterval",
+ "x-ms-examples": {
+ "Export logs which contain all Api requests made to Compute Resource Provider within the given time period broken down by intervals.": {
+ "$ref": "./examples/LogAnalyticsRequestRateByInterval.json"
+ }
+ },
+ "description": "Export logs that show Api requests made by this subscription in the given time window to show throttling activities.",
+ "parameters": [
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RequestRateByIntervalInput"
+ },
+ "description": "Parameters supplied to the LogAnalytics getRequestRateByInterval Api."
+ },
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location upon which virtual-machine-sizes is queried.",
+ "pattern": "^[-\\w\\._]+$"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/LogAnalyticsOperationResult"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getThrottledRequests": {
+ "post": {
+ "tags": [
+ "LogAnalytics"
+ ],
+ "operationId": "LogAnalytics_ExportThrottledRequests",
+ "x-ms-examples": {
+ "Export logs which contain all throttled Api requests made to Compute Resource Provider within the given time period.": {
+ "$ref": "./examples/LogAnalyticsThrottledRequests.json"
+ }
+ },
+ "description": "Export logs that show total throttled Api requests for this subscription in the given time window.",
+ "parameters": [
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ThrottledRequestsInput"
+ },
+ "description": "Parameters supplied to the LogAnalytics getThrottledRequests Api."
+ },
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location upon which virtual-machine-sizes is queried.",
+ "pattern": "^[-\\w\\._]+$"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/LogAnalyticsOperationResult"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ComputeOperationListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ComputeOperationValue"
+ },
+ "description": "The list of compute operations"
+ }
+ },
+ "description": "The List Compute Operation operation response."
+ },
+ "ComputeOperationValue": {
+ "properties": {
+ "origin": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The origin of the compute operation."
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the compute operation."
+ },
+ "display": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ComputeOperationValueDisplay"
+ }
+ },
+ "description": "Describes the properties of a Compute Operation value."
+ },
+ "ComputeOperationValueDisplay": {
+ "properties": {
+ "operation": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The display name of the compute operation."
+ },
+ "resource": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The display name of the resource the operation applies to."
+ },
+ "description": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The description of the operation."
+ },
+ "provider": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The resource provider for the operation."
+ }
+ },
+ "description": "Describes the properties of a Compute Operation Value Display."
+ },
+ "HyperVGenerationType": {
+ "type": "string",
+ "description": "Specifies the HyperVGeneration Type",
+ "enum": [
+ "V1",
+ "V2"
+ ],
+ "x-ms-enum": {
+ "name": "HyperVGenerationTypes",
+ "modelAsString": true
+ }
+ },
+ "InstanceViewStatus": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "The status code."
+ },
+ "level": {
+ "type": "string",
+ "description": "The level code.",
+ "enum": [
+ "Info",
+ "Warning",
+ "Error"
+ ],
+ "x-ms-enum": {
+ "name": "StatusLevelTypes",
+ "modelAsString": false
+ }
+ },
+ "displayStatus": {
+ "type": "string",
+ "description": "The short localizable label for the status."
+ },
+ "message": {
+ "type": "string",
+ "description": "The detailed status message, including for alerts and error messages."
+ },
+ "time": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The time of the status."
+ }
+ },
+ "description": "Instance view status."
+ },
+ "AvailabilitySetProperties": {
+ "properties": {
+ "platformUpdateDomainCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Update Domain count."
+ },
+ "platformFaultDomainCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Fault Domain count."
+ },
+ "virtualMachines": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResource"
+ },
+ "description": "A list of references to all virtual machines in the availability set."
+ },
+ "proximityPlacementGroup": {
+ "$ref": "#/definitions/SubResource",
+ "description": "Specifies information about the proximity placement group that the availability set should be assigned to.
Minimum api-version: 2018-04-01."
+ },
+ "statuses": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InstanceViewStatus"
+ },
+ "description": "The resource status information."
+ }
+ },
+ "description": "The instance view of a resource."
+ },
+ "AvailabilitySetSkuType": {
+ "type": "string",
+ "description": "Specifies the sku of an Availability Set. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.",
+ "enum": [
+ "Classic",
+ "Aligned"
+ ],
+ "x-ms-enum": {
+ "name": "AvailabilitySetSkuTypes",
+ "modelAsString": true
+ }
+ },
+ "AvailabilitySet": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AvailabilitySetProperties"
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set."
+ },
+ "AvailabilitySetUpdate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AvailabilitySetProperties"
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "Sku of the availability set"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "description": "Specifies information about the availability set that the virtual machine should be assigned to. Only tags may be updated."
+ },
+ "AvailabilitySetListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AvailabilitySet"
+ },
+ "description": "The list of availability sets"
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URI to fetch the next page of AvailabilitySets. Call ListNext() with this URI to fetch the next page of AvailabilitySets."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Availability Set operation response."
+ },
+ "ProximityPlacementGroupProperties": {
+ "properties": {
+ "proximityPlacementGroupType": {
+ "type": "string",
+ "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
+ "enum": [
+ "Standard",
+ "Ultra"
+ ],
+ "x-ms-enum": {
+ "name": "ProximityPlacementGroupType",
+ "modelAsString": true
+ }
+ },
+ "virtualMachines": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResource"
+ },
+ "description": "A list of references to all virtual machines in the proximity placement group."
+ },
+ "virtualMachineScaleSets": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResource"
+ },
+ "description": "A list of references to all virtual machine scale sets in the proximity placement group."
+ },
+ "availabilitySets": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResource"
+ },
+ "description": "A list of references to all availability sets in the proximity placement group."
+ }
+ },
+ "description": "Describes the properties of a Proximity Placement Group."
+ },
+ "ProximityPlacementGroup": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ProximityPlacementGroupProperties",
+ "description": "Describes the properties of a Proximity Placement Group."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Specifies information about the proximity placement group."
+ },
+ "ProximityPlacementGroupUpdate": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "description": "Specifies information about the proximity placement group."
+ },
+ "ProximityPlacementGroupListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProximityPlacementGroup"
+ },
+ "description": "The list of proximity placement groups"
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URI to fetch the next page of proximity placement groups."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Proximity Placement Group operation response."
+ },
+ "DedicatedHostGroupProperties": {
+ "properties": {
+ "platformFaultDomainCount": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 1,
+ "maximum": 3,
+ "description": "Number of fault domains that the host group can span."
+ },
+ "hosts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResourceReadOnly"
+ },
+ "readOnly": true,
+ "description": "A list of references to all dedicated hosts in the dedicated host group."
+ }
+ },
+ "required": [
+ "platformFaultDomainCount"
+ ],
+ "description": "Dedicated Host Group Properties."
+ },
+ "DedicatedHostGroup": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DedicatedHostGroupProperties"
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Specifies information about the dedicated host group that the dedicated hosts should be assigned to.
Currently, a dedicated host can only be added to a dedicated host group at creation time. An existing dedicated host cannot be added to another dedicated host group."
+ },
+ "DedicatedHostGroupUpdate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DedicatedHostGroupProperties"
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "description": "Specifies information about the dedicated host group that the dedicated host should be assigned to. Only tags may be updated."
+ },
+ "DedicatedHostGroupListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DedicatedHostGroup"
+ },
+ "description": "The list of dedicated host groups"
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URI to fetch the next page of Dedicated Host Groups. Call ListNext() with this URI to fetch the next page of Dedicated Host Groups."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Dedicated Host Group with resource group response."
+ },
+ "DedicatedHostLicenseType": {
+ "type": "string",
+ "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
**None**
**Windows_Server_Hybrid**
**Windows_Server_Perpetual**
Default: **None**",
+ "enum": [
+ "None",
+ "Windows_Server_Hybrid",
+ "Windows_Server_Perpetual"
+ ],
+ "x-ms-enum": {
+ "name": "DedicatedHostLicenseTypes",
+ "modelAsString": false
+ }
+ },
+ "DedicatedHostAllocatableVM": {
+ "properties": {
+ "vmSize": {
+ "type": "string",
+ "description": "VM size in terms of which the unutilized capacity is represented."
+ },
+ "count": {
+ "type": "number",
+ "format": "double",
+ "description": "Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity."
+ }
+ },
+ "description": "Represents the dedicated host unutilized capacity in terms of a specific VM size."
+ },
+ "DedicatedHostAvailableCapacity": {
+ "properties": {
+ "allocatableVMs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DedicatedHostAllocatableVM"
+ },
+ "description": "The unutilized capacity of the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host."
+ }
+ },
+ "description": "Dedicated host unutilized capacity."
+ },
+ "DedicatedHostInstanceView": {
+ "properties": {
+ "assetId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the unique id of the dedicated physical machine on which the dedicated host resides."
+ },
+ "availableCapacity": {
+ "$ref": "#/definitions/DedicatedHostAvailableCapacity",
+ "description": "Unutilized capacity of the dedicated host."
+ },
+ "statuses": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InstanceViewStatus"
+ },
+ "description": "The resource status information."
+ }
+ },
+ "description": "The instance view of a dedicated host."
+ },
+ "DedicatedHostProperties": {
+ "properties": {
+ "platformFaultDomain": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "maximum": 2,
+ "description": "Fault domain of the dedicated host within a dedicated host group."
+ },
+ "autoReplaceOnFailure": {
+ "type": "boolean",
+ "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided."
+ },
+ "hostId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique id generated and assigned to the dedicated host by the platform.
Does not change throughout the lifetime of the host."
+ },
+ "virtualMachines": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResourceReadOnly"
+ },
+ "readOnly": true,
+ "description": "A list of references to all virtual machines in the Dedicated Host."
+ },
+ "licenseType": {
+ "$ref": "#/definitions/DedicatedHostLicenseType",
+ "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
**None**
**Windows_Server_Hybrid**
**Windows_Server_Perpetual**
Default: **None**"
+ },
+ "provisioningTime": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The date when the host was first provisioned."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The provisioning state, which only appears in the response."
+ },
+ "instanceView": {
+ "$ref": "#/definitions/DedicatedHostInstanceView",
+ "readOnly": true,
+ "description": "The dedicated host instance view."
+ }
+ },
+ "description": "Properties of the dedicated host."
+ },
+ "DedicatedHost": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DedicatedHostProperties"
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "required": [
+ "sku"
+ ],
+ "description": "Specifies information about the Dedicated host."
+ },
+ "DedicatedHostUpdate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DedicatedHostProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "description": "Specifies information about the dedicated host. Only tags, autoReplaceOnFailure and licenseType may be updated."
+ },
+ "DedicatedHostListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DedicatedHost"
+ },
+ "description": "The list of dedicated hosts"
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URI to fetch the next page of dedicated hosts. Call ListNext() with this URI to fetch the next page of dedicated hosts."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The list dedicated host operation response."
+ },
+ "VirtualMachineSize": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the virtual machine size."
+ },
+ "numberOfCores": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of cores supported by the virtual machine size."
+ },
+ "osDiskSizeInMB": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The OS disk size, in MB, allowed by the virtual machine size."
+ },
+ "resourceDiskSizeInMB": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The resource disk size, in MB, allowed by the virtual machine size."
+ },
+ "memoryInMB": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The amount of memory, in MB, supported by the virtual machine size."
+ },
+ "maxDataDiskCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum number of data disks that can be attached to the virtual machine size."
+ }
+ },
+ "description": "Describes the properties of a VM size."
+ },
+ "VirtualMachineSizeListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineSize"
+ },
+ "description": "The list of virtual machine sizes."
+ }
+ },
+ "description": "The List Virtual Machine operation response."
+ },
+ "VirtualMachineExtensionImageProperties": {
+ "properties": {
+ "operatingSystem": {
+ "type": "string",
+ "description": "The operating system this extension supports."
+ },
+ "computeRole": {
+ "type": "string",
+ "description": "The type of role (IaaS or PaaS) this extension supports."
+ },
+ "handlerSchema": {
+ "type": "string",
+ "description": "The schema defined by publisher, where extension consumers should provide settings in a matching schema."
+ },
+ "vmScaleSetEnabled": {
+ "type": "boolean",
+ "description": "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": "Whether the handler can support multiple extensions."
+ }
+ },
+ "required": [
+ "operatingSystem",
+ "computeRole",
+ "handlerSchema"
+ ],
+ "description": "Describes the properties of a Virtual Machine Extension Image."
+ },
+ "VirtualMachineExtensionImage": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualMachineExtensionImageProperties"
+ }
+ },
+ "required": [
+ "name",
+ "location"
+ ],
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Describes a Virtual Machine Extension Image."
+ },
+ "VirtualMachineImageResource": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the resource."
+ },
+ "location": {
+ "type": "string",
+ "description": "The supported Azure location of the resource."
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md)."
+ }
+ },
+ "required": [
+ "name",
+ "location"
+ ],
+ "allOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ }
+ ],
+ "description": "Virtual machine image resource information."
+ },
+ "VirtualMachineExtensionInstanceView": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The virtual machine extension name."
+ },
+ "type": {
+ "type": "string",
+ "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
+ },
+ "typeHandlerVersion": {
+ "type": "string",
+ "description": "Specifies the version of the script handler."
+ },
+ "substatuses": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InstanceViewStatus"
+ },
+ "description": "The resource status information."
+ },
+ "statuses": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InstanceViewStatus"
+ },
+ "description": "The resource status information."
+ }
+ },
+ "description": "The instance view of a virtual machine extension."
+ },
+ "VirtualMachineExtensionProperties": {
+ "properties": {
+ "forceUpdateTag": {
+ "type": "string",
+ "description": "How the extension handler should be forced to update even if the extension configuration has not changed."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The name of the extension handler publisher."
+ },
+ "type": {
+ "type": "string",
+ "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
+ },
+ "typeHandlerVersion": {
+ "type": "string",
+ "description": "Specifies the version of the script handler."
+ },
+ "autoUpgradeMinorVersion": {
+ "type": "boolean",
+ "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true."
+ },
+ "settings": {
+ "type": "object",
+ "description": "Json formatted public settings for the extension."
+ },
+ "protectedSettings": {
+ "type": "object",
+ "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The provisioning state, which only appears in the response."
+ },
+ "instanceView": {
+ "$ref": "#/definitions/VirtualMachineExtensionInstanceView",
+ "description": "The virtual machine extension instance view."
+ }
+ },
+ "description": "Describes the properties of a Virtual Machine Extension."
+ },
+ "VirtualMachineExtensionUpdateProperties": {
+ "properties": {
+ "forceUpdateTag": {
+ "type": "string",
+ "description": "How the extension handler should be forced to update even if the extension configuration has not changed."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The name of the extension handler publisher."
+ },
+ "type": {
+ "type": "string",
+ "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
+ },
+ "typeHandlerVersion": {
+ "type": "string",
+ "description": "Specifies the version of the script handler."
+ },
+ "autoUpgradeMinorVersion": {
+ "type": "boolean",
+ "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true."
+ },
+ "settings": {
+ "type": "object",
+ "description": "Json formatted public settings for the extension."
+ },
+ "protectedSettings": {
+ "type": "object",
+ "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all."
+ }
+ },
+ "description": "Describes the properties of a Virtual Machine Extension."
+ },
+ "VirtualMachineExtension": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualMachineExtensionProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Describes a Virtual Machine Extension."
+ },
+ "VirtualMachineExtensionUpdate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualMachineExtensionUpdateProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "description": "Describes a Virtual Machine Extension."
+ },
+ "VirtualMachineExtensionsListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineExtension"
+ },
+ "description": "The list of extensions"
+ }
+ },
+ "description": "The List Extension operation response"
+ },
+ "PurchasePlan": {
+ "properties": {
+ "publisher": {
+ "type": "string",
+ "description": "The publisher ID."
+ },
+ "name": {
+ "type": "string",
+ "description": "The plan ID."
+ },
+ "product": {
+ "type": "string",
+ "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element."
+ }
+ },
+ "required": [
+ "publisher",
+ "name",
+ "product"
+ ],
+ "description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace."
+ },
+ "OSDiskImage": {
+ "properties": {
+ "operatingSystem": {
+ "type": "string",
+ "description": "The operating system of the osDiskImage.",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
+ }
+ }
+ },
+ "required": [
+ "operatingSystem"
+ ],
+ "description": "Contains the os disk image information."
+ },
+ "DataDiskImage": {
+ "properties": {
+ "lun": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM."
+ }
+ },
+ "description": "Contains the data disk images information."
+ },
+ "AutomaticOSUpgradeProperties": {
+ "properties": {
+ "automaticOSUpgradeSupported": {
+ "type": "boolean",
+ "description": "Specifies whether automatic OS upgrade is supported on the image."
+ }
+ },
+ "required": [
+ "automaticOSUpgradeSupported"
+ ],
+ "description": "Describes automatic OS upgrade properties on the image."
+ },
+ "VirtualMachineImageProperties": {
+ "properties": {
+ "plan": {
+ "$ref": "#/definitions/PurchasePlan"
+ },
+ "osDiskImage": {
+ "$ref": "#/definitions/OSDiskImage"
+ },
+ "dataDiskImages": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataDiskImage"
+ }
+ },
+ "automaticOSUpgradeProperties": {
+ "$ref": "#/definitions/AutomaticOSUpgradeProperties"
+ },
+ "hyperVGeneration": {
+ "$ref": "#/definitions/HyperVGenerationType"
+ }
+ },
+ "description": "Describes the properties of a Virtual Machine Image."
+ },
+ "VirtualMachineImage": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualMachineImageProperties"
+ }
+ },
+ "required": [
+ "name",
+ "location"
+ ],
+ "allOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineImageResource"
+ }
+ ],
+ "description": "Describes a Virtual Machine Image."
+ },
+ "UsageName": {
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "The name of the resource."
+ },
+ "localizedValue": {
+ "type": "string",
+ "description": "The localized name of the resource."
+ }
+ },
+ "description": "The Usage Names."
+ },
+ "Usage": {
+ "properties": {
+ "unit": {
+ "type": "string",
+ "description": "An enum describing the unit of usage measurement.",
+ "enum": [
+ "Count"
+ ],
+ "x-ms-enum": {
+ "name": "UsageUnit",
+ "modelAsString": false
+ }
+ },
+ "currentValue": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The current usage of the resource."
+ },
+ "limit": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The maximum permitted usage of the resource."
+ },
+ "name": {
+ "$ref": "#/definitions/UsageName",
+ "description": "The name of the type of usage."
+ }
+ },
+ "required": [
+ "unit",
+ "currentValue",
+ "limit",
+ "name"
+ ],
+ "description": "Describes Compute Resource Usage."
+ },
+ "ListUsagesResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Usage"
+ },
+ "description": "The list of compute resource usages."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URI to fetch the next page of compute resource usage information. Call ListNext() with this to fetch the next page of compute resource usage information."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Usages operation response."
+ },
+ "VirtualMachineReimageParameters": {
+ "properties": {
+ "tempDisk": {
+ "type": "boolean",
+ "description": "Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk."
+ }
+ },
+ "description": "Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk will always be reimaged"
+ },
+ "VirtualMachineCaptureParameters": {
+ "properties": {
+ "vhdPrefix": {
+ "type": "string",
+ "description": "The captured virtual hard disk's name prefix."
+ },
+ "destinationContainerName": {
+ "type": "string",
+ "description": "The destination container name."
+ },
+ "overwriteVhds": {
+ "type": "boolean",
+ "description": "Specifies whether to overwrite the destination virtual hard disk, in case of conflict."
+ }
+ },
+ "required": [
+ "vhdPrefix",
+ "destinationContainerName",
+ "overwriteVhds"
+ ],
+ "description": "Capture Virtual Machine parameters."
+ },
+ "VirtualMachineCaptureResult": {
+ "properties": {
+ "$schema": {
+ "readOnly": true,
+ "type": "string",
+ "description": "the schema of the captured virtual machine"
+ },
+ "contentVersion": {
+ "readOnly": true,
+ "type": "string",
+ "description": "the version of the content"
+ },
+ "parameters": {
+ "readOnly": true,
+ "type": "object",
+ "description": "parameters of the captured virtual machine"
+ },
+ "resources": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "type": "object",
+ "description": "resource item"
+ },
+ "description": "a list of resource items of the captured virtual machine"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ }
+ ],
+ "description": "Output of virtual machine capture operation."
+ },
+ "Plan": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The plan ID."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The publisher ID."
+ },
+ "product": {
+ "type": "string",
+ "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element."
+ },
+ "promotionCode": {
+ "type": "string",
+ "description": "The promotion code."
+ }
+ },
+ "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**."
+ },
+ "HardwareProfile": {
+ "properties": {
+ "vmSize": {
+ "type": "string",
+ "description": "Specifies the size of the virtual machine. For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
The available VM sizes depend on region and availability set. For a list of available sizes use these APIs:
[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)
[List all available virtual machine sizes in a region](https://docs.microsoft.com/rest/api/compute/virtualmachinesizes/list)
[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes)",
+ "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_A10",
+ "Standard_A11",
+ "Standard_A1_v2",
+ "Standard_A2_v2",
+ "Standard_A4_v2",
+ "Standard_A8_v2",
+ "Standard_A2m_v2",
+ "Standard_A4m_v2",
+ "Standard_A8m_v2",
+ "Standard_B1s",
+ "Standard_B1ms",
+ "Standard_B2s",
+ "Standard_B2ms",
+ "Standard_B4ms",
+ "Standard_B8ms",
+ "Standard_D1",
+ "Standard_D2",
+ "Standard_D3",
+ "Standard_D4",
+ "Standard_D11",
+ "Standard_D12",
+ "Standard_D13",
+ "Standard_D14",
+ "Standard_D1_v2",
+ "Standard_D2_v2",
+ "Standard_D3_v2",
+ "Standard_D4_v2",
+ "Standard_D5_v2",
+ "Standard_D2_v3",
+ "Standard_D4_v3",
+ "Standard_D8_v3",
+ "Standard_D16_v3",
+ "Standard_D32_v3",
+ "Standard_D64_v3",
+ "Standard_D2s_v3",
+ "Standard_D4s_v3",
+ "Standard_D8s_v3",
+ "Standard_D16s_v3",
+ "Standard_D32s_v3",
+ "Standard_D64s_v3",
+ "Standard_D11_v2",
+ "Standard_D12_v2",
+ "Standard_D13_v2",
+ "Standard_D14_v2",
+ "Standard_D15_v2",
+ "Standard_DS1",
+ "Standard_DS2",
+ "Standard_DS3",
+ "Standard_DS4",
+ "Standard_DS11",
+ "Standard_DS12",
+ "Standard_DS13",
+ "Standard_DS14",
+ "Standard_DS1_v2",
+ "Standard_DS2_v2",
+ "Standard_DS3_v2",
+ "Standard_DS4_v2",
+ "Standard_DS5_v2",
+ "Standard_DS11_v2",
+ "Standard_DS12_v2",
+ "Standard_DS13_v2",
+ "Standard_DS14_v2",
+ "Standard_DS15_v2",
+ "Standard_DS13-4_v2",
+ "Standard_DS13-2_v2",
+ "Standard_DS14-8_v2",
+ "Standard_DS14-4_v2",
+ "Standard_E2_v3",
+ "Standard_E4_v3",
+ "Standard_E8_v3",
+ "Standard_E16_v3",
+ "Standard_E32_v3",
+ "Standard_E64_v3",
+ "Standard_E2s_v3",
+ "Standard_E4s_v3",
+ "Standard_E8s_v3",
+ "Standard_E16s_v3",
+ "Standard_E32s_v3",
+ "Standard_E64s_v3",
+ "Standard_E32-16_v3",
+ "Standard_E32-8s_v3",
+ "Standard_E64-32s_v3",
+ "Standard_E64-16s_v3",
+ "Standard_F1",
+ "Standard_F2",
+ "Standard_F4",
+ "Standard_F8",
+ "Standard_F16",
+ "Standard_F1s",
+ "Standard_F2s",
+ "Standard_F4s",
+ "Standard_F8s",
+ "Standard_F16s",
+ "Standard_F2s_v2",
+ "Standard_F4s_v2",
+ "Standard_F8s_v2",
+ "Standard_F16s_v2",
+ "Standard_F32s_v2",
+ "Standard_F64s_v2",
+ "Standard_F72s_v2",
+ "Standard_G1",
+ "Standard_G2",
+ "Standard_G3",
+ "Standard_G4",
+ "Standard_G5",
+ "Standard_GS1",
+ "Standard_GS2",
+ "Standard_GS3",
+ "Standard_GS4",
+ "Standard_GS5",
+ "Standard_GS4-8",
+ "Standard_GS4-4",
+ "Standard_GS5-16",
+ "Standard_GS5-8",
+ "Standard_H8",
+ "Standard_H16",
+ "Standard_H8m",
+ "Standard_H16m",
+ "Standard_H16r",
+ "Standard_H16mr",
+ "Standard_L4s",
+ "Standard_L8s",
+ "Standard_L16s",
+ "Standard_L32s",
+ "Standard_M64s",
+ "Standard_M64ms",
+ "Standard_M128s",
+ "Standard_M128ms",
+ "Standard_M64-32ms",
+ "Standard_M64-16ms",
+ "Standard_M128-64ms",
+ "Standard_M128-32ms",
+ "Standard_NC6",
+ "Standard_NC12",
+ "Standard_NC24",
+ "Standard_NC24r",
+ "Standard_NC6s_v2",
+ "Standard_NC12s_v2",
+ "Standard_NC24s_v2",
+ "Standard_NC24rs_v2",
+ "Standard_NC6s_v3",
+ "Standard_NC12s_v3",
+ "Standard_NC24s_v3",
+ "Standard_NC24rs_v3",
+ "Standard_ND6s",
+ "Standard_ND12s",
+ "Standard_ND24s",
+ "Standard_ND24rs",
+ "Standard_NV6",
+ "Standard_NV12",
+ "Standard_NV24"
+ ],
+ "x-ms-enum": {
+ "name": "VirtualMachineSizeTypes",
+ "modelAsString": true
+ }
+ }
+ },
+ "description": "Specifies the hardware settings for the virtual machine."
+ },
+ "ImageReference": {
+ "properties": {
+ "publisher": {
+ "type": "string",
+ "description": "The image publisher."
+ },
+ "offer": {
+ "type": "string",
+ "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine."
+ },
+ "sku": {
+ "type": "string",
+ "description": "The image SKU."
+ },
+ "version": {
+ "type": "string",
+ "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ }
+ ],
+ "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations."
+ },
+ "KeyVaultSecretReference": {
+ "properties": {
+ "secretUrl": {
+ "type": "string",
+ "description": "The URL referencing a secret in a Key Vault."
+ },
+ "sourceVault": {
+ "$ref": "#/definitions/SubResource",
+ "description": "The relative URL of the Key Vault containing the secret."
+ }
+ },
+ "required": [
+ "secretUrl",
+ "sourceVault"
+ ],
+ "description": "Describes a reference to Key Vault Secret"
+ },
+ "DiskEncryptionSetParameters": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ }
+ ],
+ "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.
NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details."
+ },
+ "KeyVaultKeyReference": {
+ "properties": {
+ "keyUrl": {
+ "type": "string",
+ "description": "The URL referencing a key encryption key in Key Vault."
+ },
+ "sourceVault": {
+ "$ref": "#/definitions/SubResource",
+ "description": "The relative URL of the Key Vault containing the key."
+ }
+ },
+ "required": [
+ "keyUrl",
+ "sourceVault"
+ ],
+ "description": "Describes a reference to Key Vault Key"
+ },
+ "DiskEncryptionSettings": {
+ "properties": {
+ "diskEncryptionKey": {
+ "$ref": "#/definitions/KeyVaultSecretReference",
+ "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret."
+ },
+ "keyEncryptionKey": {
+ "$ref": "#/definitions/KeyVaultKeyReference",
+ "description": "Specifies the location of the key encryption key in Key Vault."
+ },
+ "enabled": {
+ "type": "boolean",
+ "description": "Specifies whether disk encryption should be enabled on the virtual machine."
+ }
+ },
+ "description": "Describes a Encryption Settings for a Disk"
+ },
+ "VirtualHardDisk": {
+ "properties": {
+ "uri": {
+ "type": "string",
+ "description": "Specifies the virtual hard disk's uri."
+ }
+ },
+ "description": "Describes the uri of a disk."
+ },
+ "Caching": {
+ "type": "string",
+ "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
+ "enum": [
+ "None",
+ "ReadOnly",
+ "ReadWrite"
+ ],
+ "x-ms-enum": {
+ "name": "CachingTypes",
+ "modelAsString": false
+ }
+ },
+ "CreateOption": {
+ "type": "string",
+ "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
+ "enum": [
+ "FromImage",
+ "Empty",
+ "Attach"
+ ],
+ "x-ms-enum": {
+ "name": "DiskCreateOptionTypes",
+ "modelAsString": true
+ }
+ },
+ "StorageAccountType": {
+ "type": "string",
+ "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
+ "enum": [
+ "Standard_LRS",
+ "Premium_LRS",
+ "StandardSSD_LRS",
+ "UltraSSD_LRS"
+ ],
+ "x-ms-enum": {
+ "name": "StorageAccountTypes",
+ "modelAsString": true
+ }
+ },
+ "DiffDiskOption": {
+ "type": "string",
+ "description": "Specifies the ephemeral disk option for operating system disk.",
+ "enum": [
+ "Local"
+ ],
+ "x-ms-enum": {
+ "name": "DiffDiskOptions",
+ "modelAsString": true
+ }
+ },
+ "DiffDiskSettings": {
+ "properties": {
+ "option": {
+ "$ref": "#/definitions/DiffDiskOption",
+ "description": "Specifies the ephemeral disk settings for operating system disk."
+ }
+ },
+ "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk.
NOTE: The ephemeral disk settings can only be specified for managed disk."
+ },
+ "ManagedDiskParameters": {
+ "properties": {
+ "storageAccountType": {
+ "$ref": "#/definitions/StorageAccountType",
+ "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk."
+ },
+ "diskEncryptionSet": {
+ "$ref": "#/definitions/DiskEncryptionSetParameters",
+ "description": "Specifies the customer managed disk encryption set resource id for the managed disk."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ }
+ ],
+ "description": "The parameters of a managed disk."
+ },
+ "OSDisk": {
+ "properties": {
+ "osType": {
+ "type": "string",
+ "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
+ }
+ },
+ "encryptionSettings": {
+ "$ref": "#/definitions/DiskEncryptionSettings",
+ "description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15"
+ },
+ "name": {
+ "type": "string",
+ "description": "The disk name."
+ },
+ "vhd": {
+ "$ref": "#/definitions/VirtualHardDisk",
+ "description": "The virtual hard disk."
+ },
+ "image": {
+ "$ref": "#/definitions/VirtualHardDisk",
+ "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist."
+ },
+ "caching": {
+ "$ref": "#/definitions/Caching",
+ "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**"
+ },
+ "writeAcceleratorEnabled": {
+ "type": "boolean",
+ "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk."
+ },
+ "diffDiskSettings": {
+ "$ref": "#/definitions/DiffDiskSettings",
+ "description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine."
+ },
+ "createOption": {
+ "$ref": "#/definitions/CreateOption",
+ "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described."
+ },
+ "diskSizeGB": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB"
+ },
+ "managedDisk": {
+ "description": "The managed disk parameters.",
+ "$ref": "#/definitions/ManagedDiskParameters"
+ }
+ },
+ "required": [
+ "createOption"
+ ],
+ "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)."
+ },
+ "DataDisk": {
+ "properties": {
+ "lun": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM."
+ },
+ "name": {
+ "type": "string",
+ "description": "The disk name."
+ },
+ "vhd": {
+ "$ref": "#/definitions/VirtualHardDisk",
+ "description": "The virtual hard disk."
+ },
+ "image": {
+ "$ref": "#/definitions/VirtualHardDisk",
+ "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist."
+ },
+ "caching": {
+ "$ref": "#/definitions/Caching",
+ "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**"
+ },
+ "writeAcceleratorEnabled": {
+ "type": "boolean",
+ "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk."
+ },
+ "createOption": {
+ "$ref": "#/definitions/CreateOption",
+ "description": "Specifies how the virtual machine should be created.
Possible values are:
**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.
**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described."
+ },
+ "diskSizeGB": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB"
+ },
+ "managedDisk": {
+ "description": "The managed disk parameters.",
+ "$ref": "#/definitions/ManagedDiskParameters"
+ },
+ "toBeDetached": {
+ "type": "boolean",
+ "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset"
+ },
+ "diskIOPSReadWrite": {
+ "type": "integer",
+ "readOnly": true,
+ "format": "int64",
+ "description": "Specifies the Read-Write IOPS for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set."
+ },
+ "diskMBpsReadWrite": {
+ "type": "integer",
+ "readOnly": true,
+ "format": "int64",
+ "description": "Specifies the bandwidth in MB per second for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set."
+ }
+ },
+ "required": [
+ "lun",
+ "createOption"
+ ],
+ "description": "Describes a data disk."
+ },
+ "StorageProfile": {
+ "properties": {
+ "imageReference": {
+ "$ref": "#/definitions/ImageReference",
+ "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations."
+ },
+ "osDisk": {
+ "$ref": "#/definitions/OSDisk",
+ "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)."
+ },
+ "dataDisks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataDisk"
+ },
+ "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)."
+ }
+ },
+ "description": "Specifies the storage settings for the virtual machine disks."
+ },
+ "AdditionalCapabilities": {
+ "properties": {
+ "ultraSSDEnabled": {
+ "type": "boolean",
+ "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled."
+ }
+ },
+ "description": "Enables or disables a capability on the virtual machine or virtual machine scale set."
+ },
+ "AdditionalUnattendContent": {
+ "properties": {
+ "passName": {
+ "type": "string",
+ "description": "The pass name. Currently, the only allowable value is OobeSystem.",
+ "enum": [
+ "OobeSystem"
+ ],
+ "x-ms-enum": {
+ "name": "PassNames",
+ "modelAsString": false
+ }
+ },
+ "componentName": {
+ "type": "string",
+ "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
+ "enum": [
+ "Microsoft-Windows-Shell-Setup"
+ ],
+ "x-ms-enum": {
+ "name": "ComponentNames",
+ "modelAsString": false
+ }
+ },
+ "settingName": {
+ "type": "string",
+ "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
+ "enum": [
+ "AutoLogon",
+ "FirstLogonCommands"
+ ],
+ "x-ms-enum": {
+ "name": "SettingNames",
+ "modelAsString": false
+ }
+ },
+ "content": {
+ "type": "string",
+ "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted."
+ }
+ },
+ "description": "Specifies 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 applied."
+ },
+ "WinRMListener": {
+ "properties": {
+ "protocol": {
+ "type": "string",
+ "description": "Specifies the protocol of listener.
Possible values are:
**http**
**https**",
+ "enum": [
+ "Http",
+ "Https"
+ ],
+ "x-ms-enum": {
+ "name": "ProtocolTypes",
+ "modelAsString": false
+ }
+ },
+ "certificateUrl": {
+ "type": "string",
+ "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}"
+ }
+ },
+ "description": "Describes Protocol and thumbprint of Windows Remote Management listener"
+ },
+ "WinRMConfiguration": {
+ "properties": {
+ "listeners": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/WinRMListener"
+ },
+ "description": "The list of Windows Remote Management listeners"
+ }
+ },
+ "description": "Describes Windows Remote Management configuration of the VM"
+ },
+ "WindowsConfiguration": {
+ "properties": {
+ "provisionVMAgent": {
+ "type": "boolean",
+ "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later."
+ },
+ "enableAutomaticUpdates": {
+ "type": "boolean",
+ "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true.
For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning."
+ },
+ "timeZone": {
+ "type": "string",
+ "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\""
+ },
+ "additionalUnattendContent": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AdditionalUnattendContent"
+ },
+ "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup."
+ },
+ "winRM": {
+ "$ref": "#/definitions/WinRMConfiguration",
+ "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell."
+ }
+ },
+ "description": "Specifies Windows operating system settings on the virtual machine."
+ },
+ "SshPublicKey": {
+ "properties": {
+ "path": {
+ "type": "string",
+ "description": "Specifies 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. Example: /home/user/.ssh/authorized_keys"
+ },
+ "keyData": {
+ "type": "string",
+ "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)."
+ }
+ },
+ "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": "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": "Specifies whether password authentication should be disabled."
+ },
+ "ssh": {
+ "$ref": "#/definitions/SshConfiguration",
+ "description": "Specifies the ssh key configuration for a Linux OS."
+ },
+ "provisionVMAgent": {
+ "type": "boolean",
+ "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.
When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later."
+ }
+ },
+ "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)."
+ },
+ "VaultCertificate": {
+ "properties": {
+ "certificateUrl": {
+ "type": "string",
+ "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:
{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}"
+ },
+ "certificateStore": {
+ "type": "string",
+ "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.
For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted."
+ }
+ },
+ "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": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates."
+ },
+ "vaultCertificates": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VaultCertificate"
+ },
+ "description": "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": "Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions)."
+ },
+ "adminUsername": {
+ "type": "string",
+ "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)"
+ },
+ "adminPassword": {
+ "type": "string",
+ "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)"
+ },
+ "customData": {
+ "type": "string",
+ "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)"
+ },
+ "windowsConfiguration": {
+ "$ref": "#/definitions/WindowsConfiguration",
+ "description": "Specifies Windows operating system settings on the virtual machine."
+ },
+ "linuxConfiguration": {
+ "$ref": "#/definitions/LinuxConfiguration",
+ "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)."
+ },
+ "secrets": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VaultSecretGroup"
+ },
+ "description": "Specifies set of certificates that should be installed onto the virtual machine."
+ },
+ "allowExtensionOperations": {
+ "type": "boolean",
+ "description": "Specifies whether extension operations should be allowed on the virtual machine.
This may only be set to False when no extensions are present on the virtual machine."
+ },
+ "requireGuestProvisionSignal": {
+ "type": "boolean",
+ "description": "Specifies whether the guest provision signal is required from the virtual machine."
+ }
+ },
+ "description": "Specifies the operating system settings for the virtual machine."
+ },
+ "AutomaticRepairsPolicy": {
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false."
+ },
+ "gracePeriod": {
+ "type": "string",
+ "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The default value is 5 minutes (PT5M)."
+ },
+ "maxInstanceRepairsPercent": {
+ "type": "integer",
+ "description": "The percentage (capacity of scaleset) of virtual machines that will be simultaneously repaired. The default value is 20%."
+ }
+ },
+ "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set."
+ },
+ "NetworkInterfaceReferenceProperties": {
+ "properties": {
+ "primary": {
+ "type": "boolean",
+ "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface."
+ }
+ },
+ "description": "Describes a network interface reference properties."
+ },
+ "NetworkInterfaceReference": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/NetworkInterfaceReferenceProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ }
+ ],
+ "description": "Describes a network interface reference."
+ },
+ "NetworkProfile": {
+ "properties": {
+ "networkInterfaces": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkInterfaceReference"
+ },
+ "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine."
+ }
+ },
+ "description": "Specifies the network interfaces of the virtual machine."
+ },
+ "BootDiagnostics": {
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "description": "Whether boot diagnostics should be enabled on the Virtual Machine."
+ },
+ "storageUri": {
+ "type": "string",
+ "description": "Uri of the storage account to use for placing the console output and screenshot."
+ }
+ },
+ "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor."
+ },
+ "DiagnosticsProfile": {
+ "properties": {
+ "bootDiagnostics": {
+ "$ref": "#/definitions/BootDiagnostics",
+ "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor."
+ }
+ },
+ "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15."
+ },
+ "BillingProfile": {
+ "properties": {
+ "maxPrice": {
+ "type": "number",
+ "format": "double",
+ "description": "Specifies the maximum price you are willing to pay for a low priority VM/VMSS. This price is in US Dollars.
This price will be compared with the current low priority price for the VM size. Also, the prices are compared at the time of create/update of low priority VM/VMSS and the operation will only succeed if the maxPrice is greater than the current low priority price.
The maxPrice will also be used for evicting a low priority VM/VMSS if the current low priority price goes beyond the maxPrice after creation of VM/VMSS.
Possible values are:
- Any decimal value greater than zero. Example: $0.01538
-1 – indicates default price to be up-to on-demand.
You can set the maxPrice to -1 to indicate that the low priority VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.
Minimum api-version: 2019-03-01."
+ }
+ },
+ "description": "Specifies the billing related details of a low priority VM or VMSS.
Minimum api-version: 2019-03-01."
+ },
+ "VirtualMachineExtensionHandlerInstanceView": {
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
+ },
+ "typeHandlerVersion": {
+ "type": "string",
+ "description": "Specifies the version of the script handler."
+ },
+ "status": {
+ "$ref": "#/definitions/InstanceViewStatus",
+ "description": "The extension handler status."
+ }
+ },
+ "description": "The instance view of a virtual machine extension handler."
+ },
+ "VirtualMachineAgentInstanceView": {
+ "properties": {
+ "vmAgentVersion": {
+ "type": "string",
+ "description": "The VM Agent full version."
+ },
+ "extensionHandlers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineExtensionHandlerInstanceView"
+ },
+ "description": "The virtual machine extension handler instance view."
+ },
+ "statuses": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InstanceViewStatus"
+ },
+ "description": "The resource status information."
+ }
+ },
+ "description": "The instance view of the VM Agent running on the virtual machine."
+ },
+ "DiskInstanceView": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The disk name."
+ },
+ "encryptionSettings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiskEncryptionSettings"
+ },
+ "description": "Specifies the encryption settings for the OS Disk.
Minimum api-version: 2015-06-15"
+ },
+ "statuses": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InstanceViewStatus"
+ },
+ "description": "The resource status information."
+ }
+ },
+ "description": "The instance view of the disk."
+ },
+ "BootDiagnosticsInstanceView": {
+ "properties": {
+ "consoleScreenshotBlobUri": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The console screenshot blob URI."
+ },
+ "serialConsoleLogBlobUri": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The Linux serial console log blob Uri."
+ },
+ "status": {
+ "readOnly": true,
+ "$ref": "#/definitions/InstanceViewStatus",
+ "description": "The boot diagnostics status information for the VM.
NOTE: It will be set only if there are errors encountered in enabling boot diagnostics."
+ }
+ },
+ "description": "The instance view of a virtual machine boot diagnostics."
+ },
+ "VirtualMachineIdentity": {
+ "properties": {
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The principal id of virtual machine identity. This property will only be provided for a system assigned identity."
+ },
+ "tenantId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The tenant id associated with the virtual machine. This property will only be provided for a system assigned identity."
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.",
+ "enum": [
+ "SystemAssigned",
+ "UserAssigned",
+ "SystemAssigned, UserAssigned",
+ "None"
+ ],
+ "x-ms-enum": {
+ "name": "ResourceIdentityType",
+ "modelAsString": false
+ }
+ },
+ "userAssignedIdentities": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The principal id of user assigned identity."
+ },
+ "clientId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The client id of user assigned identity."
+ }
+ }
+ },
+ "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
+ }
+ },
+ "description": "Identity for the virtual machine."
+ },
+ "MaintenanceRedeployStatus": {
+ "properties": {
+ "isCustomerInitiatedMaintenanceAllowed": {
+ "type": "boolean",
+ "description": "True, if customer is allowed to perform Maintenance."
+ },
+ "preMaintenanceWindowStartTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Start Time for the Pre Maintenance Window."
+ },
+ "preMaintenanceWindowEndTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "End Time for the Pre Maintenance Window."
+ },
+ "maintenanceWindowStartTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Start Time for the Maintenance Window."
+ },
+ "maintenanceWindowEndTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "End Time for the Maintenance Window."
+ },
+ "lastOperationResultCode": {
+ "type": "string",
+ "description": "The Last Maintenance Operation Result Code.",
+ "enum": [
+ "None",
+ "RetryLater",
+ "MaintenanceAborted",
+ "MaintenanceCompleted"
+ ],
+ "x-ms-enum": {
+ "name": "MaintenanceOperationResultCodeTypes",
+ "modelAsString": false
+ }
+ },
+ "lastOperationMessage": {
+ "type": "string",
+ "description": "Message returned for the last Maintenance Operation."
+ }
+ },
+ "description": "Maintenance Operation Status."
+ },
+ "VirtualMachineInstanceView": {
+ "properties": {
+ "platformUpdateDomain": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Specifies the update domain of the virtual machine."
+ },
+ "platformFaultDomain": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Specifies the fault domain of the virtual machine."
+ },
+ "computerName": {
+ "type": "string",
+ "description": "The computer name assigned to the virtual machine."
+ },
+ "osName": {
+ "type": "string",
+ "description": "The Operating System running on the virtual machine."
+ },
+ "osVersion": {
+ "type": "string",
+ "description": "The version of Operating System running on the virtual machine."
+ },
+ "hyperVGeneration": {
+ "type": "string",
+ "description": "Specifies the HyperVGeneration Type associated with a resource",
+ "enum": [
+ "V1",
+ "V2"
+ ],
+ "x-ms-enum": {
+ "name": "HyperVGenerationType",
+ "modelAsString": true
+ }
+ },
+ "rdpThumbPrint": {
+ "type": "string",
+ "description": "The Remote desktop certificate thumbprint."
+ },
+ "vmAgent": {
+ "$ref": "#/definitions/VirtualMachineAgentInstanceView",
+ "description": "The VM Agent running on the virtual machine."
+ },
+ "maintenanceRedeployStatus": {
+ "$ref": "#/definitions/MaintenanceRedeployStatus",
+ "description": "The Maintenance Operation status on the virtual machine."
+ },
+ "disks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiskInstanceView"
+ },
+ "description": "The virtual machine disk information."
+ },
+ "extensions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
+ },
+ "description": "The extensions information."
+ },
+ "bootDiagnostics": {
+ "$ref": "#/definitions/BootDiagnosticsInstanceView",
+ "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor."
+ },
+ "statuses": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InstanceViewStatus"
+ },
+ "description": "The resource status information."
+ }
+ },
+ "description": "The instance view of a virtual machine."
+ },
+ "VirtualMachineProperties": {
+ "properties": {
+ "hardwareProfile": {
+ "$ref": "#/definitions/HardwareProfile",
+ "description": "Specifies the hardware settings for the virtual machine."
+ },
+ "storageProfile": {
+ "$ref": "#/definitions/StorageProfile",
+ "description": "Specifies the storage settings for the virtual machine disks."
+ },
+ "additionalCapabilities": {
+ "$ref": "#/definitions/AdditionalCapabilities",
+ "description": "Specifies additional capabilities enabled or disabled on the virtual machine."
+ },
+ "osProfile": {
+ "$ref": "#/definitions/OSProfile",
+ "description": "Specifies the operating system settings for the virtual machine."
+ },
+ "networkProfile": {
+ "$ref": "#/definitions/NetworkProfile",
+ "description": "Specifies the network interfaces of the virtual machine."
+ },
+ "diagnosticsProfile": {
+ "$ref": "#/definitions/DiagnosticsProfile",
+ "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15."
+ },
+ "availabilitySet": {
+ "$ref": "#/definitions/SubResource",
+ "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.
This property cannot exist along with a non-null properties.virtualMachineScaleSet reference."
+ },
+ "virtualMachineScaleSet": {
+ "$ref": "#/definitions/SubResource",
+ "description": "Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set.
This property cannot exist along with a non-null properties.availabilitySet reference.
Minimum api‐version: 2019‐03‐01"
+ },
+ "proximityPlacementGroup": {
+ "$ref": "#/definitions/SubResource",
+ "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.
Minimum api-version: 2018-04-01."
+ },
+ "priority": {
+ "type": "string",
+ "description": "Specifies the priority for the virtual machine.
Minimum api-version: 2019-03-01",
+ "enum": [
+ "Regular",
+ "Low"
+ ],
+ "x-ms-enum": {
+ "name": "VirtualMachinePriorityTypes",
+ "modelAsString": true
+ }
+ },
+ "evictionPolicy": {
+ "type": "string",
+ "description": "Specifies the eviction policy for the low priority virtual machine. Only supported value is 'Deallocate'.
Minimum api-version: 2019-03-01",
+ "enum": [
+ "Deallocate",
+ "Delete"
+ ],
+ "x-ms-enum": {
+ "name": "VirtualMachineEvictionPolicyTypes",
+ "modelAsString": true
+ }
+ },
+ "billingProfile": {
+ "$ref": "#/definitions/BillingProfile",
+ "description": "Specifies the billing related details of a low priority virtual machine.
Minimum api-version: 2019-03-01."
+ },
+ "host": {
+ "$ref": "#/definitions/SubResource",
+ "description": "Specifies information about the dedicated host that the virtual machine resides in.
Minimum api-version: 2018-10-01."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The provisioning state, which only appears in the response."
+ },
+ "instanceView": {
+ "$ref": "#/definitions/VirtualMachineInstanceView",
+ "readOnly": true,
+ "description": "The virtual machine instance view."
+ },
+ "licenseType": {
+ "type": "string",
+ "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15"
+ },
+ "vmId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands."
+ }
+ },
+ "description": "Describes the properties of a Virtual Machine."
+ },
+ "VirtualMachine": {
+ "properties": {
+ "plan": {
+ "$ref": "#/definitions/Plan",
+ "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualMachineProperties"
+ },
+ "resources": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineExtension"
+ },
+ "description": "The virtual machine child extension resources."
+ },
+ "identity": {
+ "$ref": "#/definitions/VirtualMachineIdentity",
+ "description": "The identity of the virtual machine, if configured."
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The virtual machine zones."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Describes a Virtual Machine."
+ },
+ "VirtualMachineUpdate": {
+ "properties": {
+ "plan": {
+ "$ref": "#/definitions/Plan",
+ "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualMachineProperties"
+ },
+ "identity": {
+ "$ref": "#/definitions/VirtualMachineIdentity",
+ "description": "The identity of the virtual machine, if configured."
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The virtual machine zones."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "description": "Describes a Virtual Machine Update."
+ },
+ "VirtualMachineListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachine"
+ },
+ "description": "The list of virtual machines."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URI to fetch the next page of VMs. Call ListNext() with this URI to fetch the next page of Virtual Machines."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Virtual Machine operation response."
+ },
+ "Sku": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The sku name."
+ },
+ "tier": {
+ "type": "string",
+ "description": "Specifies the tier of virtual machines in a scale set.
Possible Values:
**Standard**
**Basic**"
+ },
+ "capacity": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Specifies the number of virtual machines in the scale set."
+ }
+ },
+ "description": "Describes a virtual machine scale set sku."
+ },
+ "AutomaticOSUpgradePolicy": {
+ "properties": {
+ "enableAutomaticOSUpgrade": {
+ "type": "boolean",
+ "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false.
If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true."
+ },
+ "disableAutomaticRollback": {
+ "type": "boolean",
+ "description": "Whether OS image rollback feature should be disabled. Default value is false."
+ }
+ },
+ "description": "The configuration parameters used for performing automatic OS upgrade."
+ },
+ "UpgradePolicy": {
+ "properties": {
+ "mode": {
+ "type": "string",
+ "description": "Specifies the mode of an upgrade to virtual machines in the scale set.
Possible values are:
**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
**Automatic** - All virtual machines in the scale set are automatically updated at the same time.",
+ "enum": [
+ "Automatic",
+ "Manual",
+ "Rolling"
+ ],
+ "x-ms-enum": {
+ "name": "UpgradeMode",
+ "modelAsString": false
+ }
+ },
+ "rollingUpgradePolicy": {
+ "$ref": "#/definitions/RollingUpgradePolicy",
+ "description": "The configuration parameters used while performing a rolling upgrade."
+ },
+ "automaticOSUpgradePolicy": {
+ "$ref": "#/definitions/AutomaticOSUpgradePolicy",
+ "description": "Configuration parameters used for performing automatic OS Upgrade."
+ }
+ },
+ "description": "Describes an upgrade policy - automatic, manual, or rolling."
+ },
+ "RollingUpgradePolicy": {
+ "properties": {
+ "maxBatchInstancePercent": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 5,
+ "maximum": 100,
+ "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%."
+ },
+ "maxUnhealthyInstancePercent": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 5,
+ "maximum": 100,
+ "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%."
+ },
+ "maxUnhealthyUpgradedInstancePercent": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "maximum": 100,
+ "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%."
+ },
+ "pauseTimeBetweenBatches": {
+ "type": "string",
+ "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S)."
+ }
+ },
+ "description": "The configuration parameters used while performing a rolling upgrade."
+ },
+ "ScaleInPolicy": {
+ "properties": {
+ "rules": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "Default",
+ "OldestVM",
+ "NewestVM"
+ ],
+ "x-ms-enum": {
+ "name": "VirtualMachineScaleSetScaleInRules",
+ "modelAsString": true
+ }
+ },
+ "description": "The rules to be followed when scaling-in a virtual machine scale set.
Possible values are:
**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.
**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.
**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
"
+ }
+ },
+ "description": "Describes a scale-in policy for a virtual machine scale set."
+ },
+ "ImageOSDisk": {
+ "properties": {
+ "osType": {
+ "type": "string",
+ "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.
Possible values are:
**Windows**
**Linux**",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
+ }
+ },
+ "osState": {
+ "type": "string",
+ "description": "The OS State.",
+ "enum": [
+ "Generalized",
+ "Specialized"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemStateTypes",
+ "modelAsString": false
+ }
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ImageDisk"
+ }
+ ],
+ "required": [
+ "osType",
+ "osState"
+ ],
+ "description": "Describes an Operating System disk."
+ },
+ "ImageDataDisk": {
+ "properties": {
+ "lun": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ImageDisk"
+ }
+ ],
+ "required": [
+ "lun"
+ ],
+ "description": "Describes a data disk."
+ },
+ "ImageDisk": {
+ "properties": {
+ "snapshot": {
+ "$ref": "#/definitions/SubResource",
+ "description": "The snapshot."
+ },
+ "managedDisk": {
+ "$ref": "#/definitions/SubResource",
+ "description": "The managedDisk."
+ },
+ "blobUri": {
+ "type": "string",
+ "description": "The Virtual Hard Disk."
+ },
+ "caching": {
+ "type": "string",
+ "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**",
+ "enum": [
+ "None",
+ "ReadOnly",
+ "ReadWrite"
+ ],
+ "x-ms-enum": {
+ "name": "CachingTypes",
+ "modelAsString": false
+ }
+ },
+ "diskSizeGB": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.
This value cannot be larger than 1023 GB"
+ },
+ "storageAccountType": {
+ "$ref": "#/definitions/StorageAccountType",
+ "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk."
+ },
+ "diskEncryptionSet": {
+ "$ref": "#/definitions/DiskEncryptionSetParameters",
+ "description": "Specifies the customer managed disk encryption set resource id for the managed image disk."
+ }
+ },
+ "description": "Describes a image disk."
+ },
+ "ImageStorageProfile": {
+ "properties": {
+ "osDisk": {
+ "$ref": "#/definitions/ImageOSDisk",
+ "description": "Specifies information about the operating system disk used by the virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)."
+ },
+ "dataDisks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ImageDataDisk"
+ },
+ "description": "Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)."
+ },
+ "zoneResilient": {
+ "type": "boolean",
+ "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS)."
+ }
+ },
+ "description": "Describes a storage profile."
+ },
+ "ImageProperties": {
+ "properties": {
+ "sourceVirtualMachine": {
+ "$ref": "#/definitions/SubResource",
+ "description": "The source virtual machine from which Image is created."
+ },
+ "storageProfile": {
+ "$ref": "#/definitions/ImageStorageProfile",
+ "description": "Specifies the storage settings for the virtual machine disks."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The provisioning state."
+ },
+ "hyperVGeneration": {
+ "$ref": "#/definitions/HyperVGenerationType",
+ "description": "Gets the HyperVGenerationType of the VirtualMachine created from the image"
+ }
+ },
+ "description": "Describes the properties of an Image."
+ },
+ "Image": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ImageProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist."
+ },
+ "ImageUpdate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ImageProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "description": "The source user image virtual hard disk. Only tags may be updated."
+ },
+ "ImageListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Image"
+ },
+ "description": "The list of Images."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of Images. Call ListNext() with this to fetch the next page of Images."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Image operation response."
+ },
+ "VirtualMachineScaleSetIdentity": {
+ "properties": {
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity."
+ },
+ "tenantId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity."
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.",
+ "enum": [
+ "SystemAssigned",
+ "UserAssigned",
+ "SystemAssigned, UserAssigned",
+ "None"
+ ],
+ "x-ms-enum": {
+ "name": "ResourceIdentityType",
+ "modelAsString": false
+ }
+ },
+ "userAssignedIdentities": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The principal id of user assigned identity."
+ },
+ "clientId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The client id of user assigned identity."
+ }
+ }
+ },
+ "description": "The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
+ }
+ },
+ "description": "Identity for the virtual machine scale set."
+ },
+ "VirtualMachineScaleSetOSProfile": {
+ "properties": {
+ "computerNamePrefix": {
+ "type": "string",
+ "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long."
+ },
+ "adminUsername": {
+ "type": "string",
+ "description": "Specifies the name of the administrator account.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters
For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)"
+ },
+ "adminPassword": {
+ "type": "string",
+ "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password)"
+ },
+ "customData": {
+ "type": "string",
+ "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.
For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)"
+ },
+ "windowsConfiguration": {
+ "$ref": "#/definitions/WindowsConfiguration",
+ "description": "Specifies Windows operating system settings on the virtual machine."
+ },
+ "linuxConfiguration": {
+ "$ref": "#/definitions/LinuxConfiguration",
+ "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)
For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)."
+ },
+ "secrets": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VaultSecretGroup"
+ },
+ "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set."
+ }
+ },
+ "description": "Describes a virtual machine scale set OS profile."
+ },
+ "VirtualMachineScaleSetUpdateOSProfile": {
+ "properties": {
+ "customData": {
+ "type": "string",
+ "description": "A base-64 encoded string of custom data."
+ },
+ "windowsConfiguration": {
+ "$ref": "#/definitions/WindowsConfiguration",
+ "description": "The Windows Configuration of the OS profile."
+ },
+ "linuxConfiguration": {
+ "$ref": "#/definitions/LinuxConfiguration",
+ "description": "The Linux Configuration of the OS profile."
+ },
+ "secrets": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VaultSecretGroup"
+ },
+ "description": "The List of certificates for addition to the VM."
+ }
+ },
+ "description": "Describes a virtual machine scale set OS profile."
+ },
+ "VirtualMachineScaleSetManagedDiskParameters": {
+ "properties": {
+ "storageAccountType": {
+ "$ref": "#/definitions/StorageAccountType",
+ "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk."
+ },
+ "diskEncryptionSet": {
+ "$ref": "#/definitions/DiskEncryptionSetParameters",
+ "description": "Specifies the customer managed disk encryption set resource id for the managed disk."
+ }
+ },
+ "description": "Describes the parameters of a ScaleSet managed disk."
+ },
+ "VirtualMachineScaleSetOSDisk": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The disk name."
+ },
+ "caching": {
+ "$ref": "#/definitions/Caching",
+ "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**"
+ },
+ "writeAcceleratorEnabled": {
+ "type": "boolean",
+ "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk."
+ },
+ "createOption": {
+ "$ref": "#/definitions/CreateOption",
+ "description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described."
+ },
+ "diffDiskSettings": {
+ "$ref": "#/definitions/DiffDiskSettings",
+ "description": "Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set."
+ },
+ "diskSizeGB": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB"
+ },
+ "osType": {
+ "type": "string",
+ "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.
Possible values are:
**Windows**
**Linux**",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
+ }
+ },
+ "image": {
+ "$ref": "#/definitions/VirtualHardDisk",
+ "description": "Specifies information about the unmanaged user image to base the scale set on."
+ },
+ "vhdContainers": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Specifies the container urls that are used to store operating system disks for the scale set."
+ },
+ "managedDisk": {
+ "description": "The managed disk parameters.",
+ "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
+ }
+ },
+ "required": [
+ "createOption"
+ ],
+ "description": "Describes a virtual machine scale set operating system disk."
+ },
+ "VirtualMachineScaleSetUpdateOSDisk": {
+ "properties": {
+ "caching": {
+ "$ref": "#/definitions/Caching",
+ "description": "The caching type."
+ },
+ "writeAcceleratorEnabled": {
+ "type": "boolean",
+ "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk."
+ },
+ "diskSizeGB": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB"
+ },
+ "image": {
+ "$ref": "#/definitions/VirtualHardDisk",
+ "description": "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."
+ },
+ "vhdContainers": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of virtual hard disk container uris."
+ },
+ "managedDisk": {
+ "description": "The managed disk parameters.",
+ "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
+ }
+ },
+ "description": "Describes virtual machine scale set operating system disk Update Object. This should be used for Updating VMSS OS Disk."
+ },
+ "VirtualMachineScaleSetDataDisk": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The disk name."
+ },
+ "lun": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM."
+ },
+ "caching": {
+ "$ref": "#/definitions/Caching",
+ "description": "Specifies the caching requirements.
Possible values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium storage**"
+ },
+ "writeAcceleratorEnabled": {
+ "type": "boolean",
+ "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk."
+ },
+ "createOption": {
+ "$ref": "#/definitions/CreateOption",
+ "description": "The create option."
+ },
+ "diskSizeGB": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB"
+ },
+ "managedDisk": {
+ "description": "The managed disk parameters.",
+ "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters"
+ },
+ "diskIOPSReadWrite": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB."
+ },
+ "diskMBpsReadWrite": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB."
+ }
+ },
+ "required": [
+ "lun",
+ "createOption"
+ ],
+ "description": "Describes a virtual machine scale set data disk."
+ },
+ "VirtualMachineScaleSetStorageProfile": {
+ "properties": {
+ "imageReference": {
+ "$ref": "#/definitions/ImageReference",
+ "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations."
+ },
+ "osDisk": {
+ "$ref": "#/definitions/VirtualMachineScaleSetOSDisk",
+ "description": "Specifies information about the operating system disk used by the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)."
+ },
+ "dataDisks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
+ },
+ "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)."
+ }
+ },
+ "description": "Describes a virtual machine scale set storage profile."
+ },
+ "VirtualMachineScaleSetUpdateStorageProfile": {
+ "properties": {
+ "imageReference": {
+ "$ref": "#/definitions/ImageReference",
+ "description": "The image reference."
+ },
+ "osDisk": {
+ "$ref": "#/definitions/VirtualMachineScaleSetUpdateOSDisk",
+ "description": "The OS disk."
+ },
+ "dataDisks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineScaleSetDataDisk"
+ },
+ "description": "The data disks."
+ }
+ },
+ "description": "Describes a virtual machine scale set storage profile."
+ },
+ "ApiEntityReference": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/..."
+ }
+ },
+ "description": "The API entity reference."
+ },
+ "VirtualMachineScaleSetIPConfigurationProperties": {
+ "properties": {
+ "subnet": {
+ "$ref": "#/definitions/ApiEntityReference",
+ "description": "Specifies the identifier of the subnet."
+ },
+ "primary": {
+ "type": "boolean",
+ "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface."
+ },
+ "publicIPAddressConfiguration": {
+ "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration",
+ "description": "The publicIPAddressConfiguration."
+ },
+ "privateIPAddressVersion": {
+ "type": "string",
+ "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
+ "enum": [
+ "IPv4",
+ "IPv6"
+ ],
+ "x-ms-enum": {
+ "name": "IPVersion",
+ "modelAsString": true
+ }
+ },
+ "applicationGatewayBackendAddressPools": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResource"
+ },
+ "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway."
+ },
+ "applicationSecurityGroups": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResource"
+ },
+ "description": "Specifies an array of references to application security group."
+ },
+ "loadBalancerBackendAddressPools": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResource"
+ },
+ "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer."
+ },
+ "loadBalancerInboundNatPools": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResource"
+ },
+ "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same load balancer"
+ }
+ },
+ "description": "Describes a virtual machine scale set network profile's IP configuration properties."
+ },
+ "VirtualMachineScaleSetUpdateIPConfigurationProperties": {
+ "properties": {
+ "subnet": {
+ "$ref": "#/definitions/ApiEntityReference",
+ "description": "The subnet."
+ },
+ "primary": {
+ "type": "boolean",
+ "description": "Specifies the primary IP Configuration in case the network interface has more than one IP Configuration."
+ },
+ "publicIPAddressConfiguration": {
+ "$ref": "#/definitions/VirtualMachineScaleSetUpdatePublicIPAddressConfiguration",
+ "description": "The publicIPAddressConfiguration."
+ },
+ "privateIPAddressVersion": {
+ "type": "string",
+ "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
+ "enum": [
+ "IPv4",
+ "IPv6"
+ ],
+ "x-ms-enum": {
+ "name": "IPVersion",
+ "modelAsString": true
+ }
+ },
+ "applicationGatewayBackendAddressPools": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResource"
+ },
+ "description": "The application gateway backend address pools."
+ },
+ "applicationSecurityGroups": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResource"
+ },
+ "description": "Specifies an array of references to application security group."
+ },
+ "loadBalancerBackendAddressPools": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResource"
+ },
+ "description": "The load balancer backend address pools."
+ },
+ "loadBalancerInboundNatPools": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResource"
+ },
+ "description": "The load balancer inbound nat pools."
+ }
+ },
+ "description": "Describes a virtual machine scale set network profile's IP configuration properties."
+ },
+ "VirtualMachineScaleSetIPConfiguration": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The IP configuration name."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "allOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ }
+ ],
+ "description": "Describes a virtual machine scale set network profile's IP configuration."
+ },
+ "VirtualMachineScaleSetUpdateIPConfiguration": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The IP configuration name."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualMachineScaleSetUpdateIPConfigurationProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ }
+ ],
+ "description": "Describes a virtual machine scale set network profile's IP configuration."
+ },
+ "VirtualMachineScaleSetNetworkConfigurationProperties": {
+ "properties": {
+ "primary": {
+ "type": "boolean",
+ "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface."
+ },
+ "enableAcceleratedNetworking": {
+ "type": "boolean",
+ "description": "Specifies whether the network interface is accelerated networking-enabled."
+ },
+ "networkSecurityGroup": {
+ "$ref": "#/definitions/SubResource",
+ "description": "The network security group."
+ },
+ "dnsSettings": {
+ "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings",
+ "description": "The dns settings to be applied on the network interfaces."
+ },
+ "ipConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration"
+ },
+ "description": "Specifies the IP configurations of the network interface."
+ },
+ "enableIPForwarding": {
+ "type": "boolean",
+ "description": "Whether IP forwarding enabled on this NIC."
+ }
+ },
+ "required": [
+ "ipConfigurations"
+ ],
+ "description": "Describes a virtual machine scale set network profile's IP configuration."
+ },
+ "VirtualMachineScaleSetUpdateNetworkConfigurationProperties": {
+ "properties": {
+ "primary": {
+ "type": "boolean",
+ "description": "Whether this is a primary NIC on a virtual machine."
+ },
+ "enableAcceleratedNetworking": {
+ "type": "boolean",
+ "description": "Specifies whether the network interface is accelerated networking-enabled."
+ },
+ "networkSecurityGroup": {
+ "$ref": "#/definitions/SubResource",
+ "description": "The network security group."
+ },
+ "dnsSettings": {
+ "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings",
+ "description": "The dns settings to be applied on the network interfaces."
+ },
+ "ipConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineScaleSetUpdateIPConfiguration"
+ },
+ "description": "The virtual machine scale set IP Configuration."
+ },
+ "enableIPForwarding": {
+ "type": "boolean",
+ "description": "Whether IP forwarding enabled on this NIC."
+ }
+ },
+ "description": "Describes a virtual machine scale set updatable network profile's IP configuration.Use this object for updating network profile's IP Configuration."
+ },
+ "VirtualMachineScaleSetNetworkConfiguration": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The network configuration name."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "allOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ }
+ ],
+ "description": "Describes a virtual machine scale set network profile's network configurations."
+ },
+ "VirtualMachineScaleSetUpdateNetworkConfiguration": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The network configuration name."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualMachineScaleSetUpdateNetworkConfigurationProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ }
+ ],
+ "description": "Describes a virtual machine scale set network profile's network configurations."
+ },
+ "VirtualMachineScaleSetNetworkConfigurationDnsSettings": {
+ "properties": {
+ "dnsServers": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "List of DNS servers IP addresses"
+ }
+ },
+ "description": "Describes a virtual machines scale sets network configuration's DNS settings."
+ },
+ "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": {
+ "properties": {
+ "domainNameLabel": {
+ "type": "string",
+ "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created"
+ }
+ },
+ "required": [
+ "domainNameLabel"
+ ],
+ "description": "Describes a virtual machines scale sets network configuration's DNS settings."
+ },
+ "VirtualMachineScaleSetIpTag": {
+ "properties": {
+ "ipTagType": {
+ "type": "string",
+ "description": "IP tag type. Example: FirstPartyUsage."
+ },
+ "tag": {
+ "type": "string",
+ "description": "IP tag associated with the public IP. Example: SQL, Storage etc."
+ }
+ },
+ "description": "Contains the IP tag associated with the public IP address."
+ },
+ "VirtualMachineScaleSetPublicIPAddressConfiguration": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The publicIP address configuration name."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration"
+ },
+ "VirtualMachineScaleSetUpdatePublicIPAddressConfiguration": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The publicIP address configuration name."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties"
+ }
+ },
+ "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration"
+ },
+ "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": {
+ "properties": {
+ "idleTimeoutInMinutes": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The idle timeout of the public IP address."
+ },
+ "dnsSettings": {
+ "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings",
+ "description": "The dns settings to be applied on the publicIP addresses ."
+ },
+ "ipTags": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineScaleSetIpTag"
+ },
+ "description": "The list of IP tags associated with the public IP address."
+ },
+ "publicIPPrefix": {
+ "$ref": "#/definitions/SubResource",
+ "description": "The PublicIPPrefix from which to allocate publicIP addresses."
+ },
+ "publicIPAddressVersion": {
+ "type": "string",
+ "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
+ "enum": [
+ "IPv4",
+ "IPv6"
+ ],
+ "x-ms-enum": {
+ "name": "IPVersion",
+ "modelAsString": true
+ }
+ }
+ },
+ "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration"
+ },
+ "VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties": {
+ "properties": {
+ "idleTimeoutInMinutes": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The idle timeout of the public IP address."
+ },
+ "dnsSettings": {
+ "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings",
+ "description": "The dns settings to be applied on the publicIP addresses ."
+ }
+ },
+ "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration"
+ },
+ "VirtualMachineScaleSetNetworkProfile": {
+ "properties": {
+ "healthProbe": {
+ "$ref": "#/definitions/ApiEntityReference",
+ "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'."
+ },
+ "networkInterfaceConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
+ },
+ "description": "The list of network configurations."
+ }
+ },
+ "description": "Describes a virtual machine scale set network profile."
+ },
+ "VirtualMachineScaleSetUpdateNetworkProfile": {
+ "properties": {
+ "healthProbe": {
+ "$ref": "#/definitions/ApiEntityReference",
+ "description": "A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'."
+ },
+ "networkInterfaceConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineScaleSetUpdateNetworkConfiguration"
+ },
+ "description": "The list of network configurations."
+ }
+ },
+ "description": "Describes a virtual machine scale set network profile."
+ },
+ "VirtualMachineScaleSetExtensionProperties": {
+ "properties": {
+ "forceUpdateTag": {
+ "type": "string",
+ "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The name of the extension handler publisher."
+ },
+ "type": {
+ "type": "string",
+ "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
+ },
+ "typeHandlerVersion": {
+ "type": "string",
+ "description": "Specifies the version of the script handler."
+ },
+ "autoUpgradeMinorVersion": {
+ "type": "boolean",
+ "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true."
+ },
+ "settings": {
+ "type": "object",
+ "description": "Json formatted public settings for the extension."
+ },
+ "protectedSettings": {
+ "type": "object",
+ "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The provisioning state, which only appears in the response."
+ },
+ "provisionAfterExtensions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Collection of extension names after which this extension needs to be provisioned."
+ }
+ },
+ "description": "Describes the properties of a Virtual Machine Scale Set Extension."
+ },
+ "VirtualMachineScaleSetExtension": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the extension."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/SubResourceReadOnly"
+ }
+ ],
+ "description": "Describes a Virtual Machine Scale Set Extension."
+ },
+ "VirtualMachineScaleSetExtensionListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineScaleSetExtension"
+ },
+ "description": "The list of VM scale set extensions."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of VM scale set extensions. Call ListNext() with this to fetch the next page of VM scale set extensions."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List VM scale set extension operation response."
+ },
+ "VirtualMachineScaleSetExtensionProfile": {
+ "properties": {
+ "extensions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineScaleSetExtension"
+ },
+ "description": "The virtual machine scale set child extension resources."
+ }
+ },
+ "description": "Describes a virtual machine scale set extension profile."
+ },
+ "VirtualMachineScaleSetVMProfile": {
+ "properties": {
+ "osProfile": {
+ "$ref": "#/definitions/VirtualMachineScaleSetOSProfile",
+ "description": "Specifies the operating system settings for the virtual machines in the scale set."
+ },
+ "storageProfile": {
+ "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile",
+ "description": "Specifies the storage settings for the virtual machine disks."
+ },
+ "networkProfile": {
+ "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile",
+ "description": "Specifies properties of the network interfaces of the virtual machines in the scale set."
+ },
+ "diagnosticsProfile": {
+ "$ref": "#/definitions/DiagnosticsProfile",
+ "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15."
+ },
+ "extensionProfile": {
+ "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile",
+ "description": "Specifies a collection of settings for extensions installed on virtual machines in the scale set."
+ },
+ "licenseType": {
+ "type": "string",
+ "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15"
+ },
+ "priority": {
+ "type": "string",
+ "description": "Specifies the priority for the virtual machines in the scale set.
Minimum api-version: 2017-10-30-preview",
+ "enum": [
+ "Regular",
+ "Low"
+ ],
+ "x-ms-enum": {
+ "name": "VirtualMachinePriorityTypes",
+ "modelAsString": true
+ }
+ },
+ "evictionPolicy": {
+ "type": "string",
+ "description": "Specifies the eviction policy for virtual machines in a low priority scale set.
Minimum api-version: 2017-10-30-preview",
+ "enum": [
+ "Deallocate",
+ "Delete"
+ ],
+ "x-ms-enum": {
+ "name": "VirtualMachineEvictionPolicyTypes",
+ "modelAsString": true
+ }
+ },
+ "billingProfile": {
+ "$ref": "#/definitions/BillingProfile",
+ "description": "Specifies the billing related details of a low priority VMSS.
Minimum api-version: 2019-03-01."
+ },
+ "scheduledEventsProfile": {
+ "$ref": "#/definitions/ScheduledEventsProfile",
+ "description": "Specifies Scheduled Event related configurations."
+ }
+ },
+ "description": "Describes a virtual machine scale set virtual machine profile."
+ },
+ "VirtualMachineScaleSetUpdateVMProfile": {
+ "properties": {
+ "osProfile": {
+ "$ref": "#/definitions/VirtualMachineScaleSetUpdateOSProfile",
+ "description": "The virtual machine scale set OS profile."
+ },
+ "storageProfile": {
+ "$ref": "#/definitions/VirtualMachineScaleSetUpdateStorageProfile",
+ "description": "The virtual machine scale set storage profile."
+ },
+ "networkProfile": {
+ "$ref": "#/definitions/VirtualMachineScaleSetUpdateNetworkProfile",
+ "description": "The virtual machine scale set network profile."
+ },
+ "diagnosticsProfile": {
+ "$ref": "#/definitions/DiagnosticsProfile",
+ "description": "The virtual machine scale set diagnostics profile."
+ },
+ "extensionProfile": {
+ "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile",
+ "description": "The virtual machine scale set extension profile."
+ },
+ "licenseType": {
+ "type": "string",
+ "description": "The license type, which is for bring your own license scenario."
+ },
+ "billingProfile": {
+ "$ref": "#/definitions/BillingProfile",
+ "description": "Specifies the billing related details of a low priority VMSS.
Minimum api-version: 2019-03-01."
+ },
+ "scheduledEventsProfile": {
+ "$ref": "#/definitions/ScheduledEventsProfile",
+ "description": "Specifies Scheduled Event related configurations."
+ }
+ },
+ "description": "Describes a virtual machine scale set virtual machine profile."
+ },
+ "VirtualMachineScaleSetProperties": {
+ "properties": {
+ "upgradePolicy": {
+ "$ref": "#/definitions/UpgradePolicy",
+ "description": "The upgrade policy."
+ },
+ "automaticRepairsPolicy": {
+ "$ref": "#/definitions/AutomaticRepairsPolicy",
+ "description": "Policy for automatic repairs."
+ },
+ "virtualMachineProfile": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMProfile",
+ "description": "The virtual machine profile."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The provisioning state, which only appears in the response."
+ },
+ "overprovision": {
+ "type": "boolean",
+ "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned."
+ },
+ "doNotRunExtensionsOnOverprovisionedVMs": {
+ "type": "boolean",
+ "description": "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs."
+ },
+ "uniqueId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the ID which uniquely identifies a Virtual Machine Scale Set."
+ },
+ "singlePlacementGroup": {
+ "type": "boolean",
+ "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines."
+ },
+ "zoneBalance": {
+ "type": "boolean",
+ "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage."
+ },
+ "platformFaultDomainCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Fault Domain count for each placement group."
+ },
+ "proximityPlacementGroup": {
+ "$ref": "#/definitions/SubResource",
+ "description": "Specifies information about the proximity placement group that the virtual machine scale set should be assigned to.
Minimum api-version: 2018-04-01."
+ },
+ "additionalCapabilities": {
+ "$ref": "#/definitions/AdditionalCapabilities",
+ "description": "Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type."
+ },
+ "scaleInPolicy": {
+ "$ref": "#/definitions/ScaleInPolicy",
+ "description": "Specifies the scale-in policy that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in."
+ }
+ },
+ "description": "Describes the properties of a Virtual Machine Scale Set."
+ },
+ "VirtualMachineScaleSetUpdateProperties": {
+ "properties": {
+ "upgradePolicy": {
+ "$ref": "#/definitions/UpgradePolicy",
+ "description": "The upgrade policy."
+ },
+ "automaticRepairsPolicy": {
+ "$ref": "#/definitions/AutomaticRepairsPolicy",
+ "description": "Policy for automatic repairs."
+ },
+ "virtualMachineProfile": {
+ "$ref": "#/definitions/VirtualMachineScaleSetUpdateVMProfile",
+ "description": "The virtual machine profile."
+ },
+ "overprovision": {
+ "type": "boolean",
+ "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned."
+ },
+ "doNotRunExtensionsOnOverprovisionedVMs": {
+ "type": "boolean",
+ "description": "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs."
+ },
+ "singlePlacementGroup": {
+ "type": "boolean",
+ "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines."
+ },
+ "additionalCapabilities": {
+ "$ref": "#/definitions/AdditionalCapabilities",
+ "description": "Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type."
+ },
+ "scaleInPolicy": {
+ "$ref": "#/definitions/ScaleInPolicy",
+ "description": "Specifies the scale-in policy that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in."
+ }
+ },
+ "description": "Describes the properties of a Virtual Machine Scale Set."
+ },
+ "VirtualMachineScaleSet": {
+ "properties": {
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "The virtual machine scale set sku."
+ },
+ "plan": {
+ "$ref": "#/definitions/Plan",
+ "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualMachineScaleSetProperties"
+ },
+ "identity": {
+ "$ref": "#/definitions/VirtualMachineScaleSetIdentity",
+ "description": "The identity of the virtual machine scale set, if configured."
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The virtual machine scale set zones."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Describes a Virtual Machine Scale Set."
+ },
+ "VirtualMachineScaleSetVMReimageParameters": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineReimageParameters"
+ }
+ ],
+ "description": "Describes a Virtual Machine Scale Set VM Reimage Parameters."
+ },
+ "VirtualMachineScaleSetReimageParameters": {
+ "properties": {
+ "instanceIds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the operation being performed on all virtual machines in the virtual machine scale set."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMReimageParameters"
+ }
+ ],
+ "description": "Describes a Virtual Machine Scale Set VM Reimage Parameters."
+ },
+ "VirtualMachineScaleSetUpdate": {
+ "properties": {
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "The virtual machine scale set sku."
+ },
+ "plan": {
+ "$ref": "#/definitions/Plan",
+ "description": "The purchase plan when deploying a virtual machine scale set from VM Marketplace images."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualMachineScaleSetUpdateProperties"
+ },
+ "identity": {
+ "$ref": "#/definitions/VirtualMachineScaleSetIdentity",
+ "description": "The identity of the virtual machine scale set, if configured."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "description": "Describes a Virtual Machine Scale Set."
+ },
+ "VirtualMachineScaleSetVMInstanceIDs": {
+ "properties": {
+ "instanceIds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the operation being performed on all virtual machines in the virtual machine scale set."
+ }
+ },
+ "description": "Specifies a list of virtual machine instance IDs from the VM scale set."
+ },
+ "VirtualMachineScaleSetVMInstanceRequiredIDs": {
+ "properties": {
+ "instanceIds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The virtual machine scale set instance ids."
+ }
+ },
+ "required": [
+ "instanceIds"
+ ],
+ "description": "Specifies a list of virtual machine instance IDs from the VM scale set."
+ },
+ "VirtualMachineStatusCodeCount": {
+ "properties": {
+ "code": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The instance view status code."
+ },
+ "count": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of instances having a particular status code."
+ }
+ },
+ "description": "The status code and count of the virtual machine scale set instance view status summary."
+ },
+ "VirtualMachineScaleSetInstanceViewStatusesSummary": {
+ "properties": {
+ "statusesSummary": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineStatusCodeCount"
+ },
+ "description": "The extensions information."
+ }
+ },
+ "description": "Instance view statuses summary for virtual machines of a virtual machine scale set."
+ },
+ "VirtualMachineScaleSetVMExtensionsSummary": {
+ "properties": {
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The extension name."
+ },
+ "statusesSummary": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineStatusCodeCount"
+ },
+ "description": "The extensions information."
+ }
+ },
+ "description": "Extensions summary for virtual machines of a virtual machine scale set."
+ },
+ "VirtualMachineScaleSetInstanceView": {
+ "properties": {
+ "virtualMachine": {
+ "$ref": "#/definitions/VirtualMachineScaleSetInstanceViewStatusesSummary",
+ "readOnly": true,
+ "description": "The instance view status summary for the virtual machine scale set."
+ },
+ "extensions": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMExtensionsSummary"
+ },
+ "description": "The extensions information."
+ },
+ "statuses": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InstanceViewStatus"
+ },
+ "description": "The resource status information."
+ }
+ },
+ "description": "The instance view of a virtual machine scale set."
+ },
+ "VirtualMachineScaleSetListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineScaleSet"
+ },
+ "description": "The list of virtual machine scale sets."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of VMSS."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Virtual Machine operation response."
+ },
+ "VirtualMachineScaleSetListWithLinkResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineScaleSet"
+ },
+ "description": "The list of virtual machine scale sets."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of Virtual Machine Scale Sets."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Virtual Machine operation response."
+ },
+ "VirtualMachineScaleSetSkuCapacity": {
+ "properties": {
+ "minimum": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int64",
+ "description": "The minimum capacity."
+ },
+ "maximum": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int64",
+ "description": "The maximum capacity that can be set."
+ },
+ "defaultCapacity": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int64",
+ "description": "The default capacity."
+ },
+ "scaleType": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The scale type applicable to the sku.",
+ "enum": [
+ "Automatic",
+ "None"
+ ],
+ "x-ms-enum": {
+ "name": "VirtualMachineScaleSetSkuScaleType",
+ "modelAsString": false
+ }
+ }
+ },
+ "description": "Describes scaling information of a sku."
+ },
+ "VirtualMachineScaleSetSku": {
+ "properties": {
+ "resourceType": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The type of resource the sku applies to."
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "readOnly": true,
+ "description": "The Sku."
+ },
+ "capacity": {
+ "$ref": "#/definitions/VirtualMachineScaleSetSkuCapacity",
+ "readOnly": true,
+ "description": "Specifies the number of virtual machines in the scale set."
+ }
+ },
+ "description": "Describes an available virtual machine scale set sku."
+ },
+ "VirtualMachineScaleSetListSkusResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineScaleSetSku"
+ },
+ "description": "The list of skus available for the virtual machine scale set."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of Virtual Machine Scale Set Skus. Call ListNext() with this to fetch the next page of VMSS Skus."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The Virtual Machine Scale Set List Skus operation response."
+ },
+ "RollbackStatusInfo": {
+ "properties": {
+ "successfullyRolledbackInstanceCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of instances which have been successfully rolled back."
+ },
+ "failedRolledbackInstanceCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of instances which failed to rollback."
+ },
+ "rollbackError": {
+ "$ref": "#/definitions/ApiError",
+ "readOnly": true,
+ "description": "Error details if OS rollback failed."
+ }
+ },
+ "description": "Information about rollback on failed VM instances after a OS Upgrade operation."
+ },
+ "UpgradeOperationHistoryStatus": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Code indicating the current status of the upgrade.",
+ "enum": [
+ "RollingForward",
+ "Cancelled",
+ "Completed",
+ "Faulted"
+ ],
+ "x-ms-enum": {
+ "name": "UpgradeState",
+ "modelAsString": false
+ }
+ },
+ "startTime": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "Start time of the upgrade."
+ },
+ "endTime": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "End time of the upgrade."
+ }
+ },
+ "description": "Information about the current running state of the overall upgrade."
+ },
+ "UpgradeOperationHistoricalStatusInfoProperties": {
+ "properties": {
+ "runningStatus": {
+ "$ref": "#/definitions/UpgradeOperationHistoryStatus",
+ "readOnly": true,
+ "description": "Information about the overall status of the upgrade operation."
+ },
+ "progress": {
+ "$ref": "#/definitions/RollingUpgradeProgressInfo",
+ "readOnly": true,
+ "description": "Counts of the VMs in each state."
+ },
+ "error": {
+ "$ref": "#/definitions/ApiError",
+ "readOnly": true,
+ "description": "Error Details for this upgrade if there are any."
+ },
+ "startedBy": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Invoker of the Upgrade Operation",
+ "enum": [
+ "Unknown",
+ "User",
+ "Platform"
+ ],
+ "x-ms-enum": {
+ "name": "UpgradeOperationInvoker",
+ "modelAsString": false
+ }
+ },
+ "targetImageReference": {
+ "$ref": "#/definitions/ImageReference",
+ "readOnly": true,
+ "description": "Image Reference details"
+ },
+ "rollbackInfo": {
+ "$ref": "#/definitions/RollbackStatusInfo",
+ "readOnly": true,
+ "description": "Information about OS rollback if performed"
+ }
+ },
+ "description": "Describes each OS upgrade on the Virtual Machine Scale Set."
+ },
+ "UpgradeOperationHistoricalStatusInfo": {
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/UpgradeOperationHistoricalStatusInfoProperties",
+ "readOnly": true,
+ "description": "Information about the properties of the upgrade operation."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type"
+ },
+ "location": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource location"
+ }
+ },
+ "description": "Virtual Machine Scale Set OS Upgrade History operation response."
+ },
+ "VirtualMachineScaleSetListOSUpgradeHistory": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/UpgradeOperationHistoricalStatusInfo"
+ },
+ "description": "The list of OS upgrades performed on the virtual machine scale set."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of OS Upgrade History. Call ListNext() with this to fetch the next page of history of upgrades."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "List of Virtual Machine Scale Set OS Upgrade History operation response."
+ },
+ "VirtualMachineScaleSetVMProperties": {
+ "properties": {
+ "latestModelApplied": {
+ "readOnly": true,
+ "type": "boolean",
+ "description": "Specifies whether the latest model has been applied to the virtual machine."
+ },
+ "vmId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Azure VM unique ID."
+ },
+ "instanceView": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMInstanceView",
+ "readOnly": true,
+ "description": "The virtual machine instance view."
+ },
+ "hardwareProfile": {
+ "$ref": "#/definitions/HardwareProfile",
+ "description": "Specifies the hardware settings for the virtual machine."
+ },
+ "storageProfile": {
+ "$ref": "#/definitions/StorageProfile",
+ "description": "Specifies the storage settings for the virtual machine disks."
+ },
+ "additionalCapabilities": {
+ "$ref": "#/definitions/AdditionalCapabilities",
+ "description": "Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type."
+ },
+ "osProfile": {
+ "$ref": "#/definitions/OSProfile",
+ "description": "Specifies the operating system settings for the virtual machine."
+ },
+ "networkProfile": {
+ "$ref": "#/definitions/NetworkProfile",
+ "description": "Specifies the network interfaces of the virtual machine."
+ },
+ "networkProfileConfiguration": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMNetworkProfileConfiguration",
+ "description": "Specifies the network profile configuration of the virtual machine."
+ },
+ "diagnosticsProfile": {
+ "$ref": "#/definitions/DiagnosticsProfile",
+ "description": "Specifies the boot diagnostic settings state.
Minimum api-version: 2015-06-15."
+ },
+ "availabilitySet": {
+ "$ref": "#/definitions/SubResource",
+ "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The provisioning state, which only appears in the response."
+ },
+ "licenseType": {
+ "type": "string",
+ "description": "Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system.
Possible values are:
Windows_Client
Windows_Server
If this element is included in a request for an update, the value must match the initial value. This value cannot be updated.
For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15"
+ },
+ "modelDefinitionApplied": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies whether the model applied to the virtual machine is the model of the virtual machine scale set or the customized model for the virtual machine."
+ },
+ "protectionPolicy": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVMProtectionPolicy",
+ "description": "Specifies the protection policy of the virtual machine."
+ }
+ },
+ "description": "Describes the properties of a virtual machine scale set virtual machine."
+ },
+ "VirtualMachineScaleSetVM": {
+ "properties": {
+ "instanceId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The virtual machine instance ID."
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "readOnly": true,
+ "description": "The virtual machine SKU."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualMachineScaleSetVMProperties"
+ },
+ "plan": {
+ "$ref": "#/definitions/Plan",
+ "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**."
+ },
+ "resources": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineExtension"
+ },
+ "description": "The virtual machine child extension resources."
+ },
+ "zones": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The virtual machine zones."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Describes a virtual machine scale set virtual machine."
+ },
+ "VirtualMachineScaleSetVMInstanceView": {
+ "properties": {
+ "platformUpdateDomain": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The Update Domain count."
+ },
+ "platformFaultDomain": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The Fault Domain count."
+ },
+ "rdpThumbPrint": {
+ "type": "string",
+ "description": "The Remote desktop certificate thumbprint."
+ },
+ "vmAgent": {
+ "$ref": "#/definitions/VirtualMachineAgentInstanceView",
+ "description": "The VM Agent running on the virtual machine."
+ },
+ "maintenanceRedeployStatus": {
+ "$ref": "#/definitions/MaintenanceRedeployStatus",
+ "description": "The Maintenance Operation status on the virtual machine."
+ },
+ "disks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiskInstanceView"
+ },
+ "description": "The disks information."
+ },
+ "extensions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineExtensionInstanceView"
+ },
+ "description": "The extensions information."
+ },
+ "vmHealth": {
+ "readOnly": true,
+ "$ref": "#/definitions/VirtualMachineHealthStatus",
+ "description": "The health status for the VM."
+ },
+ "bootDiagnostics": {
+ "$ref": "#/definitions/BootDiagnosticsInstanceView",
+ "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.
You can easily view the output of your console log.
Azure also enables you to see a screenshot of the VM from the hypervisor."
+ },
+ "statuses": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InstanceViewStatus"
+ },
+ "description": "The resource status information."
+ },
+ "placementGroupId": {
+ "type": "string",
+ "description": "The placement group in which the VM is running. If the VM is deallocated it will not have a placementGroupId."
+ }
+ },
+ "description": "The instance view of a virtual machine scale set VM."
+ },
+ "VirtualMachineScaleSetVMNetworkProfileConfiguration": {
+ "properties": {
+ "networkInterfaceConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration"
+ },
+ "description": "The list of network configurations."
+ }
+ },
+ "description": "Describes a virtual machine scale set VM network profile."
+ },
+ "VirtualMachineScaleSetVMProtectionPolicy": {
+ "properties": {
+ "protectFromScaleIn": {
+ "type": "boolean",
+ "description": "Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation."
+ },
+ "protectFromScaleSetActions": {
+ "type": "boolean",
+ "description": "Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM."
+ }
+ },
+ "description": "The protection policy of a virtual machine scale set VM."
+ },
+ "ScheduledEventsProfile": {
+ "type": "object",
+ "properties": {
+ "terminateNotificationProfile": {
+ "$ref": "#/definitions/TerminateNotificationProfile",
+ "description": "Specifies Terminate Scheduled Event related configurations."
+ }
+ }
+ },
+ "TerminateNotificationProfile": {
+ "type": "object",
+ "properties": {
+ "notBeforeTimeout": {
+ "type": "string",
+ "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)"
+ },
+ "enable": {
+ "type": "boolean",
+ "description": "Specifies whether the Terminate Scheduled event is enabled or disabled."
+ }
+ }
+ },
+ "VirtualMachineHealthStatus": {
+ "properties": {
+ "status": {
+ "readOnly": true,
+ "$ref": "#/definitions/InstanceViewStatus",
+ "description": "The health status information for the VM."
+ }
+ },
+ "description": "The health status of the VM."
+ },
+ "VirtualMachineScaleSetVMListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineScaleSetVM"
+ },
+ "description": "The list of virtual machine scale sets VMs."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of Virtual Machine Scale Set VMs. Call ListNext() with this to fetch the next page of VMSS VMs"
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Virtual Machine Scale Set VMs operation response."
+ },
+ "RollingUpgradeStatusInfo": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/RollingUpgradeStatusInfoProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "The status of the latest virtual machine scale set rolling upgrade."
+ },
+ "RollingUpgradeStatusInfoProperties": {
+ "properties": {
+ "policy": {
+ "readOnly": true,
+ "$ref": "#/definitions/RollingUpgradePolicy",
+ "description": "The rolling upgrade policies applied for this upgrade."
+ },
+ "runningStatus": {
+ "readOnly": true,
+ "$ref": "#/definitions/RollingUpgradeRunningStatus",
+ "description": "Information about the current running state of the overall upgrade."
+ },
+ "progress": {
+ "readOnly": true,
+ "$ref": "#/definitions/RollingUpgradeProgressInfo",
+ "description": "Information about the number of virtual machine instances in each upgrade state."
+ },
+ "error": {
+ "readOnly": true,
+ "$ref": "#/definitions/ApiError",
+ "description": "Error details for this upgrade, if there are any."
+ }
+ },
+ "description": "The status of the latest virtual machine scale set rolling upgrade."
+ },
+ "RollingUpgradeRunningStatus": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Code indicating the current status of the upgrade.",
+ "enum": [
+ "RollingForward",
+ "Cancelled",
+ "Completed",
+ "Faulted"
+ ],
+ "x-ms-enum": {
+ "name": "RollingUpgradeStatusCode",
+ "modelAsString": false
+ }
+ },
+ "startTime": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "Start time of the upgrade."
+ },
+ "lastAction": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The last action performed on the rolling upgrade.",
+ "enum": [
+ "Start",
+ "Cancel"
+ ],
+ "x-ms-enum": {
+ "name": "RollingUpgradeActionType",
+ "modelAsString": false
+ }
+ },
+ "lastActionTime": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "Last action time of the upgrade."
+ }
+ },
+ "description": "Information about the current running state of the overall upgrade."
+ },
+ "RollingUpgradeProgressInfo": {
+ "properties": {
+ "successfulInstanceCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of instances that have been successfully upgraded."
+ },
+ "failedInstanceCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of instances that have failed to be upgraded successfully."
+ },
+ "inProgressInstanceCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of instances that are currently being upgraded."
+ },
+ "pendingInstanceCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of instances that have not yet begun to be upgraded."
+ }
+ },
+ "description": "Information about the number of virtual machine instances in each upgrade state."
+ },
+ "ApiErrorBase": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "The error code."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error."
+ },
+ "message": {
+ "type": "string",
+ "description": "The error message."
+ }
+ },
+ "description": "Api error base."
+ },
+ "InnerError": {
+ "properties": {
+ "exceptiontype": {
+ "type": "string",
+ "description": "The exception type."
+ },
+ "errordetail": {
+ "type": "string",
+ "description": "The internal error message or exception dump."
+ }
+ },
+ "description": "Inner error details."
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/ApiError"
+ }
+ },
+ "description": "An error response from the Compute service."
+ },
+ "ApiError": {
+ "properties": {
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApiErrorBase"
+ },
+ "description": "The Api error details"
+ },
+ "innererror": {
+ "$ref": "#/definitions/InnerError",
+ "description": "The Api inner error"
+ },
+ "code": {
+ "type": "string",
+ "description": "The error code."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error."
+ },
+ "message": {
+ "type": "string",
+ "description": "The error message."
+ }
+ },
+ "description": "Api error."
+ },
+ "Resource": {
+ "description": "The Resource model definition.",
+ "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-azure-resource": true
+ },
+ "UpdateResource": {
+ "description": "The Update Resource model definition.",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "SubResource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Resource Id"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "SubResourceReadOnly": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource Id"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "RecoveryWalkResponse": {
+ "properties": {
+ "walkPerformed": {
+ "type": "boolean",
+ "readOnly": true,
+ "description": "Whether the recovery walk was performed"
+ },
+ "nextPlatformUpdateDomain": {
+ "type": "integer",
+ "readOnly": true,
+ "description": "The next update domain that needs to be walked. Null means walk spanning all update domains has been completed"
+ }
+ },
+ "description": "Response after calling a manual recovery walk"
+ },
+ "RequestRateByIntervalInput": {
+ "properties": {
+ "intervalLength": {
+ "type": "string",
+ "description": "Interval value in minutes used to create LogAnalytics call rate logs.",
+ "enum": [
+ "ThreeMins",
+ "FiveMins",
+ "ThirtyMins",
+ "SixtyMins"
+ ],
+ "x-ms-enum": {
+ "name": "IntervalInMins",
+ "modelAsString": false
+ }
+ }
+ },
+ "required": [
+ "intervalLength"
+ ],
+ "allOf": [
+ {
+ "$ref": "#/definitions/LogAnalyticsInputBase"
+ }
+ ],
+ "description": "Api request input for LogAnalytics getRequestRateByInterval Api."
+ },
+ "ThrottledRequestsInput": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/LogAnalyticsInputBase"
+ }
+ ],
+ "description": "Api request input for LogAnalytics getThrottledRequests Api."
+ },
+ "LogAnalyticsInputBase": {
+ "properties": {
+ "blobContainerSasUri": {
+ "type": "string",
+ "description": "SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to."
+ },
+ "fromTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "From time of the query"
+ },
+ "toTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "To time of the query"
+ },
+ "groupByThrottlePolicy": {
+ "type": "boolean",
+ "description": "Group query result by Throttle Policy applied."
+ },
+ "groupByOperationName": {
+ "type": "boolean",
+ "description": "Group query result by Operation Name."
+ },
+ "groupByResourceName": {
+ "type": "boolean",
+ "description": "Group query result by Resource Name."
+ }
+ },
+ "required": [
+ "blobContainerSasUri",
+ "fromTime",
+ "toTime"
+ ],
+ "description": "Api input base class for LogAnalytics Api."
+ },
+ "LogAnalyticsOperationResult": {
+ "properties": {
+ "properties": {
+ "readOnly": true,
+ "$ref": "#/definitions/LogAnalyticsOutput",
+ "description": "LogAnalyticsOutput"
+ }
+ },
+ "description": "LogAnalytics operation status response"
+ },
+ "LogAnalyticsOutput": {
+ "properties": {
+ "output": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Output file Uri path to blob container."
+ }
+ },
+ "description": "LogAnalytics output properties"
+ },
+ "VMScaleSetConvertToSinglePlacementGroupInput": {
+ "properties": {
+ "activePlacementGroupId": {
+ "type": "string",
+ "description": "Id of the placement group in which you want future virtual machine instances to be placed. To query placement group Id, please use Virtual Machine Scale Set VMs - Get API. If not provided, the platform will choose one with maximum number of virtual machine instances."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "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."
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json
new file mode 100644
index 000000000000..cdf9b4c52e82
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json
@@ -0,0 +1,1945 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "DiskResourceProviderClient",
+ "description": "The Disk Resource Provider Client.",
+ "version": "2019-07-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}": {
+ "put": {
+ "tags": [
+ "Disks"
+ ],
+ "operationId": "Disks_CreateOrUpdate",
+ "description": "Creates or updates a disk.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiskNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "disk",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ },
+ "description": "Disk object supplied in the body of the Put disk operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create an empty managed disk.": {
+ "$ref": "./examples/CreateAnEmptyManagedDisk.json"
+ },
+ "Create a managed disk from a platform image.": {
+ "$ref": "./examples/CreateAManagedDiskFromAPlatformImage.json"
+ },
+ "Create a managed disk from an existing managed disk in the same or different subscription.": {
+ "$ref": "./examples/CreateAManagedDiskFromAnExistingManagedDisk.json"
+ },
+ "Create a managed disk by importing an unmanaged blob from the same subscription.": {
+ "$ref": "./examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscription.json"
+ },
+ "Create a managed disk by importing an unmanaged blob from a different subscription.": {
+ "$ref": "./examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscription.json"
+ },
+ "Create a managed disk by copying a snapshot.": {
+ "$ref": "./examples/CreateAManagedDiskByCopyingASnapshot.json"
+ },
+ "Create a managed upload disk.": {
+ "$ref": "./examples/CreateAManagedUploadDisk.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Disks"
+ ],
+ "operationId": "Disks_Update",
+ "description": "Updates (patches) a disk.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiskNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "disk",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DiskUpdate"
+ },
+ "description": "Disk object supplied in the body of the Patch disk operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "get": {
+ "tags": [
+ "Disks"
+ ],
+ "operationId": "Disks_Get",
+ "description": "Gets information about a disk.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiskNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get information about a managed disk.": {
+ "$ref": "./examples/GetInformationAboutAManagedDisk.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Disks"
+ ],
+ "operationId": "Disks_Delete",
+ "description": "Deletes a disk.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiskNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "If the disk is deleted, this is an expected error code."
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks": {
+ "get": {
+ "tags": [
+ "Disks"
+ ],
+ "operationId": "Disks_ListByResourceGroup",
+ "description": "Lists all the disks under a resource group.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DiskList"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all managed disks in a resource group.": {
+ "$ref": "./examples/ListManagedDisksInAResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks": {
+ "get": {
+ "tags": [
+ "Disks"
+ ],
+ "operationId": "Disks_List",
+ "description": "Lists all the disks under a subscription.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DiskList"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all managed disks in a subscription.": {
+ "$ref": "./examples/ListManagedDisksInASubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/beginGetAccess": {
+ "post": {
+ "tags": [
+ "Disks"
+ ],
+ "operationId": "Disks_GrantAccess",
+ "description": "Grants access to a disk.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiskNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "grantAccessData",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GrantAccessData"
+ },
+ "description": "Access data object supplied in the body of the get disk access operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AccessUri"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/endGetAccess": {
+ "post": {
+ "tags": [
+ "Disks"
+ ],
+ "operationId": "Disks_RevokeAccess",
+ "description": "Revokes access to a disk.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiskNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}": {
+ "put": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_CreateOrUpdate",
+ "description": "Creates or updates a snapshot.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SnapshotNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "snapshot",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Snapshot"
+ },
+ "description": "Snapshot object supplied in the body of the Put disk operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Snapshot"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/Snapshot"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create a snapshot from an existing snapshot in the same or a different subscription.": {
+ "$ref": "./examples/CreateASnapshotFromAnExistingSnapshot.json"
+ },
+ "Create a snapshot by importing an unmanaged blob from the same subscription.": {
+ "$ref": "./examples/CreateASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription.json"
+ },
+ "Create a snapshot by importing an unmanaged blob from a different subscription.": {
+ "$ref": "./examples/CreateASnapshotByImportingAnUnmanagedBlobFromADifferentSubscription.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Update",
+ "description": "Updates (patches) a snapshot.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SnapshotNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "snapshot",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SnapshotUpdate"
+ },
+ "description": "Snapshot object supplied in the body of the Patch snapshot operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Snapshot"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/Snapshot"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "get": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Get",
+ "description": "Gets information about a snapshot.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SnapshotNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Snapshot"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get information about a snapshot.": {
+ "$ref": "./examples/GetInformationAboutASnapshot.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Delete",
+ "description": "Deletes a snapshot.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SnapshotNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "If the snapshot is deleted, this is an expected error code."
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots": {
+ "get": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_ListByResourceGroup",
+ "description": "Lists snapshots under a resource group.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SnapshotList"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all snapshots in a resource group.": {
+ "$ref": "./examples/ListSnapshotsInAResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots": {
+ "get": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_List",
+ "description": "Lists snapshots under a subscription.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SnapshotList"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all snapshots in a subscription.": {
+ "$ref": "./examples/ListSnapshotsInASubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/beginGetAccess": {
+ "post": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_GrantAccess",
+ "description": "Grants access to a snapshot.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SnapshotNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "grantAccessData",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GrantAccessData"
+ },
+ "description": "Access data object supplied in the body of the get snapshot access operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AccessUri"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/endGetAccess": {
+ "post": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_RevokeAccess",
+ "description": "Revokes access to a snapshot.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SnapshotNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}": {
+ "put": {
+ "tags": [
+ "DiskEncryptionSets"
+ ],
+ "operationId": "DiskEncryptionSets_CreateOrUpdate",
+ "description": "Creates or updates a disk encryption set",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiskEncryptionSetNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "diskEncryptionSet",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DiskEncryptionSet"
+ },
+ "description": "disk encryption set object supplied in the body of the Put disk encryption set operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DiskEncryptionSet"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/DiskEncryptionSet"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create a disk encryption set.": {
+ "$ref": "./examples/CreateADiskEncryptionSet.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "DiskEncryptionSets"
+ ],
+ "operationId": "DiskEncryptionSets_Update",
+ "description": "Updates (patches) a disk encryption set.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiskEncryptionSetNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "diskEncryptionSet",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DiskEncryptionSetUpdate"
+ },
+ "description": "disk encryption set object supplied in the body of the Patch disk encryption set operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DiskEncryptionSet"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/DiskEncryptionSet"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update a disk encryption set.": {
+ "$ref": "./examples/UpdateADiskEncryptionSet.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "get": {
+ "tags": [
+ "DiskEncryptionSets"
+ ],
+ "operationId": "DiskEncryptionSets_Get",
+ "description": "Gets information about a disk encryption set.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiskEncryptionSetNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DiskEncryptionSet"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get information about a disk encryption set.": {
+ "$ref": "./examples/GetInformationAboutADiskEncryptionSet.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "DiskEncryptionSets"
+ ],
+ "operationId": "DiskEncryptionSets_Delete",
+ "description": "Deletes a disk encryption set.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiskEncryptionSetNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "If the disk encryption set is already deleted, this is an expected error code."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete a disk encryption set.": {
+ "$ref": "./examples/DeleteADiskEncryptionSet.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets": {
+ "get": {
+ "tags": [
+ "DiskEncryptionSets"
+ ],
+ "operationId": "DiskEncryptionSets_ListByResourceGroup",
+ "description": "Lists all the disk encryption sets under a resource group.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DiskEncryptionSetList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all disk encryption sets in a resource group.": {
+ "$ref": "./examples/ListDiskEncryptionSetsInAResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskEncryptionSets": {
+ "get": {
+ "tags": [
+ "DiskEncryptionSets"
+ ],
+ "operationId": "DiskEncryptionSets_List",
+ "description": "Lists all the disk encryption sets under a subscription.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DiskEncryptionSetList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all disk encryption sets in a subscription.": {
+ "$ref": "./examples/ListDiskEncryptionSetsInASubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Resource": {
+ "description": "The Resource model definition.",
+ "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-azure-resource": true
+ },
+ "Disk": {
+ "properties": {
+ "managedBy": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A relative URI containing the ID of the VM that has the disk attached."
+ },
+ "sku": {
+ "$ref": "#/definitions/DiskSku"
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The Logical zone list for Disk."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DiskProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Disk resource."
+ },
+ "DiskUpdate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DiskUpdateProperties"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ },
+ "sku": {
+ "$ref": "#/definitions/DiskSku"
+ }
+ },
+ "description": "Disk update resource."
+ },
+ "DiskList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Disk"
+ },
+ "description": "A list of disks."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of disks. Call ListNext() with this to fetch the next page of disks."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Disks operation response."
+ },
+ "DiskSku": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "enum": [
+ "Standard_LRS",
+ "Premium_LRS",
+ "StandardSSD_LRS",
+ "UltraSSD_LRS"
+ ],
+ "x-ms-enum": {
+ "name": "DiskStorageAccountTypes",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard_LRS",
+ "description": "Standard HDD locally redundant storage. Best for backup, non-critical, and infrequent access."
+ },
+ {
+ "value": "Premium_LRS",
+ "description": "Premium SSD locally redundant storage. Best for production and performance sensitive workloads."
+ },
+ {
+ "value": "StandardSSD_LRS",
+ "description": "Standard SSD locally redundant storage. Best for web servers, lightly used enterprise applications and dev/test."
+ },
+ {
+ "value": "UltraSSD_LRS",
+ "description": "Ultra SSD locally redundant storage. Best for IO-intensive workloads such as SAP HANA, top tier databases (for example, SQL, Oracle), and other transaction-heavy workloads."
+ }
+ ]
+ },
+ "description": "The sku name."
+ },
+ "tier": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The sku tier."
+ }
+ },
+ "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS."
+ },
+ "SnapshotSku": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "enum": [
+ "Standard_LRS",
+ "Premium_LRS",
+ "Standard_ZRS"
+ ],
+ "x-ms-enum": {
+ "name": "SnapshotStorageAccountTypes",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard_LRS",
+ "description": "Standard HDD locally redundant storage"
+ },
+ {
+ "value": "Premium_LRS",
+ "description": "Premium SSD locally redundant storage"
+ },
+ {
+ "value": "Standard_ZRS",
+ "description": "Standard zone redundant storage"
+ }
+ ]
+ },
+ "description": "The sku name."
+ },
+ "tier": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The sku tier."
+ }
+ },
+ "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS."
+ },
+ "DiskProperties": {
+ "properties": {
+ "timeCreated": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The time when the disk was created."
+ },
+ "osType": {
+ "type": "string",
+ "description": "The Operating System type.",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
+ }
+ },
+ "hyperVGeneration": {
+ "type": "string",
+ "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
+ "enum": [
+ "V1",
+ "V2"
+ ],
+ "x-ms-enum": {
+ "name": "HyperVGeneration",
+ "modelAsString": true
+ }
+ },
+ "creationData": {
+ "$ref": "#/definitions/CreationData",
+ "description": "Disk source information. CreationData information cannot be changed after the disk has been created."
+ },
+ "diskSizeGB": {
+ "type": "integer",
+ "format": "int32",
+ "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size."
+ },
+ "diskSizeBytes": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "The size of the disk in bytes. This field is read only."
+ },
+ "uniqueId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Unique Guid identifying the resource."
+ },
+ "encryptionSettingsCollection": {
+ "$ref": "#/definitions/EncryptionSettingsCollection",
+ "description": "Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The disk provisioning state."
+ },
+ "diskIOPSReadWrite": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes."
+ },
+ "diskMBpsReadWrite": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10."
+ },
+ "diskState": {
+ "type": "string",
+ "description": "The state of the disk.",
+ "readOnly": true,
+ "enum": [
+ "Unattached",
+ "Attached",
+ "Reserved",
+ "ActiveSAS",
+ "ReadyToUpload",
+ "ActiveUpload"
+ ],
+ "x-ms-enum": {
+ "name": "DiskState",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Unattached",
+ "description": "The disk is not being used and can be attached to a VM."
+ },
+ {
+ "value": "Attached",
+ "description": "The disk is currently mounted to a running VM."
+ },
+ {
+ "value": "Reserved",
+ "description": "The disk is mounted to a stopped-deallocated VM"
+ },
+ {
+ "value": "ActiveSAS",
+ "description": "The disk currently has an Active SAS Uri associated with it."
+ },
+ {
+ "value": "ReadyToUpload",
+ "description": "A disk is ready to be created by upload by requesting a write token."
+ },
+ {
+ "value": "ActiveUpload",
+ "description": "A disk is created for upload and a write token has been issued for uploading to it."
+ }
+ ]
+ }
+ },
+ "encryption": {
+ "$ref": "#/definitions/Encryption",
+ "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys."
+ }
+ },
+ "required": [
+ "creationData"
+ ],
+ "description": "Disk resource properties."
+ },
+ "SnapshotProperties": {
+ "properties": {
+ "timeCreated": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The time when the disk was created."
+ },
+ "osType": {
+ "type": "string",
+ "description": "The Operating System type.",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
+ }
+ },
+ "hyperVGeneration": {
+ "type": "string",
+ "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
+ "enum": [
+ "V1",
+ "V2"
+ ],
+ "x-ms-enum": {
+ "name": "HyperVGeneration",
+ "modelAsString": true
+ }
+ },
+ "creationData": {
+ "$ref": "#/definitions/CreationData",
+ "description": "Disk source information. CreationData information cannot be changed after the disk has been created."
+ },
+ "diskSizeGB": {
+ "type": "integer",
+ "format": "int32",
+ "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size."
+ },
+ "diskSizeBytes": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "The size of the disk in bytes. This field is read only."
+ },
+ "uniqueId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Unique Guid identifying the resource."
+ },
+ "encryptionSettingsCollection": {
+ "$ref": "#/definitions/EncryptionSettingsCollection",
+ "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The disk provisioning state."
+ },
+ "incremental": {
+ "type": "boolean",
+ "description": "Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed."
+ },
+ "encryption": {
+ "$ref": "#/definitions/Encryption",
+ "description": "Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys."
+ }
+ },
+ "required": [
+ "creationData"
+ ],
+ "description": "Snapshot resource properties."
+ },
+ "EncryptionSetProperties": {
+ "properties": {
+ "activeKey": {
+ "$ref": "#/definitions/KeyVaultAndKeyReference",
+ "description": "The key vault key which is currently used by this disk encryption set."
+ },
+ "previousKeys": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/KeyVaultAndKeyReference"
+ },
+ "description": "A readonly collection of key vault keys previously used by this disk encryption set while a key rotation is in progress. It will be empty if there is no ongoing key rotation."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The disk encryption set provisioning state."
+ }
+ }
+ },
+ "EncryptionSettingsCollection": {
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged."
+ },
+ "encryptionSettings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EncryptionSettingsElement"
+ },
+ "description": "A collection of encryption settings, one for each disk volume."
+ },
+ "encryptionSettingsVersion": {
+ "type": "string",
+ "description": "Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption."
+ }
+ },
+ "required": [
+ "enabled"
+ ],
+ "description": "Encryption settings for disk or snapshot"
+ },
+ "EncryptionSettingsElement": {
+ "properties": {
+ "diskEncryptionKey": {
+ "$ref": "#/definitions/KeyVaultAndSecretReference",
+ "description": "Key Vault Secret Url and vault id of the disk encryption key"
+ },
+ "keyEncryptionKey": {
+ "$ref": "#/definitions/KeyVaultAndKeyReference",
+ "description": "Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key."
+ }
+ },
+ "description": "Encryption settings for one disk volume."
+ },
+ "KeyVaultAndSecretReference": {
+ "properties": {
+ "sourceVault": {
+ "$ref": "#/definitions/SourceVault",
+ "description": "Resource id of the KeyVault containing the key or secret"
+ },
+ "secretUrl": {
+ "type": "string",
+ "description": "Url pointing to a key or secret in KeyVault"
+ }
+ },
+ "required": [
+ "secretUrl",
+ "sourceVault"
+ ],
+ "description": "Key Vault Secret Url and vault id of the encryption key "
+ },
+ "KeyVaultAndKeyReference": {
+ "properties": {
+ "sourceVault": {
+ "$ref": "#/definitions/SourceVault",
+ "description": "Resource id of the KeyVault containing the key or secret"
+ },
+ "keyUrl": {
+ "type": "string",
+ "description": "Url pointing to a key or secret in KeyVault"
+ }
+ },
+ "required": [
+ "keyUrl",
+ "sourceVault"
+ ],
+ "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey"
+ },
+ "SourceVault": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Resource Id"
+ }
+ },
+ "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}"
+ },
+ "Encryption": {
+ "properties": {
+ "diskEncryptionSetId": {
+ "type": "string",
+ "description": "ResourceId of the disk encryption set to use for enabling encryption at rest."
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of key used to encrypt the data of the disk.",
+ "enum": [
+ "EncryptionAtRestWithPlatformKey",
+ "EncryptionAtRestWithCustomerKey"
+ ],
+ "x-ms-enum": {
+ "name": "EncryptionType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "EncryptionAtRestWithPlatformKey",
+ "description": "Disk is encrypted with XStore managed key at rest. It is the default encryption type."
+ },
+ {
+ "value": "EncryptionAtRestWithCustomerKey",
+ "description": "Disk is encrypted with Customer managed key at rest."
+ }
+ ]
+ }
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "description": "Encryption at rest settings for disk or snapshot"
+ },
+ "DiskUpdateProperties": {
+ "properties": {
+ "osType": {
+ "type": "string",
+ "description": "the Operating System type.",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
+ }
+ },
+ "diskSizeGB": {
+ "type": "integer",
+ "format": "int32",
+ "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size."
+ },
+ "encryptionSettingsCollection": {
+ "$ref": "#/definitions/EncryptionSettingsCollection",
+ "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot."
+ },
+ "diskIOPSReadWrite": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes."
+ },
+ "diskMBpsReadWrite": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10."
+ }
+ },
+ "description": "Disk resource update properties."
+ },
+ "SnapshotUpdateProperties": {
+ "properties": {
+ "osType": {
+ "type": "string",
+ "description": "the Operating System type.",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
+ }
+ },
+ "diskSizeGB": {
+ "type": "integer",
+ "format": "int32",
+ "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size."
+ },
+ "encryptionSettingsCollection": {
+ "$ref": "#/definitions/EncryptionSettingsCollection",
+ "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot."
+ }
+ },
+ "description": "Snapshot resource update properties."
+ },
+ "DiskEncryptionSetUpdateProperties": {
+ "properties": {
+ "activeKey":
+ {
+ "$ref": "#/definitions/KeyVaultAndKeyReference"
+ }
+ },
+ "description": "disk encryption set resource update properties."
+ },
+ "CreationData": {
+ "properties": {
+ "createOption": {
+ "type": "string",
+ "enum": [
+ "Empty",
+ "Attach",
+ "FromImage",
+ "Import",
+ "Copy",
+ "Restore",
+ "Upload"
+ ],
+ "x-ms-enum": {
+ "name": "DiskCreateOption",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Empty",
+ "description": "Create an empty data disk of a size given by diskSizeGB."
+ },
+ {
+ "value": "Attach",
+ "description": "Disk will be attached to a VM."
+ },
+ {
+ "value": "FromImage",
+ "description": "Create a new disk from a platform image specified by the given imageReference."
+ },
+ {
+ "value": "Import",
+ "description": "Create a disk by importing from a blob specified by a sourceUri in a storage account specified by storageAccountId."
+ },
+ {
+ "value": "Copy",
+ "description": "Create a new disk or snapshot by copying from a disk or snapshot specified by the given sourceResourceId."
+ },
+ {
+ "value": "Restore",
+ "description": "Create a new disk by copying from a backup recovery point."
+ },
+ {
+ "value": "Upload",
+ "description": "Create a new disk by obtaining a write token and using it to directly upload the contents of the disk."
+ }
+ ]
+ },
+ "description": "This enumerates the possible sources of a disk's creation."
+ },
+ "storageAccountId": {
+ "type": "string",
+ "description": "If createOption is Import, the Azure Resource Manager identifier of the storage account containing the blob to import as a disk. Required only if the blob is in a different subscription"
+ },
+ "imageReference": {
+ "$ref": "#/definitions/ImageDiskReference",
+ "description": "Disk source information."
+ },
+ "sourceUri": {
+ "type": "string",
+ "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk."
+ },
+ "sourceResourceId": {
+ "type": "string",
+ "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk."
+ },
+ "sourceUniqueId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "If this field is set, this is the unique id identifying the source of this resource."
+ },
+ "uploadSizeBytes": {
+ "type": "integer",
+ "format": "int64",
+ "description": "If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer)."
+ }
+ },
+ "required": [
+ "createOption"
+ ],
+ "description": "Data used when creating a disk."
+ },
+ "ImageDiskReference": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "A relative uri containing either a Platform Image Repository or user image reference."
+ },
+ "lun": {
+ "type": "integer",
+ "format": "int32",
+ "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null."
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "description": "The source image used for creating the disk."
+ },
+ "GrantAccessData": {
+ "properties": {
+ "access": {
+ "type": "string",
+ "enum": [
+ "None",
+ "Read",
+ "Write"
+ ],
+ "x-ms-enum": {
+ "name": "AccessLevel",
+ "modelAsString": true
+ }
+ },
+ "durationInSeconds": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Time duration in seconds until the SAS access expires."
+ }
+ },
+ "required": [
+ "access",
+ "durationInSeconds"
+ ],
+ "description": "Data used for requesting a SAS."
+ },
+ "AccessUri": {
+ "properties": {
+ "accessSAS": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A SAS uri for accessing a disk."
+ }
+ },
+ "description": "A disk access SAS uri."
+ },
+ "Snapshot": {
+ "properties": {
+ "managedBy": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Unused. Always Null."
+ },
+ "sku": {
+ "$ref": "#/definitions/SnapshotSku"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SnapshotProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Snapshot resource."
+ },
+ "SnapshotUpdate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SnapshotUpdateProperties"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ },
+ "sku": {
+ "$ref": "#/definitions/SnapshotSku"
+ }
+ },
+ "description": "Snapshot update resource."
+ },
+ "SnapshotList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Snapshot"
+ },
+ "description": "A list of snapshots."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page of snapshots."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Snapshots operation response."
+ },
+ "ResourceIdentity": {
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": [
+ "SystemAssigned"
+ ],
+ "x-ms-enum": {
+ "name": "DiskEncryptionSetIdentityType",
+ "modelAsString": true
+ },
+ "description": "The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported."
+ },
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity"
+ },
+ "tenantId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity"
+ }
+ },
+ "description": "The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks."
+ },
+ "DiskEncryptionSet": {
+ "properties": {
+ "identity": {
+ "$ref": "#/definitions/ResourceIdentity"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/EncryptionSetProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "disk encryption set resource."
+ },
+ "DiskEncryptionSetUpdate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DiskEncryptionSetUpdateProperties"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "description": "disk encryption set update resource."
+ },
+ "DiskEncryptionSetList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiskEncryptionSet"
+ },
+ "description": "A list of disk encryption sets."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of disk encryption sets. Call ListNext() with this to fetch the next page of disk encryption sets."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List disk encryption set operation response."
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/ApiError"
+ }
+ },
+ "description": "An error response from the Compute service."
+ },
+ "ApiError": {
+ "properties": {
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApiErrorBase"
+ },
+ "description": "The Api error details"
+ },
+ "innererror": {
+ "$ref": "#/definitions/InnerError",
+ "description": "The Api inner error"
+ },
+ "code": {
+ "type": "string",
+ "description": "The error code."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error."
+ },
+ "message": {
+ "type": "string",
+ "description": "The error message."
+ }
+ },
+ "description": "Api error."
+ },
+ "ApiErrorBase": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "The error code."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error."
+ },
+ "message": {
+ "type": "string",
+ "description": "The error message."
+ }
+ },
+ "description": "Api error base."
+ },
+ "InnerError": {
+ "properties": {
+ "exceptiontype": {
+ "type": "string",
+ "description": "The exception type."
+ },
+ "errordetail": {
+ "type": "string",
+ "description": "The internal error message or exception dump."
+ }
+ },
+ "description": "Inner error details."
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "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."
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "DiskNameParameter": {
+ "name": "diskName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
+ "x-ms-parameter-location": "method"
+ },
+ "SnapshotNameParameter": {
+ "name": "snapshotName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.",
+ "x-ms-parameter-location": "method"
+ },
+ "DiskEncryptionSetNameParameter": {
+ "name": "diskEncryptionSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateACustomImageScaleSetFromAnUnmanagedGeneralizedOsImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateACustomImageScaleSetFromAnUnmanagedGeneralizedOsImage.json
new file mode 100644
index 000000000000..46c90a6dacec
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateACustomImageScaleSetFromAnUnmanagedGeneralizedOsImage.json
@@ -0,0 +1,202 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "{vmss-name}",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "location": "westus",
+ "properties": {
+ "overprovision": true,
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "osDisk": {
+ "caching": "ReadWrite",
+ "image": {
+ "uri": "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd"
+ },
+ "createOption": "FromImage",
+ "name": "osDisk"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "d6e9ab29-f8c9-4792-978c-ae2c07b98f17",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Windows",
+ "caching": "ReadWrite",
+ "image": {
+ "uri": "https://{existing-storage-account-name}.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/{existing-generalized-os-image-blob-name}.vhd"
+ },
+ "createOption": "FromImage",
+ "name": "osDisk"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "d6e9ab29-f8c9-4792-978c-ae2c07b98f17",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Windows",
+ "caching": "ReadWrite",
+ "image": {
+ "uri": "https://{existing-storage-account-name}.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/{existing-generalized-os-image-blob-name}.vhd"
+ },
+ "createOption": "FromImage",
+ "name": "osDisk"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json
new file mode 100644
index 000000000000..0cfc745615f9
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json
@@ -0,0 +1,145 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmName": "{vm-name}",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "storageProfile": {
+ "osDisk": {
+ "name": "myVMosdisk",
+ "image": {
+ "uri": "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd"
+ },
+ "osType": "Windows",
+ "createOption": "FromImage",
+ "caching": "ReadWrite",
+ "vhd": {
+ "uri": "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd"
+ }
+ }
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "computerName": "myVM",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "osDisk": {
+ "name": "myVMosdisk",
+ "image": {
+ "uri": "https://{existing-storage-account-name}.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/{existing-generalized-os-image-blob-name}.vhd"
+ },
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "osType": "Windows",
+ "vhd": {
+ "uri": "http://{existing-storage-account-name}.blob.core.windows.net/vhds/myDisk.vhd"
+ }
+ },
+ "dataDisks": []
+ },
+ "vmId": "926cd555-a07c-4ff5-b214-4aa4dd09d79b",
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "osDisk": {
+ "name": "myVMosdisk",
+ "image": {
+ "uri": "https://{existing-storage-account-name}.blob.core.windows.net/system/Microsoft.Compute/Images/vhds/{existing-generalized-os-image-blob-name}.vhd"
+ },
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "osType": "Windows",
+ "vhd": {
+ "uri": "http://{existing-storage-account-name}.blob.core.windows.net/vhds/myDisk.vhd"
+ }
+ },
+ "dataDisks": []
+ },
+ "vmId": "926cd555-a07c-4ff5-b214-4aa4dd09d79b",
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateADiskEncryptionSet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateADiskEncryptionSet.json
new file mode 100644
index 000000000000..6c71c6e1c87c
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateADiskEncryptionSet.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "diskEncryptionSetName": "myDiskEncryptionSet",
+ "diskEncryptionSet": {
+ "location": "West US",
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "properties": {
+ "activeKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myDiskEncryptionSet",
+ "location": "West US",
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "properties": {
+ "activeKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ },
+ "previousKeys": []
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "myDiskEncryptionSet",
+ "location": "West US",
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "properties": {
+ "activeKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ },
+ "previousKeys": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedDiskByCopyingASnapshot.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedDiskByCopyingASnapshot.json
new file mode 100644
index 000000000000..a8c9f5ff9adf
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedDiskByCopyingASnapshot.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "diskName": "myDisk",
+ "disk": {
+ "location": "West US",
+ "properties": {
+ "creationData": {
+ "createOption": "Copy",
+ "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "name": "myDisk",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Updating",
+ "creationData": {
+ "createOption": "Copy",
+ "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "myDisk",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Updating",
+ "creationData": {
+ "createOption": "Copy",
+ "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscription.json
new file mode 100644
index 000000000000..b44f596c8fb6
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscription.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "diskName": "myDisk",
+ "disk": {
+ "location": "West US",
+ "properties": {
+ "creationData": {
+ "createOption": "Import",
+ "storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
+ "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "name": "myDisk",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Updating",
+ "creationData": {
+ "createOption": "Import",
+ "storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
+ "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "myDisk",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Updating",
+ "creationData": {
+ "createOption": "Import",
+ "storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
+ "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscription.json
new file mode 100644
index 000000000000..58a6d7af3c92
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscription.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "diskName": "myDisk",
+ "disk": {
+ "location": "West US",
+ "properties": {
+ "creationData": {
+ "createOption": "Import",
+ "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "name": "myDisk",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Updating",
+ "creationData": {
+ "createOption": "Import",
+ "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "myDisk",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Updating",
+ "creationData": {
+ "createOption": "Import",
+ "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedDiskFromAPlatformImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedDiskFromAPlatformImage.json
new file mode 100644
index 000000000000..b2e22fa5975e
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedDiskFromAPlatformImage.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "diskName": "myDisk",
+ "disk": {
+ "location": "West US",
+ "properties": {
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "FromImage",
+ "imageReference": {
+ "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "name": "myDisk",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Updating",
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "FromImage",
+ "imageReference": {
+ "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}"
+ }
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "myDisk",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Updating",
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "FromImage",
+ "imageReference": {
+ "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedDiskFromAnExistingManagedDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedDiskFromAnExistingManagedDisk.json
new file mode 100644
index 000000000000..9ca47d0a1429
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedDiskFromAnExistingManagedDisk.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "diskName": "myDisk2",
+ "disk": {
+ "location": "West US",
+ "properties": {
+ "creationData": {
+ "createOption": "Copy",
+ "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk1"
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "properties": {
+ "creationData": {
+ "createOption": "Copy",
+ "sourceResourceId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk1"
+ },
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "myDisk2"
+ }
+ },
+ "200": {
+ "body": {
+ "properties": {
+ "creationData": {
+ "createOption": "Copy",
+ "sourceResourceId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk1"
+ },
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "myDisk2"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedUploadDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedUploadDisk.json
new file mode 100644
index 000000000000..998666f7ed65
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAManagedUploadDisk.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "diskName": "myDisk",
+ "disk": {
+ "location": "West US",
+ "properties": {
+ "creationData": {
+ "createOption": "Upload",
+ "uploadSizeBytes": 10737418752
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "properties": {
+ "creationData": {
+ "createOption": "Upload",
+ "uploadSizeBytes": 10737418752
+ },
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "myDisk"
+ }
+ },
+ "200": {
+ "body": {
+ "properties": {
+ "creationData": {
+ "createOption": "Upload",
+ "uploadSizeBytes": 10737418752
+ },
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "myDisk"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAPlatformImageScaleSetWithUnmanagedOsDisks.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAPlatformImageScaleSetWithUnmanagedOsDisks.json
new file mode 100644
index 000000000000..220b0bdf6695
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAPlatformImageScaleSetWithUnmanagedOsDisks.json
@@ -0,0 +1,222 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "{vmss-name}",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "location": "westus",
+ "properties": {
+ "overprovision": true,
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "name": "osDisk",
+ "vhdContainers": [
+ "http://{existing-storage-account-name-0}.blob.core.windows.net/vhdContainer",
+ "http://{existing-storage-account-name-1}.blob.core.windows.net/vhdContainer",
+ "http://{existing-storage-account-name-2}.blob.core.windows.net/vhdContainer",
+ "http://{existing-storage-account-name-3}.blob.core.windows.net/vhdContainer",
+ "http://{existing-storage-account-name-4}.blob.core.windows.net/vhdContainer"
+ ]
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "77b7df9a-32fe-45e3-8911-60ac9c9b9c64",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "vhdContainers": [
+ "http://{existing-storage-account-name}.blob.core.windows.net/vhds"
+ ],
+ "name": "osDisk",
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "77b7df9a-32fe-45e3-8911-60ac9c9b9c64",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "vhdContainers": [
+ "http://{existing-storage-account-name}.blob.core.windows.net/vhds"
+ ],
+ "name": "osDisk",
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json
new file mode 100644
index 000000000000..7d0338300cee
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json
@@ -0,0 +1,213 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmName": "{vm-name}",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "hardwareProfile": {
+ "vmSize": "Standard_D2_v2"
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "vhd": {
+ "uri": "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd"
+ },
+ "createOption": "FromImage",
+ "name": "myVMosdisk"
+ },
+ "dataDisks": [
+ {
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "lun": 0,
+ "vhd": {
+ "uri": "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk0.vhd"
+ }
+ },
+ {
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "lun": 1,
+ "vhd": {
+ "uri": "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk1.vhd"
+ }
+ }
+ ]
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "computerName": "myVM",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "osType": "Windows",
+ "vhd": {
+ "uri": "http://{existing-storage-account-name}.blob.core.windows.net/vhds/myDisk.vhd"
+ },
+ "createOption": "FromImage",
+ "name": "myVMosdisk",
+ "caching": "ReadWrite"
+ },
+ "dataDisks": [
+ {
+ "name": "dataDisk0",
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "caching": "None",
+ "vhd": {
+ "uri": "http://{existing-storage-account-name}.blob.core.windows.net/vhds/myDisk0.vhd"
+ },
+ "lun": 0
+ },
+ {
+ "name": "dataDisk1",
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "caching": "None",
+ "vhd": {
+ "uri": "http://{existing-storage-account-name}.blob.core.windows.net/vhds/myDisk1.vhd"
+ },
+ "lun": 1
+ }
+ ]
+ },
+ "vmId": "5230a749-2f68-4830-900b-702182d32e63",
+ "hardwareProfile": {
+ "vmSize": "Standard_D2_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "osType": "Windows",
+ "vhd": {
+ "uri": "http://{existing-storage-account-name}.blob.core.windows.net/vhds/myDisk.vhd"
+ },
+ "createOption": "FromImage",
+ "name": "myVMosdisk",
+ "caching": "ReadWrite"
+ },
+ "dataDisks": [
+ {
+ "name": "dataDisk0",
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "caching": "None",
+ "vhd": {
+ "uri": "http://{existing-storage-account-name}.blob.core.windows.net/vhds/myDisk0.vhd"
+ },
+ "lun": 0
+ },
+ {
+ "name": "dataDisk1",
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "caching": "None",
+ "vhd": {
+ "uri": "http://{existing-storage-account-name}.blob.core.windows.net/vhds/myDisk1.vhd"
+ },
+ "lun": 1
+ }
+ ]
+ },
+ "vmId": "5230a749-2f68-4830-900b-702182d32e63",
+ "hardwareProfile": {
+ "vmSize": "Standard_D2_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetFromACustomImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetFromACustomImage.json
new file mode 100644
index 000000000000..25e6989304f6
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetFromACustomImage.json
@@ -0,0 +1,204 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "{vmss-name}",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "location": "westus",
+ "properties": {
+ "overprovision": true,
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "afa2afa8-9e49-48fb-9d18-c86323b5d064",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/nsgcustom"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "linuxConfiguration": {
+ "disablePasswordAuthentication": false
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "afa2afa8-9e49-48fb-9d18-c86323b5d064",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/nsgcustom"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "linuxConfiguration": {
+ "disablePasswordAuthentication": false
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAMarketplaceImagePlan.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAMarketplaceImagePlan.json
new file mode 100644
index 000000000000..98a86b68924a
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAMarketplaceImagePlan.json
@@ -0,0 +1,230 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "{vmss-name}",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "properties": {
+ "overprovision": true,
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "windows2016",
+ "publisher": "microsoft-ads",
+ "version": "latest",
+ "offer": "windows-data-science-vm"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ }
+ },
+ "plan": {
+ "publisher": "microsoft-ads",
+ "product": "windows-data-science-vm",
+ "name": "windows2016"
+ },
+ "location": "westus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}",
+ "plan": {
+ "publisher": "microsoft-ads",
+ "product": "standard-data-science-vm",
+ "name": "standard-data-science-vm"
+ },
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "b9e23088-6ffc-46e0-9e02-b0a6eeef47db",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "standard-data-science-vm",
+ "publisher": "microsoft-ads",
+ "version": "latest",
+ "offer": "standard-data-science-vm"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}",
+ "plan": {
+ "publisher": "microsoft-ads",
+ "product": "standard-data-science-vm",
+ "name": "standard-data-science-vm"
+ },
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "b9e23088-6ffc-46e0-9e02-b0a6eeef47db",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "standard-data-science-vm",
+ "publisher": "microsoft-ads",
+ "version": "latest",
+ "offer": "standard-data-science-vm"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAnAzureApplicationGateway.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAnAzureApplicationGateway.json
new file mode 100644
index 000000000000..788cb0980fd4
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAnAzureApplicationGateway.json
@@ -0,0 +1,230 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "{vmss-name}",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "location": "westus",
+ "properties": {
+ "overprovision": true,
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "applicationGatewayBackendAddressPools": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/applicationGateways/{existing-application-gateway-name}/backendAddressPools/{existing-backend-address-pool-name}"
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "a0134477-b9d9-484b-b0e3-205c1c089ffa",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "applicationGatewayBackendAddressPools": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/applicationGateways/nsgExistingAppGw/backendAddressPools/appGatewayBackendPool"
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "a0134477-b9d9-484b-b0e3-205c1c089ffa",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "applicationGatewayBackendAddressPools": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/applicationGateways/nsgExistingAppGw/backendAddressPools/appGatewayBackendPool"
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAnAzureLoadBalancer.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAnAzureLoadBalancer.json
new file mode 100644
index 000000000000..bc3631a913c8
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAnAzureLoadBalancer.json
@@ -0,0 +1,251 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "{vmss-name}",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "location": "westus",
+ "properties": {
+ "overprovision": true,
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"
+ },
+ "publicIPAddressConfiguration": {
+ "name": "{vmss-name}",
+ "properties": {
+ "publicIPAddressVersion": "IPv4"
+ }
+ },
+ "loadBalancerInboundNatPools": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/inboundNatPools/{existing-nat-pool-name}"
+ }
+ ],
+ "loadBalancerBackendAddressPools": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/backendAddressPools/{existing-backend-address-pool-name}"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "ec0b21ca-51ec-414b-9323-f236ffc21479",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "loadBalancerInboundNatPools": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/myLb/inboundNatPools/lbNatPool"
+ }
+ ],
+ "loadBalancerBackendAddressPools": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/myLb/backendAddressPools/lbBackendPool"
+ }
+ ],
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "ec0b21ca-51ec-414b-9323-f236ffc21479",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "loadBalancerInboundNatPools": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/myLb/inboundNatPools/lbNatPool"
+ }
+ ],
+ "loadBalancerBackendAddressPools": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/myLb/backendAddressPools/lbBackendPool"
+ }
+ ],
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAutomaticRepairs.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAutomaticRepairs.json
new file mode 100644
index 000000000000..b24cd1e84500
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAutomaticRepairs.json
@@ -0,0 +1,231 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "{vmss-name}",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "location": "westus",
+ "properties": {
+ "overprovision": true,
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "automaticRepairsPolicy": {
+ "enabled": true,
+ "gracePeriod": "PT3M",
+ "maxInstanceRepairsPercent": 100
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "d053ec5a-8da6-495f-ab13-38216503c6d7",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "automaticRepairsPolicy": {
+ "enabled": true,
+ "gracePeriod": "PT3M",
+ "maxInstanceRepairsPercent": 100
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "d053ec5a-8da6-495f-ab13-38216503c6d7",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "automaticRepairsPolicy": {
+ "enabled": true,
+ "gracePeriod": "PT3M",
+ "maxInstanceRepairsPercent": 100
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ }
+ }
+ }
+
\ No newline at end of file
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithBootDiagnostics.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithBootDiagnostics.json
new file mode 100644
index 000000000000..ff3381b48947
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithBootDiagnostics.json
@@ -0,0 +1,233 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "{vmss-name}",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "location": "westus",
+ "properties": {
+ "overprovision": true,
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "diagnosticsProfile": {
+ "bootDiagnostics": {
+ "storageUri": "http://{existing-storage-account-name}.blob.core.windows.net",
+ "enabled": true
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "d053ec5a-8da6-495f-ab13-38216503c6d7",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "diagnosticsProfile": {
+ "bootDiagnostics": {
+ "storageUri": "http://nsgdiagnostic.blob.core.windows.net",
+ "enabled": true
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "d053ec5a-8da6-495f-ab13-38216503c6d7",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "diagnosticsProfile": {
+ "bootDiagnostics": {
+ "storageUri": "http://nsgdiagnostic.blob.core.windows.net",
+ "enabled": true
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithDiffOsDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithDiffOsDisk.json
new file mode 100644
index 000000000000..18304f85e883
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithDiffOsDisk.json
@@ -0,0 +1,239 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "{vmss-name}",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_DS1_v2"
+ },
+ "properties": {
+ "overprovision": true,
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "windows2016",
+ "publisher": "microsoft-ads",
+ "version": "latest",
+ "offer": "windows-data-science-vm"
+ },
+ "osDisk": {
+ "caching": "ReadOnly",
+ "diffDiskSettings": {
+ "option": "Local"
+ },
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ }
+ },
+ "plan": {
+ "publisher": "microsoft-ads",
+ "product": "windows-data-science-vm",
+ "name": "windows2016"
+ },
+ "location": "westus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_DS1_v2"
+ },
+ "name": "{vmss-name}",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}",
+ "plan": {
+ "publisher": "microsoft-ads",
+ "product": "standard-data-science-vm",
+ "name": "standard-data-science-vm"
+ },
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "b9e23088-6ffc-46e0-9e02-b0a6eeef47db",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "standard-data-science-vm",
+ "publisher": "microsoft-ads",
+ "version": "latest",
+ "offer": "standard-data-science-vm"
+ },
+ "osDisk": {
+ "caching": "ReadOnly",
+ "diffDiskSettings": {
+ "option": "Local"
+ },
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_DS1_v2"
+ },
+ "name": "{vmss-name}",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}",
+ "plan": {
+ "publisher": "microsoft-ads",
+ "product": "standard-data-science-vm",
+ "name": "standard-data-science-vm"
+ },
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "b9e23088-6ffc-46e0-9e02-b0a6eeef47db",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "standard-data-science-vm",
+ "publisher": "microsoft-ads",
+ "version": "latest",
+ "offer": "standard-data-science-vm"
+ },
+ "osDisk": {
+ "caching": "ReadOnly",
+ "diffDiskSettings": {
+ "option": "Local"
+ },
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithEmptyDataDisksOnEachVm.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithEmptyDataDisksOnEachVm.json
new file mode 100644
index 000000000000..a5dc69acfe5a
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithEmptyDataDisksOnEachVm.json
@@ -0,0 +1,270 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "{vmss-name}",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D2_v2"
+ },
+ "location": "westus",
+ "properties": {
+ "overprovision": true,
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage",
+ "diskSizeGB": 512
+ },
+ "dataDisks": [
+ {
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "lun": 0
+ },
+ {
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "lun": 1
+ }
+ ]
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D2_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "8042c376-4690-4c47-9fa2-fbdad70e32fa",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage",
+ "diskSizeGB": 512
+ },
+ "dataDisks": [
+ {
+ "caching": "None",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "Empty",
+ "lun": 0,
+ "diskSizeGB": 1023
+ },
+ {
+ "caching": "None",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "Empty",
+ "lun": 1,
+ "diskSizeGB": 1023
+ }
+ ]
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Succeeded"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D2_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "8042c376-4690-4c47-9fa2-fbdad70e32fa",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage",
+ "diskSizeGB": 512
+ },
+ "dataDisks": [
+ {
+ "caching": "None",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "Empty",
+ "lun": 0,
+ "diskSizeGB": 1023
+ },
+ {
+ "caching": "None",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "Empty",
+ "lun": 1,
+ "diskSizeGB": 1023
+ }
+ ]
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithPasswordAuthentication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithPasswordAuthentication.json
new file mode 100644
index 000000000000..209950e4b1b3
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithPasswordAuthentication.json
@@ -0,0 +1,215 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "{vmss-name}",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "location": "westus",
+ "properties": {
+ "overprovision": true,
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "ffb27c5c-39a5-4d4e-b307-b32598689813",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "ffb27c5c-39a5-4d4e-b307-b32598689813",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithPremiumStorage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithPremiumStorage.json
new file mode 100644
index 000000000000..0d43febd86fe
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithPremiumStorage.json
@@ -0,0 +1,215 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "{vmss-name}",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "location": "westus",
+ "properties": {
+ "overprovision": true,
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Premium_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_DS1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "19fd38a2-f50a-42c6-9dc7-3f9cf3791225",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Premium_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_DS1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "19fd38a2-f50a-42c6-9dc7-3f9cf3791225",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Premium_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithSshAuthentication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithSshAuthentication.json
new file mode 100644
index 000000000000..b8912565a8ab
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithSshAuthentication.json
@@ -0,0 +1,239 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "{vmss-name}",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "location": "westus",
+ "properties": {
+ "overprovision": true,
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "linuxConfiguration": {
+ "ssh": {
+ "publicKeys": [
+ {
+ "path": "/home/{your-username}/.ssh/authorized_keys",
+ "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1"
+ }
+ ]
+ },
+ "disablePasswordAuthentication": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "fb73af19-0090-467c-9ced-b00bceab1c45",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "16.04-LTS",
+ "publisher": "Canonical",
+ "version": "latest",
+ "offer": "UbuntuServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "linuxConfiguration": {
+ "ssh": {
+ "publicKeys": [
+ {
+ "path": "/home/{your-username}/.ssh/authorized_keys",
+ "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1"
+ }
+ ]
+ },
+ "disablePasswordAuthentication": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "fb73af19-0090-467c-9ced-b00bceab1c45",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "16.04-LTS",
+ "publisher": "Canonical",
+ "version": "latest",
+ "offer": "UbuntuServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "linuxConfiguration": {
+ "ssh": {
+ "publicKeys": [
+ {
+ "path": "/home/{your-username}/.ssh/authorized_keys",
+ "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1"
+ }
+ ]
+ },
+ "disablePasswordAuthentication": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json
new file mode 100644
index 000000000000..b2afe164e36b
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json
@@ -0,0 +1,233 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "{vmss-name}",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "location": "westus",
+ "properties": {
+ "overprovision": true,
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "scheduledEventsProfile": {
+ "terminateNotificationProfile": {
+ "enable": true,
+ "notBeforeTimeout": "PT5M"
+ }
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "d053ec5a-8da6-495f-ab13-38216503c6d7",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ },
+ "scheduledEventsProfile": {
+ "terminateNotificationProfile": {
+ "enable": true,
+ "notBeforeTimeout": "PT5M"
+ }
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "d053ec5a-8da6-495f-ab13-38216503c6d7",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ },
+ "scheduledEventsProfile": {
+ "terminateNotificationProfile": {
+ "enable": true,
+ "notBeforeTimeout": "PT5M"
+ }
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithVMsInDifferentZones.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithVMsInDifferentZones.json
new file mode 100644
index 000000000000..6bd73fbae2f0
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithVMsInDifferentZones.json
@@ -0,0 +1,284 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "{vmss-name}",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 2,
+ "name": "Standard_A1_v2"
+ },
+ "location": "centralus",
+ "properties": {
+ "overprovision": true,
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage",
+ "diskSizeGB": 512
+ },
+ "dataDisks": [
+ {
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "lun": 0
+ },
+ {
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "lun": 1
+ }
+ ]
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Automatic"
+ }
+ },
+ "zones": [
+ "1",
+ "3"
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 2,
+ "name": "Standard_A1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": false,
+ "overprovision": true,
+ "uniqueId": "8042c376-4690-4c47-9fa2-fbdad70e32fa",
+ "zoneBalance": false,
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage",
+ "diskSizeGB": 512
+ },
+ "dataDisks": [
+ {
+ "caching": "None",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "Empty",
+ "lun": 0,
+ "diskSizeGB": 1023
+ },
+ {
+ "caching": "None",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "Empty",
+ "lun": 1,
+ "diskSizeGB": 1023
+ }
+ ]
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Automatic"
+ },
+ "provisioningState": "Succeeded"
+ },
+ "zones": [
+ "1",
+ "3"
+ ],
+ "location": "centralus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 2,
+ "name": "Standard_A1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": false,
+ "overprovision": true,
+ "uniqueId": "8042c376-4690-4c47-9fa2-fbdad70e32fa",
+ "zoneBalance": false,
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage",
+ "diskSizeGB": 512
+ },
+ "dataDisks": [
+ {
+ "caching": "None",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "Empty",
+ "lun": 0,
+ "diskSizeGB": 1023
+ },
+ {
+ "caching": "None",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "Empty",
+ "lun": 1,
+ "diskSizeGB": 1023
+ }
+ ]
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Automatic"
+ },
+ "provisioningState": "Creating"
+ },
+ "zones": [
+ "1",
+ "3"
+ ],
+ "location": "centralus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScalesetWithDiskEncryptionSetResource.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScalesetWithDiskEncryptionSetResource.json
new file mode 100644
index 000000000000..6e77c5e1e3d2
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScalesetWithDiskEncryptionSetResource.json
@@ -0,0 +1,255 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "{vmss-name}",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_DS1_v2"
+ },
+ "properties": {
+ "overprovision": true,
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ }
+ },
+ "createOption": "FromImage"
+ },
+ "dataDisks": [
+ {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ }
+ },
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "lun": 0
+ }
+ ]
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ }
+ },
+ "location": "westus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "afa2afa8-9e49-48fb-9d18-c86323b5d064",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/nsgcustom"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ }
+ },
+ "createOption": "FromImage"
+ },
+ "dataDisks": [
+ {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ }
+ },
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "lun": 0
+ }
+ ]
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "linuxConfiguration": {
+ "disablePasswordAuthentication": false
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "afa2afa8-9e49-48fb-9d18-c86323b5d064",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/nsgcustom"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ }
+ },
+ "createOption": "FromImage"
+ },
+ "dataDisks": [
+ {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ }
+ },
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "lun": 0
+ }
+ ]
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "linuxConfiguration": {
+ "disablePasswordAuthentication": false
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateASnapshotByImportingAnUnmanagedBlobFromADifferentSubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateASnapshotByImportingAnUnmanagedBlobFromADifferentSubscription.json
new file mode 100644
index 000000000000..201cdd1711d6
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateASnapshotByImportingAnUnmanagedBlobFromADifferentSubscription.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "snapshotName": "mySnapshot1",
+ "snapshot": {
+ "location": "West US",
+ "properties": {
+ "creationData": {
+ "createOption": "Import",
+ "storageAccountId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
+ "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "properties": {
+ "creationData": {
+ "createOption": "Import",
+ "storageAccountId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
+ "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
+ },
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "mySnapshot1"
+ }
+ },
+ "200": {
+ "body": {
+ "properties": {
+ "creationData": {
+ "createOption": "Import",
+ "storageAccountId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
+ "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
+ },
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "mySnapshot1"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription.json
new file mode 100644
index 000000000000..a58c83032c32
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "snapshotName": "mySnapshot1",
+ "snapshot": {
+ "location": "West US",
+ "properties": {
+ "creationData": {
+ "createOption": "Import",
+ "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "properties": {
+ "creationData": {
+ "createOption": "Import",
+ "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
+ },
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "mySnapshot1"
+ }
+ },
+ "200": {
+ "body": {
+ "properties": {
+ "creationData": {
+ "createOption": "Import",
+ "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
+ },
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "mySnapshot1"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateASnapshotFromAnExistingSnapshot.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateASnapshotFromAnExistingSnapshot.json
new file mode 100644
index 000000000000..33a1e75795bc
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateASnapshotFromAnExistingSnapshot.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "snapshotName": "mySnapshot2",
+ "snapshot": {
+ "location": "West US",
+ "properties": {
+ "creationData": {
+ "createOption": "Copy",
+ "sourceResourceId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1"
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "name": "mySnapshot2",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Updating",
+ "creationData": {
+ "createOption": "Copy",
+ "sourceResourceId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1"
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "mySnapshot2",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Updating",
+ "creationData": {
+ "createOption": "Copy",
+ "sourceResourceId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmFromACustomImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmFromACustomImage.json
new file mode 100644
index 000000000000..dd4aeadff6d9
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmFromACustomImage.json
@@ -0,0 +1,144 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmName": "myVM",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "storageProfile": {
+ "imageReference": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "name": "myVMosdisk",
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "computerName": "myVM",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "linuxConfiguration": {
+ "disablePasswordAuthentication": false
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/nsgcustom"
+ },
+ "osDisk": {
+ "name": "myVMosdisk",
+ "diskSizeGB": 30,
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "osType": "Linux"
+ },
+ "dataDisks": []
+ },
+ "vmId": "71aa3d5a-d73d-4970-9182-8580433b2865",
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "linuxConfiguration": {
+ "disablePasswordAuthentication": false
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/nsgcustom"
+ },
+ "osDisk": {
+ "name": "myVMosdisk",
+ "diskSizeGB": 30,
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "osType": "Linux"
+ },
+ "dataDisks": []
+ },
+ "vmId": "71aa3d5a-d73d-4970-9182-8580433b2865",
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmInAnAvailabilitySet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmInAnAvailabilitySet.json
new file mode 100644
index 000000000000..6bca5a058837
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmInAnAvailabilitySet.json
@@ -0,0 +1,162 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmName": "myVM",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "name": "myVMosdisk",
+ "createOption": "FromImage"
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "computerName": "myVM",
+ "adminPassword": "{your-password}"
+ },
+ "availabilitySet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/{existing-availability-set-name}"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "osType": "Windows",
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "name": "myVMosdisk",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ }
+ },
+ "dataDisks": []
+ },
+ "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f",
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "availabilitySet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/NSGEXISTINGAS"
+ },
+ "provisioningState": "Creating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "osType": "Windows",
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "name": "myVMosdisk",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ }
+ },
+ "dataDisks": []
+ },
+ "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f",
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "availabilitySet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/NSGEXISTINGAS"
+ },
+ "provisioningState": "Creating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithADiffOsDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithADiffOsDisk.json
new file mode 100644
index 000000000000..2303001c813d
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithADiffOsDisk.json
@@ -0,0 +1,177 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmName": "myVM",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "location": "westus",
+ "plan": {
+ "publisher": "microsoft-ads",
+ "product": "windows-data-science-vm",
+ "name": "windows2016"
+ },
+ "properties": {
+ "hardwareProfile": {
+ "vmSize": "Standard_DS1_v2"
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "windows2016",
+ "publisher": "microsoft-ads",
+ "version": "latest",
+ "offer": "windows-data-science-vm"
+ },
+ "osDisk": {
+ "caching": "ReadOnly",
+ "diffDiskSettings": {
+ "option": "Local"
+ },
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage",
+ "name": "myVMosdisk"
+ }
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "computerName": "myVM",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myVM",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "standard-data-science-vm",
+ "publisher": "microsoft-ads",
+ "version": "latest",
+ "offer": "standard-data-science-vm"
+ },
+ "osDisk": {
+ "osType": "Windows",
+ "caching": "ReadOnly",
+ "diffDiskSettings": {
+ "option": "Local"
+ },
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage",
+ "name": "myVMosdisk"
+ },
+ "dataDisks": []
+ },
+ "vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
+ "hardwareProfile": {
+ "vmSize": "Standard_DS1_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "plan": {
+ "publisher": "microsoft-ads",
+ "product": "standard-data-science-vm",
+ "name": "standard-data-science-vm"
+ },
+ "type": "Microsoft.Compute/virtualMachines",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "location": "westus"
+ }
+ },
+ "201": {
+ "body": {
+ "name": "myVM",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "standard-data-science-vm",
+ "publisher": "microsoft-ads",
+ "version": "latest",
+ "offer": "standard-data-science-vm"
+ },
+ "osDisk": {
+ "osType": "Windows",
+ "caching": "ReadOnly",
+ "diffDiskSettings": {
+ "option": "Local"
+ },
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage",
+ "name": "myVMosdisk"
+ },
+ "dataDisks": []
+ },
+ "vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
+ "hardwareProfile": {
+ "vmSize": "Standard_DS1_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "plan": {
+ "publisher": "microsoft-ads",
+ "product": "standard-data-science-vm",
+ "name": "standard-data-science-vm"
+ },
+ "type": "Microsoft.Compute/virtualMachines",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "location": "westus"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithAMarketplaceImagePlan.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithAMarketplaceImagePlan.json
new file mode 100644
index 000000000000..26c4a9d6680a
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithAMarketplaceImagePlan.json
@@ -0,0 +1,168 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmName": "myVM",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "location": "westus",
+ "plan": {
+ "publisher": "microsoft-ads",
+ "product": "windows-data-science-vm",
+ "name": "windows2016"
+ },
+ "properties": {
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "windows2016",
+ "publisher": "microsoft-ads",
+ "version": "latest",
+ "offer": "windows-data-science-vm"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "name": "myVMosdisk",
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "computerName": "myVM",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myVM",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "standard-data-science-vm",
+ "publisher": "microsoft-ads",
+ "version": "latest",
+ "offer": "standard-data-science-vm"
+ },
+ "osDisk": {
+ "osType": "Windows",
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "name": "myVMosdisk",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ }
+ },
+ "dataDisks": []
+ },
+ "vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "plan": {
+ "publisher": "microsoft-ads",
+ "product": "standard-data-science-vm",
+ "name": "standard-data-science-vm"
+ },
+ "type": "Microsoft.Compute/virtualMachines",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "location": "westus"
+ }
+ },
+ "201": {
+ "body": {
+ "name": "myVM",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "standard-data-science-vm",
+ "publisher": "microsoft-ads",
+ "version": "latest",
+ "offer": "standard-data-science-vm"
+ },
+ "osDisk": {
+ "osType": "Windows",
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "name": "myVMosdisk",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ }
+ },
+ "dataDisks": []
+ },
+ "vmId": "5c0d55a7-c407-4ed6-bf7d-ddb810267c85",
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "plan": {
+ "publisher": "microsoft-ads",
+ "product": "standard-data-science-vm",
+ "name": "standard-data-science-vm"
+ },
+ "type": "Microsoft.Compute/virtualMachines",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "location": "westus"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithBootDiagnostics.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithBootDiagnostics.json
new file mode 100644
index 000000000000..325fddd66658
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithBootDiagnostics.json
@@ -0,0 +1,171 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmName": "myVM",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "name": "myVMosdisk",
+ "createOption": "FromImage"
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "computerName": "myVM",
+ "adminPassword": "{your-password}"
+ },
+ "diagnosticsProfile": {
+ "bootDiagnostics": {
+ "storageUri": "http://{existing-storage-account-name}.blob.core.windows.net",
+ "enabled": true
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "osType": "Windows",
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "name": "myVMosdisk",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ }
+ },
+ "dataDisks": []
+ },
+ "diagnosticsProfile": {
+ "bootDiagnostics": {
+ "storageUri": "http://nsgdiagnostic.blob.core.windows.net",
+ "enabled": true
+ }
+ },
+ "vmId": "676420ba-7a24-4bfe-80bd-9c841ee184fa",
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "osType": "Windows",
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "name": "myVMosdisk",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ }
+ },
+ "dataDisks": []
+ },
+ "diagnosticsProfile": {
+ "bootDiagnostics": {
+ "storageUri": "http://nsgdiagnostic.blob.core.windows.net",
+ "enabled": true
+ }
+ },
+ "vmId": "676420ba-7a24-4bfe-80bd-9c841ee184fa",
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithDiskEncryptionSetResource.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithDiskEncryptionSetResource.json
new file mode 100644
index 000000000000..38817d67e796
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithDiskEncryptionSetResource.json
@@ -0,0 +1,229 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmName": "myVM",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "storageProfile": {
+ "imageReference": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ }
+ },
+ "name": "myVMosdisk",
+ "createOption": "FromImage"
+ },
+ "dataDisks": [
+ {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ }
+ },
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "lun": 0
+ },
+ {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}",
+ "storageAccountType": "Standard_LRS",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ }
+ },
+ "diskSizeGB": 1023,
+ "createOption": "Attach",
+ "lun": 1
+ }
+ ]
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "computerName": "myVM",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "linuxConfiguration": {
+ "disablePasswordAuthentication": false
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/nsgcustom"
+ },
+ "osDisk": {
+ "name": "myVMosdisk",
+ "diskSizeGB": 30,
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskencryptionset-name}"
+ }
+ },
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "osType": "Linux"
+ },
+ "dataDisks": [
+ {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ }
+ },
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "lun": 0
+ },
+ {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}",
+ "storageAccountType": "Standard_LRS",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ }
+ },
+ "diskSizeGB": 1023,
+ "createOption": "Attach",
+ "lun": 1
+ }
+ ]
+ },
+ "vmId": "71aa3d5a-d73d-4970-9182-8580433b2865",
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "linuxConfiguration": {
+ "disablePasswordAuthentication": false
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/nsgcustom"
+ },
+ "osDisk": {
+ "name": "myVMosdisk",
+ "diskSizeGB": 30,
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "osType": "Linux"
+ },
+ "dataDisks": [
+ {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ }
+ },
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "lun": 0
+ },
+ {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}",
+ "storageAccountType": "Standard_LRS",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ }
+ },
+ "diskSizeGB": 1023,
+ "createOption": "Attach",
+ "lun": 1
+ }
+ ]
+ },
+ "vmId": "71aa3d5a-d73d-4970-9182-8580433b2865",
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithEmptyDataDisks.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithEmptyDataDisks.json
new file mode 100644
index 000000000000..46bfda2b77af
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithEmptyDataDisks.json
@@ -0,0 +1,205 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmName": "myVM",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "hardwareProfile": {
+ "vmSize": "Standard_D2_v2"
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "name": "myVMosdisk",
+ "createOption": "FromImage"
+ },
+ "dataDisks": [
+ {
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "lun": 0
+ },
+ {
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "lun": 1
+ }
+ ]
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "computerName": "myVM",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "osType": "Windows",
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "name": "myVMosdisk",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ }
+ },
+ "dataDisks": [
+ {
+ "caching": "None",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "Empty",
+ "lun": 0,
+ "diskSizeGB": 1023
+ },
+ {
+ "caching": "None",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "Empty",
+ "lun": 1,
+ "diskSizeGB": 1023
+ }
+ ]
+ },
+ "vmId": "3906fef9-a1e5-4b83-a8a8-540858b41df0",
+ "hardwareProfile": {
+ "vmSize": "Standard_D2_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "osType": "Windows",
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "name": "myVMosdisk",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ }
+ },
+ "dataDisks": [
+ {
+ "caching": "None",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "Empty",
+ "lun": 0,
+ "diskSizeGB": 1023,
+ "toBeDetached": false
+ },
+ {
+ "caching": "None",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "Empty",
+ "lun": 1,
+ "diskSizeGB": 1023,
+ "toBeDetached": false
+ }
+ ]
+ },
+ "vmId": "3906fef9-a1e5-4b83-a8a8-540858b41df0",
+ "hardwareProfile": {
+ "vmSize": "Standard_D2_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithPasswordAuthentication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithPasswordAuthentication.json
new file mode 100644
index 000000000000..cdc2fb319f3b
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithPasswordAuthentication.json
@@ -0,0 +1,153 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmName": "myVM",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "name": "myVMosdisk",
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "computerName": "myVM",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "osType": "Windows",
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "name": "myVMosdisk",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ }
+ },
+ "dataDisks": []
+ },
+ "vmId": "b248db33-62ba-4d2d-b791-811e075ee0f5",
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "osType": "Windows",
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "name": "myVMosdisk",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ }
+ },
+ "dataDisks": []
+ },
+ "vmId": "b248db33-62ba-4d2d-b791-811e075ee0f5",
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithPremiumStorage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithPremiumStorage.json
new file mode 100644
index 000000000000..9e56529d4ab8
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithPremiumStorage.json
@@ -0,0 +1,153 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmName": "myVM",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Premium_LRS"
+ },
+ "name": "myVMosdisk",
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "computerName": "myVM",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "osType": "Windows",
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "name": "myVMosdisk",
+ "managedDisk": {
+ "storageAccountType": "Premium_LRS"
+ }
+ },
+ "dataDisks": []
+ },
+ "vmId": "a149cd25-409f-41af-8088-275f5486bc93",
+ "hardwareProfile": {
+ "vmSize": "Standard_DS1_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "osType": "Windows",
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "name": "myVMosdisk",
+ "managedDisk": {
+ "storageAccountType": "Premium_LRS"
+ }
+ },
+ "dataDisks": []
+ },
+ "vmId": "a149cd25-409f-41af-8088-275f5486bc93",
+ "hardwareProfile": {
+ "vmSize": "Standard_DS1_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithSshAuthentication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithSshAuthentication.json
new file mode 100644
index 000000000000..cc5dcc09b2cf
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithSshAuthentication.json
@@ -0,0 +1,177 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmName": "myVM",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "{image_sku}",
+ "publisher": "{image_publisher}",
+ "version": "latest",
+ "offer": "{image_offer}"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "name": "myVMosdisk",
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "computerName": "myVM",
+ "linuxConfiguration": {
+ "ssh": {
+ "publicKeys": [
+ {
+ "path": "/home/{your-username}/.ssh/authorized_keys",
+ "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1"
+ }
+ ]
+ },
+ "disablePasswordAuthentication": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "linuxConfiguration": {
+ "ssh": {
+ "publicKeys": [
+ {
+ "path": "/home/{your-username}/.ssh/authorized_keys",
+ "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1"
+ }
+ ]
+ },
+ "disablePasswordAuthentication": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "16.04-LTS",
+ "publisher": "Canonical",
+ "version": "latest",
+ "offer": "UbuntuServer"
+ },
+ "osDisk": {
+ "osType": "Linux",
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "name": "myVMosdisk",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ }
+ },
+ "dataDisks": []
+ },
+ "vmId": "e0de9b84-a506-4b95-9623-00a425d05c90",
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "linuxConfiguration": {
+ "ssh": {
+ "publicKeys": [
+ {
+ "path": "/home/{your-username}/.ssh/authorized_keys",
+ "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1"
+ }
+ ]
+ },
+ "disablePasswordAuthentication": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "16.04-LTS",
+ "publisher": "Canonical",
+ "version": "latest",
+ "offer": "UbuntuServer"
+ },
+ "osDisk": {
+ "osType": "Linux",
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "name": "myVMosdisk",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ }
+ },
+ "dataDisks": []
+ },
+ "vmId": "e0de9b84-a506-4b95-9623-00a425d05c90",
+ "hardwareProfile": {
+ "vmSize": "Standard_D1_v2"
+ },
+ "provisioningState": "Creating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnAvailabilitySet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnAvailabilitySet.json
new file mode 100644
index 000000000000..0b034a17a888
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnAvailabilitySet.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "availabilitySetName": "myAvailabilitySet",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "platformFaultDomainCount": 2,
+ "platformUpdateDomainCount": 20
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "Classic"
+ },
+ "name": "myAvailabilitySet",
+ "properties": {
+ "platformFaultDomainCount": 2,
+ "platformUpdateDomainCount": 20
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/availabilitySets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/myAvailabilitySet"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnEmptyManagedDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnEmptyManagedDisk.json
new file mode 100644
index 000000000000..8cffe4653a4c
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnEmptyManagedDisk.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "diskName": "myDisk",
+ "disk": {
+ "location": "West US",
+ "properties": {
+ "creationData": {
+ "createOption": "Empty"
+ },
+ "diskSizeGB": 200
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "properties": {
+ "creationData": {
+ "createOption": "Empty"
+ },
+ "diskSizeGB": 200,
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "myDisk"
+ }
+ },
+ "200": {
+ "body": {
+ "properties": {
+ "creationData": {
+ "createOption": "Empty"
+ },
+ "diskSizeGB": 200,
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "myDisk"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromABlob.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromABlob.json
new file mode 100644
index 000000000000..192cbe979bc8
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromABlob.json
@@ -0,0 +1,62 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "imageName": "myImage",
+ "parameters": {
+ "location": "West US",
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
+ "osState": "Generalized"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "osState": "Generalized",
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
+ "caching": "ReadWrite"
+ },
+ "dataDisks": []
+ },
+ "provisioningState": "Creating"
+ },
+ "type": "Microsoft.Compute/images",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/disk/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "osState": "Generalized",
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
+ "caching": "ReadWrite"
+ },
+ "dataDisks": []
+ },
+ "provisioningState": "Creating"
+ },
+ "type": "Microsoft.Compute/images",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/disk/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromABlobWithDiskEncryptionSet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromABlobWithDiskEncryptionSet.json
new file mode 100644
index 000000000000..3536694c5a4a
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromABlobWithDiskEncryptionSet.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "imageName": "myImage",
+ "parameters": {
+ "location": "West US",
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ },
+ "osState": "Generalized"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "osState": "Generalized",
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ },
+ "caching": "ReadWrite"
+ },
+ "dataDisks": []
+ },
+ "provisioningState": "Creating"
+ },
+ "type": "Microsoft.Compute/images",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/disk/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "osState": "Generalized",
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ },
+ "caching": "ReadWrite"
+ },
+ "dataDisks": []
+ },
+ "provisioningState": "Creating"
+ },
+ "type": "Microsoft.Compute/images",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/disk/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAManagedDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAManagedDisk.json
new file mode 100644
index 000000000000..5d6f7761a5b4
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAManagedDisk.json
@@ -0,0 +1,68 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "imageName": "myImage",
+ "parameters": {
+ "location": "West US",
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "managedDisk": {
+ "id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk"
+ },
+ "osState": "Generalized"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "managedDisk": {
+ "id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk"
+ },
+ "osState": "Generalized",
+ "caching": "ReadWrite"
+ },
+ "dataDisks": []
+ },
+ "provisioningState": "Creating"
+ },
+ "type": "Microsoft.Compute/images",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/disk/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "managedDisk": {
+ "id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk"
+ },
+ "osState": "Generalized",
+ "caching": "ReadWrite"
+ },
+ "dataDisks": []
+ },
+ "provisioningState": "Creating"
+ },
+ "type": "Microsoft.Compute/images",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/disk/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAManagedDiskWithDiskEncryptionSet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAManagedDiskWithDiskEncryptionSet.json
new file mode 100644
index 000000000000..eaad87dd0151
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAManagedDiskWithDiskEncryptionSet.json
@@ -0,0 +1,77 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "imageName": "myImage",
+ "parameters": {
+ "location": "West US",
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "managedDisk": {
+ "id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk"
+ },
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ },
+ "osState": "Generalized"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "managedDisk": {
+ "id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk"
+ },
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ },
+ "osState": "Generalized",
+ "caching": "ReadWrite"
+ },
+ "dataDisks": []
+ },
+ "provisioningState": "Creating"
+ },
+ "type": "Microsoft.Compute/images",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/disk/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "managedDisk": {
+ "id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk"
+ },
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ },
+ "osState": "Generalized",
+ "caching": "ReadWrite"
+ },
+ "dataDisks": []
+ },
+ "provisioningState": "Creating"
+ },
+ "type": "Microsoft.Compute/images",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/disk/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromASnapshot.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromASnapshot.json
new file mode 100644
index 000000000000..75ed945d1412
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromASnapshot.json
@@ -0,0 +1,68 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "imageName": "myImage",
+ "parameters": {
+ "location": "West US",
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "snapshot": {
+ "id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
+ },
+ "osState": "Generalized"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "snapshot": {
+ "id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
+ },
+ "osState": "Generalized",
+ "caching": "ReadWrite"
+ },
+ "dataDisks": []
+ },
+ "provisioningState": "Creating"
+ },
+ "type": "Microsoft.Compute/images",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/disk/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "snapshot": {
+ "id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
+ },
+ "osState": "Generalized",
+ "caching": "ReadWrite"
+ },
+ "dataDisks": []
+ },
+ "provisioningState": "Creating"
+ },
+ "type": "Microsoft.Compute/images",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/disk/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromASnapshotWithDiskEncryptionSet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromASnapshotWithDiskEncryptionSet.json
new file mode 100644
index 000000000000..63788cf408de
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromASnapshotWithDiskEncryptionSet.json
@@ -0,0 +1,77 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "imageName": "myImage",
+ "parameters": {
+ "location": "West US",
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "snapshot": {
+ "id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
+ },
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ },
+ "osState": "Generalized"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "snapshot": {
+ "id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
+ },
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ },
+ "osState": "Generalized",
+ "caching": "ReadWrite"
+ },
+ "dataDisks": []
+ },
+ "provisioningState": "Creating"
+ },
+ "type": "Microsoft.Compute/images",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/disk/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "snapshot": {
+ "id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
+ },
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ },
+ "osState": "Generalized",
+ "caching": "ReadWrite"
+ },
+ "dataDisks": []
+ },
+ "provisioningState": "Creating"
+ },
+ "type": "Microsoft.Compute/images",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/disk/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAVM.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAVM.json
new file mode 100644
index 000000000000..20039c541b32
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAVM.json
@@ -0,0 +1,68 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "imageName": "myImage",
+ "parameters": {
+ "location": "West US",
+ "properties": {
+ "sourceVirtualMachine": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "sourceVirtualMachine": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM"
+ },
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "osState": "Generalized",
+ "managedDisk": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVM_OsDisk_1_6dc293b7d811433196903acf92665022"
+ },
+ "caching": "ReadWrite"
+ },
+ "dataDisks": []
+ },
+ "provisioningState": "Creating"
+ },
+ "type": "Microsoft.Compute/images",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/disk/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "sourceVirtualMachine": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM"
+ },
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "osState": "Generalized",
+ "managedDisk": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myVM_OsDisk_1_6dc293b7d811433196903acf92665022"
+ },
+ "caching": "ReadWrite"
+ },
+ "dataDisks": []
+ },
+ "provisioningState": "Creating"
+ },
+ "type": "Microsoft.Compute/images",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/disk/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromABlob.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromABlob.json
new file mode 100644
index 000000000000..c4d1aa07e629
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromABlob.json
@@ -0,0 +1,78 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "imageName": "myImage",
+ "parameters": {
+ "location": "West US",
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
+ "osState": "Generalized"
+ },
+ "dataDisks": [
+ {
+ "lun": 1,
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/dataimages/dataimage.vhd"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "osState": "Generalized",
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
+ "caching": "ReadWrite"
+ },
+ "dataDisks": [
+ {
+ "lun": 1,
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/dataimages/dataimage.vhd"
+ }
+ ]
+ },
+ "provisioningState": "Creating"
+ },
+ "type": "Microsoft.Compute/images",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/disk/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "osState": "Generalized",
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
+ "caching": "ReadWrite"
+ },
+ "dataDisks": [
+ {
+ "lun": 1,
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/dataimages/dataimage.vhd"
+ }
+ ]
+ },
+ "provisioningState": "Creating"
+ },
+ "type": "Microsoft.Compute/images",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/disk/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromAManagedDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromAManagedDisk.json
new file mode 100644
index 000000000000..124198ee9856
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromAManagedDisk.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "imageName": "myImage",
+ "parameters": {
+ "location": "West US",
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "managedDisk": {
+ "id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk"
+ },
+ "osState": "Generalized"
+ },
+ "dataDisks": [
+ {
+ "lun": 1,
+ "managedDisk": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2"
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "managedDisk": {
+ "id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk"
+ },
+ "osState": "Generalized",
+ "caching": "ReadWrite"
+ },
+ "dataDisks": [
+ {
+ "lun": 1,
+ "managedDisk": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2"
+ }
+ }
+ ]
+ },
+ "provisioningState": "Creating"
+ },
+ "type": "Microsoft.Compute/images",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/disk/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "managedDisk": {
+ "id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk"
+ },
+ "osState": "Generalized",
+ "caching": "ReadWrite"
+ },
+ "dataDisks": [
+ {
+ "lun": 1,
+ "managedDisk": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2"
+ }
+ }
+ ]
+ },
+ "provisioningState": "Creating"
+ },
+ "type": "Microsoft.Compute/images",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/disk/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromASnapshot.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromASnapshot.json
new file mode 100644
index 000000000000..2712e8bf9abe
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageThatIncludesADataDiskFromASnapshot.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "imageName": "myImage",
+ "parameters": {
+ "location": "West US",
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "snapshot": {
+ "id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
+ },
+ "osState": "Generalized"
+ },
+ "dataDisks": [
+ {
+ "lun": 1,
+ "snapshot": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2"
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "snapshot": {
+ "id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
+ },
+ "osState": "Generalized",
+ "caching": "ReadWrite"
+ },
+ "dataDisks": [
+ {
+ "lun": 1,
+ "snapshot": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2"
+ }
+ }
+ ]
+ },
+ "provisioningState": "Creating"
+ },
+ "type": "Microsoft.Compute/images",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/disk/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Linux",
+ "snapshot": {
+ "id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
+ },
+ "osState": "Generalized",
+ "caching": "ReadWrite"
+ },
+ "dataDisks": [
+ {
+ "lun": 1,
+ "snapshot": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2"
+ }
+ }
+ ]
+ },
+ "provisioningState": "Creating"
+ },
+ "type": "Microsoft.Compute/images",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/disk/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateADedicatedHost.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateADedicatedHost.json
new file mode 100644
index 000000000000..be99526847e4
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateADedicatedHost.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-10-01",
+ "parameters": {
+ "location": "westus",
+ "tags": {
+ "department": "HR"
+ },
+ "properties": {
+ "platformFaultDomain": 1
+ },
+ "sku": {
+ "name": "DSv3-Type1"
+ }
+ },
+ "hostGroupName": "myDedicatedHostGroup",
+ "hostName": "myDedicatedHost"
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myDedicatedHost",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/HostGroups/myDedicatedHostGroup/hosts/myDedicatedHost",
+ "tags": {
+ "department": "HR"
+ },
+ "sku": {
+ "name": "DSv3-Type1"
+ },
+ "properties": {
+ "platformFaultDomain": 1,
+ "autoReplaceOnFailure": true,
+ "hostId": "{GUID}"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "properties": {
+ "platformFaultDomain": 1,
+ "autoReplaceOnFailure": false,
+ "licenseType": "Windows_Server_Hybrid",
+ "hostId": "{GUID}"
+ },
+ "location": "westus",
+ "tags": {
+ "department": "HR"
+ },
+ "name": "myDedicatedHost",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/HostGroups/myDedicatedHostGroup/hosts/myDedicatedHost",
+ "sku": {
+ "name": "DSv3-Type1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateADedicatedHostGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateADedicatedHostGroup.json
new file mode 100644
index 000000000000..3d4ec8a42903
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateADedicatedHostGroup.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-10-01",
+ "hostGroupName": "myDedicatedHostGroup",
+ "parameters": {
+ "location": "westus",
+ "tags": {
+ "department": "finance"
+ },
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "platformFaultDomainCount": 3
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myDedicatedHostGroup",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/HostGroups/myDedicatedHostGroup",
+ "tags": {
+ "department": "finance"
+ },
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "platformFaultDomainCount": 3,
+ "hosts": []
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "properties": {
+ "platformFaultDomainCount": 3,
+ "hosts": []
+ },
+ "location": "westus",
+ "tags": {
+ "department": "finance",
+ "owner": "myCompany"
+ },
+ "name": "myDedicatedHostGroup",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/HostGroups/myDedicatedHostGroup",
+ "zones": [
+ "1"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateAProximityPlacementGroup.json
new file mode 100644
index 000000000000..81e18a1fa387
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateAProximityPlacementGroup.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "proximityPlacementGroupName": "myProximityPlacementGroup",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "proximityPlacementGroupType": "Standard"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myProximityPlacementGroup",
+ "properties": {
+ "proximityPlacementGroupType": "Standard"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/proximityPlacementGroups",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup"
+ }
+ },
+ "201": {
+ "body": {
+ "name": "myProximityPlacementGroup",
+ "properties": {
+ "proximityPlacementGroupType": "Standard"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/proximityPlacementGroups",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateVirtualMachineScaleSetVMExtensions.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateVirtualMachineScaleSetVMExtensions.json
new file mode 100644
index 000000000000..080c96490c75
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateVirtualMachineScaleSetVMExtensions.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "myvmScaleSet",
+ "instanceId": "0",
+ "vmExtensionName":"myVMExtension",
+ "api-version": "2019-07-01",
+ "extensionParameters": {
+ "location": "westus",
+ "properties": {
+ "autoUpgradeMinorVersion": true,
+ "publisher": "extPublisher",
+ "type": "extType",
+ "typeHandlerVersion": "1.2",
+ "settings": { "UserName": "xyz@microsoft.com" }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myVMExtension",
+ "location": "westus",
+ "type":"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension",
+ "properties": {
+ "autoUpgradeMinorVersion": true,
+ "provisioningState": "Creating",
+ "publisher": "extPublisher",
+ "type": "extType",
+ "typeHandlerVersion": "1.2",
+ "settings": {"UserName":"xyz@microsoft.com"}
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "myVMExtension",
+ "location": "westus",
+ "type":"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension",
+ "properties": {
+ "autoUpgradeMinorVersion": true,
+ "provisioningState": "Creating",
+ "publisher": "extPublisher",
+ "type": "extType",
+ "typeHandlerVersion": "1.2",
+ "settings": {"UserName":"xyz@microsoft.com"}
+ }
+ }
+ }
+ }
+ }
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteADiskEncryptionSet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteADiskEncryptionSet.json
new file mode 100644
index 000000000000..a33b02d8bbc9
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteADiskEncryptionSet.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "diskEncryptionSetName": "myDiskEncryptionSet",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAProximityPlacementGroup.json
new file mode 100644
index 000000000000..78c6df17f36c
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAProximityPlacementGroup.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "proximityPlacementGroupName": "myProximityPlacementGroup",
+ "parameters": {}
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteVirtualMachineScaleSetVMExtensions.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteVirtualMachineScaleSetVMExtensions.json
new file mode 100644
index 000000000000..caba488648b0
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteVirtualMachineScaleSetVMExtensions.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "myvmScaleSet",
+ "instanceId": "0",
+ "vmExtensionName":"myVMExtension",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+ }
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetADedicatedHost.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetADedicatedHost.json
new file mode 100644
index 000000000000..0da47da294d4
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetADedicatedHost.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-10-01",
+ "hostGroupName": "myDedicatedHostGroup",
+ "hostName": "myHost"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "platformFaultDomain": 1,
+ "autoReplaceOnFailure": true,
+ "hostId": "{GUID}",
+ "provisioningTime": "2019-06-27T01:02:38.3138469+00:00",
+ "virtualMachines": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/vm1"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "instanceView": {
+ "assetId": "eb3f58b8-b4e8-4882-b69f-301a01812407",
+ "availableCapacity": {
+ "allocatableVMs": [
+ {
+ "vmSize": "Standard_A1",
+ "count": 10
+ }
+ ]
+ },
+ "statuses": [
+ {
+ "code": "ProvisioningState/succeeded",
+ "level": "Info",
+ "displayStatus": "Provisioning succeeded"
+ },
+ {
+ "code": "HealthState/available",
+ "level": "Info",
+ "displayStatus": "Host available"
+ }
+ ]
+ }
+ },
+ "location": "westus",
+ "tags": {
+ "department": "HR"
+ },
+ "sku": {
+ "name": "DSv3-Type1"
+ },
+ "name": "myHost"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetADedicatedHostGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetADedicatedHostGroup.json
new file mode 100644
index 000000000000..f383d65e8771
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetADedicatedHostGroup.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-10-01",
+ "hostGroupName": "myDedicatedHostGroup"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "platformFaultDomainCount": 3,
+ "hosts": [
+ {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/myDedicatedHostGroup/myHostGroup/Hosts/myHost1"
+ },
+ {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/myDedicatedHostGroup/myHostGroup/Hosts/myHost2"
+ }
+ ]
+ },
+ "location": "westus",
+ "tags": {
+ "{tagName}": "{tagValue}"
+ },
+ "name": "myDedicatedHostGroup",
+ "zones": [
+ "3"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAProximityPlacementGroup.json
new file mode 100644
index 000000000000..6aa8dad877ec
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAProximityPlacementGroup.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "proximityPlacementGroupName": "myProximityPlacementGroup",
+ "parameters": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myProximityPlacementGroup",
+ "properties": {
+ "proximityPlacementGroupType": "Standard",
+ "virtualMachines": [
+ {
+ "id": "string"
+ }
+ ],
+ "virtualMachineScaleSets": [
+ {
+ "id": "string"
+ }
+ ],
+ "availabilitySets": [
+ {
+ "id": "string"
+ }
+ ]
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/proximityPlacementGroups",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutADiskEncryptionSet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutADiskEncryptionSet.json
new file mode 100644
index 000000000000..4226d9f36200
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutADiskEncryptionSet.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "diskEncryptionSetName": "myDiskEncryptionSet"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "properties": {
+ "activeKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ },
+ "previousKeys": [],
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/diskEncryptionSet",
+ "location": "westus",
+ "tags": {
+ "department": "Development",
+ "project": "Encryption"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet",
+ "name": "myDiskEncryptionSet"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutAManagedDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutAManagedDisk.json
new file mode 100644
index 000000000000..7b81f6786542
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutAManagedDisk.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "diskName": "myManagedDisk"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "managedBy": "/subscriptions/123caaa-123v-v211-a49f-f88ccac5bf88/resourceGroups/ResourceGroupName/providers/Microsoft.Compute/virtualMachines/TestVM414689371c88843d65ec",
+ "sku": {
+ "name": "Standard_LRS"
+ },
+ "properties": {
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "Empty"
+ },
+ "diskSizeGB": 10,
+ "encryptionSettingsCollection": {
+ "enabled": true,
+ "encryptionSettings": [
+ {
+ "diskEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
+ },
+ "keyEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ }
+ }
+ ]
+ },
+ "encryption": {
+ "type": "EncryptionAtRestWithPlatformKey"
+ },
+ "timeCreated": "2016-12-28T04:41:35.079872+00:00",
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/disks",
+ "location": "westus",
+ "tags": {
+ "department": "Development",
+ "project": "ManagedDisks"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk",
+ "name": "myManagedDisk"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutASnapshot.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutASnapshot.json
new file mode 100644
index 000000000000..dbfb784cc43d
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutASnapshot.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "snapshotName": "mySnapshot"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "Empty"
+ },
+ "diskSizeGB": 100,
+ "encryptionSettingsCollection": {
+ "enabled": true,
+ "encryptionSettings": [
+ {
+ "diskEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
+ },
+ "keyEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ }
+ }
+ ]
+ },
+ "encryption": {
+ "type": "EncryptionAtRestWithPlatformKey"
+ },
+ "timeCreated": "2016-12-28T04:41:35.079872+00:00",
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/snapshots",
+ "location": "westus",
+ "tags": {
+ "department": "Development",
+ "project": "Snapshots"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot",
+ "name": "mySnapshot"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutAnImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutAnImage.json
new file mode 100644
index 000000000000..133e970821a1
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutAnImage.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "imageName": "myImage"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage",
+ "type": "Microsoft.Compute/images",
+ "location": "West US",
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Windows",
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
+ "snapshot": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1"
+ },
+ "managedDisk": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk1"
+ },
+ "osState": "Generalized",
+ "storageAccountType": "Standard_LRS",
+ "diskSizeGB": 20
+ },
+ "dataDisks": [
+ {
+ "lun": 1,
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/dataimages/dataimage.vhd",
+ "snapshot": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2"
+ },
+ "managedDisk": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2"
+ },
+ "storageAccountType": "Standard_LRS"
+ }
+ ]
+ },
+ "provisioningState": "created"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachine.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachine.json
new file mode 100644
index 000000000000..434d91c22485
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachine.json
@@ -0,0 +1,120 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmName": "myVM",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myVM",
+ "id" : "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type" : "Microsoft.Compute/virtualMachines",
+ "location": "West US",
+ "tags" : {
+ "myTag1" : "tagValue1"
+ },
+ "properties": {
+ "vmId" : "0f47b100-583c-48e3-a4c0-aefc2c9bbcc1",
+ "availabilitySet" : {
+ "id" : "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/my-AvailabilitySet"
+ },
+ "proximityPlacementGroup" : {
+ "id" : "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/my-ppg01"
+ },
+ "hardwareProfile" : {
+ "vmSize" : "Standard_DS3_v2"
+ },
+ "storageProfile" : {
+ "imageReference" : {
+ "publisher" : "MicrosoftWindowsServer",
+ "offer" : "WindowsServer",
+ "sku" : "2016-Datacenter",
+ "version" : "latest"
+ },
+ "osDisk" : {
+ "osType": "Windows",
+ "name": "myOsDisk",
+ "createOption": "FromImage",
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Premium_LRS",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myOsDisk"
+ },
+ "diskSizeGB": 30
+ },
+ "dataDisks" : [
+ {
+ "lun": 0,
+ "name": "myDataDisk0",
+ "createOption": "Empty",
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Premium_LRS",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk0"
+ },
+ "diskSizeGB": 30
+ },
+ {
+ "lun": 1,
+ "name": "myDataDisk1",
+ "createOption": "Attach",
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Premium_LRS",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk1"
+ },
+ "diskSizeGB": 100
+ }
+ ]
+ },
+ "osProfile" : {
+ "computerName" : "myVM",
+ "adminUsername" : "admin",
+ "windowsConfiguration" : {
+ "provisionVMAgent" : true,
+ "enableAutomaticUpdates" : false
+ },
+ "secrets" : [
+ ]
+ },
+ "networkProfile" : {
+ "networkInterfaces" : [{
+ "id" : "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{myNIC}"
+ }
+ ]
+ },
+ "diagnosticsProfile" : {
+ "bootDiagnostics" : {
+ "enabled" : true,
+ "storageUri" : "http://{myStorageAccount}.blob.core.windows.net"
+ }
+ },
+ "provisioningState" : "Succeeded"
+ },
+ "resources" : [{
+ "name" : "CustomScriptExtension-DSC",
+ "id" : "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM/extensions/CustomScriptExtension-DSC",
+ "type" : "Microsoft.Compute/virtualMachines/extensions",
+ "location" : "west us",
+ "tags" : {
+ "displayName" : "CustomScriptExtension-DSC"
+ },
+ "properties" : {
+ "autoUpgradeMinorVersion" : true,
+ "provisioningState" : "Succeeded",
+ "publisher" : "Microsoft.Compute",
+ "type" : "CustomScriptExtension",
+ "typeHandlerVersion" : "1.9",
+ "settings" : {
+ }
+ }
+ }]
+ }
+ }
+ }
+}
+
+
+
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineInstanceView.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineInstanceView.json
new file mode 100644
index 000000000000..fff895e335e0
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineInstanceView.json
@@ -0,0 +1,91 @@
+{
+ "parameters" : {
+ "subscriptionId" : "{subscription-id}",
+ "resourceGroupName" : "myResourceGroup",
+ "api-version" : "2019-07-01",
+ "vmName" : "myVM"
+ },
+ "responses" : {
+ "200" : {
+ "body" : {
+ "platformUpdateDomain" : 1,
+ "platformFaultDomain" : 1,
+ "computerName" : "myVM",
+ "osName" : "Windows Server 2016 Datacenter",
+ "osVersion" : "Microsoft Windows NT 10.0.14393.0",
+ "vmAgent" : {
+ "vmAgentVersion" : "2.7.41491.949",
+ "statuses" : [{
+ "code" : "ProvisioningState/succeeded",
+ "level" : "Info",
+ "displayStatus" : "Ready",
+ "message" : "GuestAgent is running and accepting new configurations.",
+ "time" : "2019-10-14T23:11:22+00:00"
+ }
+ ],
+ "extensionHandlers" : [{
+ "type" : "Microsoft.Azure.Security.IaaSAntimalware",
+ "typeHandlerVersion" : "1.5.5.9",
+ "status" : {
+ "code" : "ProvisioningState/succeeded",
+ "level" : "Info",
+ "displayStatus" : "Ready"
+ }
+ }
+ ]
+ },
+ "disks" : [
+ {
+ "name" : "myOsDisk",
+ "statuses" : [{
+ "code" : "ProvisioningState/succeeded",
+ "level" : "Info",
+ "displayStatus" : "Provisioning succeeded",
+ "time" : "2019-10-14T21:29:47.477089+00:00"
+ }
+ ]
+ },
+ {
+ "name" : "myDataDisk0",
+ "statuses" : [{
+ "code" : "ProvisioningState/succeeded",
+ "level" : "Info",
+ "displayStatus" : "Provisioning succeeded",
+ "time" : "2019-10-14T21:29:47.461517+00:00"
+ }
+ ]
+ }
+ ],
+ "bootDiagnostics" : {
+ "consoleScreenshotBlobUri" : "https://{myStorageAccount}.blob.core.windows.net/bootdiagnostics-myOsDisk/myOsDisk.screenshot.bmp",
+ "serialConsoleLogBlobUri" : "https://{myStorageAccount}.blob.core.windows.net/bootdiagnostics-myOsDisk/myOsDisk.serialconsole.log"
+ },
+ "extensions" : [{
+ "name" : "IaaSAntiMalware-ext0",
+ "type" : "Microsoft.Azure.Security.IaaSAntimalware",
+ "typeHandlerVersion" : "1.5.5.9",
+ "statuses" : [{
+ "code" : "ProvisioningState/succeeded",
+ "level" : "Info",
+ "displayStatus" : "Provisioning succeeded",
+ "message" : "Microsoft Antimalware enabled"
+ }
+ ]
+ }
+ ],
+ "hyperVGeneration" : "V1",
+ "statuses" : [{
+ "code" : "ProvisioningState/succeeded",
+ "level" : "Info",
+ "displayStatus" : "Provisioning succeeded",
+ "time" : "2019-10-14T21:30:12.8051917+00:00"
+ }, {
+ "code" : "PowerState/running",
+ "level" : "Info",
+ "displayStatus" : "VM running"
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineScaleSetVMExtensions.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineScaleSetVMExtensions.json
new file mode 100644
index 000000000000..5af5fe255613
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineScaleSetVMExtensions.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "myvmScaleSet",
+ "instanceId": "0",
+ "vmExtensionName":"myVMExtension",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "autoUpgradeMinorVersion": true,
+ "provisioningState": "Creating",
+ "publisher": "extPublisher",
+ "type": "extType",
+ "typeHandlerVersion": "1.2",
+ "settings": {"UserName":"xyz@microsoft.com"}
+ },
+ "name": "myVMExtension",
+ "location": "westus",
+ "type":"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension"
+ }
+ }
+ }
+ }
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListAvailabilitySetsInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListAvailabilitySetsInASubscription.json
new file mode 100644
index 000000000000..719e9496ee1e
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListAvailabilitySetsInASubscription.json
@@ -0,0 +1,85 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "api-version": "2019-07-01",
+ "$expand": "virtualMachines\\$ref"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
+ "type": "Microsoft.Compute/availabilitySets",
+ "location": "australiasoutheast",
+ "properties": {
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}"
+ }
+ ]
+ },
+ "sku": {
+ "name": "Classic"
+ }
+ },
+ {
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
+ "type": "Microsoft.Compute/availabilitySets",
+ "location": "australiasoutheast",
+ "properties": {
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}"
+ }
+ ]
+ },
+ "sku": {
+ "name": "Classic"
+ }
+ },
+ {
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
+ "type": "Microsoft.Compute/availabilitySets",
+ "location": "westcentralus",
+ "tags": {
+ "{tagName}": "{tagValue}"
+ },
+ "properties": {
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": []
+ },
+ "sku": {
+ "name": "Classic"
+ }
+ },
+ {
+ "name": "{availabilitySetName}",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
+ "type": "Microsoft.Compute/availabilitySets",
+ "location": "westcentralus",
+ "tags": {
+ "{tagName}": "{tagValue}"
+ },
+ "properties": {
+ "platformUpdateDomainCount": 5,
+ "platformFaultDomainCount": 3,
+ "virtualMachines": []
+ },
+ "sku": {
+ "name": "Classic"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListAvailableVmSizes_VirtualMachines.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListAvailableVmSizes_VirtualMachines.json
new file mode 100644
index 000000000000..80f61a9e8d94
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListAvailableVmSizes_VirtualMachines.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmName": "myVmName",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Standard_A1_V2",
+ "numberOfCores": 1,
+ "osDiskSizeInMB": 1047552,
+ "resourceDiskSizeInMB": 10240,
+ "memoryInMB": 2048,
+ "maxDataDiskCount": 2
+ },
+ {
+ "name": "Standard_A2_V2",
+ "numberOfCores": 2,
+ "osDiskSizeInMB": 1047552,
+ "resourceDiskSizeInMB": 20480,
+ "memoryInMB": 4096,
+ "maxDataDiskCount": 4
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInAResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInAResourceGroup.json
new file mode 100644
index 000000000000..60beaa08a3b6
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInAResourceGroup.json
@@ -0,0 +1,62 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "properties": {
+ "activeKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ },
+ "previousKeys": [],
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/diskEncryptionSet",
+ "location": "westus",
+ "tags": {
+ "department": "Development",
+ "project": "Encryption"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet",
+ "name": "myDiskEncryptionSet"
+ },
+ {
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "properties": {
+ "activeKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault2"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ },
+ "previousKeys": [],
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/diskEncryptionSet",
+ "location": "westus",
+ "tags": {
+ "department": "Development",
+ "project": "Encryption"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet2",
+ "name": "myDiskEncryptionSet2"
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskEncryptionSet?$skiptoken={token}"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInASubscription.json
new file mode 100644
index 000000000000..62655bcf80dc
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInASubscription.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "properties": {
+ "activeKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ },
+ "previousKeys": [],
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/diskEncryptionSet",
+ "location": "westus",
+ "tags": {
+ "department": "Development",
+ "project": "Encryption"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet",
+ "name": "myDiskEncryptionSet"
+ },
+ {
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "properties": {
+ "activeKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault2"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ },
+ "previousKeys": [],
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/diskEncryptionSet",
+ "location": "westus",
+ "tags": {
+ "department": "Development",
+ "project": "Encryption"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet2",
+ "name": "myDiskEncryptionSet2"
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskEncryptionSet?$skiptoken={token}"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListImagesInAResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListImagesInAResourceGroup.json
new file mode 100644
index 000000000000..1177e32ca71e
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListImagesInAResourceGroup.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage",
+ "type": "Microsoft.Compute/images",
+ "location": "West US",
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Windows",
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
+ "snapshot": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1"
+ },
+ "managedDisk": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk1"
+ },
+ "osState": "Generalized",
+ "storageAccountType": "Standard_LRS"
+ },
+ "dataDisks": [
+ {
+ "lun": 1,
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/dataimages/dataimage.vhd",
+ "snapshot": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2"
+ },
+ "managedDisk": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2"
+ },
+ "storageAccountType": "Standard_LRS"
+ }
+ ]
+ },
+ "provisioningState": "created"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListImagesInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListImagesInASubscription.json
new file mode 100644
index 000000000000..ed9d8d03c436
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListImagesInASubscription.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/myImage",
+ "name": "myImage",
+ "type": "Microsoft.Compute/images",
+ "location": "West US",
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "osType": "Windows",
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd",
+ "snapshot": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1"
+ },
+ "managedDisk": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk1"
+ },
+ "osState": "Generalized",
+ "storageAccountType": "Standard_LRS"
+ },
+ "dataDisks": [
+ {
+ "lun": 1,
+ "blobUri": "https://mystorageaccount.blob.core.windows.net/dataimages/dataimage.vhd",
+ "snapshot": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2"
+ },
+ "managedDisk": {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2"
+ },
+ "storageAccountType": "Standard_LRS"
+ }
+ ]
+ },
+ "provisioningState": "created"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListManagedDisksInAResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListManagedDisksInAResourceGroup.json
new file mode 100644
index 000000000000..84c83692e04e
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListManagedDisksInAResourceGroup.json
@@ -0,0 +1,120 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "Copy",
+ "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk"
+ },
+ "diskSizeGB": 200,
+ "encryptionSettingsCollection": {
+ "enabled": true,
+ "encryptionSettings": [
+ {
+ "diskEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
+ },
+ "keyEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ }
+ }
+ ]
+ },
+ "encryption": {
+ "type": "EncryptionAtRestWithPlatformKey"
+ },
+ "timeCreated": "2016-12-28T04:41:35.9278721+00:00",
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/disks",
+ "location": "westus",
+ "tags": {
+ "department": "Development",
+ "project": "ManagedDisks"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk",
+ "name": "myManagedDisk1"
+ },
+ {
+ "properties": {
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "Empty"
+ },
+ "diskSizeGB": 10,
+ "encryption": {
+ "type": "EncryptionAtRestWithPlatformKey"
+ },
+ "timeCreated": "2016-12-28T04:41:36.872242+00:00",
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/disks",
+ "location": "westus",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk",
+ "name": "myManagedDisk2"
+ },
+ {
+ "properties": {
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "FromImage",
+ "imageReference": {
+ "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}"
+ }
+ },
+ "diskSizeGB": 200,
+ "encryptionSettingsCollection": {
+ "enabled": true,
+ "encryptionSettings": [
+ {
+ "diskEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
+ },
+ "keyEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ }
+ }
+ ]
+ },
+ "encryption": {
+ "type": "EncryptionAtRestWithPlatformKey"
+ },
+ "timeCreated": "2016-12-28T04:41:36.3973934+00:00",
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/disks",
+ "location": "westus",
+ "tags": {
+ "department": "Development",
+ "project": "ManagedDisks"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk",
+ "name": "myManagedDisk3"
+ }
+ ],
+ "nextLink": "http://disksvchost:99/subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/Disks/myManagedDisk"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListManagedDisksInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListManagedDisksInASubscription.json
new file mode 100644
index 000000000000..49e05b8e5583
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListManagedDisksInASubscription.json
@@ -0,0 +1,119 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "Copy",
+ "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk1"
+ },
+ "diskSizeGB": 200,
+ "encryptionSettingsCollection": {
+ "enabled": true,
+ "encryptionSettings": [
+ {
+ "diskEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
+ },
+ "keyEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ }
+ }
+ ]
+ },
+ "encryption": {
+ "type": "EncryptionAtRestWithPlatformKey"
+ },
+ "timeCreated": "2016-12-28T04:41:35.9278721+00:00",
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/disks",
+ "location": "westus",
+ "tags": {
+ "department": "Development",
+ "project": "ManagedDisks"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk1",
+ "name": "myManagedDisk1"
+ },
+ {
+ "properties": {
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "Empty"
+ },
+ "diskSizeGB": 10,
+ "encryption": {
+ "type": "EncryptionAtRestWithPlatformKey"
+ },
+ "timeCreated": "2016-12-28T04:41:36.872242+00:00",
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/disks",
+ "location": "westus",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2",
+ "name": "myManagedDisk2"
+ },
+ {
+ "properties": {
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "FromImage",
+ "imageReference": {
+ "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}"
+ }
+ },
+ "diskSizeGB": 200,
+ "encryptionSettingsCollection": {
+ "enabled": true,
+ "encryptionSettings": [
+ {
+ "diskEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
+ },
+ "keyEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ }
+ }
+ ]
+ },
+ "encryption": {
+ "type": "EncryptionAtRestWithPlatformKey"
+ },
+ "timeCreated": "2016-12-28T04:41:36.3973934+00:00",
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/disks",
+ "location": "westus",
+ "tags": {
+ "department": "Development",
+ "project": "ManagedDisks"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk3",
+ "name": "myManagedDisk3"
+ }
+ ],
+ "nextLink": "http://disksvchost:99/subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/Disks/myManagedDisk"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListProximityPlacementGroupsInAResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListProximityPlacementGroupsInAResourceGroup.json
new file mode 100644
index 000000000000..af32461360c5
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListProximityPlacementGroupsInAResourceGroup.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "parameters": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "myProximityPlacementGroup",
+ "properties": {
+ "proximityPlacementGroupType": "Standard",
+ "virtualMachines": [
+ {
+ "id": "string"
+ }
+ ],
+ "virtualMachineScaleSets": [
+ {
+ "id": "string"
+ }
+ ],
+ "availabilitySets": [
+ {
+ "id": "string"
+ }
+ ]
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/proximityPlacementGroups",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup"
+ }
+ ],
+ "nextLink": "string"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListProximityPlacementGroupsInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListProximityPlacementGroupsInASubscription.json
new file mode 100644
index 000000000000..dc6802811c0e
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListProximityPlacementGroupsInASubscription.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "api-version": "2019-07-01",
+ "parameters": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "myProximityPlacementGroup",
+ "properties": {
+ "proximityPlacementGroupType": "Standard",
+ "virtualMachines": [
+ {
+ "id": "string"
+ }
+ ],
+ "virtualMachineScaleSets": [
+ {
+ "id": "string"
+ }
+ ],
+ "availabilitySets": [
+ {
+ "id": "string"
+ }
+ ]
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/proximityPlacementGroups",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup"
+ }
+ ],
+ "nextLink": "string"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListSnapshotsInAResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListSnapshotsInAResourceGroup.json
new file mode 100644
index 000000000000..843b2fe788d7
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListSnapshotsInAResourceGroup.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "Copy",
+ "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
+ },
+ "diskSizeGB": 200,
+ "encryptionSettingsCollection": {
+ "enabled": true,
+ "encryptionSettings": [
+ {
+ "diskEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
+ },
+ "keyEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ }
+ }
+ ]
+ },
+ "encryption": {
+ "type": "EncryptionAtRestWithPlatformKey"
+ },
+ "timeCreated": "2016-12-28T04:41:35.9278721+00:00",
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/snapshots",
+ "location": "westus",
+ "tags": {
+ "department": "Development",
+ "project": "Snapshots"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot",
+ "name": "mySnapshot"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListSnapshotsInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListSnapshotsInASubscription.json
new file mode 100644
index 000000000000..e833eabfade5
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListSnapshotsInASubscription.json
@@ -0,0 +1,99 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "Copy",
+ "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
+ },
+ "diskSizeGB": 200,
+ "encryptionSettingsCollection": {
+ "enabled": true,
+ "encryptionSettings": [
+ {
+ "diskEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
+ },
+ "keyEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ }
+ }
+ ]
+ },
+ "encryption": {
+ "type": "EncryptionAtRestWithPlatformKey"
+ },
+ "timeCreated": "2016-12-28T04:47:30.6630569+00:00",
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/snapshots",
+ "location": "westus",
+ "tags": {
+ "department": "Development",
+ "project": "Snapshots"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1",
+ "name": "mySnapshot1"
+ },
+ {
+ "properties": {
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "Import",
+ "storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
+ "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
+ },
+ "diskSizeGB": 200,
+ "encryptionSettingsCollection": {
+ "enabled": true,
+ "encryptionSettings": [
+ {
+ "diskEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
+ },
+ "keyEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ }
+ }
+ ]
+ },
+ "encryption": {
+ "type": "EncryptionAtRestWithPlatformKey"
+ },
+ "timeCreated": "2016-12-28T04:47:30.3247198+00:00",
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/snapshots",
+ "location": "westus",
+ "tags": {
+ "department": "Development",
+ "project": "Snapshots"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2",
+ "name": "mySnapshot2"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListVirtualMachineScaleSetVMExtensions.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListVirtualMachineScaleSetVMExtensions.json
new file mode 100644
index 000000000000..234274c9440b
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListVirtualMachineScaleSetVMExtensions.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "myvmScaleSet",
+ "instanceId": "0",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "autoUpgradeMinorVersion": true,
+ "provisioningState": "Succeeded",
+ "publisher": "extPublisher",
+ "type": "extType",
+ "typeHandlerVersion": "1.2",
+ "settings": {"UserName":"xyz@microsoft.com"}
+ },
+ "name": "myVMExtension",
+ "location": "westus",
+ "type":"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension"
+ },
+ {
+ "properties": {
+ "autoUpgradeMinorVersion": true,
+ "provisioningState": "Succeeded",
+ "publisher": "extPublisher1",
+ "type": "extType1",
+ "typeHandlerVersion": "1.0",
+ "settings": {"UserName":"xyz@microsoft.com"}
+ },
+ "name": "myVMExtension1",
+ "location": "westus",
+ "type":"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension1"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListVirtualMachinesInASubscriptionByLocation.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListVirtualMachinesInASubscriptionByLocation.json
new file mode 100644
index 000000000000..c06c0d7f91d1
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListVirtualMachinesInASubscriptionByLocation.json
@@ -0,0 +1,127 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "location": "eastus",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "vmId": "{vmId}",
+ "availabilitySet": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}"
+ },
+ "hardwareProfile": {
+ "vmSize": "Standard_A0"
+ },
+ "storageProfile": {
+ "imageReference": {
+ "publisher": "MicrosoftWindowsServer",
+ "offer": "WindowsServer",
+ "sku": "2012-R2-Datacenter",
+ "version": "4.127.20170406"
+ },
+ "osDisk": {
+ "osType": "Windows",
+ "name": "test",
+ "createOption": "FromImage",
+ "vhd": {
+ "uri": "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd"
+ },
+ "caching": "None",
+ "diskSizeGB": 127
+ },
+ "dataDisks": []
+ },
+ "osProfile": {
+ "computerName": "Test",
+ "adminUsername": "Foo12",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ },
+ "secrets": [],
+ "allowExtensionOperations": true
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}"
+ }
+ ]
+ },
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/virtualMachines",
+ "location": "eastus",
+ "tags": {
+ "RG": "rg",
+ "testTag": "1"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}",
+ "name": "{virtualMachineName}"
+ },
+ {
+ "properties": {
+ "vmId": "{vmId}",
+ "availabilitySet": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}"
+ },
+ "hardwareProfile": {
+ "vmSize": "Standard_A0"
+ },
+ "storageProfile": {
+ "imageReference": {
+ "publisher": "MicrosoftWindowsServer",
+ "offer": "WindowsServer",
+ "sku": "2012-R2-Datacenter",
+ "version": "4.127.20170406"
+ },
+ "osDisk": {
+ "osType": "Windows",
+ "name": "test",
+ "createOption": "FromImage",
+ "vhd": {
+ "uri": "https://{storageAccountName}.blob.core.windows.net/{containerName}/{vhdName}.vhd"
+ },
+ "caching": "None",
+ "diskSizeGB": 127
+ },
+ "dataDisks": []
+ },
+ "osProfile": {
+ "computerName": "Test",
+ "adminUsername": "Foo12",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ },
+ "secrets": [],
+ "allowExtensionOperations": true
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}"
+ }
+ ]
+ },
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/virtualMachines",
+ "location": "eastus",
+ "tags": {
+ "RG": "rg",
+ "testTag": "1"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}",
+ "name": "{virtualMachineName}"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/LogAnalyticsRequestRateByInterval.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/LogAnalyticsRequestRateByInterval.json
new file mode 100644
index 000000000000..cfcd632dcc54
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/LogAnalyticsRequestRateByInterval.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "location": "westus",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "intervalLength": "FiveMins",
+ "blobContainerSasUri": "https://somesasuri",
+ "fromTime": "2018-01-21T01:54:06.862601Z",
+ "toTime": "2018-01-23T01:54:06.862601Z",
+ "groupByResourceName": true
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "output": "https://crptestar4227.blob.core.windows.net:443/sascontainer/RequestRateByInterval_20180121-0154_20180123-0154.csv"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/LogAnalyticsThrottledRequests.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/LogAnalyticsThrottledRequests.json
new file mode 100644
index 000000000000..279212f47003
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/LogAnalyticsThrottledRequests.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "location": "westus",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "blobContainerSasUri": "https://somesasuri",
+ "fromTime": "2018-01-21T01:54:06.862601Z",
+ "toTime": "2018-01-23T01:54:06.862601Z",
+ "groupByOperationName": true,
+ "groupByResourceName": false
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "output": "https://crptestar4227.blob.core.windows.net:443/sascontainer/ThrottledRequests_20180121-0154_20180123-0154.csv"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/PatchAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/PatchAProximityPlacementGroup.json
new file mode 100644
index 000000000000..68d010c06e70
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/PatchAProximityPlacementGroup.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "proximityPlacementGroupName": "myProximityPlacementGroup",
+ "parameters": {
+ "tags": {
+ "additionalProp1": "string"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myProximityPlacementGroup",
+ "properties": {
+ "proximityPlacementGroupType": "Standard"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/proximityPlacementGroups",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ReapplyVirtualMachine.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ReapplyVirtualMachine.json
new file mode 100644
index 000000000000..2f83ad0708cc
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ReapplyVirtualMachine.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "ResourceGroup",
+ "api-version": "2019-07-01",
+ "vmName": "VMName"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ReimageVirtualMachine.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ReimageVirtualMachine.json
new file mode 100644
index 000000000000..d980861f9fb8
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ReimageVirtualMachine.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "vmName": "myVMName",
+ "parameters": {
+ "tempDisk": true
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateADiskEncryptionSet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateADiskEncryptionSet.json
new file mode 100644
index 000000000000..e6625fbed7ca
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateADiskEncryptionSet.json
@@ -0,0 +1,68 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "diskEncryptionSetName": "myDiskEncryptionSet",
+ "diskEncryptionSet": {
+ "properties": {
+ "activeKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ }
+ },
+ "tags": {
+ "department": "Development",
+ "project": "Encryption"
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "name": "myDiskEncryptionSet",
+ "location": "West US",
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "properties": {
+ "activeKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ },
+ "previousKeys": []
+ },
+ "tags": {
+ "department": "Development",
+ "project": "Encryption"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "myDiskEncryptionSet",
+ "location": "West US",
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "properties": {
+ "activeKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ },
+ "previousKeys": []
+ },
+ "tags": {
+ "department": "Development",
+ "project": "Encryption"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateVMDetachDataDiskUsingToBeDetachedProperty.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateVMDetachDataDiskUsingToBeDetachedProperty.json
new file mode 100644
index 000000000000..22fb3b3d2ac9
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateVMDetachDataDiskUsingToBeDetachedProperty.json
@@ -0,0 +1,208 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmName": "myVM",
+ "api-version": "2019-07-01",
+ "parameters": {
+ "properties": {
+ "hardwareProfile": {
+ "vmSize": "Standard_D2_v2"
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "name": "myVMosdisk",
+ "createOption": "FromImage"
+ },
+ "dataDisks": [
+ {
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "lun": 0,
+ "toBeDetached": true
+ },
+ {
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "lun": 1,
+ "toBeDetached": false
+ }
+ ]
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "computerName": "myVM",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "osType": "Windows",
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "name": "myVMosdisk",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ }
+ },
+ "dataDisks": [
+ {
+ "caching": "None",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "Empty",
+ "lun": 0,
+ "diskSizeGB": 1023,
+ "toBeDetached": true
+ },
+ {
+ "caching": "None",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "Empty",
+ "lun": 1,
+ "diskSizeGB": 1023,
+ "toBeDetached": false
+ }
+ ]
+ },
+ "vmId": "3906fef9-a1e5-4b83-a8a8-540858b41df0",
+ "hardwareProfile": {
+ "vmSize": "Standard_D2_v2"
+ },
+ "provisioningState": "Updating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "properties": {
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "computerName": "myVM",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic",
+ "properties": {
+ "primary": true
+ }
+ }
+ ]
+ },
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "osType": "Windows",
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "name": "myVMosdisk",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ }
+ },
+ "dataDisks": [
+ {
+ "caching": "None",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "Empty",
+ "lun": 0,
+ "diskSizeGB": 1023,
+ "toBeDetached": true
+ },
+ {
+ "caching": "None",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "Empty",
+ "lun": 1,
+ "diskSizeGB": 1023,
+ "toBeDetached": false
+ }
+ ]
+ },
+ "vmId": "3906fef9-a1e5-4b83-a8a8-540858b41df0",
+ "hardwareProfile": {
+ "vmSize": "Standard_D2_v2"
+ },
+ "provisioningState": "Updating"
+ },
+ "name": "myVM",
+ "location": "westus"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateVirtualMachineScaleSetVMExtensions.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateVirtualMachineScaleSetVMExtensions.json
new file mode 100644
index 000000000000..913b1afdee28
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateVirtualMachineScaleSetVMExtensions.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "myvmScaleSet",
+ "instanceId": "0",
+ "vmExtensionName":"myVMExtension",
+ "api-version": "2019-07-01",
+ "extensionParameters": {
+ "properties": {
+ "autoUpgradeMinorVersion": true,
+ "publisher": "extPublisher",
+ "type": "extType",
+ "typeHandlerVersion": "1.2",
+ "settings": { "UserName": "xyz@microsoft.com" }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myVMExtension",
+ "location": "westus",
+ "type":"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension",
+ "properties": {
+ "autoUpgradeMinorVersion": true,
+ "provisioningState": "Creating",
+ "publisher": "extPublisher",
+ "type": "extType",
+ "typeHandlerVersion": "1.2",
+ "settings": {"UserName":"xyz@microsoft.com"}
+ }
+ }
+ }
+ }
+ }
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/VMScaleSetExtensionRollingUpgrade.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/VMScaleSetExtensionRollingUpgrade.json
new file mode 100644
index 000000000000..be4329609574
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/VMScaleSetExtensionRollingUpgrade.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "{vmss-name}",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/VirtualMachineRunCommand.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/VirtualMachineRunCommand.json
new file mode 100644
index 000000000000..0d23098c8d67
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/VirtualMachineRunCommand.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "24fb23e3-6ba3-41f0-9b6e-e41131d5d61e",
+ "resourceGroupName": "crptestar98131",
+ "vmName": "vm3036",
+ "$top": 1,
+ "api-version": "2019-07-01",
+ "monitor": "true",
+ "parameters": {
+ "commandId": "RunPowerShellScript"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "code": "ComponentStatus/StdOut/succeeded",
+ "level": "Info",
+ "displayStatus": "Provisioning succeeded",
+ "message": "This is a sample script with parameters value1 value2"
+ },
+ {
+ "code": "ComponentStatus/StdErr/succeeded",
+ "level": "Info",
+ "displayStatus": "Provisioning succeeded",
+ "message": ""
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/VirtualMachineRunCommandGet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/VirtualMachineRunCommandGet.json
new file mode 100644
index 000000000000..1ce41b24b9aa
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/VirtualMachineRunCommandGet.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "subscriptionId": "24fb23e3-6ba3-41f0-9b6e-e41131d5d61e",
+ "location": "SoutheastAsia",
+ "commandId": "RunPowerShellScript",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "script": [
+ "param(",
+ " [string]$arg1,",
+ " [string]$arg2",
+ ")",
+ "Write-Host This is a sample script with parameters $arg1 $arg2"
+ ],
+ "parameters": [
+ {
+ "name": "arg1",
+ "type": "string",
+ "defaultValue": "value1"
+ },
+ {
+ "name": "arg2",
+ "type": "string",
+ "defaultValue": "value2"
+ }
+ ],
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "id": "RunPowerShellScript",
+ "osType": "Windows",
+ "label": "Executes a PowerShell script",
+ "description": "Custom multiline PowerShell script should be defined in script property. Optional parameters can be set in parameters property."
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/VirtualMachineRunCommandList.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/VirtualMachineRunCommandList.json
new file mode 100644
index 000000000000..db5580fda698
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/VirtualMachineRunCommandList.json
@@ -0,0 +1,85 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "location": "SoutheastAsia",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "id": "EnableRemotePS",
+ "osType": "Windows",
+ "label": "Enable remote PowerShell",
+ "description": "Configure the machine to enable remote PowerShell."
+ },
+ {
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "id": "IPConfig",
+ "osType": "Windows",
+ "label": "List IP configuration",
+ "description": "Shows detailed information for the IP address, subnet mask and default gateway for each adapter bound to TCP/IP."
+ },
+ {
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "id": "RunPowerShellScript",
+ "osType": "Windows",
+ "label": "Executes a PowerShell script",
+ "description": "Custom multiline PowerShell script should be defined in script property. Optional parameters can be set in parameters property."
+ },
+ {
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "id": "RunShellScript",
+ "osType": "Linux",
+ "label": "Executes a Linux shell script",
+ "description": "Custom multiline shell script should be defined in script property. Optional parameters can be set in parameters property."
+ },
+ {
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "id": "ifconfig",
+ "osType": "Linux",
+ "label": "List network configuration",
+ "description": "Get the configuration of all network interfaces."
+ },
+ {
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "id": "EnableAdminAccount",
+ "osType": "Windows",
+ "label": "Enable administrator account",
+ "description": "Checks if the local Administrator account is disabled, and if so enables it."
+ },
+ {
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "id": "ResetAccountPassword",
+ "osType": "Windows",
+ "label": "Reset built-in Administrator account password",
+ "description": "Reset built-in Administrator account password."
+ },
+ {
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "id": "RDPSettings",
+ "osType": "Windows",
+ "label": "Verify RDP Listener Settings",
+ "description": "Checks registry settings and domain policy settings. Suggests policy actions if machine is part of a domain or modifies the settings to default values."
+ },
+ {
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "id": "SetRDPPort",
+ "osType": "Windows",
+ "label": "Set Remote Desktop port",
+ "description": "Sets the default or user specified port number for Remote Desktop connections. Enables firewall rule for inbound access to the port."
+ },
+ {
+ "$schema": "http://schema.management.azure.com/schemas/2016-11-17/runcommands.json",
+ "id": "ResetRDPCert",
+ "osType": "Windows",
+ "label": "Restore RDP Authentication mode to defaults",
+ "description": "Removes the SSL certificate tied to the RDP listener and restores the RDP listerner security to default. Use this script if you see any issues with the certificate."
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/gallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/gallery.json
index 9af963b8fced..7b0e7cfe4b8d 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/gallery.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/gallery.json
@@ -2065,7 +2065,7 @@
"$ref": "#/definitions/ApiError"
}
},
- "description": "An error response from the Gallery service."
+ "description": "An error response from the Compute service."
},
"ApiError": {
"properties": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/runCommands.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/runCommands.json
new file mode 100644
index 000000000000..c208cfa0a01e
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/runCommands.json
@@ -0,0 +1,467 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "RunCommandsClient",
+ "description": "The Run Commands Client.",
+ "version": "2019-07-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json",
+ "text/json"
+ ],
+ "produces": [
+ "application/json",
+ "text/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands": {
+ "get": {
+ "tags": [
+ "VirtualMachineRunCommands"
+ ],
+ "operationId": "VirtualMachineRunCommands_List",
+ "x-ms-examples": {
+ "VirtualMachineRunCommandList": {
+ "$ref": "./examples/VirtualMachineRunCommandList.json"
+ }
+ },
+ "description": "Lists all available run commands for a subscription in a location.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location upon which run commands is queried.",
+ "pattern": "^[-\\w\\._]+$"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/RunCommandListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands/{commandId}": {
+ "get": {
+ "tags": [
+ "VirtualMachineRunCommands"
+ ],
+ "operationId": "VirtualMachineRunCommands_Get",
+ "x-ms-examples": {
+ "VirtualMachineRunCommandGet": {
+ "$ref": "./examples/VirtualMachineRunCommandGet.json"
+ }
+ },
+ "description": "Gets specific run command for a subscription in a location.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location upon which run commands is queried.",
+ "pattern": "^[-\\w\\._]+$"
+ },
+ {
+ "name": "commandId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The command id."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/RunCommandDocument"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommand": {
+ "post": {
+ "tags": [
+ "VirtualMachines"
+ ],
+ "operationId": "VirtualMachines_RunCommand",
+ "x-ms-examples": {
+ "VirtualMachineRunCommand": {
+ "$ref": "./examples/VirtualMachineRunCommand.json"
+ }
+ },
+ "description": "Run command on the VM.",
+ "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/RunCommandInput"
+ },
+ "description": "Parameters supplied to the Run command operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/RunCommandResult"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/runCommand": {
+ "post": {
+ "tags": [
+ "VirtualMachineScaleSetVMs"
+ ],
+ "operationId": "VirtualMachineScaleSetVMs_RunCommand",
+ "description": "Run command on a virtual machine in a VM scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "vmScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VM scale set."
+ },
+ {
+ "name": "instanceId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The instance ID of the virtual machine."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RunCommandInput"
+ },
+ "description": "Parameters supplied to the Run command operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/RunCommandResult"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "RunCommandInputParameter": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The run command parameter name."
+ },
+ "value": {
+ "type": "string",
+ "description": "The run command parameter value."
+ }
+ },
+ "required": [
+ "name",
+ "value"
+ ],
+ "description": "Describes the properties of a run command parameter."
+ },
+ "RunCommandInput": {
+ "properties": {
+ "commandId": {
+ "type": "string",
+ "description": "The run command id."
+ },
+ "script": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Optional. The script to be executed. When this value is given, the given script will override the default script of the command."
+ },
+ "parameters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RunCommandInputParameter"
+ },
+ "description": "The run command parameters."
+ }
+ },
+ "required": [
+ "commandId"
+ ],
+ "description": "Capture Virtual Machine parameters."
+ },
+ "RunCommandParameterDefinition": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The run command parameter name."
+ },
+ "type": {
+ "type": "string",
+ "description": "The run command parameter type."
+ },
+ "defaultValue": {
+ "type": "string",
+ "description": "The run command parameter default value."
+ },
+ "required": {
+ "type": "boolean",
+ "description": "The run command parameter required.",
+ "default": false
+ }
+ },
+ "required": [
+ "name",
+ "type"
+ ],
+ "description": "Describes the properties of a run command parameter."
+ },
+ "RunCommandDocumentBase": {
+ "properties": {
+ "$schema": {
+ "type": "string",
+ "description": "The VM run command schema."
+ },
+ "id": {
+ "type": "string",
+ "description": "The VM run command id."
+ },
+ "osType": {
+ "type": "string",
+ "description": "The Operating System type.",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
+ }
+ },
+ "label": {
+ "type": "string",
+ "description": "The VM run command label."
+ },
+ "description": {
+ "type": "string",
+ "description": "The VM run command description."
+ }
+ },
+ "required": [
+ "$schema",
+ "id",
+ "osType",
+ "label",
+ "description"
+ ],
+ "description": "Describes the properties of a Run Command metadata."
+ },
+ "RunCommandDocument": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/RunCommandDocumentBase"
+ }
+ ],
+ "properties": {
+ "script": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The script to be executed."
+ },
+ "parameters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RunCommandParameterDefinition"
+ },
+ "description": "The parameters used by the script."
+ }
+ },
+ "required": [
+ "script"
+ ],
+ "description": "Describes the properties of a Run Command."
+ },
+ "RunCommandListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RunCommandDocumentBase"
+ },
+ "description": "The list of virtual machine run commands."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of run commands. Call ListNext() with this to fetch the next page of run commands."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Virtual Machine operation response."
+ },
+ "InstanceViewStatus": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "The status code."
+ },
+ "level": {
+ "type": "string",
+ "description": "The level code.",
+ "enum": [
+ "Info",
+ "Warning",
+ "Error"
+ ],
+ "x-ms-enum": {
+ "name": "StatusLevelTypes",
+ "modelAsString": false
+ }
+ },
+ "displayStatus": {
+ "type": "string",
+ "description": "The short localizable label for the status."
+ },
+ "message": {
+ "type": "string",
+ "description": "The detailed status message, including for alerts and error messages."
+ },
+ "time": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The time of the status."
+ }
+ },
+ "description": "Instance view status."
+ },
+ "RunCommandResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InstanceViewStatus"
+ },
+ "description": "Run command operation response."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "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."
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/readme.md b/specification/compute/resource-manager/readme.md
index 2d93aff01922..c7976bba0417 100644
--- a/specification/compute/resource-manager/readme.md
+++ b/specification/compute/resource-manager/readme.md
@@ -34,7 +34,7 @@ These are the global settings for the Compute API.
title: ComputeManagementClient
description: Compute Client
openapi-type: arm
-tag: package-2019-07-01
+tag: package-2019-07
directive:
- where:
@@ -134,6 +134,10 @@ directive:
- $.definitions.DedicatedHostUpdate
suppress:
- RequiredPropertiesMissingInResourceModel
+ - where:
+ - $.definitions.DiskEncryptionSetParameters
+ suppress:
+ - RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.VirtualMachineScaleSetVM
@@ -155,10 +159,6 @@ directive:
- $.definitions.VirtualMachineImage
suppress:
- TrackedResourcePatchOperation
- - where:
- - $.definitions.VirtualMachineImageResource
- suppress:
- - TrackedResourceGetOperation
- where:
- $.definitions.Gallery
suppress:
@@ -172,13 +172,15 @@ directive:
suppress:
- TrackedResourcePatchOperation
+ - where:
+ - $.definitions.VirtualMachineImageResource
+ suppress:
+ - TrackedResourceGetOperation
- where:
- $.definitions.AdditionalCapabilities.properties.ultraSSDEnabled
suppress:
- DefinitionsPropertiesNamesCamelCase
-
-
- where:
- $.definitions.DiskProperties.properties.diskIOPSReadWrite
suppress:
@@ -187,6 +189,14 @@ directive:
- $.definitions.DiskUpdateProperties.properties.diskIOPSReadWrite
suppress:
- DefinitionsPropertiesNamesCamelCase
+ - where:
+ - $.definitions.DataDisk.properties.diskIOPSReadWrite
+ suppress:
+ - DefinitionsPropertiesNamesCamelCase
+ - where:
+ - $.definitions.VirtualMachineScaleSetDataDisk.properties.diskIOPSReadWrite
+ suppress:
+ - DefinitionsPropertiesNamesCamelCase
- where:
- $.definitions.ContainerService
@@ -196,6 +206,20 @@ directive:
- ACS service is deprecated so a PATCH endpoint won't be implemented
```
+### Tag: package-2019-07
+
+These settings apply only when `--tag=package-2019-07` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-07'
+input-file:
+- Microsoft.Compute/stable/2019-07-01/compute.json
+- Microsoft.Compute/stable/2019-07-01/runCommands.json
+- Microsoft.Compute/stable/2019-04-01/skus.json
+- Microsoft.Compute/stable/2019-07-01/disk.json
+- Microsoft.Compute/stable/2019-07-01/gallery.json
+- Microsoft.ContainerService/stable/2017-01-31/containerService.json
+```
+
### Tag: package-2019-07-01
These settings apply only when `--tag=package-2019-07-01` is specified on the command line.
@@ -205,7 +229,7 @@ input-file:
- Microsoft.Compute/stable/2019-03-01/compute.json
- Microsoft.Compute/stable/2019-03-01/runCommands.json
- Microsoft.Compute/stable/2019-04-01/skus.json
-- Microsoft.Compute/stable/2019-03-01/disk.json
+- Microsoft.Compute/stable/2019-07-01/disk.json
- Microsoft.Compute/stable/2019-07-01/gallery.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
```
From 0bea032eb3271653c3eef6ed6cec383e89ba63a8 Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Sun, 20 Oct 2019 23:56:58 +0000
Subject: [PATCH 004/189] regenerated all-api-versions
---
specification/compute/resource-manager/readme.md | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/specification/compute/resource-manager/readme.md b/specification/compute/resource-manager/readme.md
index c7976bba0417..014b11c56231 100644
--- a/specification/compute/resource-manager/readme.md
+++ b/specification/compute/resource-manager/readme.md
@@ -714,12 +714,15 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
- - $(this-folder)/Microsoft.Compute/stable/2019-03-01/compute.json
- - $(this-folder)/Microsoft.Compute/stable/2019-03-01/runCommands.json
+ - $(this-folder)/Microsoft.Compute/stable/2019-07-01/compute.json
+ - $(this-folder)/Microsoft.Compute/stable/2019-07-01/runCommands.json
- $(this-folder)/Microsoft.Compute/stable/2019-04-01/skus.json
- - $(this-folder)/Microsoft.Compute/stable/2019-03-01/disk.json
+ - $(this-folder)/Microsoft.Compute/stable/2019-07-01/disk.json
- $(this-folder)/Microsoft.Compute/stable/2019-07-01/gallery.json
- $(this-folder)/Microsoft.ContainerService/stable/2017-01-31/containerService.json
+ - $(this-folder)/Microsoft.Compute/stable/2019-03-01/compute.json
+ - $(this-folder)/Microsoft.Compute/stable/2019-03-01/runCommands.json
+ - $(this-folder)/Microsoft.Compute/stable/2019-03-01/disk.json
- $(this-folder)/Microsoft.Compute/stable/2019-03-01/gallery.json
- $(this-folder)/Microsoft.Compute/stable/2018-10-01/compute.json
- $(this-folder)/Microsoft.Compute/stable/2018-10-01/runCommands.json
From 4d8c0afb14b65ff9a4eeb1ab56222b44b79d009b Mon Sep 17 00:00:00 2001
From: Anirban Sarkar <33848291+asarkar84@users.noreply.github.com>
Date: Sun, 20 Oct 2019 18:00:38 -0700
Subject: [PATCH 005/189] Correcting the verbs from Create BillingProfile and
InvoiceSection as per code implementation (#7524)
* Billing RP spec changes for listInvoiceSectionsWithCreateSubscriptionPermission API
* Updated the operation id
* Added x-ms-pageable
* Added next link
* Deleted unused file ProductCancelByBillingAccount
* Incorporated review comments
Incorporated review comments
* Added new properties in Invoicing APIs
Added new properties in Invoicing APIs
* Incorporated review comments
Incorporated review comments
* Added invoiceEmailOptIn in the UpdateBillingProfile request
Added invoiceEmailOptIn in the UpdateBillingProfile request
* Update billing.json
* Updating the verbs from Create BillingProfile and InvoiceSection entities
Updating the verbs from Create BillingProfile and InvoiceSection entities
---
.../Microsoft.Billing/preview/2019-10-01-preview/billing.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json
index 69f44eb936eb..50946f431cad 100644
--- a/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json
+++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json
@@ -461,7 +461,7 @@
}
}
},
- "put": {
+ "post": {
"tags": [
"BillingProfiles"
],
@@ -718,7 +718,7 @@
}
}
},
- "put": {
+ "post": {
"tags": [
"InvoiceSections"
],
From b2d6bdb19cb22e051f03e188c3b71b14dde884a1 Mon Sep 17 00:00:00 2001
From: Sornakumar
Date: Sun, 20 Oct 2019 18:34:56 -0700
Subject: [PATCH 006/189] Updating swagger spec to fix billing plans schema in
catalogs response. (#7541)
---
.../2019-04-01/examples/GetCatalog.json | 26 ++++++++-----------
.../preview/2019-04-01/reservations.json | 21 +++++----------
2 files changed, 17 insertions(+), 30 deletions(-)
diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetCatalog.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetCatalog.json
index 8676291c7d5e..eef9cedf9faf 100644
--- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetCatalog.json
+++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetCatalog.json
@@ -15,20 +15,16 @@
"P1Y",
"P3Y"
],
- "billingPlans": [
- {
- "P1Y": [
- "Upfront",
- "Monthly"
- ]
- },
- {
- "P3Y": [
- "Upfront",
- "Monthly"
- ]
- }
- ],
+ "billingPlans": {
+ "P1Y": [
+ "Upfront",
+ "Monthly"
+ ],
+ "P3Y": [
+ "Upfront",
+ "Monthly"
+ ]
+ },
"locations": [
"eastus"
],
@@ -178,4 +174,4 @@
]
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json
index cb97e39ac050..a85dbf13e255 100644
--- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json
+++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json
@@ -737,21 +737,12 @@
"readOnly": true
},
"billingPlans": {
- "type": "array",
+ "type": "object",
"description": "The billing plan options available for this SKU.",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "$ref": "#/definitions/ReservationTerm",
- "description": "The term for the billing SKU is available for."
- }
- },
- "additionalProperties": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ReservationBillingPlan"
- }
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReservationBillingPlan"
}
}
},
@@ -1747,4 +1738,4 @@
"description": "Order Id of the reservation"
}
}
-}
+}
\ No newline at end of file
From 796f8ca8f9760cbd32cd3117496d6d53d9858608 Mon Sep 17 00:00:00 2001
From: Rohit Mahamuni <44378577+romahamu@users.noreply.github.com>
Date: Sun, 20 Oct 2019 21:50:42 -0400
Subject: [PATCH 007/189] Microsoft Azure StorageCache new API version (#7520)
* Update autorest config and swagger to support new API version 2019-11-01.
* Re-write description of some of the responses in Cache_Create.json and storagecache.json.
* Description updates.
Ready for re-review.
* Remove references to PATCH storagetarget
* Update C/ST_Create to C/ST_CreateOrUpdate
* Fix formatting.
* Fix tag name to align with previous version tags and GO SDK namespace.
---
.../examples/Caches_CreateOrUpdate.json | 91 +
.../2019-11-01/examples/Caches_Delete.json | 19 +
.../2019-11-01/examples/Caches_Flush.json | 16 +
.../2019-11-01/examples/Caches_Get.json | 44 +
.../2019-11-01/examples/Caches_List.json | 78 +
.../examples/Caches_ListByResourceGroup.json | 79 +
.../2019-11-01/examples/Caches_Start.json | 16 +
.../2019-11-01/examples/Caches_Stop.json | 16 +
.../2019-11-01/examples/Caches_Update.json | 57 +
.../examples/Caches_UpgradeFirmware.json | 16 +
.../2019-11-01/examples/Operations_List.json | 35 +
.../stable/2019-11-01/examples/Skus_List.json | 86 +
.../StorageTargets_CreateOrUpdate.json | 84 +
.../examples/StorageTargets_Delete.json | 20 +
.../examples/StorageTargets_Get.json | 37 +
.../examples/StorageTargets_ListByCache.json | 78 +
.../2019-11-01/examples/UsageModels_List.json | 35 +
.../stable/2019-11-01/storagecache.json | 1592 +++++++++++++++++
.../resource-manager/readme.csharp.md | 4 +-
.../resource-manager/readme.go.md | 19 +-
.../resource-manager/readme.java.md | 21 +
.../storagecache/resource-manager/readme.md | 14 +-
.../resource-manager/readme.ruby.md | 18 +
23 files changed, 2471 insertions(+), 4 deletions(-)
create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_CreateOrUpdate.json
create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Delete.json
create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Flush.json
create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Get.json
create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_List.json
create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_ListByResourceGroup.json
create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Start.json
create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Stop.json
create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Update.json
create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_UpgradeFirmware.json
create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Operations_List.json
create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Skus_List.json
create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/StorageTargets_CreateOrUpdate.json
create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/StorageTargets_Delete.json
create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/StorageTargets_Get.json
create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/StorageTargets_ListByCache.json
create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/UsageModels_List.json
create mode 100644 specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/storagecache.json
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_CreateOrUpdate.json
new file mode 100644
index 000000000000..6812f50e6099
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_CreateOrUpdate.json
@@ -0,0 +1,91 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-11-01",
+ "cache": {
+ "tags": {
+ "Dept": "Initech"
+ },
+ "location": "westus",
+ "properties": {
+ "cacheSizeGB": 3072,
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1"
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "tags": {
+ "Dept": "Initech"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1",
+ "location": "westus",
+ "name": "sc1",
+ "type": "Microsoft.StorageCache/Cache",
+ "properties": {
+ "cacheSizeGB": 3072,
+ "health": {
+ "state": "Transitioning",
+ "statusDescription": "Cache is being created."
+ },
+ "mountAddresses": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "provisioningState": "Booting",
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1",
+ "upgradeStatus": {
+ "currentFirmwareVersion": "5.3.23",
+ "firmwareUpdateStatus": "available",
+ "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z",
+ "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z",
+ "pendingFirmwareVersion": "5.3.24"
+ }
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "tags": {
+ "Dept": "Initech"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1",
+ "location": "westus",
+ "name": "sc1",
+ "type": "Microsoft.StorageCache/Cache",
+ "properties": {
+ "cacheSizeGB": 3072,
+ "health": {
+ "state": "Transitioning",
+ "statusDescription": "Cache is being created."
+ },
+ "mountAddresses": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "provisioningState": "Booting",
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1",
+ "upgradeStatus": {
+ "currentFirmwareVersion": "AvereOS V5.1.1.2",
+ "firmwareUpdateStatus": "available",
+ "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z",
+ "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z",
+ "pendingFirmwareVersion": "AvereOS V5.1.1.32"
+ }
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Delete.json
new file mode 100644
index 000000000000..b65bea0defb3
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Delete.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": ""
+ },
+ "202": {
+ "body": ""
+ },
+ "204": {
+ "body": ""
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Flush.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Flush.json
new file mode 100644
index 000000000000..2e8aa3d9dd6c
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Flush.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": ""
+ },
+ "202": {
+ "body": ""
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Get.json
new file mode 100644
index 000000000000..02212481047d
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Get.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "Dept": "Initech"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1",
+ "location": "westus",
+ "name": "sc1",
+ "type": "Microsoft.StorageCache/Cache",
+ "properties": {
+ "cacheSizeGB": 3072,
+ "health": {
+ "state": "Transitioning",
+ "statusDescription": "Cache is being created."
+ },
+ "mountAddresses": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "provisioningState": "Booting",
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1",
+ "upgradeStatus": {
+ "currentFirmwareVersion": "AvereOS V5.1.1.2",
+ "firmwareUpdateStatus": "available",
+ "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z",
+ "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z",
+ "pendingFirmwareVersion": "AvereOS V5.1.1.32"
+ }
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_List.json
new file mode 100644
index 000000000000..efb48385e3ba
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_List.json
@@ -0,0 +1,78 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "tags": {
+ "Dept": "Initech"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1",
+ "location": "westus",
+ "name": "sc1",
+ "type": "Microsoft.StorageCache/Cache",
+ "properties": {
+ "cacheSizeGB": 3072,
+ "health": {
+ "state": "Transitioning",
+ "statusDescription": "Cache is being created."
+ },
+ "mountAddresses": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "provisioningState": "Booting",
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1",
+ "upgradeStatus": {
+ "currentFirmwareVersion": "AvereOS V5.1.1.2",
+ "firmwareUpdateStatus": "available",
+ "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z",
+ "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z",
+ "pendingFirmwareVersion": "AvereOS V5.1.1.32"
+ }
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ },
+ {
+ "tags": {
+ "Dept": "Intertrode"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc2",
+ "location": "westus",
+ "name": "sc2",
+ "type": "Microsoft.StorageCache/Cache",
+ "properties": {
+ "cacheSizeGB": 3072,
+ "health": {
+ "state": "Transitioning",
+ "statusDescription": "Cache is being created."
+ },
+ "mountAddresses": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "provisioningState": "Configuring",
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub2",
+ "upgradeStatus": {
+ "currentFirmwareVersion": "AvereOS V5.1.1.2",
+ "firmwareUpdateStatus": "available",
+ "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z",
+ "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z",
+ "pendingFirmwareVersion": "AvereOS V5.1.1.32"
+ }
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_ListByResourceGroup.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_ListByResourceGroup.json
new file mode 100644
index 000000000000..3804ec3e7fe9
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_ListByResourceGroup.json
@@ -0,0 +1,79 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "tags": {
+ "Dept": "Initech"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1",
+ "location": "westus",
+ "name": "sc1",
+ "type": "Microsoft.StorageCache/Cache",
+ "properties": {
+ "cacheSizeGB": 3072,
+ "health": {
+ "state": "Transitioning",
+ "statusDescription": "Cache is being created."
+ },
+ "mountAddresses": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "provisioningState": "Booting",
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1",
+ "upgradeStatus": {
+ "currentFirmwareVersion": "AvereOS V5.1.1.2",
+ "firmwareUpdateStatus": "available",
+ "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z",
+ "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z",
+ "pendingFirmwareVersion": "AvereOS V5.1.1.32"
+ }
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ },
+ {
+ "tags": {
+ "Dept": "Intertrode"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc2",
+ "location": "westus",
+ "name": "sc2",
+ "type": "Microsoft.StorageCache/Cache",
+ "properties": {
+ "cacheSizeGB": 3072,
+ "health": {
+ "state": "Transitioning",
+ "statusDescription": "Cache is being created."
+ },
+ "mountAddresses": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "provisioningState": "Booting",
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub2",
+ "upgradeStatus": {
+ "currentFirmwareVersion": "AvereOS V5.1.1.2",
+ "firmwareUpdateStatus": "available",
+ "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z",
+ "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z",
+ "pendingFirmwareVersion": "AvereOS V5.1.1.32"
+ }
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Start.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Start.json
new file mode 100644
index 000000000000..2e8aa3d9dd6c
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Start.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": ""
+ },
+ "202": {
+ "body": ""
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Stop.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Stop.json
new file mode 100644
index 000000000000..2e8aa3d9dd6c
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Stop.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": ""
+ },
+ "202": {
+ "body": ""
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Update.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Update.json
new file mode 100644
index 000000000000..06b50b9286a0
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Update.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-11-01",
+ "cache": {
+ "tags": {
+ "Dept": "Initech"
+ },
+ "location": "westus",
+ "properties": {
+ "cacheSizeGB": 3072,
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1"
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "Dept": "Initech"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1",
+ "location": "westus",
+ "name": "sc1",
+ "type": "Microsoft.StorageCache/Cache",
+ "properties": {
+ "cacheSizeGB": 3072,
+ "health": {
+ "state": "Transitioning",
+ "statusDescription": "Cache is being created."
+ },
+ "mountAddresses": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "provisioningState": "Booting",
+ "subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1",
+ "upgradeStatus": {
+ "currentFirmwareVersion": "AvereOS V5.1.1.2",
+ "firmwareUpdateStatus": "available",
+ "firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z",
+ "lastFirmwareUpdate": "2019-01-21T18:25:43.511Z",
+ "pendingFirmwareVersion": "AvereOS V5.1.1.32"
+ }
+ },
+ "sku": {
+ "name": "Standard_2G"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_UpgradeFirmware.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_UpgradeFirmware.json
new file mode 100644
index 000000000000..0845633156e3
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_UpgradeFirmware.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "cacheName": "sc1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "201": {
+ "body": ""
+ },
+ "202": {
+ "body": ""
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Operations_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Operations_List.json
new file mode 100644
index 000000000000..f84333b394e5
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Operations_List.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "x-ms-client-request-id": [
+ "7e655b68-e491-4cb6-90c3-6a5b10b7bd17"
+ ],
+ "accept-language": [
+ "en-US"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.StorageCache/caches/write",
+ "display": {
+ "operation": "Create or Update Cache",
+ "provider": "Azure Storage Cache",
+ "resource": "Caches"
+ }
+ },
+ {
+ "name": "Microsoft.StorageCache/caches/delete",
+ "display": {
+ "operation": "Delete Cache",
+ "provider": "Azure Storage Cache",
+ "resource": "Caches"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Skus_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Skus_List.json
new file mode 100644
index 000000000000..2b3995bd37ff
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Skus_List.json
@@ -0,0 +1,86 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "resourceType": "caches",
+ "name": "Standard_2G",
+ "locations": [
+ "East US"
+ ],
+ "locationInfo": [
+ {
+ "location": "East US",
+ "zones": []
+ }
+ ],
+ "capabilities": [
+ {
+ "name": "throughput GB/s",
+ "value": "2"
+ },
+ {
+ "name": "cache sizes(GB)",
+ "value": "3072,6144,12288"
+ }
+ ],
+ "restrictions": []
+ },
+ {
+ "resourceType": "caches",
+ "name": "Standard_4G",
+ "locations": [
+ "East US"
+ ],
+ "locationInfo": [
+ {
+ "location": "East US",
+ "zones": []
+ }
+ ],
+ "capabilities": [
+ {
+ "name": "throughput GB/s",
+ "value": "4"
+ },
+ {
+ "name": "cache sizes(GB)",
+ "value": "6144,12288,24576"
+ }
+ ],
+ "restrictions": []
+ },
+ {
+ "resourceType": "caches",
+ "name": "Standard_8G",
+ "locations": [
+ "East US"
+ ],
+ "locationInfo": [
+ {
+ "location": "East US",
+ "zones": []
+ }
+ ],
+ "capabilities": [
+ {
+ "name": "throughput GB/s",
+ "value": "8"
+ },
+ {
+ "name": "cache sizes(GB)",
+ "value": "12288,24576,49152"
+ }
+ ],
+ "restrictions": []
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/StorageTargets_CreateOrUpdate.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/StorageTargets_CreateOrUpdate.json
new file mode 100644
index 000000000000..52cf6a67b059
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/StorageTargets_CreateOrUpdate.json
@@ -0,0 +1,84 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-11-01",
+ "cacheName": "sc1",
+ "storageTargetName": "st1",
+ "storagetarget": {
+ "properties": {
+ "junctions": [
+ {
+ "namespacePath": "/path/on/cache",
+ "targetPath": "/path/on/exp1",
+ "nfsExport": "exp1"
+ },
+ {
+ "namespacePath": "/path2/on/cache",
+ "targetPath": "/path2/on/exp2",
+ "nfsExport": "exp2"
+ }
+ ],
+ "targetType": "nfs3",
+ "nfs3": {
+ "target": "10.0.44.44",
+ "usageModel": "READ_HEAVY_INFREQ"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "st1",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1",
+ "type": "Microsoft.StorageCache/Cache/StorageTarget",
+ "properties": {
+ "junctions": [
+ {
+ "namespacePath": "/path/on/cache",
+ "targetPath": "/path/on/exp1",
+ "nfsExport": "exp1"
+ },
+ {
+ "namespacePath": "/path2/on/cache",
+ "targetPath": "/path2/on/exp2",
+ "nfsExport": "exp2"
+ }
+ ],
+ "targetType": "nfs3",
+ "nfs3": {
+ "target": "10.0.44.44",
+ "usageModel": "READ_HEAVY_INFREQ"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "st1",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1",
+ "type": "Microsoft.StorageCache/Cache/StorageTarget",
+ "properties": {
+ "junctions": [
+ {
+ "namespacePath": "/path/on/cache",
+ "targetPath": "/path/on/exp1",
+ "nfsExport": "exp1"
+ },
+ {
+ "namespacePath": "/path2/on/cache",
+ "targetPath": "/path2/on/exp2",
+ "nfsExport": "exp2"
+ }
+ ],
+ "targetType": "nfs3",
+ "nfs3": {
+ "target": "10.0.44.44",
+ "usageModel": "READ_HEAVY_INFREQ"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/StorageTargets_Delete.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/StorageTargets_Delete.json
new file mode 100644
index 000000000000..00ef5d2bb6b1
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/StorageTargets_Delete.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-11-01",
+ "cacheName": "sc1",
+ "storageTargetName": "st1"
+ },
+ "responses": {
+ "200": {
+ "body": ""
+ },
+ "202": {
+ "body": ""
+ },
+ "204": {
+ "body": ""
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/StorageTargets_Get.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/StorageTargets_Get.json
new file mode 100644
index 000000000000..ef8a6dc6e519
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/StorageTargets_Get.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-11-01",
+ "cacheName": "sc1",
+ "storageTargetName": "st1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "st1",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1",
+ "type": "Microsoft.StorageCache/Cache/StorageTarget",
+ "properties": {
+ "junctions": [
+ {
+ "namespacePath": "/path/on/cache",
+ "targetPath": "/path/on/exp1",
+ "nfsExport": "exp1"
+ },
+ {
+ "namespacePath": "/path2/on/cache",
+ "targetPath": "/path2/on/exp2",
+ "nfsExport": "exp2"
+ }
+ ],
+ "targetType": "nfs3",
+ "nfs3": {
+ "target": "10.0.44.44",
+ "usageModel": "READ_HEAVY_FREQ"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/StorageTargets_ListByCache.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/StorageTargets_ListByCache.json
new file mode 100644
index 000000000000..51b7244b1efa
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/StorageTargets_ListByCache.json
@@ -0,0 +1,78 @@
+{
+ "parameters": {
+ "resourceGroupName": "scgroup",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-11-01",
+ "cacheName": "sc1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "st1",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1",
+ "type": "Microsoft.StorageCache/Cache/StorageTarget",
+ "properties": {
+ "junctions": [
+ {
+ "namespacePath": "/path/on/cache",
+ "targetPath": "/path/on/exp1",
+ "nfsExport": "exp1"
+ },
+ {
+ "namespacePath": "/path2/on/cache",
+ "targetPath": "/path2/on/exp2",
+ "nfsExport": "exp2"
+ }
+ ],
+ "targetType": "nfs3",
+ "nfs3": {
+ "target": "10.0.44.44",
+ "usageModel": "READ_HEAVY_FREQ"
+ }
+ }
+ },
+ {
+ "name": "st2",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st2",
+ "type": "Microsoft.StorageCache/Cache/StorageTarget",
+ "properties": {
+ "junctions": [
+ {
+ "namespacePath": "/some/crazy/place/on/cache",
+ "targetPath": "/"
+ }
+ ],
+ "targetType": "clfs",
+ "clfs": {
+ "target": "https://atj5c2fc9b8c00.blob.core.windows.net/atj5c2fc9b8c01"
+ }
+ }
+ },
+ {
+ "name": "st3",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st3",
+ "type": "Microsoft.StorageCache/Cache/StorageTarget",
+ "properties": {
+ "junctions": [
+ {
+ "namespacePath": "/some/crazier/place/on/cache",
+ "targetPath": "/",
+ "nfsExport": ""
+ }
+ ],
+ "targetType": "unknown",
+ "unknown": {
+ "unknownMap": {
+ "foo": "bar",
+ "foo2": "test"
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/UsageModels_List.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/UsageModels_List.json
new file mode 100644
index 000000000000..71fecf3621e6
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/UsageModels_List.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "modelName": "READ_HEAVY_INFREQ",
+ "targetType": "nfs3",
+ "display": {
+ "description": "Read heavy, infrequent changes"
+ }
+ },
+ {
+ "modelName": "WRITE_AROUND",
+ "targetType": "nfs3",
+ "display": {
+ "description": "Clients write directly to storage"
+ }
+ },
+ {
+ "modelName": "WRITE_WORKLOAD_15",
+ "targetType": "nfs3",
+ "display": {
+ "description": "Write workload > 15%"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/storagecache.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/storagecache.json
new file mode 100644
index 000000000000..a9ba627bbd52
--- /dev/null
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/storagecache.json
@@ -0,0 +1,1592 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "description": "A Storage Cache provides scalable caching service for NAS clients, serving data from either NFSv3 or Blob at-rest storage (referred to as \"Storage Targets\"). These operations allow you to manage Caches.",
+ "title": "Storage Cache Mgmt Client",
+ "version": "2019-11-01"
+ },
+ "host": "management.azure.com",
+ "basePath": "/",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.StorageCache/operations": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The list of available Resource Provider operations.",
+ "schema": {
+ "$ref": "#/definitions/ApiOperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "tags": [
+ "Operations"
+ ],
+ "description": "Lists all of the available Resource Provider operations.",
+ "x-ms-examples": {
+ "StorageTargets_List": {
+ "$ref": "./examples/Operations_List.json"
+ }
+ },
+ "operationId": "Operations_List",
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/skus": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A list of SKU descriptors.",
+ "schema": {
+ "$ref": "#/definitions/ResourceSkusResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Skus_List": {
+ "$ref": "./examples/Skus_List.json"
+ }
+ },
+ "tags": [
+ "SKUs"
+ ],
+ "description": "Get the list of StorageCache.Cache SKUs available to this subscription.",
+ "operationId": "Skus_List"
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/usageModels": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A list of UsageModel descriptors.",
+ "schema": {
+ "$ref": "#/definitions/UsageModelsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "UsageModels_List": {
+ "$ref": "./examples/UsageModels_List.json"
+ }
+ },
+ "tags": [
+ "UsageModels"
+ ],
+ "description": "Get the list of Cache Usage Models available to this subscription.",
+ "operationId": "UsageModels_List"
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/caches": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A list of Cache objects. Note that entity references might replace complete Cache objects, as described in http://docs.oasis-open.org/odata/odata-json-format/v4.01/cs01/odata-json-format-v4.01-cs01.html#sec_EntityReference",
+ "schema": {
+ "$ref": "#/definitions/CachesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Caches_List": {
+ "$ref": "./examples/Caches_List.json"
+ }
+ },
+ "tags": [
+ "Caches"
+ ],
+ "description": "Returns all Caches the user has access to under a subscription.",
+ "operationId": "Caches_List"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "description": "Target resource group.",
+ "in": "path",
+ "name": "resourceGroupName",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A list of Cache objects. Note that entity references might replace complete Cache objects, as described in http://docs.oasis-open.org/odata/odata-json-format/v4.01/cs01/odata-json-format-v4.01-cs01.html#sec_EntityReference",
+ "schema": {
+ "$ref": "#/definitions/CachesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Caches_ListByResourceGroup": {
+ "$ref": "./examples/Caches_ListByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "tags": [
+ "Caches"
+ ],
+ "description": "Returns all Caches the user has access to under a resource group.",
+ "operationId": "Caches_ListByResourceGroup"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "description": "Target resource group.",
+ "in": "path",
+ "name": "resourceGroupName",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "description": "Name of Cache.",
+ "in": "path",
+ "name": "cacheName",
+ "pattern": "^[-0-9a-zA-Z_]{1,31}$",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Cache deleted.",
+ "schema": {}
+ },
+ "202": {
+ "description": "Started the Cache's transition to Deleted state. Poll the Cache to monitor.",
+ "schema": {}
+ },
+ "204": {
+ "description": "Cache deleted.",
+ "schema": {}
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Caches_Delete": {
+ "$ref": "./examples/Caches_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "tags": [
+ "Caches"
+ ],
+ "description": "Schedules a Cache for deletion.",
+ "operationId": "Caches_Delete"
+ },
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "description": "Target resource group.",
+ "in": "path",
+ "name": "resourceGroupName",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "description": "Name of Cache.",
+ "in": "path",
+ "name": "cacheName",
+ "pattern": "^[-0-9a-zA-Z_]{1,31}$",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Returns the Cache object corresponding to cacheName.",
+ "schema": {
+ "$ref": "#/definitions/Cache"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Caches_Get": {
+ "$ref": "./examples/Caches_Get.json"
+ }
+ },
+ "tags": [
+ "Caches"
+ ],
+ "description": "Returns a Cache.",
+ "operationId": "Caches_Get"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "description": "Target resource group.",
+ "in": "path",
+ "name": "resourceGroupName",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "description": "Name of Cache.",
+ "in": "path",
+ "name": "cacheName",
+ "pattern": "^[-0-9a-zA-Z_]{1,31}$",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "description": "Object containing the user-selectable properties of the new Cache. If read-only properties are included, they must match the existing values of those properties.",
+ "in": "body",
+ "name": "cache",
+ "schema": {
+ "$ref": "#/definitions/Cache"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Cache created or updated.",
+ "schema": {
+ "$ref": "#/definitions/Cache"
+ }
+ },
+ "201": {
+ "description": "Cache creation or update has been initiated. Poll the new Cache's provisioningState property to monitor creation progress.",
+ "schema": {
+ "$ref": "#/definitions/Cache"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Caches_CreateOrUpdate": {
+ "$ref": "./examples/Caches_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "tags": [
+ "Caches"
+ ],
+ "description": "Create or update a Cache.",
+ "operationId": "Caches_CreateOrUpdate"
+ },
+ "patch": {
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "description": "Target resource group.",
+ "in": "path",
+ "name": "resourceGroupName",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "description": "Name of Cache.",
+ "in": "path",
+ "name": "cacheName",
+ "pattern": "^[-0-9a-zA-Z_]{1,31}$",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "description": "Object containing the user-selectable properties of the Cache. If read-only properties are included, they must match the existing values of those properties.",
+ "in": "body",
+ "name": "cache",
+ "schema": {
+ "$ref": "#/definitions/Cache"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Updated the Cache.",
+ "schema": {
+ "$ref": "#/definitions/Cache"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Caches_Update": {
+ "$ref": "./examples/Caches_Update.json"
+ }
+ },
+ "tags": [
+ "Caches"
+ ],
+ "description": "Update a Cache instance.",
+ "operationId": "Caches_Update"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/flush": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "description": "Target resource group.",
+ "in": "path",
+ "name": "resourceGroupName",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "description": "Name of Cache.",
+ "in": "path",
+ "name": "cacheName",
+ "pattern": "^[-0-9a-zA-Z_]{1,31}$",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "All cached data has been flushed to the Storage Target(s).",
+ "schema": {}
+ },
+ "202": {
+ "description": "Cache has started flushing to its Storage Target(s). Poll the Cache's state field to monitor.",
+ "schema": {}
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Caches_Flush": {
+ "$ref": "./examples/Caches_Flush.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "tags": [
+ "Caches"
+ ],
+ "description": "Tells a Cache to write all dirty data to the Storage Target(s). During the flush, clients will see errors returned until the flush is complete.",
+ "operationId": "Caches_Flush"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/start": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "description": "Target resource group.",
+ "in": "path",
+ "name": "resourceGroupName",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "description": "Name of Cache.",
+ "in": "path",
+ "name": "cacheName",
+ "pattern": "^[-0-9a-zA-Z_]{1,31}$",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Cache is Active.",
+ "schema": {}
+ },
+ "202": {
+ "description": "Cache has started the transition to Active. Poll the Cache's state field to monitor.",
+ "schema": {}
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Caches_Start": {
+ "$ref": "./examples/Caches_Start.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "tags": [
+ "Caches"
+ ],
+ "description": "Tells a Stopped state Cache to transition to Active state.",
+ "operationId": "Caches_Start"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/stop": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "description": "Target resource group.",
+ "in": "path",
+ "name": "resourceGroupName",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "description": "Name of Cache.",
+ "in": "path",
+ "name": "cacheName",
+ "pattern": "^[-0-9a-zA-Z_]{1,31}$",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Cache is stopped.",
+ "schema": {}
+ },
+ "202": {
+ "description": "Cache has started the transition to Stopped. Poll the Cache's state field to monitor.",
+ "schema": {}
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Caches_Stop": {
+ "$ref": "./examples/Caches_Stop.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "tags": [
+ "Caches"
+ ],
+ "description": "Tells an Active Cache to transition to Stopped state.",
+ "operationId": "Caches_Stop"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets": {
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "description": "Target resource group.",
+ "in": "path",
+ "name": "resourceGroupName",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "description": "Name of Cache.",
+ "in": "path",
+ "name": "cacheName",
+ "pattern": "^[-0-9a-zA-Z_]{1,31}$",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Returns the list of Storage Targets defined by cacheName.",
+ "schema": {
+ "$ref": "#/definitions/StorageTargetsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "StorageTargets_List": {
+ "$ref": "./examples/StorageTargets_ListByCache.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "tags": [
+ "StorageTargets"
+ ],
+ "description": "Returns a list of Storage Targets for the specified Cache.",
+ "operationId": "StorageTargets_ListByCache"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}": {
+ "delete": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "description": "Target resource group.",
+ "in": "path",
+ "name": "resourceGroupName",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "description": "Name of Cache.",
+ "in": "path",
+ "name": "cacheName",
+ "pattern": "^[-0-9a-zA-Z_]{1,31}$",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "description": "Name of Storage Target.",
+ "in": "path",
+ "name": "storageTargetName",
+ "pattern": "^[-0-9a-zA-Z_]{1,31}$",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Storage target deleted.",
+ "schema": {}
+ },
+ "202": {
+ "description": "Started the Storage Target's deletion. Poll the Cache's Storage Targets to monitor.",
+ "schema": {}
+ },
+ "204": {
+ "description": "Storage Target deleted.",
+ "schema": {}
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "StorageTargets_Delete": {
+ "$ref": "./examples/StorageTargets_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "tags": [
+ "StorageTargets"
+ ],
+ "description": "Removes a Storage Target from a Cache. This operation is allowed at any time, but if the Cache is down or unhealthy, the actual removal of the Storage Target may be delayed until the Cache is healthy again. Note that if the Cache has data to flush to the Storage Target, the data will be flushed before the Storage Target will be deleted.",
+ "operationId": "StorageTargets_Delete"
+ },
+ "get": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "description": "Target resource group.",
+ "in": "path",
+ "name": "resourceGroupName",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "description": "Name of Cache.",
+ "in": "path",
+ "name": "cacheName",
+ "pattern": "^[-0-9a-zA-Z_]{1,31}$",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "description": "Name of the Storage Target.",
+ "in": "path",
+ "name": "storageTargetName",
+ "pattern": "^[-0-9a-zA-Z_]{1,31}$",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Returns the Storage Target object corresponding to storageTargetName.",
+ "schema": {
+ "$ref": "#/definitions/StorageTarget"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "StorageTargets_Get": {
+ "$ref": "./examples/StorageTargets_Get.json"
+ }
+ },
+ "tags": [
+ "StorageTargets"
+ ],
+ "description": "Returns a Storage Target from a Cache.",
+ "operationId": "StorageTargets_Get"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "description": "Target resource group.",
+ "in": "path",
+ "name": "resourceGroupName",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "description": "Name of Cache.",
+ "in": "path",
+ "name": "cacheName",
+ "pattern": "^[-0-9a-zA-Z_]{1,31}$",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "description": "Name of the Storage Target.",
+ "in": "path",
+ "name": "storageTargetName",
+ "pattern": "^[-0-9a-zA-Z_]{1,31}$",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "description": "Object containing the definition of a Storage Target.",
+ "in": "body",
+ "name": "storagetarget",
+ "schema": {
+ "$ref": "#/definitions/StorageTarget"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Storage Target has been created or updated.",
+ "schema": {
+ "$ref": "#/definitions/StorageTarget"
+ }
+ },
+ "201": {
+ "description": "Storage Target creation or update has been initiated. Poll the new Storage Target's provisioningState property to monitor creation progress.",
+ "schema": {
+ "$ref": "#/definitions/StorageTarget"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "StorageTargets_CreateOrUpdate": {
+ "$ref": "./examples/StorageTargets_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "tags": [
+ "StorageTargets"
+ ],
+ "description": "Create or update a Storage Target. This operation is allowed at any time, but if the Cache is down or unhealthy, the actual creation/modification of the Storage Target may be delayed until the Cache is healthy again.",
+ "operationId": "StorageTargets_CreateOrUpdate"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/upgrade": {
+ "post": {
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "description": "Target resource group.",
+ "in": "path",
+ "name": "resourceGroupName",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "description": "Name of Cache.",
+ "in": "path",
+ "name": "cacheName",
+ "pattern": "^[-0-9a-zA-Z_]{1,31}$",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Cache firmware is up to date.",
+ "schema": {}
+ },
+ "202": {
+ "description": "Cache has started the upgrade. Poll the Cache's state field to monitor.",
+ "schema": {}
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Caches_UpgradeFirmware": {
+ "$ref": "./examples/Caches_UpgradeFirmware.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "tags": [
+ "Caches"
+ ],
+ "description": "Upgrade a Cache's firmware if a new version is available. Otherwise, this operation has no effect.",
+ "operationId": "Caches_UpgradeFirmware"
+ }
+ }
+ },
+ "definitions": {
+ "ApiOperation": {
+ "description": "REST API operation description: see https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/openapi-authoring-automated-guidelines.md#r3023-operationsapiimplementation",
+ "properties": {
+ "display": {
+ "description": "The object that represents the operation.",
+ "properties": {
+ "operation": {
+ "description": "Operation type: Read, write, delete, etc.",
+ "type": "string"
+ },
+ "provider": {
+ "description": "Service provider: Microsoft.StorageCache",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed: Cache, etc.",
+ "type": "string"
+ }
+ }
+ },
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ApiOperationListResult": {
+ "description": "Result of the request to list Resource Provider operations. It contains a list of operations and a URL link to get the next set of results.",
+ "properties": {
+ "nextLink": {
+ "description": "URL to get the next set of operation list results if there are any.",
+ "type": "string"
+ },
+ "value": {
+ "description": "List of Resource Provider operations supported by the Microsoft.StorageCache resource provider.",
+ "items": {
+ "$ref": "#/definitions/ApiOperation"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "CloudError": {
+ "description": "An error response.",
+ "properties": {
+ "error": {
+ "description": "The body of the error.",
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ },
+ "type": "object"
+ },
+ "CloudErrorBody": {
+ "description": "An error response.",
+ "properties": {
+ "code": {
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically.",
+ "type": "string"
+ },
+ "details": {
+ "description": "A list of additional details about the error.",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "type": "array"
+ },
+ "message": {
+ "description": "A message describing the error, intended to be suitable for display in a user interface.",
+ "type": "string"
+ },
+ "target": {
+ "description": "The target of the particular error. For example, the name of the property in error.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Cache": {
+ "description": "A Cache instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md",
+ "properties": {
+ "tags": {
+ "description": "ARM tags as name/value pairs.",
+ "type": "object"
+ },
+ "id": {
+ "description": "Resource ID of the Cache.",
+ "readOnly": true,
+ "$ref": "#/definitions/URLString"
+ },
+ "location": {
+ "description": "Region name string.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of Cache.",
+ "readOnly": true,
+ "$ref": "#/definitions/ResourceName"
+ },
+ "type": {
+ "description": "Type of the Cache; Microsoft.StorageCache/Cache",
+ "readOnly": true,
+ "type": "string"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Properties of the Cache.",
+ "properties": {
+ "cacheSizeGB": {
+ "description": "The size of this Cache, in GB.",
+ "type": "integer"
+ },
+ "health": {
+ "description": "Health of the Cache.",
+ "readOnly": true,
+ "$ref": "#/definitions/CacheHealth"
+ },
+ "mountAddresses": {
+ "description": "Array of IP addresses that can be used by clients mounting this Cache.",
+ "readOnly": true,
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "provisioningState": {
+ "description": "ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "Cancelled",
+ "Creating",
+ "Deleting",
+ "Updating"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningStateType",
+ "modelAsString": true
+ },
+ "type": "string"
+ },
+ "subnet": {
+ "description": "Subnet used for the Cache.",
+ "$ref": "#/definitions/URLString"
+ },
+ "upgradeStatus": {
+ "description": "Upgrade status of the Cache.",
+ "$ref": "#/definitions/CacheUpgradeStatus"
+ }
+ },
+ "type": "object"
+ },
+ "sku": {
+ "description": "SKU for the Cache.",
+ "properties": {
+ "name": {
+ "description": "SKU name for this Cache.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "x-ms-azure-resource": true,
+ "type": "object"
+ },
+ "CachesListResult": {
+ "description": "Result of the request to list Caches. It contains a list of Caches and a URL link to get the next set of results.",
+ "properties": {
+ "nextLink": {
+ "description": "URL to get the next set of Cache list results, if there are any.",
+ "type": "string"
+ },
+ "value": {
+ "description": "List of Caches.",
+ "items": {
+ "$ref": "#/definitions/Cache"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "CacheHealth": {
+ "description": "An indication of Cache health. Gives more information about health than just that related to provisioning.",
+ "properties": {
+ "state": {
+ "description": "List of Cache health states.",
+ "enum": [
+ "Unknown",
+ "Healthy",
+ "Degraded",
+ "Down",
+ "Transitioning",
+ "Stopping",
+ "Stopped",
+ "Upgrading",
+ "Flushing"
+ ],
+ "x-ms-enum": {
+ "name": "HealthStateType",
+ "modelAsString": true
+ },
+ "type": "string"
+ },
+ "statusDescription": {
+ "description": "Describes explanation of state.",
+ "type": "string"
+ }
+ }
+ },
+ "CacheUpgradeStatus": {
+ "description": "Properties describing the software upgrade state of the Cache.",
+ "properties": {
+ "currentFirmwareVersion": {
+ "description": "Version string of the firmware currently installed on this Cache.",
+ "type": "string",
+ "readOnly": true
+ },
+ "firmwareUpdateStatus": {
+ "description": "True if there is a firmware update ready to install on this Cache. The firmware will automatically be installed after firmwareUpdateDeadline if not triggered earlier via the upgrade operation.",
+ "enum": [
+ "available",
+ "unavailable"
+ ],
+ "x-ms-enum": {
+ "name": "FirmwareStatusType",
+ "modelAsString": true
+ },
+ "readOnly": true,
+ "type": "string"
+ },
+ "firmwareUpdateDeadline": {
+ "description": "Time at which the pending firmware update will automatically be installed on the Cache.",
+ "format": "date-time",
+ "type": "string",
+ "readOnly": true
+ },
+ "lastFirmwareUpdate": {
+ "description": "Time of the last successful firmware update.",
+ "format": "date-time",
+ "type": "string",
+ "readOnly": true
+ },
+ "pendingFirmwareVersion": {
+ "description": "When firmwareUpdateAvailable is true, this field holds the version string for the update.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "type": "object"
+ },
+ "UnknownProperties": {
+ "description": "Properties of an unknown type of Storage Target.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "Nfs3Target": {
+ "description": "An NFSv3 mount point for use as a Storage Target.",
+ "properties": {
+ "target": {
+ "description": "IP address or host name of an NFSv3 host (e.g., 10.0.44.44).",
+ "pattern": "^[-.0-9a-zA-Z]+$",
+ "type": "string"
+ },
+ "usageModel": {
+ "description": "Identifies the primary usage model to be used for this Storage Target. Get choices from .../usageModels",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "nfs3",
+ "type": "object"
+ },
+ "ClfsTarget": {
+ "description": "Storage container for use as a CLFS Storage Target.",
+ "properties": {
+ "target": {
+ "description": "Resource ID of storage container.",
+ "$ref": "#/definitions/URLString"
+ }
+ },
+ "x-ms-discriminator-value": "clfs",
+ "type": "object"
+ },
+ "UnknownTarget": {
+ "description": "Storage container for use as an Unknown Storage Target.",
+ "properties": {
+ "unknownMap": {
+ "description": "Dictionary of string->string pairs containing information about the Storage Target.",
+ "$ref": "#/definitions/UnknownProperties"
+ }
+ },
+ "x-ms-discriminator-value": "unknown",
+ "type": "object"
+ },
+ "ResourceName": {
+ "description": "Schema for the name of resources served by this provider. Note that objects will contain an odata @id annotation as appropriate. This will contain the complete URL of the object. These names are case-preserving, but not case sensitive.",
+ "pattern": "^[-0-9a-zA-Z_]{1,31}$",
+ "type": "string"
+ },
+ "ResourceSku": {
+ "description": "A resource SKU.",
+ "properties": {
+ "resourceType": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The type of resource the SKU applies to."
+ },
+ "capabilities": {
+ "description": "A list of capabilities of this SKU, such as throughput or ops/sec.",
+ "items": {
+ "$ref": "#/definitions/ResourceSkuCapabilities"
+ },
+ "type": "array"
+ },
+ "locations": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g., West US, East US, Southeast Asia, etc.)."
+ },
+ "locationInfo": {
+ "description": "The set of locations that the SKU is available.",
+ "items": {
+ "$ref": "#/definitions/ResourceSkuLocationInfo"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "The name of this SKU.",
+ "type": "string"
+ },
+ "restrictions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Restriction"
+ },
+ "description": "The restrictions preventing this SKU from being used. This is empty if there are no restrictions."
+ }
+ },
+ "type": "object"
+ },
+ "Restriction": {
+ "properties": {
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The type of restrictions. In this version, the only possible value for this is location."
+ },
+ "values": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The value of restrictions. If the restriction type is set to location, then this would be the different locations where the SKU is restricted."
+ },
+ "reasonCode": {
+ "type": "string",
+ "enum": [
+ "QuotaId",
+ "NotAvailableForSubscription"
+ ],
+ "x-ms-enum": {
+ "name": "ReasonCode",
+ "modelAsString": true
+ },
+ "description": "The reason for the restriction. As of now this can be \"QuotaId\" or \"NotAvailableForSubscription\". \"QuotaId\" is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. \"NotAvailableForSubscription\" is related to capacity at the datacenter."
+ }
+ },
+ "description": "The restrictions preventing this SKU from being used."
+ },
+ "ResourceSkuCapabilities": {
+ "description": "A resource SKU capability.",
+ "properties": {
+ "name": {
+ "description": "Name of a capability, such as ops/sec.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Quantity, if the capability is measured by quantity.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ResourceSkuLocationInfo": {
+ "description": "Resource SKU location information.",
+ "properties": {
+ "location": {
+ "description": "Location where this SKU is available.",
+ "type": "string"
+ },
+ "zones": {
+ "description": "Zones if any.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "type": "object"
+ },
+ "ResourceSkusResult": {
+ "description": "The response from the List Cache SKUs operation.",
+ "properties": {
+ "nextLink": {
+ "description": "The URI to fetch the next page of Cache SKUs.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The list of SKUs available for the subscription.",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ResourceSku"
+ },
+ "type": "array"
+ }
+ }
+ },
+ "StorageTarget": {
+ "description": "A storage system being cached by a Cache.",
+ "type": "object",
+ "discriminator": "targetType",
+ "properties": {
+ "name": {
+ "description": "Name of the Storage Target.",
+ "readOnly": true,
+ "$ref": "#/definitions/ResourceName"
+ },
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource ID of the Storage Target."
+ },
+ "type": {
+ "description": "Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget",
+ "readOnly": true,
+ "type": "string"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Properties of the Storage Target.",
+ "type": "object",
+ "properties": {
+ "junctions": {
+ "description": "List of Cache namespace junctions to target for namespace associations.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NamespaceJunction"
+ }
+ },
+ "targetType": {
+ "description": "Type of the Storage Target.",
+ "enum": [
+ "nfs3",
+ "clfs",
+ "unknown"
+ ],
+ "x-ms-enum": {
+ "name": "StorageTargetType",
+ "modelAsString": true
+ },
+ "type": "string"
+ },
+ "provisioningState": {
+ "description": "ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "Cancelled",
+ "Creating",
+ "Deleting",
+ "Updating"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningStateType",
+ "modelAsString": true
+ },
+ "type": "string"
+ },
+ "nfs3": {
+ "description": "Properties when targetType is nfs3.",
+ "$ref": "#/definitions/Nfs3Target"
+ },
+ "clfs": {
+ "description": "Properties when targetType is clfs.",
+ "$ref": "#/definitions/ClfsTarget"
+ },
+ "unknown": {
+ "description": "Properties when targetType is unknown.",
+ "$ref": "#/definitions/UnknownTarget"
+ }
+ }
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "NamespaceJunction": {
+ "description": "A namespace junction.",
+ "type": "object",
+ "properties": {
+ "namespacePath": {
+ "description": "Namespace path on a Cache for a Storage Target.",
+ "type": "string"
+ },
+ "targetPath": {
+ "description": "Path in Storage Target to which namespacePath points.",
+ "type": "string"
+ },
+ "nfsExport": {
+ "description": "NFS export where targetPath exists.",
+ "type": "string"
+ }
+ }
+ },
+ "StorageTargetsResult": {
+ "description": "A list of Storage Targets.",
+ "properties": {
+ "nextLink": {
+ "description": "The URI to fetch the next page of Storage Targets.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The list of Storage Targets defined for the Cache.",
+ "items": {
+ "$ref": "#/definitions/StorageTarget"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "URLString": {
+ "description": "A fully qualified URL.",
+ "type": "string"
+ },
+ "UsageModel": {
+ "description": "A usage model.",
+ "properties": {
+ "display": {
+ "description": "Localized information describing this usage model.",
+ "type": "object",
+ "properties": {
+ "description": {
+ "description": "String to display for this usage model.",
+ "type": "string"
+ }
+ }
+ },
+ "modelName": {
+ "description": "Non-localized keyword name for this usage model.",
+ "type": "string"
+ },
+ "targetType": {
+ "description": "The type of Storage Target to which this model is applicable (only nfs3 as of this version).",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "UsageModelsResult": {
+ "description": "A list of Cache usage models.",
+ "properties": {
+ "nextLink": {
+ "description": "The URI to fetch the next page of Cache usage models.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The list of usage models available for the subscription.",
+ "items": {
+ "$ref": "#/definitions/UsageModel"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "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."
+ }
+ }
+}
diff --git a/specification/storagecache/resource-manager/readme.csharp.md b/specification/storagecache/resource-manager/readme.csharp.md
index 8dc92be5e60c..af7c03ca2cd2 100644
--- a/specification/storagecache/resource-manager/readme.csharp.md
+++ b/specification/storagecache/resource-manager/readme.csharp.md
@@ -8,6 +8,6 @@ csharp:
payload-flattening-threshold: 1
clear-output-folder: true
client-side-validation: false
- namespace: Microsoft.Azure.Management.Storagecache
- output-folder: $(csharp-sdks-folder)/storagecache/Microsoft.Azure.Management.Storagecache/src/Generated
+ namespace: Microsoft.Azure.Management.StorageCache
+ output-folder: $(csharp-sdks-folder)/storagecache/Microsoft.Azure.Management.StorageCache/src/Generated
```
diff --git a/specification/storagecache/resource-manager/readme.go.md b/specification/storagecache/resource-manager/readme.go.md
index 11a3e71f4cf8..87b00ff4bf30 100644
--- a/specification/storagecache/resource-manager/readme.go.md
+++ b/specification/storagecache/resource-manager/readme.go.md
@@ -2,13 +2,30 @@
These settings apply only when `--go` is specified on the command line.
-```yaml $(go)
+``` yaml $(go)
go:
license-header: MICROSOFT_APACHE_NO_VERSION
namespace: storagecache
clear-output-folder: true
```
+### Go multi-api
+
+``` yaml $(go) && $(multiapi)
+batch:
+ - tag: package-2019-11-01
+ - tag: package-2019-08
+```
+
+### Tag: package-2019-11-01 and go
+
+These settings apply only when `--tag=package-2019-11-01 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-11-01' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-11-01/$(namespace)
+```
+
### Tag: package-2019-08 and go
These settings apply only when `--tag=package-2019-08 --go` is specified on the command line.
diff --git a/specification/storagecache/resource-manager/readme.java.md b/specification/storagecache/resource-manager/readme.java.md
index db7ff2df6f12..731ca002c238 100644
--- a/specification/storagecache/resource-manager/readme.java.md
+++ b/specification/storagecache/resource-manager/readme.java.md
@@ -12,6 +12,27 @@ payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-storagecache
```
+### Java multi-api
+
+``` yaml $(java) && $(multiapi)
+batch:
+ - tag: package-2019-11-01
+ - tag: package-2019-08
+```
+
+### Tag: package-2019-11-01 and java
+
+These settings apply only when `--tag=package-2019-11-01 --java` is specified on the command line.
+Please also specify the `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2019-11-01' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.storagecache.v2019_11_01
+ output-folder: $(azure-libraries-for-java-folder)/storagecache/resource-manager/v2019_11_01
+regenerate-manager: true
+generate-interface: true
+```
+
### Tag: package-2019-08 and java
These settings apply only when `--tag=package-2019-08 --java` is specified on the command line.
diff --git a/specification/storagecache/resource-manager/readme.md b/specification/storagecache/resource-manager/readme.md
index d626d64d443b..de19e2e45f8c 100644
--- a/specification/storagecache/resource-manager/readme.md
+++ b/specification/storagecache/resource-manager/readme.md
@@ -26,7 +26,18 @@ These are the global settings for the StorageCache API.
``` yaml
openapi-type: arm
-tag: package-2019-08
+tag: package-2019-11-01
+add-credentials: true
+title: StorageCacheManagementClient
+```
+
+### Tag: package-2019-11-01
+
+These settings apply only when `--tag=package-2019-11-01` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-11-01'
+input-file:
+- Microsoft.StorageCache/stable/2019-11-01/storagecache.json
```
### Tag: package-2019-08
@@ -92,6 +103,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.StorageCache/stable/2019-11-01/storagecache.json
- $(this-folder)/Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json
```
diff --git a/specification/storagecache/resource-manager/readme.ruby.md b/specification/storagecache/resource-manager/readme.ruby.md
index 209e042d0485..89fe6cc517ce 100644
--- a/specification/storagecache/resource-manager/readme.ruby.md
+++ b/specification/storagecache/resource-manager/readme.ruby.md
@@ -8,6 +8,24 @@ package-version: 2019-08
azure-arm: true
```
+### Ruby multi-api
+
+``` yaml $(ruby) && $(multiapi)
+batch:
+ - tag: package-2019-11-01
+ - tag: package-2019-08
+```
+
+### Tag: package-2019-11-01 and ruby
+
+These settings apply only when `--tag=package-2019-11-01 --ruby` is specified on the command line.
+Please also specify `--ruby-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-11-01' && $(ruby)
+namespace: "Azure::StorageCache::Mgmt::V2019_11_01"
+output-folder: $(ruby-sdks-folder)/management/azure_mgmt_storagecache/lib
+```
+
### Tag: package-2019-08 and ruby
These settings apply only when `--tag=package-2019-08 --ruby` is specified on the command line.
From 3e8d1784d5a765406505f22cb51935376062da3f Mon Sep 17 00:00:00 2001
From: Ruoxuan Wang <52271048+ruowan@users.noreply.github.com>
Date: Mon, 21 Oct 2019 15:32:29 +0800
Subject: [PATCH 008/189] update ARM email template and fix repoWhiltelist
location (#7556)
---
.github/sla.yml | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/.github/sla.yml b/.github/sla.yml
index 7dcf853a030d..832adeb0572d 100644
--- a/.github/sla.yml
+++ b/.github/sla.yml
@@ -1,10 +1,10 @@
---
- scheduleTask:
action: sendEmailToAssignee
+ repoWhitelist:
+ - Azure/azure-rest-api-specs
args:
booleanFilterExpression: "!(WaitForARMFeedback||WaitingForAzureAPIBoard)"
- repoWhitelist:
- - Azure/azure-rest-api-specs
limit: 48h
message: ' Dear Swagger reviewer,
Please response to the PR ${PR_URL}. The PR isn''t updated in 48 hours.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience
'
subject: "Action Required: Please respond to PR ${PR_URL}"
@@ -13,10 +13,10 @@
- scheduleTask:
action: sendEmailToAssignee
+ repoWhitelist:
+ - Azure/azure-rest-api-specs
args:
booleanFilterExpression: "!(WaitForARMFeedback||WaitingForAzureAPIBoard)"
- repoWhitelist:
- - Azure/azure-rest-api-specs
limit: 5d
message: ' Dear Swagger reviewer,
Please response to the PR ${PR_URL}. The PR isn''t updated in 5 days.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience '
subject: "Action Required: Please respond to PR ${PR_URL}"
@@ -25,10 +25,10 @@
- scheduleTask:
action: sendEmailToAssignee
+ repoWhitelist:
+ - Azure/azure-rest-api-specs-pr
args:
booleanFilterExpression: "!(WaitForARMFeedback||WaitingForAzureAPIBoard||Approved-OkToMerge)"
- repoWhitelist:
- - Azure/azure-rest-api-specs-pr
limit: 48h
message: ' Dear Swagger reviewer,
Please response to the PR ${PR_URL}. The PR isn''t updated in 48 hours.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience '
subject: "Action Required: Please respond to PR ${PR_URL}"
@@ -37,10 +37,10 @@
- scheduleTask:
action: sendEmailToAssignee
+ repoWhitelist:
+ - Azure/azure-rest-api-specs-pr
args:
booleanFilterExpression: "!(WaitForARMFeedback||WaitingForAzureAPIBoard||Approved-OkToMerge)"
- repoWhitelist:
- - Azure/azure-rest-api-specs-pr
limit: 5d
message: ' Dear Swagger reviewer,
Please response to the PR ${PR_URL}. The PR isn''t updated in 5 days.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience '
subject: "Action Required: Please respond to PR ${PR_URL}"
@@ -49,11 +49,13 @@
- scheduleTask:
action: sendEmail
+ repoWhitelist:
+ - Azure/azure-rest-api-specs
args:
booleanFilterExpression: "(WaitForARMFeedback&&!ARMSignedOff&&!ARMChangesRequested&&!ARMReviewInProgress)"
limit: 3d
- subject: "ARM team notification email"
- message: "Dear ARM team, This is a notification email. The PR ${PR_URL} is waiting on ARM team review over 3 days. Please response to the PR. After response to the PR, please remove WaitForARMFeedback label and the bot won't send notification email about the PR to you again. This is a test email. If you have any suggestion about email template, pls contact to Ruoxuan.Wang(ruowan@microsoft.com)"
+ subject: "Action Required: Please help to review PR ${PR_URL}"
+ message: " Dear ARM review board,
Please review PR ${PR_URL}, the PR is waiting for ARM review over 3 days. Thanks.
Quick info- If you have feedback about the notification email, please contact us at vscswagger@microsoft.com.
- After reviewing, please remove “WaitForARMFeedback” label from PR to correct state.
Best regards,
Azure Management Experience"
to: yungez@microsoft.com
description: "send email to ARM team for over 5 days PRs labelled with WaitForARMFeedback"
name: "send email to ARM team"
From 6004a8b9ae2f4b1e27cb4af06a3fef0ec5f580fe Mon Sep 17 00:00:00 2001
From: Andy Zhang
Date: Tue, 22 Oct 2019 00:40:59 +0800
Subject: [PATCH 009/189] add AKS rotateClusterCertificates API (#7436)
* add aks rotate-certs operation for 2019-08-01
* feat: use 204 instead of 200
---
...agedClustersRotateClusterCertificates.json | 12 +++++
.../stable/2019-08-01/managedClusters.json | 44 +++++++++++++++++++
2 files changed, 56 insertions(+)
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-08-01/examples/ManagedClustersRotateClusterCertificates.json
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-08-01/examples/ManagedClustersRotateClusterCertificates.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-08-01/examples/ManagedClustersRotateClusterCertificates.json
new file mode 100644
index 000000000000..e5ba316fadef
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-08-01/examples/ManagedClustersRotateClusterCertificates.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-08-01/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-08-01/managedClusters.json
index ba737fe8743d..15d5f5ecc635 100644
--- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-08-01/managedClusters.json
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-08-01/managedClusters.json
@@ -921,6 +921,50 @@
}
}
}
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates": {
+ "post": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_RotateClusterCertificates",
+ "summary": "Rotate certificates of a managed cluster.",
+ "description": "Rotate certificates of a managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the cluster doesn't exist, 404 (Not found) is returned.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Rotate Cluster Certificates": {
+ "$ref": "./examples/ManagedClustersRotateClusterCertificates.json"
+ }
+ }
+ }
}
},
"definitions": {
From 0c3c17cf985b1d6e9665f64795dc8633717fb900 Mon Sep 17 00:00:00 2001
From: Priyaranjan Pandey
Date: Mon, 21 Oct 2019 10:50:33 -0700
Subject: [PATCH 010/189] [Storage] Sync swagger changes from 2019-04-01 to
2019-06-01 apiversion (#7552)
* [Storage] Sync swagger changes from 2019-04-01 to 2019-04-01 apiversion
* Removing skiptoken which is not being used by the service
* The skiptoken is not used by the service, removing it from latest swagger.
---
.../stable/2019-06-01/blob.json | 6 --
.../StorageAccountRegenerateKerbKey.json | 35 ++++++++++
.../examples/StorageAccountUpdate.json | 22 ++++++
.../stable/2019-06-01/file.json | 6 --
.../stable/2019-06-01/storage.json | 68 +++++++++++++++++--
5 files changed, 120 insertions(+), 17 deletions(-)
create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountRegenerateKerbKey.json
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json
index c699317de8db..36c1fb5a71b9 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json
@@ -165,12 +165,6 @@
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
},
- {
- "name": "$skipToken",
- "in": "query",
- "type": "string",
- "description": "Optional. Continuation token for the list operation."
- },
{
"name": "$maxpagesize",
"in": "query",
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountRegenerateKerbKey.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountRegenerateKerbKey.json
new file mode 100644
index 000000000000..7fe477cd18a0
--- /dev/null
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountRegenerateKerbKey.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "res4167",
+ "accountName": "sto3539",
+ "api-version": "2019-06-01",
+ "monitor": "true",
+ "regenerateKey": {
+ "keyName": "kerb1"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "keys": [
+ {
+ "keyName": "key1",
+ "permissions": "Full",
+ "value": "7xl+yQ4MrVpZCHspveCfy4f8jgTY1wv42gHO8k4bAX+EPvN4hY5uPau/bpofgeye+K9FtgvjkadkLISPfOxlMw=="
+ },
+ {
+ "keyName": "key2",
+ "permissions": "Full",
+ "value": "uC+kyJ9/gT81E/+9I1Go4xtOe8sW5rdIm3n6PNIyQ5kGO5OpFq69aWnrn3jLeFIyItzpln9P392U0353RYKvbg=="
+ },
+ {
+ "keyName": "kerb1",
+ "permissions": "Full",
+ "value": "34EzDQuCw1lYBXCGioUybN9dCWSLLzQPdAbYRcLhM957Fy/6IlO/SkaeR9QXKhVgCt8anDq4wYmDcaZ5VXr2Tg=="
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountUpdate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountUpdate.json
index 9435b6eb1848..76512ae6ebde 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountUpdate.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountUpdate.json
@@ -9,6 +9,17 @@
"properties": {
"networkAcls": {
"defaultAction": "Allow"
+ },
+ "azureFilesIdentityBasedAuthentication": {
+ "directoryServiceOptions": "AD",
+ "activeDirectoryProperties": {
+ "domainName": "adtest.com",
+ "netBiosDomainName": "adtest.com",
+ "forestName": "adtest.com",
+ "domainGuid": "aebfc118-9fa9-4732-a21f-d98e41a77ae1",
+ "domainSid": "S-1-5-21-2400535526-2334094090-2402026252",
+ "azureStorageSid": "S-1-5-21-2400535526-2334094090-2402026252-0012"
+ }
}
}
}
@@ -29,6 +40,17 @@
"ipRules": [],
"virtualNetworkRules": []
},
+ "azureFilesIdentityBasedAuthentication": {
+ "directoryServiceOptions": "AD",
+ "activeDirectoryProperties": {
+ "domainName": "adtest.com",
+ "netBiosDomainName": "adtest.com",
+ "forestName": "adtest.com",
+ "domainGuid": "aebfc118-9fa9-4732-a21f-d98e41a77ae1",
+ "domainSid": "S-1-5-21-2400535526-2334094090-2402026252",
+ "azureStorageSid": "S-1-5-21-2400535526-2334094090-2402026252-0012"
+ }
+ },
"primaryEndpoints": {
"web": "https://sto8596.web.core.windows.net/",
"dfs": "https://sto8596.dfs.core.windows.net/",
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/file.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/file.json
index 8c1500e04729..f9a7f555f6ce 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/file.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/file.json
@@ -180,12 +180,6 @@
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
},
- {
- "name": "$skipToken",
- "in": "query",
- "type": "string",
- "description": "Optional. Continuation token for the list operation."
- },
{
"name": "$maxpagesize",
"in": "query",
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
index f51cd270972c..c7f7732f61b6 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
@@ -367,7 +367,7 @@
"StorageAccounts"
],
"operationId": "StorageAccounts_ListKeys",
- "description": "Lists the access keys for the specified storage account.",
+ "description": "Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account.",
"x-ms-examples": {
"StorageAccountListKeys": {
"$ref": "./examples/StorageAccountListKeys.json"
@@ -385,6 +385,19 @@
},
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "enum": [
+ "kerb"
+ ],
+ "x-ms-enum": {
+ "name": "ListKeyExpand"
+ },
+ "description": "Specifies type of the key to be listed. Possible value is kerb."
}
],
"responses": {
@@ -403,10 +416,13 @@
"StorageAccounts"
],
"operationId": "StorageAccounts_RegenerateKey",
- "description": "Regenerates one of the access keys for the specified storage account.",
+ "description": "Regenerates one of the access keys or Kerberos keys for the specified storage account.",
"x-ms-examples": {
"StorageAccountRegenerateKey": {
"$ref": "./examples/StorageAccountRegenerateKey.json"
+ },
+ "StorageAccountRegenerateKerbKey": {
+ "$ref": "./examples/StorageAccountRegenerateKerbKey.json"
}
},
"parameters": [
@@ -423,7 +439,7 @@
"schema": {
"$ref": "#/definitions/StorageAccountRegenerateKeyParameters"
},
- "description": "Specifies name of the key which should be regenerated -- key1 or key2."
+ "description": "Specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2."
},
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
@@ -1504,12 +1520,17 @@
"description": "Indicates the directory service used.",
"enum": [
"None",
- "AADDS"
+ "AADDS",
+ "AD"
],
"x-ms-enum": {
"name": "DirectoryServiceOptions",
"modelAsString": true
}
+ },
+ "activeDirectoryProperties": {
+ "$ref": "#/definitions/ActiveDirectoryProperties",
+ "description": "Required if choose AD."
}
},
"required": [
@@ -1517,6 +1538,43 @@
],
"description": "Settings for Azure Files identity based authentication."
},
+ "ActiveDirectoryProperties": {
+ "properties": {
+ "domainName": {
+ "type": "string",
+ "description": "Specifies the primary domain that the AD DNS server is authoritative for."
+ },
+ "netBiosDomainName": {
+ "type": "string",
+ "description": "Specifies the NetBIOS domain name."
+ },
+ "forestName": {
+ "type": "string",
+ "description": "Specifies the Active Directory forest to get."
+ },
+ "domainGuid": {
+ "type": "string",
+ "description": "Specifies the domain GUID."
+ },
+ "domainSid": {
+ "type": "string",
+ "description": "Specifies the security identifier (SID)."
+ },
+ "azureStorageSid": {
+ "type": "string",
+ "description": "Specifies the security identifier (SID) for Azure Storage."
+ }
+ },
+ "required": [
+ "domainName",
+ "netBiosDomainName",
+ "forestName",
+ "domainGuid",
+ "domainSid",
+ "azureStorageSid"
+ ],
+ "description": "Settings properties for Active Directory (AD)."
+ },
"StorageAccountPropertiesCreateParameters": {
"properties": {
"customDomain": {
@@ -1971,7 +2029,7 @@
"properties": {
"keyName": {
"type": "string",
- "description": "The name of storage keys that want to be regenerated, possible values are key1, key2."
+ "description": "The name of storage keys that want to be regenerated, possible values are key1, key2, kerb1, kerb2."
}
},
"required": [
From 9fcf995a147b389702f020d0d3c153cba0fdc0c2 Mon Sep 17 00:00:00 2001
From: omar-el-hariry <39457582+omar-el-hariry@users.noreply.github.com>
Date: Mon, 21 Oct 2019 20:43:26 +0200
Subject: [PATCH 011/189] Omelhari/feature assigning ap is (#7503)
* Adding feature assigning APIs
* Remove Pattern Feature APIs
* fix build
---
.../preview/v3.0/LUIS-Authoring.json | 890 ++++++++++--------
...SuccessfulCreatePatternFeatureRequest.json | 18 -
...lGetApplicationVersionFeaturesRequest.json | 9 +-
...ationVersionPhraselistFeaturesRequest.json | 6 +-
...uccessfulGetPatternFeatureInfoRequest.json | 20 -
...essfulGetPhraselistFeatureInfoRequest.json | 3 +-
...essfulUpdatePatternFeatureInfoRequest.json | 22 -
...fulUpdatePhraselistFeatureInfoRequest.json | 3 +-
...essfulAddEntityFeatureRelationRequest.json | 21 +
...essfulAddIntentFeatureRelationRequest.json | 21 +
...fulDeleteEntityFeatureRelationRequest.json | 21 +
...fulDeleteIntentFeatureRelationRequest.json | 21 +
...ccessfulGetEntityFeaturesInfoRequest.json} | 13 +-
...ccessfulGetIntentFeaturesInfoRequest.json} | 16 +-
...uccessfulReplaceEntityFeaturesRequest.json | 26 +
...uccessfulReplaceIntentFeaturesRequest.json | 26 +
16 files changed, 683 insertions(+), 453 deletions(-)
delete mode 100644 specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulCreatePatternFeatureRequest.json
delete mode 100644 specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulGetPatternFeatureInfoRequest.json
delete mode 100644 specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulUpdatePatternFeatureInfoRequest.json
create mode 100644 specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddEntityFeatureRelationRequest.json
create mode 100644 specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddIntentFeatureRelationRequest.json
create mode 100644 specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteEntityFeatureRelationRequest.json
create mode 100644 specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteIntentFeatureRelationRequest.json
rename specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/{features/SuccessfulGetApplicationVersionPatternFeaturesRequest.json => model/SuccessfulGetEntityFeaturesInfoRequest.json} (61%)
rename specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/{features/SuccessfulDeletePatternFeatureInfoRequest.json => model/SuccessfulGetIntentFeaturesInfoRequest.json} (57%)
create mode 100644 specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceEntityFeaturesRequest.json
create mode 100644 specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceIntentFeaturesRequest.json
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json
index 1f7aa67aa23b..44dc8baf0e6d 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json
@@ -26,96 +26,6 @@
}
],
"paths": {
- "/apps/{appId}/versions/{versionId}/patterns": {
- "post": {
- "description": "[DEPRECATED NOTICE: This operation will soon be removed] Creates a new pattern feature in a version of the application.",
- "operationId": "Features_CreatePatternFeature",
- "deprecated": true,
- "parameters": [
- {
- "$ref": "#/parameters/AppIdInPath"
- },
- {
- "$ref": "#/parameters/VersionIdInPath"
- },
- {
- "name": "patternCreateObject",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/PatternCreateObject"
- },
- "description": "The Name and Pattern of the feature."
- }
- ],
- "consumes": [
- "application/json"
- ],
- "responses": {
- "201": {
- "description": "The ID of the created feature.",
- "schema": {
- "$ref": "#/definitions/FeatureIDResponse"
- }
- },
- "default": {
- "description": "Error Response.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "produces": [
- "application/json"
- ],
- "x-ms-examples": {
- "Successful Create Pattern Feature request": {
- "$ref": "./examples/features/SuccessfulCreatePatternFeatureRequest.json"
- }
- }
- },
- "get": {
- "description": "[DEPRECATED NOTICE: This operation will soon be removed] Gets all the pattern features.",
- "operationId": "Features_ListApplicationVersionPatternFeatures",
- "deprecated": true,
- "parameters": [
- {
- "$ref": "#/parameters/AppIdInPath"
- },
- {
- "$ref": "#/parameters/VersionIdInPath"
- },
- {
- "$ref": "#/parameters/SkipInPath"
- },
- {
- "$ref": "#/parameters/TakeInPath"
- }
- ],
- "responses": {
- "200": {
- "description": "A list of pattern features.",
- "schema": {
- "$ref": "#/definitions/PatternFeatureInfoList"
- }
- },
- "default": {
- "description": "Error Response.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "produces": [
- "application/json"
- ],
- "x-ms-examples": {
- "Successful Get Application Version Pattern Features request": {
- "$ref": "./examples/features/SuccessfulGetApplicationVersionPatternFeaturesRequest.json"
- }
- }
- }
- },
"/apps/{appId}/versions/{versionId}/phraselists": {
"post": {
"description": "Creates a new phraselist feature in a version of the application.",
@@ -246,146 +156,6 @@
}
}
},
- "/apps/{appId}/versions/{versionId}/patterns/{patternId}": {
- "get": {
- "description": "[DEPRECATED NOTICE: This operation will soon be removed] Gets the specified pattern feature's info in a version of the application.",
- "operationId": "Features_GetPatternFeatureInfo",
- "deprecated": true,
- "parameters": [
- {
- "$ref": "#/parameters/AppIdInPath"
- },
- {
- "$ref": "#/parameters/VersionIdInPath"
- },
- {
- "name": "patternId",
- "in": "path",
- "description": "The pattern feature ID.",
- "required": true,
- "type": "integer"
- }
- ],
- "responses": {
- "200": {
- "description": "The pattern feature info.",
- "schema": {
- "$ref": "#/definitions/PatternFeatureInfo"
- }
- },
- "default": {
- "description": "Error Response.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "produces": [
- "application/json"
- ],
- "x-ms-examples": {
- "Successful Get Pattern Feature Info request": {
- "$ref": "./examples/features/SuccessfulGetPatternFeatureInfoRequest.json"
- }
- }
- },
- "put": {
- "description": "[DEPRECATED NOTICE: This operation will soon be removed] Updates the pattern, the name and the state of the pattern feature in a version of the application.",
- "operationId": "Features_UpdatePatternFeature",
- "deprecated": true,
- "parameters": [
- {
- "$ref": "#/parameters/AppIdInPath"
- },
- {
- "$ref": "#/parameters/VersionIdInPath"
- },
- {
- "name": "patternId",
- "in": "path",
- "description": "The pattern feature ID.",
- "required": true,
- "type": "integer"
- },
- {
- "name": "patternUpdateObject",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/PatternUpdateObject"
- },
- "description": "The new values for: - Just a boolean called IsActive, in which case the status of the feature will be changed. - Name, Pattern and a boolean called IsActive to update the feature."
- }
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "responses": {
- "200": {
- "description": "Successful operation.",
- "schema": {
- "$ref": "#/definitions/OperationStatus"
- }
- },
- "default": {
- "description": "Error Response.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Successful Update Pattern Feature Info request": {
- "$ref": "./examples/features/SuccessfulUpdatePatternFeatureInfoRequest.json"
- }
- }
- },
- "delete": {
- "description": "[DEPRECATED NOTICE: This operation will soon be removed] Deletes a pattern feature in a version of the application.",
- "operationId": "Features_DeletePatternFeature",
- "deprecated": true,
- "parameters": [
- {
- "$ref": "#/parameters/AppIdInPath"
- },
- {
- "$ref": "#/parameters/VersionIdInPath"
- },
- {
- "name": "patternId",
- "in": "path",
- "description": "The pattern feature ID.",
- "required": true,
- "type": "integer"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful operation.",
- "schema": {
- "$ref": "#/definitions/OperationStatus"
- }
- },
- "default": {
- "description": "Error Response.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "produces": [
- "application/json"
- ],
- "x-ms-examples": {
- "Successful Delete Pattern Feature Info request": {
- "$ref": "./examples/features/SuccessfulDeletePatternFeatureInfoRequest.json"
- }
- }
- }
- },
"/apps/{appId}/versions/{versionId}/phraselists/{phraselistId}": {
"get": {
"description": "Gets phraselist feature info in a version of the application.",
@@ -1155,14 +925,324 @@
"$ref": "#/parameters/AppIdInPath"
},
{
- "$ref": "#/parameters/VersionIdInPath"
+ "$ref": "#/parameters/VersionIdInPath"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A list of the possible prebuilt entity extractors.",
+ "schema": {
+ "$ref": "#/definitions/AvailablePrebuiltEntityModels"
+ }
+ },
+ "default": {
+ "description": "Error Response.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "Successful Get Available Prebuilt Entity Extractors request": {
+ "$ref": "./examples/model/SuccessfulGetAvailablePrebuiltEntityExtractorsRequest.json"
+ }
+ }
+ }
+ },
+ "/apps/{appId}/versions/{versionId}/models": {
+ "get": {
+ "description": "Gets information about all the intent and entity models in a version of the application.",
+ "operationId": "Model_ListModels",
+ "parameters": [
+ {
+ "$ref": "#/parameters/AppIdInPath"
+ },
+ {
+ "$ref": "#/parameters/VersionIdInPath"
+ },
+ {
+ "$ref": "#/parameters/SkipInPath"
+ },
+ {
+ "$ref": "#/parameters/TakeInPath"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A list of application model infos.",
+ "schema": {
+ "$ref": "#/definitions/ModelsInfoResponseObject"
+ }
+ },
+ "default": {
+ "description": "Error Response.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "Successful Get Application Version Model Infos request": {
+ "$ref": "./examples/model/SuccessfulGetApplicationVersionModelInfosRequest.json"
+ }
+ }
+ }
+ },
+ "/apps/{appId}/versions/{versionId}/models/{modelId}/examples": {
+ "get": {
+ "description": "Gets the example utterances for the given intent or entity model in a version of the application.",
+ "operationId": "Model_Examples",
+ "parameters": [
+ {
+ "$ref": "#/parameters/AppIdInPath"
+ },
+ {
+ "$ref": "#/parameters/VersionIdInPath"
+ },
+ {
+ "name": "modelId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID (GUID) of the model.",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "$ref": "#/parameters/SkipInPath"
+ },
+ {
+ "$ref": "#/parameters/TakeInPath"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A list of example utterances for the model.",
+ "schema": {
+ "$ref": "#/definitions/ExamplesPerModelResponseObject"
+ }
+ },
+ "default": {
+ "description": "Error Response.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "Successful Get Examples Per Model Request": {
+ "$ref": "./examples/model/SuccessfulGetExamplesPerModelRequest.json"
+ }
+ }
+ }
+ },
+ "/apps/{appId}/versions/{versionId}/intents/{intentId}": {
+ "get": {
+ "description": "Gets information about the intent model in a version of the application.",
+ "operationId": "Model_GetIntent",
+ "parameters": [
+ {
+ "$ref": "#/parameters/AppIdInPath"
+ },
+ {
+ "$ref": "#/parameters/VersionIdInPath"
+ },
+ {
+ "$ref": "#/parameters/IntentIdInPath"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An intent model info.",
+ "schema": {
+ "$ref": "#/definitions/IntentClassifier"
+ }
+ },
+ "default": {
+ "description": "Error Response.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "Successful Get Intent Info request": {
+ "$ref": "./examples/model/SuccessfulGetIntentInfoRequest.json"
+ }
+ }
+ },
+ "put": {
+ "description": "Updates the name of an intent in a version of the application.",
+ "operationId": "Model_UpdateIntent",
+ "parameters": [
+ {
+ "$ref": "#/parameters/AppIdInPath"
+ },
+ {
+ "$ref": "#/parameters/VersionIdInPath"
+ },
+ {
+ "$ref": "#/parameters/IntentIdInPath"
+ },
+ {
+ "name": "modelUpdateObject",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ModelUpdateObject"
+ },
+ "description": "A model object containing the new intent name."
+ }
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful operation.",
+ "schema": {
+ "$ref": "#/definitions/OperationStatus"
+ }
+ },
+ "default": {
+ "description": "Error Response.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "Successful Rename Intent Model request": {
+ "$ref": "./examples/model/SuccessfulRenameIntentModelRequest.json"
+ }
+ }
+ },
+ "delete": {
+ "description": "Deletes an intent from a version of the application.",
+ "operationId": "Model_DeleteIntent",
+ "parameters": [
+ {
+ "$ref": "#/parameters/AppIdInPath"
+ },
+ {
+ "$ref": "#/parameters/VersionIdInPath"
+ },
+ {
+ "$ref": "#/parameters/IntentIdInPath"
+ },
+ {
+ "name": "deleteUtterances",
+ "in": "query",
+ "type": "boolean",
+ "description": "If true, deletes the intent's example utterances. If false, moves the example utterances to the None intent. The default value is false.",
+ "default": false
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful operation.",
+ "schema": {
+ "$ref": "#/definitions/OperationStatus"
+ }
+ },
+ "default": {
+ "description": "Error Response.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "Successful Delete Intent Model request": {
+ "$ref": "./examples/model/SuccessfulDeleteIntentModelRequest.json"
+ }
+ }
+ }
+ },
+ "/apps/{appId}/versions/{versionId}/entities/{entityId}": {
+ "get": {
+ "description": "Gets information about an entity model in a version of the application.",
+ "operationId": "Model_GetEntity",
+ "parameters": [
+ {
+ "$ref": "#/parameters/AppIdInPath"
+ },
+ {
+ "$ref": "#/parameters/VersionIdInPath"
+ },
+ {
+ "name": "entityId",
+ "in": "path",
+ "description": "The entity extractor ID.",
+ "required": true,
+ "type": "string",
+ "format": "uuid"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An entity model info.",
+ "schema": {
+ "$ref": "#/definitions/NDepthEntityExtractor"
+ }
+ },
+ "default": {
+ "description": "Error Response.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "Successful Get Entity Info request": {
+ "$ref": "./examples/model/SuccessfulGetEntityInfoRequest.json"
+ }
+ }
+ },
+ "delete": {
+ "description": "Deletes an entity or a child from a version of the application.",
+ "operationId": "Model_DeleteEntity",
+ "parameters": [
+ {
+ "$ref": "#/parameters/AppIdInPath"
+ },
+ {
+ "$ref": "#/parameters/VersionIdInPath"
+ },
+ {
+ "name": "entityId",
+ "in": "path",
+ "description": "The entity extractor or the child entity extractor ID.",
+ "required": true,
+ "type": "string",
+ "format": "uuid"
}
],
"responses": {
"200": {
- "description": "A list of the possible prebuilt entity extractors.",
+ "description": "Successfully deleted entity.",
"schema": {
- "$ref": "#/definitions/AvailablePrebuiltEntityModels"
+ "$ref": "#/definitions/OperationStatus"
}
},
"default": {
@@ -1176,16 +1256,14 @@
"application/json"
],
"x-ms-examples": {
- "Successful Get Available Prebuilt Entity Extractors request": {
- "$ref": "./examples/model/SuccessfulGetAvailablePrebuiltEntityExtractorsRequest.json"
+ "Successful Delete Entity Info request": {
+ "$ref": "./examples/model/SuccessfulDeleteEntityExtractorRequest.json"
}
}
- }
- },
- "/apps/{appId}/versions/{versionId}/models": {
- "get": {
- "description": "Gets information about all the intent and entity models in a version of the application.",
- "operationId": "Model_ListModels",
+ },
+ "patch": {
+ "description": "Updates the name of an entity extractor or the name and instanceOf model of a child entity extractor.",
+ "operationId": "Model_UpdateEntityChild",
"parameters": [
{
"$ref": "#/parameters/AppIdInPath"
@@ -1194,17 +1272,31 @@
"$ref": "#/parameters/VersionIdInPath"
},
{
- "$ref": "#/parameters/SkipInPath"
+ "name": "entityId",
+ "in": "path",
+ "description": "The entity extractor or the child entity extractor ID.",
+ "required": true,
+ "type": "string",
+ "format": "uuid"
},
{
- "$ref": "#/parameters/TakeInPath"
+ "name": "entityModelUpdateObject",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/EntityModelUpdateObject"
+ },
+ "description": "A model object containing the name new entity extractor or the name and instance of model of a child entity extractor "
}
],
+ "consumes": [
+ "application/json"
+ ],
"responses": {
"200": {
- "description": "A list of application model infos.",
+ "description": "Successful operation.",
"schema": {
- "$ref": "#/definitions/ModelsInfoResponseObject"
+ "$ref": "#/definitions/OperationStatus"
}
},
"default": {
@@ -1218,16 +1310,16 @@
"application/json"
],
"x-ms-examples": {
- "Successful Get Application Version Model Infos request": {
- "$ref": "./examples/model/SuccessfulGetApplicationVersionModelInfosRequest.json"
+ "Successful Update Entity Extractor request": {
+ "$ref": "./examples/model/SuccessfulUpdateEntityExtractorRequest.json"
}
}
}
},
- "/apps/{appId}/versions/{versionId}/models/{modelId}/examples": {
- "get": {
- "description": "Gets the example utterances for the given intent or entity model in a version of the application.",
- "operationId": "Model_Examples",
+ "/apps/{appId}/versions/{versionId}/intents/{intentId}/features": {
+ "post": {
+ "description": "Adds a new feature relation to be used by the intent in a version of the application.",
+ "operationId": "Features_AddIntentFeature",
"parameters": [
{
"$ref": "#/parameters/AppIdInPath"
@@ -1236,25 +1328,26 @@
"$ref": "#/parameters/VersionIdInPath"
},
{
- "name": "modelId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The ID (GUID) of the model.",
- "x-ms-parameter-location": "method"
- },
- {
- "$ref": "#/parameters/SkipInPath"
+ "$ref": "#/parameters/IntentIdInPath"
},
{
- "$ref": "#/parameters/TakeInPath"
+ "name": "featureRelationCreateObject",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ModelFeatureInformation"
+ },
+ "description": "A Feature relation information object."
}
],
+ "consumes": [
+ "application/json"
+ ],
"responses": {
"200": {
- "description": "A list of example utterances for the model.",
+ "description": "Successful operation.",
"schema": {
- "$ref": "#/definitions/ExamplesPerModelResponseObject"
+ "$ref": "#/definitions/OperationStatus"
}
},
"default": {
@@ -1268,16 +1361,14 @@
"application/json"
],
"x-ms-examples": {
- "Successful Get Examples Per Model Request": {
- "$ref": "./examples/model/SuccessfulGetExamplesPerModelRequest.json"
+ "Successful Add Feature Relation request": {
+ "$ref": "./examples/model/SuccessfulAddIntentFeatureRelationRequest.json"
}
}
- }
- },
- "/apps/{appId}/versions/{versionId}/intents/{intentId}": {
+ },
"get": {
- "description": "Gets information about the intent model in a version of the application.",
- "operationId": "Model_GetIntent",
+ "description": "Gets the information of the features used by the intent in a version of the application.",
+ "operationId": "Model_GetIntentFeatures",
"parameters": [
{
"$ref": "#/parameters/AppIdInPath"
@@ -1290,31 +1381,31 @@
}
],
"responses": {
- "200": {
- "description": "An intent model info.",
- "schema": {
- "$ref": "#/definitions/IntentClassifier"
- }
- },
- "default": {
- "description": "Error Response.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
+ "200": {
+ "description": "A list of feature information objects for the intent.",
+ "schema": {
+ "$ref": "#/definitions/FeaturesPerModelResponseObject"
+ }
+ },
+ "default": {
+ "description": "Error Response.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
},
"produces": [
"application/json"
],
"x-ms-examples": {
- "Successful Get Intent Info request": {
- "$ref": "./examples/model/SuccessfulGetIntentInfoRequest.json"
+ "Successful Get Features information request": {
+ "$ref": "./examples/model/SuccessfulGetIntentFeaturesInfoRequest.json"
}
}
},
"put": {
- "description": "Updates the name of an intent in a version of the application.",
- "operationId": "Model_UpdateIntent",
+ "description": "Updates the information of the features used by the intent in a version of the application.",
+ "operationId": "Model_ReplaceIntentFeatures",
"parameters": [
{
"$ref": "#/parameters/AppIdInPath"
@@ -1326,13 +1417,13 @@
"$ref": "#/parameters/IntentIdInPath"
},
{
- "name": "modelUpdateObject",
+ "name": "featureRelationsUpdateObject",
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/ModelUpdateObject"
+ "$ref": "#/definitions/FeaturesPerModelResponseObject"
},
- "description": "A model object containing the new intent name."
+ "description": "A list of feature information objects containing the new feature relations."
}
],
"consumes": [
@@ -1356,14 +1447,14 @@
"application/json"
],
"x-ms-examples": {
- "Successful Rename Intent Model request": {
- "$ref": "./examples/model/SuccessfulRenameIntentModelRequest.json"
+ "Successful Replace Features request": {
+ "$ref": "./examples/model/SuccessfulReplaceIntentFeaturesRequest.json"
}
}
},
"delete": {
- "description": "Deletes an intent from a version of the application.",
- "operationId": "Model_DeleteIntent",
+ "description": "Deletes a relation from the feature relations used by the intent in a version of the application.",
+ "operationId": "Model_DeleteIntentFeature",
"parameters": [
{
"$ref": "#/parameters/AppIdInPath"
@@ -1375,11 +1466,13 @@
"$ref": "#/parameters/IntentIdInPath"
},
{
- "name": "deleteUtterances",
- "in": "query",
- "type": "boolean",
- "description": "If true, deletes the intent's example utterances. If false, moves the example utterances to the None intent. The default value is false.",
- "default": false
+ "name": "featureRelationDeleteObject",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ModelFeatureInformation"
+ },
+ "description": "A feature information object containing the feature relation to delete."
}
],
"responses": {
@@ -1400,16 +1493,16 @@
"application/json"
],
"x-ms-examples": {
- "Successful Delete Intent Model request": {
- "$ref": "./examples/model/SuccessfulDeleteIntentModelRequest.json"
+ "Successful Delete feature relation request": {
+ "$ref": "./examples/model/SuccessfulDeleteIntentFeatureRelationRequest.json"
}
}
}
},
- "/apps/{appId}/versions/{versionId}/entities/{entityId}": {
- "get": {
- "description": "Gets information about an entity model in a version of the application.",
- "operationId": "Model_GetEntity",
+ "/apps/{appId}/versions/{versionId}/entities/{entityId}/features": {
+ "post": {
+ "description": "Adds a new feature relation to be used by the entity in a version of the application.",
+ "operationId": "Features_AddEntityFeature",
"parameters": [
{
"$ref": "#/parameters/AppIdInPath"
@@ -1418,19 +1511,26 @@
"$ref": "#/parameters/VersionIdInPath"
},
{
- "name": "entityId",
- "in": "path",
- "description": "The entity extractor ID.",
+ "$ref": "#/parameters/EntityIdInPath"
+ },
+ {
+ "name": "featureRelationCreateObject",
+ "in": "body",
"required": true,
- "type": "string",
- "format": "uuid"
+ "schema": {
+ "$ref": "#/definitions/ModelFeatureInformation"
+ },
+ "description": "A Feature relation information object."
}
],
+ "consumes": [
+ "application/json"
+ ],
"responses": {
"200": {
- "description": "An entity model info.",
+ "description": "Successful operation.",
"schema": {
- "$ref": "#/definitions/NDepthEntityExtractor"
+ "$ref": "#/definitions/OperationStatus"
}
},
"default": {
@@ -1444,14 +1544,14 @@
"application/json"
],
"x-ms-examples": {
- "Successful Get Entity Info request": {
- "$ref": "./examples/model/SuccessfulGetEntityInfoRequest.json"
+ "Successful Add Feature Relation request": {
+ "$ref": "./examples/model/SuccessfulAddEntityFeatureRelationRequest.json"
}
}
},
- "delete": {
- "description": "Deletes an entity or a child from a version of the application.",
- "operationId": "Model_DeleteEntity",
+ "get": {
+ "description": "Gets the information of the features used by the entity in a version of the application.",
+ "operationId": "Model_GetEntityFeatures",
"parameters": [
{
"$ref": "#/parameters/AppIdInPath"
@@ -1460,17 +1560,61 @@
"$ref": "#/parameters/VersionIdInPath"
},
{
- "name": "entityId",
- "in": "path",
- "description": "The entity extractor or the child entity extractor ID.",
+ "$ref": "#/parameters/EntityIdInPath"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A list of feature information objects for the entity.",
+ "schema": {
+ "$ref": "#/definitions/FeaturesPerModelResponseObject"
+ }
+ },
+ "default": {
+ "description": "Error Response.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "Successful Get Features information request": {
+ "$ref": "./examples/model/SuccessfulGetEntityFeaturesInfoRequest.json"
+ }
+ }
+ },
+ "put": {
+ "description": "Updates the information of the features used by the entity in a version of the application.",
+ "operationId": "Model_ReplaceEntityFeatures",
+ "parameters": [
+ {
+ "$ref": "#/parameters/AppIdInPath"
+ },
+ {
+ "$ref": "#/parameters/VersionIdInPath"
+ },
+ {
+ "$ref": "#/parameters/EntityIdInPath"
+ },
+ {
+ "name": "featureRelationsUpdateObject",
+ "in": "body",
"required": true,
- "type": "string",
- "format": "uuid"
+ "schema": {
+ "$ref": "#/definitions/FeaturesPerModelResponseObject"
+ },
+ "description": "A list of feature information objects containing the new feature relations."
}
],
+ "consumes": [
+ "application/json"
+ ],
"responses": {
"200": {
- "description": "Successfully deleted entity.",
+ "description": "Successful operation.",
"schema": {
"$ref": "#/definitions/OperationStatus"
}
@@ -1486,14 +1630,14 @@
"application/json"
],
"x-ms-examples": {
- "Successful Delete Entity Info request": {
- "$ref": "./examples/model/SuccessfulDeleteEntityExtractorRequest.json"
+ "Successful Replace Features request": {
+ "$ref": "./examples/model/SuccessfulReplaceEntityFeaturesRequest.json"
}
}
},
- "patch": {
- "description": "Updates the name of an entity extractor or the name and instanceOf model of a child entity extractor.",
- "operationId": "Model_UpdateEntityChild",
+ "delete": {
+ "description": "Deletes a relation from the feature relations used by the entity in a version of the application.",
+ "operationId": "Model_DeleteEntityFeature",
"parameters": [
{
"$ref": "#/parameters/AppIdInPath"
@@ -1502,26 +1646,18 @@
"$ref": "#/parameters/VersionIdInPath"
},
{
- "name": "entityId",
- "in": "path",
- "description": "The entity extractor or the child entity extractor ID.",
- "required": true,
- "type": "string",
- "format": "uuid"
+ "$ref": "#/parameters/EntityIdInPath"
},
{
- "name": "entityModelUpdateObject",
+ "name": "featureRelationDeleteObject",
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/EntityModelUpdateObject"
+ "$ref": "#/definitions/ModelFeatureInformation"
},
- "description": "A model object containing the name new entity extractor or the name and instance of model of a child entity extractor "
+ "description": "A feature information object containing the feature relation to delete."
}
],
- "consumes": [
- "application/json"
- ],
"responses": {
"200": {
"description": "Successful operation.",
@@ -1540,8 +1676,8 @@
"application/json"
],
"x-ms-examples": {
- "Successful Update Entity Extractor request": {
- "$ref": "./examples/model/SuccessfulUpdateEntityExtractorRequest.json"
+ "Successful Delete feature relation request": {
+ "$ref": "./examples/model/SuccessfulDeleteEntityFeatureRelationRequest.json"
}
}
}
@@ -8070,25 +8206,6 @@
}
}
},
- "PatternUpdateObject": {
- "description": "Object model for updating an existing Pattern feature.",
- "type": "object",
- "properties": {
- "pattern": {
- "description": "The Regular Expression to match.",
- "type": "string"
- },
- "name": {
- "description": "Name of the feature.",
- "type": "string"
- },
- "isActive": {
- "description": "Indicates if the Pattern feature is enabled.",
- "default": true,
- "type": "boolean"
- }
- }
- },
"ClosedList": {
"description": "Exported Model - A list entity.",
"type": "object",
@@ -8159,20 +8276,6 @@
}
}
},
- "PatternCreateObject": {
- "description": "Object model for creating a Pattern feature.",
- "type": "object",
- "properties": {
- "pattern": {
- "description": "The Regular Expression to match.",
- "type": "string"
- },
- "name": {
- "description": "Name of the feature.",
- "type": "string"
- }
- }
- },
"WordListObject": {
"description": "Sublist of items for a list entity.",
"type": "object",
@@ -8387,6 +8490,11 @@
"description": "An exchangeable phrase list feature are serves as single feature to the LUIS underlying training algorithm. It is used as a lexicon lookup feature where its value is 1 if the lexicon contains a given word or 0 if it doesn’t. Think of an exchangeable as a synonyms list. A non-exchangeable phrase list feature has all the phrases in the list serve as separate features to the underlying training algorithm. So, if you your phrase list feature contains 5 phrases, they will be mapped to 5 separate features. You can think of the non-exchangeable phrase list feature as an additional bag of words that you are willing to add to LUIS existing vocabulary features. Think of a non-exchangeable as set of different words. Default value is true.",
"default": true,
"type": "boolean"
+ },
+ "enabledForAllModels": {
+ "description": "Indicates if the Phraselist is enabled for all models in the application.",
+ "default": true,
+ "type": "boolean"
}
}
},
@@ -9213,6 +9321,10 @@
"isActive": {
"description": "Indicates if the feature is enabled.",
"type": "boolean"
+ },
+ "enabledForAllModels": {
+ "description": "Indicates if the feature is enabled for all models in the application.",
+ "type": "boolean"
}
}
},
@@ -10022,6 +10134,27 @@
}
}
},
+ "FeaturesPerModelResponseObject":{
+ "description": "A list of feature information objects per model.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ModelFeatureInformation"
+ }
+ },
+ "ModelFeatureInformation":{
+ "description": "An object containing the model feature information either the model name or feature name.",
+ "type": "object",
+ "properties": {
+ "modelName": {
+ "type": "string",
+ "description": "The name of the model used."
+ },
+ "featureName": {
+ "type": "string",
+ "description": "The name of the feature used."
+ }
+ }
+ },
"PatternAny": {
"description": "Pattern.Any Entity Extractor.",
"type": "object",
@@ -10180,6 +10313,15 @@
"format": "uuid",
"x-ms-parameter-location": "method"
},
+ "EntityIdInPath": {
+ "name": "entityId",
+ "in": "path",
+ "description": "The entity extractor ID.",
+ "required": true,
+ "type": "string",
+ "format": "uuid",
+ "x-ms-parameter-location": "method"
+ },
"SlotNameInPath": {
"name": "slotName",
"in": "path",
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulCreatePatternFeatureRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulCreatePatternFeatureRequest.json
deleted file mode 100644
index 35e57c737e43..000000000000
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulCreatePatternFeatureRequest.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "parameters": {
- "Endpoint": "{Endpoint}",
- "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
- "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
- "versionId": "0.1",
- "patternCreateObject": {
- "name": "EmailPattern",
- "pattern": "\\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,}\\b"
- }
- },
- "responses": {
- "201": {
- "headers": {},
- "body": 83147
- }
- }
-}
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulGetApplicationVersionFeaturesRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulGetApplicationVersionFeaturesRequest.json
index 66a84bc09fa0..3a70755fff0f 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulGetApplicationVersionFeaturesRequest.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulGetApplicationVersionFeaturesRequest.json
@@ -17,14 +17,16 @@
"name": "Cities",
"phrases": "Seattle,New York,Paris,Moscow,Beijin",
"isExchangeable": true,
- "isActive": true
+ "isActive": true,
+ "enabledForAllModels": true
},
{
"id": 74598,
"name": "DaysOfWeek",
"phrases": "monday,tuesday,wednesday,thursday,friday,saturday,sunday",
"isExchangeable": true,
- "isActive": true
+ "isActive": true,
+ "enabledForAllModels": true
}
],
"patternFeatures": [
@@ -32,7 +34,8 @@
"id": 81231,
"name": "EmailPattern",
"pattern": "\\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,}\\b",
- "isActive": true
+ "isActive": true,
+ "enabledForAllModels": true
}
]
}
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulGetApplicationVersionPhraselistFeaturesRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulGetApplicationVersionPhraselistFeaturesRequest.json
index bb9025bc0045..3a6f5e4b33e9 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulGetApplicationVersionPhraselistFeaturesRequest.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulGetApplicationVersionPhraselistFeaturesRequest.json
@@ -14,14 +14,16 @@
"name": "Cities",
"phrases": "Seattle,New York,Paris,Moscow,Beijin",
"isExchangeable": true,
- "isActive": true
+ "isActive": true,
+ "enabledForAllModels": true
},
{
"id": 97832,
"name": "DaysOfWeek",
"phrases": "monday,tuesday,wednesday,thursday,friday,saturday,sunday",
"isExchangeable": true,
- "isActive": true
+ "isActive": true,
+ "enabledForAllModels": true
}
]
}
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulGetPatternFeatureInfoRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulGetPatternFeatureInfoRequest.json
deleted file mode 100644
index fafa171d1690..000000000000
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulGetPatternFeatureInfoRequest.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "parameters": {
- "Endpoint": "{Endpoint}",
- "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
- "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
- "versionId": "0.1",
- "patternId": 7892
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": 7892,
- "name": "EmailPattern",
- "pattern": "\\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,}\\b",
- "isActive": true
- }
- }
- }
-}
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulGetPhraselistFeatureInfoRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulGetPhraselistFeatureInfoRequest.json
index 8e50aee9467c..52649ceb5c3d 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulGetPhraselistFeatureInfoRequest.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulGetPhraselistFeatureInfoRequest.json
@@ -14,7 +14,8 @@
"name": "DaysOfWeek",
"phrases": "monday,tuesday,wednesday,thursday,friday,saturday,sunday",
"isExchangeable": true,
- "isActive": true
+ "isActive": true,
+ "enabledForAllModels": true
}
}
}
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulUpdatePatternFeatureInfoRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulUpdatePatternFeatureInfoRequest.json
deleted file mode 100644
index 3e3bdc463952..000000000000
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulUpdatePatternFeatureInfoRequest.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "parameters": {
- "Endpoint": "{Endpoint}",
- "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
- "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
- "versionId": "0.1",
- "patternId": 8342,
- "patternUpdateObject": {
- "name": "ModifiedEmailPattern",
- "pattern": "\\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,}\\b"
- }
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "code": "Success",
- "message": "Operation Successful"
- }
- }
- }
-}
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulUpdatePhraselistFeatureInfoRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulUpdatePhraselistFeatureInfoRequest.json
index 1d7675a2f4be..9faceb14a074 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulUpdatePhraselistFeatureInfoRequest.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulUpdatePhraselistFeatureInfoRequest.json
@@ -9,7 +9,8 @@
"name": "DaysOfWeek",
"phrases": "monday,tuesday,wednesday,thursday,friday,saturday,sunday",
"isActive": false,
- "isExchangeable": true
+ "isExchangeable": true,
+ "enabledForAllModels": false
}
},
"responses": {
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddEntityFeatureRelationRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddEntityFeatureRelationRequest.json
new file mode 100644
index 000000000000..03f889dfae4f
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddEntityFeatureRelationRequest.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "Endpoint": "{Endpoint}",
+ "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
+ "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
+ "versionId": "0.1",
+ "entityId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f",
+ "featureRelationCreateObject": {
+ "featureName": "Phraselist1"
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "code": "Success",
+ "message": "Operation Successful"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddIntentFeatureRelationRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddIntentFeatureRelationRequest.json
new file mode 100644
index 000000000000..232262f1e80e
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddIntentFeatureRelationRequest.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "Endpoint": "{Endpoint}",
+ "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
+ "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
+ "versionId": "0.1",
+ "intentId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f",
+ "featureRelationCreateObject": {
+ "featureName": "Phraselist1"
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "code": "Success",
+ "message": "Operation Successful"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteEntityFeatureRelationRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteEntityFeatureRelationRequest.json
new file mode 100644
index 000000000000..bead51b78678
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteEntityFeatureRelationRequest.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "Endpoint": "{Endpoint}",
+ "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
+ "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
+ "versionId": "0.1",
+ "entityId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f",
+ "featureRelationDeleteObject": {
+ "featureName": "Phraselist1"
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "code": "Success",
+ "message": "Operation Successful"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteIntentFeatureRelationRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteIntentFeatureRelationRequest.json
new file mode 100644
index 000000000000..d59cbeb99c3f
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteIntentFeatureRelationRequest.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "Endpoint": "{Endpoint}",
+ "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
+ "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
+ "versionId": "0.1",
+ "intentId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f",
+ "featureRelationDeleteObject": {
+ "featureName": "Phraselist1"
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "code": "Success",
+ "message": "Operation Successful"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulGetApplicationVersionPatternFeaturesRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetEntityFeaturesInfoRequest.json
similarity index 61%
rename from specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulGetApplicationVersionPatternFeaturesRequest.json
rename to specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetEntityFeaturesInfoRequest.json
index f0c92a45266f..b52055a2289c 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulGetApplicationVersionPatternFeaturesRequest.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetEntityFeaturesInfoRequest.json
@@ -3,19 +3,20 @@
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
"appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
- "versionId": "0.1"
+ "versionId": "0.1",
+ "entityId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f"
},
"responses": {
"200": {
"headers": {},
"body": [
{
- "id": 601765,
- "name": "PatternIP",
- "pattern": "\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\b",
- "isActive": true
+ "featureName": "Phraselist1"
+ },
+ {
+ "modelName": "None"
}
]
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulDeletePatternFeatureInfoRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetIntentFeaturesInfoRequest.json
similarity index 57%
rename from specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulDeletePatternFeatureInfoRequest.json
rename to specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetIntentFeaturesInfoRequest.json
index a015437cf345..12130103cb4b 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/features/SuccessfulDeletePatternFeatureInfoRequest.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetIntentFeaturesInfoRequest.json
@@ -4,15 +4,19 @@
"Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
"appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
"versionId": "0.1",
- "patternId": 8342
+ "intentId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f"
},
"responses": {
"200": {
"headers": {},
- "body": {
- "code": "Success",
- "message": "Operation Successful"
- }
+ "body": [
+ {
+ "featureName": "Phraselist1"
+ },
+ {
+ "modelName": "None"
+ }
+ ]
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceEntityFeaturesRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceEntityFeaturesRequest.json
new file mode 100644
index 000000000000..3f682ab3ac02
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceEntityFeaturesRequest.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "Endpoint": "{Endpoint}",
+ "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
+ "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
+ "versionId": "0.1",
+ "entityId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f",
+ "featureRelationsUpdateObject": [
+ {
+ "featureName": "Phraselist1"
+ },
+ {
+ "modelName": "None"
+ }
+ ]
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "code": "Success",
+ "message": "Operation Successful"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceIntentFeaturesRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceIntentFeaturesRequest.json
new file mode 100644
index 000000000000..a5246bf438ca
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceIntentFeaturesRequest.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "Endpoint": "{Endpoint}",
+ "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
+ "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
+ "versionId": "0.1",
+ "intentId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f",
+ "featureRelationsUpdateObject": [
+ {
+ "featureName": "Phraselist1"
+ },
+ {
+ "modelName": "None"
+ }
+ ]
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "code": "Success",
+ "message": "Operation Successful"
+ }
+ }
+ }
+}
\ No newline at end of file
From 5e3c3a71a0aafb424271a74230e24c1897653f2f Mon Sep 17 00:00:00 2001
From: Yang Yuan
Date: Mon, 21 Oct 2019 12:01:10 -0700
Subject: [PATCH 012/189] Refactory CognitiveServicesAccount model
specification. (#7415)
* Refactory CognitiveServicesAccount model specification.
* fix samples
---
.../stable/2017-04-18/cognitiveservices.json | 120 ++++++------------
.../2017-04-18/examples/CreateAccount.json | 2 +-
.../2017-04-18/examples/UpdateAccount.json | 2 +-
3 files changed, 44 insertions(+), 80 deletions(-)
diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json
index 8dce807da01d..b5988fc4f27a 100644
--- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json
+++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json
@@ -58,11 +58,11 @@
"description": "The name of Cognitive Services account."
},
{
- "name": "parameters",
+ "name": "account",
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/CognitiveServicesAccountCreateParameters"
+ "$ref": "#/definitions/CognitiveServicesAccount"
},
"description": "The parameters to provide for the created account."
},
@@ -124,12 +124,11 @@
"description": "The name of Cognitive Services account."
},
{
- "name": "parameters",
+ "name": "account",
"in": "body",
"required": true,
- "x-ms-client-flatten": true,
"schema": {
- "$ref": "#/definitions/CognitiveServicesAccountUpdateParameters"
+ "$ref": "#/definitions/CognitiveServicesAccount"
},
"description": "The parameters to provide for the created account."
},
@@ -638,7 +637,7 @@
"tags": [
"CognitiveServicesAccounts"
],
- "operationId": "CheckSkuAvailability_List",
+ "operationId": "CheckSkuAvailability",
"description": "Check available SKUs.",
"x-ms-examples": {
"Check SKU Availability": {
@@ -718,64 +717,10 @@
}
},
"definitions": {
- "CognitiveServicesAccountCreateParameters": {
- "properties": {
- "sku": {
- "$ref": "#/definitions/Sku",
- "description": "Required. Gets or sets the SKU of the resource."
- },
- "kind": {
- "$ref": "#/definitions/CognitiveServicesAccountKind",
- "description": "Required. Gets or sets the Kind of the resource."
- },
- "location": {
- "type": "string",
- "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update the request will succeed."
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters."
- },
- "properties": {
- "type": "object",
- "description": "Must exist in the request. Must be an empty object. Must not be null."
- }
- },
- "required": [
- "sku",
- "kind",
- "location",
- "properties"
- ],
- "description": "The parameters to provide for the account."
- },
"CognitiveServicesAccountKind": {
"type": "string",
"description": "Required. Indicates the type of cognitive service account."
},
- "CognitiveServicesAccountUpdateParameters": {
- "properties": {
- "sku": {
- "$ref": "#/definitions/Sku",
- "description": "Gets or sets the SKU of the resource."
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters."
- },
- "properties": {
- "type": "object",
- "description": "Additional properties for Account. Only provided fields will be updated."
- }
- },
- "description": "The parameters to provide for the account."
- },
"Sku": {
"properties": {
"name": {
@@ -812,7 +757,8 @@
"properties": {
"etag": {
"type": "string",
- "description": "Entity Tag"
+ "description": "Entity Tag",
+ "readOnly": true
},
"id": {
"type": "string",
@@ -820,8 +766,8 @@
"readOnly": true
},
"kind": {
- "type": "string",
- "description": "Type of cognitive service account."
+ "$ref": "#/definitions/CognitiveServicesAccountKind",
+ "description": "The Kind of the resource."
},
"location": {
"type": "string",
@@ -833,7 +779,6 @@
"readOnly": true
},
"properties": {
- "x-ms-client-flatten": true,
"$ref": "#/definitions/CognitiveServicesAccountProperties",
"description": "Properties of Cognitive Services account."
},
@@ -894,11 +839,13 @@
},
"endpoint": {
"type": "string",
- "description": "Endpoint of the created account."
+ "description": "Endpoint of the created account.",
+ "readOnly": true
},
"internalId": {
"type": "string",
- "description": "The internal identifier."
+ "description": "The internal identifier.",
+ "readOnly": true
},
"customSubDomainName": {
"type": "string",
@@ -907,10 +854,39 @@
"networkAcls": {
"$ref": "#/definitions/NetworkRuleSet",
"description": "A collection of rules governing the accessibility from specific network locations."
+ },
+ "apiProperties": {
+ "$ref": "#/definitions/CognitiveServicesAccountApiProperties",
+ "description": "The api properties for special APIs."
}
},
"description": "Properties of Cognitive Services account."
},
+ "CognitiveServicesAccountApiProperties": {
+ "properties": {
+ "qnaRuntimeEndpoint": {
+ "type": "string",
+ "description": "(QnAMaker Only) The runtime endpoint of QnAMaker."
+ },
+ "statisticsEnabled": {
+ "type": "boolean",
+ "description": "(Bing Search Only) The flag to enable statistics of Bing Search."
+ },
+ "eventHubConnectionString": {
+ "type": "string",
+ "description": "(Personalization Only) The flag to enable statistics of Bing Search.",
+ "pattern": "^( *)Endpoint=sb://(.*);( *)SharedAccessKeyName=(.*);( *)SharedAccessKey=(.*)$",
+ "maxLength": 1000
+ },
+ "storageAccountConnectionString": {
+ "type": "string",
+ "description": "(Personalization Only) The storage account connection string.",
+ "pattern": "^(( *)DefaultEndpointsProtocol=(http|https)( *);( *))?AccountName=(.*)AccountKey=(.*)EndpointSuffix=(.*)$",
+ "maxLength": 1000
+ }
+ },
+ "description": "The api properties for special APIs."
+ },
"CognitiveServicesAccountKeys": {
"properties": {
"key1": {
@@ -1383,18 +1359,6 @@
},
"NetworkRuleSet": {
"properties": {
- "bypass": {
- "type": "string",
- "description": "Tells what traffic can bypass network rules. This can be 'AzureServices' or 'None'. If not specified the default is 'AzureServices'.",
- "enum": [
- "AzureServices",
- "None"
- ],
- "x-ms-enum": {
- "name": "NetworkRuleBypassOptions",
- "modelAsString": true
- }
- },
"defaultAction": {
"type": "string",
"description": "The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated.",
diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/CreateAccount.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/CreateAccount.json
index a03d569cebb0..0fb6620ac0c8 100644
--- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/CreateAccount.json
+++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/CreateAccount.json
@@ -4,7 +4,7 @@
"subscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3",
"resourceGroupName": "felixwa-01",
"accountName": "testCreate1",
- "parameters": {
+ "account": {
"location": "West US",
"kind": "Emotion",
"sku": {
diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/UpdateAccount.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/UpdateAccount.json
index 85ccd6e423c5..5202d73879af 100644
--- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/UpdateAccount.json
+++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/UpdateAccount.json
@@ -4,7 +4,7 @@
"subscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3",
"resourceGroupName": "bvttest",
"accountName": "bingSearch",
- "parameters": {
+ "account": {
"sku": {
"name": "S2"
}
From 6a15a807496f036d89f6f251b9a12945b6b001ae Mon Sep 17 00:00:00 2001
From: Zhenfeng
Date: Mon, 21 Oct 2019 12:41:46 -0700
Subject: [PATCH 013/189] [SRP] Add CORS to common types (#7562)
---
.../stable/2019-06-01/blob.json | 68 +----------------
.../stable/2019-06-01/common.json | 76 +++++++++++++++++++
.../stable/2019-06-01/file.json | 2 +-
3 files changed, 78 insertions(+), 68 deletions(-)
create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/common.json
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json
index 36c1fb5a71b9..a3e7f61c4865 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json
@@ -1124,7 +1124,7 @@
"properties": {
"properties": {
"cors": {
- "$ref": "#/definitions/CorsRules",
+ "$ref": "./common.json#/definitions/CorsRules",
"description": "Specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob service."
},
"defaultServiceVersion": {
@@ -1192,72 +1192,6 @@
},
"description": "The blob service properties for soft delete."
},
- "CorsRules": {
- "properties": {
- "corsRules": {
- "type": "array",
- "items": {
- "description": "Specifies a CORS rule for the Blob service. ",
- "$ref": "#/definitions/CorsRule"
- },
- "description": "The List of CORS rules. You can include up to five CorsRule elements in the request. "
- }
- },
- "description": "Sets the CORS rules. You can include up to five CorsRule elements in the request. "
- },
- "CorsRule": {
- "properties": {
- "allowedOrigins": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or \"*\" to allow all domains"
- },
- "allowedMethods": {
- "type": "array",
- "items": {
- "type": "string",
- "enum": [
- "DELETE",
- "GET",
- "HEAD",
- "MERGE",
- "POST",
- "OPTIONS",
- "PUT"
- ]
- },
- "description": "Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin."
- },
- "maxAgeInSeconds": {
- "type": "integer",
- "description": "Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response."
- },
- "exposedHeaders": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "Required if CorsRule element is present. A list of response headers to expose to CORS clients."
- },
- "allowedHeaders": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request."
- }
- },
- "required": [
- "allowedOrigins",
- "allowedMethods",
- "maxAgeInSeconds",
- "exposedHeaders",
- "allowedHeaders"
- ],
- "description": "Specifies a CORS rule for the Blob service."
- },
"LeaseContainerRequest": {
"properties": {
"action": {
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/common.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/common.json
new file mode 100644
index 000000000000..d3734f098d55
--- /dev/null
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/common.json
@@ -0,0 +1,76 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Storage",
+ "description": "Storage Resource Provider API Common Types",
+ "version": "2019-06-01"
+ },
+ "definitions": {
+ "CorsRules": {
+ "properties": {
+ "corsRules": {
+ "type": "array",
+ "items": {
+ "description": "Specifies a CORS rule for the Blob service. ",
+ "$ref": "#/definitions/CorsRule"
+ },
+ "description": "The List of CORS rules. You can include up to five CorsRule elements in the request. "
+ }
+ },
+ "description": "Sets the CORS rules. You can include up to five CorsRule elements in the request. "
+ },
+ "CorsRule": {
+ "properties": {
+ "allowedOrigins": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or \"*\" to allow all domains"
+ },
+ "allowedMethods": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "DELETE",
+ "GET",
+ "HEAD",
+ "MERGE",
+ "POST",
+ "OPTIONS",
+ "PUT"
+ ]
+ },
+ "description": "Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin."
+ },
+ "maxAgeInSeconds": {
+ "type": "integer",
+ "description": "Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response."
+ },
+ "exposedHeaders": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Required if CorsRule element is present. A list of response headers to expose to CORS clients."
+ },
+ "allowedHeaders": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request."
+ }
+ },
+ "required": [
+ "allowedOrigins",
+ "allowedMethods",
+ "maxAgeInSeconds",
+ "exposedHeaders",
+ "allowedHeaders"
+ ],
+ "description": "Specifies a CORS rule for the Blob service."
+ }
+ }
+}
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/file.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/file.json
index f9a7f555f6ce..b781e6ec5f61 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/file.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/file.json
@@ -430,7 +430,7 @@
"properties": {
"properties": {
"cors": {
- "$ref": "../../../../../storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json#/definitions/CorsRules",
+ "$ref": "./common.json#/definitions/CorsRules",
"description": "Specifies CORS rules for the File service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the File service."
}
},
From 71db5461832a424d6d4daeab0bd8e05e1cf5ffd9 Mon Sep 17 00:00:00 2001
From: Rohan Kulkarni <36928710+rokulka@users.noreply.github.com>
Date: Tue, 22 Oct 2019 01:34:27 +0530
Subject: [PATCH 014/189] Updating the docs to include rankerType field in
QueryDTO (#7538)
* Updating the docs to include rankerType field in QueryDTO
* PR comments
---
.../data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json
index adc3dd313096..4707f478307c 100644
--- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json
+++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json
@@ -357,6 +357,10 @@
}
]
},
+ "rankerType": {
+ "type": "string",
+ "description": "Optional field. Set to 'QuestionOnly' for using a question only Ranker."
+ },
"strictFilters": {
"type": "array",
"description": "Find only answers that contain these metadata.",
From 4032496599d3c3ddeda7b76dcae3083ef2f667eb Mon Sep 17 00:00:00 2001
From: Bertrand Le Roy
Date: Mon, 21 Oct 2019 13:33:05 -0700
Subject: [PATCH 015/189] [Azure Search] Apply branding changes to
stable/2019-05-06 and track1/stable/2019-05-06 (#7511)
* Apply branding changes to stable/2019-05-06 and track1/stable/2019-05-06
* Address code review comments
---
.../stable/2019-05-06/searchindex.json | 36 +++----
.../track1/stable/2019-05-06/searchindex.json | 36 +++----
.../stable/2019-05-06/searchservice.json | 100 +++++++++---------
.../stable/2019-05-06/searchservice.json | 100 +++++++++---------
4 files changed, 136 insertions(+), 136 deletions(-)
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/searchindex.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/searchindex.json
index 033e280ba681..15578ddb879e 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/searchindex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/searchindex.json
@@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "SearchIndexClient",
- "description": "Client that can be used to query an Azure Search index and upload, merge, or delete documents.",
+ "description": "Client that can be used to query an index and upload, merge, or delete documents.",
"version": "2019-05-06",
"x-ms-code-generation-settings": {
"useDateTimeOffset": true,
@@ -80,7 +80,7 @@
"$ref": "./examples/SearchIndexSearchDocumentsGet.json"
}
},
- "description": "Searches for documents in the Azure Search index.",
+ "description": "Searches for documents in the index.",
"parameters": [
{
"name": "search",
@@ -312,7 +312,7 @@
"$ref": "./examples/SearchIndexSearchDocumentsPost.json"
}
},
- "description": "Searches for documents in the Azure Search index.",
+ "description": "Searches for documents in the index.",
"parameters": [
{
"name": "searchRequest",
@@ -356,7 +356,7 @@
"$ref": "./examples/SearchIndexGetDocument.json"
}
},
- "description": "Retrieves a document from the Azure Search index.",
+ "description": "Retrieves a document from the index.",
"parameters": [
{
"name": "key",
@@ -406,7 +406,7 @@
"$ref": "./examples/SearchIndexSuggestDocumentsGet.json"
}
},
- "description": "Suggests documents in the Azure Search index that match the given partial query text.",
+ "description": "Suggests documents in the index that match the given partial query text.",
"parameters": [
{
"name": "search",
@@ -550,7 +550,7 @@
"$ref": "./examples/SearchIndexSuggestDocumentsPost.json"
}
},
- "description": "Suggests documents in the Azure Search index that match the given partial query text.",
+ "description": "Suggests documents in the index that match the given partial query text.",
"parameters": [
{
"name": "suggestRequest",
@@ -593,7 +593,7 @@
"$ref": "./examples/SearchIndexIndexDocuments.json"
}
},
- "description": "Sends a batch of document write actions to the Azure Search index.",
+ "description": "Sends a batch of document write actions to the index.",
"parameters": [
{
"name": "batch",
@@ -642,7 +642,7 @@
"$ref": "./examples/SearchIndexAutocompleteDocumentsGet.json"
}
},
- "description": "Autocompletes incomplete query terms based on input text and matching terms in the Azure Search index.",
+ "description": "Autocompletes incomplete query terms based on input text and matching terms in the index.",
"parameters": [
{
"$ref": "#/parameters/ClientRequestIdParameter"
@@ -780,7 +780,7 @@
"$ref": "./examples/SearchIndexAutocompleteDocumentsPost.json"
}
},
- "description": "Autocompletes incomplete query terms based on input text and matching terms in the Azure Search index.",
+ "description": "Autocompletes incomplete query terms based on input text and matching terms in the index.",
"parameters": [
{
"$ref": "#/parameters/ClientRequestIdParameter"
@@ -831,7 +831,7 @@
"description": "A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not set in the request."
}
},
- "description": "Response containing suggestion query results from an Azure Search index."
+ "description": "Response containing suggestion query results from an index."
},
"SuggestResult": {
"properties": {
@@ -864,7 +864,7 @@
"format": "int64",
"readOnly": true,
"x-ms-client-name": "Count",
- "description": "The total count of results found by the search operation, or null if the count was not requested. If present, the count may be greater than the number of results in this response. This can happen if you use the $top or $skip parameters, or if Azure Search can't return all the requested documents in a single Search response."
+ "description": "The total count of results found by the search operation, or null if the count was not requested. If present, the count may be greater than the number of results in this response. This can happen if you use the $top or $skip parameters, or if Azure Cognitive Search can't return all the requested documents in a single Search response."
},
"@search.coverage": {
"type": "number",
@@ -889,7 +889,7 @@
"$ref": "#/definitions/SearchRequest",
"readOnly": true,
"x-ms-client-name": "NextPageParameters",
- "description": "Continuation JSON payload returned when Azure Search can't return all the requested results in a single Search response. You can use this JSON along with @odata.nextLink to formulate another POST Search request to get the next part of the search response."
+ "description": "Continuation JSON payload returned when Azure Cognitive Search can't return all the requested results in a single Search response. You can use this JSON along with @odata.nextLink to formulate another POST Search request to get the next part of the search response."
},
"value": {
"type": "array",
@@ -904,10 +904,10 @@
"type": "string",
"readOnly": true,
"x-ms-client-name": "NextLink",
- "description": "Continuation URL returned when Azure Search can't return all the requested results in a single Search response. You can use this URL to formulate another GET or POST Search request to get the next part of the search response. Make sure to use the same verb (GET or POST) as the request that produced this response."
+ "description": "Continuation URL returned when Azure Cognitive Search can't return all the requested results in a single Search response. You can use this URL to formulate another GET or POST Search request to get the next part of the search response. Make sure to use the same verb (GET or POST) as the request that produced this response."
}
},
- "description": "Response containing search results from an Azure Search index."
+ "description": "Response containing search results from an index."
},
"SearchResult": {
"properties": {
@@ -949,7 +949,7 @@
"required": [
"value"
],
- "description": "Contains a batch of document write actions to send to the Azure Search index."
+ "description": "Contains a batch of document write actions to send to the index."
},
"IndexAction": {
"properties": {
@@ -1310,7 +1310,7 @@
"required": true,
"type": "string",
"x-ms-skip-url-encoding": true,
- "description": "The name of the Azure Search service.",
+ "description": "The name of the search service.",
"x-ms-parameter-location": "client"
},
"SearchDnsSuffixParameter": {
@@ -1320,7 +1320,7 @@
"type": "string",
"default": "search.windows.net",
"x-ms-skip-url-encoding": true,
- "description": "The DNS suffix of the Azure Search service. The default is search.windows.net.",
+ "description": "The DNS suffix of the search service. The default is search.windows.net.",
"x-ms-parameter-location": "client"
},
"IndexNameParameter": {
@@ -1329,7 +1329,7 @@
"required": true,
"type": "string",
"x-ms-skip-url-encoding": false,
- "description": "The name of the Azure Search index.",
+ "description": "The name of the index.",
"x-ms-parameter-location": "client"
}
}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/stable/2019-05-06/searchindex.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/stable/2019-05-06/searchindex.json
index 033e280ba681..15578ddb879e 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/stable/2019-05-06/searchindex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/stable/2019-05-06/searchindex.json
@@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "SearchIndexClient",
- "description": "Client that can be used to query an Azure Search index and upload, merge, or delete documents.",
+ "description": "Client that can be used to query an index and upload, merge, or delete documents.",
"version": "2019-05-06",
"x-ms-code-generation-settings": {
"useDateTimeOffset": true,
@@ -80,7 +80,7 @@
"$ref": "./examples/SearchIndexSearchDocumentsGet.json"
}
},
- "description": "Searches for documents in the Azure Search index.",
+ "description": "Searches for documents in the index.",
"parameters": [
{
"name": "search",
@@ -312,7 +312,7 @@
"$ref": "./examples/SearchIndexSearchDocumentsPost.json"
}
},
- "description": "Searches for documents in the Azure Search index.",
+ "description": "Searches for documents in the index.",
"parameters": [
{
"name": "searchRequest",
@@ -356,7 +356,7 @@
"$ref": "./examples/SearchIndexGetDocument.json"
}
},
- "description": "Retrieves a document from the Azure Search index.",
+ "description": "Retrieves a document from the index.",
"parameters": [
{
"name": "key",
@@ -406,7 +406,7 @@
"$ref": "./examples/SearchIndexSuggestDocumentsGet.json"
}
},
- "description": "Suggests documents in the Azure Search index that match the given partial query text.",
+ "description": "Suggests documents in the index that match the given partial query text.",
"parameters": [
{
"name": "search",
@@ -550,7 +550,7 @@
"$ref": "./examples/SearchIndexSuggestDocumentsPost.json"
}
},
- "description": "Suggests documents in the Azure Search index that match the given partial query text.",
+ "description": "Suggests documents in the index that match the given partial query text.",
"parameters": [
{
"name": "suggestRequest",
@@ -593,7 +593,7 @@
"$ref": "./examples/SearchIndexIndexDocuments.json"
}
},
- "description": "Sends a batch of document write actions to the Azure Search index.",
+ "description": "Sends a batch of document write actions to the index.",
"parameters": [
{
"name": "batch",
@@ -642,7 +642,7 @@
"$ref": "./examples/SearchIndexAutocompleteDocumentsGet.json"
}
},
- "description": "Autocompletes incomplete query terms based on input text and matching terms in the Azure Search index.",
+ "description": "Autocompletes incomplete query terms based on input text and matching terms in the index.",
"parameters": [
{
"$ref": "#/parameters/ClientRequestIdParameter"
@@ -780,7 +780,7 @@
"$ref": "./examples/SearchIndexAutocompleteDocumentsPost.json"
}
},
- "description": "Autocompletes incomplete query terms based on input text and matching terms in the Azure Search index.",
+ "description": "Autocompletes incomplete query terms based on input text and matching terms in the index.",
"parameters": [
{
"$ref": "#/parameters/ClientRequestIdParameter"
@@ -831,7 +831,7 @@
"description": "A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not set in the request."
}
},
- "description": "Response containing suggestion query results from an Azure Search index."
+ "description": "Response containing suggestion query results from an index."
},
"SuggestResult": {
"properties": {
@@ -864,7 +864,7 @@
"format": "int64",
"readOnly": true,
"x-ms-client-name": "Count",
- "description": "The total count of results found by the search operation, or null if the count was not requested. If present, the count may be greater than the number of results in this response. This can happen if you use the $top or $skip parameters, or if Azure Search can't return all the requested documents in a single Search response."
+ "description": "The total count of results found by the search operation, or null if the count was not requested. If present, the count may be greater than the number of results in this response. This can happen if you use the $top or $skip parameters, or if Azure Cognitive Search can't return all the requested documents in a single Search response."
},
"@search.coverage": {
"type": "number",
@@ -889,7 +889,7 @@
"$ref": "#/definitions/SearchRequest",
"readOnly": true,
"x-ms-client-name": "NextPageParameters",
- "description": "Continuation JSON payload returned when Azure Search can't return all the requested results in a single Search response. You can use this JSON along with @odata.nextLink to formulate another POST Search request to get the next part of the search response."
+ "description": "Continuation JSON payload returned when Azure Cognitive Search can't return all the requested results in a single Search response. You can use this JSON along with @odata.nextLink to formulate another POST Search request to get the next part of the search response."
},
"value": {
"type": "array",
@@ -904,10 +904,10 @@
"type": "string",
"readOnly": true,
"x-ms-client-name": "NextLink",
- "description": "Continuation URL returned when Azure Search can't return all the requested results in a single Search response. You can use this URL to formulate another GET or POST Search request to get the next part of the search response. Make sure to use the same verb (GET or POST) as the request that produced this response."
+ "description": "Continuation URL returned when Azure Cognitive Search can't return all the requested results in a single Search response. You can use this URL to formulate another GET or POST Search request to get the next part of the search response. Make sure to use the same verb (GET or POST) as the request that produced this response."
}
},
- "description": "Response containing search results from an Azure Search index."
+ "description": "Response containing search results from an index."
},
"SearchResult": {
"properties": {
@@ -949,7 +949,7 @@
"required": [
"value"
],
- "description": "Contains a batch of document write actions to send to the Azure Search index."
+ "description": "Contains a batch of document write actions to send to the index."
},
"IndexAction": {
"properties": {
@@ -1310,7 +1310,7 @@
"required": true,
"type": "string",
"x-ms-skip-url-encoding": true,
- "description": "The name of the Azure Search service.",
+ "description": "The name of the search service.",
"x-ms-parameter-location": "client"
},
"SearchDnsSuffixParameter": {
@@ -1320,7 +1320,7 @@
"type": "string",
"default": "search.windows.net",
"x-ms-skip-url-encoding": true,
- "description": "The DNS suffix of the Azure Search service. The default is search.windows.net.",
+ "description": "The DNS suffix of the search service. The default is search.windows.net.",
"x-ms-parameter-location": "client"
},
"IndexNameParameter": {
@@ -1329,7 +1329,7 @@
"required": true,
"type": "string",
"x-ms-skip-url-encoding": false,
- "description": "The name of the Azure Search index.",
+ "description": "The name of the index.",
"x-ms-parameter-location": "client"
}
}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json
index c6d09b648205..4fe2600f2036 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json
@@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "SearchServiceClient",
- "description": "Client that can be used to manage and query indexes and documents, as well as manage other resources, on an Azure Search service.",
+ "description": "Client that can be used to manage and query indexes and documents, as well as manage other resources, on a search service.",
"version": "2019-05-06",
"x-ms-code-generation-settings": {
"useDateTimeOffset": true
@@ -38,7 +38,7 @@
"$ref": "./examples/SearchServiceCreateOrUpdateDataSource.json"
}
},
- "description": "Creates a new Azure Search datasource or updates a datasource if it already exists.",
+ "description": "Creates a new datasource or updates a datasource if it already exists.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Update-Data-Source"
},
@@ -101,7 +101,7 @@
"$ref": "./examples/SearchServiceDeleteDataSource.json"
}
},
- "description": "Deletes an Azure Search datasource.",
+ "description": "Deletes a datasource.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Delete-Data-Source"
},
@@ -146,7 +146,7 @@
"$ref": "./examples/SearchServiceGetDataSource.json"
}
},
- "description": "Retrieves a datasource definition from Azure Search.",
+ "description": "Retrieves a datasource definition.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Get-Data-Source"
},
@@ -187,7 +187,7 @@
"$ref": "./examples/SearchServiceListDataSources.json"
}
},
- "description": "Lists all datasources available for an Azure Search service.",
+ "description": "Lists all datasources available for a search service.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/List-Data-Sources"
},
@@ -226,7 +226,7 @@
"$ref": "./examples/SearchServiceCreateDataSource.json"
}
},
- "description": "Creates a new Azure Search datasource.",
+ "description": "Creates a new datasource.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Create-Data-Source"
},
@@ -269,7 +269,7 @@
"$ref": "./examples/SearchServiceResetIndexer.json"
}
},
- "description": "Resets the change tracking state associated with an Azure Search indexer.",
+ "description": "Resets the change tracking state associated with an indexer.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Reset-Indexer"
},
@@ -307,7 +307,7 @@
"$ref": "./examples/SearchServiceRunIndexer.json"
}
},
- "description": "Runs an Azure Search indexer on-demand.",
+ "description": "Runs an indexer on-demand.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Run-Indexer"
},
@@ -345,7 +345,7 @@
"$ref": "./examples/SearchServiceCreateOrUpdateIndexer.json"
}
},
- "description": "Creates a new Azure Search indexer or updates an indexer if it already exists.",
+ "description": "Creates a new indexer or updates an indexer if it already exists.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Create-Indexer"
},
@@ -408,7 +408,7 @@
"$ref": "./examples/SearchServiceDeleteIndexer.json"
}
},
- "description": "Deletes an Azure Search indexer.",
+ "description": "Deletes an indexer.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Delete-Indexer"
},
@@ -453,7 +453,7 @@
"$ref": "./examples/SearchServiceGetIndexer.json"
}
},
- "description": "Retrieves an indexer definition from Azure Search.",
+ "description": "Retrieves an indexer definition.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Get-Indexer"
},
@@ -494,7 +494,7 @@
"$ref": "./examples/SearchServiceListIndexers.json"
}
},
- "description": "Lists all indexers available for an Azure Search service.",
+ "description": "Lists all indexers available for a search service.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/List-Indexers"
},
@@ -533,7 +533,7 @@
"$ref": "./examples/SearchServiceCreateIndexer.json"
}
},
- "description": "Creates a new Azure Search indexer.",
+ "description": "Creates a new indexer.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Create-Indexer"
},
@@ -617,7 +617,7 @@
"$ref": "./examples/SearchServiceCreateOrUpdateSkillset.json"
}
},
- "description": "Creates a new cognitive skillset in an Azure Search service or updates the skillset if it already exists.",
+ "description": "Creates a new skillset in a search service or updates the skillset if it already exists.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/update-skillset"
},
@@ -636,7 +636,7 @@
"schema": {
"$ref": "#/definitions/Skillset"
},
- "description": "The skillset containing one or more cognitive skills to create or update in an Azure Search service."
+ "description": "The skillset containing one or more skills to create or update in a search service."
},
{
"$ref": "#/parameters/ClientRequestIdParameter"
@@ -674,7 +674,7 @@
"$ref": "./examples/SearchServiceDeleteSkillset.json"
}
},
- "description": "Deletes a cognitive skillset in an Azure Search service.",
+ "description": "Deletes a skillset in a search service.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/delete-skillset"
},
@@ -713,7 +713,7 @@
"$ref": "./examples/SearchServiceGetSkillset.json"
}
},
- "description": "Retrieves a cognitive skillset in an Azure Search service.",
+ "description": "Retrieves a skillset in a search service.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/get-skillset"
},
@@ -754,7 +754,7 @@
"$ref": "./examples/SearchServiceListSkillsets.json"
}
},
- "description": "List all cognitive skillsets in an Azure Search service.",
+ "description": "List all skillsets in a search service.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/list-skillset"
},
@@ -793,7 +793,7 @@
"$ref": "./examples/SearchServiceCreateSkillset.json"
}
},
- "description": "Creates a new cognitive skillset in an Azure Search service.",
+ "description": "Creates a new skillset in a search service.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/create-skillset"
},
@@ -805,7 +805,7 @@
"schema": {
"$ref": "#/definitions/Skillset"
},
- "description": "The skillset containing one or more cognitive skills to create in an Azure Search service."
+ "description": "The skillset containing one or more skills to create in a search service."
},
{
"$ref": "#/parameters/ClientRequestIdParameter"
@@ -836,7 +836,7 @@
"$ref": "./examples/SearchServiceCreateOrUpdateSynonymMap.json"
}
},
- "description": "Creates a new Azure Search synonym map or updates a synonym map if it already exists.",
+ "description": "Creates a new synonym map or updates a synonym map if it already exists.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Update-Synonym-Map"
},
@@ -899,7 +899,7 @@
"$ref": "./examples/SearchServiceDeleteSynonymMap.json"
}
},
- "description": "Deletes an Azure Search synonym map.",
+ "description": "Deletes a synonym map.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Delete-Synonym-Map"
},
@@ -944,7 +944,7 @@
"$ref": "./examples/SearchServiceGetSynonymMap.json"
}
},
- "description": "Retrieves a synonym map definition from Azure Search.",
+ "description": "Retrieves a synonym map definition.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Get-Synonym-Map"
},
@@ -985,7 +985,7 @@
"$ref": "./examples/SearchServiceListSynonymMaps.json"
}
},
- "description": "Lists all synonym maps available for an Azure Search service.",
+ "description": "Lists all synonym maps available for a search service.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/List-Synonym-Maps"
},
@@ -1024,7 +1024,7 @@
"$ref": "./examples/SearchServiceCreateSynonymMap.json"
}
},
- "description": "Creates a new Azure Search synonym map.",
+ "description": "Creates a new synonym map.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Create-Synonym-Map"
},
@@ -1067,7 +1067,7 @@
"$ref": "./examples/SearchServiceCreateIndex.json"
}
},
- "description": "Creates a new Azure Search index.",
+ "description": "Creates a new search index.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Create-Index"
},
@@ -1108,7 +1108,7 @@
"$ref": "./examples/SearchServiceListIndexes.json"
}
},
- "description": "Lists all indexes available for an Azure Search service.",
+ "description": "Lists all indexes available for a search service.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/List-Indexes"
},
@@ -1149,7 +1149,7 @@
"$ref": "./examples/SearchServiceCreateOrUpdateIndex.json"
}
},
- "description": "Creates a new Azure Search index or updates an index if it already exists.",
+ "description": "Creates a new search index or updates an index if it already exists.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Update-Index"
},
@@ -1219,7 +1219,7 @@
"$ref": "./examples/SearchServiceDeleteIndex.json"
}
},
- "description": "Deletes an Azure Search index and all the documents it contains.",
+ "description": "Deletes a search index and all the documents it contains.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Delete-Index"
},
@@ -1264,7 +1264,7 @@
"$ref": "./examples/SearchServiceGetIndex.json"
}
},
- "description": "Retrieves an index definition from Azure Search.",
+ "description": "Retrieves an index definition.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Get-Index"
},
@@ -1396,7 +1396,7 @@
"$ref": "./examples/SearchServiceGetServiceStatistics.json"
}
},
- "description": "Gets service level statistics for an Azure Search service.",
+ "description": "Gets service level statistics for a search service.",
"parameters": [
{
"$ref": "#/parameters/ClientRequestIdParameter"
@@ -1595,7 +1595,7 @@
"name": "AnalyzerName",
"modelAsString": false
},
- "description": "Defines the names of all text analyzers supported by Azure Search.",
+ "description": "Defines the names of all text analyzers supported by Azure Cognitive Search.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Language-support"
}
@@ -1621,7 +1621,7 @@
"name": "TokenizerName",
"modelAsString": false
},
- "description": "Defines the names of all tokenizers supported by Azure Search.",
+ "description": "Defines the names of all tokenizers supported by Azure Cognitive Search.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
}
@@ -1668,7 +1668,7 @@
"name": "TokenFilterName",
"modelAsString": false
},
- "description": "Defines the names of all token filters supported by Azure Search.",
+ "description": "Defines the names of all token filters supported by Azure Cognitive Search.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
}
@@ -1682,7 +1682,7 @@
"name": "CharFilterName",
"modelAsString": false
},
- "description": "Defines the names of all character filters supported by Azure Search.",
+ "description": "Defines the names of all character filters supported by Azure Cognitive Search.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
}
@@ -1724,7 +1724,7 @@
"name": "DataType",
"modelAsString": false
},
- "description": "Defines the data type of a field in an Azure Search index."
+ "description": "Defines the data type of a field in a search index."
},
"Analyzer": {
"discriminator": "@odata.type",
@@ -3528,7 +3528,7 @@
"name": "DataSourceType",
"modelAsString": false
},
- "description": "Defines the type of an Azure Search datasource."
+ "description": "Defines the type of a datasource."
},
"DataSource": {
"properties": {
@@ -3575,7 +3575,7 @@
"credentials",
"container"
],
- "description": "Represents a datasource definition in Azure Search, which can be used to configure an indexer."
+ "description": "Represents a datasource definition, which can be used to configure an indexer."
},
"DataSourceListResult": {
"properties": {
@@ -3708,7 +3708,7 @@
},
"skillsetName": {
"type": "string",
- "description": "The name of the cognitive skillset executing with this indexer."
+ "description": "The name of the skillset executing with this indexer."
},
"targetIndexName": {
"type": "string",
@@ -3762,7 +3762,7 @@
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Indexer-operations"
},
- "description": "Represents an Azure Search indexer."
+ "description": "Represents an indexer."
},
"IndexerListResult": {
"properties": {
@@ -4017,7 +4017,7 @@
},
"searchable": {
"type": "boolean",
- "description": "A value indicating whether the field is full-text searchable. This means it will undergo analysis such as word-breaking during indexing. If you set a searchable field to a value like \"sunny day\", internally it will be split into the individual tokens \"sunny\" and \"day\". This enables full-text searches for these terms. Fields of type Edm.String or Collection(Edm.String) are searchable by default. This property must be false for simple fields of other non-string data types, and it must be null for complex fields. Note: searchable fields consume extra space in your index since Azure Search will store an additional tokenized version of the field value for full-text searches. If you want to save space in your index and you don't need a field to be included in searches, set searchable to false."
+ "description": "A value indicating whether the field is full-text searchable. This means it will undergo analysis such as word-breaking during indexing. If you set a searchable field to a value like \"sunny day\", internally it will be split into the individual tokens \"sunny\" and \"day\". This enables full-text searches for these terms. Fields of type Edm.String or Collection(Edm.String) are searchable by default. This property must be false for simple fields of other non-string data types, and it must be null for complex fields. Note: searchable fields consume extra space in your index since Azure Cognitive Search will store an additional tokenized version of the field value for full-text searches. If you want to save space in your index and you don't need a field to be included in searches, set searchable to false."
},
"filterable": {
"type": "boolean",
@@ -4025,7 +4025,7 @@
},
"sortable": {
"type": "boolean",
- "description": "A value indicating whether to enable the field to be referenced in $orderby expressions. By default Azure Search sorts results by score, but in many experiences users will want to sort by fields in the documents. A simple field can be sortable only if it is single-valued (it has a single value in the scope of the parent document). Simple collection fields cannot be sortable, since they are multi-valued. Simple sub-fields of complex collections are also multi-valued, and therefore cannot be sortable. This is true whether it's an immediate parent field, or an ancestor field, that's the complex collection. Complex fields cannot be sortable and the sortable property must be null for such fields. The default for sortable is true for single-valued simple fields, false for multi-valued simple fields, and null for complex fields."
+ "description": "A value indicating whether to enable the field to be referenced in $orderby expressions. By default Azure Cognitive Search sorts results by score, but in many experiences users will want to sort by fields in the documents. A simple field can be sortable only if it is single-valued (it has a single value in the scope of the parent document). Simple collection fields cannot be sortable, since they are multi-valued. Simple sub-fields of complex collections are also multi-valued, and therefore cannot be sortable. This is true whether it's an immediate parent field, or an ancestor field, that's the complex collection. Complex fields cannot be sortable and the sortable property must be null for such fields. The default for sortable is true for single-valued simple fields, false for multi-valued simple fields, and null for complex fields."
},
"facetable": {
"type": "boolean",
@@ -4077,7 +4077,7 @@
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Create-Index"
},
- "description": "Represents a field in an index definition in Azure Search, which describes the name, data type, and search behavior of a field."
+ "description": "Represents a field in an index definition, which describes the name, data type, and search behavior of a field."
},
"TextWeights": {
"properties": {
@@ -4326,7 +4326,7 @@
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index"
},
- "description": "Defines parameters for an Azure Search index that influence scoring in search queries."
+ "description": "Defines parameters for a search index that influence scoring in search queries."
},
"ScoringFunctionAggregation": {
"type": "string",
@@ -4485,7 +4485,7 @@
"name",
"fields"
],
- "description": "Represents an index definition in Azure Search, which describes the fields and search behavior of an index."
+ "description": "Represents a search index definition, which describes the fields and search behavior of an index."
},
"IndexGetStatisticsResult": {
"properties": {
@@ -4555,7 +4555,7 @@
"externalDocs": {
"url": "https://docs.microsoft.com/azure/search/cognitive-search-tutorial-blob"
},
- "description": "A list of cognitive skills."
+ "description": "A list of skills."
},
"CognitiveServices": {
"discriminator": "@odata.type",
@@ -4628,7 +4628,7 @@
"items": {
"$ref": "#/definitions/OutputFieldMappingEntry"
},
- "description": "The output of a skill is either a field in an Azure Search index, or a value that can be consumed as an input by another skill."
+ "description": "The output of a skill is either a field in a search index, or a value that can be consumed as an input by another skill."
}
},
"required": [
@@ -5393,7 +5393,7 @@
"format",
"synonyms"
],
- "description": "Represents a synonym map definition in Azure Search."
+ "description": "Represents a synonym map definition."
},
"SynonymMapListResult": {
"properties": {
@@ -5564,7 +5564,7 @@
"required": true,
"type": "string",
"x-ms-skip-url-encoding": true,
- "description": "The name of the Azure Search service.",
+ "description": "The name of the search service.",
"x-ms-parameter-location": "client"
},
"SearchDnsSuffixParameter": {
@@ -5574,7 +5574,7 @@
"type": "string",
"default": "search.windows.net",
"x-ms-skip-url-encoding": true,
- "description": "The DNS suffix of the Azure Search service. The default is search.windows.net.",
+ "description": "The DNS suffix of the search service. The default is search.windows.net.",
"x-ms-parameter-location": "client"
}
}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/stable/2019-05-06/searchservice.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/stable/2019-05-06/searchservice.json
index 37a5f4f87bbc..cffd68fd895c 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/stable/2019-05-06/searchservice.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/stable/2019-05-06/searchservice.json
@@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "SearchServiceClient",
- "description": "Client that can be used to manage and query indexes and documents, as well as manage other resources, on an Azure Search service.",
+ "description": "Client that can be used to manage and query indexes and documents, as well as manage other resources, on a search service.",
"version": "2019-05-06",
"x-ms-code-generation-settings": {
"useDateTimeOffset": true
@@ -38,7 +38,7 @@
"$ref": "./examples/SearchServiceCreateOrUpdateDataSource.json"
}
},
- "description": "Creates a new Azure Search datasource or updates a datasource if it already exists.",
+ "description": "Creates a new datasource or updates a datasource if it already exists.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Update-Data-Source"
},
@@ -101,7 +101,7 @@
"$ref": "./examples/SearchServiceDeleteDataSource.json"
}
},
- "description": "Deletes an Azure Search datasource.",
+ "description": "Deletes a datasource.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Delete-Data-Source"
},
@@ -146,7 +146,7 @@
"$ref": "./examples/SearchServiceGetDataSource.json"
}
},
- "description": "Retrieves a datasource definition from Azure Search.",
+ "description": "Retrieves a datasource definition.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Get-Data-Source"
},
@@ -187,7 +187,7 @@
"$ref": "./examples/SearchServiceListDataSources.json"
}
},
- "description": "Lists all datasources available for an Azure Search service.",
+ "description": "Lists all datasources available for a search service.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/List-Data-Sources"
},
@@ -219,7 +219,7 @@
"$ref": "./examples/SearchServiceCreateDataSource.json"
}
},
- "description": "Creates a new Azure Search datasource.",
+ "description": "Creates a new datasource.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Create-Data-Source"
},
@@ -262,7 +262,7 @@
"$ref": "./examples/SearchServiceResetIndexer.json"
}
},
- "description": "Resets the change tracking state associated with an Azure Search indexer.",
+ "description": "Resets the change tracking state associated with an indexer.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Reset-Indexer"
},
@@ -300,7 +300,7 @@
"$ref": "./examples/SearchServiceRunIndexer.json"
}
},
- "description": "Runs an Azure Search indexer on-demand.",
+ "description": "Runs an indexer on-demand.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Run-Indexer"
},
@@ -338,7 +338,7 @@
"$ref": "./examples/SearchServiceCreateOrUpdateIndexer.json"
}
},
- "description": "Creates a new Azure Search indexer or updates an indexer if it already exists.",
+ "description": "Creates a new indexer or updates an indexer if it already exists.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Create-Indexer"
},
@@ -401,7 +401,7 @@
"$ref": "./examples/SearchServiceDeleteIndexer.json"
}
},
- "description": "Deletes an Azure Search indexer.",
+ "description": "Deletes an indexer.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Delete-Indexer"
},
@@ -446,7 +446,7 @@
"$ref": "./examples/SearchServiceGetIndexer.json"
}
},
- "description": "Retrieves an indexer definition from Azure Search.",
+ "description": "Retrieves an indexer definition.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Get-Indexer"
},
@@ -487,7 +487,7 @@
"$ref": "./examples/SearchServiceListIndexers.json"
}
},
- "description": "Lists all indexers available for an Azure Search service.",
+ "description": "Lists all indexers available for a search service.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/List-Indexers"
},
@@ -519,7 +519,7 @@
"$ref": "./examples/SearchServiceCreateIndexer.json"
}
},
- "description": "Creates a new Azure Search indexer.",
+ "description": "Creates a new indexer.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Create-Indexer"
},
@@ -603,7 +603,7 @@
"$ref": "./examples/SearchServiceCreateOrUpdateSkillset.json"
}
},
- "description": "Creates a new cognitive skillset in an Azure Search service or updates the skillset if it already exists.",
+ "description": "Creates a new skillset in a search service or updates the skillset if it already exists.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/update-skillset"
},
@@ -622,7 +622,7 @@
"schema": {
"$ref": "#/definitions/Skillset"
},
- "description": "The skillset containing one or more cognitive skills to create or update in an Azure Search service."
+ "description": "The skillset containing one or more skills to create or update in a search service."
},
{
"$ref": "#/parameters/ClientRequestIdParameter"
@@ -660,7 +660,7 @@
"$ref": "./examples/SearchServiceDeleteSkillset.json"
}
},
- "description": "Deletes a cognitive skillset in an Azure Search service.",
+ "description": "Deletes a skillset in a search service.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/delete-skillset"
},
@@ -699,7 +699,7 @@
"$ref": "./examples/SearchServiceGetSkillset.json"
}
},
- "description": "Retrieves a cognitive skillset in an Azure Search service.",
+ "description": "Retrieves a skillset in a search service.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/get-skillset"
},
@@ -740,7 +740,7 @@
"$ref": "./examples/SearchServiceListSkillsets.json"
}
},
- "description": "List all cognitive skillsets in an Azure Search service.",
+ "description": "List all skillsets in a search service.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/list-skillset"
},
@@ -772,7 +772,7 @@
"$ref": "./examples/SearchServiceCreateSkillset.json"
}
},
- "description": "Creates a new cognitive skillset in an Azure Search service.",
+ "description": "Creates a new skillset in a search service.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/create-skillset"
},
@@ -784,7 +784,7 @@
"schema": {
"$ref": "#/definitions/Skillset"
},
- "description": "The skillset containing one or more cognitive skills to create in an Azure Search service."
+ "description": "The skillset containing one or more skills to create in a search service."
},
{
"$ref": "#/parameters/ClientRequestIdParameter"
@@ -815,7 +815,7 @@
"$ref": "./examples/SearchServiceCreateOrUpdateSynonymMap.json"
}
},
- "description": "Creates a new Azure Search synonym map or updates a synonym map if it already exists.",
+ "description": "Creates a new synonym map or updates a synonym map if it already exists.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Update-Synonym-Map"
},
@@ -878,7 +878,7 @@
"$ref": "./examples/SearchServiceDeleteSynonymMap.json"
}
},
- "description": "Deletes an Azure Search synonym map.",
+ "description": "Deletes a synonym map.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Delete-Synonym-Map"
},
@@ -923,7 +923,7 @@
"$ref": "./examples/SearchServiceGetSynonymMap.json"
}
},
- "description": "Retrieves a synonym map definition from Azure Search.",
+ "description": "Retrieves a synonym map definition.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Get-Synonym-Map"
},
@@ -964,7 +964,7 @@
"$ref": "./examples/SearchServiceListSynonymMaps.json"
}
},
- "description": "Lists all synonym maps available for an Azure Search service.",
+ "description": "Lists all synonym maps available for a search service.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/List-Synonym-Maps"
},
@@ -996,7 +996,7 @@
"$ref": "./examples/SearchServiceCreateSynonymMap.json"
}
},
- "description": "Creates a new Azure Search synonym map.",
+ "description": "Creates a new synonym map.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Create-Synonym-Map"
},
@@ -1039,7 +1039,7 @@
"$ref": "./examples/SearchServiceCreateIndex.json"
}
},
- "description": "Creates a new Azure Search index.",
+ "description": "Creates a new search index.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Create-Index"
},
@@ -1080,7 +1080,7 @@
"$ref": "./examples/SearchServiceListIndexes.json"
}
},
- "description": "Lists all indexes available for an Azure Search service.",
+ "description": "Lists all indexes available for a search service.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/List-Indexes"
},
@@ -1121,7 +1121,7 @@
"$ref": "./examples/SearchServiceCreateOrUpdateIndex.json"
}
},
- "description": "Creates a new Azure Search index or updates an index if it already exists.",
+ "description": "Creates a new search index or updates an index if it already exists.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Update-Index"
},
@@ -1191,7 +1191,7 @@
"$ref": "./examples/SearchServiceDeleteIndex.json"
}
},
- "description": "Deletes an Azure Search index and all the documents it contains.",
+ "description": "Deletes a search index and all the documents it contains.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Delete-Index"
},
@@ -1236,7 +1236,7 @@
"$ref": "./examples/SearchServiceGetIndex.json"
}
},
- "description": "Retrieves an index definition from Azure Search.",
+ "description": "Retrieves an index definition.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Get-Index"
},
@@ -1368,7 +1368,7 @@
"$ref": "./examples/SearchServiceGetServiceStatistics.json"
}
},
- "description": "Gets service level statistics for an Azure Search service.",
+ "description": "Gets service level statistics for a search service.",
"parameters": [
{
"$ref": "#/parameters/ClientRequestIdParameter"
@@ -1567,7 +1567,7 @@
"name": "AnalyzerName",
"modelAsString": false
},
- "description": "Defines the names of all text analyzers supported by Azure Search.",
+ "description": "Defines the names of all text analyzers supported by Azure Cognitive Search.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Language-support"
}
@@ -1593,7 +1593,7 @@
"name": "TokenizerName",
"modelAsString": false
},
- "description": "Defines the names of all tokenizers supported by Azure Search.",
+ "description": "Defines the names of all tokenizers supported by Azure Cognitive Search.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
}
@@ -1640,7 +1640,7 @@
"name": "TokenFilterName",
"modelAsString": false
},
- "description": "Defines the names of all token filters supported by Azure Search.",
+ "description": "Defines the names of all token filters supported by Azure Cognitive Search.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
}
@@ -1654,7 +1654,7 @@
"name": "CharFilterName",
"modelAsString": false
},
- "description": "Defines the names of all character filters supported by Azure Search.",
+ "description": "Defines the names of all character filters supported by Azure Cognitive Search.",
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
}
@@ -1696,7 +1696,7 @@
"name": "DataType",
"modelAsString": false
},
- "description": "Defines the data type of a field in an Azure Search index."
+ "description": "Defines the data type of a field in a search index."
},
"Analyzer": {
"discriminator": "@odata.type",
@@ -3500,7 +3500,7 @@
"name": "DataSourceType",
"modelAsString": false
},
- "description": "Defines the type of an Azure Search datasource."
+ "description": "Defines the type of a datasource."
},
"DataSource": {
"properties": {
@@ -3547,7 +3547,7 @@
"credentials",
"container"
],
- "description": "Represents a datasource definition in Azure Search, which can be used to configure an indexer."
+ "description": "Represents a datasource definition, which can be used to configure an indexer."
},
"DataSourceListResult": {
"properties": {
@@ -3680,7 +3680,7 @@
},
"skillsetName": {
"type": "string",
- "description": "The name of the cognitive skillset executing with this indexer."
+ "description": "The name of the skillset executing with this indexer."
},
"targetIndexName": {
"type": "string",
@@ -3734,7 +3734,7 @@
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Indexer-operations"
},
- "description": "Represents an Azure Search indexer."
+ "description": "Represents an indexer."
},
"IndexerListResult": {
"properties": {
@@ -3989,7 +3989,7 @@
},
"searchable": {
"type": "boolean",
- "description": "A value indicating whether the field is full-text searchable. This means it will undergo analysis such as word-breaking during indexing. If you set a searchable field to a value like \"sunny day\", internally it will be split into the individual tokens \"sunny\" and \"day\". This enables full-text searches for these terms. Fields of type Edm.String or Collection(Edm.String) are searchable by default. This property must be false for simple fields of other non-string data types, and it must be null for complex fields. Note: searchable fields consume extra space in your index since Azure Search will store an additional tokenized version of the field value for full-text searches. If you want to save space in your index and you don't need a field to be included in searches, set searchable to false."
+ "description": "A value indicating whether the field is full-text searchable. This means it will undergo analysis such as word-breaking during indexing. If you set a searchable field to a value like \"sunny day\", internally it will be split into the individual tokens \"sunny\" and \"day\". This enables full-text searches for these terms. Fields of type Edm.String or Collection(Edm.String) are searchable by default. This property must be false for simple fields of other non-string data types, and it must be null for complex fields. Note: searchable fields consume extra space in your index since Azure Cognitive Search will store an additional tokenized version of the field value for full-text searches. If you want to save space in your index and you don't need a field to be included in searches, set searchable to false."
},
"filterable": {
"type": "boolean",
@@ -3997,7 +3997,7 @@
},
"sortable": {
"type": "boolean",
- "description": "A value indicating whether to enable the field to be referenced in $orderby expressions. By default Azure Search sorts results by score, but in many experiences users will want to sort by fields in the documents. A simple field can be sortable only if it is single-valued (it has a single value in the scope of the parent document). Simple collection fields cannot be sortable, since they are multi-valued. Simple sub-fields of complex collections are also multi-valued, and therefore cannot be sortable. This is true whether it's an immediate parent field, or an ancestor field, that's the complex collection. Complex fields cannot be sortable and the sortable property must be null for such fields. The default for sortable is true for single-valued simple fields, false for multi-valued simple fields, and null for complex fields."
+ "description": "A value indicating whether to enable the field to be referenced in $orderby expressions. By default Azure Cognitive Search sorts results by score, but in many experiences users will want to sort by fields in the documents. A simple field can be sortable only if it is single-valued (it has a single value in the scope of the parent document). Simple collection fields cannot be sortable, since they are multi-valued. Simple sub-fields of complex collections are also multi-valued, and therefore cannot be sortable. This is true whether it's an immediate parent field, or an ancestor field, that's the complex collection. Complex fields cannot be sortable and the sortable property must be null for such fields. The default for sortable is true for single-valued simple fields, false for multi-valued simple fields, and null for complex fields."
},
"facetable": {
"type": "boolean",
@@ -4049,7 +4049,7 @@
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Create-Index"
},
- "description": "Represents a field in an index definition in Azure Search, which describes the name, data type, and search behavior of a field."
+ "description": "Represents a field in an index definition, which describes the name, data type, and search behavior of a field."
},
"TextWeights": {
"properties": {
@@ -4298,7 +4298,7 @@
"externalDocs": {
"url": "https://docs.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index"
},
- "description": "Defines parameters for an Azure Search index that influence scoring in search queries."
+ "description": "Defines parameters for a search index that influence scoring in search queries."
},
"ScoringFunctionAggregation": {
"type": "string",
@@ -4457,7 +4457,7 @@
"name",
"fields"
],
- "description": "Represents an index definition in Azure Search, which describes the fields and search behavior of an index."
+ "description": "Represents a search index definition, which describes the fields and search behavior of an index."
},
"IndexGetStatisticsResult": {
"properties": {
@@ -4527,7 +4527,7 @@
"externalDocs": {
"url": "https://docs.microsoft.com/azure/search/cognitive-search-tutorial-blob"
},
- "description": "A list of cognitive skills."
+ "description": "A list of skills."
},
"CognitiveServices": {
"discriminator": "@odata.type",
@@ -4600,7 +4600,7 @@
"items": {
"$ref": "#/definitions/OutputFieldMappingEntry"
},
- "description": "The output of a skill is either a field in an Azure Search index, or a value that can be consumed as an input by another skill."
+ "description": "The output of a skill is either a field in a search index, or a value that can be consumed as an input by another skill."
}
},
"required": [
@@ -5365,7 +5365,7 @@
"format",
"synonyms"
],
- "description": "Represents a synonym map definition in Azure Search."
+ "description": "Represents a synonym map definition."
},
"SynonymMapListResult": {
"properties": {
@@ -5536,7 +5536,7 @@
"required": true,
"type": "string",
"x-ms-skip-url-encoding": true,
- "description": "The name of the Azure Search service.",
+ "description": "The name of the search service.",
"x-ms-parameter-location": "client"
},
"SearchDnsSuffixParameter": {
@@ -5546,7 +5546,7 @@
"type": "string",
"default": "search.windows.net",
"x-ms-skip-url-encoding": true,
- "description": "The DNS suffix of the Azure Search service. The default is search.windows.net.",
+ "description": "The DNS suffix of the search service. The default is search.windows.net.",
"x-ms-parameter-location": "client"
}
}
From f243746f4280f55c2b309c03acb62c78ec6575da Mon Sep 17 00:00:00 2001
From: farehar
Date: Mon, 21 Oct 2019 17:29:28 -0700
Subject: [PATCH 016/189] Add Hybrid RP rest api spec (#7487)
* Hybrid RP swagger
* Addressed feedback
* fix typo
* fix build issues
* fix validation issues
* fix validation errors
* fix errors
* fix errors
* fix errors
* remove 204 return codes
* updated examplese
---
.../preview/2019-03-18/HybridCompute.json | 789 ++++++++++
.../preview/2019-08-02/HybridCompute.json | 1270 +++++++++++++++++
.../2019-08-02/examples/GETExtension.json | 41 +
.../2019-08-02/examples/LISTExtension.json | 45 +
.../examples/Machines_CreateOrUpdate.json | 51 +
.../2019-08-02/examples/Machines_Delete.json | 13 +
.../2019-08-02/examples/Machines_Get.json | 41 +
.../Machines_ListByResourceGroup.json | 22 +
.../examples/Machines_ListBySubscription.json | 21 +
.../examples/Machines_Reconnect.json | 51 +
.../2019-08-02/examples/Machines_Update.json | 49 +
.../2019-08-02/examples/PUTExtension.json | 67 +
.../2019-08-02/examples/UpdateExtension.json | 54 +
.../hybridcompute/resource-manager/readme.md | 183 +++
14 files changed, 2697 insertions(+)
create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-03-18/HybridCompute.json
create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json
create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/GETExtension.json
create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/LISTExtension.json
create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_CreateOrUpdate.json
create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Delete.json
create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Get.json
create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListByResourceGroup.json
create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListBySubscription.json
create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Reconnect.json
create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Update.json
create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/PUTExtension.json
create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/UpdateExtension.json
create mode 100644 specification/hybridcompute/resource-manager/readme.md
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-03-18/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-03-18/HybridCompute.json
new file mode 100644
index 000000000000..7243fe2f0b19
--- /dev/null
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-03-18/HybridCompute.json
@@ -0,0 +1,789 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "HybridComputeManagementClient",
+ "description": "The Hybrid Compute Management Client.",
+ "version": "2019-03-18-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}": {
+ "put": {
+ "tags": [
+ "machines"
+ ],
+ "operationId": "Machines_CreateOrUpdate",
+ "description": "The operation to create or update a hybrid machine resource identity in Azure.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the hybrid machine."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Machine"
+ },
+ "description": "Parameters supplied to the Create hybrid machine operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Machine"
+ }
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {}
+ },
+ "patch": {
+ "tags": [
+ "machines"
+ ],
+ "operationId": "Machines_Update",
+ "description": "The operation to update a hybrid machine.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the hybrid machine."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MachineUpdate"
+ },
+ "description": "Parameters supplied to the Update hybrid machine operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Machine"
+ }
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {}
+ },
+ "delete": {
+ "tags": [
+ "machines"
+ ],
+ "operationId": "Machines_Delete",
+ "description": "The operation to remove a hybrid machine identity in Azure.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the hybrid machine."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {}
+ },
+ "get": {
+ "tags": [
+ "machines"
+ ],
+ "operationId": "Machines_Get",
+ "description": "Retrieves information about the model view or the instance view of a hybrid machine.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the hybrid machine."
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The expand expression to apply on the operation.",
+ "enum": [
+ "instanceView"
+ ],
+ "x-ms-enum": {
+ "name": "InstanceViewTypes",
+ "modelAsString": false
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Machine"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {}
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/reconnect": {
+ "post": {
+ "tags": [
+ "machines"
+ ],
+ "operationId": "Machines_Reconnect",
+ "description": "The operation to reconnect a hybrid machine resource to its identity in Azure.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the hybrid machine."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MachineReconnect"
+ },
+ "description": "Parameters supplied to the Reconnect hybrid machine operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Machine"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {}
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines": {
+ "get": {
+ "tags": [
+ "machines"
+ ],
+ "operationId": "Machines_ListByResourceGroup",
+ "description": "Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next page of hybrid machines.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MachineListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {},
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/machines": {
+ "get": {
+ "tags": [
+ "machines"
+ ],
+ "operationId": "Machines_ListBySubscription",
+ "description": "Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MachineListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {},
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.HybridCompute/operations": {
+ "get": {
+ "tags": [
+ "operations"
+ ],
+ "operationId": "Operations_List",
+ "description": "Gets a list of hybrid compute operations.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ }
+ },
+ "definitions": {
+ "OperationListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/OperationValue"
+ },
+ "description": "The list of compute operations"
+ }
+ },
+ "description": "The List Compute Operation operation response."
+ },
+ "OperationValue": {
+ "properties": {
+ "origin": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The origin of the compute operation."
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the compute operation."
+ },
+ "display": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/OperationValueDisplay",
+ "description": "Display properties"
+ }
+ },
+ "description": "Describes the properties of a Compute Operation value."
+ },
+ "OperationValueDisplay": {
+ "properties": {
+ "operation": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The display name of the compute operation."
+ },
+ "resource": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The display name of the resource the operation applies to."
+ },
+ "description": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The description of the operation."
+ },
+ "provider": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The resource provider for the operation."
+ }
+ },
+ "description": "Describes the properties of a Hybrid Compute Operation Value Display."
+ },
+ "OSProfile": {
+ "readOnly": true,
+ "properties": {
+ "computerName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Specifies the host OS name of the hybrid machine."
+ }
+ },
+ "description": "Specifies the operating system settings for the hybrid machine."
+ },
+ "MachineProperties": {
+ "properties": {
+ "osProfile": {
+ "$ref": "#/definitions/OSProfile",
+ "description": "Specifies the operating system settings for the hybrid machine."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The provisioning state, which only appears in the response."
+ },
+ "status": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The status of the hybrid machine agent.",
+ "enum": [
+ "Connected",
+ "Disconnected",
+ "Error"
+ ],
+ "x-ms-enum": {
+ "name": "StatusTypes",
+ "modelAsString": false
+ }
+ },
+ "lastStatusChange": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The time of the last status change."
+ },
+ "errorDetails": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorDetail"
+ },
+ "description": "Details about the error state."
+ },
+ "agentVersion": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The hybrid machine agent full version."
+ },
+ "vmId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the hybrid machine unique ID."
+ },
+ "displayName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the hybrid machine display name."
+ },
+ "machineFqdn": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the hybrid machine FQDN."
+ },
+ "physicalLocation": {
+ "type": "string",
+ "description": "Resource's Physical Location"
+ },
+ "clientPublicKey": {
+ "type": "string",
+ "description": "Public Key that the client provides to be used during initial resource onboarding"
+ },
+ "osName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The Operating System running on the hybrid machine."
+ },
+ "osVersion": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The version of Operating System running on the hybrid machine."
+ }
+ },
+ "description": "Describes the properties of a hybrid machine."
+ },
+ "MachineReconnectProperties": {
+ "properties": {
+ "vmId": {
+ "type": "string",
+ "description": "Specifies the hybrid machine unique ID."
+ },
+ "clientPublicKey": {
+ "type": "string",
+ "description": "Public Key that the client provides to be used during initial resource onboarding."
+ }
+ },
+ "description": "Describes the properties required to reconnect a hybrid machine."
+ },
+ "MachineUpdateProperties": {
+ "properties": {
+ "physicalLocation": {
+ "type": "string",
+ "description": "Resource's Physical Location"
+ }
+ },
+ "description": "Describes the ARM updatable properties of a hybrid machine."
+ },
+ "Machine": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MachineProperties",
+ "description": "Hybrid Compute Machine properties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Describes a hybrid machine."
+ },
+ "MachineUpdate": {
+ "properties": {
+ "identity": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/Identity",
+ "description": "Hybrid Compute Machine Managed Identity"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MachineUpdateProperties",
+ "description": "Hybrid Compute Machine properties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "description": "Describes a hybrid machine Update."
+ },
+ "MachineReconnect": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MachineReconnectProperties",
+ "description": "Hybrid Compute Machine properties"
+ }
+ },
+ "description": "Describes a hybrid machine reconnect."
+ },
+ "MachineListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Machine"
+ },
+ "description": "The list of hybrid machines."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URI to fetch the next page of VMs. Call ListNext() with this URI to fetch the next page of hybrid machines."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List hybrid machine operation response."
+ },
+ "Resource": {
+ "description": "The Resource model definition.",
+ "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",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ },
+ "identity": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/Identity",
+ "description": "Hybrid Compute Machine Managed Identity"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true
+ },
+ "UpdateResource": {
+ "description": "The Update Resource model definition.",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ }
+ },
+ "ErrorDetail": {
+ "title": "Error details.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The error's code.",
+ "type": "string"
+ },
+ "message": {
+ "description": "A human readable error message.",
+ "type": "string"
+ },
+ "target": {
+ "description": "Indicates which property in the request is responsible for the error.",
+ "type": "string"
+ },
+ "details": {
+ "description": "Additional error details.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorDetail"
+ }
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ]
+ },
+ "ErrorResponse": {
+ "title": "Error response.",
+ "description": "Contains details when the response code indicates an error.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "description": "The error details.",
+ "$ref": "#/definitions/ErrorDetail"
+ }
+ },
+ "required": [
+ "error"
+ ]
+ },
+ "Identity": {
+ "title": "Managed Identity.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "The identity type.",
+ "type": "string"
+ },
+ "principalId": {
+ "readOnly": true,
+ "description": "The identity's principal id.",
+ "type": "string"
+ },
+ "tenantId": {
+ "readOnly": true,
+ "description": "The identity's tenant id.",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "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/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json
new file mode 100644
index 000000000000..42cdd6fec784
--- /dev/null
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json
@@ -0,0 +1,1270 @@
+{
+ "swagger":"2.0",
+ "info":{
+ "title":"HybridComputeManagementClient",
+ "description":"The Hybrid Compute Management Client.",
+ "version":"2019-08-02-preview"
+ },
+ "host":"management.azure.com",
+ "schemes":[
+ "https"
+ ],
+ "consumes":[
+ "application/json"
+ ],
+ "produces":[
+ "application/json"
+ ],
+ "security":[
+ {
+ "azure_auth":[
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions":{
+ "azure_auth":{
+ "type":"oauth2",
+ "authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow":"implicit",
+ "description":"Azure Active Directory OAuth2 Flow",
+ "scopes":{
+ "user_impersonation":"impersonate your user account"
+ }
+ }
+ },
+ "paths":{
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}":{
+ "put":{
+ "tags":[
+ "machines"
+ ],
+ "operationId":"Machines_CreateOrUpdate",
+ "description":"The operation to create or update a hybrid machine resource identity in Azure.",
+ "parameters":[
+ {
+ "$ref":"#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref":"#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name":"resourceGroupName",
+ "in":"path",
+ "required":true,
+ "type":"string",
+ "description":"The name of the resource group."
+ },
+ {
+ "name":"name",
+ "in":"path",
+ "required":true,
+ "type":"string",
+ "description":"The name of the hybrid machine."
+ },
+ {
+ "name":"parameters",
+ "in":"body",
+ "required":true,
+ "schema":{
+ "$ref":"#/definitions/Machine"
+ },
+ "description":"Parameters supplied to the Create hybrid machine operation."
+ }
+ ],
+ "responses":{
+ "200":{
+ "description":"OK",
+ "schema":{
+ "$ref":"#/definitions/Machine"
+ }
+ },
+ "default":{
+ "description":"Error response describing why the operation failed.",
+ "schema":{
+ "$ref":"#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create or Update a Machine": {
+ "$ref": "./examples/Machines_CreateOrUpdate.json"
+ }
+ }
+ },
+ "patch":{
+ "tags":[
+ "machines"
+ ],
+ "operationId":"Machines_Update",
+ "description":"The operation to update a hybrid machine.",
+ "parameters":[
+ {
+ "$ref":"#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref":"#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name":"resourceGroupName",
+ "in":"path",
+ "required":true,
+ "type":"string",
+ "description":"The name of the resource group."
+ },
+ {
+ "name":"name",
+ "in":"path",
+ "required":true,
+ "type":"string",
+ "description":"The name of the hybrid machine."
+ },
+ {
+ "name":"parameters",
+ "in":"body",
+ "required":true,
+ "schema":{
+ "$ref":"#/definitions/MachineUpdate"
+ },
+ "description":"Parameters supplied to the Update hybrid machine operation."
+ }
+ ],
+ "responses":{
+ "200":{
+ "description":"OK",
+ "schema":{
+ "$ref":"#/definitions/Machine"
+ }
+ },
+ "default":{
+ "description":"Error response describing why the operation failed.",
+ "schema":{
+ "$ref":"#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update a Machine": {
+ "$ref": "./examples/Machines_Update.json"
+ }
+ }
+ },
+ "delete":{
+ "tags":[
+ "machines"
+ ],
+ "operationId":"Machines_Delete",
+ "description":"The operation to remove a hybrid machine identity in Azure.",
+ "parameters":[
+ {
+ "$ref":"#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref":"#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name":"resourceGroupName",
+ "in":"path",
+ "required":true,
+ "type":"string",
+ "description":"The name of the resource group."
+ },
+ {
+ "name":"name",
+ "in":"path",
+ "required":true,
+ "type":"string",
+ "description":"The name of the hybrid machine."
+ }
+ ],
+ "responses":{
+ "200":{
+ "description":"OK"
+ },
+ "204":{
+ "description":"No Content"
+ },
+ "default":{
+ "description":"Error response describing why the operation failed.",
+ "schema":{
+ "$ref":"#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete a Machine": {
+ "$ref": "./examples/Machines_Delete.json"
+ }
+ }
+ },
+ "get":{
+ "tags":[
+ "machines"
+ ],
+ "operationId":"Machines_Get",
+ "description":"Retrieves information about the model view or the instance view of a hybrid machine.",
+ "parameters":[
+ {
+ "$ref":"#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref":"#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name":"resourceGroupName",
+ "in":"path",
+ "required":true,
+ "type":"string",
+ "description":"The name of the resource group."
+ },
+ {
+ "name":"name",
+ "in":"path",
+ "required":true,
+ "type":"string",
+ "description":"The name of the hybrid machine."
+ },
+ {
+ "name":"$expand",
+ "in":"query",
+ "required":false,
+ "type":"string",
+ "description":"The expand expression to apply on the operation.",
+ "enum":[
+ "instanceView"
+ ],
+ "x-ms-enum":{
+ "name":"InstanceViewTypes",
+ "modelAsString":false
+ }
+ }
+ ],
+ "responses":{
+ "200":{
+ "description":"OK",
+ "schema":{
+ "$ref":"#/definitions/Machine"
+ }
+ },
+ "default":{
+ "description":"Error response describing why the operation failed.",
+ "schema":{
+ "$ref":"#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Machine": {
+ "$ref": "./examples/Machines_Get.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/reconnect":{
+ "post":{
+ "tags":[
+ "machines"
+ ],
+ "operationId":"Machines_Reconnect",
+ "description":"The operation to reconnect a hybrid machine resource to its identity in Azure.",
+ "parameters":[
+ {
+ "$ref":"#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref":"#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name":"resourceGroupName",
+ "in":"path",
+ "required":true,
+ "type":"string",
+ "description":"The name of the resource group."
+ },
+ {
+ "name":"name",
+ "in":"path",
+ "required":true,
+ "type":"string",
+ "description":"The name of the hybrid machine."
+ },
+ {
+ "name":"parameters",
+ "in":"body",
+ "required":true,
+ "schema":{
+ "$ref":"#/definitions/MachineReconnect"
+ },
+ "description":"Parameters supplied to the Reconnect hybrid machine operation."
+ }
+ ],
+ "responses":{
+ "200":{
+ "description":"OK",
+ "schema":{
+ "$ref":"#/definitions/Machine"
+ }
+ },
+ "default":{
+ "description":"Error response describing why the operation failed.",
+ "schema":{
+ "$ref":"#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Reconnect a Machine": {
+ "$ref": "./examples/Machines_Reconnect.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines":{
+ "get":{
+ "tags":[
+ "machines"
+ ],
+ "operationId":"Machines_ListByResourceGroup",
+ "description":"Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next page of hybrid machines.",
+ "parameters":[
+ {
+ "$ref":"#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref":"#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name":"resourceGroupName",
+ "in":"path",
+ "required":true,
+ "type":"string",
+ "description":"The name of the resource group."
+ }
+ ],
+ "responses":{
+ "200":{
+ "description":"OK",
+ "schema":{
+ "$ref":"#/definitions/MachineListResult"
+ }
+ },
+ "default":{
+ "description":"Error response describing why the operation failed.",
+ "schema":{
+ "$ref":"#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List Machines by resource group": {
+ "$ref": "./examples/Machines_ListByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable":{
+ "nextLinkName":"nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/machines":{
+ "get":{
+ "tags":[
+ "machines"
+ ],
+ "operationId":"Machines_ListBySubscription",
+ "description":"Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines.",
+ "parameters":[
+ {
+ "$ref":"#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref":"#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses":{
+ "200":{
+ "description":"OK",
+ "schema":{
+ "$ref":"#/definitions/MachineListResult"
+ }
+ },
+ "default":{
+ "description":"Error response describing why the operation failed.",
+ "schema":{
+ "$ref":"#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List Machines by resource group": {
+ "$ref": "./examples/Machines_ListBySubscription.json"
+ }
+ },
+ "x-ms-pageable":{
+ "nextLinkName":"nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/extensions/{extensionName}":{
+ "put":{
+ "tags":[
+ "MachineExtensions"
+ ],
+ "operationId":"MachineExtensions_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":"name",
+ "in":"path",
+ "required":true,
+ "type":"string",
+ "description":"The name of the machine where the extension should be created or updated."
+ },
+ {
+ "name":"extensionName",
+ "in":"path",
+ "required":true,
+ "type":"string",
+ "description":"The name of the machine extension."
+ },
+ {
+ "name":"extensionParameters",
+ "in":"body",
+ "required":true,
+ "schema":{
+ "$ref":"#/definitions/MachineExtension"
+ },
+ "description":"Parameters supplied to the Create Machine Extension operation."
+ },
+ {
+ "$ref":"#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref":"#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses":{
+ "200":{
+ "description":"OK",
+ "schema":{
+ "$ref":"#/definitions/MachineExtension"
+ }
+ },
+ "202":{
+ "description":"HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously."
+ }
+ },
+ "x-ms-examples": {
+ "Create or Update a Machine Extension": {
+ "$ref": "./examples/PUTExtension.json"
+ }
+ },
+ "x-ms-long-running-operation":true
+ },
+ "patch":{
+ "tags":[
+ "MachineExtensions"
+ ],
+ "operationId":"MachineExtensions_Update",
+ "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":"name",
+ "in":"path",
+ "required":true,
+ "type":"string",
+ "description":"The name of the machine where the extension should be created or updated."
+ },
+ {
+ "name":"extensionName",
+ "in":"path",
+ "required":true,
+ "type":"string",
+ "description":"The name of the machine extension."
+ },
+ {
+ "name":"extensionParameters",
+ "in":"body",
+ "required":true,
+ "schema":{
+ "$ref":"#/definitions/MachineExtensionUpdate"
+ },
+ "description":"Parameters supplied to the Create Machine Extension operation."
+ },
+ {
+ "$ref":"#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref":"#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses":{
+ "200":{
+ "description":"OK",
+ "schema":{
+ "$ref":"#/definitions/MachineExtension"
+ }
+ },
+ "202":{
+ "description":"Accepted"
+ }
+ },
+ "x-ms-examples": {
+ "Create or Update a Machine Extension": {
+ "$ref": "./examples/UpdateExtension.json"
+ }
+ },
+ "x-ms-long-running-operation":true
+ },
+ "delete":{
+ "tags":[
+ "MachineExtensions"
+ ],
+ "operationId":"MachineExtensions_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":"name",
+ "in":"path",
+ "required":true,
+ "type":"string",
+ "description":"The name of the machine where the extension should be deleted."
+ },
+ {
+ "name":"extensionName",
+ "in":"path",
+ "required":true,
+ "type":"string",
+ "description":"The name of the machine extension."
+ },
+ {
+ "$ref":"#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref":"#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses":{
+ "200":{
+ "description":"OK"
+ },
+ "202":{
+ "description":"Accepted"
+ },
+ "204":{
+ "description":"No Content"
+ }
+ },
+ "x-ms-long-running-operation":true,
+ "x-ms-examples":{
+ }
+ },
+ "get":{
+ "tags":[
+ "MachineExtensions"
+ ],
+ "operationId":"MachineExtensions_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":"name",
+ "in":"path",
+ "required":true,
+ "type":"string",
+ "description":"The name of the machine containing the extension."
+ },
+ {
+ "name":"extensionName",
+ "in":"path",
+ "required":true,
+ "type":"string",
+ "description":"The name of the machine extension."
+ },
+ {
+ "$ref":"#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref":"#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses":{
+ "200":{
+ "description":"OK",
+ "schema":{
+ "$ref":"#/definitions/MachineExtension"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GET Machine Extension": {
+ "$ref": "./examples/GETExtension.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/extensions":{
+ "get":{
+ "tags":[
+ "MachineExtensions"
+ ],
+ "operationId":"MachineExtensions_List",
+ "description":"The operation to get all extensions of a non-Azure machine",
+ "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":"The name of the machine containing the extension."
+ },
+ {
+ "name":"$expand",
+ "in":"query",
+ "required":false,
+ "type":"string",
+ "description":"The expand expression to apply on the operation."
+ },
+ {
+ "$ref":"#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref":"#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses":{
+ "200":{
+ "description":"OK",
+ "schema":{
+ "$ref":"#/definitions/MachineExtensionsListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "GET all Machine Extensions": {
+ "$ref": "./examples/LISTExtension.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.HybridCompute/operations":{
+ "get":{
+ "tags":[
+ "operations"
+ ],
+ "operationId":"Operations_List",
+ "description":"Gets a list of hybrid compute operations.",
+ "parameters":[
+ {
+ "$ref":"#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses":{
+ "200":{
+ "description":"OK",
+ "schema":{
+ "$ref":"#/definitions/OperationListResult"
+ }
+ },
+ "default":{
+ "description":"Error response describing why the operation failed.",
+ "schema":{
+ "$ref":"#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable":{
+ "nextLinkName":null
+ }
+ }
+ }
+ },
+ "definitions":{
+ "OperationListResult":{
+ "properties":{
+ "value":{
+ "type":"array",
+ "readOnly":true,
+ "items":{
+ "$ref":"#/definitions/OperationValue"
+ },
+ "description":"The list of compute operations"
+ }
+ },
+ "description":"The List Compute Operation operation response."
+ },
+ "OperationValue":{
+ "properties":{
+ "origin":{
+ "type":"string",
+ "readOnly":true,
+ "description":"The origin of the compute operation."
+ },
+ "name":{
+ "type":"string",
+ "readOnly":true,
+ "description":"The name of the compute operation."
+ },
+ "display":{
+ "x-ms-client-flatten":true,
+ "$ref":"#/definitions/OperationValueDisplay",
+ "description":"Display properties"
+ }
+ },
+ "description":"Describes the properties of a Compute Operation value."
+ },
+ "OperationValueDisplay":{
+ "properties":{
+ "operation":{
+ "type":"string",
+ "readOnly":true,
+ "description":"The display name of the compute operation."
+ },
+ "resource":{
+ "type":"string",
+ "readOnly":true,
+ "description":"The display name of the resource the operation applies to."
+ },
+ "description":{
+ "type":"string",
+ "readOnly":true,
+ "description":"The description of the operation."
+ },
+ "provider":{
+ "type":"string",
+ "readOnly":true,
+ "description":"The resource provider for the operation."
+ }
+ },
+ "description":"Describes the properties of a Hybrid Compute Operation Value Display."
+ },
+ "OSProfile":{
+ "readOnly":true,
+ "properties":{
+ "computerName":{
+ "type":"string",
+ "readOnly":true,
+ "description":"Specifies the host OS name of the hybrid machine."
+ }
+ },
+ "description":"Specifies the operating system settings for the hybrid machine."
+ },
+ "MachineProperties":{
+ "properties":{
+ "osProfile":{
+ "$ref":"#/definitions/OSProfile",
+ "description":"Specifies the operating system settings for the hybrid machine."
+ },
+ "provisioningState":{
+ "readOnly":true,
+ "type":"string",
+ "description":"The provisioning state, which only appears in the response."
+ },
+ "status":{
+ "readOnly":true,
+ "type":"string",
+ "description":"The status of the hybrid machine agent.",
+ "enum":[
+ "Connected",
+ "Disconnected",
+ "Error"
+ ],
+ "x-ms-enum":{
+ "name":"StatusTypes",
+ "modelAsString":false
+ }
+ },
+ "lastStatusChange":{
+ "readOnly":true,
+ "type":"string",
+ "format":"date-time",
+ "description":"The time of the last status change."
+ },
+ "errorDetails":{
+ "readOnly":true,
+ "type":"array",
+ "items":{
+ "$ref":"#/definitions/ErrorDetail"
+ },
+ "description":"Details about the error state."
+ },
+ "agentVersion":{
+ "readOnly":true,
+ "type":"string",
+ "description":"The hybrid machine agent full version."
+ },
+ "vmId":{
+ "readOnly":true,
+ "type":"string",
+ "description":"Specifies the hybrid machine unique ID."
+ },
+ "displayName":{
+ "readOnly":true,
+ "type":"string",
+ "description":"Specifies the hybrid machine display name."
+ },
+ "machineFqdn":{
+ "readOnly":true,
+ "type":"string",
+ "description":"Specifies the hybrid machine FQDN."
+ },
+ "physicalLocation":{
+ "type":"string",
+ "description":"Resource's Physical Location"
+ },
+ "clientPublicKey":{
+ "type":"string",
+ "description":"Public Key that the client provides to be used during initial resource onboarding"
+ },
+ "osName":{
+ "readOnly":true,
+ "type":"string",
+ "description":"The Operating System running on the hybrid machine."
+ },
+ "osVersion":{
+ "readOnly":true,
+ "type":"string",
+ "description":"The version of Operating System running on the hybrid machine."
+ },
+ "extensions":{
+ "type":"array",
+ "items":{
+ "$ref":"#/definitions/MachineExtensionInstanceView"
+ },
+ "description":"Machine Extensions information"
+ }
+ },
+ "description":"Describes the properties of a hybrid machine."
+ },
+ "MachineReconnectProperties":{
+ "properties":{
+ "vmId":{
+ "type":"string",
+ "description":"Specifies the hybrid machine unique ID."
+ },
+ "clientPublicKey":{
+ "type":"string",
+ "description":"Public Key that the client provides to be used during initial resource onboarding."
+ }
+ },
+ "description":"Describes the properties required to reconnect a hybrid machine."
+ },
+ "MachineUpdateProperties":{
+ "properties":{
+ "physicalLocation":{
+ "type":"string",
+ "description":"Resource's Physical Location"
+ }
+ },
+ "description":"Describes the ARM updatable properties of a hybrid machine."
+ },
+ "Machine":{
+ "properties":{
+ "properties":{
+ "x-ms-client-flatten":true,
+ "$ref":"#/definitions/MachineProperties",
+ "description":"Hybrid Compute Machine properties"
+ }
+ },
+ "allOf":[
+ {
+ "$ref":"#/definitions/Resource"
+ }
+ ],
+ "description":"Describes a hybrid machine."
+ },
+ "MachineUpdate":{
+ "properties":{
+ "identity":{
+ "x-ms-client-flatten":true,
+ "$ref":"#/definitions/Identity",
+ "description":"Hybrid Compute Machine Managed Identity"
+ },
+ "properties":{
+ "x-ms-client-flatten":true,
+ "$ref":"#/definitions/MachineUpdateProperties",
+ "description":"Hybrid Compute Machine properties"
+ }
+ },
+ "allOf":[
+ {
+ "$ref":"#/definitions/UpdateResource"
+ }
+ ],
+ "description":"Describes a hybrid machine Update."
+ },
+ "MachineReconnect":{
+ "properties":{
+ "properties":{
+ "x-ms-client-flatten":true,
+ "$ref":"#/definitions/MachineReconnectProperties",
+ "description":"Hybrid Compute Machine properties"
+ }
+ },
+ "description":"Describes a hybrid machine reconnect."
+ },
+ "MachineListResult":{
+ "properties":{
+ "value":{
+ "type":"array",
+ "items":{
+ "$ref":"#/definitions/Machine"
+ },
+ "description":"The list of hybrid machines."
+ },
+ "nextLink":{
+ "type":"string",
+ "description":"The URI to fetch the next page of Machines. Call ListNext() with this URI to fetch the next page of hybrid machines."
+ }
+ },
+ "required":[
+ "value"
+ ],
+ "description":"The List hybrid machine operation response."
+ },
+ "Resource":{
+ "description":"The Resource model definition.",
+ "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",
+ "x-ms-mutability":[
+ "create",
+ "read"
+ ]
+ },
+ "tags":{
+ "type":"object",
+ "additionalProperties":{
+ "type":"string"
+ },
+ "description":"Resource tags"
+ },
+ "identity":{
+ "x-ms-client-flatten":true,
+ "$ref":"#/definitions/Identity",
+ "description":"Hybrid Compute Machine Managed Identity"
+ }
+ },
+ "required":[
+ "location"
+ ],
+ "x-ms-azure-resource":true
+ },
+ "UpdateResource":{
+ "description":"The Update Resource model definition.",
+ "properties":{
+ "tags":{
+ "type":"object",
+ "additionalProperties":{
+ "type":"string"
+ },
+ "description":"Resource tags"
+ }
+ }
+ },
+ "ErrorDetail":{
+ "title":"Error details.",
+ "type":"object",
+ "properties":{
+ "code":{
+ "description":"The error's code.",
+ "type":"string"
+ },
+ "message":{
+ "description":"A human readable error message.",
+ "type":"string"
+ },
+ "target":{
+ "description":"Indicates which property in the request is responsible for the error.",
+ "type":"string"
+ },
+ "details":{
+ "description":"Additional error details.",
+ "type":"array",
+ "items":{
+ "$ref":"#/definitions/ErrorDetail"
+ }
+ }
+ },
+ "required":[
+ "code",
+ "message"
+ ]
+ },
+ "ErrorResponse":{
+ "title":"Error response.",
+ "description":"Contains details when the response code indicates an error.",
+ "type":"object",
+ "properties":{
+ "error":{
+ "description":"The error details.",
+ "$ref":"#/definitions/ErrorDetail"
+ }
+ },
+ "required":[
+ "error"
+ ]
+ },
+ "Identity":{
+ "title":"Managed Identity.",
+ "type":"object",
+ "properties":{
+ "type":{
+ "description":"The identity type.",
+ "type":"string"
+ },
+ "principalId":{
+ "readOnly":true,
+ "description":"The identity's principal id.",
+ "type":"string"
+ },
+ "tenantId":{
+ "readOnly":true,
+ "description":"The identity's tenant id.",
+ "type":"string"
+ }
+ }
+ },
+ "MachineExtension":{
+ "properties":{
+ "properties":{
+ "x-ms-client-flatten":true,
+ "$ref":"#/definitions/MachineExtensionProperties",
+ "description":"Describes Machine Extension Properties."
+ }
+ },
+ "allOf":[
+ {
+ "$ref":"#/definitions/Resource"
+ }
+ ],
+ "description":"Describes a Machine Extension."
+ },
+ "MachineExtensionUpdate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MachineExtensionUpdateProperties",
+ "description":"Describes Machine Extension Update Properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "description": "Describes a Machine Extension Update."
+ },
+ "MachineExtensionProperties":{
+ "properties":{
+ "forceUpdateTag":{
+ "type":"string",
+ "description":"How the extension handler should be forced to update even if the extension configuration has not changed."
+ },
+ "publisher":{
+ "type":"string",
+ "description":"The name of the extension handler publisher."
+ },
+ "type":{
+ "type":"string",
+ "description":"Specifies the type of the extension; an example is \"CustomScriptExtension\"."
+ },
+ "typeHandlerVersion":{
+ "type":"string",
+ "description":"Specifies the version of the script handler."
+ },
+ "autoUpgradeMinorVersion":{
+ "type":"boolean",
+ "description":"Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true."
+ },
+ "settings":{
+ "type":"object",
+ "description":"Json formatted public settings for the extension."
+ },
+ "protectedSettings":{
+ "type":"object",
+ "description":"The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all."
+ },
+ "provisioningState":{
+ "readOnly":true,
+ "type":"string",
+ "description":"The provisioning state, which only appears in the response."
+ },
+ "instanceView":{
+ "$ref":"#/definitions/MachineExtensionInstanceView",
+ "description":"The machine extension instance view."
+ }
+ },
+ "description":"Describes the properties of a Machine Extension."
+ },
+ "MachineExtensionUpdateProperties": {
+ "properties": {
+ "forceUpdateTag": {
+ "type": "string",
+ "description": "How the extension handler should be forced to update even if the extension configuration has not changed."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The name of the extension handler publisher."
+ },
+ "type": {
+ "type": "string",
+ "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
+ },
+ "typeHandlerVersion": {
+ "type": "string",
+ "description": "Specifies the version of the script handler."
+ },
+ "autoUpgradeMinorVersion": {
+ "type": "boolean",
+ "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true."
+ },
+ "settings": {
+ "type": "object",
+ "description": "Json formatted public settings for the extension."
+ },
+ "protectedSettings": {
+ "type": "object",
+ "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all."
+ }
+ },
+ "description": "Describes the properties of a Machine Extension."
+ },
+ "MachineExtensionInstanceView":{
+ "properties":{
+ "name":{
+ "type":"string",
+ "description":"The machine extension name."
+ },
+ "type":{
+ "type":"string",
+ "description":"Specifies the type of the extension; an example is \"CustomScriptExtension\"."
+ },
+ "typeHandlerVersion":{
+ "type":"string",
+ "description":"Specifies the version of the script handler."
+ },
+ "status":{
+ "properties":{
+ "code":{
+ "type":"string",
+ "description":"The status code."
+ },
+ "level":{
+ "type":"string",
+ "description":"The level code.",
+ "enum":[
+ "Info",
+ "Warning",
+ "Error"
+ ],
+ "x-ms-enum":{
+ "name":"StatusLevelTypes",
+ "modelAsString":false
+ }
+ },
+ "displayStatus":{
+ "type":"string",
+ "description":"The short localizable label for the status."
+ },
+ "message":{
+ "type":"string",
+ "description":"The detailed status message, including for alerts and error messages."
+ },
+ "time":{
+ "type":"string",
+ "format":"date-time",
+ "description":"The time of the status."
+ }
+ },
+ "description":"Instance view status."
+ }
+ },
+ "description":"Describes the Machine Extension Instance View."
+ },
+ "MachineExtensionsListResult":{
+ "properties":{
+ "value":{
+ "type":"array",
+ "items":{
+ "$ref":"#/definitions/MachineExtension"
+ },
+ "description":"The list of extensions"
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of machine extensions. Call ListNext() with this to fetch the next page of extensions."
+ }
+ },
+ "description":"Describes the Machine Extensions List Result."
+ }
+ },
+ "parameters":{
+ "SubscriptionIdParameter":{
+ "name":"subscriptionId",
+ "in":"path",
+ "required":true,
+ "type":"string",
+ "description":"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/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/GETExtension.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/GETExtension.json
new file mode 100644
index 000000000000..79cb2c875d27
--- /dev/null
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/GETExtension.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "name": "myMachine",
+ "extensionName": "MMA",
+ "api-version": "2019-08-02"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "string",
+ "name": "string",
+ "type": "string",
+ "location": "string",
+ "properties": {
+ "forceUpdateTag": "string",
+ "publisher": "string",
+ "type": "string",
+ "typeHandlerVersion": "string",
+ "autoUpgradeMinorVersion": true,
+ "settings": {},
+ "protectedSettings": {},
+ "provisioningState": "string",
+ "instanceView": {
+ "name": "string",
+ "type": "string",
+ "typeHandlerVersion": "string",
+ "status": {
+ "code": "string",
+ "level": "Info",
+ "displayStatus": "string",
+ "message": "string",
+ "time": "2019-08-08T20:42:10.999Z"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
\ No newline at end of file
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/LISTExtension.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/LISTExtension.json
new file mode 100644
index 000000000000..36a2fe4ad836
--- /dev/null
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/LISTExtension.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "name": "myMachine",
+ "api-version": "2019-08-02"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "string",
+ "name": "string",
+ "type": "string",
+ "location": "string",
+ "properties": {
+ "forceUpdateTag": "string",
+ "publisher": "string",
+ "type": "string",
+ "typeHandlerVersion": "string",
+ "autoUpgradeMinorVersion": true,
+ "settings": {},
+ "protectedSettings": {},
+ "provisioningState": "string",
+ "instanceView": {
+ "name": "string",
+ "type": "string",
+ "typeHandlerVersion": "string",
+ "status": {
+ "code": "string",
+ "level": "Info",
+ "displayStatus": "string",
+ "message": "string",
+ "time": "2019-08-13T17:18:57.405Z"
+ }
+ }
+ }
+ }
+ ],
+ "nextLink": "string"
+ }
+ }
+ }
+ }
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_CreateOrUpdate.json
new file mode 100644
index 000000000000..123cd8f62b98
--- /dev/null
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_CreateOrUpdate.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "name": "myMachine",
+ "api-version": "2019-08-02",
+ "parameters": "string",
+ "location": "eastus2euap",
+ "properties": {
+ "vmId": "string",
+ "physicalLocation": "redmond",
+ "clientPublicKey": "string"
+ },
+ "identity": {
+ "Type": "SystemAssigned"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "string",
+ "name": "string",
+ "location": "eastus2euap",
+ "tags": null,
+ "identity": {
+ "type": "SystemAssigned",
+ "principalId": "string",
+ "tenantId": "string"
+ },
+ "type": "Microsoft.HybridCompute/machines",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "agentVersion": null,
+ "status": null,
+ "lastStatusChange": null,
+ "errorDetails": null,
+ "displayName": null,
+ "machineFqdn": null,
+ "osName": null,
+ "osVersion": null,
+ "osProfile": {
+ "computerName": null
+ },
+ "vmId": "string",
+ "physicalLocation": "string",
+ "clientPublicKey": "string"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Delete.json
new file mode 100644
index 000000000000..3f2fb9421e7c
--- /dev/null
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "name": "myMachine",
+ "api-version": "2019-08-02-preview"
+ },
+ "responses": {
+ "200": {
+ },
+ "204": { }
+ }
+}
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Get.json
new file mode 100644
index 000000000000..d59ae778ca80
--- /dev/null
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Get.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "name": "myMachine",
+ "api-version": "2019-08-02-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "string",
+ "name": "string",
+ "location": "string",
+ "tags": { },
+ "identity": {
+ "type": "SystemAssigned",
+ "principalId": "string",
+ "tenantId": "string"
+ },
+ "type": "Microsoft.HybridCompute/machines",
+ "properties": {
+ "provisioningState": "string",
+ "agentVersion": null,
+ "status": null,
+ "lastStatusChange": null,
+ "errorDetails": null,
+ "displayName": null,
+ "machineFqdn": null,
+ "osName": null,
+ "osVersion": null,
+ "osProfile": {
+ "computerName": null
+ },
+ "vmId": "string",
+ "physicalLocation": "",
+ "clientPublicKey": "string"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListByResourceGroup.json
new file mode 100644
index 000000000000..c4b3eccaaacb
--- /dev/null
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListByResourceGroup.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-08-02"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "string",
+ "name": "string",
+ "type": "string",
+ "location": "string"
+ }
+ ],
+ "nextLink": "string"
+ }
+ }
+ }
+ }
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListBySubscription.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListBySubscription.json
new file mode 100644
index 000000000000..1358bfc3c944
--- /dev/null
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListBySubscription.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "api-version": "2019-08-02"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "string",
+ "name": "string",
+ "type": "string",
+ "location": "string"
+ }
+ ],
+ "nextLink": "string"
+ }
+ }
+ }
+ }
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Reconnect.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Reconnect.json
new file mode 100644
index 000000000000..52698205004d
--- /dev/null
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Reconnect.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "name": "myMachine",
+ "api-version": "2019-08-02",
+ "location": "eastus2euap",
+ "parameters": "string",
+ "properties": {
+ "vmId": "string",
+ "physicalLocation": "redmond",
+ "clientPublicKey": "string"
+ },
+ "identity": {
+ "Type": "SystemAssigned"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "string",
+ "name": "string",
+ "location": "eastus2euap",
+ "tags": null,
+ "identity": {
+ "type": "SystemAssigned",
+ "principalId": "string",
+ "tenantId": "string"
+ },
+ "type": "Microsoft.HybridCompute/machines",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "agentVersion": null,
+ "status": null,
+ "lastStatusChange": null,
+ "errorDetails": null,
+ "displayName": null,
+ "machineFqdn": null,
+ "osName": null,
+ "osVersion": null,
+ "osProfile": {
+ "computerName": null
+ },
+ "vmId": "string",
+ "physicalLocation": "string",
+ "clientPublicKey": "string"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Update.json
new file mode 100644
index 000000000000..b76dae837072
--- /dev/null
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Update.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "name": "myMachine",
+ "api-version": "2019-08-02",
+ "location": "eastus2euap",
+ "parameters": "string",
+ "properties": {
+ "physicalLocation": "newLocation"
+ },
+ "identity": {
+ "Type": "SystemAssigned"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "string",
+ "name": "string",
+ "location": "eastus2euap",
+ "tags": null,
+ "identity": {
+ "type": "SystemAssigned",
+ "principalId": "string",
+ "tenantId": "string"
+ },
+ "type": "Microsoft.HybridCompute/machines",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "agentVersion": null,
+ "status": null,
+ "lastStatusChange": null,
+ "errorDetails": null,
+ "displayName": null,
+ "machineFqdn": null,
+ "osName": null,
+ "osVersion": null,
+ "osProfile": {
+ "computerName": null
+ },
+ "vmId": "string",
+ "physicalLocation": "string",
+ "clientPublicKey": "string"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/PUTExtension.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/PUTExtension.json
new file mode 100644
index 000000000000..cde51ea1d8cf
--- /dev/null
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/PUTExtension.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "name": "myMachine",
+ "extensionName": "MMA",
+ "api-version": "2019-08-02",
+ "extensionParameters": {
+ "location": "string",
+ "properties": {
+ "forceUpdateTag": "false",
+ "publisher": "Publisher1",
+ "type": "string",
+ "typeHandlerVersion": "1.0",
+ "autoUpgradeMinorVersion": true,
+ "settings": {},
+ "protectedSettings": {},
+ "instanceView": {
+ "name": "string",
+ "type": "string",
+ "typeHandlerVersion": "string",
+ "status": {
+ "code": "string",
+ "level": "Info",
+ "displayStatus": "string",
+ "message": "string",
+ "time": "2019-08-08T20:36:46.620Z"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "string",
+ "name": "string",
+ "type": "string",
+ "location": "string",
+ "properties": {
+ "forceUpdateTag": "string",
+ "publisher": "string",
+ "type": "string",
+ "typeHandlerVersion": "string",
+ "autoUpgradeMinorVersion": true,
+ "settings": {},
+ "protectedSettings": {},
+ "provisioningState": "string",
+ "instanceView": {
+ "name": "string",
+ "type": "string",
+ "typeHandlerVersion": "string",
+ "status": {
+ "code": "string",
+ "level": "Info",
+ "displayStatus": "string",
+ "message": "string",
+ "time": "2019-08-08T20:42:10.999Z"
+ }
+ }
+ }
+ }
+ },
+ "202": {
+ }
+ }
+ }
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/UpdateExtension.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/UpdateExtension.json
new file mode 100644
index 000000000000..a4698159a7e5
--- /dev/null
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/UpdateExtension.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "name": "myMachine",
+ "extensionName": "MMA",
+ "api-version": "2019-08-02",
+ "extensionParameters": {
+ "properties": {
+ "forceUpdateTag": "false",
+ "publisher": "Publisher1",
+ "type": "string",
+ "typeHandlerVersion": "1.0",
+ "autoUpgradeMinorVersion": true,
+ "settings": {},
+ "protectedSettings": {}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "string",
+ "name": "string",
+ "type": "string",
+ "location": "string",
+ "properties": {
+ "forceUpdateTag": "string",
+ "publisher": "string",
+ "type": "string",
+ "typeHandlerVersion": "string",
+ "autoUpgradeMinorVersion": true,
+ "settings": {},
+ "protectedSettings": {},
+ "provisioningState": "string",
+ "instanceView": {
+ "name": "string",
+ "type": "string",
+ "typeHandlerVersion": "string",
+ "status": {
+ "code": "string",
+ "level": "Info",
+ "displayStatus": "string",
+ "message": "string",
+ "time": "2019-08-08T20:42:10.999Z"
+ }
+ }
+ }
+ }
+ },
+ "202": {
+ }
+ }
+ }
diff --git a/specification/hybridcompute/resource-manager/readme.md b/specification/hybridcompute/resource-manager/readme.md
new file mode 100644
index 000000000000..afaf5eebeb16
--- /dev/null
+++ b/specification/hybridcompute/resource-manager/readme.md
@@ -0,0 +1,183 @@
+# HybridCompute
+
+> see https://aka.ms/autorest
+
+This is the AutoRest configuration file for HybridCompute RP.
+
+
+
+---
+## Getting Started
+To build the SDK for HybridCompute, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
+
+> `autorest`
+
+To see additional help and options, run:
+
+> `autorest --help`
+---
+
+## Configuration
+
+### Basic Information
+These are the global settings for the HybridCompute API.
+
+``` yaml
+openapi-type: arm
+tag: package-2019-08
+```
+
+### Tag: package-2019-03
+
+These settings apply only when `--tag=package-2019-03` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-03'
+input-file:
+- Microsoft.HybridCompute/preview/2019-03-18/HybridCompute.json
+```
+
+### Tag: package-2019-08
+
+These settings apply only when `--tag=package-2019-08` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-08'
+input-file:
+- Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json
+```
+
+---
+# Code Generation
+
+
+---
+## C#
+
+These settings apply only when `--csharp` is specified on the command line.
+Please also specify `--csharp-sdks-folder=`.
+
+``` yaml $(csharp)
+csharp:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ namespace: Microsoft.Azure.Management.HybridCompute
+ output-folder: $(csharp-sdks-folder)/HybridCompute/Microsoft.Azure.Management.HybridCompute/src/Generated
+ clear-output-folder: true
+directive:
+ - remove-operation:
+ - Machines_Reconnect
+ - Machines_CreateOrUpdate
+ - Machines_Update
+ - Machines_Delete
+```
+
+## PowerShell
+
+``` yaml $(powershell)
+powershell:
+ namespace: Microsoft.Azure.Management.HybridCompute
+ output-folder: generated
+ clear-output-folder: true
+directive:
+ - remove-operation:
+ - Machines_Reconnect
+ - Machines_CreateOrUpdate
+ - Machines_Update
+ - Machines_Delete
+```
+
+
+## Python
+
+These settings apply only when `--python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
+
+``` yaml $(python)
+python-mode: create
+python:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ payload-flattening-threshold: 2
+ namespace: azure.mgmt.hybridcompute
+ package-name: azure-mgmt-hybridcompute
+ clear-output-folder: true
+```
+``` yaml $(python) && $(python-mode) == 'update'
+python:
+ no-namespace-folders: true
+ output-folder: $(python-sdks-folder)/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute
+```
+``` yaml $(python) && $(python-mode) == 'create'
+python:
+ basic-setup-py: true
+ output-folder: $(python-sdks-folder)/azure-mgmt-hybridcompute
+directive:
+ - remove-operation:
+ - Machines_Reconnect
+ - Machines_CreateOrUpdate
+ - Machines_Update
+ - Machines_Delete
+```
+
+## Go
+
+These settings apply only when `--go` is specified on the command line.
+
+``` yaml $(go)
+go:
+ license-header: MICROSOFT_APACHE_NO_VERSION
+ clear-output-folder: true
+ namespace: hybridcompute
+```
+
+
+### Go multi-api
+
+``` yaml $(go) && $(multiapi)
+batch:
+ - tag: package-2019-03
+```
+
+### Tag: package-2019-03 and go
+
+These settings apply only when `--tag=package-2019-03 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag)=='package-2019-03' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/hybridcompute/mgmt/2019-03-18-preview/hybridcompute
+```
+
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(java)
+azure-arm: true
+fluent: true
+namespace: com.microsoft.azure.management.hybridcompute
+license-header: MICROSOFT_MIT_NO_CODEGEN
+payload-flattening-threshold: 1
+output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-hybridcompute
+```
+
+### Java multi-api
+
+``` yaml $(java) && $(multiapi)
+batch:
+ - tag: package-2019-03
+```
+
+### Tag: package-2019-03 and java
+
+These settings apply only when `--tag=package-2019-03 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2019-03' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.hybridcompute.v2019_03_18
+ output-folder: $(azure-libraries-for-java-folder)/hybridcompute/resource-manager/v2019_03_18
+
+regenerate-manager: true
+generate-interface: true
+```
From 931cb1af7ed342a7718366265b3c32ae7c94910f Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Tue, 22 Oct 2019 00:30:41 +0000
Subject: [PATCH 017/189] regenerated all-api-versions
---
.../hybridcompute/resource-manager/readme.md | 26 +++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/specification/hybridcompute/resource-manager/readme.md b/specification/hybridcompute/resource-manager/readme.md
index afaf5eebeb16..0e698c02424f 100644
--- a/specification/hybridcompute/resource-manager/readme.md
+++ b/specification/hybridcompute/resource-manager/readme.md
@@ -181,3 +181,29 @@ java:
regenerate-manager: true
generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.HybridCompute/preview/2019-03-18/HybridCompute.json
+ - $(this-folder)/Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
From 144e1e790c0cab6f06bafae195879075e376341d Mon Sep 17 00:00:00 2001
From: Anton Evseev
Date: Mon, 21 Oct 2019 18:29:23 -0700
Subject: [PATCH 018/189] Merge Network's October release branch into master
(#7564)
---
custom-words.txt | 1 +
.../stable/2019-09-01/applicationGateway.json | 2822 ++++++++++
.../2019-09-01/applicationSecurityGroup.json | 406 ++
.../2019-09-01/availableDelegations.json | 178 +
.../2019-09-01/availableServiceAliases.json | 171 +
.../stable/2019-09-01/azureFirewall.json | 1014 ++++
.../2019-09-01/azureFirewallFqdnTag.json | 130 +
.../stable/2019-09-01/bastionHost.json | 409 ++
.../2019-09-01/checkDnsAvailability.json | 96 +
.../stable/2019-09-01/ddosCustomPolicy.json | 364 ++
.../stable/2019-09-01/ddosProtectionPlan.json | 436 ++
.../stable/2019-09-01/endpointService.json | 119 +
...tionGatewayAvailableRequestHeadersGet.json | 13 +
...ionGatewayAvailableResponseHeadersGet.json | 13 +
...ionGatewayAvailableServerVariablesGet.json | 13 +
...licationGatewayAvailableSslOptionsGet.json | 64 +
...ilableSslOptionsPredefinedPoliciesGet.json | 101 +
...vailableSslOptionsPredefinedPolicyGet.json | 48 +
...icationGatewayAvailableWafRuleSetsGet.json | 36 +
.../ApplicationGatewayBackendHealthGet.json | 57 +
.../ApplicationGatewayBackendHealthTest.json | 45 +
.../examples/ApplicationGatewayCreate.json | 734 +++
.../examples/ApplicationGatewayDelete.json | 13 +
.../examples/ApplicationGatewayGet.json | 254 +
.../examples/ApplicationGatewayList.json | 125 +
.../examples/ApplicationGatewayListAll.json | 124 +
.../examples/ApplicationGatewayStart.json | 12 +
.../examples/ApplicationGatewayStop.json | 12 +
.../ApplicationGatewayUpdateTags.json | 148 +
.../ApplicationSecurityGroupCreate.json | 38 +
.../ApplicationSecurityGroupDelete.json | 13 +
.../examples/ApplicationSecurityGroupGet.json | 22 +
.../ApplicationSecurityGroupList.json | 35 +
.../ApplicationSecurityGroupListAll.json | 34 +
.../ApplicationSecurityGroupUpdateTags.json | 33 +
.../AutoApprovedPrivateLinkServicesGet.json | 24 +
...edPrivateLinkServicesResourceGroupGet.json | 25 +
.../AvailableDelegationsResourceGroupGet.json | 25 +
.../AvailableDelegationsSubscriptionGet.json | 24 +
.../AvailablePrivateEndpointTypesGet.json | 20 +
...ePrivateEndpointTypesResourceGroupGet.json | 21 +
.../examples/AvailableServiceAliasesList.json | 27 +
...ableServiceAliasesListByResourceGroup.json | 28 +
.../examples/AzureFirewallDelete.json | 13 +
...ureFirewallFqdnTagsListBySubscription.json | 28 +
.../2019-09-01/examples/AzureFirewallGet.json | 176 +
...reFirewallGetWithAdditionalProperties.json | 179 +
.../examples/AzureFirewallGetWithZones.json | 180 +
.../AzureFirewallListByResourceGroup.json | 178 +
.../AzureFirewallListBySubscription.json | 177 +
.../2019-09-01/examples/AzureFirewallPut.json | 496 ++
.../examples/AzureFirewallPutInHub.json | 102 +
...reFirewallPutWithAdditionalProperties.json | 506 ++
.../examples/AzureFirewallPutWithZones.json | 508 ++
.../examples/AzureFirewallUpdateTags.json | 32 +
.../examples/BastionHostDelete.json | 13 +
.../2019-09-01/examples/BastionHostGet.json | 44 +
.../BastionHostListByResourceGroup.json | 44 +
.../BastionHostListBySubscription.json | 43 +
.../2019-09-01/examples/BastionHostPut.json | 89 +
.../examples/CheckDnsNameAvailability.json | 15 +
.../CheckPrivateLinkServiceVisibility.json | 17 +
...eLinkServiceVisibilityByResourceGroup.json | 18 +
.../examples/DdosCustomPolicyCreate.json | 58 +
.../examples/DdosCustomPolicyDelete.json | 16 +
.../examples/DdosCustomPolicyGet.json | 27 +
.../examples/DdosCustomPolicyUpdateTags.json | 39 +
.../examples/DdosProtectionPlanCreate.json | 40 +
.../examples/DdosProtectionPlanDelete.json | 13 +
.../examples/DdosProtectionPlanGet.json | 27 +
.../examples/DdosProtectionPlanList.json | 45 +
.../examples/DdosProtectionPlanListAll.json | 47 +
.../DdosProtectionPlanUpdateTags.json | 33 +
.../examples/DefaultSecurityRuleGet.json | 33 +
.../examples/DefaultSecurityRuleList.json | 136 +
.../examples/EndpointServicesList.json | 30 +
.../ExpressRouteCircuitARPTableList.json | 25 +
...xpressRouteCircuitAuthorizationCreate.json | 36 +
...xpressRouteCircuitAuthorizationDelete.json | 14 +
.../ExpressRouteCircuitAuthorizationGet.json | 24 +
.../ExpressRouteCircuitAuthorizationList.json | 26 +
.../ExpressRouteCircuitConnectionCreate.json | 63 +
.../ExpressRouteCircuitConnectionDelete.json | 15 +
.../ExpressRouteCircuitConnectionGet.json | 32 +
.../ExpressRouteCircuitConnectionList.json | 50 +
.../examples/ExpressRouteCircuitCreate.json | 84 +
...sRouteCircuitCreateOnExpressRoutePort.json | 79 +
.../examples/ExpressRouteCircuitDelete.json | 13 +
.../examples/ExpressRouteCircuitGet.json | 38 +
...xpressRouteCircuitListByResourceGroup.json | 91 +
...ExpressRouteCircuitListBySubscription.json | 90 +
.../ExpressRouteCircuitPeeringCreate.json | 75 +
.../ExpressRouteCircuitPeeringDelete.json | 14 +
.../ExpressRouteCircuitPeeringGet.json | 61 +
.../ExpressRouteCircuitPeeringList.json | 88 +
.../ExpressRouteCircuitPeeringStats.json | 19 +
.../ExpressRouteCircuitRouteTableList.json | 26 +
...ressRouteCircuitRouteTableSummaryList.json | 26 +
.../examples/ExpressRouteCircuitStats.json | 18 +
.../ExpressRouteCircuitUpdateTags.json | 48 +
.../ExpressRouteConnectionCreate.json | 50 +
.../ExpressRouteConnectionDelete.json | 14 +
.../examples/ExpressRouteConnectionGet.json | 25 +
.../examples/ExpressRouteConnectionList.json | 28 +
...sRouteCrossConnectionBgpPeeringCreate.json | 75 +
...sRouteCrossConnectionBgpPeeringDelete.json | 14 +
...ressRouteCrossConnectionBgpPeeringGet.json | 37 +
...essRouteCrossConnectionBgpPeeringList.json | 40 +
.../ExpressRouteCrossConnectionGet.json | 32 +
.../ExpressRouteCrossConnectionList.json | 33 +
...uteCrossConnectionListByResourceGroup.json | 34 +
.../ExpressRouteCrossConnectionUpdate.json | 36 +
...ExpressRouteCrossConnectionUpdateTags.json | 41 +
.../ExpressRouteCrossConnectionsArpTable.json | 25 +
...xpressRouteCrossConnectionsRouteTable.json | 33 +
...outeCrossConnectionsRouteTableSummary.json | 31 +
.../examples/ExpressRouteGatewayCreate.json | 63 +
.../examples/ExpressRouteGatewayDelete.json | 13 +
.../examples/ExpressRouteGatewayGet.json | 25 +
...xpressRouteGatewayListByResourceGroup.json | 48 +
...ExpressRouteGatewayListBySubscription.json | 47 +
.../examples/ExpressRouteLinkGet.json | 26 +
.../examples/ExpressRouteLinkList.json | 42 +
.../examples/ExpressRoutePortCreate.json | 112 +
.../examples/ExpressRoutePortDelete.json | 13 +
.../examples/ExpressRoutePortGet.json | 57 +
.../examples/ExpressRoutePortList.json | 59 +
.../ExpressRoutePortListByResourceGroup.json | 60 +
.../examples/ExpressRoutePortUpdateLink.json | 120 +
.../examples/ExpressRoutePortUpdateTags.json | 63 +
.../ExpressRoutePortsLocationGet.json | 28 +
.../ExpressRoutePortsLocationList.json | 26 +
.../examples/ExpressRouteProviderList.json | 60 +
.../examples/FirewallPolicyDelete.json | 13 +
.../examples/FirewallPolicyGet.json | 32 +
.../FirewallPolicyListByResourceGroup.json | 35 +
.../FirewallPolicyListBySubscription.json | 34 +
.../examples/FirewallPolicyPut.json | 69 +
.../FirewallPolicyRuleGroupDelete.json | 14 +
.../examples/FirewallPolicyRuleGroupGet.json | 50 +
.../examples/FirewallPolicyRuleGroupList.json | 54 +
.../examples/FirewallPolicyRuleGroupPut.json | 119 +
...alWanVpnServerConfigurationVpnProfile.json | 18 +
.../GetVirtualWanVpnServerConfigurations.json | 20 +
.../HubVirtualNetworkConnectionGet.json | 26 +
.../HubVirtualNetworkConnectionList.json | 41 +
.../examples/InboundNatRuleCreate.json | 66 +
.../examples/InboundNatRuleDelete.json | 14 +
.../examples/InboundNatRuleGet.json | 32 +
.../examples/InboundNatRuleList.json | 54 +
.../2019-09-01/examples/IpGroupsCreate.json | 67 +
.../2019-09-01/examples/IpGroupsDelete.json | 13 +
.../2019-09-01/examples/IpGroupsGet.json | 32 +
.../examples/IpGroupsListByResourceGroup.json | 55 +
.../examples/IpGroupsListBySubscription.json | 54 +
.../examples/IpGroupsUpdateTags.json | 42 +
.../LoadBalancerBackendAddressPoolGet.json | 32 +
.../LoadBalancerBackendAddressPoolList.json | 35 +
.../examples/LoadBalancerCreate.json | 339 ++
.../LoadBalancerCreateStandardSku.json | 339 ++
.../LoadBalancerCreateWithInboundNatPool.json | 180 +
.../LoadBalancerCreateWithOutboundRules.json | 423 ++
.../examples/LoadBalancerCreateWithZones.json | 348 ++
.../examples/LoadBalancerDelete.json | 13 +
...oadBalancerFrontendIPConfigurationGet.json | 38 +
...adBalancerFrontendIPConfigurationList.json | 41 +
.../2019-09-01/examples/LoadBalancerGet.json | 139 +
.../2019-09-01/examples/LoadBalancerList.json | 161 +
.../examples/LoadBalancerListAll.json | 160 +
.../LoadBalancerLoadBalancingRuleGet.json | 38 +
.../LoadBalancerLoadBalancingRuleList.json | 41 +
...oadBalancerNetworkInterfaceListSimple.json | 59 +
.../LoadBalancerNetworkInterfaceListVmss.json | 112 +
.../examples/LoadBalancerOutboundRuleGet.json | 34 +
.../LoadBalancerOutboundRuleList.json | 37 +
.../examples/LoadBalancerProbeGet.json | 32 +
.../examples/LoadBalancerProbeList.json | 35 +
.../examples/LoadBalancerUpdateTags.json | 132 +
.../examples/LocalNetworkGatewayCreate.json | 59 +
.../examples/LocalNetworkGatewayDelete.json | 13 +
.../examples/LocalNetworkGatewayGet.json | 29 +
.../examples/LocalNetworkGatewayList.json | 49 +
.../LocalNetworkGatewayUpdateTags.json | 38 +
.../examples/NatGatewayCreateOrUpdate.json | 118 +
.../2019-09-01/examples/NatGatewayDelete.json | 13 +
.../2019-09-01/examples/NatGatewayGet.json | 40 +
.../2019-09-01/examples/NatGatewayList.json | 71 +
.../examples/NatGatewayListAll.json | 70 +
.../examples/NatGatewayUpdateTags.json | 50 +
.../examples/NetworkInterfaceCreate.json | 101 +
.../examples/NetworkInterfaceDelete.json | 13 +
.../NetworkInterfaceEffectiveNSGList.json | 71 +
...tworkInterfaceEffectiveRouteTableList.json | 71 +
.../examples/NetworkInterfaceGet.json | 55 +
.../NetworkInterfaceIPConfigurationGet.json | 45 +
.../NetworkInterfaceIPConfigurationList.json | 31 +
.../examples/NetworkInterfaceList.json | 92 +
.../examples/NetworkInterfaceListAll.json | 91 +
.../NetworkInterfaceLoadBalancerList.json | 139 +
...etworkInterfaceTapConfigurationCreate.json | 46 +
...etworkInterfaceTapConfigurationDelete.json | 14 +
.../NetworkInterfaceTapConfigurationGet.json | 25 +
.../NetworkInterfaceTapConfigurationList.json | 28 +
.../examples/NetworkInterfaceUpdateTags.json | 56 +
.../NetworkProfileCreateConfigOnly.json | 110 +
.../examples/NetworkProfileDelete.json | 13 +
.../examples/NetworkProfileGetConfigOnly.json | 84 +
.../NetworkProfileGetWithContainerNic.json | 203 +
.../examples/NetworkProfileList.json | 97 +
.../examples/NetworkProfileListAll.json | 84 +
.../examples/NetworkProfileUpdateTags.json | 58 +
.../examples/NetworkSecurityGroupCreate.json | 233 +
.../NetworkSecurityGroupCreateWithRule.json | 282 +
.../examples/NetworkSecurityGroupDelete.json | 13 +
.../examples/NetworkSecurityGroupGet.json | 136 +
.../examples/NetworkSecurityGroupList.json | 231 +
.../examples/NetworkSecurityGroupListAll.json | 230 +
.../NetworkSecurityGroupRuleCreate.json | 57 +
.../NetworkSecurityGroupRuleDelete.json | 14 +
.../examples/NetworkSecurityGroupRuleGet.json | 28 +
.../NetworkSecurityGroupRuleList.json | 31 +
.../NetworkSecurityGroupUpdateTags.json | 130 +
...tworkWatcherAvailableProvidersListGet.json | 68 +
...workWatcherAzureReachabilityReportGet.json | 82 +
.../NetworkWatcherConnectivityCheck.json | 79 +
.../examples/NetworkWatcherCreate.json | 40 +
.../examples/NetworkWatcherDelete.json | 12 +
.../NetworkWatcherFlowLogConfigure.json | 35 +
.../NetworkWatcherFlowLogStatusQuery.json | 31 +
.../examples/NetworkWatcherGet.json | 23 +
.../examples/NetworkWatcherIpFlowVerify.json | 31 +
.../examples/NetworkWatcherList.json | 37 +
.../examples/NetworkWatcherListAll.json | 36 +
...WatcherNetworkConfigurationDiagnostic.json | 198 +
.../examples/NetworkWatcherNextHopGet.json | 30 +
.../NetworkWatcherPacketCaptureCreate.json | 56 +
.../NetworkWatcherPacketCaptureDelete.json | 13 +
.../NetworkWatcherPacketCaptureGet.json | 37 +
...etworkWatcherPacketCaptureQueryStatus.json | 31 +
.../NetworkWatcherPacketCaptureStop.json | 13 +
.../NetworkWatcherPacketCapturesList.json | 58 +
.../NetworkWatcherSecurityGroupViewGet.json | 141 +
.../examples/NetworkWatcherTopologyGet.json | 39 +
.../NetworkWatcherTroubleshootGet.json | 71 +
...NetworkWatcherTroubleshootResultQuery.json | 67 +
.../examples/NetworkWatcherUpdateTags.json | 32 +
.../2019-09-01/examples/OperationList.json | 137 +
.../examples/P2SVpnGatewayDelete.json | 13 +
.../P2SVpnGatewayGenerateVpnProfile.json | 17 +
.../2019-09-01/examples/P2SVpnGatewayGet.json | 53 +
.../P2SVpnGatewayGetConnectionHealth.json | 54 +
...VpnGatewayGetConnectionHealthDetailed.json | 21 +
.../examples/P2SVpnGatewayList.json | 97 +
.../P2SVpnGatewayListByResourceGroup.json | 93 +
.../2019-09-01/examples/P2SVpnGatewayPut.json | 118 +
.../examples/P2SVpnGatewayUpdateTags.json | 61 +
.../PeerExpressRouteCircuitConnectionGet.json | 32 +
...PeerExpressRouteCircuitConnectionList.json | 53 +
.../examples/PrivateEndpointCreate.json | 98 +
...rivateEndpointCreateForManualApproval.json | 98 +
.../examples/PrivateEndpointDelete.json | 13 +
.../examples/PrivateEndpointGet.json | 46 +
.../PrivateEndpointGetForManualApproval.json | 46 +
.../examples/PrivateEndpointList.json | 83 +
.../examples/PrivateEndpointListAll.json | 114 +
.../examples/PrivateLinkServiceCreate.json | 155 +
.../examples/PrivateLinkServiceDelete.json | 13 +
...erviceDeletePrivateEndpointConnection.json | 14 +
.../examples/PrivateLinkServiceGet.json | 77 +
...nkServiceGetPrivateEndpointConnection.json | 25 +
.../examples/PrivateLinkServiceList.json | 141 +
.../examples/PrivateLinkServiceListAll.json | 142 +
...kServiceListPrivateEndpointConnection.json | 40 +
...erviceUpdatePrivateEndpointConnection.json | 37 +
...PublicIpAddressCreateCustomizedValues.json | 70 +
.../PublicIpAddressCreateDefaults.json | 53 +
.../examples/PublicIpAddressCreateDns.json | 60 +
.../examples/PublicIpAddressDelete.json | 13 +
.../examples/PublicIpAddressGet.json | 37 +
.../examples/PublicIpAddressList.json | 60 +
.../examples/PublicIpAddressListAll.json | 49 +
.../examples/PublicIpAddressUpdateTags.json | 37 +
.../PublicIpPrefixCreateCustomizedValues.json | 69 +
.../PublicIpPrefixCreateDefaults.json | 59 +
.../examples/PublicIpPrefixDelete.json | 13 +
.../examples/PublicIpPrefixGet.json | 35 +
.../examples/PublicIpPrefixList.json | 56 +
.../examples/PublicIpPrefixListAll.json | 76 +
.../examples/PublicIpPrefixUpdateTags.json | 40 +
.../examples/RouteFilterCreate.json | 95 +
.../examples/RouteFilterDelete.json | 13 +
.../2019-09-01/examples/RouteFilterGet.json | 42 +
.../2019-09-01/examples/RouteFilterList.json | 44 +
.../RouteFilterListByResourceGroup.json | 45 +
.../examples/RouteFilterRuleCreate.json | 53 +
.../examples/RouteFilterRuleDelete.json | 14 +
.../examples/RouteFilterRuleGet.json | 27 +
.../RouteFilterRuleListByRouteFilter.json | 30 +
.../examples/RouteFilterUpdateTags.json | 46 +
.../2019-09-01/examples/RouteTableCreate.json | 39 +
.../examples/RouteTableCreateWithRoute.json | 70 +
.../2019-09-01/examples/RouteTableDelete.json | 13 +
.../2019-09-01/examples/RouteTableGet.json | 33 +
.../2019-09-01/examples/RouteTableList.json | 47 +
.../examples/RouteTableListAll.json | 44 +
.../examples/RouteTableRouteCreate.json | 39 +
.../examples/RouteTableRouteDelete.json | 14 +
.../examples/RouteTableRouteGet.json | 22 +
.../examples/RouteTableRouteList.json | 34 +
.../examples/RouteTableUpdateTags.json | 32 +
.../examples/ServiceCommunityList.json | 56 +
.../examples/ServiceEndpointPolicyCreate.json | 41 +
...iceEndpointPolicyCreateWithDefinition.json | 83 +
...ServiceEndpointPolicyDefinitionCreate.json | 52 +
...ServiceEndpointPolicyDefinitionDelete.json | 14 +
.../ServiceEndpointPolicyDefinitionGet.json | 26 +
.../ServiceEndpointPolicyDefinitionList.json | 29 +
.../examples/ServiceEndpointPolicyDelete.json | 13 +
.../examples/ServiceEndpointPolicyGet.json | 37 +
.../examples/ServiceEndpointPolicyList.json | 63 +
.../ServiceEndpointPolicyListAll.json | 64 +
.../ServiceEndpointPolicyUpdateTags.json | 47 +
.../2019-09-01/examples/ServiceTagsList.json | 88 +
.../2019-09-01/examples/SubnetCreate.json | 36 +
.../examples/SubnetCreateServiceEndpoint.json | 61 +
.../examples/SubnetCreateWithDelegation.json | 60 +
.../2019-09-01/examples/SubnetDelete.json | 14 +
.../stable/2019-09-01/examples/SubnetGet.json | 21 +
.../examples/SubnetGetWithDelegation.json | 33 +
.../2019-09-01/examples/SubnetList.json | 32 +
.../SubnetPrepareNetworkPolicies.json | 16 +
.../SubnetUnprepareNetworkPolicies.json | 16 +
.../stable/2019-09-01/examples/UsageList.json | 265 +
.../examples/UsageListSpacedLocation.json | 335 ++
.../2019-09-01/examples/VirtualHubDelete.json | 13 +
.../2019-09-01/examples/VirtualHubGet.json | 29 +
.../2019-09-01/examples/VirtualHubList.json | 146 +
.../VirtualHubListByResourceGroup.json | 147 +
.../2019-09-01/examples/VirtualHubPut.json | 61 +
.../VirtualHubRouteTableV2Delete.json | 14 +
.../examples/VirtualHubRouteTableV2Get.json | 47 +
.../examples/VirtualHubRouteTableV2List.json | 72 +
.../examples/VirtualHubRouteTableV2Put.json | 113 +
.../examples/VirtualHubUpdateTags.json | 39 +
...tualNetworkCheckIPAddressAvailability.json | 23 +
.../examples/VirtualNetworkCreate.json | 56 +
...ualNetworkCreateServiceEndpointPolicy.json | 126 +
.../VirtualNetworkCreateServiceEndpoints.json | 111 +
.../examples/VirtualNetworkCreateSubnet.json | 82 +
...etworkCreateSubnetWithAddressPrefixes.json | 91 +
...tualNetworkCreateSubnetWithDelegation.json | 114 +
...irtualNetworkCreateWithBgpCommunities.json | 93 +
.../examples/VirtualNetworkDelete.json | 13 +
...VirtualNetworkGatewayConnectionCreate.json | 131 +
...VirtualNetworkGatewayConnectionDelete.json | 13 +
.../VirtualNetworkGatewayConnectionGet.json | 42 +
...lNetworkGatewayConnectionGetSharedKey.json | 15 +
...etworkGatewayConnectionResetSharedKey.json | 19 +
...lNetworkGatewayConnectionSetSharedKey.json | 23 +
...rkGatewayConnectionStartPacketCapture.json | 14 +
...onnectionStartPacketCaptureFilterData.json | 17 +
...orkGatewayConnectionStopPacketCapture.json | 17 +
...ualNetworkGatewayConnectionUpdateTags.json | 51 +
.../VirtualNetworkGatewayConnectionsList.json | 71 +
.../examples/VirtualNetworkGatewayDelete.json | 13 +
...etworkGatewayGenerateVpnClientPackage.json | 15 +
...rtualNetworkGatewayGenerateVpnProfile.json | 15 +
.../examples/VirtualNetworkGatewayGet.json | 70 +
...tualNetworkGatewayGetAdvertisedRoutes.json | 15 +
...VirtualNetworkGatewayGetBGPPeerStatus.json | 14 +
...orkGatewayGetVpnClientIpsecParameters.json | 22 +
...NetworkGatewayGetVpnProfilePackageUrl.json | 14 +
...rkGatewayGetVpnclientConnectionHealth.json | 45 +
.../VirtualNetworkGatewayLearnedRoutes.json | 14 +
.../examples/VirtualNetworkGatewayList.json | 126 +
.../examples/VirtualNetworkGatewayReset.json | 60 +
...NetworkGatewayResetVpnClientSharedKey.json | 12 +
...orkGatewaySetVpnClientIpsecParameters.json | 24 +
...rtualNetworkGatewayStartPacketCapture.json | 14 +
...rkGatewayStartPacketCaptureFilterData.json | 17 +
...irtualNetworkGatewayStopPacketCapture.json | 17 +
...rtualNetworkGatewaySupportedVpnDevice.json | 13 +
.../examples/VirtualNetworkGatewayUpdate.json | 171 +
.../VirtualNetworkGatewayUpdateTags.json | 69 +
...rkGatewayVpnDeviceConfigurationScript.json | 18 +
...VirtualNetworkGatewaysListConnections.json | 41 +
.../examples/VirtualNetworkGet.json | 42 +
...tualNetworkGetResourceNavigationLinks.json | 28 +
...tualNetworkGetServiceAssociationLinks.json | 31 +
...lNetworkGetWithServiceAssociationLink.json | 69 +
...VirtualNetworkGetWithSubnetDelegation.json | 54 +
.../examples/VirtualNetworkList.json | 64 +
.../examples/VirtualNetworkListAll.json | 63 +
.../examples/VirtualNetworkListUsage.json | 36 +
.../examples/VirtualNetworkPeeringCreate.json | 66 +
.../examples/VirtualNetworkPeeringDelete.json | 14 +
.../examples/VirtualNetworkPeeringGet.json | 33 +
.../examples/VirtualNetworkPeeringList.json | 56 +
.../examples/VirtualNetworkTapCreate.json | 62 +
.../examples/VirtualNetworkTapDelete.json | 13 +
.../examples/VirtualNetworkTapGet.json | 32 +
.../examples/VirtualNetworkTapList.json | 55 +
.../examples/VirtualNetworkTapListAll.json | 54 +
.../examples/VirtualNetworkTapUpdateTags.json | 40 +
.../examples/VirtualNetworkUpdateTags.json | 39 +
.../examples/VirtualRouterDelete.json | 13 +
.../2019-09-01/examples/VirtualRouterGet.json | 38 +
.../VirtualRouterListByResourceGroup.json | 41 +
.../VirtualRouterListBySubscription.json | 40 +
.../examples/VirtualRouterPeeringDelete.json | 14 +
.../examples/VirtualRouterPeeringGet.json | 23 +
.../examples/VirtualRouterPeeringList.json | 26 +
.../examples/VirtualRouterPeeringPut.json | 41 +
.../2019-09-01/examples/VirtualRouterPut.json | 77 +
.../2019-09-01/examples/VirtualWANDelete.json | 13 +
.../2019-09-01/examples/VirtualWANGet.json | 35 +
.../2019-09-01/examples/VirtualWANList.json | 60 +
.../VirtualWANListByResourceGroup.json | 61 +
.../2019-09-01/examples/VirtualWANPut.json | 70 +
.../examples/VirtualWANUpdateTags.json | 42 +
.../VirtualWanSupportedSecurityProviders.json | 22 +
.../examples/VmssNetworkInterfaceGet.json | 65 +
.../VmssNetworkInterfaceIpConfigGet.json | 39 +
.../VmssNetworkInterfaceIpConfigList.json | 42 +
.../examples/VmssNetworkInterfaceList.json | 118 +
.../2019-09-01/examples/VmssPublicIpGet.json | 34 +
.../examples/VmssPublicIpListAll.json | 52 +
.../examples/VmssVmNetworkInterfaceList.json | 68 +
.../examples/VmssVmPublicIpList.json | 37 +
.../examples/VpnConnectionDelete.json | 14 +
.../2019-09-01/examples/VpnConnectionGet.json | 75 +
.../examples/VpnConnectionList.json | 76 +
.../2019-09-01/examples/VpnConnectionPut.json | 112 +
.../2019-09-01/examples/VpnGatewayDelete.json | 13 +
.../2019-09-01/examples/VpnGatewayGet.json | 94 +
.../2019-09-01/examples/VpnGatewayList.json | 137 +
.../VpnGatewayListByResourceGroup.json | 137 +
.../2019-09-01/examples/VpnGatewayPut.json | 170 +
.../2019-09-01/examples/VpnGatewayReset.json | 53 +
.../examples/VpnGatewayUpdateTags.json | 60 +
.../VpnServerConfigurationDelete.json | 13 +
.../examples/VpnServerConfigurationGet.json | 69 +
.../examples/VpnServerConfigurationList.json | 128 +
...erverConfigurationListByResourceGroup.json | 129 +
.../examples/VpnServerConfigurationPut.json | 177 +
.../VpnServerConfigurationUpdateTags.json | 73 +
.../2019-09-01/examples/VpnSiteDelete.json | 13 +
.../2019-09-01/examples/VpnSiteGet.json | 57 +
.../examples/VpnSiteLinkConnectionGet.json | 37 +
.../examples/VpnSiteLinkConnectionList.json | 38 +
.../2019-09-01/examples/VpnSiteLinkGet.json | 30 +
.../examples/VpnSiteLinkListByVpnSite.json | 50 +
.../2019-09-01/examples/VpnSiteList.json | 88 +
.../examples/VpnSiteListByResourceGroup.json | 88 +
.../2019-09-01/examples/VpnSitePut.json | 136 +
.../examples/VpnSiteUpdateTags.json | 48 +
.../VpnSitesConfigurationDownload.json | 22 +
.../examples/WafListAllPolicies.json | 102 +
.../2019-09-01/examples/WafListPolicies.json | 103 +
.../examples/WafPolicyCreateOrUpdate.json | 258 +
.../2019-09-01/examples/WafPolicyDelete.json | 13 +
.../2019-09-01/examples/WafPolicyGet.json | 140 +
.../2019-09-01/expressRouteCircuit.json | 2500 +++++++++
.../expressRouteCrossConnection.json | 1006 ++++
.../2019-09-01/expressRouteGateway.json | 700 +++
.../stable/2019-09-01/expressRoutePort.json | 869 ++++
.../stable/2019-09-01/firewallPolicy.json | 982 ++++
.../stable/2019-09-01/ipGroups.json | 422 ++
.../stable/2019-09-01/loadBalancer.json | 2058 ++++++++
.../stable/2019-09-01/natGateway.json | 472 ++
.../stable/2019-09-01/network.json | 335 ++
.../stable/2019-09-01/networkInterface.json | 1522 ++++++
.../stable/2019-09-01/networkProfile.json | 622 +++
.../2019-09-01/networkSecurityGroup.json | 974 ++++
.../stable/2019-09-01/networkWatcher.json | 3055 +++++++++++
.../stable/2019-09-01/operation.json | 271 +
.../stable/2019-09-01/privateEndpoint.json | 572 +++
.../stable/2019-09-01/privateLinkService.json | 1068 ++++
.../stable/2019-09-01/publicIpAddress.json | 540 ++
.../stable/2019-09-01/publicIpPrefix.json | 485 ++
.../stable/2019-09-01/routeFilter.json | 822 +++
.../stable/2019-09-01/routeTable.json | 755 +++
.../stable/2019-09-01/serviceCommunity.json | 158 +
.../2019-09-01/serviceEndpointPolicy.json | 742 +++
.../stable/2019-09-01/serviceTags.json | 166 +
.../stable/2019-09-01/usage.json | 160 +
.../stable/2019-09-01/virtualNetwork.json | 1951 +++++++
.../2019-09-01/virtualNetworkGateway.json | 3561 +++++++++++++
.../stable/2019-09-01/virtualNetworkTap.json | 426 ++
.../stable/2019-09-01/virtualRouter.json | 698 +++
.../stable/2019-09-01/virtualWan.json | 4529 +++++++++++++++++
.../2019-09-01/vmssNetworkInterface.json | 374 ++
.../2019-09-01/vmssPublicIpAddress.json | 241 +
.../2019-09-01/webapplicationfirewall.json | 743 +++
.../network/resource-manager/readme.go.md | 10 +
.../network/resource-manager/readme.java.md | 14 +
.../network/resource-manager/readme.md | 59 +-
.../network/resource-manager/readme.python.md | 12 +
498 files changed, 68723 insertions(+), 2 deletions(-)
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/applicationGateway.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/applicationSecurityGroup.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/availableDelegations.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/availableServiceAliases.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/azureFirewall.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/azureFirewallFqdnTag.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/bastionHost.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/checkDnsAvailability.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ddosCustomPolicy.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ddosProtectionPlan.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/endpointService.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableServerVariablesGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableWafRuleSetsGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayBackendHealthGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayBackendHealthTest.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayListAll.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayStart.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayStop.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupListAll.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AutoApprovedPrivateLinkServicesGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailableDelegationsResourceGroupGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailableDelegationsSubscriptionGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailablePrivateEndpointTypesGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailableServiceAliasesList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailableServiceAliasesListByResourceGroup.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallFqdnTagsListBySubscription.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallGetWithAdditionalProperties.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallGetWithZones.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallListByResourceGroup.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallListBySubscription.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallPut.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallPutInHub.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallPutWithAdditionalProperties.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallPutWithZones.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/BastionHostDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/BastionHostGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/BastionHostListByResourceGroup.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/BastionHostListBySubscription.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/BastionHostPut.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/CheckDnsNameAvailability.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/CheckPrivateLinkServiceVisibility.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosCustomPolicyCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosCustomPolicyDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosCustomPolicyGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosCustomPolicyUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanListAll.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DefaultSecurityRuleGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DefaultSecurityRuleList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/EndpointServicesList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitARPTableList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitAuthorizationCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitAuthorizationDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitAuthorizationGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitAuthorizationList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitConnectionCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitConnectionDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitConnectionGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitConnectionList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitListByResourceGroup.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitListBySubscription.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitPeeringCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitPeeringDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitPeeringGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitPeeringList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitPeeringStats.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitRouteTableList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitStats.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteConnectionCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteConnectionDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteConnectionGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteConnectionList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionBgpPeeringGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionListByResourceGroup.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionUpdate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionsArpTable.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionsRouteTable.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteGatewayCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteGatewayDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteGatewayGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteGatewayListByResourceGroup.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteGatewayListBySubscription.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteLinkGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteLinkList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortListByResourceGroup.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortUpdateLink.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortsLocationGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortsLocationList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteProviderList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyListByResourceGroup.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyListBySubscription.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyPut.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyRuleGroupDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyRuleGroupGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyRuleGroupList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyRuleGroupPut.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/GenerateVirtualWanVpnServerConfigurationVpnProfile.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/GetVirtualWanVpnServerConfigurations.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/HubVirtualNetworkConnectionGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/HubVirtualNetworkConnectionList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/InboundNatRuleCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/InboundNatRuleDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/InboundNatRuleGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/InboundNatRuleList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListByResourceGroup.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListBySubscription.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerBackendAddressPoolGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerBackendAddressPoolList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerCreateStandardSku.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerCreateWithInboundNatPool.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerCreateWithOutboundRules.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerCreateWithZones.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerFrontendIPConfigurationGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerFrontendIPConfigurationList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerListAll.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerLoadBalancingRuleGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerLoadBalancingRuleList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerNetworkInterfaceListSimple.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerNetworkInterfaceListVmss.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerOutboundRuleGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerOutboundRuleList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerProbeGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerProbeList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LocalNetworkGatewayCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LocalNetworkGatewayDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LocalNetworkGatewayGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LocalNetworkGatewayList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LocalNetworkGatewayUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayCreateOrUpdate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayListAll.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceEffectiveNSGList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceEffectiveRouteTableList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceIPConfigurationGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceIPConfigurationList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceListAll.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceLoadBalancerList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceTapConfigurationCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceTapConfigurationDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceTapConfigurationGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceTapConfigurationList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileCreateConfigOnly.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileGetConfigOnly.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileGetWithContainerNic.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileListAll.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupCreateWithRule.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupListAll.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupRuleCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupRuleDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupRuleGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupRuleList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherAvailableProvidersListGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherAzureReachabilityReportGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherConnectivityCheck.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherFlowLogConfigure.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherFlowLogStatusQuery.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherIpFlowVerify.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherListAll.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherNextHopGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCaptureCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCaptureDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCaptureGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCaptureQueryStatus.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCaptureStop.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCapturesList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherSecurityGroupViewGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherTopologyGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherTroubleshootGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherTroubleshootResultQuery.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/OperationList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayGenerateVpnProfile.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayGetConnectionHealth.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayGetConnectionHealthDetailed.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayListByResourceGroup.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayPut.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PeerExpressRouteCircuitConnectionGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PeerExpressRouteCircuitConnectionList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointCreateForManualApproval.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointGetForManualApproval.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointListAll.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceDeletePrivateEndpointConnection.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceGetPrivateEndpointConnection.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceListAll.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceListPrivateEndpointConnection.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressCreateCustomizedValues.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressCreateDefaults.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressCreateDns.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressListAll.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixCreateCustomizedValues.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixCreateDefaults.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixListAll.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterListByResourceGroup.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterRuleCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterRuleDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterRuleGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterRuleListByRouteFilter.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableCreateWithRoute.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableListAll.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableRouteCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableRouteDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableRouteGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableRouteList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceCommunityList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyCreateWithDefinition.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyDefinitionCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyDefinitionDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyDefinitionGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyDefinitionList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyListAll.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceTagsList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetCreateServiceEndpoint.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetCreateWithDelegation.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetGetWithDelegation.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetPrepareNetworkPolicies.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetUnprepareNetworkPolicies.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/UsageList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/UsageListSpacedLocation.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubListByResourceGroup.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubPut.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubRouteTableV2Delete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubRouteTableV2Get.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubRouteTableV2List.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubRouteTableV2Put.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCheckIPAddressAvailability.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateServiceEndpoints.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateSubnet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateSubnetWithDelegation.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateWithBgpCommunities.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionStartPacketCapture.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionStopPacketCapture.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionsList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayLearnedRoutes.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayReset.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayStartPacketCapture.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayStartPacketCaptureFilterData.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayStopPacketCapture.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayUpdate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewaysListConnections.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGetResourceNavigationLinks.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGetServiceAssociationLinks.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGetWithServiceAssociationLink.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGetWithSubnetDelegation.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkListAll.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkListUsage.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkPeeringCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkPeeringDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkPeeringGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkPeeringList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapCreate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapListAll.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterListByResourceGroup.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterListBySubscription.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterPeeringDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterPeeringGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterPeeringList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterPeeringPut.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterPut.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANListByResourceGroup.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANPut.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWanSupportedSecurityProviders.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssNetworkInterfaceGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssNetworkInterfaceIpConfigGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssNetworkInterfaceIpConfigList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssNetworkInterfaceList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssPublicIpGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssPublicIpListAll.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssVmNetworkInterfaceList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssVmPublicIpList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnConnectionDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnConnectionGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnConnectionList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnConnectionPut.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayListByResourceGroup.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayPut.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayReset.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationListByResourceGroup.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationPut.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteLinkConnectionGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteLinkConnectionList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteLinkGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteLinkListByVpnSite.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteList.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteListByResourceGroup.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSitePut.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteUpdateTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSitesConfigurationDownload.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/WafListAllPolicies.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/WafListPolicies.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/WafPolicyCreateOrUpdate.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/WafPolicyDelete.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/WafPolicyGet.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/expressRouteCircuit.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/expressRouteCrossConnection.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/expressRouteGateway.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/expressRoutePort.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/firewallPolicy.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ipGroups.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/loadBalancer.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/natGateway.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/network.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/networkInterface.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/networkProfile.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/networkSecurityGroup.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/networkWatcher.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/operation.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/privateEndpoint.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/privateLinkService.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/publicIpAddress.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/publicIpPrefix.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/routeFilter.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/routeTable.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/serviceCommunity.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/serviceEndpointPolicy.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/serviceTags.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/usage.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualNetwork.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualNetworkGateway.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualNetworkTap.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualRouter.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualWan.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/vmssNetworkInterface.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/vmssPublicIpAddress.json
create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/webapplicationfirewall.json
diff --git a/custom-words.txt b/custom-words.txt
index 8a490cd0e369..d08cc9670127 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -663,6 +663,7 @@ ipconfigurations
ipfilterrules
Ipsec
ipssl
+ipgroups
iscloneable
Iscsi
iscsiservers
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/applicationGateway.json
new file mode 100644
index 000000000000..5bc4766475c1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/applicationGateway.json
@@ -0,0 +1,2822 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": {
+ "delete": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_Delete",
+ "x-ms-examples": {
+ "Delete ApplicationGateway": {
+ "$ref": "./examples/ApplicationGatewayDelete.json"
+ }
+ },
+ "description": "Deletes the specified application gateway.",
+ "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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Request successful. Resource with the specified name does not exist."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_Get",
+ "x-ms-examples": {
+ "Get ApplicationGateway": {
+ "$ref": "./examples/ApplicationGatewayGet.json"
+ }
+ },
+ "description": "Gets the specified application gateway.",
+ "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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns an ApplicationGateway resource.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGateway"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_CreateOrUpdate",
+ "description": "Creates or updates the specified application gateway.",
+ "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."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ApplicationGateway"
+ },
+ "description": "Parameters supplied to the create or update application gateway operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting ApplicationGateway resource.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGateway"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting ApplicationGateway resource.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGateway"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create Application Gateway": {
+ "$ref": "./examples/ApplicationGatewayCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_UpdateTags",
+ "x-ms-examples": {
+ "Update Application Gateway tags": {
+ "$ref": "./examples/ApplicationGatewayUpdateTags.json"
+ }
+ },
+ "description": "Updates the specified application gateway tags.",
+ "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."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update application gateway tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting ApplicationGateway resource.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGateway"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": {
+ "get": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_List",
+ "x-ms-examples": {
+ "Lists all application gateways in a resource group": {
+ "$ref": "./examples/ApplicationGatewayList.json"
+ }
+ },
+ "description": "Lists all application gateways in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of ApplicationGateway resources.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": {
+ "get": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_ListAll",
+ "x-ms-examples": {
+ "Lists all application gateways in a subscription": {
+ "$ref": "./examples/ApplicationGatewayListAll.json"
+ }
+ },
+ "description": "Gets all the application gateways in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of ApplicationGateway resources.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": {
+ "post": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_Start",
+ "x-ms-examples": {
+ "Start Application Gateway": {
+ "$ref": "./examples/ApplicationGatewayStart.json"
+ }
+ },
+ "description": "Starts the specified application gateway.",
+ "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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation starts the ApplicationGateway resource."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": {
+ "post": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_Stop",
+ "x-ms-examples": {
+ "Stop Application Gateway": {
+ "$ref": "./examples/ApplicationGatewayStop.json"
+ }
+ },
+ "description": "Stops the specified application gateway in a resource group.",
+ "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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation stops the ApplicationGateway resource."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": {
+ "post": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_BackendHealth",
+ "description": "Gets the backend health of the specified application gateway in a resource group.",
+ "x-ms-examples": {
+ "Get Backend Health": {
+ "$ref": "./examples/ApplicationGatewayBackendHealthGet.json"
+ }
+ },
+ "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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands BackendAddressPool and BackendHttpSettings referenced in backend health."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayBackendHealth"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/getBackendHealthOnDemand": {
+ "post": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_BackendHealthOnDemand",
+ "description": "Gets the backend health for given combination of backend pool and http setting of the specified application gateway in a resource group.",
+ "x-ms-examples": {
+ "Test Backend Health": {
+ "$ref": "./examples/ApplicationGatewayBackendHealthTest.json"
+ }
+ },
+ "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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands BackendAddressPool and BackendHttpSettings referenced in backend health."
+ },
+ {
+ "name": "probeRequest",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayOnDemandProbe"
+ },
+ "description": "Request body for on-demand test probe operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayBackendHealthOnDemand"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables": {
+ "get": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_ListAvailableServerVariables",
+ "x-ms-examples": {
+ "Get Available Server Variables": {
+ "$ref": "./examples/ApplicationGatewayAvailableServerVariablesGet.json"
+ }
+ },
+ "description": "Lists all available server variables.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of all available server variables.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayAvailableServerVariablesResult"
+ }
+ },
+ "default": {
+ "description": "Unexpected error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders": {
+ "get": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_ListAvailableRequestHeaders",
+ "x-ms-examples": {
+ "Get Available Request Headers": {
+ "$ref": "./examples/ApplicationGatewayAvailableRequestHeadersGet.json"
+ }
+ },
+ "description": "Lists all available request headers.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of all available request headers.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayAvailableRequestHeadersResult"
+ }
+ },
+ "default": {
+ "description": "Unexpected error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders": {
+ "get": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_ListAvailableResponseHeaders",
+ "x-ms-examples": {
+ "Get Available Response Headers": {
+ "$ref": "./examples/ApplicationGatewayAvailableResponseHeadersGet.json"
+ }
+ },
+ "description": "Lists all available response headers.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of all available response headers.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayAvailableResponseHeadersResult"
+ }
+ },
+ "default": {
+ "description": "Unexpected error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": {
+ "get": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_ListAvailableWafRuleSets",
+ "x-ms-examples": {
+ "Get Available Waf Rule Sets": {
+ "$ref": "./examples/ApplicationGatewayAvailableWafRuleSetsGet.json"
+ }
+ },
+ "description": "Lists all available web application firewall rule sets.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of all available web application firewall rule sets.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": {
+ "get": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_ListAvailableSslOptions",
+ "x-ms-examples": {
+ "Get Available Ssl Options": {
+ "$ref": "./examples/ApplicationGatewayAvailableSslOptionsGet.json"
+ }
+ },
+ "description": "Lists available Ssl options for configuring Ssl policy.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns all available Ssl options for configuring Ssl policy.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayAvailableSslOptions"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": {
+ "get": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_ListAvailableSslPredefinedPolicies",
+ "x-ms-examples": {
+ "Get Available Ssl Predefined Policies": {
+ "$ref": "./examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "description": "Lists all SSL predefined policies for configuring Ssl policy.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a lists of all Ssl predefined policies for configuring Ssl policy.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": {
+ "get": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_GetSslPredefinedPolicy",
+ "x-ms-examples": {
+ "Get Available Ssl Predefined Policy by name": {
+ "$ref": "./examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json"
+ }
+ },
+ "description": "Gets Ssl predefined policy with the specified policy name.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "predefinedPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of Ssl predefined policy."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a Ssl predefined policy with the specified policy name.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewaySslPredefinedPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ApplicationGatewayOnDemandProbe": {
+ "properties": {
+ "protocol": {
+ "$ref": "#/definitions/ApplicationGatewayProtocol",
+ "description": "The protocol used for the probe."
+ },
+ "host": {
+ "type": "string",
+ "description": "Host name to send the probe to."
+ },
+ "path": {
+ "type": "string",
+ "description": "Relative path of probe. Valid path starts from '/'. Probe is sent to ://:."
+ },
+ "timeout": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The probe timeout in seconds. Probe marked as failed if valid response is not received with this timeout period. Acceptable values are from 1 second to 86400 seconds."
+ },
+ "pickHostNameFromBackendHttpSettings": {
+ "type": "boolean",
+ "description": "Whether the host header should be picked from the backend http settings. Default value is false."
+ },
+ "match": {
+ "$ref": "#/definitions/ApplicationGatewayProbeHealthResponseMatch",
+ "description": "Criterion for classifying a healthy probe response."
+ },
+ "backendAddressPool": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference of backend pool of application gateway to which probe request will be sent."
+ },
+ "backendHttpSettings": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference of backend http setting of application gateway to be used for test probe."
+ }
+ },
+ "description": "Details of on demand test probe request."
+ },
+ "ApplicationGatewayBackendHealthOnDemand": {
+ "properties": {
+ "backendAddressPool": {
+ "$ref": "#/definitions/ApplicationGatewayBackendAddressPool",
+ "description": "Reference of an ApplicationGatewayBackendAddressPool resource."
+ },
+ "backendHealthHttpSettings": {
+ "$ref": "#/definitions/ApplicationGatewayBackendHealthHttpSettings",
+ "description": "Application gateway BackendHealthHttp settings."
+ }
+ },
+ "description": "Result of on demand test probe."
+ },
+ "ApplicationGatewayBackendHealth": {
+ "properties": {
+ "backendAddressPools": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayBackendHealthPool"
+ },
+ "description": "A list of ApplicationGatewayBackendHealthPool resources."
+ }
+ },
+ "description": "Response for ApplicationGatewayBackendHealth API service call."
+ },
+ "ApplicationGatewayBackendHealthPool": {
+ "properties": {
+ "backendAddressPool": {
+ "$ref": "#/definitions/ApplicationGatewayBackendAddressPool",
+ "description": "Reference of an ApplicationGatewayBackendAddressPool resource."
+ },
+ "backendHttpSettingsCollection": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayBackendHealthHttpSettings"
+ },
+ "description": "List of ApplicationGatewayBackendHealthHttpSettings resources."
+ }
+ },
+ "description": "Application gateway BackendHealth pool."
+ },
+ "ApplicationGatewayBackendHealthHttpSettings": {
+ "properties": {
+ "backendHttpSettings": {
+ "$ref": "#/definitions/ApplicationGatewayBackendHttpSettings",
+ "description": "Reference of an ApplicationGatewayBackendHttpSettings resource."
+ },
+ "servers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayBackendHealthServer"
+ },
+ "description": "List of ApplicationGatewayBackendHealthServer resources."
+ }
+ },
+ "description": "Application gateway BackendHealthHttp settings."
+ },
+ "ApplicationGatewayBackendHealthServer": {
+ "properties": {
+ "address": {
+ "type": "string",
+ "description": "IP address or FQDN of backend server."
+ },
+ "ipConfiguration": {
+ "$ref": "./networkInterface.json#/definitions/NetworkInterfaceIPConfiguration",
+ "description": "Reference of IP configuration of backend server."
+ },
+ "health": {
+ "type": "string",
+ "description": "Health of backend server.",
+ "enum": [
+ "Unknown",
+ "Up",
+ "Down",
+ "Partial",
+ "Draining"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewayBackendHealthServerHealth",
+ "modelAsString": true
+ }
+ },
+ "healthProbeLog": {
+ "type": "string",
+ "description": "Health Probe Log."
+ }
+ },
+ "description": "Application gateway backendhealth http settings."
+ },
+ "ApplicationGatewaySku": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of an application gateway SKU.",
+ "enum": [
+ "Standard_Small",
+ "Standard_Medium",
+ "Standard_Large",
+ "WAF_Medium",
+ "WAF_Large",
+ "Standard_v2",
+ "WAF_v2"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewaySkuName",
+ "modelAsString": true
+ }
+ },
+ "tier": {
+ "type": "string",
+ "description": "Tier of an application gateway.",
+ "enum": [
+ "Standard",
+ "WAF",
+ "Standard_v2",
+ "WAF_v2"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewayTier",
+ "modelAsString": true
+ }
+ },
+ "capacity": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Capacity (instance count) of an application gateway."
+ }
+ },
+ "description": "SKU of an application gateway."
+ },
+ "ApplicationGatewaySslPolicy": {
+ "properties": {
+ "disabledSslProtocols": {
+ "type": "array",
+ "description": "Ssl protocols to be disabled on application gateway.",
+ "items": {
+ "type": "string",
+ "$ref": "#/definitions/ProtocolsEnum"
+ }
+ },
+ "policyType": {
+ "type": "string",
+ "description": "Type of Ssl Policy.",
+ "enum": [
+ "Predefined",
+ "Custom"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewaySslPolicyType",
+ "modelAsString": true
+ }
+ },
+ "policyName": {
+ "$ref": "#/definitions/PolicyNameEnum",
+ "description": "Name of Ssl predefined policy."
+ },
+ "cipherSuites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CipherSuitesEnum"
+ },
+ "description": "Ssl cipher suites to be enabled in the specified order to application gateway."
+ },
+ "minProtocolVersion": {
+ "$ref": "#/definitions/ProtocolsEnum",
+ "description": "Minimum version of Ssl protocol to be supported on application gateway."
+ }
+ },
+ "description": "Application Gateway Ssl policy."
+ },
+ "ApplicationGatewayIPConfigurationPropertiesFormat": {
+ "properties": {
+ "subnet": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference of the subnet resource. A subnet from where application gateway gets its private address."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the application gateway IP configuration resource."
+ }
+ },
+ "description": "Properties of IP configuration of an application gateway."
+ },
+ "ApplicationGatewayIPConfiguration": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat",
+ "description": "Properties of the application gateway IP configuration."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the IP configuration that is unique within an Application Gateway."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed."
+ },
+ "ApplicationGatewayAuthenticationCertificatePropertiesFormat": {
+ "properties": {
+ "data": {
+ "type": "string",
+ "description": "Certificate public data."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the authentication certificate resource."
+ }
+ },
+ "description": "Authentication certificates properties of an application gateway."
+ },
+ "ApplicationGatewayAuthenticationCertificate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesFormat",
+ "description": "Properties of the application gateway authentication certificate."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the authentication certificate that is unique within an Application Gateway."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Authentication certificates of an application gateway."
+ },
+ "ApplicationGatewayTrustedRootCertificatePropertiesFormat": {
+ "properties": {
+ "data": {
+ "type": "string",
+ "description": "Certificate public data."
+ },
+ "keyVaultSecretId": {
+ "type": "string",
+ "description": "Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the trusted root certificate resource."
+ }
+ },
+ "description": "Trusted Root certificates properties of an application gateway."
+ },
+ "ApplicationGatewayTrustedRootCertificate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayTrustedRootCertificatePropertiesFormat",
+ "description": "Properties of the application gateway trusted root certificate."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the trusted root certificate that is unique within an Application Gateway."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Trusted Root certificates of an application gateway."
+ },
+ "ApplicationGatewaySslCertificatePropertiesFormat": {
+ "properties": {
+ "data": {
+ "type": "string",
+ "description": "Base-64 encoded pfx certificate. Only applicable in PUT Request."
+ },
+ "password": {
+ "type": "string",
+ "description": "Password for the pfx file specified in data. Only applicable in PUT request."
+ },
+ "publicCertData": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Base-64 encoded Public cert data corresponding to pfx specified in data. Only applicable in GET request."
+ },
+ "keyVaultSecretId": {
+ "type": "string",
+ "description": "Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the SSL certificate resource."
+ }
+ },
+ "description": "Properties of SSL certificates of an application gateway."
+ },
+ "ApplicationGatewaySslCertificate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat",
+ "description": "Properties of the application gateway SSL certificate."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the SSL certificate that is unique within an Application Gateway."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "SSL certificates of an application gateway."
+ },
+ "ApplicationGatewayFrontendIPConfigurationPropertiesFormat": {
+ "properties": {
+ "privateIPAddress": {
+ "type": "string",
+ "description": "PrivateIPAddress of the network interface IP Configuration."
+ },
+ "privateIPAllocationMethod": {
+ "$ref": "./network.json#/definitions/IPAllocationMethod",
+ "description": "The private IP address allocation method."
+ },
+ "subnet": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference of the subnet resource."
+ },
+ "publicIPAddress": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference of the PublicIP resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the frontend IP configuration resource."
+ }
+ },
+ "description": "Properties of Frontend IP configuration of an application gateway."
+ },
+ "ApplicationGatewayFrontendIPConfiguration": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat",
+ "description": "Properties of the application gateway frontend IP configuration."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the frontend IP configuration that is unique within an Application Gateway."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Frontend IP configuration of an application gateway."
+ },
+ "ApplicationGatewayFrontendPortPropertiesFormat": {
+ "properties": {
+ "port": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Frontend port."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the frontend port resource."
+ }
+ },
+ "description": "Properties of Frontend port of an application gateway."
+ },
+ "ApplicationGatewayFrontendPort": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat",
+ "description": "Properties of the application gateway frontend port."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the frontend port that is unique within an Application Gateway."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Frontend port of an application gateway."
+ },
+ "ApplicationGatewayBackendAddress": {
+ "properties": {
+ "fqdn": {
+ "type": "string",
+ "description": "Fully qualified domain name (FQDN)."
+ },
+ "ipAddress": {
+ "type": "string",
+ "description": "IP address."
+ }
+ },
+ "description": "Backend address of an application gateway."
+ },
+ "ApplicationGatewayBackendAddressPoolPropertiesFormat": {
+ "properties": {
+ "backendIPConfigurations": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./networkInterface.json#/definitions/NetworkInterfaceIPConfiguration"
+ },
+ "description": "Collection of references to IPs defined in network interfaces."
+ },
+ "backendAddresses": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayBackendAddress"
+ },
+ "description": "Backend addresses."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the backend address pool resource."
+ }
+ },
+ "description": "Properties of Backend Address Pool of an application gateway."
+ },
+ "ApplicationGatewayBackendAddressPool": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat",
+ "description": "Properties of the application gateway backend address pool."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the backend address pool that is unique within an Application Gateway."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Backend Address Pool of an application gateway."
+ },
+ "ApplicationGatewayBackendHttpSettingsPropertiesFormat": {
+ "properties": {
+ "port": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The destination port on the backend."
+ },
+ "protocol": {
+ "$ref": "#/definitions/ApplicationGatewayProtocol",
+ "description": "The protocol used to communicate with the backend."
+ },
+ "cookieBasedAffinity": {
+ "type": "string",
+ "description": "Cookie based affinity.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewayCookieBasedAffinity",
+ "modelAsString": true
+ }
+ },
+ "requestTimeout": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Request timeout in seconds. Application Gateway will fail the request if response is not received within RequestTimeout. Acceptable values are from 1 second to 86400 seconds."
+ },
+ "probe": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Probe resource of an application gateway."
+ },
+ "authenticationCertificates": {
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "Array of references to application gateway authentication certificates."
+ },
+ "trustedRootCertificates": {
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "Array of references to application gateway trusted root certificates."
+ },
+ "connectionDraining": {
+ "$ref": "#/definitions/ApplicationGatewayConnectionDraining",
+ "description": "Connection draining of the backend http settings resource."
+ },
+ "hostName": {
+ "type": "string",
+ "description": "Host header to be sent to the backend servers."
+ },
+ "pickHostNameFromBackendAddress": {
+ "type": "boolean",
+ "description": "Whether to pick host header should be picked from the host name of the backend server. Default value is false."
+ },
+ "affinityCookieName": {
+ "type": "string",
+ "description": "Cookie name to use for the affinity cookie."
+ },
+ "probeEnabled": {
+ "type": "boolean",
+ "description": "Whether the probe is enabled. Default value is false."
+ },
+ "path": {
+ "type": "string",
+ "description": "Path which should be used as a prefix for all HTTP requests. Null means no path will be prefixed. Default value is null."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the backend HTTP settings resource."
+ }
+ },
+ "description": "Properties of Backend address pool settings of an application gateway."
+ },
+ "ApplicationGatewayBackendHttpSettings": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat",
+ "description": "Properties of the application gateway backend HTTP settings."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the backend http settings that is unique within an Application Gateway."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Backend address pool settings of an application gateway."
+ },
+ "ApplicationGatewayHttpListenerPropertiesFormat": {
+ "properties": {
+ "frontendIPConfiguration": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Frontend IP configuration resource of an application gateway."
+ },
+ "frontendPort": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Frontend port resource of an application gateway."
+ },
+ "protocol": {
+ "$ref": "#/definitions/ApplicationGatewayProtocol",
+ "description": "Protocol of the HTTP listener."
+ },
+ "hostName": {
+ "type": "string",
+ "description": "Host name of HTTP listener."
+ },
+ "sslCertificate": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "SSL certificate resource of an application gateway."
+ },
+ "requireServerNameIndication": {
+ "type": "boolean",
+ "description": "Applicable only if protocol is https. Enables SNI for multi-hosting."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the HTTP listener resource."
+ },
+ "customErrorConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayCustomError"
+ },
+ "description": "Custom error configurations of the HTTP listener."
+ },
+ "firewallPolicy": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference to the FirewallPolicy resource."
+ },
+ "hostnames": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "List of Host names for HTTP Listener that allows special wildcard characters as well."
+ }
+ },
+ "description": "Properties of HTTP listener of an application gateway."
+ },
+ "ApplicationGatewayHttpListener": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat",
+ "description": "Properties of the application gateway HTTP listener."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the HTTP listener that is unique within an Application Gateway."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Http listener of an application gateway."
+ },
+ "ApplicationGatewayPathRulePropertiesFormat": {
+ "properties": {
+ "paths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Path rules of URL path map."
+ },
+ "backendAddressPool": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Backend address pool resource of URL path map path rule."
+ },
+ "backendHttpSettings": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Backend http settings resource of URL path map path rule."
+ },
+ "redirectConfiguration": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Redirect configuration resource of URL path map path rule."
+ },
+ "rewriteRuleSet": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Rewrite rule set resource of URL path map path rule."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the path rule resource."
+ },
+ "firewallPolicy": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference to the FirewallPolicy resource."
+ }
+ },
+ "description": "Properties of path rule of an application gateway."
+ },
+ "ApplicationGatewayPathRule": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayPathRulePropertiesFormat",
+ "description": "Properties of the application gateway path rule."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the path rule that is unique within an Application Gateway."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Path rule of URL path map of an application gateway."
+ },
+ "ApplicationGatewayProbePropertiesFormat": {
+ "properties": {
+ "protocol": {
+ "$ref": "#/definitions/ApplicationGatewayProtocol",
+ "description": "The protocol used for the probe."
+ },
+ "host": {
+ "type": "string",
+ "description": "Host name to send the probe to."
+ },
+ "path": {
+ "type": "string",
+ "description": "Relative path of probe. Valid path starts from '/'. Probe is sent to ://:."
+ },
+ "interval": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The probing interval in seconds. This is the time interval between two consecutive probes. Acceptable values are from 1 second to 86400 seconds."
+ },
+ "timeout": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The probe timeout in seconds. Probe marked as failed if valid response is not received with this timeout period. Acceptable values are from 1 second to 86400 seconds."
+ },
+ "unhealthyThreshold": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The probe retry count. Backend server is marked down after consecutive probe failure count reaches UnhealthyThreshold. Acceptable values are from 1 second to 20."
+ },
+ "pickHostNameFromBackendHttpSettings": {
+ "type": "boolean",
+ "description": "Whether the host header should be picked from the backend http settings. Default value is false."
+ },
+ "minServers": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Minimum number of servers that are always marked healthy. Default value is 0."
+ },
+ "match": {
+ "$ref": "#/definitions/ApplicationGatewayProbeHealthResponseMatch",
+ "description": "Criterion for classifying a healthy probe response."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the probe resource."
+ },
+ "port": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, port from http settings will be used. This property is valid for Standard_v2 and WAF_v2 only.",
+ "minimum": 1,
+ "maximum": 65535
+ }
+ },
+ "description": "Properties of probe of an application gateway."
+ },
+ "ApplicationGatewayProbeHealthResponseMatch": {
+ "properties": {
+ "body": {
+ "type": "string",
+ "description": "Body that must be contained in the health response. Default value is empty."
+ },
+ "statusCodes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Allowed ranges of healthy status codes. Default range of healthy status codes is 200-399."
+ }
+ },
+ "description": "Application gateway probe health response match."
+ },
+ "ApplicationGatewayProbe": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayProbePropertiesFormat",
+ "description": "Properties of the application gateway probe."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the probe that is unique within an Application Gateway."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Probe of the application gateway."
+ },
+ "ApplicationGatewayRequestRoutingRulePropertiesFormat": {
+ "properties": {
+ "ruleType": {
+ "type": "string",
+ "description": "Rule type.",
+ "enum": [
+ "Basic",
+ "PathBasedRouting"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewayRequestRoutingRuleType",
+ "modelAsString": true
+ }
+ },
+ "priority": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 1,
+ "exclusiveMinimum": false,
+ "maximum": 20000,
+ "exclusiveMaximum": false,
+ "description": "Priority of the request routing rule."
+ },
+ "backendAddressPool": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Backend address pool resource of the application gateway."
+ },
+ "backendHttpSettings": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Backend http settings resource of the application gateway."
+ },
+ "httpListener": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Http listener resource of the application gateway."
+ },
+ "urlPathMap": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "URL path map resource of the application gateway."
+ },
+ "rewriteRuleSet": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Rewrite Rule Set resource in Basic rule of the application gateway."
+ },
+ "redirectConfiguration": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Redirect configuration resource of the application gateway."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the request routing rule resource."
+ }
+ },
+ "description": "Properties of request routing rule of the application gateway."
+ },
+ "ApplicationGatewayRequestRoutingRule": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat",
+ "description": "Properties of the application gateway request routing rule."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the request routing rule that is unique within an Application Gateway."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Request routing rule of an application gateway."
+ },
+ "ApplicationGatewayRewriteRuleSet": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayRewriteRuleSetPropertiesFormat",
+ "description": "Properties of the application gateway rewrite rule set."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the rewrite rule set that is unique within an Application Gateway."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Rewrite rule set of an application gateway."
+ },
+ "ApplicationGatewayRewriteRuleSetPropertiesFormat": {
+ "properties": {
+ "rewriteRules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayRewriteRule"
+ },
+ "description": "Rewrite rules in the rewrite rule set."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the rewrite rule set resource."
+ }
+ },
+ "description": "Properties of rewrite rule set of the application gateway."
+ },
+ "ApplicationGatewayRewriteRule": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the rewrite rule that is unique within an Application Gateway."
+ },
+ "ruleSequence": {
+ "type": "integer",
+ "description": "Rule Sequence of the rewrite rule that determines the order of execution of a particular rule in a RewriteRuleSet."
+ },
+ "conditions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayRewriteRuleCondition"
+ },
+ "description": "Conditions based on which the action set execution will be evaluated."
+ },
+ "actionSet": {
+ "type": "object",
+ "$ref": "#/definitions/ApplicationGatewayRewriteRuleActionSet",
+ "description": "Set of actions to be done as part of the rewrite Rule."
+ }
+ },
+ "description": "Rewrite rule of an application gateway."
+ },
+ "ApplicationGatewayRewriteRuleCondition": {
+ "properties": {
+ "variable": {
+ "type": "string",
+ "description": "The condition parameter of the RewriteRuleCondition."
+ },
+ "pattern": {
+ "type": "string",
+ "description": "The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition."
+ },
+ "ignoreCase": {
+ "type": "boolean",
+ "description": "Setting this paramter to truth value with force the pattern to do a case in-sensitive comparison."
+ },
+ "negate": {
+ "type": "boolean",
+ "description": "Setting this value as truth will force to check the negation of the condition given by the user."
+ }
+ },
+ "description": "Set of conditions in the Rewrite Rule in Application Gateway."
+ },
+ "ApplicationGatewayRewriteRuleActionSet": {
+ "properties": {
+ "requestHeaderConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayHeaderConfiguration"
+ },
+ "description": "Request Header Actions in the Action Set."
+ },
+ "responseHeaderConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayHeaderConfiguration"
+ },
+ "description": "Response Header Actions in the Action Set."
+ }
+ },
+ "description": "Set of actions in the Rewrite Rule in Application Gateway."
+ },
+ "ApplicationGatewayHeaderConfiguration": {
+ "properties": {
+ "headerName": {
+ "type": "string",
+ "description": "Header name of the header configuration."
+ },
+ "headerValue": {
+ "type": "string",
+ "description": "Header value of the header configuration."
+ }
+ },
+ "description": "Header configuration of the Actions set in Application Gateway."
+ },
+ "ApplicationGatewayRedirectConfigurationPropertiesFormat": {
+ "properties": {
+ "redirectType": {
+ "type": "string",
+ "$ref": "#/definitions/RedirectTypeEnum",
+ "description": "HTTP redirection type."
+ },
+ "targetListener": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference to a listener to redirect the request to."
+ },
+ "targetUrl": {
+ "type": "string",
+ "description": "Url to redirect the request to."
+ },
+ "includePath": {
+ "type": "boolean",
+ "description": "Include path in the redirected url."
+ },
+ "includeQueryString": {
+ "type": "boolean",
+ "description": "Include query string in the redirected url."
+ },
+ "requestRoutingRules": {
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "Request routing specifying redirect configuration."
+ },
+ "urlPathMaps": {
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "Url path maps specifying default redirect configuration."
+ },
+ "pathRules": {
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "Path rules specifying redirect configuration."
+ }
+ },
+ "description": "Properties of redirect configuration of the application gateway."
+ },
+ "ApplicationGatewayRedirectConfiguration": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat",
+ "description": "Properties of the application gateway redirect configuration."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the redirect configuration that is unique within an Application Gateway."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Redirect configuration of an application gateway."
+ },
+ "ApplicationGatewayPropertiesFormat": {
+ "properties": {
+ "sku": {
+ "$ref": "#/definitions/ApplicationGatewaySku",
+ "description": "SKU of the application gateway resource."
+ },
+ "sslPolicy": {
+ "$ref": "#/definitions/ApplicationGatewaySslPolicy",
+ "description": "SSL policy of the application gateway resource."
+ },
+ "operationalState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Operational state of the application gateway resource.",
+ "enum": [
+ "Stopped",
+ "Starting",
+ "Running",
+ "Stopping"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewayOperationalState",
+ "modelAsString": true
+ }
+ },
+ "gatewayIPConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayIPConfiguration"
+ },
+ "description": "Subnets of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "authenticationCertificates": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayAuthenticationCertificate"
+ },
+ "description": "Authentication certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "trustedRootCertificates": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayTrustedRootCertificate"
+ },
+ "description": "Trusted Root certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "sslCertificates": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewaySslCertificate"
+ },
+ "description": "SSL certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "frontendIPConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayFrontendIPConfiguration"
+ },
+ "description": "Frontend IP addresses of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "frontendPorts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayFrontendPort"
+ },
+ "description": "Frontend ports of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "probes": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayProbe"
+ },
+ "description": "Probes of the application gateway resource."
+ },
+ "backendAddressPools": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayBackendAddressPool"
+ },
+ "description": "Backend address pool of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "backendHttpSettingsCollection": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayBackendHttpSettings"
+ },
+ "description": "Backend http settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "httpListeners": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayHttpListener"
+ },
+ "description": "Http listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "urlPathMaps": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayUrlPathMap"
+ },
+ "description": "URL path map of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "requestRoutingRules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayRequestRoutingRule"
+ },
+ "description": "Request routing rules of the application gateway resource."
+ },
+ "rewriteRuleSets": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayRewriteRuleSet"
+ },
+ "description": "Rewrite rules for the application gateway resource."
+ },
+ "redirectConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayRedirectConfiguration"
+ },
+ "description": "Redirect configurations of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "webApplicationFirewallConfiguration": {
+ "$ref": "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration",
+ "description": "Web application firewall configuration."
+ },
+ "firewallPolicy": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference of the FirewallPolicy resource."
+ },
+ "enableHttp2": {
+ "type": "boolean",
+ "description": "Whether HTTP2 is enabled on the application gateway resource."
+ },
+ "enableFips": {
+ "type": "boolean",
+ "description": "Whether FIPS is enabled on the application gateway resource."
+ },
+ "autoscaleConfiguration": {
+ "$ref": "#/definitions/ApplicationGatewayAutoscaleConfiguration",
+ "description": "Autoscale Configuration."
+ },
+ "resourceGuid": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource GUID property of the application gateway resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the application gateway resource."
+ },
+ "customErrorConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayCustomError"
+ },
+ "description": "Custom error configurations of the application gateway resource."
+ }
+ },
+ "description": "Properties of the application gateway."
+ },
+ "ApplicationGateway": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayPropertiesFormat",
+ "description": "Properties of the application gateway."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of availability zones denoting where the resource needs to come from."
+ },
+ "identity": {
+ "$ref": "./network.json#/definitions/ManagedServiceIdentity",
+ "description": "The identity of the application gateway, if configured."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Application gateway resource."
+ },
+ "ApplicationGatewayListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGateway"
+ },
+ "description": "List of an application gateways in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListApplicationGateways API service call."
+ },
+ "ApplicationGatewayUrlPathMapPropertiesFormat": {
+ "properties": {
+ "defaultBackendAddressPool": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Default backend address pool resource of URL path map."
+ },
+ "defaultBackendHttpSettings": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Default backend http settings resource of URL path map."
+ },
+ "defaultRewriteRuleSet": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Default Rewrite rule set resource of URL path map."
+ },
+ "defaultRedirectConfiguration": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Default redirect configuration resource of URL path map."
+ },
+ "pathRules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayPathRule"
+ },
+ "description": "Path rule of URL path map resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the URL path map resource."
+ }
+ },
+ "description": "Properties of UrlPathMap of the application gateway."
+ },
+ "ApplicationGatewayUrlPathMap": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat",
+ "description": "Properties of the application gateway URL path map."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the URL path map that is unique within an Application Gateway."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "UrlPathMaps give a url path to the backend mapping information for PathBasedRouting."
+ },
+ "ApplicationGatewayWebApplicationFirewallConfiguration": {
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "description": "Whether the web application firewall is enabled or not."
+ },
+ "firewallMode": {
+ "type": "string",
+ "description": "Web application firewall mode.",
+ "enum": [
+ "Detection",
+ "Prevention"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewayFirewallMode",
+ "modelAsString": true
+ }
+ },
+ "ruleSetType": {
+ "type": "string",
+ "description": "The type of the web application firewall rule set. Possible values are: 'OWASP'."
+ },
+ "ruleSetVersion": {
+ "type": "string",
+ "description": "The version of the rule set type."
+ },
+ "disabledRuleGroups": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup"
+ },
+ "description": "The disabled rule groups."
+ },
+ "requestBodyCheck": {
+ "type": "boolean",
+ "description": "Whether allow WAF to check request Body."
+ },
+ "maxRequestBodySize": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 128,
+ "exclusiveMaximum": false,
+ "minimum": 8,
+ "exclusiveMinimum": false,
+ "description": "Maximum request body size for WAF."
+ },
+ "maxRequestBodySizeInKb": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 128,
+ "exclusiveMaximum": false,
+ "minimum": 8,
+ "exclusiveMinimum": false,
+ "description": "Maximum request body size in Kb for WAF."
+ },
+ "fileUploadLimitInMb": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "exclusiveMinimum": false,
+ "description": "Maximum file upload size in Mb for WAF."
+ },
+ "exclusions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayFirewallExclusion"
+ },
+ "description": "The exclusion list."
+ }
+ },
+ "required": [
+ "enabled",
+ "firewallMode",
+ "ruleSetType",
+ "ruleSetVersion"
+ ],
+ "description": "Application gateway web application firewall configuration."
+ },
+ "ApplicationGatewayAutoscaleConfiguration": {
+ "properties": {
+ "minCapacity": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "exclusiveMinimum": false,
+ "description": "Lower bound on number of Application Gateway capacity."
+ },
+ "maxCapacity": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 2,
+ "exclusiveMinimum": false,
+ "description": "Upper bound on number of Application Gateway capacity."
+ }
+ },
+ "required": [
+ "minCapacity"
+ ],
+ "description": "Application Gateway autoscale configuration."
+ },
+ "ApplicationGatewayConnectionDraining": {
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "description": "Whether connection draining is enabled or not."
+ },
+ "drainTimeoutInSec": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 3600,
+ "exclusiveMaximum": false,
+ "minimum": 1,
+ "exclusiveMinimum": false,
+ "description": "The number of seconds connection draining is active. Acceptable values are from 1 second to 3600 seconds."
+ }
+ },
+ "required": [
+ "enabled",
+ "drainTimeoutInSec"
+ ],
+ "description": "Connection draining allows open connections to a backend server to be active for a specified time after the backend server got removed from the configuration."
+ },
+ "ApplicationGatewayFirewallDisabledRuleGroup": {
+ "properties": {
+ "ruleGroupName": {
+ "type": "string",
+ "description": "The name of the rule group that will be disabled."
+ },
+ "rules": {
+ "type": "array",
+ "items": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": false
+ },
+ "description": "The list of rules that will be disabled. If null, all rules of the rule group will be disabled."
+ }
+ },
+ "required": [
+ "ruleGroupName"
+ ],
+ "description": "Allows to disable rules within a rule group or an entire rule group."
+ },
+ "ApplicationGatewayAvailableServerVariablesResult": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Response for ApplicationGatewayAvailableServerVariables API service call."
+ },
+ "ApplicationGatewayAvailableRequestHeadersResult": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Response for ApplicationGatewayAvailableRequestHeaders API service call."
+ },
+ "ApplicationGatewayAvailableResponseHeadersResult": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Response for ApplicationGatewayAvailableResponseHeaders API service call."
+ },
+ "ApplicationGatewayFirewallExclusion": {
+ "properties": {
+ "matchVariable": {
+ "type": "string",
+ "description": "The variable to be excluded."
+ },
+ "selectorMatchOperator": {
+ "type": "string",
+ "description": "When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to."
+ },
+ "selector": {
+ "type": "string",
+ "description": "When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to."
+ }
+ },
+ "required": [
+ "matchVariable",
+ "selectorMatchOperator",
+ "selector"
+ ],
+ "description": "Allow to exclude some variable satisfy the condition for the WAF check."
+ },
+ "ApplicationGatewayAvailableWafRuleSetsResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayFirewallRuleSet"
+ },
+ "description": "The list of application gateway rule sets."
+ }
+ },
+ "description": "Response for ApplicationGatewayAvailableWafRuleSets API service call."
+ },
+ "ApplicationGatewayFirewallRuleSet": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat",
+ "description": "Properties of the application gateway firewall rule set."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "A web application firewall rule set."
+ },
+ "ApplicationGatewayFirewallRuleSetPropertiesFormat": {
+ "properties": {
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the web application firewall rule set."
+ },
+ "ruleSetType": {
+ "type": "string",
+ "description": "The type of the web application firewall rule set."
+ },
+ "ruleSetVersion": {
+ "type": "string",
+ "description": "The version of the web application firewall rule set type."
+ },
+ "ruleGroups": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayFirewallRuleGroup"
+ },
+ "description": "The rule groups of the web application firewall rule set."
+ }
+ },
+ "required": [
+ "ruleSetType",
+ "ruleSetVersion",
+ "ruleGroups"
+ ],
+ "description": "Properties of the web application firewall rule set."
+ },
+ "ApplicationGatewayFirewallRuleGroup": {
+ "properties": {
+ "ruleGroupName": {
+ "type": "string",
+ "description": "The name of the web application firewall rule group."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the web application firewall rule group."
+ },
+ "rules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayFirewallRule"
+ },
+ "description": "The rules of the web application firewall rule group."
+ }
+ },
+ "required": [
+ "ruleGroupName",
+ "rules"
+ ],
+ "description": "A web application firewall rule group."
+ },
+ "ApplicationGatewayFirewallRule": {
+ "properties": {
+ "ruleId": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The identifier of the web application firewall rule."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the web application firewall rule."
+ }
+ },
+ "required": [
+ "ruleId"
+ ],
+ "description": "A web application firewall rule."
+ },
+ "ApplicationGatewayAvailableSslOptions": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat",
+ "description": "Properties of the application gateway available SSL options."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Response for ApplicationGatewayAvailableSslOptions API service call."
+ },
+ "ApplicationGatewayAvailableSslOptionsPropertiesFormat": {
+ "properties": {
+ "predefinedPolicies": {
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "List of available Ssl predefined policy."
+ },
+ "defaultPolicy": {
+ "$ref": "#/definitions/PolicyNameEnum",
+ "description": "Name of the Ssl predefined policy applied by default to application gateway."
+ },
+ "availableCipherSuites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CipherSuitesEnum"
+ },
+ "description": "List of available Ssl cipher suites."
+ },
+ "availableProtocols": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProtocolsEnum"
+ },
+ "description": "List of available Ssl protocols."
+ }
+ },
+ "description": "Properties of ApplicationGatewayAvailableSslOptions."
+ },
+ "ApplicationGatewayAvailableSslPredefinedPolicies": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewaySslPredefinedPolicy"
+ },
+ "description": "List of available Ssl predefined policy."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ },
+ "description": "Response for ApplicationGatewayAvailableSslOptions API service call."
+ },
+ "ApplicationGatewaySslPredefinedPolicy": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the Ssl predefined policy."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat",
+ "description": "Properties of the application gateway SSL predefined policy."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "An Ssl predefined policy."
+ },
+ "ApplicationGatewaySslPredefinedPolicyPropertiesFormat": {
+ "properties": {
+ "cipherSuites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CipherSuitesEnum"
+ },
+ "description": "Ssl cipher suites to be enabled in the specified order for application gateway."
+ },
+ "minProtocolVersion": {
+ "$ref": "#/definitions/ProtocolsEnum",
+ "description": "Minimum version of Ssl protocol to be supported on application gateway."
+ }
+ },
+ "description": "Properties of ApplicationGatewaySslPredefinedPolicy."
+ },
+ "ApplicationGatewayCustomError": {
+ "properties": {
+ "statusCode": {
+ "type": "string",
+ "description": "Status code of the application gateway customer error.",
+ "enum": [
+ "HttpStatus403",
+ "HttpStatus502"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewayCustomErrorStatusCode",
+ "modelAsString": true
+ }
+ },
+ "customErrorPageUrl": {
+ "type": "string",
+ "description": "Error page URL of the application gateway customer error."
+ }
+ },
+ "description": "Customer error of an application gateway."
+ },
+ "PolicyNameEnum": {
+ "type": "string",
+ "description": "Ssl predefined policy name enums.",
+ "enum": [
+ "AppGwSslPolicy20150501",
+ "AppGwSslPolicy20170401",
+ "AppGwSslPolicy20170401S"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewaySslPolicyName",
+ "modelAsString": true
+ }
+ },
+ "ProtocolsEnum": {
+ "type": "string",
+ "description": "Ssl protocol enums.",
+ "enum": [
+ "TLSv1_0",
+ "TLSv1_1",
+ "TLSv1_2"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewaySslProtocol",
+ "modelAsString": true
+ }
+ },
+ "CipherSuitesEnum": {
+ "type": "string",
+ "description": "Ssl cipher suites enums.",
+ "enum": [
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_DHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA256",
+ "TLS_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_3DES_EDE_CBC_SHA",
+ "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA",
+ "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewaySslCipherSuite",
+ "modelAsString": true
+ }
+ },
+ "RedirectTypeEnum": {
+ "type": "string",
+ "description": "Redirect type enum.",
+ "enum": [
+ "Permanent",
+ "Found",
+ "SeeOther",
+ "Temporary"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewayRedirectType",
+ "modelAsString": true
+ }
+ },
+ "ApplicationGatewayProtocol": {
+ "type": "string",
+ "description": "Application Gateway protocol.",
+ "enum": [
+ "Http",
+ "Https"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewayProtocol",
+ "modelAsString": true
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/applicationSecurityGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/applicationSecurityGroup.json
new file mode 100644
index 000000000000..d8178ed302da
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/applicationSecurityGroup.json
@@ -0,0 +1,406 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}": {
+ "delete": {
+ "tags": [
+ "ApplicationSecurityGroups"
+ ],
+ "operationId": "ApplicationSecurityGroups_Delete",
+ "description": "Deletes the specified application security group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "applicationSecurityGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the application security group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Delete application security group": {
+ "$ref": "./examples/ApplicationSecurityGroupDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "ApplicationSecurityGroups"
+ ],
+ "operationId": "ApplicationSecurityGroups_Get",
+ "description": "Gets information about the specified application security group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "applicationSecurityGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the application security group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the specified application security group resource.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationSecurityGroup"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get application security group": {
+ "$ref": "./examples/ApplicationSecurityGroupGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ApplicationSecurityGroups"
+ ],
+ "operationId": "ApplicationSecurityGroups_CreateOrUpdate",
+ "description": "Creates or updates an application security group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "applicationSecurityGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the application security group."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ApplicationSecurityGroup"
+ },
+ "description": "Parameters supplied to the create or update ApplicationSecurityGroup operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting application security group resource.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationSecurityGroup"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting application security group resource.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationSecurityGroup"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Create application security group": {
+ "$ref": "./examples/ApplicationSecurityGroupCreate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "applicationSecurityGroups"
+ ],
+ "operationId": "ApplicationSecurityGroups_UpdateTags",
+ "description": "Updates an application security group's tags.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "applicationSecurityGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the application security group."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update application security group tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting ApplicationSecurityGroup resource.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationSecurityGroup"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update application security group tags": {
+ "$ref": "./examples/ApplicationSecurityGroupUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups": {
+ "get": {
+ "tags": [
+ "ApplicationSecurityGroups"
+ ],
+ "operationId": "ApplicationSecurityGroups_ListAll",
+ "description": "Gets all application security groups in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of application security group resources.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationSecurityGroupListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List all application security groups": {
+ "$ref": "./examples/ApplicationSecurityGroupListAll.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups": {
+ "get": {
+ "tags": [
+ "ApplicationSecurityGroups"
+ ],
+ "operationId": "ApplicationSecurityGroups_List",
+ "description": "Gets all the application security groups in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of application security group resources.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationSecurityGroupListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List load balancers in resource group": {
+ "$ref": "./examples/ApplicationSecurityGroupList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ApplicationSecurityGroup": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationSecurityGroupPropertiesFormat",
+ "description": "Properties of the application security group."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "An application security group in a resource group."
+ },
+ "ApplicationSecurityGroupPropertiesFormat": {
+ "properties": {
+ "resourceGuid": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the application security group resource."
+ }
+ },
+ "description": "Application security group properties."
+ },
+ "ApplicationSecurityGroupListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationSecurityGroup"
+ },
+ "description": "A list of application security groups."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "A list of application security groups."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/availableDelegations.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/availableDelegations.json
new file mode 100644
index 000000000000..6ed829e3f83c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/availableDelegations.json
@@ -0,0 +1,178 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations": {
+ "get": {
+ "operationId": "AvailableDelegations_List",
+ "description": "Gets all of the available subnet delegations for this subscription in this region.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location of the subnet."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns all of the possible delegations for a subnet in this subscription in the region.",
+ "schema": {
+ "$ref": "#/definitions/AvailableDelegationsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get available delegations": {
+ "$ref": "./examples/AvailableDelegationsSubscriptionGet.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations": {
+ "get": {
+ "operationId": "AvailableResourceGroupDelegations_List",
+ "description": "Gets all of the available subnet delegations for this resource group in this region.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location of the domain name."
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns all of the possible delegations for a subnet in this subscription in the region.",
+ "schema": {
+ "$ref": "#/definitions/AvailableDelegationsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get available delegations in the resource group": {
+ "$ref": "./examples/AvailableDelegationsResourceGroupGet.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "AvailableDelegationsResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AvailableDelegation"
+ },
+ "description": "An array of available delegations."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "An array of available delegations."
+ },
+ "AvailableDelegation": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the AvailableDelegation resource."
+ },
+ "id": {
+ "type": "string",
+ "description": "A unique identifier of the AvailableDelegation resource."
+ },
+ "type": {
+ "type": "string",
+ "description": "Resource type."
+ },
+ "serviceName": {
+ "type": "string",
+ "description": "The name of the service and resource."
+ },
+ "actions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Describes the actions permitted to the service upon delegation."
+ }
+ },
+ "description": "The serviceName of an AvailableDelegation indicates a possible delegation for a subnet."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/availableServiceAliases.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/availableServiceAliases.json
new file mode 100644
index 000000000000..44c1115ca02b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/availableServiceAliases.json
@@ -0,0 +1,171 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableServiceAliases": {
+ "get": {
+ "operationId": "AvailableServiceAliases_List",
+ "description": "Gets all available service aliases for this subscription in this region.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location."
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns all available service aliases for the subscription in the region.",
+ "schema": {
+ "$ref": "#/definitions/AvailableServiceAliasesResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get available service aliases": {
+ "$ref": "./examples/AvailableServiceAliasesList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableServiceAliases": {
+ "get": {
+ "operationId": "AvailableServiceAliases_ListByResourceGroup",
+ "description": "Gets all available service aliases for this resource group in this region.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location."
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns all available service aliases for the resource group in the region.",
+ "schema": {
+ "$ref": "#/definitions/AvailableServiceAliasesResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get available service aliases in the resource group": {
+ "$ref": "./examples/AvailableServiceAliasesListByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "AvailableServiceAlias": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the service alias."
+ },
+ "id": {
+ "type": "string",
+ "description": "The ID of the service alias."
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the resource."
+ },
+ "resourceName": {
+ "type": "string",
+ "description": "The resource name of the service alias."
+ }
+ },
+ "description": "The available service alias."
+ },
+ "AvailableServiceAliasesResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AvailableServiceAlias"
+ },
+ "description": "An array of available service aliases."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "An array of available service aliases."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/azureFirewall.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/azureFirewall.json
new file mode 100644
index 000000000000..facac61ea55a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/azureFirewall.json
@@ -0,0 +1,1014 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}": {
+ "delete": {
+ "tags": [
+ "AzureFirewalls"
+ ],
+ "operationId": "AzureFirewalls_Delete",
+ "description": "Deletes the specified Azure Firewall.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "azureFirewallName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Azure Firewall."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Request successful. Resource with the specified name does not exist."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete Azure Firewall": {
+ "$ref": "./examples/AzureFirewallDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "AzureFirewalls"
+ ],
+ "operationId": "AzureFirewalls_Get",
+ "description": "Gets the specified Azure Firewall.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "azureFirewallName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Azure Firewall."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns an AzureFirewall resource.",
+ "schema": {
+ "$ref": "#/definitions/AzureFirewall"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Azure Firewall": {
+ "$ref": "./examples/AzureFirewallGet.json"
+ },
+ "Get Azure Firewall With Zones": {
+ "$ref": "./examples/AzureFirewallGetWithZones.json"
+ },
+ "Get Azure Firewall With Additional Properties": {
+ "$ref": "./examples/AzureFirewallGetWithAdditionalProperties.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "AzureFirewalls"
+ ],
+ "operationId": "AzureFirewalls_CreateOrUpdate",
+ "description": "Creates or updates the specified Azure Firewall.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "azureFirewallName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Azure Firewall."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AzureFirewall"
+ },
+ "description": "Parameters supplied to the create or update Azure Firewall operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting AzureFirewall resource.",
+ "schema": {
+ "$ref": "#/definitions/AzureFirewall"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting AzureFirewall resource.",
+ "schema": {
+ "$ref": "#/definitions/AzureFirewall"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create Azure Firewall": {
+ "$ref": "./examples/AzureFirewallPut.json"
+ },
+ "Create Azure Firewall With Zones": {
+ "$ref": "./examples/AzureFirewallPutWithZones.json"
+ },
+ "Create Azure Firewall in virtual Hub": {
+ "$ref": "./examples/AzureFirewallPutInHub.json"
+ },
+ "Create Azure Firewall With Additional Properties": {
+ "$ref": "./examples/AzureFirewallPutWithAdditionalProperties.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "AzureFirewalls"
+ ],
+ "operationId": "AzureFirewalls_UpdateTags",
+ "description": "Updates tags of an Azure Firewall resource.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "azureFirewallName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Azure Firewall."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update azure firewall tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting AzureFirewall resource.",
+ "schema": {
+ "$ref": "#/definitions/AzureFirewall"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update Azure Firewall Tags": {
+ "$ref": "./examples/AzureFirewallUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls": {
+ "get": {
+ "tags": [
+ "AzureFirewalls"
+ ],
+ "operationId": "AzureFirewalls_List",
+ "description": "Lists all Azure Firewalls in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of AzureFirewall resources.",
+ "schema": {
+ "$ref": "#/definitions/AzureFirewallListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all Azure Firewalls for a given resource group": {
+ "$ref": "./examples/AzureFirewallListByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls": {
+ "get": {
+ "tags": [
+ "AzureFirewalls"
+ ],
+ "operationId": "AzureFirewalls_ListAll",
+ "description": "Gets all the Azure Firewalls in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of AzureFirewall resources.",
+ "schema": {
+ "$ref": "#/definitions/AzureFirewallListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all Azure Firewalls for a given subscription": {
+ "$ref": "./examples/AzureFirewallListBySubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "AzureFirewallIPConfigurationPropertiesFormat": {
+ "properties": {
+ "privateIPAddress": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes."
+ },
+ "subnet": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference of the subnet resource. This resource must be named 'AzureFirewallSubnet'."
+ },
+ "publicIPAddress": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference of the PublicIP resource. This field is a mandatory input if subnet is not null."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the Azure firewall IP configuration resource."
+ }
+ },
+ "description": "Properties of IP configuration of an Azure Firewall."
+ },
+ "AzureFirewallIPConfiguration": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureFirewallIPConfigurationPropertiesFormat",
+ "description": "Properties of the azure firewall IP configuration."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "IP configuration of an Azure Firewall."
+ },
+ "AzureFirewallPublicIPAddress": {
+ "properties": {
+ "address": {
+ "type": "string",
+ "description": "Public IP Address value."
+ }
+ },
+ "description": "Public IP Address associated with azure firewall."
+ },
+ "HubIPAddresses": {
+ "properties": {
+ "publicIPAddresses": {
+ "type": "array",
+ "description": "List of Public IP addresses associated with azure firewall.",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallPublicIPAddress"
+ }
+ },
+ "privateIPAddress": {
+ "type": "string",
+ "description": "Private IP Address associated with azure firewall."
+ }
+ },
+ "description": "IP addresses associated with azure firewall."
+ },
+ "AzureFirewallPropertiesFormat": {
+ "properties": {
+ "applicationRuleCollections": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallApplicationRuleCollection"
+ },
+ "description": "Collection of application rule collections used by Azure Firewall."
+ },
+ "natRuleCollections": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallNatRuleCollection"
+ },
+ "description": "Collection of NAT rule collections used by Azure Firewall."
+ },
+ "networkRuleCollections": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallNetworkRuleCollection"
+ },
+ "description": "Collection of network rule collections used by Azure Firewall."
+ },
+ "ipConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallIPConfiguration"
+ },
+ "description": "IP configuration of the Azure Firewall resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the Azure firewall resource."
+ },
+ "threatIntelMode": {
+ "description": "The operation mode for Threat Intelligence.",
+ "$ref": "#/definitions/AzureFirewallThreatIntelMode"
+ },
+ "virtualHub": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The virtualHub to which the firewall belongs."
+ },
+ "firewallPolicy": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The firewallPolicy associated with this azure firewall."
+ },
+ "hubIpAddresses": {
+ "readOnly": true,
+ "description": "IP addresses associated with AzureFirewall.",
+ "$ref": "#/definitions/HubIPAddresses"
+ },
+ "sku": {
+ "description": "The Azure Firewall Resource SKU.",
+ "$ref": "#/definitions/AzureFirewallSku"
+ },
+ "additionalProperties": {
+ "$ref": "#/definitions/AzureFirewallAdditionalProperties",
+ "description": "The additional properties used to further config this azure firewall "
+ }
+ },
+ "description": "Properties of the Azure Firewall."
+ },
+ "AzureFirewall": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureFirewallPropertiesFormat",
+ "description": "Properties of the azure firewall."
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of availability zones denoting where the resource needs to come from."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Azure Firewall resource."
+ },
+ "AzureFirewallListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewall"
+ },
+ "description": "List of Azure Firewalls in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListAzureFirewalls API service call."
+ },
+ "AzureFirewallThreatIntelMode": {
+ "type": "string",
+ "description": "The operation mode for Threat Intel.",
+ "enum": [
+ "Alert",
+ "Deny",
+ "Off"
+ ],
+ "x-ms-enum": {
+ "name": "AzureFirewallThreatIntelMode",
+ "modelAsString": true
+ }
+ },
+ "AzureFirewallAdditionalProperties": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The additional properties of azure firewall"
+ },
+ "AzureFirewallApplicationRuleCollectionPropertiesFormat": {
+ "properties": {
+ "priority": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 65000,
+ "exclusiveMaximum": false,
+ "minimum": 100,
+ "exclusiveMinimum": false,
+ "description": "Priority of the application rule collection resource."
+ },
+ "action": {
+ "$ref": "#/definitions/AzureFirewallRCAction",
+ "description": "The action type of a rule collection."
+ },
+ "rules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallApplicationRule"
+ },
+ "description": "Collection of rules used by a application rule collection."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the application rule collection resource."
+ }
+ },
+ "description": "Properties of the application rule collection."
+ },
+ "AzureFirewallApplicationRuleCollection": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureFirewallApplicationRuleCollectionPropertiesFormat",
+ "description": "Properties of the azure firewall application rule collection."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within the Azure firewall. This name can be used to access the resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Application rule collection resource."
+ },
+ "AzureFirewallApplicationRuleProtocol": {
+ "properties": {
+ "protocolType": {
+ "description": "Protocol type.",
+ "$ref": "#/definitions/AzureFirewallApplicationRuleProtocolType"
+ },
+ "port": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 64000,
+ "exclusiveMaximum": false,
+ "minimum": 0,
+ "exclusiveMinimum": false,
+ "description": "Port number for the protocol, cannot be greater than 64000. This field is optional."
+ }
+ },
+ "description": "Properties of the application rule protocol."
+ },
+ "AzureFirewallApplicationRule": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the application rule."
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of the rule."
+ },
+ "sourceAddresses": {
+ "type": "array",
+ "description": "List of source IP addresses for this rule.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "protocols": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallApplicationRuleProtocol"
+ },
+ "description": "Array of ApplicationRuleProtocols."
+ },
+ "targetFqdns": {
+ "type": "array",
+ "description": "List of FQDNs for this rule.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "fqdnTags": {
+ "type": "array",
+ "description": "List of FQDN Tags for this rule.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "sourceIpGroups": {
+ "type": "array",
+ "description": "List of source IpGroups for this rule.",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "description": "Properties of an application rule."
+ },
+ "AzureFirewallNatRuleCollectionProperties": {
+ "properties": {
+ "priority": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 65000,
+ "exclusiveMaximum": false,
+ "minimum": 100,
+ "exclusiveMinimum": false,
+ "description": "Priority of the NAT rule collection resource."
+ },
+ "action": {
+ "$ref": "#/definitions/AzureFirewallNatRCAction",
+ "description": "The action type of a NAT rule collection."
+ },
+ "rules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallNatRule"
+ },
+ "description": "Collection of rules used by a NAT rule collection."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the NAT rule collection resource."
+ }
+ },
+ "description": "Properties of the NAT rule collection."
+ },
+ "AzureFirewallNatRuleCollection": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureFirewallNatRuleCollectionProperties",
+ "description": "Properties of the azure firewall NAT rule collection."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within the Azure firewall. This name can be used to access the resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "NAT rule collection resource."
+ },
+ "AzureFirewallNatRule": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the NAT rule."
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of the rule."
+ },
+ "sourceAddresses": {
+ "type": "array",
+ "description": "List of source IP addresses for this rule.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "destinationAddresses": {
+ "type": "array",
+ "description": "List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "destinationPorts": {
+ "type": "array",
+ "description": "List of destination ports.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "protocols": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallNetworkRuleProtocol"
+ },
+ "description": "Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule."
+ },
+ "translatedAddress": {
+ "type": "string",
+ "description": "The translated address for this NAT rule."
+ },
+ "translatedPort": {
+ "type": "string",
+ "description": "The translated port for this NAT rule."
+ },
+ "translatedFqdn": {
+ "type": "string",
+ "description": "The translated FQDN for this NAT rule."
+ },
+ "sourceIpGroups": {
+ "type": "array",
+ "description": "List of source IpGroups for this rule.",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "description": "Properties of a NAT rule."
+ },
+ "AzureFirewallNatRCAction": {
+ "properties": {
+ "type": {
+ "description": "The type of action.",
+ "$ref": "#/definitions/AzureFirewallNatRCActionType"
+ }
+ },
+ "description": "AzureFirewall NAT Rule Collection Action."
+ },
+ "AzureFirewallNatRCActionType": {
+ "type": "string",
+ "description": "The action type of a NAT rule collection.",
+ "enum": [
+ "Snat",
+ "Dnat"
+ ],
+ "x-ms-enum": {
+ "name": "AzureFirewallNatRCActionType",
+ "modelAsString": true
+ }
+ },
+ "AzureFirewallNetworkRuleCollectionPropertiesFormat": {
+ "properties": {
+ "priority": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 65000,
+ "exclusiveMaximum": false,
+ "minimum": 100,
+ "exclusiveMinimum": false,
+ "description": "Priority of the network rule collection resource."
+ },
+ "action": {
+ "$ref": "#/definitions/AzureFirewallRCAction",
+ "description": "The action type of a rule collection."
+ },
+ "rules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallNetworkRule"
+ },
+ "description": "Collection of rules used by a network rule collection."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the network rule collection resource."
+ }
+ },
+ "description": "Properties of the network rule collection."
+ },
+ "AzureFirewallNetworkRuleCollection": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureFirewallNetworkRuleCollectionPropertiesFormat",
+ "description": "Properties of the azure firewall network rule collection."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within the Azure firewall. This name can be used to access the resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Network rule collection resource."
+ },
+ "AzureFirewallNetworkRule": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the network rule."
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of the rule."
+ },
+ "protocols": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallNetworkRuleProtocol"
+ },
+ "description": "Array of AzureFirewallNetworkRuleProtocols."
+ },
+ "sourceAddresses": {
+ "type": "array",
+ "description": "List of source IP addresses for this rule.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "destinationAddresses": {
+ "type": "array",
+ "description": "List of destination IP addresses.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "destinationPorts": {
+ "type": "array",
+ "description": "List of destination ports.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "destinationFqdns": {
+ "type": "array",
+ "description": "List of destination FQDNs.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "sourceIpGroups": {
+ "type": "array",
+ "description": "List of source IpGroups for this rule.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "destinationIpGroups": {
+ "type": "array",
+ "description": "List of destination IpGroups for this rule.",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "description": "Properties of the network rule."
+ },
+ "AzureFirewallRCAction": {
+ "properties": {
+ "type": {
+ "description": "The type of action.",
+ "$ref": "#/definitions/AzureFirewallRCActionType"
+ }
+ },
+ "description": "Properties of the AzureFirewallRCAction."
+ },
+ "AzureFirewallRCActionType": {
+ "type": "string",
+ "description": "The action type of a rule collection.",
+ "enum": [
+ "Allow",
+ "Deny"
+ ],
+ "x-ms-enum": {
+ "name": "AzureFirewallRCActionType",
+ "modelAsString": true
+ }
+ },
+ "AzureFirewallNetworkRuleProtocol": {
+ "type": "string",
+ "description": "The protocol of a Network Rule resource.",
+ "enum": [
+ "TCP",
+ "UDP",
+ "Any",
+ "ICMP"
+ ],
+ "x-ms-enum": {
+ "name": "AzureFirewallNetworkRuleProtocol",
+ "modelAsString": true
+ }
+ },
+ "AzureFirewallApplicationRuleProtocolType": {
+ "type": "string",
+ "description": "The protocol type of a Application Rule resource.",
+ "enum": [
+ "Http",
+ "Https",
+ "Mssql"
+ ],
+ "x-ms-enum": {
+ "name": "AzureFirewallApplicationRuleProtocolType",
+ "modelAsString": true
+ }
+ },
+ "AzureFirewallSku": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of an Azure Firewall SKU.",
+ "enum": [
+ "AZFW_VNet",
+ "AZFW_Hub"
+ ],
+ "x-ms-enum": {
+ "name": "AzureFirewallSkuName",
+ "modelAsString": true
+ }
+ },
+ "tier": {
+ "type": "string",
+ "description": "Tier of an Azure Firewall.",
+ "enum": [
+ "Standard"
+ ],
+ "x-ms-enum": {
+ "name": "AzureFirewallSkuTier",
+ "modelAsString": true
+ }
+ }
+ },
+ "description": "SKU of an Azure Firewall."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/azureFirewallFqdnTag.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/azureFirewallFqdnTag.json
new file mode 100644
index 000000000000..826df81efc56
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/azureFirewallFqdnTag.json
@@ -0,0 +1,130 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags": {
+ "get": {
+ "tags": [
+ "AzureFirewallFqdnTags"
+ ],
+ "operationId": "AzureFirewallFqdnTags_ListAll",
+ "description": "Gets all the Azure Firewall FQDN Tags in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of Azure Firewall FQDN Tag resources.",
+ "schema": {
+ "$ref": "#/definitions/AzureFirewallFqdnTagListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all Azure Firewall FQDN Tags for a given subscription": {
+ "$ref": "./examples/AzureFirewallFqdnTagsListBySubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "AzureFirewallFqdnTagPropertiesFormat": {
+ "properties": {
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the Azure firewall FQDN tag resource."
+ },
+ "fqdnTagName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of this FQDN Tag."
+ }
+ },
+ "description": "Azure Firewall FQDN Tag Properties."
+ },
+ "AzureFirewallFqdnTag": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureFirewallFqdnTagPropertiesFormat",
+ "description": "Properties of the azure firewall FQDN tag."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Azure Firewall FQDN Tag Resource."
+ },
+ "AzureFirewallFqdnTagListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallFqdnTag"
+ },
+ "description": "List of Azure Firewall FQDN Tags in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListAzureFirewallFqdnTags API service call."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/bastionHost.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/bastionHost.json
new file mode 100644
index 000000000000..c41f80769e1a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/bastionHost.json
@@ -0,0 +1,409 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}": {
+ "delete": {
+ "tags": [
+ "BastionHosts"
+ ],
+ "operationId": "BastionHosts_Delete",
+ "description": "Deletes the specified Bastion Host.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "bastionHostName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Bastion Host."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Request successful. Resource with the specified name does not exist."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete Bastion Host": {
+ "$ref": "./examples/BastionHostDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "BastionHosts"
+ ],
+ "operationId": "BastionHosts_Get",
+ "description": "Gets the specified Bastion Host.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "bastionHostName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Bastion Host."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns an BastionHost resource.",
+ "schema": {
+ "$ref": "#/definitions/BastionHost"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Bastion Host": {
+ "$ref": "./examples/BastionHostGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "BastionHosts"
+ ],
+ "operationId": "BastionHosts_CreateOrUpdate",
+ "description": "Creates or updates the specified Bastion Host.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "bastionHostName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Bastion Host."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/BastionHost"
+ },
+ "description": "Parameters supplied to the create or update Bastion Host operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting Bastion Host resource.",
+ "schema": {
+ "$ref": "#/definitions/BastionHost"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting Bastion Host resource.",
+ "schema": {
+ "$ref": "#/definitions/BastionHost"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create Bastion Host": {
+ "$ref": "./examples/BastionHostPut.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts": {
+ "get": {
+ "tags": [
+ "BastionHosts"
+ ],
+ "operationId": "BastionHosts_List",
+ "description": "Lists all Bastion Hosts in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of Bastion Host resources.",
+ "schema": {
+ "$ref": "#/definitions/BastionHostListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all Bastion Hosts for a given subscription": {
+ "$ref": "./examples/BastionHostListBySubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts": {
+ "get": {
+ "tags": [
+ "BastionHosts"
+ ],
+ "operationId": "BastionHosts_ListByResourceGroup",
+ "description": "Lists all Bastion Hosts in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of BastionHost resources.",
+ "schema": {
+ "$ref": "#/definitions/BastionHostListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all Bastion Hosts for a given resource group": {
+ "$ref": "./examples/BastionHostListByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "BastionHostIPConfigurationPropertiesFormat": {
+ "properties": {
+ "subnet": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference of the subnet resource."
+ },
+ "publicIPAddress": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference of the PublicIP resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the bastion host IP configuration resource."
+ },
+ "privateIPAllocationMethod": {
+ "$ref": "./network.json#/definitions/IPAllocationMethod",
+ "description": "Private IP allocation method."
+ }
+ },
+ "required": [
+ "subnet",
+ "publicIPAddress"
+ ],
+ "description": "Properties of IP configuration of an Bastion Host."
+ },
+ "BastionHostIPConfiguration": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/BastionHostIPConfigurationPropertiesFormat",
+ "description": "Represents the ip configuration associated with the resource."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Ip configuration type."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "IP configuration of an Bastion Host."
+ },
+ "BastionHostPropertiesFormat": {
+ "properties": {
+ "ipConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BastionHostIPConfiguration"
+ },
+ "description": "IP configuration of the Bastion Host resource."
+ },
+ "dnsName": {
+ "type": "string",
+ "description": "FQDN for the endpoint on which bastion host is accessible."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the bastion host resource."
+ }
+ },
+ "description": "Properties of the Bastion Host."
+ },
+ "BastionHost": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/BastionHostPropertiesFormat",
+ "description": "Represents the bastion host resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Bastion Host resource."
+ },
+ "BastionHostListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BastionHost"
+ },
+ "description": "List of Bastion Hosts in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListBastionHosts API service call."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/checkDnsAvailability.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/checkDnsAvailability.json
new file mode 100644
index 000000000000..30dad55ccfd4
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/checkDnsAvailability.json
@@ -0,0 +1,96 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability": {
+ "get": {
+ "operationId": "CheckDnsNameAvailability",
+ "description": "Checks whether a domain name in the cloudapp.azure.com 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": true,
+ "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]$."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns whether the DNS name is available.",
+ "schema": {
+ "$ref": "#/definitions/DnsNameAvailabilityResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Check Dns Name Availability": {
+ "$ref": "./examples/CheckDnsNameAvailability.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "DnsNameAvailabilityResult": {
+ "properties": {
+ "available": {
+ "type": "boolean",
+ "description": "Domain availability (True/False)."
+ }
+ },
+ "description": "Response for the CheckDnsNameAvailability API service call."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ddosCustomPolicy.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ddosCustomPolicy.json
new file mode 100644
index 000000000000..8f18dad16f88
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ddosCustomPolicy.json
@@ -0,0 +1,364 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}": {
+ "delete": {
+ "tags": [
+ "ddosCustomPolicies"
+ ],
+ "operationId": "DdosCustomPolicies_Delete",
+ "description": "Deletes the specified DDoS custom policy.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "ddosCustomPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the DDoS custom policy."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Delete DDoS custom policy": {
+ "$ref": "./examples/DdosCustomPolicyDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "ddosCustomPolicies"
+ ],
+ "operationId": "DdosCustomPolicies_Get",
+ "description": "Gets information about the specified DDoS custom policy.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "ddosCustomPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the DDoS custom policy."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the specified DDoS custom policy resource.",
+ "schema": {
+ "$ref": "#/definitions/DdosCustomPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get DDoS custom policy": {
+ "$ref": "./examples/DdosCustomPolicyGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ddosCustomPolicies"
+ ],
+ "operationId": "DdosCustomPolicies_CreateOrUpdate",
+ "description": "Creates or updates a DDoS custom policy.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "ddosCustomPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the DDoS custom policy."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DdosCustomPolicy"
+ },
+ "description": "Parameters supplied to the create or update operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting DDoS custom policy resource.",
+ "schema": {
+ "$ref": "#/definitions/DdosCustomPolicy"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting DDoS custom policy resource.",
+ "schema": {
+ "$ref": "#/definitions/DdosCustomPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Create DDoS custom policy": {
+ "$ref": "./examples/DdosCustomPolicyCreate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "ddosCustomPolicies"
+ ],
+ "operationId": "DdosCustomPolicies_UpdateTags",
+ "description": "Update a DDoS custom policy tags.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "ddosCustomPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the DDoS custom policy."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update DDoS custom policy resource tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting DDoS custom policy resource.",
+ "schema": {
+ "$ref": "#/definitions/DdosCustomPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DDoS Custom policy Update tags": {
+ "$ref": "./examples/DdosCustomPolicyUpdateTags.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "DdosCustomPolicy": {
+ "description": "A DDoS custom policy in a resource group.",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DdosCustomPolicyPropertiesFormat",
+ "description": "Properties of the DDoS custom policy."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ]
+ },
+ "DdosCustomPolicyPropertiesFormat": {
+ "properties": {
+ "resourceGuid": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the DDoS custom policy resource."
+ },
+ "publicIPAddresses": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "The list of public IPs associated with the DDoS custom policy resource. This list is read-only."
+ },
+ "protocolCustomSettings": {
+ "readOnly": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProtocolCustomSettingsFormat"
+ },
+ "description": "The protocol-specific DDoS policy customization parameters."
+ }
+ },
+ "description": "DDoS custom policy properties."
+ },
+ "ProtocolCustomSettingsFormat": {
+ "properties": {
+ "protocol": {
+ "readOnly": false,
+ "type": "string",
+ "enum": [
+ "Tcp",
+ "Udp",
+ "Syn"
+ ],
+ "x-ms-enum": {
+ "name": "DdosCustomPolicyProtocol",
+ "modelAsString": true
+ },
+ "description": "The protocol for which the DDoS protection policy is being customized."
+ },
+ "triggerRateOverride": {
+ "readOnly": false,
+ "type": "string",
+ "description": "The customized DDoS protection trigger rate."
+ },
+ "sourceRateOverride": {
+ "readOnly": false,
+ "type": "string",
+ "description": "The customized DDoS protection source rate."
+ },
+ "triggerSensitivityOverride": {
+ "readOnly": false,
+ "type": "string",
+ "enum": [
+ "Relaxed",
+ "Low",
+ "Default",
+ "High"
+ ],
+ "x-ms-enum": {
+ "name": "DdosCustomPolicyTriggerSensitivityOverride",
+ "modelAsString": true
+ },
+ "description": "The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic."
+ }
+ },
+ "description": "DDoS custom policy properties."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ddosProtectionPlan.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ddosProtectionPlan.json
new file mode 100644
index 000000000000..5b4074ee079c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ddosProtectionPlan.json
@@ -0,0 +1,436 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}": {
+ "delete": {
+ "tags": [
+ "DdosProtectionPlans"
+ ],
+ "operationId": "DdosProtectionPlans_Delete",
+ "description": "Deletes the specified DDoS protection plan.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "ddosProtectionPlanName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the DDoS protection plan."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Delete DDoS protection plan": {
+ "$ref": "./examples/DdosProtectionPlanDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "DdosProtectionPlans"
+ ],
+ "operationId": "DdosProtectionPlans_Get",
+ "description": "Gets information about the specified DDoS protection plan.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "ddosProtectionPlanName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the DDoS protection plan."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the specified DDoS protection plan resource.",
+ "schema": {
+ "$ref": "#/definitions/DdosProtectionPlan"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get DDoS protection plan": {
+ "$ref": "./examples/DdosProtectionPlanGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "DdosProtectionPlans"
+ ],
+ "operationId": "DdosProtectionPlans_CreateOrUpdate",
+ "description": "Creates or updates a DDoS protection plan.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "ddosProtectionPlanName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the DDoS protection plan."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DdosProtectionPlan"
+ },
+ "description": "Parameters supplied to the create or update operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting DDoS protection plan resource.",
+ "schema": {
+ "$ref": "#/definitions/DdosProtectionPlan"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting DDoS protection plan resource.",
+ "schema": {
+ "$ref": "#/definitions/DdosProtectionPlan"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Create DDoS protection plan": {
+ "$ref": "./examples/DdosProtectionPlanCreate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "DdosProtectionPlans"
+ ],
+ "operationId": "DdosProtectionPlans_UpdateTags",
+ "description": "Update a DDoS protection plan tags.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "ddosProtectionPlanName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the DDoS protection plan."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to the update DDoS protection plan resource tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting DDoS protection plan resource.",
+ "schema": {
+ "$ref": "#/definitions/DdosProtectionPlan"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DDoS protection plan Update tags": {
+ "$ref": "./examples/DdosProtectionPlanUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans": {
+ "get": {
+ "tags": [
+ "DdosProtectionPlans"
+ ],
+ "operationId": "DdosProtectionPlans_List",
+ "description": "Gets all DDoS protection plans in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of DDoS protection plan resources.",
+ "schema": {
+ "$ref": "#/definitions/DdosProtectionPlanListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List all DDoS protection plans": {
+ "$ref": "./examples/DdosProtectionPlanListAll.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans": {
+ "get": {
+ "tags": [
+ "DdosProtectionPlans"
+ ],
+ "operationId": "DdosProtectionPlans_ListByResourceGroup",
+ "description": "Gets all the DDoS protection plans in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of DDoS protection plan resources.",
+ "schema": {
+ "$ref": "#/definitions/DdosProtectionPlanListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List DDoS protection plans in resource group": {
+ "$ref": "./examples/DdosProtectionPlanList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "DdosProtectionPlan": {
+ "description": "A DDoS protection plan in a resource group.",
+ "x-ms-azure-resource": true,
+ "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."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DdosProtectionPlanPropertiesFormat",
+ "description": "Properties of the DDoS protection plan."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ }
+ },
+ "DdosProtectionPlanPropertiesFormat": {
+ "properties": {
+ "resourceGuid": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the DDoS protection plan resource."
+ },
+ "virtualNetworks": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "The list of virtual networks associated with the DDoS protection plan resource. This list is read-only."
+ }
+ },
+ "description": "DDoS protection plan properties."
+ },
+ "DdosProtectionPlanListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DdosProtectionPlan"
+ },
+ "description": "A list of DDoS protection plans."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "A list of DDoS protection plans."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/endpointService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/endpointService.json
new file mode 100644
index 000000000000..b7c0177a4bc1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/endpointService.json
@@ -0,0 +1,119 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices": {
+ "get": {
+ "operationId": "AvailableEndpointServices_List",
+ "description": "List what values of endpoint services are available for use.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location to check available endpoint services."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns list of available endpoint services.",
+ "schema": {
+ "$ref": "#/definitions/EndpointServicesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "EndpointServicesList": {
+ "$ref": "./examples/EndpointServicesList.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "EndpointServicesListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EndpointServiceResult"
+ },
+ "description": "List of available endpoint services in a region."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for the ListAvailableEndpointServices API service call."
+ },
+ "EndpointServiceResult": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the endpoint service.",
+ "readOnly": true
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the endpoint service.",
+ "readOnly": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Endpoint service."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json
new file mode 100644
index 000000000000..e9835a387885
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd0dddd4"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ "Accept-Charset"
+ ]
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json
new file mode 100644
index 000000000000..8df767362c21
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd0dddd4"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ "Access-Control-Allow-Origin"
+ ]
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableServerVariablesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableServerVariablesGet.json
new file mode 100644
index 000000000000..ae18d2f2a75d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableServerVariablesGet.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd0dddd4"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ "request_query"
+ ]
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
new file mode 100644
index 000000000000..a975e17deefa
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "default",
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default",
+ "type": "Microsoft.Network/ApplicationGatewayAvailableSslOptions",
+ "properties": {
+ "predefinedPolicies": [
+ {
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S"
+ }
+ ],
+ "defaultPolicy": "AppGwSslPolicy20150501",
+ "availableCipherSuites": [
+ "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_DHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA256",
+ "TLS_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_3DES_EDE_CBC_SHA",
+ "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
+ ],
+ "availableProtocols": [
+ "TLSv1_0",
+ "TLSv1_1",
+ "TLSv1_2"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
new file mode 100644
index 000000000000..c57127338544
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
@@ -0,0 +1,101 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "AppGwSslPolicy20150501",
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501",
+ "properties": {
+ "cipherSuites": [
+ "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_DHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA256",
+ "TLS_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_3DES_EDE_CBC_SHA",
+ "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
+ ],
+ "minProtocolVersion": "TLSv1_0"
+ }
+ },
+ {
+ "name": "AppGwSslPolicy20170401",
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401",
+ "properties": {
+ "cipherSuites": [
+ "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA256",
+ "TLS_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_128_CBC_SHA"
+ ],
+ "minProtocolVersion": "TLSv1_1"
+ }
+ },
+ {
+ "name": "AppGwSslPolicy20170401S",
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S",
+ "properties": {
+ "cipherSuites": [
+ "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA256",
+ "TLS_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_128_CBC_SHA"
+ ],
+ "minProtocolVersion": "TLSv1_2"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
new file mode 100644
index 000000000000..12f7cae8dd69
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "predefinedPolicyName": "AppGwSslPolicy20150501"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "AppGwSslPolicy20150501",
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501",
+ "properties": {
+ "cipherSuites": [
+ "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_DHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA256",
+ "TLS_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_3DES_EDE_CBC_SHA",
+ "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
+ ],
+ "minProtocolVersion": "TLSv1_0"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableWafRuleSetsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableWafRuleSetsGet.json
new file mode 100644
index 000000000000..80319aa0bdbf
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayAvailableWafRuleSetsGet.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "OWASP_3.0",
+ "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets/",
+ "type": "Microsoft.Network/applicationGatewayAvailableWafRuleSets",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ruleSetType": "OWASP",
+ "ruleSetVersion": "3.0",
+ "ruleGroups": [
+ {
+ "ruleGroupName": "General",
+ "description": "",
+ "rules": [
+ {
+ "ruleId": 200004,
+ "description": "Possible Multipart Unmatched Boundary."
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayBackendHealthGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayBackendHealthGet.json
new file mode 100644
index 000000000000..06d99d87c503
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayBackendHealthGet.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "appgw",
+ "applicationGatewayName": "appgw"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "backendAddressPools": [
+ {
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool"
+ },
+ "backendHttpSettingsCollection": [
+ {
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings"
+ },
+ "servers": [
+ {
+ "address": "10.220.1.8",
+ "health": "Up"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFPool"
+ },
+ "backendHttpSettingsCollection": [
+ {
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings"
+ },
+ "servers": [
+ {
+ "address": "10.220.1.4",
+ "health": "Up"
+ },
+ {
+ "address": "10.220.1.5",
+ "health": "Up"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayBackendHealthTest.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayBackendHealthTest.json
new file mode 100644
index 000000000000..7e397bfb169b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayBackendHealthTest.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationGatewayName": "appgw",
+ "probeRequest": {
+ "protocol": "Http",
+ "pickHostNameFromBackendHttpSettings": true,
+ "path": "/",
+ "timeout": 30,
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool"
+ },
+ "backendHealthHttpSettings": {
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings"
+ },
+ "servers": [
+ {
+ "address": "10.220.1.4",
+ "health": "Up"
+ },
+ {
+ "address": "10.220.1.5",
+ "health": "Up"
+ }
+ ]
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayCreate.json
new file mode 100644
index 000000000000..5db73aa1bb74
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayCreate.json
@@ -0,0 +1,734 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationGatewayName": "appgw",
+ "parameters": {
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {}
+ }
+ },
+ "location": "eastus",
+ "properties": {
+ "sku": {
+ "name": "Standard_v2",
+ "tier": "Standard_v2",
+ "capacity": 3
+ },
+ "gatewayIPConfigurations": [
+ {
+ "name": "appgwipc",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet"
+ }
+ }
+ }
+ ],
+ "sslCertificates": [
+ {
+ "name": "sslcert",
+ "properties": {
+ "data": "****",
+ "password": "****"
+ }
+ },
+ {
+ "name": "sslcert2",
+ "properties": {
+ "keyVaultSecretId": "https://kv/secret"
+ }
+ }
+ ],
+ "trustedRootCertificates": [
+ {
+ "name": "rootcert",
+ "properties": {
+ "data": "****"
+ }
+ },
+ {
+ "name": "rootcert1",
+ "properties": {
+ "keyVaultSecretId": "https://kv/secret"
+ }
+ }
+ ],
+ "frontendIPConfigurations": [
+ {
+ "name": "appgwfip",
+ "properties": {
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip"
+ }
+ }
+ }
+ ],
+ "frontendPorts": [
+ {
+ "name": "appgwfp",
+ "properties": {
+ "port": 443
+ }
+ },
+ {
+ "name": "appgwfp80",
+ "properties": {
+ "port": 80
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "appgwpool",
+ "properties": {
+ "backendAddresses": [
+ {
+ "ipAddress": "10.0.1.1"
+ },
+ {
+ "ipAddress": "10.0.1.2"
+ }
+ ]
+ }
+ }
+ ],
+ "backendHttpSettingsCollection": [
+ {
+ "name": "appgwbhs",
+ "properties": {
+ "port": 80,
+ "protocol": "Http",
+ "cookieBasedAffinity": "Disabled",
+ "requestTimeout": 30
+ }
+ }
+ ],
+ "httpListeners": [
+ {
+ "name": "appgwhl",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp"
+ },
+ "protocol": "Https",
+ "sslCertificate": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert"
+ },
+ "requireServerNameIndication": false
+ }
+ },
+ {
+ "name": "appgwhttplistener",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80"
+ },
+ "protocol": "Http"
+ }
+ }
+ ],
+ "urlPathMaps": [
+ {
+ "name": "pathMap1",
+ "properties": {
+ "defaultBackendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "defaultBackendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "defaultRewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ },
+ "pathRules": [
+ {
+ "name": "apiPaths",
+ "properties": {
+ "paths": [
+ "/api",
+ "/v1/api"
+ ],
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "requestRoutingRules": [
+ {
+ "name": "appgwrule",
+ "properties": {
+ "ruleType": "Basic",
+ "priority": 10,
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl"
+ },
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ },
+ {
+ "name": "appgwPathBasedRule",
+ "properties": {
+ "ruleType": "PathBasedRouting",
+ "priority": 20,
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener"
+ },
+ "urlPathMap": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1"
+ }
+ }
+ }
+ ],
+ "rewriteRuleSets": [
+ {
+ "name": "rewriteRuleSet1",
+ "properties": {
+ "rewriteRules": [
+ {
+ "name": "Set X-Forwarded-For",
+ "ruleSequence": 102,
+ "conditions": [
+ {
+ "variable": "http_req_Authorization",
+ "pattern": "^Bearer",
+ "ignoreCase": true,
+ "negate": false
+ }
+ ],
+ "actionSet": {
+ "requestHeaderConfigurations": [
+ {
+ "headerName": "X-Forwarded-For",
+ "headerValue": "{var_add_x_forwarded_for_proxy}"
+ }
+ ],
+ "responseHeaderConfigurations": [
+ {
+ "headerName": "Strict-Transport-Security",
+ "headerValue": "max-age=31536000"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "appgw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw",
+ "type": "Microsoft.Network/applicationGateways",
+ "location": "southcentralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "Standard_Medium",
+ "tier": "Standard",
+ "capacity": 3
+ },
+ "operationalState": "Running",
+ "gatewayIPConfigurations": [
+ {
+ "name": "appgwipc",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet"
+ }
+ }
+ }
+ ],
+ "sslCertificates": [
+ {
+ "name": "sslcert",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicCertData": "*****"
+ }
+ }
+ ],
+ "authenticationCertificates": [],
+ "frontendIPConfigurations": [
+ {
+ "name": "appgwfip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip"
+ }
+ }
+ }
+ ],
+ "frontendPorts": [
+ {
+ "name": "appgwfp",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 443
+ }
+ },
+ {
+ "name": "appgwfp80",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 80
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "appgwpool",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "backendAddresses": []
+ }
+ }
+ ],
+ "backendHttpSettingsCollection": [
+ {
+ "name": "appgwbhs",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 80,
+ "protocol": "Http",
+ "cookieBasedAffinity": "Disabled",
+ "requestTimeout": 30
+ }
+ }
+ ],
+ "httpListeners": [
+ {
+ "name": "appgwhl",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp"
+ },
+ "protocol": "Https",
+ "sslCertificate": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert"
+ },
+ "requireServerNameIndication": false
+ }
+ },
+ {
+ "name": "appgwhttplistener",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80"
+ },
+ "protocol": "Http"
+ }
+ }
+ ],
+ "urlPathMaps": [
+ {
+ "name": "pathMap1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "defaultBackendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "defaultBackendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "defaultRewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ },
+ "pathRules": [
+ {
+ "name": "apiPaths",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "paths": [
+ "/api",
+ "/v1/api"
+ ],
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "requestRoutingRules": [
+ {
+ "name": "appgwrule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ruleType": "Basic",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl"
+ },
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ },
+ {
+ "name": "appgwPathBasedRule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ruleType": "PathBasedRouting",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener"
+ },
+ "urlPathMap": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1"
+ }
+ }
+ }
+ ],
+ "rewriteRuleSets": [
+ {
+ "name": "rewriteRuleSet1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "rewriteRules": [
+ {
+ "name": "Set X-Forwarded-For",
+ "ruleSequence": 102,
+ "conditions": [
+ {
+ "variable": "http_req_Authorization",
+ "pattern": "^Bearer",
+ "ignoreCase": true,
+ "negate": false
+ }
+ ],
+ "actionSet": {
+ "requestHeaderConfigurations": [
+ {
+ "headerName": "X-Forwarded-For",
+ "headerValue": "{var_remote-addr}"
+ }
+ ],
+ "responseHeaderConfigurations": [
+ {
+ "headerName": "Strict-Transport-Security",
+ "headerValue": "max-age=31536000"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "probes": []
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "appgw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw",
+ "type": "Microsoft.Network/applicationGateways",
+ "location": "southcentralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "Standard_Medium",
+ "tier": "Standard",
+ "capacity": 3
+ },
+ "operationalState": "Running",
+ "gatewayIPConfigurations": [
+ {
+ "name": "appgwipc",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet"
+ }
+ }
+ }
+ ],
+ "sslCertificates": [
+ {
+ "name": "sslcert",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicCertData": "*****"
+ }
+ }
+ ],
+ "authenticationCertificates": [],
+ "frontendIPConfigurations": [
+ {
+ "name": "appgwfip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip"
+ }
+ }
+ }
+ ],
+ "frontendPorts": [
+ {
+ "name": "appgwfp",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 443
+ }
+ },
+ {
+ "name": "appgwfp80",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 80
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "appgwpool",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "backendAddresses": []
+ }
+ }
+ ],
+ "backendHttpSettingsCollection": [
+ {
+ "name": "appgwbhs",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 80,
+ "protocol": "Http",
+ "cookieBasedAffinity": "Disabled",
+ "requestTimeout": 30
+ }
+ }
+ ],
+ "httpListeners": [
+ {
+ "name": "appgwhl",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp"
+ },
+ "protocol": "Https",
+ "sslCertificate": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert"
+ },
+ "requireServerNameIndication": false
+ }
+ },
+ {
+ "name": "appgwhttplistener",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80"
+ },
+ "protocol": "Http"
+ }
+ }
+ ],
+ "urlPathMaps": [
+ {
+ "name": "pathMap1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "defaultBackendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "defaultBackendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "defaultRewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ },
+ "pathRules": [
+ {
+ "name": "apiPaths",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "paths": [
+ "/api",
+ "/v1/api"
+ ],
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "requestRoutingRules": [
+ {
+ "name": "appgwrule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ruleType": "Basic",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl"
+ },
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ },
+ {
+ "name": "appgwPathBasedRule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ruleType": "PathBasedRouting",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener"
+ },
+ "urlPathMap": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1"
+ }
+ }
+ }
+ ],
+ "rewriteRuleSets": [
+ {
+ "name": "rewriteRuleSet1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "rewriteRules": [
+ {
+ "name": "Set X-Forwarded-For",
+ "ruleSequence": 102,
+ "conditions": [
+ {
+ "variable": "http_req_Authorization",
+ "pattern": "^Bearer",
+ "ignoreCase": true,
+ "negate": false
+ }
+ ],
+ "actionSet": {
+ "requestHeaderConfigurations": [
+ {
+ "headerName": "X-Forwarded-For",
+ "headerValue": "{var_remote-addr}"
+ }
+ ],
+ "responseHeaderConfigurations": [
+ {
+ "headerName": "Strict-Transport-Security",
+ "headerValue": "max-age=31536000"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "probes": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayDelete.json
new file mode 100644
index 000000000000..c37f0cd27c29
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationGatewayName": "appgw"
+ },
+ "responses": {
+ "202": {},
+ "204": {},
+ "200": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayGet.json
new file mode 100644
index 000000000000..f1ad00cb8426
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayGet.json
@@ -0,0 +1,254 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationGatewayName": "appgw"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "appgw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw",
+ "type": "Microsoft.Network/applicationGateways",
+ "location": "southcentralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "Standard_Medium",
+ "tier": "Standard",
+ "capacity": 3
+ },
+ "operationalState": "Running",
+ "gatewayIPConfigurations": [
+ {
+ "name": "appgwipc",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet"
+ }
+ }
+ }
+ ],
+ "sslCertificates": [
+ {
+ "name": "sslcert",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicCertData": "*****"
+ }
+ }
+ ],
+ "authenticationCertificates": [],
+ "frontendIPConfigurations": [
+ {
+ "name": "appgwfip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip"
+ }
+ }
+ }
+ ],
+ "frontendPorts": [
+ {
+ "name": "appgwfp",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 443
+ }
+ },
+ {
+ "name": "appgwfp80",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 80
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "appgwpool",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "backendAddresses": []
+ }
+ }
+ ],
+ "backendHttpSettingsCollection": [
+ {
+ "name": "appgwbhs",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 80,
+ "protocol": "Http",
+ "cookieBasedAffinity": "Disabled",
+ "requestTimeout": 30
+ }
+ }
+ ],
+ "httpListeners": [
+ {
+ "name": "appgwhl",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp"
+ },
+ "protocol": "Https",
+ "sslCertificate": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert"
+ },
+ "requireServerNameIndication": false
+ }
+ },
+ {
+ "name": "appgwhttplistener",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80"
+ },
+ "protocol": "Http"
+ }
+ }
+ ],
+ "urlPathMaps": [
+ {
+ "name": "pathMap1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "defaultBackendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "defaultBackendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "defaultRewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ },
+ "pathRules": [
+ {
+ "name": "apiPaths",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "paths": [
+ "/api",
+ "/v1/api"
+ ],
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "requestRoutingRules": [
+ {
+ "name": "appgwrule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ruleType": "Basic",
+ "priority": 10,
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl"
+ },
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ },
+ {
+ "name": "appgwPathBasedRule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ruleType": "PathBasedRouting",
+ "priority": 20,
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener"
+ },
+ "urlPathMap": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1"
+ }
+ }
+ }
+ ],
+ "rewriteRuleSets": [
+ {
+ "name": "rewriteRuleSet1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "rewriteRules": [
+ {
+ "name": "Set X-Forwarded-For",
+ "ruleSequence": 102,
+ "conditions": [
+ {
+ "variable": "http_req_Authorization",
+ "pattern": "^Bearer",
+ "ignoreCase": true,
+ "negate": false
+ }
+ ],
+ "actionSet": {
+ "requestHeaderConfigurations": [
+ {
+ "headerName": "X-Forwarded-For",
+ "headerValue": "{var_remote-addr}"
+ }
+ ],
+ "responseHeaderConfigurations": [
+ {
+ "headerName": "Strict-Transport-Security",
+ "headerValue": "max-age=31536000"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "probes": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayList.json
new file mode 100644
index 000000000000..50b9b5e641b1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayList.json
@@ -0,0 +1,125 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "appgw",
+ "type": "Microsoft.Network/applicationGateways",
+ "location": "southcentralus",
+ "properties": {
+ "sku": {
+ "name": "Standard_Medium",
+ "tier": "Standard",
+ "capacity": 3
+ },
+ "gatewayIPConfigurations": [
+ {
+ "name": "appgwipc",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet"
+ }
+ }
+ }
+ ],
+ "sslCertificates": [
+ {
+ "name": "sslcert",
+ "properties": {
+ "data": "base64-pfxData",
+ "password": "pass1"
+ }
+ }
+ ],
+ "frontendIPConfigurations": [
+ {
+ "name": "appgwfip",
+ "properties": {
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip"
+ }
+ }
+ }
+ ],
+ "frontendPorts": [
+ {
+ "name": "appgwfp",
+ "properties": {
+ "port": 443
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "appgwpool",
+ "properties": {
+ "backendAddresses": [
+ {
+ "ipAddress": "10.0.1.1"
+ },
+ {
+ "ipAddress": "10.0.1.2"
+ }
+ ]
+ }
+ }
+ ],
+ "backendHttpSettingsCollection": [
+ {
+ "name": "appgwbhs",
+ "properties": {
+ "port": 80,
+ "protocol": "Http",
+ "cookieBasedAffinity": "Disabled",
+ "requestTimeout": 30
+ }
+ }
+ ],
+ "httpListeners": [
+ {
+ "name": "appgwhl",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp"
+ },
+ "protocol": "Https",
+ "sslCertificate": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert"
+ },
+ "requireServerNameIndication": false
+ }
+ }
+ ],
+ "requestRoutingRules": [
+ {
+ "name": "appgwrule",
+ "properties": {
+ "ruleType": "Basic",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl"
+ },
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayListAll.json
new file mode 100644
index 000000000000..14cd67fc06ed
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayListAll.json
@@ -0,0 +1,124 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "appgw",
+ "type": "Microsoft.Network/applicationGateways",
+ "location": "southcentralus",
+ "properties": {
+ "sku": {
+ "name": "Standard_Medium",
+ "tier": "Standard",
+ "capacity": 3
+ },
+ "gatewayIPConfigurations": [
+ {
+ "name": "appgwipc",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet"
+ }
+ }
+ }
+ ],
+ "sslCertificates": [
+ {
+ "name": "sslcert",
+ "properties": {
+ "data": "base64-pfxData",
+ "password": "pass1"
+ }
+ }
+ ],
+ "frontendIPConfigurations": [
+ {
+ "name": "appgwfip",
+ "properties": {
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip"
+ }
+ }
+ }
+ ],
+ "frontendPorts": [
+ {
+ "name": "appgwfp",
+ "properties": {
+ "port": 443
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "appgwpool",
+ "properties": {
+ "backendAddresses": [
+ {
+ "ipAddress": "10.0.1.1"
+ },
+ {
+ "ipAddress": "10.0.1.2"
+ }
+ ]
+ }
+ }
+ ],
+ "backendHttpSettingsCollection": [
+ {
+ "name": "appgwbhs",
+ "properties": {
+ "port": 80,
+ "protocol": "Http",
+ "cookieBasedAffinity": "Disabled",
+ "requestTimeout": 30
+ }
+ }
+ ],
+ "httpListeners": [
+ {
+ "name": "appgwhl",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp"
+ },
+ "protocol": "Https",
+ "sslCertificate": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert"
+ },
+ "requireServerNameIndication": false
+ }
+ }
+ ],
+ "requestRoutingRules": [
+ {
+ "name": "appgwrule",
+ "properties": {
+ "ruleType": "Basic",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl"
+ },
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayStart.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayStart.json
new file mode 100644
index 000000000000..f8cb711cfe04
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayStart.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationGatewayName": "appgw"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayStop.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayStop.json
new file mode 100644
index 000000000000..f8cb711cfe04
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayStop.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationGatewayName": "appgw"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayUpdateTags.json
new file mode 100644
index 000000000000..5dd4209d9c35
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationGatewayUpdateTags.json
@@ -0,0 +1,148 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationGatewayName": "AppGw",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "AppGw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw",
+ "type": "Microsoft.Network/applicationGateways",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "sku": {
+ "name": "Standard_Small",
+ "tier": "Standard",
+ "capacity": 2
+ },
+ "operationalState": "Running",
+ "gatewayIPConfigurations": [
+ {
+ "name": "GatewayIp01",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1"
+ }
+ }
+ }
+ ],
+ "sslCertificates": [],
+ "authenticationCertificates": [],
+ "frontendIPConfigurations": [
+ {
+ "name": "FrontEndConfig01",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1"
+ }
+ }
+ }
+ ],
+ "frontendPorts": [
+ {
+ "name": "FrontEndPort01",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 80
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "Pool01",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "backendAddresses": [
+ {
+ "ipAddress": "10.10.10.1"
+ },
+ {
+ "ipAddress": "10.10.10.2"
+ },
+ {
+ "ipAddress": "10.10.10.3"
+ }
+ ]
+ }
+ }
+ ],
+ "backendHttpSettingsCollection": [
+ {
+ "name": "PoolSetting01",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 80,
+ "protocol": "Http",
+ "cookieBasedAffinity": "Disabled",
+ "pickHostNameFromBackendAddress": false,
+ "requestTimeout": 30
+ }
+ }
+ ],
+ "httpListeners": [
+ {
+ "name": "listener1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01"
+ },
+ "protocol": "Http",
+ "requireServerNameIndication": false
+ }
+ }
+ ],
+ "urlPathMaps": [],
+ "requestRoutingRules": [
+ {
+ "name": "Rule01",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ruleType": "Basic",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1"
+ },
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01"
+ }
+ }
+ }
+ ],
+ "probes": [],
+ "redirectConfigurations": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupCreate.json
new file mode 100644
index 000000000000..06e7b3062c25
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupCreate.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationSecurityGroupName": "test-asg",
+ "parameters": {
+ "location": "westus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-asg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg",
+ "type": "Microsoft.Network/applicationSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-asg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg",
+ "type": "Microsoft.Network/applicationSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupDelete.json
new file mode 100644
index 000000000000..11cf7001de10
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationSecurityGroupName": "test-asg"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupGet.json
new file mode 100644
index 000000000000..47360cf14dd7
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupGet.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationSecurityGroupName": "test-asg"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-asg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg",
+ "type": "Microsoft.Network/applicationSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupList.json
new file mode 100644
index 000000000000..4d9033da3f97
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupList.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1",
+ "name": "asg1",
+ "type": "Microsoft.Network/applicationSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2",
+ "name": "asg2",
+ "type": "Microsoft.Network/applicationSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupListAll.json
new file mode 100644
index 000000000000..482765498a29
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupListAll.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1",
+ "name": "asg1",
+ "type": "Microsoft.Network/applicationSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2",
+ "name": "asg2",
+ "type": "Microsoft.Network/applicationSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupUpdateTags.json
new file mode 100644
index 000000000000..cd5099aa9ae0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ApplicationSecurityGroupUpdateTags.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationSecurityGroupName": "test-asg",
+ "location": "westus",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-asg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg",
+ "type": "Microsoft.Network/applicationSecurityGroups",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AutoApprovedPrivateLinkServicesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AutoApprovedPrivateLinkServicesGet.json
new file mode 100644
index 000000000000..1c2307a89538
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AutoApprovedPrivateLinkServicesGet.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "location": "regionName",
+ "subscriptionId": "subId"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1"
+ },
+ {
+ "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2"
+ },
+ {
+ "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json
new file mode 100644
index 000000000000..c88e9083c81a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "location": "regionName",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1"
+ },
+ {
+ "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2"
+ },
+ {
+ "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailableDelegationsResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailableDelegationsResourceGroupGet.json
new file mode 100644
index 000000000000..7b0a8665c600
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailableDelegationsResourceGroupGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "location": "westcentralus",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Provider.resourceType",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType",
+ "type": "Microsoft.Network/availableDelegations",
+ "serviceName": "Microsoft.Provider/resourceType",
+ "actions": [
+ "Microsoft.Network/resource/action"
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailableDelegationsSubscriptionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailableDelegationsSubscriptionGet.json
new file mode 100644
index 000000000000..28cca3904152
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailableDelegationsSubscriptionGet.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "location": "westcentralus",
+ "subscriptionId": "subId"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Provider.resourceType",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType",
+ "type": "Microsoft.Network/availableDelegations",
+ "serviceName": "Microsoft.Provider/resourceType",
+ "actions": [
+ "Microsoft.Network/resource/action"
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailablePrivateEndpointTypesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailablePrivateEndpointTypesGet.json
new file mode 100644
index 000000000000..6c7113a3ad0e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailablePrivateEndpointTypesGet.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "location": "regionName",
+ "subscriptionId": "subId"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subId/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType",
+ "type": "Microsoft.Network/availablePrivateEndpointTypes",
+ "resourceName": "Microsoft.Provider/resourceType"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json
new file mode 100644
index 000000000000..5fc2c19326c4
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "location": "regionName",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType",
+ "type": "Microsoft.Network/availablePrivateEndpointTypes",
+ "resourceName": "Microsoft.Provider/resourceType"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailableServiceAliasesList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailableServiceAliasesList.json
new file mode 100644
index 000000000000..4f4a916815cc
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailableServiceAliasesList.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "location": "westcentralus",
+ "subscriptionId": "subId"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "servicesAzure",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/AvailableServiceAliases/servicesAzure",
+ "type": "Microsoft.Network/AvailableServiceAliases",
+ "resourceName": "/services/Azure"
+ },
+ {
+ "name": "servicesAzureManagedInstance",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/AvailableServiceAliases/servicesAzureManagedInstance",
+ "type": "Microsoft.Network/AvailableServiceAliases",
+ "resourceName": "/services/Azure/ManagedInstance"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailableServiceAliasesListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailableServiceAliasesListByResourceGroup.json
new file mode 100644
index 000000000000..4f9f24e4d944
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AvailableServiceAliasesListByResourceGroup.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "location": "westcentralus",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "servicesAzure",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/AvailableServiceAliases/servicesAzure",
+ "type": "Microsoft.Network/AvailableServiceAliases",
+ "resourceName": "/services/Azure"
+ },
+ {
+ "name": "servicesAzureManagedInstance",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/AvailableServiceAliases/servicesAzureManagedInstance",
+ "type": "Microsoft.Network/AvailableServiceAliases",
+ "resourceName": "/services/Azure/ManagedInstance"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallDelete.json
new file mode 100644
index 000000000000..07361cddd255
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "azureFirewallName": "azurefirewall"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallFqdnTagsListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallFqdnTagsListBySubscription.json
new file mode 100644
index 000000000000..1a970261a960
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallFqdnTagsListBySubscription.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "azfwfqdntag",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewallFqdnTags/azfwfqdntag",
+ "type": "Microsoft.Network/azureFirewallFqdnTags",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "fqdnTagName": "azfwfqdntag"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallGet.json
new file mode 100644
index 000000000000..62df8a96d76f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallGet.json
@@ -0,0 +1,176 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "azureFirewallName": "azurefirewall"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "azurefirewall",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall",
+ "type": "Microsoft.Network/azureFirewalls",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "zones": [],
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "AZFW_VNet",
+ "tier": "Standard"
+ },
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.0",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ },
+ {
+ "name": "DNAT-HTTP-traffic-With-FQDN",
+ "description": "D-NAT all inbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "80"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedFqdn": "internalhttpserver",
+ "translatedPort": "880"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ },
+ {
+ "name": "L4-traffic-with-FQDN",
+ "description": "Block traffic based on source IPs and ports to amazon",
+ "sourceAddresses": [
+ "10.2.4.12-10.2.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationFqdns": [
+ "www.amazon.com"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "additionalProperties": {}
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallGetWithAdditionalProperties.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallGetWithAdditionalProperties.json
new file mode 100644
index 000000000000..ce99ff9b08f9
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallGetWithAdditionalProperties.json
@@ -0,0 +1,179 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "azureFirewallName": "azurefirewall"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "azurefirewall",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall",
+ "type": "Microsoft.Network/azureFirewalls",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "zones": [],
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "AZFW_VNet",
+ "tier": "Standard"
+ },
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.0",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ },
+ {
+ "name": "DNAT-HTTP-traffic-With-FQDN",
+ "description": "D-NAT all inbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "80"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedFqdn": "internalhttpserver",
+ "translatedPort": "880"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ },
+ {
+ "name": "L4-traffic-with-FQDN",
+ "description": "Block traffic based on source IPs and ports to amazon",
+ "sourceAddresses": [
+ "10.2.4.12-10.2.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationFqdns": [
+ "www.amazon.com"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "additionalProperties": {
+ "key1": "value1",
+ "key2": "value2"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallGetWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallGetWithZones.json
new file mode 100644
index 000000000000..27a47d7d27fa
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallGetWithZones.json
@@ -0,0 +1,180 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "azureFirewallName": "azurefirewall"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "azurefirewall",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall",
+ "type": "Microsoft.Network/azureFirewalls",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US 2",
+ "zones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "AZFW_VNet",
+ "tier": "Standard"
+ },
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.0",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ },
+ {
+ "name": "DNAT-HTTP-traffic-With-FQDN",
+ "description": "D-NAT all inbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "80"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedFqdn": "internalhttpserver",
+ "translatedPort": "880"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ },
+ {
+ "name": "L4-traffic-with-FQDN",
+ "description": "Block traffic based on source IPs and ports to amazon",
+ "sourceAddresses": [
+ "10.2.4.12-10.2.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationFqdns": [
+ "www.amazon.com"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "additionalProperties": {}
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallListByResourceGroup.json
new file mode 100644
index 000000000000..db50d51f4c18
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallListByResourceGroup.json
@@ -0,0 +1,178 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "azurefirewall",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall",
+ "type": "Microsoft.Network/azureFirewalls",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "zones": [],
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.0",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ },
+ {
+ "name": "DNAT-HTTP-traffic-With-FQDN",
+ "description": "D-NAT all inbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "80"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedFqdn": "internalhttpserver",
+ "translatedPort": "880"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ },
+ {
+ "name": "L4-traffic-with-FQDN",
+ "description": "Block traffic based on source IPs and ports to amazon",
+ "sourceAddresses": [
+ "10.2.4.12-10.2.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationFqdns": [
+ "www.amazon.com"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "additionalProperties": {
+ "key1": "value1",
+ "key2": "value2"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallListBySubscription.json
new file mode 100644
index 000000000000..d97ba6774d0a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallListBySubscription.json
@@ -0,0 +1,177 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "azurefirewall",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall",
+ "type": "Microsoft.Network/azureFirewalls",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "zones": [],
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.0",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ },
+ {
+ "name": "DNAT-HTTP-traffic-With-FQDN",
+ "description": "D-NAT all inbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "80"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedFqdn": "internalhttpserver",
+ "translatedPort": "880"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ },
+ {
+ "name": "L4-traffic-with-FQDN",
+ "description": "Block traffic based on source IPs and ports to amazon",
+ "sourceAddresses": [
+ "10.2.4.12-10.2.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationFqdns": [
+ "www.amazon.com"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "additionalProperties": {
+ "key1": "value1",
+ "key2": "value2"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallPut.json
new file mode 100644
index 000000000000..df53e54cfdbb
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallPut.json
@@ -0,0 +1,496 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "azureFirewallName": "azurefirewall",
+ "parameters": {
+ "tags": {
+ "key1": "value1"
+ },
+ "location": "West US",
+ "zones": [],
+ "properties": {
+ "sku": {
+ "name": "AZFW_VNet",
+ "tier": "Standard"
+ },
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ },
+ {
+ "name": "DNAT-HTTP-traffic-With-FQDN",
+ "description": "D-NAT all inbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "80"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedFqdn": "internalhttpserver",
+ "translatedPort": "880"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ },
+ {
+ "name": "L4-traffic-with-FQDN",
+ "description": "Block traffic based on source IPs and ports to amazon",
+ "sourceAddresses": [
+ "10.2.4.12-10.2.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationFqdns": [
+ "www.amazon.com"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "azurefirewall",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall",
+ "type": "Microsoft.Network/azureFirewalls",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "zones": [],
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "AZFW_VNet",
+ "tier": "Standard"
+ },
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.0",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ },
+ {
+ "name": "DNAT-HTTP-traffic-With-FQDN",
+ "description": "D-NAT all inbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "80"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedPort": "880",
+ "translatedFqdn": "internalhttpserver"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ },
+ {
+ "name": "L4-traffic-with-FQDN",
+ "description": "Block traffic based on source IPs and ports to amazon",
+ "sourceAddresses": [
+ "10.2.4.12-10.2.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "destinationFqdns": [
+ "www.amazon.com"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "additionalProperties": {}
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "azurefirewall",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall",
+ "type": "Microsoft.Network/azureFirewalls",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "zones": [],
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "AZFW_VNet",
+ "tier": "Standard"
+ },
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.0",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ },
+ {
+ "name": "DNAT-HTTP-traffic-With-FQDN",
+ "description": "D-NAT all inbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "80"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedFqdn": "internalhttpserver",
+ "translatedPort": "880"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ },
+ {
+ "name": "L4-traffic-with-FQDN",
+ "description": "Block traffic based on source IPs and ports to amazon",
+ "sourceAddresses": [
+ "10.2.4.12-10.2.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationFqdns": [
+ "www.amazon.com"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "additionalProperties": {}
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallPutInHub.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallPutInHub.json
new file mode 100644
index 000000000000..1ce7938e2cf9
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallPutInHub.json
@@ -0,0 +1,102 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "azureFirewallName": "azurefirewall",
+ "parameters": {
+ "tags": {
+ "key1": "value1"
+ },
+ "location": "West US",
+ "zones": [],
+ "properties": {
+ "sku": {
+ "name": "AZFW_Hub",
+ "tier": "Standard"
+ },
+ "threatIntelMode": "Alert",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1"
+ },
+ "firewallPolicy": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "azurefirewall",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall",
+ "type": "Microsoft.Network/azureFirewalls",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "zones": [],
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "AZFW_Hub",
+ "tier": "Standard"
+ },
+ "threatIntelMode": "Alert",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1"
+ },
+ "firewallPolicy": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1"
+ },
+ "hubIpAddresses": {
+ "publicIPAddresses": [
+ {
+ "address": "13.73.240.12"
+ }
+ ],
+ "privateIPAddress": "10.0.0.0"
+ },
+ "additionalProperties": {}
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "azurefirewall",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall",
+ "type": "Microsoft.Network/azureFirewalls",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "zones": [],
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "AZFW_Hub",
+ "tier": "Standard"
+ },
+ "threatIntelMode": "Alert",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1"
+ },
+ "firewallPolicy": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1"
+ },
+ "hubIpAddresses": {
+ "publicIPAddresses": [
+ {
+ "address": "13.73.240.12"
+ }
+ ],
+ "privateIPAddress": "10.0.0.0"
+ },
+ "additionalProperties": {}
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallPutWithAdditionalProperties.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallPutWithAdditionalProperties.json
new file mode 100644
index 000000000000..77dd548bbe9e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallPutWithAdditionalProperties.json
@@ -0,0 +1,506 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "azureFirewallName": "azurefirewall",
+ "parameters": {
+ "tags": {
+ "key1": "value1"
+ },
+ "location": "West US",
+ "zones": [],
+ "properties": {
+ "sku": {
+ "name": "AZFW_VNet",
+ "tier": "Standard"
+ },
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ },
+ {
+ "name": "DNAT-HTTP-traffic-With-FQDN",
+ "description": "D-NAT all inbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "80"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedFqdn": "internalhttpserver",
+ "translatedPort": "880"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ },
+ {
+ "name": "L4-traffic-with-FQDN",
+ "description": "Block traffic based on source IPs and ports to amazon",
+ "sourceAddresses": [
+ "10.2.4.12-10.2.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationFqdns": [
+ "www.amazon.com"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "additionalProperties": {
+ "key1": "value1",
+ "key2": "value2"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "azurefirewall",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall",
+ "type": "Microsoft.Network/azureFirewalls",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "zones": [],
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "AZFW_VNet",
+ "tier": "Standard"
+ },
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.0",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ },
+ {
+ "name": "DNAT-HTTP-traffic-With-FQDN",
+ "description": "D-NAT all inbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "80"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedPort": "880",
+ "translatedFqdn": "internalhttpserver"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ },
+ {
+ "name": "L4-traffic-with-FQDN",
+ "description": "Block traffic based on source IPs and ports to amazon",
+ "sourceAddresses": [
+ "10.2.4.12-10.2.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "destinationFqdns": [
+ "www.amazon.com"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "additionalProperties": {
+ "key1": "value1",
+ "key2": "value2"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "azurefirewall",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall",
+ "type": "Microsoft.Network/azureFirewalls",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "zones": [],
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "AZFW_VNet",
+ "tier": "Standard"
+ },
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.0",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ },
+ {
+ "name": "DNAT-HTTP-traffic-With-FQDN",
+ "description": "D-NAT all inbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "80"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedFqdn": "internalhttpserver",
+ "translatedPort": "880"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ },
+ {
+ "name": "L4-traffic-with-FQDN",
+ "description": "Block traffic based on source IPs and ports to amazon",
+ "sourceAddresses": [
+ "10.2.4.12-10.2.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationFqdns": [
+ "www.amazon.com"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "additionalProperties": {
+ "key1": "value1",
+ "key2": "value2"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallPutWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallPutWithZones.json
new file mode 100644
index 000000000000..661caaaf2b82
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallPutWithZones.json
@@ -0,0 +1,508 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "azureFirewallName": "azurefirewall",
+ "parameters": {
+ "location": "West US 2",
+ "tags": {
+ "key1": "value1"
+ },
+ "zones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "properties": {
+ "threatIntelMode": "Alert",
+ "sku": {
+ "name": "AZFW_VNet",
+ "tier": "Standard"
+ },
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ },
+ {
+ "name": "DNAT-HTTP-traffic-With-FQDN",
+ "description": "D-NAT all inbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "80"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedFqdn": "internalhttpserver",
+ "translatedPort": "880"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ },
+ {
+ "name": "L4-traffic-with-FQDN",
+ "description": "Block traffic based on source IPs and ports to amazon",
+ "sourceAddresses": [
+ "10.2.4.12-10.2.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationFqdns": [
+ "www.amazon.com"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "azurefirewall",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall",
+ "type": "Microsoft.Network/azureFirewalls",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US 2",
+ "zones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "AZFW_VNet",
+ "tier": "Standard"
+ },
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.0",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ },
+ {
+ "name": "DNAT-HTTP-traffic-With-FQDN",
+ "description": "D-NAT all inbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "80"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedFqdn": "internalhttpserver",
+ "translatedPort": "880"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ },
+ {
+ "name": "L4-traffic-with-FQDN",
+ "description": "Block traffic based on source IPs and ports to amazon",
+ "sourceAddresses": [
+ "10.2.4.12-10.2.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationFqdns": [
+ "www.amazon.com"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "additionalProperties": {}
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "azurefirewall",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall",
+ "type": "Microsoft.Network/azureFirewalls",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US 2",
+ "zones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "AZFW_VNet",
+ "tier": "Standard"
+ },
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.0",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ },
+ {
+ "name": "DNAT-HTTP-traffic-With-FQDN",
+ "description": "D-NAT all inbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "80"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedFqdn": "internalhttpserver",
+ "translatedPort": "880"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ },
+ {
+ "name": "L4-traffic-with-FQDN",
+ "description": "Block traffic based on source IPs and ports to amazon",
+ "sourceAddresses": [
+ "10.2.4.12-10.2.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationFqdns": [
+ "www.amazon.com"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "additionalProperties": {}
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallUpdateTags.json
new file mode 100644
index 000000000000..8d109e80ece8
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/AzureFirewallUpdateTags.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "azfwtest",
+ "azureFirewallName": "fw1",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "fw1",
+ "id": "/subscriptions/subid/resourceGroups/azfwtest/providers/Microsoft.Network/azureFirewalls/fw1",
+ "type": "Microsoft.Network/azureFirewalls",
+ "location": "brazilsouth",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "threatIntelMode": "Alert"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/BastionHostDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/BastionHostDelete.json
new file mode 100644
index 000000000000..7ff0942b0596
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/BastionHostDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "bastionHostName": "bastionhosttenant"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/BastionHostGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/BastionHostGet.json
new file mode 100644
index 000000000000..9061bf2f88a2
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/BastionHostGet.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "bastionHostName": "bastionhosttenant'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "bastionhost'",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'",
+ "type": "Microsoft.Network/bastionHosts",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com",
+ "ipConfigurations": [
+ {
+ "name": "bastionHostIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/BastionHostListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/BastionHostListByResourceGroup.json
new file mode 100644
index 000000000000..c66144432ebe
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/BastionHostListByResourceGroup.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "bastionhost'",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'",
+ "type": "Microsoft.Network/bastionHosts",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com",
+ "ipConfigurations": [
+ {
+ "name": "bastionHostIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/BastionHostListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/BastionHostListBySubscription.json
new file mode 100644
index 000000000000..00d8874caa25
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/BastionHostListBySubscription.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "bastionhost'",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'",
+ "type": "Microsoft.Network/bastionHosts",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com",
+ "ipConfigurations": [
+ {
+ "name": "bastionHostIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/BastionHostPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/BastionHostPut.json
new file mode 100644
index 000000000000..9aeb4b65e6fa
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/BastionHostPut.json
@@ -0,0 +1,89 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "bastionHostName": "bastionhosttenant'",
+ "parameters": {
+ "properties": {
+ "ipConfigurations": [
+ {
+ "name": "bastionHostIpConfiguration",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "bastionhost'",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'",
+ "type": "Microsoft.Network/bastionHosts",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com",
+ "ipConfigurations": [
+ {
+ "name": "bastionHostIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "bastionhost'",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'",
+ "type": "Microsoft.Network/bastionHosts",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com",
+ "ipConfigurations": [
+ {
+ "name": "bastionHostIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/CheckDnsNameAvailability.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/CheckDnsNameAvailability.json
new file mode 100644
index 000000000000..4c9bac8ae545
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/CheckDnsNameAvailability.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "location": "westus",
+ "domainNameLabel": "testdns"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "available": false
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/CheckPrivateLinkServiceVisibility.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/CheckPrivateLinkServiceVisibility.json
new file mode 100644
index 000000000000..c310e51407ea
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/CheckPrivateLinkServiceVisibility.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "location": "westus",
+ "parameters": {
+ "privateLinkServiceAlias": "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "visible": true
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json
new file mode 100644
index 000000000000..85cc866a1fc2
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "location": "westus",
+ "resourceGroupName": "rg1",
+ "parameters": {
+ "privateLinkServiceAlias": "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "visible": true
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosCustomPolicyCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosCustomPolicyCreate.json
new file mode 100644
index 000000000000..aebbf34f88ad
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosCustomPolicyCreate.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "ddosCustomPolicyName": "test-ddos-custom-policy",
+ "parameters": {
+ "location": "centraluseuap",
+ "properties": {
+ "protocolCustomSettings": [
+ {
+ "protocol": "Tcp"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-ddos-custom-policy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy",
+ "type": "Microsoft.Network/ddosCustomPolicies",
+ "location": "centraluseuap",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "publicIPAddresses": [],
+ "protocolCustomSettings": [
+ {
+ "protocol": "Tcp",
+ "triggerRateOverride": "20000"
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-ddos-custom-policy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy",
+ "type": "Microsoft.Network/ddosCustomPolicies",
+ "location": "centraluseuap",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "publicIPAddresses": [],
+ "protocolCustomSettings": [
+ {
+ "protocol": "Tcp",
+ "triggerRateOverride": "20000"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosCustomPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosCustomPolicyDelete.json
new file mode 100644
index 000000000000..a84807c3d695
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosCustomPolicyDelete.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "ddosCustomPolicyName": "test-ddos-custom-policy",
+ "parameters": {
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosCustomPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosCustomPolicyGet.json
new file mode 100644
index 000000000000..adf1072bb619
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosCustomPolicyGet.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "ddosCustomPolicyName": "test-ddos-custom-policy"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-ddos-custom-policy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy",
+ "type": "Microsoft.Network/ddosCustomPolicies",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "publicIPAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosCustomPolicyUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosCustomPolicyUpdateTags.json
new file mode 100644
index 000000000000..4c29efc503fc
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosCustomPolicyUpdateTags.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "ddosCustomPolicyName": "test-ddos-custom-policy",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-ddos-custom-policy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy",
+ "type": "Microsoft.Network/ddosCustomPolicies",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "publicIPAddresses": [],
+ "protocolCustomSettings": [
+ {
+ "protocol": "Tcp",
+ "triggerRateOverride": "20000"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanCreate.json
new file mode 100644
index 000000000000..ab2aac46ca94
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanCreate.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "ddosProtectionPlanName": "test-plan",
+ "parameters": {
+ "location": "westus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-plan",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan",
+ "type": "Microsoft.Network/ddosProtectionPlans",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworks": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-plan",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan",
+ "type": "Microsoft.Network/ddosProtectionPlans",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworks": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanDelete.json
new file mode 100644
index 000000000000..6c3f63b3405c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "ddosProtectionPlanName": "test-plan"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanGet.json
new file mode 100644
index 000000000000..50902151f345
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanGet.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "ddosProtectionPlanName": "test-plan"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-plan",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan",
+ "type": "Microsoft.Network/ddosProtectionPlans",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworks": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanList.json
new file mode 100644
index 000000000000..9660d2ec8826
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanList.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1",
+ "name": "plan1",
+ "type": "Microsoft.Network/ddosProtectionPlans",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworks": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet"
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2",
+ "name": "plan2",
+ "type": "Microsoft.Network/ddosProtectionPlans",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworks": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanListAll.json
new file mode 100644
index 000000000000..3e0ca36f4220
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanListAll.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1",
+ "name": "plan1",
+ "type": "Microsoft.Network/ddosProtectionPlans",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworks": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet1"
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2",
+ "name": "plan2",
+ "type": "Microsoft.Network/ddosProtectionPlans",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworks": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet2"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet3"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanUpdateTags.json
new file mode 100644
index 000000000000..1bfab44e97a7
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DdosProtectionPlanUpdateTags.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "ddosProtectionPlanName": "test-plan",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-plan",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan",
+ "type": "Microsoft.Network/ddosProtectionPlans",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworks": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DefaultSecurityRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DefaultSecurityRuleGet.json
new file mode 100644
index 000000000000..15100ceea063
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DefaultSecurityRuleGet.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "resourceGroupName": "testrg",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "networkSecurityGroupName": "nsg1",
+ "defaultSecurityRuleName": "AllowVnetInBound"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound",
+ "sourcePortRanges": [],
+ "destinationPortRanges": [],
+ "sourceAddressPrefixes": [],
+ "destinationAddressPrefixes": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DefaultSecurityRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DefaultSecurityRuleList.json
new file mode 100644
index 000000000000..2826bc8e87db
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/DefaultSecurityRuleList.json
@@ -0,0 +1,136 @@
+{
+ "parameters": {
+ "resourceGroupName": "testrg",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "networkSecurityGroupName": "nsg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound",
+ "sourcePortRanges": [],
+ "destinationPortRanges": [],
+ "sourceAddressPrefixes": [],
+ "destinationAddressPrefixes": []
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound",
+ "sourcePortRanges": [],
+ "destinationPortRanges": [],
+ "sourceAddressPrefixes": [],
+ "destinationAddressPrefixes": []
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound",
+ "sourcePortRanges": [],
+ "destinationPortRanges": [],
+ "sourceAddressPrefixes": [],
+ "destinationAddressPrefixes": []
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound",
+ "sourcePortRanges": [],
+ "destinationPortRanges": [],
+ "sourceAddressPrefixes": [],
+ "destinationAddressPrefixes": []
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound",
+ "sourcePortRanges": [],
+ "destinationPortRanges": [],
+ "sourceAddressPrefixes": [],
+ "destinationAddressPrefixes": []
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound",
+ "sourcePortRanges": [],
+ "destinationPortRanges": [],
+ "sourceAddressPrefixes": [],
+ "destinationAddressPrefixes": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/EndpointServicesList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/EndpointServicesList.json
new file mode 100644
index 000000000000..1ce7ca957034
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/EndpointServicesList.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "location": "westus",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Storage",
+ "id": "/subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage",
+ "type": "Microsoft.Network/virtualNetworkEndpointServices"
+ },
+ {
+ "name": "Microsoft.Sql",
+ "id": "/subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql",
+ "type": "Microsoft.Network/virtualNetworkEndpointServices"
+ },
+ {
+ "name": "Microsoft.AzureActiveDirectory",
+ "id": "/subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory",
+ "type": "Microsoft.Network/virtualNetworkEndpointServices"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitARPTableList.json
new file mode 100644
index 000000000000..7f4791b7b98a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitARPTableList.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "peeringName": "peeringName",
+ "devicePath": "devicePath"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "age": 0,
+ "interface": "Microsoft",
+ "ipAddress": "IPAddress",
+ "macAddress": "macAddress"
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitAuthorizationCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitAuthorizationCreate.json
new file mode 100644
index 000000000000..2410e6009f6b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitAuthorizationCreate.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "authorizationName": "authorizatinName",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "authorizationParameters": {
+ "properties": {}
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "authorizationName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/authorizationName",
+ "etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"",
+ "properties": {
+ "provisioningState": "Updating",
+ "authorizationUseStatus": "Available"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "authorizationName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/authorizationName",
+ "etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"",
+ "properties": {
+ "provisioningState": "Updating",
+ "authorizationUseStatus": "Available"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitAuthorizationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitAuthorizationDelete.json
new file mode 100644
index 000000000000..bceb1462d3f6
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitAuthorizationDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "authorizationName": "authorizationName"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitAuthorizationGet.json
new file mode 100644
index 000000000000..b855c037ffba
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitAuthorizationGet.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "authorizationName": "authorizationName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "MyAuthorization1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1",
+ "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "authorizationKey": "authKey",
+ "authorizationUseStatus": "Available"
+ },
+ "type": "Microsoft.Network/expressRouteCircuits/authorizations"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitAuthorizationList.json
new file mode 100644
index 000000000000..79ed85dc5b8f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitAuthorizationList.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "MyAuthorization1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1",
+ "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "authorizationKey": "authKey",
+ "authorizationUseStatus": "Available"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitConnectionCreate.json
new file mode 100644
index 000000000000..26726173b436
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitConnectionCreate.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "connectionName": "circuitConnectionUSAUS",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid1",
+ "circuitName": "ExpressRouteARMCircuitA",
+ "peeringName": "AzurePrivatePeering",
+ "type": "Microsoft.Network/expressRouteCircuits/peerings/connections",
+ "expressRouteCircuitConnectionParameters": {
+ "properties": {
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering"
+ },
+ "peerExpressRouteCircuitPeering": {
+ "id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a",
+ "addressPrefix": "10.0.0.0/29"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "circuitConnectionUSAUS",
+ "properties": {
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering"
+ },
+ "peerExpressRouteCircuitPeering": {
+ "id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a",
+ "addressPrefix": "10.0.0.0/24",
+ "circuitConnectionStatus": "Connected",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "circuitConnectionUSAUS",
+ "properties": {
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering"
+ },
+ "peerExpressRouteCircuitPeering": {
+ "id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a",
+ "addressPrefix": "10.0.0.0/24",
+ "circuitConnectionStatus": "Connected",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitConnectionDelete.json
new file mode 100644
index 000000000000..4c64e0aa2587
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitConnectionDelete.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "circuitName": "ExpressRouteARMCircuitA",
+ "peeringName": "AzurePrivatePeering",
+ "connectionName": "circuitConnectionUSAUS",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitConnectionGet.json
new file mode 100644
index 000000000000..4cd04decb138
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitConnectionGet.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "connectionName": "circuitConnectionUSAUS",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid1",
+ "circuitName": "ExpressRouteARMCircuitA",
+ "peeringName": "AzurePrivatePeering"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "circuitConnectionUSAUS",
+ "properties": {
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering"
+ },
+ "peerExpressRouteCircuitPeering": {
+ "id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a",
+ "addressPrefix": "10.0.0.0/24",
+ "circuitConnectionStatus": "Connected",
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Network/expressRouteCircuits/peerings/connections"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitConnectionList.json
new file mode 100644
index 000000000000..d63a7a72362e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitConnectionList.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid1",
+ "circuitName": "ExpressRouteARMCircuitA",
+ "peeringName": "AzurePrivatePeering"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "circuitConnectionUSAUS",
+ "properties": {
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering"
+ },
+ "peerExpressRouteCircuitPeering": {
+ "id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a",
+ "addressPrefix": "10.0.0.0/24",
+ "circuitConnectionStatus": "Connected",
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSEUR",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "circuitConnectionUSEUR",
+ "properties": {
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering"
+ },
+ "peerExpressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/dedharckteurope/providers/Microsoft.Network/expressRouteCircuits/dedharcktams/peerings/AzurePrivatePeering"
+ },
+ "addressPrefix": "20.0.0.0/24",
+ "circuitConnectionStatus": "Connected",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitCreate.json
new file mode 100644
index 000000000000..7349bb74fe44
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitCreate.json
@@ -0,0 +1,84 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ },
+ "properties": {
+ "authorizations": [],
+ "peerings": [],
+ "allowClassicOperations": false,
+ "serviceProviderProperties": {
+ "serviceProviderName": "Equinix",
+ "peeringLocation": "Silicon Valley",
+ "bandwidthInMbps": 200
+ }
+ },
+ "location": "Brazil South"
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "circuitName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "location": "Brazil South",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerings": [],
+ "authorizations": [],
+ "serviceProviderProperties": {
+ "serviceProviderName": "Equinix",
+ "peeringLocation": "Silicon Valley",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1",
+ "serviceProviderProvisioningState": "NotProvisioned"
+ },
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "circuitName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "location": "Brazil South",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerings": [],
+ "authorizations": [],
+ "serviceProviderProperties": {
+ "serviceProviderName": "Equinix",
+ "peeringLocation": "Silicon Valley",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1",
+ "serviceProviderProvisioningState": "NotProvisioned"
+ },
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json
new file mode 100644
index 000000000000..e467d2b99f49
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json
@@ -0,0 +1,79 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-09-01",
+ "resourceGroupName": "rg1",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "circuitName": "expressRouteCircuit1",
+ "parameters": {
+ "location": "westus",
+ "sku": {
+ "name": "Premium_MeteredData",
+ "tier": "Premium",
+ "family": "MeteredData"
+ },
+ "properties": {
+ "expressRoutePort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName"
+ },
+ "bandwidthInGbps": 10
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "expressRouteCircuit1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerings": [],
+ "authorizations": [],
+ "expressRoutePort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName"
+ },
+ "bandwidthInGbps": 10,
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "20",
+ "serviceKey": "d281f746-ee01-4d00-8b0a-edec4833772b",
+ "serviceProviderProvisioningState": "Provisioned"
+ },
+ "sku": {
+ "name": "Premium_MeteredData",
+ "tier": "Premium",
+ "family": "MeteredData"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "expressRouteCircuit1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerings": [],
+ "authorizations": [],
+ "expressRoutePort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName"
+ },
+ "bandwidthInGbps": 10,
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "20",
+ "serviceKey": "d281f746-ee01-4d00-8b0a-edec4833772b",
+ "serviceProviderProvisioningState": "Provisioned"
+ },
+ "sku": {
+ "name": "Premium_MeteredData",
+ "tier": "Premium",
+ "family": "MeteredData"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitDelete.json
new file mode 100644
index 000000000000..2802cd5e2001
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitGet.json
new file mode 100644
index 000000000000..1fe89c3d8a58
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitGet.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "circuitName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerings": [],
+ "authorizations": [],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1",
+ "serviceProviderProvisioningState": "NotProvisioned"
+ },
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitListByResourceGroup.json
new file mode 100644
index 000000000000..a90e90d8e1d9
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitListByResourceGroup.json
@@ -0,0 +1,91 @@
+{
+ "parameters": {
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "circuitName1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1",
+ "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerings": [],
+ "authorizations": [
+ {
+ "name": "MyAuthorization1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1",
+ "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "authorizationKey": "authkey",
+ "authorizationUseStatus": "Available"
+ }
+ }
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
+ },
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
+ },
+ {
+ "name": "circuitName2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2",
+ "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerings": [],
+ "authorizations": [
+ {
+ "name": "MyAuthorization2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2",
+ "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "authorizationKey": "authkey",
+ "authorizationUseStatus": "Available"
+ }
+ }
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
+ },
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitListBySubscription.json
new file mode 100644
index 000000000000..66e8b4b81fa8
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitListBySubscription.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "circuitName1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1",
+ "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerings": [],
+ "authorizations": [
+ {
+ "name": "MyAuthorization1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1",
+ "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "authorizationKey": "authkey",
+ "authorizationUseStatus": "Available"
+ }
+ }
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
+ },
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
+ },
+ {
+ "name": "circuitName2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2",
+ "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerings": [],
+ "authorizations": [
+ {
+ "name": "MyAuthorization2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2",
+ "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "authorizationKey": "authkey",
+ "authorizationUseStatus": "Available"
+ }
+ }
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
+ },
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitPeeringCreate.json
new file mode 100644
index 000000000000..4ab42b42d7a9
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitPeeringCreate.json
@@ -0,0 +1,75 @@
+{
+ "parameters": {
+ "peeringName": "AzurePrivatePeering",
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "peeringParameters": {
+ "properties": {
+ "peerASN": 200,
+ "primaryPeerAddressPrefix": "192.168.16.252/30",
+ "secondaryPeerAddressPrefix": "192.168.18.252/30",
+ "vlanId": 200
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "AzurePrivatePeering",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering",
+ "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringType": "AzurePrivatePeering",
+ "azureASN": 12076,
+ "peerASN": 200,
+ "primaryPeerAddressPrefix": "192.168.16.252/30",
+ "secondaryPeerAddressPrefix": "192.168.18.252/30",
+ "primaryAzurePort": "",
+ "secondaryAzurePort": "",
+ "state": "Enabled",
+ "vlanId": 200,
+ "gatewayManagerEtag": "",
+ "lastModifiedBy": "Customer",
+ "ipv6PeeringConfig": {
+ "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126",
+ "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126",
+ "state": "Enabled"
+ },
+ "expressRouteConnection": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName"
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "AzurePrivatePeering",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering",
+ "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringType": "AzurePrivatePeering",
+ "azureASN": 12076,
+ "peerASN": 200,
+ "primaryPeerAddressPrefix": "192.168.16.252/30",
+ "secondaryPeerAddressPrefix": "192.168.18.252/30",
+ "primaryAzurePort": "",
+ "secondaryAzurePort": "",
+ "state": "Enabled",
+ "vlanId": 200,
+ "gatewayManagerEtag": "",
+ "lastModifiedBy": "Customer",
+ "ipv6PeeringConfig": {
+ "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126",
+ "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126",
+ "state": "Enabled"
+ },
+ "expressRouteConnection": ""
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitPeeringDelete.json
new file mode 100644
index 000000000000..9b03410fdbb7
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitPeeringDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "peeringName": "peeringName"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitPeeringGet.json
new file mode 100644
index 000000000000..9d8ab814f0c1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitPeeringGet.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "peeringName": "MicrosoftPeering"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "MicrosoftPeering",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering",
+ "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringType": "MicrosoftPeering",
+ "azureASN": 12076,
+ "peerASN": 100,
+ "primaryPeerAddressPrefix": "123.0.0.0/30",
+ "secondaryPeerAddressPrefix": "123.0.0.4/30",
+ "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A",
+ "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A",
+ "state": "Enabled",
+ "vlanId": 300,
+ "gatewayManagerEtag": "103",
+ "lastModifiedBy": "Customer",
+ "microsoftPeeringConfig": {
+ "advertisedPublicPrefixes": [
+ "123.1.0.0/24"
+ ],
+ "advertisedCommunities": [],
+ "advertisedPublicPrefixesState": "ValidationNeeded",
+ "customerASN": 23,
+ "legacyMode": 0,
+ "routingRegistryName": "ARIN"
+ },
+ "ipv6PeeringConfig": {
+ "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126",
+ "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126",
+ "state": "Enabled",
+ "microsoftPeeringConfig": {
+ "advertisedPublicPrefixes": [
+ "3FFE:FFFF:0:CD31::/120"
+ ],
+ "advertisedCommunities": [],
+ "advertisedPublicPrefixesState": "ValidationNeeded",
+ "customerASN": 23,
+ "legacyMode": 0,
+ "routingRegistryName": "ARIN"
+ }
+ },
+ "routeFilter": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName"
+ }
+ },
+ "type": "Microsoft.Network/expressRouteCircuits/peerings"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitPeeringList.json
new file mode 100644
index 000000000000..4ef4b440c4a7
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitPeeringList.json
@@ -0,0 +1,88 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "MicrosoftPeering",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering",
+ "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringType": "MicrosoftPeering",
+ "azureASN": 12076,
+ "peerASN": 100,
+ "primaryPeerAddressPrefix": "123.0.0.0/30",
+ "secondaryPeerAddressPrefix": "123.0.0.4/30",
+ "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A",
+ "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A",
+ "state": "Enabled",
+ "vlanId": 300,
+ "gatewayManagerEtag": "103",
+ "lastModifiedBy": "Customer",
+ "microsoftPeeringConfig": {
+ "advertisedPublicPrefixes": [
+ "123.1.0.0/24"
+ ],
+ "advertisedCommunities": [],
+ "advertisedPublicPrefixesState": "ValidationNeeded",
+ "customerASN": 23,
+ "legacyMode": 0,
+ "routingRegistryName": "ARIN"
+ },
+ "ipv6PeeringConfig": {
+ "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126",
+ "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126",
+ "state": "Enabled",
+ "microsoftPeeringConfig": {
+ "advertisedPublicPrefixes": [
+ "3FFE:FFFF:0:CD31::/120"
+ ],
+ "advertisedCommunities": [],
+ "advertisedPublicPrefixesState": "ValidationNeeded",
+ "customerASN": 23,
+ "legacyMode": 0,
+ "routingRegistryName": "ARIN"
+ }
+ },
+ "expressRouteConnection": ""
+ }
+ },
+ {
+ "name": "AzurePrivatePeering",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering",
+ "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringType": "AzurePrivatePeering",
+ "azureASN": 12076,
+ "peerASN": 100,
+ "primaryPeerAddressPrefix": "10.0.0.0/30",
+ "secondaryPeerAddressPrefix": "10.0.0.4/30",
+ "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A",
+ "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A",
+ "state": "Enabled",
+ "vlanId": 200,
+ "gatewayManagerEtag": "103",
+ "lastModifiedBy": "Customer",
+ "ipv6PeeringConfig": {
+ "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126",
+ "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126",
+ "state": "Enabled"
+ },
+ "expressRouteConnection": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitPeeringStats.json
new file mode 100644
index 000000000000..e7a1c0b6ae1e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitPeeringStats.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "peeringName": "peeringName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "primarybytesIn": 537408,
+ "primarybytesOut": 44032550,
+ "secondarybytesIn": 0,
+ "secondarybytesOut": 39002500
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitRouteTableList.json
new file mode 100644
index 000000000000..f1138f1c84d6
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitRouteTableList.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "peeringName": "peeringName",
+ "devicePath": "devicePath"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "network": "",
+ "nextHop": "",
+ "locPrf": "",
+ "weight": 0,
+ "path": ""
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
new file mode 100644
index 000000000000..47dbccf2f4e2
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "peeringName": "peeringName",
+ "devicePath": "devicePath"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "neighbor": "100.65.171.1",
+ "v": 4,
+ "as": 9583,
+ "upDown": "never",
+ "statePfxRcd": "Idle"
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitStats.json
new file mode 100644
index 000000000000..0cd327bbf950
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitStats.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "primarybytesIn": 537408,
+ "primarybytesOut": 44032550,
+ "secondarybytesIn": 0,
+ "secondarybytesOut": 39002500
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitUpdateTags.json
new file mode 100644
index 000000000000..6317365d2370
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCircuitUpdateTags.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "ertest",
+ "circuitName": "er1",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "er1",
+ "id": "/subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "location": "brazilsouth",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Failed",
+ "peerings": [],
+ "authorizations": [],
+ "serviceProviderProperties": {
+ "serviceProviderName": "Equinix",
+ "peeringLocation": "Silicon Valley",
+ "bandwidthInMbps": 1000
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c",
+ "serviceProviderProvisioningState": "NotProvisioned"
+ },
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteConnectionCreate.json
new file mode 100644
index 000000000000..af3e8062a51f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteConnectionCreate.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "expressRouteGatewayName": "gateway-2",
+ "resourceGroupName": "resourceGroupName",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "connectionName": "connectionName",
+ "putExpressRouteConnectionParameters": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName",
+ "name": "connectionName",
+ "properties": {
+ "routingWeight": 2,
+ "authorizationKey": "authorizationKey",
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "connectionName",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName",
+ "properties": {
+ "provisioningState": "Provisioned",
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "authorizationKey",
+ "routingWeight": 2
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "connectionName",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName",
+ "properties": {
+ "provisioningState": "Provisioned",
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "authorizationKey",
+ "routingWeight": 2
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteConnectionDelete.json
new file mode 100644
index 000000000000..49859bfd1be5
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteConnectionDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "expressRouteGatewayName": "expressRouteGatewayName",
+ "resourceGroupName": "resourceGroupName",
+ "connectionName": "connectionName",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "202": {},
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteConnectionGet.json
new file mode 100644
index 000000000000..022398acf83a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteConnectionGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "expressRouteGatewayName": "expressRouteGatewayName",
+ "resourceGroupName": "resourceGroupName",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "connectionName": "connectionName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "connectionName",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName",
+ "properties": {
+ "provisioningState": "Provisioned",
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "authorizationKey",
+ "routingWeight": 1
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteConnectionList.json
new file mode 100644
index 000000000000..e73269b097b0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteConnectionList.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "resourceGroupName": "resourceGroupName",
+ "expressRouteGatewayName": "expressRouteGatewayName",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "connectionName",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName",
+ "properties": {
+ "provisioningState": "Provisioned",
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "authorizationKey",
+ "routingWeight": 1
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json
new file mode 100644
index 000000000000..7e69eea209ed
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json
@@ -0,0 +1,75 @@
+{
+ "parameters": {
+ "peeringName": "AzurePrivatePeering",
+ "crossConnectionName": "",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "peeringParameters": {
+ "properties": {
+ "peerASN": 200,
+ "primaryPeerAddressPrefix": "192.168.16.252/30",
+ "secondaryPeerAddressPrefix": "192.168.18.252/30",
+ "vlanId": 200,
+ "ipv6PeeringConfig": {
+ "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126",
+ "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "AzurePrivatePeering",
+ "id": "/subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering",
+ "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringType": "AzurePrivatePeering",
+ "azureASN": 12076,
+ "peerASN": 200,
+ "primaryPeerAddressPrefix": "192.168.16.252/30",
+ "secondaryPeerAddressPrefix": "192.168.18.252/30",
+ "primaryAzurePort": "",
+ "secondaryAzurePort": "",
+ "state": "Enabled",
+ "vlanId": 200,
+ "gatewayManagerEtag": "",
+ "lastModifiedBy": "Customer",
+ "ipv6PeeringConfig": {
+ "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126",
+ "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126",
+ "state": "Enabled"
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "AzurePrivatePeering",
+ "id": "/subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering",
+ "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringType": "AzurePrivatePeering",
+ "azureASN": 12076,
+ "peerASN": 200,
+ "primaryPeerAddressPrefix": "192.168.16.252/30",
+ "secondaryPeerAddressPrefix": "192.168.18.252/30",
+ "primaryAzurePort": "",
+ "secondaryAzurePort": "",
+ "state": "Enabled",
+ "vlanId": 200,
+ "gatewayManagerEtag": "",
+ "lastModifiedBy": "Customer",
+ "ipv6PeeringConfig": {
+ "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126",
+ "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126",
+ "state": "Enabled"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json
new file mode 100644
index 000000000000..70e2eab0f30d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "peeringName": "AzurePrivatePeering",
+ "crossConnectionName": "",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionBgpPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionBgpPeeringGet.json
new file mode 100644
index 000000000000..daf22f8bc554
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionBgpPeeringGet.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "peeringName": "AzurePrivatePeering",
+ "crossConnectionName": "",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "AzurePrivatePeering",
+ "id": "/subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering",
+ "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringType": "AzurePrivatePeering",
+ "azureASN": 12076,
+ "peerASN": 200,
+ "primaryPeerAddressPrefix": "192.168.16.252/30",
+ "secondaryPeerAddressPrefix": "192.168.18.252/30",
+ "primaryAzurePort": "",
+ "secondaryAzurePort": "",
+ "state": "Enabled",
+ "vlanId": 200,
+ "gatewayManagerEtag": "",
+ "lastModifiedBy": "Customer",
+ "ipv6PeeringConfig": {
+ "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126",
+ "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126",
+ "state": "Enabled"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json
new file mode 100644
index 000000000000..1dbe04b4944c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "crossConnectionName": "",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "AzurePrivatePeering",
+ "id": "/subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering",
+ "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringType": "AzurePrivatePeering",
+ "azureASN": 12076,
+ "peerASN": 200,
+ "primaryPeerAddressPrefix": "192.168.16.252/30",
+ "secondaryPeerAddressPrefix": "192.168.18.252/30",
+ "primaryAzurePort": "",
+ "secondaryAzurePort": "",
+ "state": "Enabled",
+ "vlanId": 200,
+ "gatewayManagerEtag": "",
+ "lastModifiedBy": "Customer",
+ "ipv6PeeringConfig": {
+ "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126",
+ "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126",
+ "state": "Enabled"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionGet.json
new file mode 100644
index 000000000000..97caa5569e33
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionGet.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "crossConnectionName": ""
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "",
+ "id": "/subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/",
+ "type": "Microsoft.Network/expressRouteCrossConnections",
+ "location": "brazilsouth",
+ "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"",
+ "properties": {
+ "provisioningState": "Enabled",
+ "expressRouteCircuit": {
+ "id": "/subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1"
+ },
+ "peerings": [],
+ "peeringLocation": "SiliconValley",
+ "bandwidthInMbps": 1000,
+ "primaryAzurePort": "bvtazureixp01",
+ "secondaryAzurePort": "bvtazureixp01",
+ "sTag": 2,
+ "serviceProviderProvisioningState": "NotProvisioned"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionList.json
new file mode 100644
index 000000000000..6035db8a0c39
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionList.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "",
+ "id": "/subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/",
+ "type": "Microsoft.Network/expressRouteCrossConnections",
+ "location": "brazilsouth",
+ "properties": {
+ "provisioningState": "Enabled",
+ "expressRouteCircuit": {
+ "id": "/subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1"
+ },
+ "peerings": [],
+ "peeringLocation": "SiliconValley",
+ "bandwidthInMbps": 1000,
+ "primaryAzurePort": "bvtazureixp01",
+ "secondaryAzurePort": "bvtazureixp01",
+ "sTag": 2,
+ "serviceProviderProvisioningState": "NotProvisioned"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionListByResourceGroup.json
new file mode 100644
index 000000000000..1e963bb2bfd2
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionListByResourceGroup.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "",
+ "id": "/subscriptions/subid/resourceGroups/CrossConnectionSilicon-Valley/providers/Microsoft.Network/expressRouteCrossConnections/",
+ "type": "Microsoft.Network/expressRouteCrossConnections",
+ "location": "brazilsouth",
+ "properties": {
+ "provisioningState": "Enabled",
+ "expressRouteCircuit": {
+ "id": "/subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1"
+ },
+ "peerings": [],
+ "peeringLocation": "SiliconValley",
+ "bandwidthInMbps": 1000,
+ "primaryAzurePort": "bvtazureixp01",
+ "secondaryAzurePort": "bvtazureixp01",
+ "sTag": 2,
+ "serviceProviderProvisioningState": "NotProvisioned"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionUpdate.json
new file mode 100644
index 000000000000..b40447eb7465
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionUpdate.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "crossConnectionName": "",
+ "parameters": {
+ "properties": {
+ "serviceProviderProvisioningState": "NotProvisioned"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "",
+ "id": "/subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/",
+ "type": "Microsoft.Network/expressRouteCrossConnections",
+ "location": "brazilsouth",
+ "properties": {
+ "provisioningState": "Enabled",
+ "expressRouteCircuit": {
+ "id": "/subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1"
+ },
+ "peerings": [],
+ "peeringLocation": "SiliconValley",
+ "bandwidthInMbps": 1000,
+ "primaryAzurePort": "bvtazureixp01",
+ "secondaryAzurePort": "bvtazureixp01",
+ "sTag": 2,
+ "serviceProviderProvisioningState": "NotProvisioned"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionUpdateTags.json
new file mode 100644
index 000000000000..e024e97044e1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionUpdateTags.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "crossConnectionName": "",
+ "crossConnectionParameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "er1",
+ "id": "/subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/",
+ "type": "Microsoft.Network/expressRouteCrossConnections",
+ "location": "brazilsouth",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Failed",
+ "expressRouteCircuit": {
+ "id": "/subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1"
+ },
+ "peerings": [],
+ "peeringLocation": "SiliconValley",
+ "bandwidthInMbps": 1000,
+ "primaryAzurePort": "bvtazureixp01",
+ "secondaryAzurePort": "bvtazureixp01",
+ "sTag": 2,
+ "serviceProviderProvisioningState": "NotProvisioned"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionsArpTable.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionsArpTable.json
new file mode 100644
index 000000000000..b135409a910f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionsArpTable.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "peeringName": "AzurePrivatePeering",
+ "crossConnectionName": "",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "devicePath": "primary",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "age": 0,
+ "interface": "Microsoft",
+ "ipAddress": "192.116.14.254",
+ "macAddress": "885a.9269.9110"
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionsRouteTable.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionsRouteTable.json
new file mode 100644
index 000000000000..3aef00096b3c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionsRouteTable.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "peeringName": "AzurePrivatePeering",
+ "crossConnectionName": "",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "devicePath": "primary",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "network": "10.6.0.0/16",
+ "nextHop": "10.6.1.12",
+ "locPrf": "",
+ "weight": 0,
+ "path": "65514"
+ },
+ {
+ "network": "10.7.0.0/16",
+ "nextHop": "10.7.1.13",
+ "locPrf": "",
+ "weight": 0,
+ "path": "65514"
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json
new file mode 100644
index 000000000000..e3766da93c72
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "peeringName": "AzurePrivatePeering",
+ "crossConnectionName": "",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "devicePath": "primary",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "neighbor": "10.6.1.112",
+ "asn": 65514,
+ "upDown": "1d14h",
+ "stateOrPrefixesReceived": "Active"
+ },
+ {
+ "neighbor": "10.6.1.113",
+ "asn": 65514,
+ "upDown": "1d14h",
+ "stateOrPrefixesReceived": "1"
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteGatewayCreate.json
new file mode 100644
index 000000000000..6ce55e0b3c98
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteGatewayCreate.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "expressRouteGatewayName": "gateway-2",
+ "subscriptionId": "subid",
+ "resourceGroupName": "resourceGroupName",
+ "api-version": "2019-09-01",
+ "putExpressRouteGatewayParameters": {
+ "location": "westus",
+ "properties": {
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName"
+ },
+ "autoScaleConfiguration": {
+ "bounds": {
+ "min": 3
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "gateway-2",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "westus",
+ "type": "Microsoft.Network/expressRouteGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName"
+ },
+ "autoScaleConfiguration": {
+ "bounds": {
+ "min": 3
+ }
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "gateway-2",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "westus",
+ "type": "Microsoft.Network/expressRouteGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName"
+ },
+ "autoScaleConfiguration": {
+ "bounds": {
+ "min": 3
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteGatewayDelete.json
new file mode 100644
index 000000000000..0721c3735797
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteGatewayDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "expressRouteGatewayName": "expressRouteGatewayName",
+ "resourceGroupName": "resourceGroupName",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "202": {},
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteGatewayGet.json
new file mode 100644
index 000000000000..a98db8230c41
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteGatewayGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "expressRouteGatewayName": "expressRouteGatewayName",
+ "resourceGroupName": "resourceGroupName",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "expressRouteGatewayName",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "westus",
+ "type": "Microsoft.Network/expressRouteGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteGatewayListByResourceGroup.json
new file mode 100644
index 000000000000..bc1bf2084be6
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteGatewayListByResourceGroup.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "resourceGroupName": "resourceGroupName",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "expressRouteGatewayName",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "westus",
+ "type": "Microsoft.Network/expressRouteGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName"
+ },
+ "autoScaleConfiguration": {
+ "bounds": {
+ "min": 2
+ }
+ },
+ "expressRouteConnections": [
+ {
+ "name": "connectionName",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName",
+ "properties": {
+ "provisioningState": "Provisioned",
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d",
+ "routingWeight": 1,
+ "enableInternetSecurity": false
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteGatewayListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteGatewayListBySubscription.json
new file mode 100644
index 000000000000..a6cd946dbe2e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteGatewayListBySubscription.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "expressRouteGatewayName",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "westus",
+ "type": "Microsoft.Network/expressRouteGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName"
+ },
+ "autoScaleConfiguration": {
+ "bounds": {
+ "min": 2
+ }
+ },
+ "expressRouteConnections": [
+ {
+ "name": "connectionName",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName",
+ "properties": {
+ "provisioningState": "Provisioned",
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d",
+ "routingWeight": 1,
+ "enableInternetSecurity": false
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteLinkGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteLinkGet.json
new file mode 100644
index 000000000000..3c781c9f11ab
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteLinkGet.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-09-01",
+ "resourceGroupName": "rg1",
+ "expressRoutePortName": "portName",
+ "linkName": "linkName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "linkName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/linkName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router1",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId1",
+ "rackId": "rackId1",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteLinkList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteLinkList.json
new file mode 100644
index 000000000000..15c4ffaf7306
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteLinkList.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-09-01",
+ "resourceGroupName": "rg1",
+ "expressRoutePortName": "portName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "link1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router1",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId1",
+ "rackId": "rackId1",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ },
+ {
+ "name": "link2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router2",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId2",
+ "rackId": "rackId2",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortCreate.json
new file mode 100644
index 000000000000..eee116e4bc2b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortCreate.json
@@ -0,0 +1,112 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-09-01",
+ "resourceGroupName": "rg1",
+ "expressRoutePortName": "portName",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "peeringLocation": "peeringLocationName",
+ "bandwidthInGbps": 100,
+ "encapsulation": "QinQ"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "portName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName",
+ "type": "Microsoft.Network/expressRoutePorts",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringLocation": "peeringLocationName",
+ "bandwidthInGbps": 100,
+ "provisionedBandwidthInGbps": 0.0,
+ "mtu": "1500",
+ "encapsulation": "QinQ",
+ "etherType": "0x8100",
+ "allocationDate": "Friday, July 1, 2018",
+ "links": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1",
+ "name": "link1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router1",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId1",
+ "rackId": "rackId1",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2",
+ "name": "link2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router2",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId2",
+ "rackId": "rackId2",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ }
+ ],
+ "circuits": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "portName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName",
+ "type": "Microsoft.Network/expressRoutePorts",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringLocation": "peeringLocationName",
+ "bandwidthInGbps": 100,
+ "provisionedBandwidthInGbps": 0.0,
+ "mtu": "1500",
+ "encapsulation": "QinQ",
+ "etherType": "0x8100",
+ "allocationDate": "Friday, July 1, 2018",
+ "links": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1",
+ "name": "link1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router1",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId1",
+ "rackId": "rackId1",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2",
+ "name": "link2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router2",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId2",
+ "rackId": "rackId2",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ }
+ ],
+ "circuits": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortDelete.json
new file mode 100644
index 000000000000..d3103ff2ba31
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-09-01",
+ "resourceGroupName": "rg1",
+ "expressRoutePortName": "portName"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortGet.json
new file mode 100644
index 000000000000..19f409b58915
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortGet.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-09-01",
+ "resourceGroupName": "rg1",
+ "expressRoutePortName": "portName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "portName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName",
+ "type": "Microsoft.Network/expressRoutePorts",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringLocation": "peeringLocationName",
+ "bandwidthInGbps": 100,
+ "provisionedBandwidthInGbps": 0.0,
+ "mtu": "1500",
+ "encapsulation": "QinQ",
+ "etherType": "0x8100",
+ "allocationDate": "Friday, July 1, 2018",
+ "links": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1",
+ "name": "link1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router1",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId1",
+ "rackId": "rackId1",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2",
+ "name": "link2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router2",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId2",
+ "rackId": "rackId2",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ }
+ ],
+ "circuits": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortList.json
new file mode 100644
index 000000000000..e51b5ac2de8e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortList.json
@@ -0,0 +1,59 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "portName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName",
+ "type": "Microsoft.Network/expressRoutePorts",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringLocation": "peeringLocationName",
+ "bandwidthInGbps": 100,
+ "provisionedBandwidthInGbps": 0.0,
+ "mtu": "1500",
+ "encapsulation": "QinQ",
+ "etherType": "0x8100",
+ "allocationDate": "Friday, July 1, 2018",
+ "links": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1",
+ "name": "link1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router1",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId1",
+ "rackId": "rackId1",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2",
+ "name": "link2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router2",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId2",
+ "rackId": "rackId2",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ }
+ ],
+ "circuits": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortListByResourceGroup.json
new file mode 100644
index 000000000000..92bf42bf00d7
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortListByResourceGroup.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-09-01",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "portName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName",
+ "type": "Microsoft.Network/expressRoutePorts",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringLocation": "peeringLocationName",
+ "bandwidthInGbps": 100,
+ "provisionedBandwidthInGbps": 0.0,
+ "mtu": "1500",
+ "encapsulation": "QinQ",
+ "etherType": "0x8100",
+ "allocationDate": "Friday, July 1, 2018",
+ "links": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1",
+ "name": "link1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router1",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId1",
+ "rackId": "rackId1",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2",
+ "name": "link2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router2",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId2",
+ "rackId": "rackId2",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ }
+ ],
+ "circuits": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortUpdateLink.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortUpdateLink.json
new file mode 100644
index 000000000000..91f998e4e73a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortUpdateLink.json
@@ -0,0 +1,120 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-09-01",
+ "resourceGroupName": "rg1",
+ "expressRoutePortName": "portName",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "peeringLocation": "peeringLocationName",
+ "bandwidthInGbps": 100,
+ "encapsulation": "QinQ",
+ "links": [
+ {
+ "name": "link1",
+ "properties": {
+ "adminState": "Enabled"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "portName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName",
+ "type": "Microsoft.Network/expressRoutePorts",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringLocation": "peeringLocationName",
+ "bandwidthInGbps": 100,
+ "provisionedBandwidthInGbps": 0.0,
+ "mtu": "1500",
+ "encapsulation": "QinQ",
+ "etherType": "0x8100",
+ "allocationDate": "Friday, July 1, 2018",
+ "links": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1",
+ "name": "link1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router1",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId1",
+ "rackId": "rackId1",
+ "connectorType": "LC",
+ "adminState": "Enabled"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2",
+ "name": "link2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router2",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId2",
+ "rackId": "rackId2",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ }
+ ],
+ "circuits": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "portName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName",
+ "type": "Microsoft.Network/expressRoutePorts",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringLocation": "peeringLocationName",
+ "bandwidthInGbps": 100,
+ "provisionedBandwidthInGbps": 0.0,
+ "mtu": "1500",
+ "encapsulation": "QinQ",
+ "etherType": "0x8100",
+ "allocationDate": "Friday, July 1, 2018",
+ "links": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1",
+ "name": "link1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router1",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId1",
+ "rackId": "rackId1",
+ "connectorType": "LC",
+ "adminState": "Enabled"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2",
+ "name": "link2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router2",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId2",
+ "rackId": "rackId2",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ }
+ ],
+ "circuits": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortUpdateTags.json
new file mode 100644
index 000000000000..8412fc3e4b37
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortUpdateTags.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-09-01",
+ "resourceGroupName": "rg1",
+ "expressRoutePortName": "portName",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "portName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName",
+ "type": "Microsoft.Network/expressRoutePorts",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringLocation": "peeringLocationName",
+ "bandwidthInGbps": 100,
+ "provisionedBandwidthInGbps": 0.0,
+ "mtu": "1500",
+ "encapsulation": "QinQ",
+ "etherType": "0x8100",
+ "allocationDate": "Friday, July 1, 2018",
+ "links": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1",
+ "name": "link1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router1",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId1",
+ "rackId": "rackId1",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2",
+ "name": "link2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router2",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId2",
+ "rackId": "rackId2",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ }
+ ],
+ "circuits": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortsLocationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortsLocationGet.json
new file mode 100644
index 000000000000..1c1b943f19cf
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortsLocationGet.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-09-01",
+ "locationName": "locationName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "locationName",
+ "id": "/subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName",
+ "type": "Microsoft.Network/expressRoutePortsLocations",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "address": "123 Main Street, City, State, Zip",
+ "contact": "email@address.com",
+ "availableBandwidths": [
+ {
+ "offerName": "100 Gbps",
+ "valueInGbps": 100
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortsLocationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortsLocationList.json
new file mode 100644
index 000000000000..e5136bad59a6
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRoutePortsLocationList.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "locationName",
+ "id": "/subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName",
+ "type": "Microsoft.Network/expressRoutePortsLocations",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "address": "123 Main Street, City, State, Zip",
+ "contact": "email@address.com",
+ "availableBandwidths": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteProviderList.json
new file mode 100644
index 000000000000..360eef0b2e48
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ExpressRouteProviderList.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "providerName",
+ "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/",
+ "type": "Microsoft.Network/expressRouteServiceProviders",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringLocations": [
+ "peeringLocation1",
+ "peeringLocation2"
+ ],
+ "bandwidthsOffered": [
+ {
+ "offerName": "50Mbps",
+ "valueInMbps": 50
+ },
+ {
+ "offerName": "100Mbps",
+ "valueInMbps": 100
+ },
+ {
+ "offerName": "200Mbps",
+ "valueInMbps": 200
+ },
+ {
+ "offerName": "500Mbps",
+ "valueInMbps": 500
+ },
+ {
+ "offerName": "1Gbps",
+ "valueInMbps": 1000
+ },
+ {
+ "offerName": "2Gbps",
+ "valueInMbps": 2000
+ },
+ {
+ "offerName": "5Gbps",
+ "valueInMbps": 5000
+ },
+ {
+ "offerName": "10Gbps",
+ "valueInMbps": 10000
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyDelete.json
new file mode 100644
index 000000000000..dccd90ae83a1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "firewallPolicyName": "firewallPolicy"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyGet.json
new file mode 100644
index 000000000000..58f1335de444
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyGet.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "firewallPolicyName": "firewallPolicy"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "firewallPolicy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy",
+ "type": "Microsoft.Network/firewallPolicies",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "threatIntelMode": "Alert",
+ "ruleGroups": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1"
+ }
+ ],
+ "firewalls": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyListByResourceGroup.json
new file mode 100644
index 000000000000..83e62d6159ab
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyListByResourceGroup.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "firewallPolicy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy",
+ "type": "Microsoft.Network/firewallPolicies",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "threatIntelMode": "Alert",
+ "ruleGroups": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1"
+ }
+ ],
+ "firewalls": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyListBySubscription.json
new file mode 100644
index 000000000000..0f2ac02e1b77
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyListBySubscription.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "firewallPolicy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy",
+ "type": "Microsoft.Network/firewallPolicies",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "threatIntelMode": "Alert",
+ "ruleGroups": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1"
+ }
+ ],
+ "firewalls": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyPut.json
new file mode 100644
index 000000000000..65e8de5d0e87
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyPut.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "firewallPolicyName": "firewallPolicy",
+ "parameters": {
+ "tags": {
+ "key1": "value1"
+ },
+ "location": "West US",
+ "properties": {
+ "threatIntelMode": "Alert"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "firewallPolicy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy",
+ "type": "Microsoft.Network/firewallPolicies",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "threatIntelMode": "Alert",
+ "ruleGroups": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/rulegroup1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/rulegroup2"
+ }
+ ],
+ "firewalls": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "firewallPolicy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy",
+ "type": "Microsoft.Network/firewallPolicies",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "threatIntelMode": "Alert",
+ "ruleGroups": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/rulegroup2"
+ }
+ ],
+ "firewalls": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyRuleGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyRuleGroupDelete.json
new file mode 100644
index 000000000000..050b78a9569e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyRuleGroupDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "ruleGroupName": "ruleGroup1",
+ "firewallPolicyName": "firewallPolicy",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyRuleGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyRuleGroupGet.json
new file mode 100644
index 000000000000..819e59deadd2
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyRuleGroupGet.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "ruleGroupName": "ruleGroup1",
+ "firewallPolicyName": "firewallPolicy",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "ruleGroup1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1",
+ "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "priority": 110,
+ "rules": [
+ {
+ "ruleType": "FirewallPolicyFilterRule",
+ "name": "Example-Filter-Rule",
+ "priority": 200,
+ "action": {
+ "type": "Deny"
+ },
+ "ruleConditions": [
+ {
+ "ruleConditionType": "NetworkRuleCondition",
+ "name": "network-condition1",
+ "sourceAddresses": [
+ "10.1.25.0/24"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "ipProtocols": [
+ "TCP"
+ ],
+ "destinationPorts": [
+ "*"
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyRuleGroupList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyRuleGroupList.json
new file mode 100644
index 000000000000..af79746ff019
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyRuleGroupList.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "firewallPolicyName": "firewallPolicy",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "ruleGroup1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1",
+ "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "priority": 110,
+ "rules": [
+ {
+ "name": "Example-Filter-Rule",
+ "ruleType": "FirewallPolicyFilterRule",
+ "priority": 120,
+ "action": {
+ "type": "Deny"
+ },
+ "ruleConditions": [
+ {
+ "name": "network-condition-1",
+ "ruleConditionType": "NetworkRuleCondition",
+ "description": "Network rule condition",
+ "destinationAddresses": [
+ "*"
+ ],
+ "sourceAddresses": [
+ "10.1.25.0/24"
+ ],
+ "ipProtocols": [
+ "TCP"
+ ],
+ "destinationPorts": [
+ "*"
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyRuleGroupPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyRuleGroupPut.json
new file mode 100644
index 000000000000..b580a589dbd1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/FirewallPolicyRuleGroupPut.json
@@ -0,0 +1,119 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "firewallPolicyName": "firewallPolicy",
+ "ruleGroupName": "ruleGroup1",
+ "parameters": {
+ "properties": {
+ "priority": 110,
+ "rules": [
+ {
+ "ruleType": "FirewallPolicyFilterRule",
+ "name": "Example-Filter-Rule",
+ "action": {
+ "type": "Deny"
+ },
+ "ruleConditions": [
+ {
+ "ruleConditionType": "NetworkRuleCondition",
+ "name": "network-condition1",
+ "sourceAddresses": [
+ "10.1.25.0/24"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "ipProtocols": [
+ "TCP"
+ ],
+ "destinationPorts": [
+ "*"
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "ruleGroup1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "priority": 110,
+ "rules": [
+ {
+ "ruleType": "FirewallPolicyFilterRule",
+ "name": "Example-Filter-Rule",
+ "action": {
+ "type": "Deny"
+ },
+ "ruleConditions": [
+ {
+ "ruleConditionType": "NetworkRuleCondition",
+ "name": "network-condition1",
+ "sourceAddresses": [
+ "10.1.25.0/24"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "ipProtocols": [
+ "TCP"
+ ],
+ "destinationPorts": [
+ "*"
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "firewallPolicy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "priority": 110,
+ "rules": [
+ {
+ "ruleType": "FirewallPolicyFilterRule",
+ "name": "Example-Filter-Rule",
+ "action": {
+ "type": "Deny"
+ },
+ "ruleConditions": [
+ {
+ "ruleConditionType": "NetworkRuleCondition",
+ "name": "network-condition1",
+ "sourceAddresses": [
+ "10.1.25.0/24"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "ipProtocols": [
+ "TCP"
+ ],
+ "destinationPorts": [
+ "*"
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/GenerateVirtualWanVpnServerConfigurationVpnProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/GenerateVirtualWanVpnServerConfigurationVpnProfile.json
new file mode 100644
index 000000000000..7298dc446811
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/GenerateVirtualWanVpnServerConfigurationVpnProfile.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualWANName": "wan1",
+ "vpnClientParams": {
+ "vpnServerConfigurationResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnconfig1",
+ "authenticationMethod": "EAPTLS"
+ }
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": ""
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/GetVirtualWanVpnServerConfigurations.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/GetVirtualWanVpnServerConfigurations.json
new file mode 100644
index 000000000000..96bf71a1197d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/GetVirtualWanVpnServerConfigurations.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "virtualWANName": "wan1"
+ },
+ "responses": {
+ "200": {
+ "description": "Request successful.",
+ "body": {
+ "vpnServerConfigurationResourceIds": [
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnconfig1",
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnconfig2"
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/HubVirtualNetworkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/HubVirtualNetworkConnectionGet.json
new file mode 100644
index 000000000000..7c2f6db933fb
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/HubVirtualNetworkConnectionGet.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "connectionName": "connection1",
+ "virtualHubName": "virtualHub1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "connection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVirtualNetwork": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1"
+ },
+ "allowHubToRemoteVnetTransit": true,
+ "allowRemoteVnetToUseHubVnetGateways": false
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/HubVirtualNetworkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/HubVirtualNetworkConnectionList.json
new file mode 100644
index 000000000000..2680f2fcf663
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/HubVirtualNetworkConnectionList.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "connectionName": "connection1",
+ "virtualHubName": "virtualHub1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "name": "connection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVirtualNetwork": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1"
+ },
+ "allowHubToRemoteVnetTransit": true,
+ "allowRemoteVnetToUseHubVnetGateways": false
+ }
+ },
+ {
+ "name": "connection2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVirtualNetwork": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2"
+ },
+ "allowHubToRemoteVnetTransit": true,
+ "allowRemoteVnetToUseHubVnetGateways": false
+ }
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/InboundNatRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/InboundNatRuleCreate.json
new file mode 100644
index 000000000000..9f3c3f9cf936
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/InboundNatRuleCreate.json
@@ -0,0 +1,66 @@
+{
+ "parameters": {
+ "resourceGroupName": "testrg",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "loadBalancerName": "lb1",
+ "inboundNatRuleName": "natRule1.1",
+ "inboundNatRuleParameters": {
+ "properties": {
+ "protocol": "Tcp",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1"
+ },
+ "frontendPort": 3390,
+ "backendPort": 3389,
+ "idleTimeoutInMinutes": 4,
+ "enableTcpReset": false,
+ "enableFloatingIP": false
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "natRule1.1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1"
+ },
+ "frontendPort": 3390,
+ "backendPort": 3389,
+ "enableFloatingIP": false,
+ "idleTimeoutInMinutes": 4,
+ "protocol": "Tcp",
+ "enableTcpReset": false,
+ "backendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "natRule1.1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1"
+ },
+ "frontendPort": 3390,
+ "backendPort": 3389,
+ "enableFloatingIP": false,
+ "idleTimeoutInMinutes": 4,
+ "protocol": "Tcp",
+ "enableTcpReset": false,
+ "backendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/InboundNatRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/InboundNatRuleDelete.json
new file mode 100644
index 000000000000..56a18415883e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/InboundNatRuleDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "resourceGroupName": "testrg",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "loadBalancerName": "lb1",
+ "inboundNatRuleName": "natRule1.1"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/InboundNatRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/InboundNatRuleGet.json
new file mode 100644
index 000000000000..d59ab5388480
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/InboundNatRuleGet.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "resourceGroupName": "testrg",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "loadBalancerName": "lb1",
+ "inboundNatRuleName": "natRule1.1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "natRule1.1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1"
+ },
+ "frontendPort": 3390,
+ "backendPort": 3389,
+ "enableFloatingIP": false,
+ "idleTimeoutInMinutes": 4,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "backendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/InboundNatRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/InboundNatRuleList.json
new file mode 100644
index 000000000000..6ccf2536ea91
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/InboundNatRuleList.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "resourceGroupName": "testrg",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "loadBalancerName": "lb1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "natRule1.1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1"
+ },
+ "frontendPort": 3390,
+ "backendPort": 3389,
+ "enableFloatingIP": false,
+ "idleTimeoutInMinutes": 4,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "backendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1"
+ }
+ }
+ },
+ {
+ "name": "natRule1.3",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1"
+ },
+ "frontendPort": 3392,
+ "backendPort": 3389,
+ "enableFloatingIP": false,
+ "idleTimeoutInMinutes": 4,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "backendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsCreate.json
new file mode 100644
index 000000000000..71fbe1881992
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsCreate.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "myResourceGroup",
+ "ipGroupsName": "ipGroups1",
+ "parameters": {
+ "tags": {
+ "key1": "value1"
+ },
+ "location": "West US",
+ "properties": {
+ "ipAddresses": [
+ "13.64.39.16/32",
+ "40.74.146.80/31",
+ "40.74.147.32/28"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "ipGroups1",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1",
+ "type": "Microsoft.Network/ipGroups",
+ "location": "westcentralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddresses": [
+ "13.64.39.16/32",
+ "40.74.146.80/31",
+ "40.74.147.32/28"
+ ],
+ "firewalls": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
+ }
+ ]
+ },
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
+ }
+ },
+ "201": {
+ "body": {
+ "name": "ipGroups1",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1",
+ "type": "Microsoft.Network/ipGroups",
+ "location": "westcentralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddresses": [
+ "13.64.39.16/32",
+ "40.74.146.80/31",
+ "40.74.147.32/28"
+ ],
+ "firewalls": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
+ }
+ ]
+ },
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
+ }
+ }
+ }
+ }
\ No newline at end of file
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsDelete.json
new file mode 100644
index 000000000000..27e2f1b75f9e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "myResourceGroup",
+ "ipGroupsName": "ipGroups1"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+ }
\ No newline at end of file
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsGet.json
new file mode 100644
index 000000000000..f70ac4a60a08
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsGet.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "myResourceGroup",
+ "ipGroupsName": "ipGroups1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "ipGroups1",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1",
+ "type": "Microsoft.Network/ipGroups",
+ "location": "westcentralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddresses": [
+ "13.64.39.16/32",
+ "40.74.146.80/31",
+ "40.74.147.32/28"
+ ],
+ "firewalls": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
+ }
+ ]
+ },
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
+ }
+ }
+ }
+ }
\ No newline at end of file
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListByResourceGroup.json
new file mode 100644
index 000000000000..de7cf32e55d8
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListByResourceGroup.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "myResourceGroup"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "ipGroups1",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups",
+ "type": "Microsoft.Network/ipGroups",
+ "location": "westcentralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddresses": [
+ "13.64.39.16/32",
+ "40.74.146.80/31",
+ "40.74.147.32/28"
+ ],
+ "firewalls": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
+ }
+ ]
+ },
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
+ },
+ {
+ "name": "ipGroups2",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups",
+ "type": "Microsoft.Network/ipGroups",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddresses": [
+ "14.64.39.16/32",
+ "41.74.146.80/31",
+ "42.74.147.32/28"
+ ],
+ "firewalls": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
+ }
+ ]
+ },
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
+ }
+ ]
+ }
+ }
+ }
+ }
\ No newline at end of file
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListBySubscription.json
new file mode 100644
index 000000000000..879878cbf8ce
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListBySubscription.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "iptag1",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup1/ipGroups",
+ "type": "Microsoft.Network/ipGroups",
+ "location": "westcentralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddresses": [
+ "13.64.39.16/32",
+ "40.74.146.80/31",
+ "40.74.147.32/28"
+ ],
+ "firewalls": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
+ }
+ ]
+ },
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
+ },
+ {
+ "name": "iptag2",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup2/ipGroups",
+ "type": "Microsoft.Network/ipGroups",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddresses": [
+ "14.64.39.16/32",
+ "41.74.146.80/31",
+ "42.74.147.32/28"
+ ],
+ "firewalls": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
+ }
+ ]
+ },
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
+ }
+ ]
+ }
+ }
+ }
+ }
\ No newline at end of file
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsUpdateTags.json
new file mode 100644
index 000000000000..41b5d3b0c716
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsUpdateTags.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "ipGroupsName": "ipGroups1",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "parameters": {
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "ipGroups1",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1",
+ "type": "Microsoft.Network/ipGroups",
+ "location": "westcentralus",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddresses": [
+ "13.64.39.16/32",
+ "40.74.146.80/31",
+ "40.74.147.32/28"
+ ],
+ "firewalls": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
+ }
+ ]
+ },
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
+ }
+ }
+ }
+ }
\ No newline at end of file
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerBackendAddressPoolGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerBackendAddressPoolGet.json
new file mode 100644
index 000000000000..a7e06554530d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerBackendAddressPoolGet.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb",
+ "backendAddressPoolName": "backend",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "backend",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "backendIPConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config"
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerBackendAddressPoolList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerBackendAddressPoolList.json
new file mode 100644
index 000000000000..8aeb5d78c164
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerBackendAddressPoolList.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "backend",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "backendIPConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config"
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerCreate.json
new file mode 100644
index 000000000000..1ba1efb72f68
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerCreate.json
@@ -0,0 +1,339 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "loadBalancerName": "lb",
+ "parameters": {
+ "location": "eastus",
+ "properties": {
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ }
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "properties": {}
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": false,
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ }
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "properties": {
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": false
+ }
+ }
+ ],
+ "inboundNatPools": []
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "eastus",
+ "sku": {
+ "name": "Basic"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": false,
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ },
+ "disableOutboundSnat": false
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": false
+ }
+ }
+ ],
+ "inboundNatPools": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "eastus",
+ "sku": {
+ "name": "Basic"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": false,
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ },
+ "disableOutboundSnat": false
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": false
+ }
+ }
+ ],
+ "inboundNatPools": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerCreateStandardSku.json
new file mode 100644
index 000000000000..fa7b4d72a0c4
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerCreateStandardSku.json
@@ -0,0 +1,339 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "loadBalancerName": "lb",
+ "parameters": {
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ }
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "properties": {}
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ }
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "properties": {
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp"
+ }
+ }
+ ],
+ "inboundNatPools": [],
+ "outboundRules": []
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ },
+ "disableOutboundSnat": false
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp"
+ }
+ }
+ ],
+ "outboundRules": [],
+ "inboundNatPools": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ },
+ "disableOutboundSnat": false
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp"
+ }
+ }
+ ],
+ "outboundRules": [],
+ "inboundNatPools": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerCreateWithInboundNatPool.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerCreateWithInboundNatPool.json
new file mode 100644
index 000000000000..66675c084979
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerCreateWithInboundNatPool.json
@@ -0,0 +1,180 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "loadBalancerName": "lb",
+ "parameters": {
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "frontendIPConfigurations": [
+ {
+ "properties": {
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet"
+ }
+ },
+ "name": "test",
+ "zones": [],
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test"
+ }
+ ],
+ "backendAddressPools": [],
+ "loadBalancingRules": [],
+ "probes": [],
+ "inboundNatRules": [],
+ "outboundRules": [],
+ "inboundNatPools": [
+ {
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test"
+ },
+ "protocol": "Tcp",
+ "frontendPortRangeStart": 8080,
+ "frontendPortRangeEnd": 8085,
+ "backendPort": 8888,
+ "idleTimeoutInMinutes": 10,
+ "enableFloatingIP": true,
+ "enableTcpReset": true
+ },
+ "name": "test",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "test",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet"
+ },
+ "inboundNatPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [],
+ "loadBalancingRules": [],
+ "probes": [],
+ "inboundNatRules": [],
+ "outboundRules": [],
+ "inboundNatPools": [
+ {
+ "name": "test",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test",
+ "type": "Microsoft.Network/loadBalancers/inboundNatPools",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendPortRangeStart": 8080,
+ "frontendPortRangeEnd": 8085,
+ "backendPort": 8888,
+ "idleTimeoutInMinutes": 10,
+ "enableFloatingIP": true,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "test",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet"
+ },
+ "inboundNatPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [],
+ "loadBalancingRules": [],
+ "probes": [],
+ "inboundNatRules": [],
+ "outboundRules": [],
+ "inboundNatPools": [
+ {
+ "name": "test",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test",
+ "type": "Microsoft.Network/loadBalancers/inboundNatPools",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendPortRangeStart": 8080,
+ "frontendPortRangeEnd": 8085,
+ "backendPort": 8888,
+ "idleTimeoutInMinutes": 10,
+ "enableFloatingIP": true,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerCreateWithOutboundRules.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerCreateWithOutboundRules.json
new file mode 100644
index 000000000000..e8ce9155ada2
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerCreateWithOutboundRules.json
@@ -0,0 +1,423 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "loadBalancerName": "lb",
+ "parameters": {
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "properties": {
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip"
+ }
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "properties": {}
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ },
+ "protocol": "Tcp",
+ "loadDistribution": "Default",
+ "frontendPort": 80,
+ "backendPort": 80,
+ "idleTimeoutInMinutes": 15,
+ "enableFloatingIP": true,
+ "disableOutboundSnat": true
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "properties": {
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp"
+ }
+ }
+ ],
+ "inboundNatPools": [],
+ "outboundRules": [
+ {
+ "name": "rule1",
+ "properties": {
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "frontendIPConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ }
+ ],
+ "protocol": "All"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
+ }
+ ],
+ "outboundRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1"
+ }
+ ],
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "outboundRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1"
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": false,
+ "loadDistribution": "Default",
+ "disableOutboundSnat": true,
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ }
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": false
+ }
+ }
+ ],
+ "outboundRules": [
+ {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1",
+ "type": "Microsoft.Network/loadBalancers/outboundRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "allocatedOutboundPorts": 1024,
+ "protocol": "All",
+ "enableTcpReset": false,
+ "idleTimeoutInMinutes": 4,
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "frontendIPConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatPools": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
+ }
+ ],
+ "outboundRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1"
+ }
+ ],
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "outboundRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1"
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": false,
+ "loadDistribution": "Default",
+ "disableOutboundSnat": true,
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ }
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": false
+ }
+ }
+ ],
+ "outboundRules": [
+ {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1",
+ "type": "Microsoft.Network/loadBalancers/outboundRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "allocatedOutboundPorts": 1024,
+ "protocol": "All",
+ "enableTcpReset": false,
+ "idleTimeoutInMinutes": 4,
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "frontendIPConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatPools": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerCreateWithZones.json
new file mode 100644
index 000000000000..46a399f570d2
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerCreateWithZones.json
@@ -0,0 +1,348 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "loadBalancerName": "lb",
+ "parameters": {
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ }
+ },
+ "zones": [
+ "1"
+ ]
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "properties": {}
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ }
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "properties": {
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp"
+ }
+ }
+ ],
+ "inboundNatPools": [],
+ "outboundRules": []
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ },
+ "disableOutboundSnat": false
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp"
+ }
+ }
+ ],
+ "outboundRules": [],
+ "inboundNatPools": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ },
+ "disableOutboundSnat": false
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp"
+ }
+ }
+ ],
+ "outboundRules": [],
+ "inboundNatPools": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerDelete.json
new file mode 100644
index 000000000000..9556d26952ca
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "loadBalancerName": "lb"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerFrontendIPConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerFrontendIPConfigurationGet.json
new file mode 100644
index 000000000000..193cd6020c02
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerFrontendIPConfigurationGet.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb",
+ "frontendIPConfigurationName": "frontend",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "frontend",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerFrontendIPConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerFrontendIPConfigurationList.json
new file mode 100644
index 000000000000..36a7fe56dd22
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerFrontendIPConfigurationList.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "resourceGroupName": "testrg",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "loadBalancerName": "lb"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "frontend",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerGet.json
new file mode 100644
index 000000000000..8e54cccac5cb
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerGet.json
@@ -0,0 +1,139 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "loadBalancerName": "lb"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers",
+ "location": "westus",
+ "sku": {
+ "name": "Basic"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ },
+ "disableOutboundSnat": false
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": true
+ }
+ }
+ ],
+ "inboundNatPools": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerList.json
new file mode 100644
index 000000000000..9aebde747776
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerList.json
@@ -0,0 +1,161 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers",
+ "location": "westus",
+ "sku": {
+ "name": "Basic"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "felb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "belb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb"
+ }
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "prlb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "inrlb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": true
+ }
+ }
+ ],
+ "inboundNatPools": []
+ }
+ },
+ {
+ "name": "lb2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers",
+ "location": "westus",
+ "sku": {
+ "name": "Basic"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [],
+ "backendAddressPools": [],
+ "loadBalancingRules": [],
+ "probes": [],
+ "inboundNatRules": [],
+ "inboundNatPools": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerListAll.json
new file mode 100644
index 000000000000..6a3dbdcb10f1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerListAll.json
@@ -0,0 +1,160 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers",
+ "location": "westus",
+ "sku": {
+ "name": "Basic"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "felb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "belb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb"
+ }
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "prlb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "inrlb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": true
+ }
+ }
+ ],
+ "inboundNatPools": []
+ }
+ },
+ {
+ "name": "lb3",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers",
+ "location": "westus",
+ "sku": {
+ "name": "Basic"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [],
+ "backendAddressPools": [],
+ "loadBalancingRules": [],
+ "probes": [],
+ "inboundNatRules": [],
+ "inboundNatPools": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerLoadBalancingRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerLoadBalancingRuleGet.json
new file mode 100644
index 000000000000..a776845889e1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerLoadBalancingRuleGet.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb1",
+ "loadBalancingRuleName": "rule1",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": false,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerLoadBalancingRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerLoadBalancingRuleList.json
new file mode 100644
index 000000000000..fe176e06d0bf
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerLoadBalancingRuleList.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb1",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": false,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerNetworkInterfaceListSimple.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerNetworkInterfaceListSimple.json
new file mode 100644
index 000000000000..fd6763f9c10e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerNetworkInterfaceListSimple.json
@@ -0,0 +1,59 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "mynic",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet"
+ },
+ "privateIPAddressVersion": "IPv4",
+ "loadBalancerBackendAddressPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1"
+ }
+ ],
+ "loadBalancerInboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1"
+ }
+ ]
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": []
+ },
+ "enableAcceleratedNetworking": false,
+ "enableIPForwarding": false
+ },
+ "type": "Microsoft.Network/networkInterfaces"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerNetworkInterfaceListVmss.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerNetworkInterfaceListVmss.json
new file mode 100644
index 000000000000..dc8825f97056
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerNetworkInterfaceListVmss.json
@@ -0,0 +1,112 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "vmss1Nic",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "ipConfigurations": [
+ {
+ "name": "vmss1IpConfig",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4",
+ "loadBalancerBackendAddressPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool"
+ }
+ ],
+ "loadBalancerInboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0"
+ }
+ ]
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": [],
+ "internalDomainNameSuffix": "aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net"
+ },
+ "macAddress": "00-00-00-00-00-00",
+ "enableAcceleratedNetworking": false,
+ "enableIPForwarding": false,
+ "primary": true,
+ "virtualMachine": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0"
+ }
+ }
+ },
+ {
+ "name": "vmss1Nic",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "ipConfigurations": [
+ {
+ "name": "vmss1IpConfig",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.5",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4",
+ "loadBalancerBackendAddressPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool"
+ }
+ ],
+ "loadBalancerInboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1"
+ }
+ ]
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": [],
+ "internalDomainNameSuffix": "aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net"
+ },
+ "macAddress": "00-00-00-00-00-00",
+ "enableAcceleratedNetworking": false,
+ "enableIPForwarding": false,
+ "primary": true,
+ "virtualMachine": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerOutboundRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerOutboundRuleGet.json
new file mode 100644
index 000000000000..37e3ab17b25e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerOutboundRuleGet.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb1",
+ "outboundRuleName": "rule1",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1",
+ "type": "Microsoft.Network/loadBalancers/outboundRules",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend"
+ }
+ ],
+ "allocatedOutboundPorts": 64,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerOutboundRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerOutboundRuleList.json
new file mode 100644
index 000000000000..56f6be71a623
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerOutboundRuleList.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb1",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1",
+ "type": "Microsoft.Network/loadBalancers/outboundRules",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend"
+ }
+ ],
+ "allocatedOutboundPorts": 64,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerProbeGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerProbeGet.json
new file mode 100644
index 000000000000..e5e8ca10757f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerProbeGet.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb",
+ "probeName": "probe1",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "probe1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerProbeList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerProbeList.json
new file mode 100644
index 000000000000..12cc1b95b865
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerProbeList.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "prlb",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerUpdateTags.json
new file mode 100644
index 000000000000..532172bb188c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LoadBalancerUpdateTags.json
@@ -0,0 +1,132 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "loadBalancerName": "lb",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ },
+ "disableOutboundSnat": false
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp"
+ }
+ }
+ ],
+ "outboundRules": [],
+ "inboundNatPools": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LocalNetworkGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LocalNetworkGatewayCreate.json
new file mode 100644
index 000000000000..ab8836553d23
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LocalNetworkGatewayCreate.json
@@ -0,0 +1,59 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "localNetworkGatewayName": "localgw",
+ "parameters": {
+ "properties": {
+ "localNetworkAddressSpace": {
+ "addressPrefixes": [
+ "10.1.0.0/16"
+ ]
+ },
+ "gatewayIpAddress": "11.12.13.14"
+ },
+ "location": "Central US"
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "localgw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/localNetworkGateways",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Updating",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "localNetworkAddressSpace": {
+ "addressPrefixes": [
+ "10.1.0.0/16"
+ ]
+ },
+ "gatewayIpAddress": "11.12.13.14"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "localgw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/localNetworkGateways",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Updating",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "localNetworkAddressSpace": {
+ "addressPrefixes": [
+ "10.1.0.0/16"
+ ]
+ },
+ "gatewayIpAddress": "11.12.13.14"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LocalNetworkGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LocalNetworkGatewayDelete.json
new file mode 100644
index 000000000000..baee9dbbcac0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LocalNetworkGatewayDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "localNetworkGatewayName": "localgw"
+ },
+ "responses": {
+ "202": {},
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LocalNetworkGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LocalNetworkGatewayGet.json
new file mode 100644
index 000000000000..660d5a2375ec
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LocalNetworkGatewayGet.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "localNetworkGatewayName": "localgw"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "localgw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/localNetworkGateways",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "localNetworkAddressSpace": {
+ "addressPrefixes": [
+ "10.1.0.0/16"
+ ]
+ },
+ "gatewayIpAddress": "x.x.x.x"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LocalNetworkGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LocalNetworkGatewayList.json
new file mode 100644
index 000000000000..4ec2f5256d2c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LocalNetworkGatewayList.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "localgw1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/localNetworkGateways",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "localNetworkAddressSpace": {
+ "addressPrefixes": [
+ "10.1.0.0/16"
+ ]
+ },
+ "gatewayIpAddress": "x.x.x.x"
+ }
+ },
+ {
+ "name": "localgw2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/localNetworkGateways",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "localNetworkAddressSpace": {
+ "addressPrefixes": [
+ "10.2.0.0/16"
+ ]
+ },
+ "gatewayIpAddress": "x.x.x.x"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LocalNetworkGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LocalNetworkGatewayUpdateTags.json
new file mode 100644
index 000000000000..5276850c8983
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/LocalNetworkGatewayUpdateTags.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "localNetworkGatewayName": "lgw",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "lgw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw",
+ "type": "Microsoft.Network/localNetworkGateways",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "localNetworkAddressSpace": {
+ "addressPrefixes": [
+ "12.0.0.0/8"
+ ]
+ },
+ "gatewayIpAddress": "12.0.0.1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayCreateOrUpdate.json
new file mode 100644
index 000000000000..f9f43f38c70e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayCreateOrUpdate.json
@@ -0,0 +1,118 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "natGatewayName": "test-natgateway",
+ "parameters": {
+ "location": "westus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "publicIpAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ],
+ "publicIpPrefixes": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-natGateway",
+ "sku": {
+ "name": "Standard"
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway",
+ "location": "westus",
+ "properties": {
+ "idleTimeoutInMinutes": 5,
+ "provisioningState": "Succeeded",
+ "publicIpAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ],
+ "publicIpPrefixes": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/natGateways"
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-natGateway",
+ "sku": {
+ "name": "Standard"
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway",
+ "location": "westus",
+ "properties": {
+ "idleTimeoutInMinutes": 5,
+ "provisioningState": "Succeeded",
+ "publicIpAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ],
+ "publicIpPrefixes": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/natGateways"
+ }
+ },
+ "202": {
+ "body": {
+ "name": "test-natGateway",
+ "sku": {
+ "name": "Standard"
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway",
+ "location": "westus",
+ "properties": {
+ "idleTimeoutInMinutes": 5,
+ "provisioningState": "Succeeded",
+ "publicIpAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ],
+ "publicIpPrefixes": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/natGateways"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayDelete.json
new file mode 100644
index 000000000000..6c75d97c97a4
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "natGatewayName": "test-natGateway"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayGet.json
new file mode 100644
index 000000000000..66726298cac4
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayGet.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "natGatewayName": "test-natGateway"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-natGateway",
+ "sku": {
+ "name": "Standard"
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway",
+ "location": "westus",
+ "properties": {
+ "idleTimeoutInMinutes": 5,
+ "provisioningState": "Succeeded",
+ "publicIpAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ],
+ "publicIpPrefixes": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/natGateways"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayList.json
new file mode 100644
index 000000000000..842c0ae37731
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayList.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "test-natGateway",
+ "sku": {
+ "name": "Standard"
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateway/test-natGateway",
+ "location": "westus",
+ "properties": {
+ "idleTimeoutInMinutes": 5,
+ "provisioningState": "Succeeded",
+ "publicIpAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ],
+ "publicIpPrefixes": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/natGateways"
+ },
+ {
+ "name": "test-natGateway2",
+ "sku": {
+ "name": "Standard"
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGateway/test-natGateway2",
+ "location": "westus",
+ "properties": {
+ "idleTimeoutInMinutes": 5,
+ "provisioningState": "Succeeded",
+ "publicIpAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ],
+ "publicIpPrefixes": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/natGateways"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayListAll.json
new file mode 100644
index 000000000000..4650b9440059
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayListAll.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "test-natGateway",
+ "sku": {
+ "name": "Standard"
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway",
+ "location": "westus",
+ "properties": {
+ "idleTimeoutInMinutes": 5,
+ "provisioningState": "Succeeded",
+ "publicIpAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ],
+ "publicIpPrefixes": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/natGateways"
+ },
+ {
+ "name": "test-natGateway2",
+ "sku": {
+ "name": "Standard"
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGatewayes/test-natGateway2",
+ "location": "westus",
+ "properties": {
+ "idleTimeoutInMinutes": 5,
+ "provisioningState": "Succeeded",
+ "publicIpAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ],
+ "publicIpPrefixes": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/natGateways"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayUpdateTags.json
new file mode 100644
index 000000000000..7caafaabfed6
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NatGatewayUpdateTags.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "natGatewayName": "test-natGateway",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-natGateway",
+ "sku": {
+ "name": "Standard"
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway",
+ "location": "westus",
+ "properties": {
+ "idleTimeoutInMinutes": 5,
+ "provisioningState": "Succeeded",
+ "publicIpAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ],
+ "publicIpPrefixes": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1"
+ }
+ ]
+ },
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.Network/natGateways"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceCreate.json
new file mode 100644
index 000000000000..bf7e5dab925a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceCreate.json
@@ -0,0 +1,101 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkInterfaceName": "test-nic",
+ "parameters": {
+ "properties": {
+ "enableAcceleratedNetworking": true,
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "properties": {
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default"
+ }
+ }
+ }
+ ]
+ },
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-nic",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "172.20.2.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": []
+ },
+ "enableAcceleratedNetworking": true,
+ "enableIPForwarding": false
+ },
+ "type": "Microsoft.Network/networkInterfaces"
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-nic",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "172.20.2.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": []
+ },
+ "enableAcceleratedNetworking": true,
+ "enableIPForwarding": false
+ },
+ "type": "Microsoft.Network/networkInterfaces"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceDelete.json
new file mode 100644
index 000000000000..4038c3ed3035
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkInterfaceName": "test-nic"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceEffectiveNSGList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceEffectiveNSGList.json
new file mode 100644
index 000000000000..90faa0c84f82
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceEffectiveNSGList.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkInterfaceName": "nic1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "networkSecurityGroup": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/test-nsg"
+ },
+ "association": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default"
+ },
+ "networkInterface": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1"
+ }
+ },
+ "effectiveSecurityRules": [
+ {
+ "name": "securityRules/rule1",
+ "protocol": "Tcp",
+ "sourcePortRange": "456-456",
+ "destinationPortRange": "6579-6579",
+ "sourceAddressPrefix": "0.0.0.0/32",
+ "destinationAddressPrefix": "0.0.0.0/32",
+ "access": "Allow",
+ "priority": 234,
+ "direction": "Inbound"
+ },
+ {
+ "name": "securityRules/default-allow-rdp",
+ "protocol": "Tcp",
+ "sourcePortRange": "0-65535",
+ "destinationPortRange": "3389-3389",
+ "sourceAddressPrefix": "1.1.1.1/32",
+ "destinationAddressPrefix": "0.0.0.0/0",
+ "access": "Allow",
+ "priority": 1000,
+ "direction": "Inbound"
+ },
+ {
+ "name": "defaultSecurityRules/AllowInternetOutBound",
+ "protocol": "All",
+ "sourcePortRange": "0-65535",
+ "destinationPortRange": "0-65535",
+ "sourceAddressPrefix": "0.0.0.0/0",
+ "destinationAddressPrefix": "Internet",
+ "expandedDestinationAddressPrefix": [
+ "32.0.0.0/3",
+ "4.0.0.0/6",
+ "2.0.0.0/7",
+ "1.0.0.0/8"
+ ],
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceEffectiveRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceEffectiveRouteTableList.json
new file mode 100644
index 000000000000..0b1fef48de38
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceEffectiveRouteTableList.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkInterfaceName": "nic1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "source": "Default",
+ "state": "Active",
+ "addressPrefix": [
+ "172.20.2.0/24"
+ ],
+ "nextHopType": "VnetLocal",
+ "nextHopIpAddress": []
+ },
+ {
+ "source": "Default",
+ "state": "Active",
+ "addressPrefix": [
+ "0.0.0.0/0"
+ ],
+ "nextHopType": "Internet",
+ "nextHopIpAddress": []
+ },
+ {
+ "source": "Default",
+ "state": "Active",
+ "addressPrefix": [
+ "10.0.0.0/8"
+ ],
+ "nextHopType": "None",
+ "nextHopIpAddress": []
+ },
+ {
+ "source": "Default",
+ "state": "Active",
+ "addressPrefix": [
+ "100.64.0.0/10"
+ ],
+ "nextHopType": "None",
+ "nextHopIpAddress": []
+ },
+ {
+ "source": "Default",
+ "state": "Active",
+ "addressPrefix": [
+ "172.16.0.0/12"
+ ],
+ "nextHopType": "None",
+ "nextHopIpAddress": []
+ },
+ {
+ "source": "Default",
+ "state": "Active",
+ "addressPrefix": [
+ "192.168.0.0/16"
+ ],
+ "nextHopType": "None",
+ "nextHopIpAddress": []
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceGet.json
new file mode 100644
index 000000000000..0ca65d185b51
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceGet.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkInterfaceName": "test-nic"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-nic",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "172.20.2.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": [],
+ "internalDomainNameSuffix": "test.bx.internal.cloudapp.net"
+ },
+ "macAddress": "00-0D-3A-1B-C7-21",
+ "enableAcceleratedNetworking": true,
+ "enableIPForwarding": false,
+ "networkSecurityGroup": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg"
+ },
+ "primary": true,
+ "virtualMachine": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1"
+ }
+ },
+ "type": "Microsoft.Network/networkInterfaces"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceIPConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceIPConfigurationGet.json
new file mode 100644
index 000000000000..bb28904402f0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceIPConfigurationGet.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "networkInterfaceName": "mynic",
+ "ipConfigurationName": "ipconfig1",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet"
+ },
+ "privateIPAddressVersion": "IPv4",
+ "loadBalancerBackendAddressPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1"
+ }
+ ],
+ "loadBalancerInboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1"
+ }
+ ],
+ "virtualNetworkTaps": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/vTAP1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/vTAP2"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceIPConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceIPConfigurationList.json
new file mode 100644
index 000000000000..9560724ebefc
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceIPConfigurationList.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "networkInterfaceName": "nic1",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet12/subnets/subnet12"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceList.json
new file mode 100644
index 000000000000..fb2badacf2b3
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceList.json
@@ -0,0 +1,92 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "test-nic",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "172.20.2.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": [],
+ "internalDomainNameSuffix": "test.bx.internal.cloudapp.net"
+ },
+ "macAddress": "00-0D-3A-1B-C7-21",
+ "enableAcceleratedNetworking": true,
+ "enableIPForwarding": false,
+ "networkSecurityGroup": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg"
+ },
+ "primary": true,
+ "virtualMachine": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1"
+ }
+ },
+ "type": "Microsoft.Network/networkInterfaces"
+ },
+ {
+ "name": "test-nic2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "172.20.2.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip2"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet2/subnets/default"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": []
+ },
+ "enableAcceleratedNetworking": true,
+ "enableIPForwarding": false
+ },
+ "type": "Microsoft.Network/networkInterfaces"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceListAll.json
new file mode 100644
index 000000000000..d8cb17151a46
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceListAll.json
@@ -0,0 +1,91 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "test-nic",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "172.20.2.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": [],
+ "internalDomainNameSuffix": "test.bx.internal.cloudapp.net"
+ },
+ "macAddress": "00-0D-3A-1B-C7-21",
+ "enableAcceleratedNetworking": true,
+ "enableIPForwarding": false,
+ "networkSecurityGroup": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg"
+ },
+ "primary": true,
+ "virtualMachine": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1"
+ }
+ },
+ "type": "Microsoft.Network/networkInterfaces"
+ },
+ {
+ "name": "test-nic2",
+ "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "172.20.2.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/publicIPAddresses/test-ip2"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/virtualNetworks/rgnew-vnet2/subnets/default"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": []
+ },
+ "enableAcceleratedNetworking": true,
+ "enableIPForwarding": false
+ },
+ "type": "Microsoft.Network/networkInterfaces"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceLoadBalancerList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceLoadBalancerList.json
new file mode 100644
index 000000000000..53cd69fc3762
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceLoadBalancerList.json
@@ -0,0 +1,139 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "networkInterfaceName": "nic1",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "lbname1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "type": "Microsoft.Network/loadBalancers",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "lbfrontend",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/publicIPAddresses/myDynamicPublicIP"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "bepool1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "backendIPConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1"
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": false,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1"
+ }
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "inbound1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": false,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "backendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1"
+ }
+ }
+ }
+ ],
+ "outboundRules": [],
+ "inboundNatPools": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceTapConfigurationCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceTapConfigurationCreate.json
new file mode 100644
index 000000000000..6345d57efce5
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceTapConfigurationCreate.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "networkInterfaceName": "mynic",
+ "tapConfigurationName": "tapconfiguration1",
+ "api-version": "2019-09-01",
+ "tapConfigurationParameters": {
+ "properties": {
+ "virtualNetworkTap": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "tapConfiguration1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1",
+ "etag": "etag",
+ "type": "Microsoft.Network/networkInterfaces/tapConfigurations",
+ "properties": {
+ "virtualNetworkTap": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap"
+ },
+ "provisioningState": "Succeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "tapConfiguration1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1",
+ "etag": "etag",
+ "type": "Microsoft.Network/networkInterfaces/tapConfigurations",
+ "properties": {
+ "virtualNetworkTap": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap"
+ },
+ "provisioningState": "Succeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceTapConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceTapConfigurationDelete.json
new file mode 100644
index 000000000000..df1ded8b06fa
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceTapConfigurationDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkInterfaceName": "test-networkinterface",
+ "tapConfigurationName": "test-tapconfiguration"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceTapConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceTapConfigurationGet.json
new file mode 100644
index 000000000000..e69cca0c8d48
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceTapConfigurationGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "networkInterfaceName": "mynic",
+ "tapConfigurationName": "tapconfiguration1",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "tapConfiguration1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1",
+ "etag": "etag",
+ "type": "Microsoft.Network/networkInterfaces/tapConfigurations",
+ "properties": {
+ "virtualNetworkTap": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap"
+ },
+ "provisioningState": "Succeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceTapConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceTapConfigurationList.json
new file mode 100644
index 000000000000..a497060822db
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceTapConfigurationList.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkInterfaceName": "mynic"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "tapConfiguration1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1",
+ "etag": "etag",
+ "type": "Microsoft.Network/networkInterfaces/tapConfigurations",
+ "properties": {
+ "virtualNetworkTap": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap"
+ },
+ "provisioningState": "Succeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceUpdateTags.json
new file mode 100644
index 000000000000..8a20d7024b18
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkInterfaceUpdateTags.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkInterfaceName": "test-nic",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-nic",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic",
+ "location": "eastus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "172.20.2.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": []
+ },
+ "enableAcceleratedNetworking": true,
+ "enableIPForwarding": false
+ },
+ "type": "Microsoft.Network/networkInterfaces"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileCreateConfigOnly.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileCreateConfigOnly.json
new file mode 100644
index 000000000000..8ad05f629147
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileCreateConfigOnly.json
@@ -0,0 +1,110 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkProfileName": "networkProfile1",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "containerNetworkInterfaceConfigurations": [
+ {
+ "name": "eth1",
+ "properties": {
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "networkProfile1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf",
+ "containerNetworkInterfaceConfigurations": [
+ {
+ "name": "eth1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ }
+ ],
+ "containerNetworkInterfaces": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "networkProfile1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf",
+ "containerNetworkInterfaceConfigurations": [
+ {
+ "name": "eth1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ }
+ ],
+ "containerNetworkInterfaces": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileDelete.json
new file mode 100644
index 000000000000..932360d135fd
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkProfileName": "networkProfile1"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileGetConfigOnly.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileGetConfigOnly.json
new file mode 100644
index 000000000000..d70d9ac045e7
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileGetConfigOnly.json
@@ -0,0 +1,84 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkProfileName": "networkProfile1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "networkProfile1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles",
+ "location": "centraluseuap",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf",
+ "containerNetworkInterfaceConfigurations": [
+ {
+ "name": "eth0",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfigprofile1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ },
+ {
+ "name": "ipconfigprofile2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ },
+ {
+ "name": "eth1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfigprofile3",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ }
+ ],
+ "containerNetworkInterfaces": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileGetWithContainerNic.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileGetWithContainerNic.json
new file mode 100644
index 000000000000..c81efdc305ef
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileGetWithContainerNic.json
@@ -0,0 +1,203 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkProfileName": "networkProfile1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "networkProfile1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "type": "Microsoft.Network/networkProfiles",
+ "location": "centraluseuap",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf",
+ "containerNetworkInterfaceConfigurations": [
+ {
+ "name": "eth0",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfigprofile1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ },
+ {
+ "name": "ipconfigprofile2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ],
+ "containerNetworkInterfaces": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ },
+ {
+ "name": "eth1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfigprofile3",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ],
+ "containerNetworkInterfaces": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ }
+ ],
+ "containerNetworkInterfaces": [
+ {
+ "name": "containerGroup1_eth0",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "containerNetworkInterfaceConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0"
+ },
+ "container": {
+ "id": "/subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1"
+ },
+ "ipConfigurations": []
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces"
+ },
+ {
+ "name": "containerGroup1_eth1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "containerNetworkInterfaceConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1"
+ },
+ "container": {
+ "id": "/subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1"
+ },
+ "ipConfigurations": []
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces"
+ },
+ {
+ "name": "containerGroup2_eth0",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "containerNetworkInterfaceConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0"
+ },
+ "container": {
+ "id": "/subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2"
+ },
+ "ipConfigurations": []
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces"
+ },
+ {
+ "name": "containerGroup2_eth1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "containerNetworkInterfaceConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1"
+ },
+ "container": {
+ "id": "/subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2"
+ },
+ "ipConfigurations": []
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces"
+ },
+ {
+ "name": "containerGroup3_eth0",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "containerNetworkInterfaceConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0"
+ },
+ "container": {
+ "id": "/subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3"
+ },
+ "ipConfigurations": []
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces"
+ },
+ {
+ "name": "containerGroup3_eth1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "containerNetworkInterfaceConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1"
+ },
+ "container": {
+ "id": "/subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3"
+ },
+ "ipConfigurations": []
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileList.json
new file mode 100644
index 000000000000..f373063e3559
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileList.json
@@ -0,0 +1,97 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1",
+ "name": "networkProfile1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf",
+ "containerNetworkInterfaceConfigurations": [
+ {
+ "name": "eth0",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfigprofile1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ },
+ {
+ "name": "ipconfigprofile2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ }
+ ],
+ "containerNetworkInterfaces": []
+ },
+ "type": "Microsoft.Network/networkProfiles",
+ "location": "centraluseuap"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile2",
+ "name": "networkProfile2",
+ "properties": {
+ "containerNetworkInterfaceConfigurations": [
+ {
+ "name": "eth1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfigprofile3",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ }
+ ],
+ "containerNetworkInterfaces": []
+ },
+ "type": "Microsoft.Network/networkProfiles",
+ "location": "centraluseuap"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileListAll.json
new file mode 100644
index 000000000000..5b578e9daf90
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileListAll.json
@@ -0,0 +1,84 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1",
+ "name": "networkProfile1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf",
+ "containerNetworkInterfaceConfigurations": [
+ {
+ "name": "eth0",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfigprofile1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ }
+ ],
+ "containerNetworkInterfaces": []
+ },
+ "type": "Microsoft.Network/networkProfiles",
+ "location": "centraluseuap"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile2",
+ "name": "networkProfile2",
+ "properties": {
+ "containerNetworkInterfaceConfigurations": [
+ {
+ "name": "eth1",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfigprofile3",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ }
+ ],
+ "containerNetworkInterfaces": []
+ },
+ "type": "Microsoft.Network/networkProfiles",
+ "location": "centraluseuap"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileUpdateTags.json
new file mode 100644
index 000000000000..fa9c6d9b0590
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkProfileUpdateTags.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkProfileName": "test-np",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-np",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-np",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf",
+ "containerNetworkInterfaceConfigurations": [
+ {
+ "name": "eth0",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfigprofile1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ }
+ ],
+ "containerNetworkInterfaces": []
+ },
+ "type": "Microsoft.Network/networkProfiles",
+ "location": "centraluseuap"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupCreate.json
new file mode 100644
index 000000000000..d45d92bda50a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupCreate.json
@@ -0,0 +1,233 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkSecurityGroupName": "testnsg",
+ "parameters": {
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testnsg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg",
+ "type": "Microsoft.Network/networkSecurityGroups",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "securityRules": [],
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testnsg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg",
+ "type": "Microsoft.Network/networkSecurityGroups",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "securityRules": [],
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupCreateWithRule.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupCreateWithRule.json
new file mode 100644
index 000000000000..b77784acce51
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupCreateWithRule.json
@@ -0,0 +1,282 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkSecurityGroupName": "testnsg",
+ "parameters": {
+ "properties": {
+ "securityRules": [
+ {
+ "name": "rule1",
+ "properties": {
+ "protocol": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "destinationPortRange": "80",
+ "sourcePortRange": "*",
+ "priority": 130,
+ "direction": "Inbound"
+ }
+ }
+ ]
+ },
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testnsg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg",
+ "type": "Microsoft.Network/networkSecurityGroups",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "securityRules": [
+ {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "80",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 130,
+ "direction": "Inbound"
+ }
+ }
+ ],
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testnsg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg",
+ "type": "Microsoft.Network/networkSecurityGroups",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "securityRules": [
+ {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "80",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 130,
+ "direction": "Inbound"
+ }
+ }
+ ],
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupDelete.json
new file mode 100644
index 000000000000..86ba72fe3224
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkSecurityGroupName": "testnsg"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupGet.json
new file mode 100644
index 000000000000..3e22d837c85e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupGet.json
@@ -0,0 +1,136 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkSecurityGroupName": "testnsg"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testnsg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg",
+ "type": "Microsoft.Network/networkSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "securityRules": [
+ {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "80",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 130,
+ "direction": "Inbound"
+ }
+ }
+ ],
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupList.json
new file mode 100644
index 000000000000..9c7ad5e74d7f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupList.json
@@ -0,0 +1,231 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "nsg1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1",
+ "type": "Microsoft.Network/networkSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "securityRules": [],
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "nsg3",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3",
+ "type": "Microsoft.Network/networkSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "securityRules": [],
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupListAll.json
new file mode 100644
index 000000000000..1d53b66d7b9b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupListAll.json
@@ -0,0 +1,230 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "nsg1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1",
+ "type": "Microsoft.Network/networkSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "securityRules": [],
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "nsg3",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3",
+ "type": "Microsoft.Network/networkSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "securityRules": [],
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupRuleCreate.json
new file mode 100644
index 000000000000..81631f0dbd88
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupRuleCreate.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkSecurityGroupName": "testnsg",
+ "securityRuleName": "rule1",
+ "securityRuleParameters": {
+ "properties": {
+ "protocol": "*",
+ "sourceAddressPrefix": "10.0.0.0/8",
+ "destinationAddressPrefix": "11.0.0.0/8",
+ "access": "Deny",
+ "destinationPortRange": "8080",
+ "sourcePortRange": "*",
+ "priority": 100,
+ "direction": "Outbound"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "8080",
+ "sourceAddressPrefix": "10.0.0.0/8",
+ "destinationAddressPrefix": "11.0.0.0/8",
+ "access": "Deny",
+ "priority": 100,
+ "direction": "Outbound"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "8080",
+ "sourceAddressPrefix": "10.0.0.0/8",
+ "destinationAddressPrefix": "11.0.0.0/8",
+ "access": "Deny",
+ "priority": 100,
+ "direction": "Outbound"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupRuleDelete.json
new file mode 100644
index 000000000000..ecb20099fc53
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupRuleDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkSecurityGroupName": "testnsg",
+ "securityRuleName": "rule1"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupRuleGet.json
new file mode 100644
index 000000000000..ac8943a743d6
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupRuleGet.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkSecurityGroupName": "testnsg",
+ "securityRuleName": "rule1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "80",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 130,
+ "direction": "Inbound"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupRuleList.json
new file mode 100644
index 000000000000..46404cfa4de7
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupRuleList.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkSecurityGroupName": "testnsg"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "80",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 130,
+ "direction": "Inbound"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupUpdateTags.json
new file mode 100644
index 000000000000..58ce71f7b8ca
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkSecurityGroupUpdateTags.json
@@ -0,0 +1,130 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkSecurityGroupName": "testnsg",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testnsg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg",
+ "type": "Microsoft.Network/networkSecurityGroups",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "securityRules": [],
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherAvailableProvidersListGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherAvailableProvidersListGet.json
new file mode 100644
index 000000000000..80119a6fb4df
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherAvailableProvidersListGet.json
@@ -0,0 +1,68 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "azureLocations": [
+ "West US"
+ ],
+ "country": "United States",
+ "state": "washington",
+ "city": "seattle"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "countries": [
+ {
+ "countryName": "United States",
+ "states": [
+ {
+ "stateName": "washington",
+ "cities": [
+ {
+ "cityName": "seattle",
+ "providers": [
+ "Comcast Cable Communications, Inc. - ASN 7922",
+ "Comcast Cable Communications, LLC - ASN 7922",
+ "Level 3 Communications, Inc. (GBLX) - ASN 3549",
+ "Qwest Communications Company, LLC - ASN 209"
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ },
+ "202": {
+ "body": {
+ "countries": [
+ {
+ "countryName": "United States",
+ "states": [
+ {
+ "stateName": "washington",
+ "cities": [
+ {
+ "cityName": "seattle",
+ "providers": [
+ "Comcast Cable Communications, Inc. - ASN 7922",
+ "Comcast Cable Communications, LLC - ASN 7922",
+ "Level 3 Communications, Inc. (GBLX) - ASN 3549",
+ "Qwest Communications Company, LLC - ASN 209"
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherAzureReachabilityReportGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherAzureReachabilityReportGet.json
new file mode 100644
index 000000000000..bda4522ad3dc
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherAzureReachabilityReportGet.json
@@ -0,0 +1,82 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "providerLocation": {
+ "country": "United States",
+ "state": "washington"
+ },
+ "providers": [
+ "Frontier Communications of America, Inc. - ASN 5650"
+ ],
+ "azureLocations": [
+ "West US"
+ ],
+ "startTime": "2017-09-07T00:00:00Z",
+ "endTime": "2017-09-10T00:00:00Z"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "aggregationLevel": "State",
+ "providerLocation": {
+ "country": "United States",
+ "state": "washington"
+ },
+ "reachabilityReport": [
+ {
+ "provider": "Frontier Communications of America, Inc. - ASN 5650",
+ "azureLocation": "West US",
+ "latencies": [
+ {
+ "timeStamp": "2017-09-07T00:00:00Z",
+ "score": 94
+ },
+ {
+ "timeStamp": "2017-09-08T00:00:00Z",
+ "score": 94
+ },
+ {
+ "timeStamp": "2017-09-09T00:00:00Z",
+ "score": 94
+ }
+ ]
+ }
+ ]
+ }
+ },
+ "202": {
+ "body": {
+ "aggregationLevel": "State",
+ "providerLocation": {
+ "country": "United States",
+ "state": "washington"
+ },
+ "reachabilityReport": [
+ {
+ "provider": "Frontier Communications of America, Inc. - ASN 5650",
+ "azureLocation": "West US",
+ "latencies": [
+ {
+ "timeStamp": "2017-09-07T00:00:00Z",
+ "score": 94
+ },
+ {
+ "timeStamp": "2017-09-08T00:00:00Z",
+ "score": 94
+ },
+ {
+ "timeStamp": "2017-09-09T00:00:00Z",
+ "score": 94
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherConnectivityCheck.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherConnectivityCheck.json
new file mode 100644
index 000000000000..48cd3a114165
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherConnectivityCheck.json
@@ -0,0 +1,79 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "source": {
+ "resourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1"
+ },
+ "destination": {
+ "address": "192.168.100.4",
+ "port": 3389
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "hops": [
+ {
+ "type": "Source",
+ "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e",
+ "address": "10.1.1.4",
+ "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1",
+ "nextHopIds": [
+ "75c8d819-b208-4584-a311-1aa45ce753f9"
+ ],
+ "issues": []
+ },
+ {
+ "type": "VirtualNetwork",
+ "id": "75c8d819-b208-4584-a311-1aa45ce753f9",
+ "address": "192.168.100.4",
+ "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1",
+ "nextHopIds": [],
+ "issues": []
+ }
+ ],
+ "connectionStatus": "Connected",
+ "avgLatencyInMs": 1,
+ "minLatencyInMs": 1,
+ "maxLatencyInMs": 4,
+ "probesSent": 100,
+ "probesFailed": 0
+ }
+ },
+ "202": {
+ "body": {
+ "hops": [
+ {
+ "type": "Source",
+ "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e",
+ "address": "10.1.1.4",
+ "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1",
+ "nextHopIds": [
+ "75c8d819-b208-4584-a311-1aa45ce753f9"
+ ],
+ "issues": []
+ },
+ {
+ "type": "VirtualNetwork",
+ "id": "75c8d819-b208-4584-a311-1aa45ce753f9",
+ "address": "192.168.100.4",
+ "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1",
+ "nextHopIds": [],
+ "issues": []
+ }
+ ],
+ "connectionStatus": "Connected",
+ "avgLatencyInMs": 1,
+ "minLatencyInMs": 1,
+ "maxLatencyInMs": 4,
+ "probesSent": 100,
+ "probesFailed": 0
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherCreate.json
new file mode 100644
index 000000000000..7194440bcd6d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherCreate.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "nw1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/networkWatchers",
+ "location": "eastus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "nw1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/networkWatchers",
+ "location": "eastus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherDelete.json
new file mode 100644
index 000000000000..688b65a084fd
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherDelete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherFlowLogConfigure.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherFlowLogConfigure.json
new file mode 100644
index 000000000000..4bc53be3ed28
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherFlowLogConfigure.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1",
+ "properties": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1",
+ "enabled": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1",
+ "properties": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1",
+ "enabled": true
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1",
+ "properties": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1",
+ "enabled": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherFlowLogStatusQuery.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherFlowLogStatusQuery.json
new file mode 100644
index 000000000000..7940740b4519
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherFlowLogStatusQuery.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1",
+ "properties": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1",
+ "enabled": true
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1",
+ "properties": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1",
+ "enabled": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherGet.json
new file mode 100644
index 000000000000..1d0ae9292047
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherGet.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "nw1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/networkWatchers",
+ "location": "eastus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherIpFlowVerify.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherIpFlowVerify.json
new file mode 100644
index 000000000000..50bb5c589993
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherIpFlowVerify.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1",
+ "direction": "Outbound",
+ "protocol": "TCP",
+ "localPort": "80",
+ "remotePort": "80",
+ "localIPAddress": "10.2.0.4",
+ "remoteIPAddress": "121.10.1.1"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "access": "Allow",
+ "ruleName": "Rule1"
+ }
+ },
+ "202": {
+ "body": {
+ "access": "Allow",
+ "ruleName": "Rule1"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherList.json
new file mode 100644
index 000000000000..36dab0b593da
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherList.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "nw1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/networkWatchers",
+ "location": "eastus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "name": "nw2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/networkWatchers",
+ "location": "eastus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherListAll.json
new file mode 100644
index 000000000000..13df5531a1bd
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherListAll.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "nw1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/networkWatchers",
+ "location": "eastus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "name": "nw2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/networkWatchers",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json
new file mode 100644
index 000000000000..d1bb85091484
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json
@@ -0,0 +1,198 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1",
+ "profiles": [
+ {
+ "direction": "Inbound",
+ "protocol": "TCP",
+ "source": "10.1.0.4",
+ "destination": "12.11.12.14",
+ "destinationPort": "12100"
+ }
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "results": [
+ {
+ "profile": {
+ "direction": "Inbound",
+ "protocol": "TCP",
+ "source": "10.1.0.4",
+ "destination": "12.11.12.14",
+ "destinationPort": "12100"
+ },
+ "networkSecurityGroupResult": {
+ "securityRuleAccessResult": "Allow",
+ "evaluatedNetworkSecurityGroups": [
+ {
+ "networkSecurityGroupId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1",
+ "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet",
+ "matchedRule": {
+ "ruleName": "UserRule_fe_rule",
+ "action": "Allow"
+ },
+ "rulesEvaluationResult": [
+ {
+ "name": "UserRule_Cleanuptool-Allow-100",
+ "protocolMatched": true,
+ "sourceMatched": false,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": false
+ },
+ {
+ "name": "UserRule_Cleanuptool-Allow-101",
+ "protocolMatched": true,
+ "sourceMatched": true,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": false
+ },
+ {
+ "name": "UserRule_Cleanuptool-Allow-102",
+ "protocolMatched": true,
+ "sourceMatched": false,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": false
+ },
+ {
+ "name": "UserRule_Cleanuptool-Deny-103",
+ "protocolMatched": true,
+ "sourceMatched": true,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": false
+ },
+ {
+ "name": "UserRule_fe_rule",
+ "protocolMatched": true,
+ "sourceMatched": true,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": true
+ }
+ ]
+ },
+ {
+ "networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG",
+ "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic",
+ "matchedRule": {
+ "ruleName": "UserRule_fe_rule",
+ "action": "Allow"
+ },
+ "rulesEvaluationResult": [
+ {
+ "name": "UserRule_fe_rule",
+ "protocolMatched": true,
+ "sourceMatched": true,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": true
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "202": {
+ "body": {
+ "results": [
+ {
+ "profile": {
+ "direction": "Inbound",
+ "protocol": "TCP",
+ "source": "10.1.0.4",
+ "destination": "12.11.12.14",
+ "destinationPort": "12100"
+ },
+ "networkSecurityGroupResult": {
+ "securityRuleAccessResult": "Allow",
+ "evaluatedNetworkSecurityGroups": [
+ {
+ "networkSecurityGroupId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1",
+ "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet",
+ "matchedRule": {
+ "ruleName": "UserRule_fe_rule",
+ "action": "Allow"
+ },
+ "rulesEvaluationResult": [
+ {
+ "name": "UserRule_Cleanuptool-Allow-100",
+ "protocolMatched": true,
+ "sourceMatched": false,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": false
+ },
+ {
+ "name": "UserRule_Cleanuptool-Allow-101",
+ "protocolMatched": true,
+ "sourceMatched": true,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": false
+ },
+ {
+ "name": "UserRule_Cleanuptool-Allow-102",
+ "protocolMatched": true,
+ "sourceMatched": false,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": false
+ },
+ {
+ "name": "UserRule_Cleanuptool-Deny-103",
+ "protocolMatched": true,
+ "sourceMatched": true,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": false
+ },
+ {
+ "name": "UserRule_fe_rule",
+ "protocolMatched": true,
+ "sourceMatched": true,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": true
+ }
+ ]
+ },
+ {
+ "networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG",
+ "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic",
+ "matchedRule": {
+ "ruleName": "UserRule_fe_rule",
+ "action": "Allow"
+ },
+ "rulesEvaluationResult": [
+ {
+ "name": "UserRule_fe_rule",
+ "protocolMatched": true,
+ "sourceMatched": true,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": true
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherNextHopGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherNextHopGet.json
new file mode 100644
index 000000000000..b6d58ec3715c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherNextHopGet.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1",
+ "sourceIPAddress": "10.0.0.5",
+ "destinationIPAddress": "10.0.0.10",
+ "targetNicResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextHopType": "VnetLocal",
+ "nextHopIpAddress": "10.0.0.1",
+ "routeTableId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1"
+ }
+ },
+ "202": {
+ "body": {
+ "nextHopType": "VnetLocal",
+ "nextHopIpAddress": "10.0.0.1",
+ "routeTableId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCaptureCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCaptureCreate.json
new file mode 100644
index 000000000000..b1171abaf5f0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCaptureCreate.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "packetCaptureName": "pc1",
+ "parameters": {
+ "properties": {
+ "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1",
+ "bytesToCapturePerPacket": 10000,
+ "totalBytesPerSession": 100000,
+ "timeLimitInSeconds": 100,
+ "storageLocation": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore",
+ "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap",
+ "filePath": "D:\\capture\\pc1.cap"
+ },
+ "filters": [
+ {
+ "protocol": "TCP",
+ "localIPAddress": "10.0.0.4",
+ "localPort": "80"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "pc1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1",
+ "properties": {
+ "provisioningState": "Updating",
+ "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1",
+ "bytesToCapturePerPacket": 10000,
+ "totalBytesPerSession": 100000,
+ "timeLimitInSeconds": 100,
+ "storageLocation": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore",
+ "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap",
+ "filePath": "D:\\capture\\pc1.cap"
+ },
+ "filters": [
+ {
+ "protocol": "TCP",
+ "localIPAddress": "10.0.0.4",
+ "localPort": "80"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCaptureDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCaptureDelete.json
new file mode 100644
index 000000000000..755492bb0d3b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCaptureDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "packetCaptureName": "pc1"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCaptureGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCaptureGet.json
new file mode 100644
index 000000000000..87061f055db3
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCaptureGet.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "packetCaptureName": "pc1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "pc1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Updating",
+ "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1",
+ "bytesToCapturePerPacket": 10000,
+ "totalBytesPerSession": 100000,
+ "timeLimitInSeconds": 100,
+ "storageLocation": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore",
+ "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap",
+ "filePath": "D:\\capture\\pc1.cap"
+ },
+ "filters": [
+ {
+ "protocol": "TCP",
+ "localIPAddress": "10.0.0.4",
+ "localPort": "80"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCaptureQueryStatus.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCaptureQueryStatus.json
new file mode 100644
index 000000000000..8a39ae32bb84
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCaptureQueryStatus.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "packetCaptureName": "pc1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "pc1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1",
+ "captureStartTime": "2016-09-07T12:35:24Z",
+ "packetCaptureStatus": "Stopped",
+ "stopReason": "TimeExceeded",
+ "packetCaptureError": []
+ }
+ },
+ "202": {
+ "body": {
+ "name": "pc1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1",
+ "captureStartTime": "2016-09-07T12:35:24Z",
+ "packetCaptureStatus": "Stopped",
+ "stopReason": "TimeExceeded",
+ "packetCaptureError": []
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCaptureStop.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCaptureStop.json
new file mode 100644
index 000000000000..2b7ab88ac486
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCaptureStop.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "packetCaptureName": "pc1"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCapturesList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCapturesList.json
new file mode 100644
index 000000000000..cb27ab11b458
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherPacketCapturesList.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "pc1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Updating",
+ "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1",
+ "bytesToCapturePerPacket": 10000,
+ "totalBytesPerSession": 100000,
+ "timeLimitInSeconds": 100,
+ "storageLocation": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore",
+ "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap",
+ "filePath": "D:\\capture\\pc1.cap"
+ },
+ "filters": [
+ {
+ "protocol": "TCP",
+ "localIPAddress": "10.0.0.4",
+ "localPort": "80"
+ }
+ ]
+ }
+ },
+ {
+ "name": "pc2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1",
+ "bytesToCapturePerPacket": 10000,
+ "totalBytesPerSession": 100000,
+ "timeLimitInSeconds": 100,
+ "storageLocation": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore",
+ "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc2.cap",
+ "filePath": "D:\\capture\\pc2.cap"
+ },
+ "filters": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherSecurityGroupViewGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherSecurityGroupViewGet.json
new file mode 100644
index 000000000000..a45ae33f370a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherSecurityGroupViewGet.json
@@ -0,0 +1,141 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1",
+ "securityRuleAssociations": {
+ "subnetAssociation": {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
+ "securityRules": [
+ {
+ "name": "fe_rule",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow Frontend",
+ "protocol": "Tcp",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "10.1.0.0/24",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 100,
+ "direction": "Inbound"
+ }
+ }
+ ]
+ },
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ }
+ ],
+ "effectiveSecurityRules": [
+ {
+ "name": "DefaultOutboundDenyAll",
+ "protocol": "All",
+ "sourcePortRange": "0-65535",
+ "destinationPortRange": "0-65535",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "202": {
+ "body": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1",
+ "securityRuleAssociations": {
+ "subnetAssociation": {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
+ "securityRules": [
+ {
+ "name": "fe_rule",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow Frontend",
+ "protocol": "Tcp",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "10.1.0.0/24",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 100,
+ "direction": "Inbound"
+ }
+ }
+ ]
+ },
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ }
+ ],
+ "effectiveSecurityRules": [
+ {
+ "name": "DefaultOutboundDenyAll",
+ "protocol": "All",
+ "sourcePortRange": "0-65535",
+ "destinationPortRange": "0-65535",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherTopologyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherTopologyGet.json
new file mode 100644
index 000000000000..76ebc9b78dcb
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherTopologyGet.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "targetResourceGroupName": "rg2"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "ce592f46-8164-4bf2-ad36-b8e4acf6fb68",
+ "createdDateTime": "2017-08-02T19:31:55.9461781Z",
+ "lastModified": "2017-05-27T00:00:13.2005337Z",
+ "resources": [
+ {
+ "name": "MultiTierApp0",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0",
+ "location": "westus",
+ "associations": [
+ {
+ "name": "appNic0",
+ "resourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0",
+ "associationType": "Contains"
+ },
+ {
+ "name": "appNic10",
+ "resourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10",
+ "associationType": "Contains"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherTroubleshootGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherTroubleshootGet.json
new file mode 100644
index 000000000000..7aa23188c771
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherTroubleshootGet.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1",
+ "properties": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1",
+ "storagePath": "https://st1.blob.core.windows.net/cn1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "startTime": "2017-01-12T00:19:47.0442834Z",
+ "endTime": "2017-01-12T00:20:09.914Z",
+ "code": "UnHealthy",
+ "results": [
+ {
+ "id": "000000",
+ "reasonType": "VipUnResponsive",
+ "summary": "We are sorry, your VPN gateway is unreachable from the Internet",
+ "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected",
+ "recommendedActions": [
+ {
+ "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet",
+ "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal",
+ "actionUriText": "Verify"
+ },
+ {
+ "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support",
+ "actionUri": "http://azure.microsoft.com/support",
+ "actionUriText": "contact support"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ "202": {
+ "body": {
+ "startTime": "2017-01-12T00:19:47.0442834Z",
+ "endTime": "2017-01-12T00:20:09.914Z",
+ "code": "UnHealthy",
+ "results": [
+ {
+ "id": "000000",
+ "reasonType": "VipUnResponsive",
+ "summary": "We are sorry, your VPN gateway is unreachable from the Internet",
+ "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected",
+ "recommendedActions": [
+ {
+ "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet",
+ "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal",
+ "actionUriText": "Verify"
+ },
+ {
+ "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support",
+ "actionUri": "http://azure.microsoft.com/support",
+ "actionUriText": "contact support"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherTroubleshootResultQuery.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherTroubleshootResultQuery.json
new file mode 100644
index 000000000000..02049cbf275f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherTroubleshootResultQuery.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "startTime": "2017-01-12T00:19:47.0442834Z",
+ "endTime": "2017-01-12T00:20:09.914Z",
+ "code": "UnHealthy",
+ "results": [
+ {
+ "id": "000000",
+ "reasonType": "VipUnResponsive",
+ "summary": "We are sorry, your VPN gateway is unreachable from the Internet",
+ "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected",
+ "recommendedActions": [
+ {
+ "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet",
+ "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal",
+ "actionUriText": "Verify"
+ },
+ {
+ "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support",
+ "actionUri": "http://azure.microsoft.com/support",
+ "actionUriText": "contact support"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ "202": {
+ "body": {
+ "startTime": "2017-01-12T00:19:47.0442834Z",
+ "endTime": "2017-01-12T00:20:09.914Z",
+ "code": "UnHealthy",
+ "results": [
+ {
+ "id": "000000",
+ "reasonType": "VipUnResponsive",
+ "summary": "We are sorry, your VPN gateway is unreachable from the Internet",
+ "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected",
+ "recommendedActions": [
+ {
+ "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet",
+ "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal",
+ "actionUriText": "Verify"
+ },
+ {
+ "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support",
+ "actionUri": "http://azure.microsoft.com/support",
+ "actionUriText": "contact support"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherUpdateTags.json
new file mode 100644
index 000000000000..a632f2cefca6
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherUpdateTags.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "nw1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/networkWatchers",
+ "location": "eastus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/OperationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/OperationList.json
new file mode 100644
index 000000000000..5c491c3c79f2
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/OperationList.json
@@ -0,0 +1,137 @@
+{
+ "parameters": {
+ "location": "westus",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Network/localnetworkgateways/read",
+ "display": {
+ "provider": "Microsoft Network",
+ "resource": "LocalNetworkGateway",
+ "operation": "Get LocalNetworkGateway",
+ "description": "Gets LocalNetworkGateway"
+ }
+ },
+ {
+ "name": "Microsoft.Network/localnetworkgateways/write",
+ "display": {
+ "provider": "Microsoft Network",
+ "resource": "LocalNetworkGateway",
+ "operation": "Create or update LocalNetworkGateway",
+ "description": "Creates or updates an existing LocalNetworkGateway"
+ }
+ },
+ {
+ "name": "Microsoft.Network/localnetworkgateways/delete",
+ "display": {
+ "provider": "Microsoft Network",
+ "resource": "LocalNetworkGateway",
+ "operation": "Delete LocalNetworkGateway",
+ "description": "Deletes LocalNetworkGateway"
+ }
+ },
+ {
+ "name": "Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read",
+ "display": {
+ "provider": "Microsoft Network",
+ "resource": "Network Interface metric definition",
+ "operation": "Read Network Interface metric definitions",
+ "description": "Gets available metrics for the Network Interface"
+ },
+ "origin": "system",
+ "properties": {
+ "serviceSpecification": {
+ "metricSpecifications": [
+ {
+ "name": "BytesSentRate",
+ "displayName": "Bytes Sent",
+ "displayDescription": "Number of bytes the Network Interface sent",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "00:01:00",
+ "retention": "00:00:00",
+ "blobDuration": "01:00:00"
+ },
+ {
+ "timeGrain": "01:00:00",
+ "retention": "00:00:00",
+ "blobDuration": "1.00:00:00"
+ }
+ ],
+ "enableRegionalMdmAccount": false,
+ "metricFilterPattern": "^__Ready__$",
+ "fillGapWithZero": false,
+ "dimensions": [],
+ "isInternal": false
+ },
+ {
+ "name": "BytesReceivedRate",
+ "displayName": "Bytes Received",
+ "displayDescription": "Number of bytes the Network Interface received",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "00:01:00",
+ "retention": "00:00:00",
+ "blobDuration": "01:00:00"
+ },
+ {
+ "timeGrain": "01:00:00",
+ "retention": "00:00:00",
+ "blobDuration": "1.00:00:00"
+ }
+ ],
+ "enableRegionalMdmAccount": false,
+ "metricFilterPattern": "^__Ready__$",
+ "fillGapWithZero": false,
+ "dimensions": [],
+ "isInternal": false
+ }
+ ]
+ }
+ }
+ },
+ {
+ "name": "Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read",
+ "display": {
+ "provider": "Microsoft Network",
+ "resource": "Network Security Groups Log Definitions",
+ "operation": "Get Network Security Group Event Log Definitions",
+ "description": "Gets the events for network security group"
+ },
+ "origin": "system",
+ "properties": {
+ "serviceSpecification": {
+ "logSpecifications": [
+ {
+ "name": "NetworkSecurityGroupEvent",
+ "displayName": "Network Security Group Event",
+ "blobDuration": "PT1H"
+ },
+ {
+ "name": "NetworkSecurityGroupRuleCounter",
+ "displayName": "Network Security Group Rule Counter",
+ "blobDuration": "PT1H"
+ },
+ {
+ "name": "NetworkSecurityGroupFlowEvent",
+ "displayName": "Network Security Group Rule Flow Event",
+ "blobDuration": "PT1H"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayDelete.json
new file mode 100644
index 000000000000..dbd87ee49354
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "gatewayName": "p2sVpnGateway1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayGenerateVpnProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayGenerateVpnProfile.json
new file mode 100644
index 000000000000..ad98d9455ee1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayGenerateVpnProfile.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "gatewayName": "p2sVpnGateway1",
+ "parameters": {
+ "authenticationMethod": "EAPTLS"
+ }
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": ""
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayGet.json
new file mode 100644
index 000000000000..7361982d641b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayGet.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "gatewayName": "p2sVpnGateway1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "p2sVpnGateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/p2sVpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "vpnServerConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"
+ },
+ "p2SConnectionConfigurations": [
+ {
+ "name": "P2SConnectionConfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnClientAddressPool": {
+ "addressPrefixes": [
+ "101.3.0.0/16"
+ ]
+ }
+ }
+ }
+ ],
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 2,
+ "allocatedIpAddresses": [
+ "1.1.1.1",
+ "2.2.2.2"
+ ],
+ "totalIngressBytesTransferred": 2000,
+ "totalEgressBytesTransferred": 3000
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayGetConnectionHealth.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayGetConnectionHealth.json
new file mode 100644
index 000000000000..f7aa7a526554
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayGetConnectionHealth.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "gatewayName": "p2sVpnGateway1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "p2sVpnGateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/p2sVpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "vpnServerConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"
+ },
+ "p2SConnectionConfigurations": [
+ {
+ "name": "P2SConnectionConfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnClientAddressPool": {
+ "addressPrefixes": [
+ "101.3.0.0/16"
+ ]
+ }
+ }
+ }
+ ],
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 2,
+ "allocatedIpAddresses": [
+ "1.1.1.1",
+ "2.2.2.2"
+ ],
+ "totalIngressBytesTransferred": 2000,
+ "totalEgressBytesTransferred": 3000
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayGetConnectionHealthDetailed.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayGetConnectionHealthDetailed.json
new file mode 100644
index 000000000000..9a4f1e6c9fc4
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayGetConnectionHealthDetailed.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "p2s-vpn-gateway-test",
+ "gatewayName": "p2svpngateway",
+ "api-version": "2019-09-01",
+ "request": {
+ "vpnUserNamesFilter": [
+ "vpnUser1",
+ "vpnUser2"
+ ],
+ "outputBlobSasUrl": "https://blobcortextesturl.blob.core.windows.net/folderforconfig/p2sconnectionhealths?sp=rw&se=2018-01-10T03%3A42%3A04Z&sv=2017-04-17&sig=WvXrT5bDmDFfgHs%2Brz%2BjAu123eRCNE9BO0eQYcPDT7pY%3D&sr=b"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": ""
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayList.json
new file mode 100644
index 000000000000..b1c3a8f99a98
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayList.json
@@ -0,0 +1,97 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "p2sVpnGateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/p2sVpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "vpnServerConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"
+ },
+ "p2SConnectionConfigurations": [
+ {
+ "name": "P2SConnectionConfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnClientAddressPool": {
+ "addressPrefixes": [
+ "101.3.0.0/16"
+ ]
+ }
+ }
+ }
+ ],
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 2,
+ "allocatedIpAddresses": [
+ "1.1.1.1",
+ "2.2.2.2"
+ ],
+ "totalIngressBytesTransferred": 2000,
+ "totalEgressBytesTransferred": 3000
+ }
+ }
+ },
+ {
+ "name": "p2sVpnGateway2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/p2sVpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2"
+ },
+ "vpnServerConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"
+ },
+ "p2SConnectionConfigurations": [
+ {
+ "name": "P2SConnectionConfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnClientAddressPool": {
+ "addressPrefixes": [
+ "101.4.0.0/16"
+ ]
+ }
+ }
+ }
+ ],
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 2,
+ "allocatedIpAddresses": [
+ "1.1.1.1",
+ "2.2.2.2"
+ ],
+ "totalIngressBytesTransferred": 2000,
+ "totalEgressBytesTransferred": 3000
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayListByResourceGroup.json
new file mode 100644
index 000000000000..382ee95cf6b5
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayListByResourceGroup.json
@@ -0,0 +1,93 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "p2sVpnGateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/p2sVpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "vpnServerConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"
+ },
+ "p2SConnectionConfigurations": [
+ {
+ "name": "P2SConnectionConfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
+ "properties": {
+ "vpnClientAddressPool": {
+ "addressPrefixes": [
+ "101.3.0.0/16"
+ ]
+ }
+ }
+ }
+ ],
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 2,
+ "allocatedIpAddresses": [
+ "1.1.1.1",
+ "2.2.2.2"
+ ],
+ "totalIngressBytesTransferred": 2000,
+ "totalEgressBytesTransferred": 3000
+ }
+ }
+ },
+ {
+ "name": "p2sVpnGateway2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/p2sVpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2"
+ },
+ "vpnServerConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"
+ },
+ "p2SConnectionConfigurations": [
+ {
+ "name": "P2SConnectionConfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
+ "properties": {
+ "vpnClientAddressPool": {
+ "addressPrefixes": [
+ "101.3.0.0/16"
+ ]
+ }
+ }
+ }
+ ],
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 2,
+ "allocatedIpAddresses": [
+ "1.1.1.1",
+ "2.2.2.2"
+ ],
+ "totalIngressBytesTransferred": 2000,
+ "totalEgressBytesTransferred": 3000
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayPut.json
new file mode 100644
index 000000000000..7d6f473cc399
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayPut.json
@@ -0,0 +1,118 @@
+{
+ "parameters": {
+ "gatewayName": "p2sVpnGateway1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "p2SVpnGatewayParameters": {
+ "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "vpnServerConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"
+ },
+ "p2SConnectionConfigurations": [
+ {
+ "name": "P2SConnectionConfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
+ "properties": {
+ "vpnClientAddressPool": {
+ "addressPrefixes": [
+ "101.3.0.0/16"
+ ]
+ }
+ }
+ }
+ ],
+ "vpnGatewayScaleUnit": 1
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "p2sVpnGateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/p2sVpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "vpnServerConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"
+ },
+ "p2SConnectionConfigurations": [
+ {
+ "name": "P2SConnectionConfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnClientAddressPool": {
+ "addressPrefixes": [
+ "101.3.0.0/16"
+ ]
+ }
+ }
+ }
+ ],
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 0,
+ "allocatedIpAddresses": [],
+ "totalIngressBytesTransferred": 0,
+ "totalEgressBytesTransferred": 0
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "p2sVpnGateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/p2sVpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "vpnServerConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"
+ },
+ "p2SConnectionConfigurations": [
+ {
+ "name": "P2SConnectionConfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnClientAddressPool": {
+ "addressPrefixes": [
+ "101.3.0.0/16"
+ ]
+ }
+ }
+ }
+ ],
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 0,
+ "allocatedIpAddresses": [],
+ "totalIngressBytesTransferred": 0,
+ "totalEgressBytesTransferred": 0
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayUpdateTags.json
new file mode 100644
index 000000000000..8b9b3eac59c9
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/P2SVpnGatewayUpdateTags.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "gatewayName": "p2sVpnGateway1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "p2SVpnGatewayParameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "p2sVpnGateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/p2sVpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "vpnServerConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"
+ },
+ "p2SConnectionConfigurations": [
+ {
+ "name": "P2SConnectionConfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
+ "properties": {
+ "vpnClientAddressPool": {
+ "addressPrefixes": [
+ "101.3.0.0/16"
+ ]
+ }
+ }
+ }
+ ],
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 2,
+ "allocatedIpAddresses": [
+ "1.1.1.1",
+ "2.2.2.2"
+ ],
+ "totalIngressBytesTransferred": 2000,
+ "totalEgressBytesTransferred": 3000
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PeerExpressRouteCircuitConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PeerExpressRouteCircuitConnectionGet.json
new file mode 100644
index 000000000000..f3c647e1a326
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PeerExpressRouteCircuitConnectionGet.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "connectionName": "60aee347-e889-4a42-8c1b-0aae8b1e4013",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid1",
+ "circuitName": "ExpressRouteARMCircuitA",
+ "peeringName": "AzurePrivatePeering"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "60aee347-e889-4a42-8c1b-0aae8b1e4013",
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013",
+ "etag": "W/\"6ffbbb06-da20-44ca-a34f-280c4653b1e9\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering"
+ },
+ "peerExpressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering"
+ },
+ "addressPrefix": "20.0.0.0/29",
+ "circuitConnectionStatus": "Connected",
+ "connectionName": "circuitConnectionWestusEastus",
+ "authResourceGuid": ""
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PeerExpressRouteCircuitConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PeerExpressRouteCircuitConnectionList.json
new file mode 100644
index 000000000000..e3135b8744f4
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PeerExpressRouteCircuitConnectionList.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid1",
+ "circuitName": "ExpressRouteARMCircuitA",
+ "peeringName": "AzurePrivatePeering"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "60aee347-e889-4a42-8c1b-0aae8b1e4013",
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013",
+ "etag": "W/\"6ffbbb06-da20-44ca-a34f-280c4653b1e9\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering"
+ },
+ "peerExpressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering"
+ },
+ "addressPrefix": "20.0.0.0/29",
+ "circuitConnectionStatus": "Connected",
+ "connectionName": "circuitConnectionWestusEastus",
+ "authResourceGuid": ""
+ }
+ },
+ {
+ "name": "c8b17193-8dd3-4f61-866d-8cdd2e2e268e",
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/c8b17193-8dd3-4f61-866d-8cdd2e2e268e",
+ "etag": "W/\"6ffbbb06-da20-44ca-a34f-280c4653b1e9\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering"
+ },
+ "peerExpressRouteCircuitPeering": {
+ "id": "/subscriptions/subid2/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitC/peerings/AzurePrivatePeering"
+ },
+ "addressPrefix": "30.0.0.0/29",
+ "circuitConnectionStatus": "Connected",
+ "connectionName": "circuitConnectionCentralusEastus",
+ "authResourceGuid": "64283012-d377-421d-8398-f6aeb2ac7ea0"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointCreate.json
new file mode 100644
index 000000000000..88987b0911f5
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointCreate.json
@@ -0,0 +1,98 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "privateEndpointName": "testPe",
+ "parameters": {
+ "location": "eastus2euap",
+ "properties": {
+ "privateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please approve my connection."
+ }
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testPe",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe",
+ "location": "eastus2euap",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please approve my connection.",
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "manualPrivateLinkServiceConnections": [],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234"
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testPe",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe",
+ "location": "eastus2euap",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please approve my connection.",
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointCreateForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointCreateForManualApproval.json
new file mode 100644
index 000000000000..debd88127751
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointCreateForManualApproval.json
@@ -0,0 +1,98 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "privateEndpointName": "testPe",
+ "parameters": {
+ "location": "eastus",
+ "properties": {
+ "manualPrivateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please manually approve my connection."
+ }
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testPe",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [],
+ "manualPrivateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please manually approve my connection.",
+ "privateLinkServiceConnectionState": {
+ "status": "Pending",
+ "description": "Awaiting approval",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234"
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testPe",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please approve my connection.",
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointDelete.json
new file mode 100644
index 000000000000..7af77ac72b60
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "privateEndpointName": "testPe"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointGet.json
new file mode 100644
index 000000000000..6ac3d4463383
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointGet.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "privateEndpointName": "testPe"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testPe",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe",
+ "type": "Microsoft.Network/privateEndpoints",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please approve my connection.",
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "manualPrivateLinkServiceConnections": [],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointGetForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointGetForManualApproval.json
new file mode 100644
index 000000000000..e8b2c7e4594e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointGetForManualApproval.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "privateEndpointName": "testPe"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testPe",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe",
+ "type": "Microsoft.Network/privateEndpoints",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [],
+ "manualPrivateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please manually approve my connection.",
+ "privateLinkServiceConnectionState": {
+ "status": "Pending",
+ "description": "Awaiting approval",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointList.json
new file mode 100644
index 000000000000..520c56bf8b2e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointList.json
@@ -0,0 +1,83 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1",
+ "name": "pe1",
+ "type": "Microsoft.Network/privateEndpoints",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please approve my connection for pe1.",
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "manualPrivateLinkServiceConnections": [],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234"
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe2",
+ "name": "pe2",
+ "type": "Microsoft.Network/privateEndpoints",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [],
+ "manualPrivateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please manually approve my connection for pe2.",
+ "privateLinkServiceConnectionState": {
+ "status": "Pending",
+ "description": "Awaiting approval",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointListAll.json
new file mode 100644
index 000000000000..f105f0abb19a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointListAll.json
@@ -0,0 +1,114 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1",
+ "name": "pe1",
+ "type": "Microsoft.Network/privateEndpoints",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please approve my connection for pe1.",
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234"
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/pe2",
+ "name": "pe2",
+ "type": "Microsoft.Network/privateEndpoints",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [],
+ "manualPrivateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please manually approve my connection for pe2.",
+ "privateLinkServiceConnectionState": {
+ "status": "Pending",
+ "description": "Awaiting approval",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876"
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/privateEndpoints/pe3",
+ "name": "pe3",
+ "type": "Microsoft.Network/privateEndpoints",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/privateLinkServices/testPls3",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please approve my connection for pe3.",
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet3"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg3/provders/Microsoft.Network/networkInterfaces/pe3.nic.efgh5463"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceCreate.json
new file mode 100644
index 000000000000..e9e9eb2b8b5c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceCreate.json
@@ -0,0 +1,155 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "serviceName": "testPls",
+ "parameters": {
+ "location": "eastus",
+ "properties": {
+ "visibility": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2",
+ "subscription3"
+ ]
+ },
+ "autoApproval": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2"
+ ]
+ },
+ "fqdns": [
+ "fqdn1",
+ "fqdn2",
+ "fqdn3"
+ ],
+ "loadBalancerFrontendIpConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ }
+ ],
+ "ipConfigurations": [
+ {
+ "name": "fe-lb",
+ "properties": {
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Static",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testPls",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "visibility": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2",
+ "subscription3"
+ ]
+ },
+ "autoApproval": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2"
+ ]
+ },
+ "fqdns": [
+ "fqdn1",
+ "fqdn2",
+ "fqdn3"
+ ],
+ "alias": "ContosoService.{guid}.azure.privatelinkservice",
+ "loadBalancerFrontendIpConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ }
+ ],
+ "ipConfigurations": [
+ {
+ "name": "fe-lb",
+ "properties": {
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Static",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ }
+ }
+ }
+ ],
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234"
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testPls",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "visibility": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2",
+ "subscription3"
+ ]
+ },
+ "autoApproval": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2"
+ ]
+ },
+ "fqdns": [
+ "fqdn1",
+ "fqdn2",
+ "fqdn3"
+ ],
+ "alias": "ContosoService.{guid}.azure.privatelinkservice",
+ "loadBalancerFrontendIpConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ }
+ ],
+ "ipConfigurations": [
+ {
+ "name": "fe-lb",
+ "properties": {
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Static",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ }
+ }
+ }
+ ],
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceDelete.json
new file mode 100644
index 000000000000..00157fcba8b7
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "serviceName": "testPls"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceDeletePrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceDeletePrivateEndpointConnection.json
new file mode 100644
index 000000000000..fb56bee1ce4f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceDeletePrivateEndpointConnection.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "serviceName": "testPls",
+ "peConnectionName": "testPlePeConnection"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceGet.json
new file mode 100644
index 000000000000..125070d91dce
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceGet.json
@@ -0,0 +1,77 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "serviceName": "testPls"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testPls",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "type": "Microsoft.Network/privateLinkServices",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "visibility": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2",
+ "subscription3"
+ ]
+ },
+ "autoApproval": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2"
+ ]
+ },
+ "fqdns": [
+ "fqdn1",
+ "fqdn2",
+ "fqdn3"
+ ],
+ "alias": "ContosoService.{guid}.azure.privatelinkservice",
+ "loadBalancerFrontendIpConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ }
+ ],
+ "ipConfigurations": [
+ {
+ "name": "fe-lb",
+ "properties": {
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Static",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ }
+ }
+ }
+ ],
+ "privateEndpointConnections": [
+ {
+ "name": "privateEndpointConnection",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "approved it for some reason."
+ }
+ }
+ }
+ ],
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceGetPrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceGetPrivateEndpointConnection.json
new file mode 100644
index 000000000000..63e8f7d6016d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceGetPrivateEndpointConnection.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "serviceName": "testPls",
+ "peConnectionName": "testPlePeConnection"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testPlePeConnection",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "approved it for some reason."
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceList.json
new file mode 100644
index 000000000000..055340f80dd8
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceList.json
@@ -0,0 +1,141 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testPls1",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1",
+ "type": "Microsoft.Network/privateLinkServices",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "visibility": {
+ "subscriptions": [
+ "subscription1"
+ ]
+ },
+ "autoApproval": {
+ "subscriptions": [
+ "subscription1"
+ ]
+ },
+ "fqdns": [
+ "fqdn1",
+ "fqdn2"
+ ],
+ "alias": "ContosoService.{guid}.azure.privatelinkservice",
+ "loadBalancerFrontendIpConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1"
+ }
+ ],
+ "ipConfigurations": [
+ {
+ "name": "fe-lb1",
+ "properties": {
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Static",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb1"
+ }
+ }
+ }
+ ],
+ "privateEndpointConnections": [
+ {
+ "name": "pec1",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "approved it for some reason."
+ }
+ }
+ }
+ ],
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls1.nic.abcd1234"
+ }
+ ]
+ }
+ },
+ {
+ "name": "testPls2",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2",
+ "type": "Microsoft.Network/privateLinkServices",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "visibility": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2",
+ "subscription3"
+ ]
+ },
+ "autoApproval": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2"
+ ]
+ },
+ "fqdns": [
+ "fqdn1",
+ "fqdn2",
+ "fqdn3"
+ ],
+ "alias": "ContosoService.{guid}.azure.privatelinkservice",
+ "loadBalancerFrontendIpConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2"
+ }
+ ],
+ "ipConfigurations": [
+ {
+ "name": "fe-lb2",
+ "properties": {
+ "privateIPAddress": "10.0.1.5",
+ "privateIPAllocationMethod": "Static",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb2"
+ }
+ }
+ }
+ ],
+ "privateEndpointConnections": [
+ {
+ "name": "pec2",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe2"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "approved it for some reason."
+ }
+ }
+ }
+ ],
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls2.nic.efgh5678"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceListAll.json
new file mode 100644
index 000000000000..3c735de83fb6
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceListAll.json
@@ -0,0 +1,142 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testPls1",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1",
+ "type": "Microsoft.Network/privateLinkServices",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "visibility": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2",
+ "subscription3"
+ ]
+ },
+ "autoApproval": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2"
+ ]
+ },
+ "fqdns": [
+ "fqdn1",
+ "fqdn2",
+ "fqdn3"
+ ],
+ "alias": "ContosoService.{guid}.azure.privatelinkservice",
+ "loadBalancerFrontendIpConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1"
+ }
+ ],
+ "ipConfigurations": [
+ {
+ "name": "fe-lb1",
+ "properties": {
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Static",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb1"
+ }
+ }
+ }
+ ],
+ "privateEndpointConnections": [
+ {
+ "name": "pec1",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "approved it for some reason."
+ }
+ }
+ }
+ ],
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls1.nic.abcd1234"
+ }
+ ]
+ }
+ },
+ {
+ "name": "testPls2",
+ "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateLinkServices/testPls2",
+ "type": "Microsoft.Network/privateLinkServices",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "visibility": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2"
+ ]
+ },
+ "autoApproval": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2"
+ ]
+ },
+ "fqdns": [
+ "fqdn1",
+ "fqdn2"
+ ],
+ "alias": "ContosoService.{guid}.azure.privatelinkservice",
+ "loadBalancerFrontendIpConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2"
+ }
+ ],
+ "ipConfigurations": [
+ {
+ "name": "fe-lb2",
+ "properties": {
+ "privateIPAddress": "10.0.1.5",
+ "privateIPAllocationMethod": "Static",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb2"
+ }
+ }
+ }
+ ],
+ "privateEndpointConnections": [
+ {
+ "name": "pec1",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/testPe2"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "approved it for some reason."
+ }
+ }
+ }
+ ],
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/testPls2.nic.efgh5678"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceListPrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceListPrivateEndpointConnection.json
new file mode 100644
index 000000000000..6813b31c9645
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceListPrivateEndpointConnection.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "serviceName": "testPls"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testPlePeConnection1",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "approved it for some reason."
+ }
+ }
+ },
+ {
+ "name": "testPlePeConnection2",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe2"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Rejected",
+ "description": "rejected by some reason."
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json
new file mode 100644
index 000000000000..db79ba568b11
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "serviceName": "testPls",
+ "peConnectionName": "testPlePeConnection",
+ "parameters": {
+ "name": "testPlePeConnection",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "approved it for some reason."
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testPlePeConnection",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "approved it for some reason."
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressCreateCustomizedValues.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressCreateCustomizedValues.json
new file mode 100644
index 000000000000..8a52102537ce
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressCreateCustomizedValues.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpAddressName": "test-ip",
+ "zones": [
+ "1"
+ ],
+ "parameters": {
+ "properties": {
+ "publicIPAllocationMethod": "Static",
+ "idleTimeoutInMinutes": 10,
+ "publicIPAddressVersion": "IPv4"
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testDNS-ip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip",
+ "location": "eastus",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Static",
+ "idleTimeoutInMinutes": 10,
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
+ }
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testDNS-ip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip",
+ "location": "eastus",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Static",
+ "idleTimeoutInMinutes": 10,
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
+ }
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressCreateDefaults.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressCreateDefaults.json
new file mode 100644
index 000000000000..f30084270744
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressCreateDefaults.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpAddressName": "test-ip",
+ "parameters": {
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testDNS-ip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Dynamic",
+ "idleTimeoutInMinutes": 4,
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
+ }
+ },
+ "sku": {
+ "name": "Basic"
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testDNS-ip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Dynamic",
+ "idleTimeoutInMinutes": 4,
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
+ }
+ },
+ "sku": {
+ "name": "Basic"
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressCreateDns.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressCreateDns.json
new file mode 100644
index 000000000000..994817d53108
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressCreateDns.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpAddressName": "test-ip",
+ "parameters": {
+ "properties": {
+ "dnsSettings": {
+ "domainNameLabel": "dnslbl"
+ }
+ },
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testDNS-ip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Dynamic",
+ "idleTimeoutInMinutes": 4,
+ "dnsSettings": {
+ "domainNameLabel": "dnslbl",
+ "fqdn": "dnslbl.westus.cloudapp.azure.com"
+ },
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
+ }
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testDNS-ip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Dynamic",
+ "idleTimeoutInMinutes": 4,
+ "dnsSettings": {
+ "domainNameLabel": "dnslbl",
+ "fqdn": "dnslbl.westus.cloudapp.azure.com"
+ },
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
+ }
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressDelete.json
new file mode 100644
index 000000000000..604078884c6c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpAddressName": "test-ip"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressGet.json
new file mode 100644
index 000000000000..1591cb1d787b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressGet.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpAddressName": "testDNS-ip"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testDNS-ip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Dynamic",
+ "idleTimeoutInMinutes": 4,
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
+ },
+ "ipTags": [
+ {
+ "ipTagType": "FirstPartyUsage",
+ "tag": "SQL"
+ },
+ {
+ "ipTagType": "FirstPartyUsage",
+ "tag": "Storage"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressList.json
new file mode 100644
index 000000000000..c6c59d9e9ddf
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressList.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testDNS-ip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Dynamic",
+ "idleTimeoutInMinutes": 4,
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
+ },
+ "ipTags": [
+ {
+ "ipTagType": "FirstPartyUsage",
+ "tag": "SQL"
+ },
+ {
+ "ipTagType": "FirstPartyUsage",
+ "tag": "Storage"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ },
+ {
+ "name": "ip03",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddress": "40.85.154.247",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Dynamic",
+ "idleTimeoutInMinutes": 4,
+ "dnsSettings": {
+ "domainNameLabel": "testlbl",
+ "fqdn": "testlbl.westus.cloudapp.azure.com"
+ },
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd"
+ }
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressListAll.json
new file mode 100644
index 000000000000..601f5a336a2d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressListAll.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testDNS-ip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Dynamic",
+ "idleTimeoutInMinutes": 4,
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
+ }
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ },
+ {
+ "name": "ip01",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddress": "40.85.154.247",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Dynamic",
+ "idleTimeoutInMinutes": 4,
+ "dnsSettings": {
+ "domainNameLabel": "testlbl",
+ "fqdn": "testlbl.westus.cloudapp.azure.com"
+ },
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd"
+ }
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressUpdateTags.json
new file mode 100644
index 000000000000..61595bdef1b6
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpAddressUpdateTags.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpAddressName": "test-ip",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testDNS-ip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Static",
+ "idleTimeoutInMinutes": 10,
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
+ }
+ },
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixCreateCustomizedValues.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixCreateCustomizedValues.json
new file mode 100644
index 000000000000..461a8d329094
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixCreateCustomizedValues.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpPrefixName": "test-ipprefix",
+ "zones": [
+ "1"
+ ],
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 30
+ },
+ "sku": {
+ "name": "Standard"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-ipprefix",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "westus",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 30,
+ "ipPrefix": "192.168.254.2/30",
+ "ipTags": []
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "type": "Microsoft.Network/publicIPPrefixes"
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-ipprefix",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ipprefix",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "westus",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 30,
+ "ipPrefix": "192.168.254.2/30",
+ "ipTags": []
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "type": "Microsoft.Network/publicIPPrefixes"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixCreateDefaults.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixCreateDefaults.json
new file mode 100644
index 000000000000..f1ad7fcda13a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixCreateDefaults.json
@@ -0,0 +1,59 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpPrefixName": "test-ipprefix",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "prefixLength": 30
+ },
+ "sku": {
+ "name": "Standard"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-ipprefix",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 30,
+ "ipPrefix": "192.168.254.2/30",
+ "ipTags": []
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "type": "Microsoft.Network/publicIPPrefixes"
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-ipprefix",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 30,
+ "ipPrefix": "192.168.254.2/30",
+ "ipTags": []
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "type": "Microsoft.Network/publicIPPrefixes"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixDelete.json
new file mode 100644
index 000000000000..5be1c8b34039
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpPrefixName": "test-ipprefix"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixGet.json
new file mode 100644
index 000000000000..4351b5be6224
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixGet.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpPrefixName": "test-ipprefix"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-ipprefix",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 30,
+ "ipPrefix": "192.168.254.2/30",
+ "ipTags": [],
+ "publicIPAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ]
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "type": "Microsoft.Network/publicIPPrefixes"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixList.json
new file mode 100644
index 000000000000..8c4e3df9be28
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixList.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "test-ipprefix",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 30,
+ "ipPrefix": "40.85.154.2/30",
+ "ipTags": [
+ {
+ "ipTagType": "FirstPartyUsage",
+ "tag": "SQL"
+ }
+ ]
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "type": "Microsoft.Network/publicIPPrefixes"
+ },
+ {
+ "name": "ipprefix03",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/ipprefix03",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 31,
+ "ipPrefix": "40.85.153.2/31",
+ "ipTags": []
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "type": "Microsoft.Network/publicIPPrefixes"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixListAll.json
new file mode 100644
index 000000000000..c036566d9e98
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixListAll.json
@@ -0,0 +1,76 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "test-ipprefix",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 30,
+ "ipPrefix": "41.85.154.247/30",
+ "ipTags": [],
+ "publicIPAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ]
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "type": "Microsoft.Network/publicIPPrefixes"
+ },
+ {
+ "name": "ipprefix01",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/ipprefix01",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "ipPrefix": "40.85.154.247/30",
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 30,
+ "ipTags": []
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "type": "Microsoft.Network/publicIPPrefixes"
+ },
+ {
+ "name": "pfx",
+ "id": "/subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/publicIPPrefixes/pfx",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/publicIPPrefixes",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "ipPrefix": "25.101.84.16/30",
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 30,
+ "ipTags": [],
+ "loadBalancerFrontendIpConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg3/providers/Microsoft.Network/loadBalancers/lb-pfx/frontendIPConfigurations/ipconfig1"
+ }
+ },
+ "sku": {
+ "name": "Standard"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixUpdateTags.json
new file mode 100644
index 000000000000..35e89528c878
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PublicIpPrefixUpdateTags.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpPrefixName": "test-ipprefix",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-ipprefix",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "publicIPAddressVersion": "IPv4",
+ "ipPrefix": "40.85.154.247/30",
+ "prefixLength": 30,
+ "ipTags": []
+ },
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "type": "Microsoft.Network/publicIPPrefixes"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterCreate.json
new file mode 100644
index 000000000000..65035733ccc6
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterCreate.json
@@ -0,0 +1,95 @@
+{
+ "parameters": {
+ "routeFilterName": "filterName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "routeFilterParameters": {
+ "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "rules": [
+ {
+ "name": "ruleName",
+ "properties": {
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "filterName",
+ "type": "Microsoft.Network/routeFilters",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "rules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "ruleName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ ],
+ "peerings": []
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "filterName",
+ "type": "Microsoft.Network/routeFilters",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "rules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "ruleName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ ],
+ "peerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterDelete.json
new file mode 100644
index 000000000000..916039501099
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "routeFilterName": "filterName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterGet.json
new file mode 100644
index 000000000000..0b9b47bb99d5
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterGet.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "routeFilterName": "filterName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "filterName",
+ "type": "Microsoft.Network/routeFilters",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "rules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "ruleName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ ],
+ "peerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterList.json
new file mode 100644
index 000000000000..745cbbca5314
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterList.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "filterName",
+ "type": "Microsoft.Network/routeFilters",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "rules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "ruleName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ ],
+ "peerings": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterListByResourceGroup.json
new file mode 100644
index 000000000000..315228b013b3
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterListByResourceGroup.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "filterName",
+ "type": "Microsoft.Network/routeFilters",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "rules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "ruleName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ ],
+ "peerings": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterRuleCreate.json
new file mode 100644
index 000000000000..caff4af05a2b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterRuleCreate.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "routeFilterName": "filterName",
+ "ruleName": "ruleName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "routeFilterRuleParameters": {
+ "properties": {
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "ruleName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "ruleName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterRuleDelete.json
new file mode 100644
index 000000000000..30a46696adfa
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterRuleDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "routeFilterName": "filterName",
+ "ruleName": "ruleName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterRuleGet.json
new file mode 100644
index 000000000000..e8767a5a5829
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterRuleGet.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "ruleName": "filterName",
+ "routeFilterName": "filterName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "ruleName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterRuleListByRouteFilter.json
new file mode 100644
index 000000000000..362cd25fe230
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterRuleListByRouteFilter.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid",
+ "routeFilterName": "filterName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "ruleName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterUpdateTags.json
new file mode 100644
index 000000000000..b730756f8225
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteFilterUpdateTags.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "routeFilterName": "filterName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "tags": {
+ "key1": "value1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "filterName",
+ "type": "Microsoft.Network/routeFilters",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "rules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "ruleName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030"
+ ]
+ }
+ }
+ ],
+ "peerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableCreate.json
new file mode 100644
index 000000000000..c3012389c2b5
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableCreate.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "routeTableName": "testrt",
+ "parameters": {
+ "location": "westus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testrt",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt",
+ "type": "Microsoft.Network/routeTables",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routes": [],
+ "disableBgpRoutePropagation": true
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testrt",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt",
+ "type": "Microsoft.Network/routeTables",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "disableBgpRoutePropagation": true,
+ "routes": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableCreateWithRoute.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableCreateWithRoute.json
new file mode 100644
index 000000000000..b1be4c906032
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableCreateWithRoute.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "routeTableName": "testrt",
+ "parameters": {
+ "properties": {
+ "disableBgpRoutePropagation": true,
+ "routes": [
+ {
+ "name": "route1",
+ "properties": {
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "VirtualNetworkGateway"
+ }
+ }
+ ]
+ },
+ "location": "westus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testrt",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt",
+ "type": "Microsoft.Network/routeTables",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "disableBgpRoutePropagation": true,
+ "routes": [
+ {
+ "name": "route1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "VirtualNetworkGateway"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testrt",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt",
+ "type": "Microsoft.Network/routeTables",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routes": [
+ {
+ "name": "route1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "VirtualNetworkGateway"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableDelete.json
new file mode 100644
index 000000000000..c61fb74ef36b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "routeTableName": "testrt"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableGet.json
new file mode 100644
index 000000000000..8ef6d7d678f4
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableGet.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "routeTableName": "testrt"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testrt",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt",
+ "type": "Microsoft.Network/routeTables",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "disableBgpRoutePropagation": false,
+ "routes": [
+ {
+ "name": "route1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "VirtualNetworkGateway"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableList.json
new file mode 100644
index 000000000000..982716633afb
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableList.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testrt",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt",
+ "type": "Microsoft.Network/routeTables",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "disableBgpRoutePropagation": true,
+ "routes": [
+ {
+ "name": "route1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "VirtualNetworkGateway"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "testrt2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt2",
+ "type": "Microsoft.Network/routeTables",
+ "location": "westus",
+ "properties": {
+ "disableBgpRoutePropagation": true,
+ "provisioningState": "Succeeded",
+ "routes": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableListAll.json
new file mode 100644
index 000000000000..9526969b53f1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableListAll.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testrt",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt",
+ "type": "Microsoft.Network/routeTables",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routes": [
+ {
+ "name": "route1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "VirtualNetworkGateway"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "testrt3",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/testrt3",
+ "type": "Microsoft.Network/routeTables",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routes": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableRouteCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableRouteCreate.json
new file mode 100644
index 000000000000..b7cb7061c539
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableRouteCreate.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "routeTableName": "testrt",
+ "routeName": "route1",
+ "routeParameters": {
+ "properties": {
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "VirtualNetworkGateway"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "route1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "VirtualNetworkGateway"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "route1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "VirtualNetworkGateway"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableRouteDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableRouteDelete.json
new file mode 100644
index 000000000000..768a735fdf8b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableRouteDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "routeTableName": "testrt",
+ "routeName": "route1"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableRouteGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableRouteGet.json
new file mode 100644
index 000000000000..8ddf96c12221
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableRouteGet.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "routeTableName": "testrt",
+ "routeName": "route1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "route1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "Internet"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableRouteList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableRouteList.json
new file mode 100644
index 000000000000..f758c21aa339
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableRouteList.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "routeTableName": "testrt"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "route1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "Internet"
+ }
+ },
+ {
+ "name": "route2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.2.0/24",
+ "nextHopType": "VirtualNetworkGateway"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableUpdateTags.json
new file mode 100644
index 000000000000..14e38e52441c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/RouteTableUpdateTags.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "routeTableName": "testrt",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testrt",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt",
+ "type": "Microsoft.Network/routeTables",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routes": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceCommunityList.json
new file mode 100644
index 000000000000..f9ed67a51a2a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceCommunityList.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/skype",
+ "name": "skype",
+ "type": "Microsoft.Network/bgpServiceCommunities",
+ "properties": {
+ "serviceName": "skype",
+ "bgpCommunities": [
+ {
+ "serviceSupportedRegion": "Global",
+ "communityName": "Skype For Business Online",
+ "communityValue": "12076:5030",
+ "communityPrefixes": [
+ "13.67.56.225/32",
+ "13.67.186.105/32"
+ ],
+ "isAuthorizedToUse": true,
+ "serviceGroup": "O365"
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/exchange",
+ "name": "exchange",
+ "type": "Microsoft.Network/bgpServiceCommunities",
+ "properties": {
+ "serviceName": "exchange",
+ "bgpCommunities": [
+ {
+ "serviceSupportedRegion": "Global",
+ "communityName": "Exchange Online",
+ "communityValue": "12076:5040",
+ "communityPrefixes": [
+ "13.67.56.225/32",
+ "13.67.186.105/32"
+ ],
+ "isAuthorizedToUse": true,
+ "serviceGroup": "O365"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyCreate.json
new file mode 100644
index 000000000000..cccd9a4fab94
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyCreate.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "serviceEndpointPolicyName": "testPolicy",
+ "parameters": {
+ "location": "westus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testnsg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ServiceEndpointPolicies/testpolicy",
+ "type": "Microsoft.Network/ServiceEndpointPolicies",
+ "location": "westus",
+ "properties": {
+ "serviceEndpointPolicyDefinitions": [],
+ "subnets": [],
+ "provisioningState": "Succeeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testnsg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testpolicy",
+ "type": "Microsoft.Network/ServiceEndpointPolicies",
+ "location": "westus",
+ "properties": {
+ "serviceEndpointPolicyDefinitions": [],
+ "subnets": [],
+ "provisioningState": "Succeeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyCreateWithDefinition.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyCreateWithDefinition.json
new file mode 100644
index 000000000000..2c6b7de0a417
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyCreateWithDefinition.json
@@ -0,0 +1,83 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "serviceEndpointPolicyName": "testPolicy",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "serviceEndpointPolicyDefinitions": [
+ {
+ "name": "StorageServiceEndpointPolicyDefinition",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testnsg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ServiceEndpointPolicies/testpolicy",
+ "type": "Microsoft.Network/ServiceEndpointPolicies",
+ "location": "westus",
+ "properties": {
+ "serviceEndpointPolicyDefinitions": [
+ {
+ "name": "StorageServiceEndpointPolicyDefinition",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ ],
+ "subnets": [],
+ "provisioningState": "Succeeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testnsg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ServiceEndpointPolicies/testpolicy",
+ "type": "Microsoft.Network/ServiceEndpointPolicies",
+ "location": "westus",
+ "properties": {
+ "serviceEndpointPolicyDefinitions": [
+ {
+ "name": "StorageServiceEndpointPolicyDefinition",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ ],
+ "subnets": [],
+ "provisioningState": "Succeeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyDefinitionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyDefinitionCreate.json
new file mode 100644
index 000000000000..66a594d71809
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyDefinitionCreate.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "serviceEndpointPolicyName": "testPolicy",
+ "serviceEndpointPolicyDefinitionName": "testDefinition",
+ "ServiceEndpointPolicyDefinitions": {
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testDefinition",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDefinition",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyDefinitionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyDefinitionDelete.json
new file mode 100644
index 000000000000..d6c45d1e1dfb
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyDefinitionDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "serviceEndpointPolicyName": "testPolicy",
+ "serviceEndpointPolicyDefinitionName": "testDefinition"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyDefinitionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyDefinitionGet.json
new file mode 100644
index 000000000000..7097a6fb881b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyDefinitionGet.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "serviceEndpointPolicyName": "testPolicy",
+ "serviceEndpointPolicyDefinitionName": "testDefinition"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testDefinition",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDefinition",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyDefinitionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyDefinitionList.json
new file mode 100644
index 000000000000..bd37651a6dfc
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyDefinitionList.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "serviceEndpointPolicyName": "testPolicy"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testDef",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDef",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyDelete.json
new file mode 100644
index 000000000000..e735f4e3e44b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "serviceEndpointPolicyName": "serviceEndpointPolicy1"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyGet.json
new file mode 100644
index 000000000000..ce1448986098
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyGet.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "serviceEndpointPolicyName": "testServiceEndpointPolicy"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testServiceEndpointPolicy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy",
+ "type": "Microsoft.Network/serviceEndpointPolicies",
+ "location": "westus",
+ "properties": {
+ "serviceEndpointPolicyDefinitions": [
+ {
+ "name": "StorageServiceEndpointPolicyDefinition",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ ],
+ "subnets": [],
+ "provisioningState": "Succeeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyList.json
new file mode 100644
index 000000000000..ba4385606d04
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyList.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testServiceEndpointPolicy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy",
+ "location": "westus",
+ "properties": {
+ "serviceEndpointPolicyDefinitions": [
+ {
+ "name": "StorageServiceEndpointPolicyDefinition",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ ],
+ "subnets": [],
+ "provisioningState": "Succeeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F"
+ }
+ },
+ {
+ "name": "testServiceEndpointPolicy1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy1",
+ "location": "westus",
+ "properties": {
+ "serviceEndpointPolicyDefinitions": [
+ {
+ "name": "StorageServiceEndpointPolicyDefinition1",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ ],
+ "subnets": [],
+ "provisioningState": "Succeeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyListAll.json
new file mode 100644
index 000000000000..5959b08bb4ed
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyListAll.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testPolicy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy",
+ "type": "Microsoft.Network/serviceEndpointPolicies",
+ "location": "westus",
+ "properties": {
+ "serviceEndpointPolicyDefinitions": [
+ {
+ "name": "StorageServiceEndpointPolicyDefinition1",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ ],
+ "subnets": [],
+ "provisioningState": "Succeeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F"
+ }
+ },
+ {
+ "name": "testPolicy1",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy2",
+ "type": "Microsoft.Network/serviceEndpointPolicies",
+ "location": "westus",
+ "properties": {
+ "serviceEndpointPolicyDefinitions": [
+ {
+ "name": "StorageServiceEndpointPolicyDefinition2",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ ],
+ "subnets": [],
+ "provisioningState": "Succeeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyUpdateTags.json
new file mode 100644
index 000000000000..d0a55cbd1e86
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceEndpointPolicyUpdateTags.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "serviceEndpointPolicyName": "testServiceEndpointPolicy",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testServiceEndpointPolicy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy",
+ "type": "Microsoft.Network/serviceEndpointPolicies",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "serviceEndpointPolicyDefinitions": [
+ {
+ "name": "StorageServiceEndpointPolicyDefinition",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ ],
+ "subnets": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceTagsList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceTagsList.json
new file mode 100644
index 000000000000..ca7e1cb14b71
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/ServiceTagsList.json
@@ -0,0 +1,88 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "location": "westcentralus",
+ "subscriptionId": "subId"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "public",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/serviceTags/public",
+ "type": "Microsoft.Network/serviceTags",
+ "changeNumber": "63",
+ "cloud": "Public",
+ "values": [
+ {
+ "name": "ApiManagement",
+ "id": "ApiManagement",
+ "properties": {
+ "changeNumber": "7",
+ "region": "",
+ "systemService": "AzureApiManagement",
+ "addressPrefixes": [
+ "13.64.39.16/32",
+ "40.74.146.80/31",
+ "40.74.147.32/28"
+ ]
+ }
+ },
+ {
+ "name": "ApiManagement.AustraliaCentral",
+ "id": "ApiManagement.AustraliaCentral",
+ "properties": {
+ "changeNumber": "2",
+ "region": "australiacentral",
+ "systemService": "AzureApiManagement",
+ "addressPrefixes": [
+ "20.36.106.68/31",
+ "20.36.107.176/28"
+ ]
+ }
+ },
+ {
+ "name": "AppService",
+ "id": "AppService",
+ "properties": {
+ "changeNumber": "13",
+ "region": "",
+ "systemService": "AzureAppService",
+ "addressPrefixes": [
+ "13.64.73.110/32",
+ "191.235.208.12/32",
+ "191.235.215.184/32"
+ ]
+ }
+ },
+ {
+ "name": "ServiceBus",
+ "id": "ServiceBus",
+ "properties": {
+ "changeNumber": "10",
+ "region": "",
+ "systemService": "AzureServiceBus",
+ "addressPrefixes": [
+ "23.98.82.96/29",
+ "40.68.127.68/32",
+ "40.70.146.64/29"
+ ]
+ }
+ },
+ {
+ "name": "ServiceBus.EastUS2",
+ "id": "ServiceBus.EastUS2",
+ "properties": {
+ "changeNumber": "1",
+ "region": "eastus2",
+ "systemService": "AzureServiceBus",
+ "addressPrefixes": [
+ "13.68.110.36/32",
+ "40.70.146.64/29"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetCreate.json
new file mode 100644
index 000000000000..e840d254f39f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetCreate.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subnetName": "subnet1",
+ "virtualNetworkName": "vnetname",
+ "resourceGroupName": "subnet-test",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "subnetParameters": {
+ "properties": {
+ "addressPrefix": "10.0.0.0/16"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1",
+ "name": "subnet1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1",
+ "name": "subnet1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetCreateServiceEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetCreateServiceEndpoint.json
new file mode 100644
index 000000000000..281059ddf781
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetCreateServiceEndpoint.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "subnetName": "subnet1",
+ "virtualNetworkName": "vnetname",
+ "resourceGroupName": "subnet-test",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "subnetParameters": {
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "serviceEndpoints": [
+ {
+ "service": "Microsoft.Storage"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1",
+ "name": "subnet1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "serviceEndpoints": [
+ {
+ "service": "Microsoft.Storage",
+ "locations": [
+ "eastus2(stage)",
+ "usnorth(stage)"
+ ],
+ "provisioningState": "Succeeded"
+ }
+ ],
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1",
+ "name": "subnet1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "serviceEndpoints": [
+ {
+ "service": "Microsoft.Storage",
+ "locations": [
+ "eastus2(stage)",
+ "usnorth(stage)"
+ ],
+ "provisioningState": "Succeeded"
+ }
+ ],
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetCreateWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetCreateWithDelegation.json
new file mode 100644
index 000000000000..d015f8e89d7f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetCreateWithDelegation.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "subnetName": "subnet1",
+ "virtualNetworkName": "vnetname",
+ "resourceGroupName": "subnet-test",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "subnetParameters": {
+ "properties": {
+ "addressPrefix": "10.0.0.0/16"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1",
+ "name": "subnet1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "provisioningState": "Succeeded",
+ "delegations": [
+ {
+ "name": "myDelegation",
+ "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1/delegations/myDelegation",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "serviceName": "Microsoft.Provider/resourceType",
+ "actions": []
+ }
+ }
+ ],
+ "purpose": ""
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1",
+ "name": "subnet1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "provisioningState": "Succeeded",
+ "delegations": [
+ {
+ "name": "myDelegation",
+ "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1/delegations/myDelegation",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "serviceName": "Microsoft.Provider/resourceType",
+ "actions": []
+ }
+ }
+ ],
+ "purpose": ""
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetDelete.json
new file mode 100644
index 000000000000..1c4ead0a2077
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subnetName": "subnet1",
+ "virtualNetworkName": "vnetname",
+ "resourceGroupName": "subnet-test",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetGet.json
new file mode 100644
index 000000000000..ee83a8d37957
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetGet.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subnetName": "subnet1",
+ "virtualNetworkName": "vnetname",
+ "resourceGroupName": "subnet-test",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1",
+ "name": "subnet1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetGetWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetGetWithDelegation.json
new file mode 100644
index 000000000000..92a3dd2785ef
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetGetWithDelegation.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subnetName": "subnet1",
+ "virtualNetworkName": "vnetname",
+ "resourceGroupName": "subnet-test",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1",
+ "name": "subnet1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "provisioningState": "Succeeded",
+ "delegations": [
+ {
+ "name": "myDelegation",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/myDelegation",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "serviceName": "Microsoft.Provider/resourceType",
+ "actions": []
+ }
+ }
+ ],
+ "purpose": ""
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetList.json
new file mode 100644
index 000000000000..685dfdbc7969
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetList.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "virtualNetworkName": "vnetname",
+ "resourceGroupName": "subnet-test",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1",
+ "name": "subnet1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet2",
+ "name": "subnet2",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetPrepareNetworkPolicies.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetPrepareNetworkPolicies.json
new file mode 100644
index 000000000000..13e85d5697fe
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetPrepareNetworkPolicies.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "test-vnet",
+ "subnetName": "subnet1",
+ "prepareNetworkPoliciesRequestParameters": {
+ "serviceName": "Microsoft.Sql/managedInstances"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetUnprepareNetworkPolicies.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetUnprepareNetworkPolicies.json
new file mode 100644
index 000000000000..b3d017cac7d6
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/SubnetUnprepareNetworkPolicies.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "test-vnet",
+ "subnetName": "subnet1",
+ "unprepareNetworkPoliciesRequestParameters": {
+ "serviceName": "Microsoft.Sql/managedInstances"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/UsageList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/UsageList.json
new file mode 100644
index 000000000000..cb9e7bad6ca9
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/UsageList.json
@@ -0,0 +1,265 @@
+{
+ "parameters": {
+ "location": "westus",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "currentValue": 8.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/VirtualNetworks",
+ "limit": 50.0,
+ "name": {
+ "localizedValue": "Virtual Networks",
+ "value": "VirtualNetworks"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 3.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/StaticPublicIPAddresses",
+ "limit": 20.0,
+ "name": {
+ "localizedValue": "Static Public IP Addresses",
+ "value": "StaticPublicIPAddresses"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 1.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/NetworkSecurityGroups",
+ "limit": 100.0,
+ "name": {
+ "localizedValue": "Network Security Groups",
+ "value": "NetworkSecurityGroups"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 8.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/PublicIPAddresses",
+ "limit": 60.0,
+ "name": {
+ "localizedValue": "Public IP Addresses",
+ "value": "PublicIPAddresses"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 2.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/NetworkInterfaces",
+ "limit": 350.0,
+ "name": {
+ "localizedValue": "Network Interfaces",
+ "value": "NetworkInterfaces"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 2.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/LoadBalancers",
+ "limit": 100.0,
+ "name": {
+ "localizedValue": "Load Balancers",
+ "value": "LoadBalancers"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 1.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/ApplicationGateways",
+ "limit": 50.0,
+ "name": {
+ "localizedValue": "Application Gateways",
+ "value": "ApplicationGateways"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/RouteTables",
+ "limit": 100.0,
+ "name": {
+ "localizedValue": "Route Tables",
+ "value": "RouteTables"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/RouteFilters",
+ "limit": 1000.0,
+ "name": {
+ "localizedValue": "Route Filters",
+ "value": "RouteFilters"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/NetworkWatchers",
+ "limit": 1.0,
+ "name": {
+ "localizedValue": "Network Watchers",
+ "value": "NetworkWatchers"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/PacketCaptures",
+ "limit": 10.0,
+ "name": {
+ "localizedValue": "Packet Captures",
+ "value": "PacketCaptures"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/DnsServersPerVirtualNetwork",
+ "limit": 9.0,
+ "name": {
+ "localizedValue": "DNS servers per Virtual Network",
+ "value": "DnsServersPerVirtualNetwork"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/SubnetsPerVirtualNetwork",
+ "limit": 1000.0,
+ "name": {
+ "localizedValue": "Subnets per Virtual Network",
+ "value": "SubnetsPerVirtualNetwork"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/IPConfigurationsPerVirtualNetwork",
+ "limit": 4096.0,
+ "name": {
+ "localizedValue": "IP Configurations per Virtual Network",
+ "value": "IPConfigurationsPerVirtualNetwork"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/PeeringsPerVirtualNetwork",
+ "limit": 10.0,
+ "name": {
+ "localizedValue": "Peerings per Virtual Network",
+ "value": "PeeringsPerVirtualNetwork"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/SecurityRulesPerNetworkSecurityGroup",
+ "limit": 200.0,
+ "name": {
+ "localizedValue": "Security rules per Network Security Group",
+ "value": "SecurityRulesPerNetworkSecurityGroup"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/SecurityRuleAddressesOrPortsPerNetworkSecurityGroup",
+ "limit": 2000.0,
+ "name": {
+ "localizedValue": "Security rules addresses or ports per Network Security Group",
+ "value": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/InboundRulesPerLoadBalancer",
+ "limit": 150.0,
+ "name": {
+ "localizedValue": "Inbound Rules per Load Balancer",
+ "value": "InboundRulesPerLoadBalancer"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/FrontendIPConfigurationPerLoadBalancer",
+ "limit": 10.0,
+ "name": {
+ "localizedValue": "Frontend IP Configurations per Load Balancer",
+ "value": "FrontendIPConfigurationPerLoadBalancer"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/outboundRulesPerLoadBalancer",
+ "limit": 5.0,
+ "name": {
+ "localizedValue": "Outbound Rules per Load Balancer",
+ "value": "outboundRulesPerLoadBalancer"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/RoutesPerRouteTable",
+ "limit": 100.0,
+ "name": {
+ "localizedValue": "Routes per Route Table",
+ "value": "RoutesPerRouteTable"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/SecondaryIPConfigurationsPerNetworkInterface",
+ "limit": 256.0,
+ "name": {
+ "localizedValue": "Secondary IP Configurations per Network Interface",
+ "value": "SecondaryIPConfigurationsPerNetworkInterface"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/InboundRulesPerNetworkInterface",
+ "limit": 500.0,
+ "name": {
+ "localizedValue": "Inbound rules per Network Interface",
+ "value": "InboundRulesPerNetworkInterface"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/RouteFilterRulesPerRouteFilter",
+ "limit": 1.0,
+ "name": {
+ "localizedValue": "Route filter rules per Route Filter",
+ "value": "RouteFilterRulesPerRouteFilter"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/RouteFiltersPerExpressRouteBgpPeering",
+ "limit": 1.0,
+ "name": {
+ "localizedValue": "Route filters per Express route BGP Peering",
+ "value": "RouteFiltersPerExpressRouteBgpPeering"
+ },
+ "unit": "Count"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/UsageListSpacedLocation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/UsageListSpacedLocation.json
new file mode 100644
index 000000000000..e7c3f3fd4e30
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/UsageListSpacedLocation.json
@@ -0,0 +1,335 @@
+{
+ "parameters": {
+ "location": "West US",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "currentValue": 12.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/VirtualNetworks",
+ "limit": 50.0,
+ "name": {
+ "localizedValue": "Virtual Networks",
+ "value": "VirtualNetworks"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 1.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/StaticPublicIPAddresses",
+ "limit": 20.0,
+ "name": {
+ "localizedValue": "Static Public IP Addresses",
+ "value": "StaticPublicIPAddresses"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 3.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/NetworkSecurityGroups",
+ "limit": 100.0,
+ "name": {
+ "localizedValue": "Network Security Groups",
+ "value": "NetworkSecurityGroups"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 12.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/PublicIPAddresses",
+ "limit": 60.0,
+ "name": {
+ "localizedValue": "Public IP Addresses",
+ "value": "PublicIPAddresses"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/PublicIpPrefixes",
+ "limit": 2147483647.0,
+ "name": {
+ "localizedValue": "Public Ip Prefixes",
+ "value": "PublicIpPrefixes"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 2.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/NetworkInterfaces",
+ "limit": 24000.0,
+ "name": {
+ "localizedValue": "Network Interfaces",
+ "value": "NetworkInterfaces"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/LoadBalancers",
+ "limit": 100.0,
+ "name": {
+ "localizedValue": "Load Balancers",
+ "value": "LoadBalancers"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 3.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/ApplicationGateways",
+ "limit": 50.0,
+ "name": {
+ "localizedValue": "Application Gateways",
+ "value": "ApplicationGateways"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 5.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/RouteTables",
+ "limit": 100.0,
+ "name": {
+ "localizedValue": "Route Tables",
+ "value": "RouteTables"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/RouteFilters",
+ "limit": 1000.0,
+ "name": {
+ "localizedValue": "Route Filters",
+ "value": "RouteFilters"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/NetworkWatchers",
+ "limit": 1.0,
+ "name": {
+ "localizedValue": "Network Watchers",
+ "value": "NetworkWatchers"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/PacketCaptures",
+ "limit": 100.0,
+ "name": {
+ "localizedValue": "Packet Captures",
+ "value": "PacketCaptures"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/ApplicationSecurityGroups",
+ "limit": 500.0,
+ "name": {
+ "localizedValue": "Application Security Groups.",
+ "value": "ApplicationSecurityGroups"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/DdosProtectionPlans",
+ "limit": 1.0,
+ "name": {
+ "localizedValue": "DDoS Protection Plans.",
+ "value": "DdosProtectionPlans"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/ServiceEndpointPolicies",
+ "limit": 200.0,
+ "name": {
+ "localizedValue": "Service Endpoint Policies",
+ "value": "ServiceEndpointPolicies"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/NetworkIntentPolicies",
+ "limit": 200.0,
+ "name": {
+ "localizedValue": "Network Intent Policies",
+ "value": "NetworkIntentPolicies"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/DnsServersPerVirtualNetwork",
+ "limit": 9.0,
+ "name": {
+ "localizedValue": "DNS servers per Virtual Network",
+ "value": "DnsServersPerVirtualNetwork"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/SubnetsPerVirtualNetwork",
+ "limit": 1000.0,
+ "name": {
+ "localizedValue": "Subnets per Virtual Network",
+ "value": "SubnetsPerVirtualNetwork"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/IPConfigurationsPerVirtualNetwork",
+ "limit": 16384.0,
+ "name": {
+ "localizedValue": "IP Configurations per Virtual Network",
+ "value": "IPConfigurationsPerVirtualNetwork"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/PeeringsPerVirtualNetwork",
+ "limit": 50.0,
+ "name": {
+ "localizedValue": "Peerings per Virtual Network",
+ "value": "PeeringsPerVirtualNetwork"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/SecurityRulesPerNetworkSecurityGroup",
+ "limit": 1000.0,
+ "name": {
+ "localizedValue": "Security rules per Network Security Group",
+ "value": "SecurityRulesPerNetworkSecurityGroup"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/SecurityRulesPerNetworkIntentPolicy",
+ "limit": 100.0,
+ "name": {
+ "localizedValue": "Security rules per Network Intent Policy",
+ "value": "SecurityRulesPerNetworkIntentPolicy"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/RoutesPerNetworkIntentPolicy",
+ "limit": 100.0,
+ "name": {
+ "localizedValue": "Routes per Network Intent Policy",
+ "value": "RoutesPerNetworkIntentPolicy"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/SecurityRuleAddressesOrPortsPerNetworkSecurityGroup",
+ "limit": 2000.0,
+ "name": {
+ "localizedValue": "Security rules addresses or ports per Network Security Group",
+ "value": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/InboundRulesPerLoadBalancer",
+ "limit": 150.0,
+ "name": {
+ "localizedValue": "Inbound Rules per Load Balancer",
+ "value": "InboundRulesPerLoadBalancer"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/FrontendIPConfigurationPerLoadBalancer",
+ "limit": 10.0,
+ "name": {
+ "localizedValue": "Frontend IP Configurations per Load Balancer",
+ "value": "FrontendIPConfigurationPerLoadBalancer"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/OutboundRulesPerLoadBalancer",
+ "limit": 5.0,
+ "name": {
+ "localizedValue": "Outbound Rules per Load Balancer",
+ "value": "OutboundRulesPerLoadBalancer"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/RoutesPerRouteTable",
+ "limit": 400.0,
+ "name": {
+ "localizedValue": "Routes per Route Table",
+ "value": "RoutesPerRouteTable"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/SecondaryIPConfigurationsPerNetworkInterface",
+ "limit": 256.0,
+ "name": {
+ "localizedValue": "Secondary IP Configurations per Network Interface",
+ "value": "SecondaryIPConfigurationsPerNetworkInterface"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/InboundRulesPerNetworkInterface",
+ "limit": 500.0,
+ "name": {
+ "localizedValue": "Inbound rules per Network Interface",
+ "value": "InboundRulesPerNetworkInterface"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/RouteFilterRulesPerRouteFilter",
+ "limit": 1.0,
+ "name": {
+ "localizedValue": "Route filter rules per Route Filter",
+ "value": "RouteFilterRulesPerRouteFilter"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/RouteFiltersPerExpressRouteBgpPeering",
+ "limit": 1.0,
+ "name": {
+ "localizedValue": "Route filters per Express route BGP Peering",
+ "value": "RouteFiltersPerExpressRouteBgpPeering"
+ },
+ "unit": "Count"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubDelete.json
new file mode 100644
index 000000000000..6e9872315531
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "virtualHubName": "virtualHub1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubGet.json
new file mode 100644
index 000000000000..77325c83512b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubGet.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "virtualHubName": "virtualHub1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "virtualHub1",
+ "type": "Microsoft.Network/virtualHubs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
+ },
+ "virtualNetworkConnections": [],
+ "virtualHubRouteTableV2s": [],
+ "addressPrefix": "10.10.1.0/24",
+ "sku": "Basic"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubList.json
new file mode 100644
index 000000000000..e556dd268330
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubList.json
@@ -0,0 +1,146 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "virtualHub1",
+ "type": "Microsoft.Network/virtualHubs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
+ },
+ "virtualNetworkConnections": [
+ {
+ "name": "connection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVirtualNetwork": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1"
+ },
+ "allowHubToRemoteVnetTransit": true,
+ "allowRemoteVnetToUseHubVnetGateways": false
+ }
+ }
+ ],
+ "virtualHubRouteTableV2s": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/routeTables/virtualHubRouteTable2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "rt2a",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routes": [
+ {
+ "destinationType": "CIDR",
+ "destinations": [
+ "20.10.0.0/16",
+ "20.20.0.0/16"
+ ],
+ "nextHopType": "IPAddress",
+ "nextHops": [
+ "10.0.0.68"
+ ]
+ },
+ {
+ "destinationType": "CIDR",
+ "destinations": [
+ "0.0.0.0/0"
+ ],
+ "nextHopType": "IPAddress",
+ "nextHops": [
+ "10.0.0.68"
+ ]
+ }
+ ],
+ "attachedConnections": [
+ "All_Vnets"
+ ]
+ }
+ }
+ ],
+ "addressPrefix": "10.10.1.0/24",
+ "sku": "Basic"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "East US",
+ "name": "virtualHub2",
+ "type": "Microsoft.Network/virtualHubs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
+ },
+ "virtualNetworkConnections": [
+ {
+ "name": "connection2",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVirtualNetwork": {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/SpokeVnet2"
+ },
+ "allowHubToRemoteVnetTransit": true,
+ "allowRemoteVnetToUseHubVnetGateways": false
+ }
+ }
+ ],
+ "virtualHubRouteTableV2s": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/routeTables/virtualHubRouteTable2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "rt2a",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routes": [
+ {
+ "destinationType": "CIDR",
+ "destinations": [
+ "20.10.0.0/16",
+ "20.20.0.0/16"
+ ],
+ "nextHopType": "IPAddress",
+ "nextHops": [
+ "10.0.0.68"
+ ]
+ },
+ {
+ "destinationType": "CIDR",
+ "destinations": [
+ "0.0.0.0/0"
+ ],
+ "nextHopType": "IPAddress",
+ "nextHops": [
+ "10.0.0.68"
+ ]
+ }
+ ],
+ "attachedConnections": [
+ "All_Vnets"
+ ]
+ }
+ }
+ ],
+ "addressPrefix": "210.10.1.0/24",
+ "sku": "Basic"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubListByResourceGroup.json
new file mode 100644
index 000000000000..4d9f1e6638da
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubListByResourceGroup.json
@@ -0,0 +1,147 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "virtualHub1",
+ "type": "Microsoft.Network/virtualHubs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
+ },
+ "virtualNetworkConnections": [
+ {
+ "name": "connection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVirtualNetwork": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1"
+ },
+ "allowHubToRemoteVnetTransit": true,
+ "allowRemoteVnetToUseHubVnetGateways": false
+ }
+ }
+ ],
+ "virtualHubRouteTableV2s": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/routeTables/virtualHubRouteTable2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "rt2a",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routes": [
+ {
+ "destinationType": "CIDR",
+ "destinations": [
+ "20.10.0.0/16",
+ "20.20.0.0/16"
+ ],
+ "nextHopType": "IPAddress",
+ "nextHops": [
+ "10.0.0.68"
+ ]
+ },
+ {
+ "destinationType": "CIDR",
+ "destinations": [
+ "0.0.0.0/0"
+ ],
+ "nextHopType": "IPAddress",
+ "nextHops": [
+ "10.0.0.68"
+ ]
+ }
+ ],
+ "attachedConnections": [
+ "All_Vnets"
+ ]
+ }
+ }
+ ],
+ "addressPrefix": "10.10.1.0/24",
+ "sku": "Basic"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "East US",
+ "name": "virtualHub2",
+ "type": "Microsoft.Network/virtualHubs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
+ },
+ "virtualNetworkConnections": [
+ {
+ "name": "connection2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVirtualNetwork": {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/SpokeVnet2"
+ },
+ "allowHubToRemoteVnetTransit": true,
+ "allowRemoteVnetToUseHubVnetGateways": false
+ }
+ }
+ ],
+ "virtualHubRouteTableV2s": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/routeTables/virtualHubRouteTable2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "rt2a",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routes": [
+ {
+ "destinationType": "CIDR",
+ "destinations": [
+ "20.10.0.0/16",
+ "20.20.0.0/16"
+ ],
+ "nextHopType": "IPAddress",
+ "nextHops": [
+ "10.0.0.68"
+ ]
+ },
+ {
+ "destinationType": "CIDR",
+ "destinations": [
+ "0.0.0.0/0"
+ ],
+ "nextHopType": "IPAddress",
+ "nextHops": [
+ "10.0.0.68"
+ ]
+ }
+ ],
+ "attachedConnections": [
+ "All_Vnets"
+ ]
+ }
+ }
+ ],
+ "addressPrefix": "210.10.1.0/24",
+ "sku": "Basic"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubPut.json
new file mode 100644
index 000000000000..b1fc29784013
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubPut.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "virtualHubName": "virtualHub2",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "virtualHubParameters": {
+ "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
+ },
+ "addressPrefix": "10.168.0.0/24",
+ "sku": "Basic"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "virtualHub2",
+ "type": "Microsoft.Network/virtualHubs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
+ },
+ "virtualNetworkConnections": [],
+ "virtualHubRouteTableV2s": [],
+ "addressPrefix": "10.168.0.0/24",
+ "sku": "Basic"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "virtualHub2",
+ "type": "Microsoft.Network/virtualHubs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
+ },
+ "virtualNetworkConnections": [],
+ "virtualHubRouteTableV2s": [],
+ "addressPrefix": "10.168.0.0/24",
+ "sku": "Basic"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubRouteTableV2Delete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubRouteTableV2Delete.json
new file mode 100644
index 000000000000..09e11ee31df2
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubRouteTableV2Delete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "routeTableName": "virtualHubRouteTable1a",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "virtualHubName": "virtualHub1"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubRouteTableV2Get.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubRouteTableV2Get.json
new file mode 100644
index 000000000000..17bf08b6be53
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubRouteTableV2Get.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "routeTableName": "virtualHubRouteTable1a",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "virtualHubName": "virtualHub1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1a",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "virtualHubRouteTable1a",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routes": [
+ {
+ "destinationType": "CIDR",
+ "destinations": [
+ "20.10.0.0/16",
+ "20.20.0.0/16"
+ ],
+ "nextHopType": "IPAddress",
+ "nextHops": [
+ "10.0.0.68"
+ ]
+ },
+ {
+ "destinationType": "CIDR",
+ "destinations": [
+ "0.0.0.0/0"
+ ],
+ "nextHopType": "IPAddress",
+ "nextHops": [
+ "10.0.0.68"
+ ]
+ }
+ ],
+ "attachedConnections": [
+ "All_Vnets"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubRouteTableV2List.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubRouteTableV2List.json
new file mode 100644
index 000000000000..b735523b8756
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubRouteTableV2List.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "virtualHubName": "virtualHub1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "name": "virtualHubRouteTable1a",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1a",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routes": [
+ {
+ "destinationType": "CIDR",
+ "destinations": [
+ "20.10.0.0/16",
+ "20.20.0.0/16"
+ ],
+ "nextHopType": "IPAddress",
+ "nextHops": [
+ "10.0.0.68"
+ ]
+ },
+ {
+ "destinationType": "CIDR",
+ "destinations": [
+ "0.0.0.0/0"
+ ],
+ "nextHopType": "IPAddress",
+ "nextHops": [
+ "10.0.0.68"
+ ]
+ }
+ ],
+ "attachedConnections": [
+ "All_Vnets"
+ ]
+ }
+ },
+ {
+ "name": "virtualHubRouteTable1b",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1b",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routes": [
+ {
+ "destinationType": "CIDR",
+ "destinations": [
+ "20.30.0.0/16",
+ "20.40.0.0/16"
+ ],
+ "nextHopType": "IPAddress",
+ "nextHops": [
+ "10.0.0.68"
+ ]
+ }
+ ],
+ "attachedConnections": [
+ "All_Branches"
+ ]
+ }
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubRouteTableV2Put.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubRouteTableV2Put.json
new file mode 100644
index 000000000000..92ea32e12e24
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubRouteTableV2Put.json
@@ -0,0 +1,113 @@
+{
+ "parameters": {
+ "routeTableName": "virtualHubRouteTable1a",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "virtualHubName": "virtualHub1",
+ "virtualHubRouteTableV2Parameters": {
+ "properties": {
+ "routes": [
+ {
+ "destinationType": "CIDR",
+ "destinations": [
+ "20.10.0.0/16",
+ "20.20.0.0/16"
+ ],
+ "nextHopType": "IPAddress",
+ "nextHops": [
+ "10.0.0.68"
+ ]
+ },
+ {
+ "destinationType": "CIDR",
+ "destinations": [
+ "0.0.0.0/0"
+ ],
+ "nextHopType": "IPAddress",
+ "nextHops": [
+ "10.0.0.68"
+ ]
+ }
+ ],
+ "attachedConnections": [
+ "All_Vnets"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1a",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "virtualHubRouteTable1a",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routes": [
+ {
+ "destinationType": "CIDR",
+ "destinations": [
+ "20.10.0.0/16",
+ "20.20.0.0/16"
+ ],
+ "nextHopType": "IPAddress",
+ "nextHops": [
+ "10.0.0.68"
+ ]
+ },
+ {
+ "destinationType": "CIDR",
+ "destinations": [
+ "0.0.0.0/0"
+ ],
+ "nextHopType": "IPAddress",
+ "nextHops": [
+ "10.0.0.68"
+ ]
+ }
+ ],
+ "attachedConnections": [
+ "All_Vnets"
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1a",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "virtualHubRouteTable1a",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routes": [
+ {
+ "destinationType": "CIDR",
+ "destinations": [
+ "20.10.0.0/16",
+ "20.20.0.0/16"
+ ],
+ "nextHopType": "IPAddress",
+ "nextHops": [
+ "10.0.0.68"
+ ]
+ },
+ {
+ "destinationType": "CIDR",
+ "destinations": [
+ "0.0.0.0/0"
+ ],
+ "nextHopType": "IPAddress",
+ "nextHops": [
+ "10.0.0.68"
+ ]
+ }
+ ],
+ "attachedConnections": [
+ "All_Vnets"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubUpdateTags.json
new file mode 100644
index 000000000000..eee51c8047b0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualHubUpdateTags.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "virtualHubName": "virtualHub2",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "virtualHubParameters": {
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "virtualHub2",
+ "type": "Microsoft.Network/virtualHubs",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
+ },
+ "virtualNetworkConnections": [],
+ "virtualHubRouteTableV2s": [],
+ "addressPrefix": "10.168.0.0/24",
+ "sku": "Basic"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCheckIPAddressAvailability.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCheckIPAddressAvailability.json
new file mode 100644
index 000000000000..05f9c9ec174a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCheckIPAddressAvailability.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "test-vnet",
+ "ipAddress": "10.0.1.4"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "available": false,
+ "availableIPAddresses": [
+ "10.0.1.5",
+ "10.0.1.6",
+ "10.0.1.7",
+ "10.0.1.8",
+ "10.0.1.9"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreate.json
new file mode 100644
index 000000000000..e4ee4baf2e04
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreate.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "test-vnet",
+ "parameters": {
+ "properties": {
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ }
+ },
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [],
+ "virtualNetworkPeerings": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [],
+ "virtualNetworkPeerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json
new file mode 100644
index 000000000000..a527c4f045fe
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json
@@ -0,0 +1,126 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "vnetTest",
+ "virtualNetworkName": "vnet1",
+ "parameters": {
+ "properties": {
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "serviceEndpoints": [
+ {
+ "service": "Microsoft.Storage"
+ }
+ ],
+ "serviceEndpointPolicies": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "location": "eastus2euap"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "vnet1",
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus2euap",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "test-1",
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "ipConfigurations": [],
+ "resourceNavigationLinks": [],
+ "serviceEndpoints": [
+ {
+ "provisioningState": "Succeeded",
+ "service": "Microsoft.Storage",
+ "locations": [
+ "eastus2(stage)",
+ "usnorth(stage)"
+ ]
+ }
+ ],
+ "serviceEndpointPolicies": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1"
+ }
+ ],
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "vnet1",
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus2euap",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "test-1",
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "ipConfigurations": [],
+ "resourceNavigationLinks": [],
+ "serviceEndpoints": [
+ {
+ "provisioningState": "Succeeded",
+ "service": "Microsoft.Storage",
+ "locations": [
+ "eastus2(stage)",
+ "usnorth(stage)"
+ ]
+ }
+ ],
+ "serviceEndpointPolicies": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1"
+ }
+ ],
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateServiceEndpoints.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateServiceEndpoints.json
new file mode 100644
index 000000000000..01698a436106
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateServiceEndpoints.json
@@ -0,0 +1,111 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "vnetTest",
+ "virtualNetworkName": "vnet1",
+ "parameters": {
+ "properties": {
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "serviceEndpoints": [
+ {
+ "service": "Microsoft.Storage"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "vnet1",
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "test-1",
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "ipConfigurations": [],
+ "resourceNavigationLinks": [],
+ "serviceEndpoints": [
+ {
+ "provisioningState": "Succeeded",
+ "service": "Microsoft.Storage",
+ "locations": [
+ "eastus2(stage)",
+ "usnorth(stage)"
+ ]
+ }
+ ],
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "vnet1",
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "test-1",
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "ipConfigurations": [],
+ "resourceNavigationLinks": [],
+ "serviceEndpoints": [
+ {
+ "provisioningState": "Succeeded",
+ "service": "Microsoft.Storage",
+ "locations": [
+ "eastus2(stage)",
+ "usnorth(stage)"
+ ]
+ }
+ ],
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateSubnet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateSubnet.json
new file mode 100644
index 000000000000..958500670968
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateSubnet.json
@@ -0,0 +1,82 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "test-vnet",
+ "parameters": {
+ "properties": {
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/24"
+ }
+ }
+ ]
+ },
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1",
+ "name": "test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/24",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1",
+ "name": "test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/24",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json
new file mode 100644
index 000000000000..ba5335328a27
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json
@@ -0,0 +1,91 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "test-vnet",
+ "parameters": {
+ "properties": {
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "test-2",
+ "properties": {
+ "addressPrefixes": [
+ "10.0.0.0/28",
+ "10.0.1.0/28"
+ ]
+ }
+ }
+ ]
+ },
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-2",
+ "name": "test-2",
+ "properties": {
+ "addressPrefixes": [
+ "10.0.0.0/28",
+ "10.1.0.0/28"
+ ],
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-2",
+ "name": "test-2",
+ "properties": {
+ "addressPrefixes": [
+ "10.0.0.0/28",
+ "10.0.1.0/28"
+ ],
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateSubnetWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateSubnetWithDelegation.json
new file mode 100644
index 000000000000..79493491c1ec
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateSubnetWithDelegation.json
@@ -0,0 +1,114 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "test-vnet",
+ "parameters": {
+ "properties": {
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/24",
+ "delegations": [
+ {
+ "name": "myDelegation",
+ "properties": {
+ "serviceName": "Microsoft.Sql/managedInstances"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "location": "westcentralus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "westcentralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1",
+ "name": "test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/24",
+ "provisioningState": "Succeeded",
+ "delegations": [
+ {
+ "name": "myDelegation",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1/delegations/myDelegation",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "serviceName": "Microsoft.Sql/managedInstances",
+ "actions": []
+ }
+ }
+ ],
+ "purpose": ""
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "westcentralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1",
+ "name": "test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/24",
+ "provisioningState": "Succeeded",
+ "delegations": [
+ {
+ "name": "myDelegation",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1/delegations/myDelegation",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "serviceName": "Microsoft.Sql/managedInstances",
+ "actions": []
+ }
+ }
+ ],
+ "purpose": ""
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateWithBgpCommunities.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateWithBgpCommunities.json
new file mode 100644
index 000000000000..06a2511ee371
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkCreateWithBgpCommunities.json
@@ -0,0 +1,93 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "test-vnet",
+ "parameters": {
+ "properties": {
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/24"
+ }
+ }
+ ],
+ "bgpCommunities": {
+ "virtualNetworkCommunity": "12076:60000"
+ }
+ },
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1",
+ "name": "test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/24",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "bgpCommunities": {
+ "virtualNetworkCommunity": "12076:60000",
+ "regionalCommunity": "12076:51004"
+ },
+ "virtualNetworkPeerings": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1",
+ "name": "test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/24",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "bgpCommunities": {
+ "virtualNetworkCommunity": "12076:60000",
+ "regionalCommunity": "12076:51004"
+ },
+ "virtualNetworkPeerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkDelete.json
new file mode 100644
index 000000000000..827e91765845
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "test-vnet"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionCreate.json
new file mode 100644
index 000000000000..73ba7736f9d3
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionCreate.json
@@ -0,0 +1,131 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayConnectionName": "connS2S",
+ "parameters": {
+ "properties": {
+ "virtualNetworkGateway1": {
+ "properties": {
+ "ipConfigurations": [
+ {
+ "properties": {
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip"
+ }
+ },
+ "name": "gwipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1"
+ }
+ ],
+ "gatewayType": "Vpn",
+ "vpnType": "RouteBased",
+ "enableBgp": false,
+ "activeActive": false,
+ "sku": {
+ "name": "VpnGw1",
+ "tier": "VpnGw1"
+ },
+ "bgpSettings": {
+ "asn": 65514,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ }
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw",
+ "location": "centralus",
+ "tags": {}
+ },
+ "localNetworkGateway2": {
+ "properties": {
+ "localNetworkAddressSpace": {
+ "addressPrefixes": [
+ "10.1.0.0/16"
+ ]
+ },
+ "gatewayIpAddress": "x.x.x.x"
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw",
+ "location": "centralus",
+ "tags": {}
+ },
+ "connectionType": "IPsec",
+ "connectionProtocol": "IKEv2",
+ "routingWeight": 0,
+ "sharedKey": "Abc123",
+ "enableBgp": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "ipsecPolicies": [],
+ "trafficSelectorPolicies": []
+ },
+ "location": "centralus"
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "connS2S",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/connections",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Updating",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworkGateway1": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw",
+ "properties": {}
+ },
+ "localNetworkGateway2": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw",
+ "properties": {}
+ },
+ "connectionType": "IPsec",
+ "connectionProtocol": "IKEv2",
+ "routingWeight": 0,
+ "sharedKey": "Abc123",
+ "enableBgp": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "ipsecPolicies": [],
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "connS2S",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/connections",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Updating",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworkGateway1": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw",
+ "properties": {}
+ },
+ "localNetworkGateway2": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw",
+ "properties": {}
+ },
+ "connectionType": "IPsec",
+ "connectionProtocol": "IKEv2",
+ "routingWeight": 0,
+ "sharedKey": "Abc123",
+ "enableBgp": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "ipsecPolicies": [],
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionDelete.json
new file mode 100644
index 000000000000..4ed50e2e4a56
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayConnectionName": "conn1"
+ },
+ "responses": {
+ "202": {},
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionGet.json
new file mode 100644
index 000000000000..636a762c5188
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionGet.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayConnectionName": "connS2S"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "connS2S",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/connections",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworkGateway1": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw",
+ "properties": {}
+ },
+ "localNetworkGateway2": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw",
+ "properties": {}
+ },
+ "connectionType": "IPsec",
+ "connectionProtocol": "IKEv2",
+ "routingWeight": 0,
+ "sharedKey": "Abc123",
+ "enableBgp": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "ipsecPolicies": [],
+ "trafficSelectorPolicies": [],
+ "connectionStatus": "Connecting",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json
new file mode 100644
index 000000000000..c8debd3b97da
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayConnectionName": "connS2S"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": "AzureAbc123"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json
new file mode 100644
index 000000000000..b9d9eb448a19
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayConnectionName": "conn1",
+ "parameters": {
+ "keyLength": 128
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "keyLength": 128
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json
new file mode 100644
index 000000000000..cdf93f05fe87
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayConnectionName": "connS2S",
+ "parameters": {
+ "value": "AzureAbc123"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": "AzureAbc123"
+ }
+ },
+ "201": {
+ "body": {
+ "value": "AzureAbc123"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionStartPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionStartPacketCapture.json
new file mode 100644
index 000000000000..e2ed9b1c6bfa
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionStartPacketCapture.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayConnectionName": "vpngwcn1"
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": "\"{\"Status\":\"Successful\",\"Data\":null}\""
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json
new file mode 100644
index 000000000000..9295c41d6ee4
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayConnectionName": "vpngwcn1",
+ "parameters": {
+ "filterData": "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': null,'IpSubnetValueAsAny': true,'TcpFlags': 16,'PortValueAsAny': true}]}"
+ }
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": "\"{\"Status\":\"Successful\",\"Data\":null}\""
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionStopPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionStopPacketCapture.json
new file mode 100644
index 000000000000..4cc930c5a748
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionStopPacketCapture.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayConnectionName": "vpngwcn1",
+ "parameters": {
+ "sasUrl": "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D"
+ }
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": "\"{\"Status\":\"Successful\",\"Data\":null}\""
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json
new file mode 100644
index 000000000000..43c64336f51b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayConnectionName": "test",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": {
+ "name": "test",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/test",
+ "type": "Microsoft.Network/connections",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworkGateway1": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw",
+ "properties": {}
+ },
+ "localNetworkGateway2": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw",
+ "properties": {}
+ },
+ "connectionType": "IPsec",
+ "routingWeight": 0,
+ "sharedKey": "temp1234",
+ "enableBgp": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "ipsecPolicies": [],
+ "trafficSelectorPolicies": [],
+ "connectionStatus": "Unknown",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionsList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionsList.json
new file mode 100644
index 000000000000..f92a3dd92809
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionsList.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "conn1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/conn1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/connections",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworkGateway1": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1",
+ "properties": {}
+ },
+ "localNetworkGateway2": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1",
+ "properties": {}
+ },
+ "connectionType": "IPsec",
+ "connectionProtocol": "IKEv1",
+ "routingWeight": 0,
+ "enableBgp": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "ipsecPolicies": [],
+ "trafficSelectorPolicies": [],
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0
+ }
+ },
+ {
+ "name": "conn2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/conn2",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/connections",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworkGateway1": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2",
+ "properties": {}
+ },
+ "localNetworkGateway2": {
+ "properties": {},
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2"
+ },
+ "connectionType": "IPsec",
+ "connectionProtocol": "IKEv2",
+ "routingWeight": 0,
+ "enableBgp": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "ipsecPolicies": [],
+ "trafficSelectorPolicies": [],
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayDelete.json
new file mode 100644
index 000000000000..e827f19996b8
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw"
+ },
+ "responses": {
+ "202": {},
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json
new file mode 100644
index 000000000000..3394d0c76f8a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw",
+ "parameters": {}
+ },
+ "responses": {
+ "200": {
+ "body": ""
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json
new file mode 100644
index 000000000000..fd26573e544e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw",
+ "parameters": {}
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": ""
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGet.json
new file mode 100644
index 000000000000..d471ad839a31
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGet.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "vpngw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/virtualNetworkGateways",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "ipConfigurations": [
+ {
+ "name": "gwipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet"
+ }
+ }
+ }
+ ],
+ "sku": {
+ "name": "VpnGw1",
+ "tier": "VpnGw1",
+ "capacity": 0
+ },
+ "gatewayType": "Vpn",
+ "vpnType": "RouteBased",
+ "vpnGatewayGeneration": "None",
+ "enableBgp": false,
+ "activeActive": false,
+ "vpnClientConfiguration": {
+ "vpnClientProtocols": [
+ "OpenVPN"
+ ],
+ "vpnClientRootCertificates": [],
+ "vpnClientRevokedCertificates": [],
+ "aadTenant": "https://login.microsoftonline.com/99163270-c9ab-4279-bb12-5353ed9bf6e1",
+ "aadAudience": "fd11706c-e78c-4828-8be7-ac7dcefd4b17",
+ "aadIssuer": "https://sts.windows.net/99163270-c9ab-4279-bb12-5353ed9bf6e1/"
+ },
+ "bgpSettings": {
+ "asn": 65514,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json
new file mode 100644
index 000000000000..5f08b1796cd4
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw",
+ "peer": "test"
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": {}
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json
new file mode 100644
index 000000000000..1521bc83b7fd
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw"
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": {}
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
new file mode 100644
index 000000000000..086eba04eb2f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "saLifeTimeSeconds": 86473,
+ "saDataSizeKilobytes": 429497,
+ "ipsecEncryption": "AES256",
+ "ipsecIntegrity": "SHA256",
+ "ikeEncryption": "AES256",
+ "ikeIntegrity": "SHA384",
+ "dhGroup": "DHGroup2",
+ "pfsGroup": "PFS2"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json
new file mode 100644
index 000000000000..d55c43f25a7c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw"
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": ""
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json
new file mode 100644
index 000000000000..94b3bcd8fa24
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "resourceGroupName": "p2s-vnet-test",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "virtualNetworkGatewayName": "vpnp2sgw"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "vpnConnectionId": "IKEv2_1e1cfe59-5c7c-4315-a876-b11fbfdfeed4",
+ "vpnConnectionDuration": 900,
+ "vpnConnectionTime": "2019-05-02T22:26:22",
+ "publicIpAddress": "167.220.2.232:45522",
+ "privateIpAddress": "192.168.210.2",
+ "vpnUserName": "gwp2schildcert",
+ "maxBandwidth": 240000000,
+ "egressPacketsTransferred": 557,
+ "egressBytesTransferred": 33420,
+ "ingressPacketsTransferred": 557,
+ "ingressBytesTransferred": 33420,
+ "maxPacketsPerSecond": 4
+ },
+ {
+ "vpnConnectionId": "IKEv2_571cfe59-2c7d-1415-e813-c51fbfdfea16",
+ "vpnConnectionDuration": 800,
+ "vpnConnectionTime": "2019-05-01T21:06:12",
+ "publicIpAddress": "167.220.2.232:45213",
+ "privateIpAddress": "192.168.210.1",
+ "vpnUserName": "gwp2schildcert",
+ "maxBandwidth": 220000000,
+ "egressPacketsTransferred": 357,
+ "egressBytesTransferred": 23420,
+ "ingressPacketsTransferred": 357,
+ "ingressBytesTransferred": 23420,
+ "maxPacketsPerSecond": 4
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayLearnedRoutes.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayLearnedRoutes.json
new file mode 100644
index 000000000000..1521bc83b7fd
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayLearnedRoutes.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw"
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": {}
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayList.json
new file mode 100644
index 000000000000..3b3ba1bc3353
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayList.json
@@ -0,0 +1,126 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "vpngw1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/virtualNetworkGateways",
+ "location": "loc1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "ipConfigurations": [
+ {
+ "name": "default",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1/ipConfigurations/default",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/vpngw1-ip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet"
+ }
+ }
+ }
+ ],
+ "sku": {
+ "name": "VpnGw1",
+ "tier": "VpnGw1",
+ "capacity": 2
+ },
+ "gatewayType": "Vpn",
+ "vpnType": "RouteBased",
+ "vpnGatewayGeneration": "None",
+ "enableBgp": false,
+ "activeActive": false,
+ "vpnClientConfiguration": {
+ "vpnClientProtocols": [],
+ "vpnClientRootCertificates": [],
+ "vpnClientRevokedCertificates": []
+ },
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.0.14",
+ "peerWeight": 0
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ }
+ }
+ },
+ {
+ "name": "vpngw2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/virtualNetworkGateways",
+ "location": "loc2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "ipConfigurations": [
+ {
+ "name": "default",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/ipConfigurations/default",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/vpngw2-ip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/GatewaySubnet"
+ }
+ }
+ }
+ ],
+ "sku": {
+ "name": "VpnGw1",
+ "tier": "VpnGw1",
+ "capacity": 2
+ },
+ "gatewayType": "Vpn",
+ "vpnType": "RouteBased",
+ "vpnGatewayGeneration": "None",
+ "enableBgp": false,
+ "activeActive": false,
+ "vpnClientConfiguration": {
+ "vpnClientProtocols": [
+ "OpenVPN"
+ ],
+ "vpnClientRootCertificates": [],
+ "vpnClientRevokedCertificates": [],
+ "aadTenant": "https://login.microsoftonline.com/99163270-c9ab-4279-bb12-5353ed9bf6e1",
+ "aadAudience": "fd11706c-e78c-4828-8be7-ac7dcefd4b17",
+ "aadIssuer": "https://sts.windows.net/99163270-c9ab-4279-bb12-5353ed9bf6e1/"
+ },
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.1.0.46",
+ "peerWeight": 0
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayReset.json
new file mode 100644
index 000000000000..970bdd74c717
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayReset.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw"
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": {
+ "name": "vpngw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/virtualNetworkGateways",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "ipConfigurations": [
+ {
+ "name": "gwipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet"
+ }
+ }
+ }
+ ],
+ "sku": {
+ "name": "VpnGw1",
+ "tier": "VpnGw1",
+ "capacity": 0
+ },
+ "gatewayType": "Vpn",
+ "vpnType": "RouteBased",
+ "enableBgp": false,
+ "activeActive": false,
+ "bgpSettings": {
+ "asn": 65514,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json
new file mode 100644
index 000000000000..8877237a810a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw"
+ },
+ "responses": {
+ "202": {},
+ "200": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json
new file mode 100644
index 000000000000..f5ba2acb7a5c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw",
+ "vpnclientIpsecParams": {
+ "saLifeTimeSeconds": 86473,
+ "saDataSizeKilobytes": 429497,
+ "ipsecEncryption": "AES256",
+ "ipsecIntegrity": "SHA256",
+ "ikeEncryption": "AES256",
+ "ikeIntegrity": "SHA384",
+ "dhGroup": "DHGroup2",
+ "pfsGroup": "PFS2"
+ }
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": ""
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayStartPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayStartPacketCapture.json
new file mode 100644
index 000000000000..37041436498d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayStartPacketCapture.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw"
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": "\"{\"Status\":\"Successful\",\"Data\":null}\""
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayStartPacketCaptureFilterData.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayStartPacketCaptureFilterData.json
new file mode 100644
index 000000000000..d1a1dac25d9a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayStartPacketCaptureFilterData.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw",
+ "parameters": {
+ "filterData": "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': null,'IpSubnetValueAsAny': true,'TcpFlags': 16,'PortValueAsAny': true}]}"
+ }
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": "\"{\"Status\":\"Successful\",\"Data\":null}\""
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayStopPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayStopPacketCapture.json
new file mode 100644
index 000000000000..88f123db4cc0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayStopPacketCapture.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw",
+ "parameters": {
+ "sasUrl": "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D"
+ }
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": "\"{\"Status\":\"Successful\",\"Data\":null}\""
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json
new file mode 100644
index 000000000000..3c55bd535258
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw"
+ },
+ "responses": {
+ "200": {
+ "body": ""
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayUpdate.json
new file mode 100644
index 000000000000..517d522e5077
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayUpdate.json
@@ -0,0 +1,171 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw",
+ "parameters": {
+ "properties": {
+ "ipConfigurations": [
+ {
+ "properties": {
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip"
+ }
+ },
+ "name": "gwipconfig1"
+ }
+ ],
+ "gatewayType": "Vpn",
+ "vpnType": "RouteBased",
+ "enableBgp": false,
+ "activeActive": false,
+ "enableDnsForwarding": true,
+ "sku": {
+ "name": "VpnGw1",
+ "tier": "VpnGw1"
+ },
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ }
+ },
+ "location": "centralus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "vpngw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/virtualNetworkGateways",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "ipConfigurations": [
+ {
+ "name": "gwipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet"
+ }
+ }
+ }
+ ],
+ "sku": {
+ "name": "VpnGw1",
+ "tier": "VpnGw1",
+ "capacity": 0
+ },
+ "gatewayType": "Vpn",
+ "vpnType": "RouteBased",
+ "vpnGatewayGeneration": "None",
+ "enableBgp": false,
+ "activeActive": false,
+ "enableDnsForwarding": true,
+ "inboundDnsForwardingEndpoint": "10.0.1.14",
+ "vpnClientConfiguration": {
+ "vpnClientProtocols": [
+ "OpenVPN"
+ ],
+ "vpnClientRootCertificates": [],
+ "vpnClientRevokedCertificates": [],
+ "aadTenant": "",
+ "aadAudience": "",
+ "aadIssuer": ""
+ },
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "vpngw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/virtualNetworkGateways",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "ipConfigurations": [
+ {
+ "name": "gwipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet"
+ }
+ }
+ }
+ ],
+ "sku": {
+ "name": "VpnGw1",
+ "tier": "VpnGw1",
+ "capacity": 0
+ },
+ "gatewayType": "Vpn",
+ "vpnType": "RouteBased",
+ "enableBgp": false,
+ "activeActive": false,
+ "enableDnsForwarding": true,
+ "inboundDnsForwardingEndpoint": "10.0.1.14",
+ "vpnClientConfiguration": {
+ "vpnClientProtocols": [
+ "OpenVPN"
+ ],
+ "vpnClientRootCertificates": [],
+ "vpnClientRevokedCertificates": [],
+ "aadTenant": "https://login.microsoftonline.com/99163270-c9ab-4279-bb12-5353ed9bf6e1",
+ "aadAudience": "fd11706c-e78c-4828-8be7-ac7dcefd4b17",
+ "aadIssuer": "https://sts.windows.net/99163270-c9ab-4279-bb12-5353ed9bf6e1/"
+ },
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayUpdateTags.json
new file mode 100644
index 000000000000..55e427627b4b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayUpdateTags.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": {
+ "name": "vpngw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw",
+ "type": "Microsoft.Network/virtualNetworkGateways",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "ipConfigurations": [
+ {
+ "name": "default",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testpub1"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/GatewaySubnet"
+ }
+ }
+ }
+ ],
+ "sku": {
+ "name": "VpnGw1",
+ "tier": "VpnGw1",
+ "capacity": 2
+ },
+ "gatewayType": "Vpn",
+ "vpnType": "RouteBased",
+ "vpnGatewayGeneration": "None",
+ "enableBgp": false,
+ "activeActive": false,
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.0.254",
+ "peerWeight": 0
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json
new file mode 100644
index 000000000000..8d3c0dcc092a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayConnectionName": "vpngw",
+ "parameters": {
+ "vendor": "Cisco",
+ "deviceFamily": "ISR",
+ "firmwareVersion": "IOS 15.1 (Preview)"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": "! Microsoft Corporation\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Sample VPN tunnel configuration template for IOS-based devices\r\n!\r\n! This configuration template applies to Cisco VPN devices running IOS 15.1 or beyond (ISR or ASR)\r\n!\r\n\r\n\r\n\t\t\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! ACL rules\r\n!\r\n! Some VPN devices require explicit ACL rules to allow cross-premises traffic:\r\n!\r\n! 1. Allow traffic between on premises address ranges and VNet address ranges\r\n! 2. Allow IKE traffic (UDP:500) between on premises VPN devices and Azure VPN gateway\r\n! 3. Allow IPsec traffic (Proto:ESP) between on premises VPN devices and Azure VPN gateway\r\n!\r\n\t\t\r\naccess-list 101 permit ip 10.1.0.0 0.0.255.255 10.0.0.0 0.0.255.255\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Internet Key Exchange (IKE) configuration\r\n!\r\n! This section specifies the authentication, encryption, hashing, and Diffie-Hellman group parameters for IKE\r\n! main mode or phase 1\r\n!\r\n\r\ncrypto ikev2 proposal SwaggerS2S-proposal\r\n encryption DES3\r\n integrity SHA384\r\n group DHGroup24\r\n lifetime 3600\r\n exit\r\n\r\ncrypto ikev2 policy SwaggerS2S-policy\r\n proposal SwaggerS2S-proposal\r\n exit\r\n\r\ncrypto ikev2 keyring SwaggerBranch-keyring\r\n\t\t\r\n\t\tpeer 52.173.199.254\r\n\t\taddress 52.173.199.254\r\n\t\tpre-shared-key lALEHuppeopJmA94exRNiRr2QzuZ6lOsvzu5IlJUEA6LthbTc8g5MTT86MCsGNMzGkTAaLuLnEJoD1Cn4cIlr94qKZm9drsgllzWvsPNezS71stAkaW1Bb7h6GBnDlDP\r\n exit\r\n\r\ncrypto ikev2 profile SwaggerS2S-profile\r\n match address local 10.3.0.0\r\n\tmatch identity remote address 52.173.199.254 255.255.255.255\r\n\t\t\r\n authentication remote pre-share\r\n authentication local pre-share\r\n keyring SwaggerBranch-keyring\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! IPsec configuration\r\n!\r\n! This section specifies encryption, authentication, tunnel mode properties for the Phase 2 negotiation\r\n!\r\ncrypto ipsec transform-set SwaggerS2S-TransformSet DES3 DES3\r\n mode tunnel\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Crypto map configuration\r\n!\r\n! This section defines a crypto profile that binds the cross-premises network traffic to the IPsec and IKE\r\n! policy profiles for this connection. Then defines the VTI (virtual tunnel interface) with the crypto\r\n! profile. A random interface number (tunnel 1) was used with a random link local address (169.254.0.1/28)\r\n! for the tunnel interface. If either selection is already used in the VPN device, please select another\r\n! interface number or address. The only requirement is that they must not overlap with another interface\r\n! on the same VPN device.\r\n!\r\ncrypto ipsec profile SwaggerS2S-IPsecProfile\r\n set transform-set SwaggerS2S-TransformSet\r\n set ikev2-profile SwaggerS2S-profile\r\n set pfs None\r\n set security-association lifetime 3600\r\n exit\r\n\r\n\r\nint tunnel 52.173.199.254\r\n ip address 169.254.0.1 255.255.255.252\r\n ip tcp adjust-mss 1350\r\n tunnel source 10.3.0.0\r\n tunnel mode ipsec ipv4\r\n tunnel destination 52.173.199.254\r\n tunnel protection ipsec profile SwaggerS2S-IPsecProfile\r\n exit\r\n\r\n\tip route 10.0.0.0 255.255.0.0 tunnel 52.173.199.254 "
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewaysListConnections.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewaysListConnections.json
new file mode 100644
index 000000000000..44765d82901e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewaysListConnections.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "virtualNetworkGatewayName": "test-vpn-gateway-1",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "test-vpn-connection",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/connections/test-vpn-connection",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "type": "Microsoft.Network/connections",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworkGateway1": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkGateways/test-vpn-gateway-1"
+ },
+ "virtualNetworkGateway2": {
+ "id": "/subscriptions/subid/resourceGroups/testrg-2/providers/Microsoft.Network/virtualNetworkGateways/test-vpn-gateway-2"
+ },
+ "connectionType": "Vnet2Vnet",
+ "routingWeight": 22,
+ "enableBgp": true,
+ "usePolicyBasedTrafficSelectors": false,
+ "ipsecPolicies": [],
+ "trafficSelectorPolicies": [],
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGet.json
new file mode 100644
index 000000000000..17f36ec8245e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGet.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "test-vnet"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "subnet1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.1.0/24",
+ "ipConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe"
+ }
+ ]
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGetResourceNavigationLinks.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGetResourceNavigationLinks.json
new file mode 100644
index 000000000000..29236f9472a2
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGetResourceNavigationLinks.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "vnet",
+ "subnetName": "subnet"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "redisCache_redis-tester",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet/resourceNavigationLinks/redisCache_redis-tester",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/virtualNetworks/subnets/resourceNavigationLinks",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "linkedResourceType": "Microsoft.Cache/redis",
+ "link": "/subscriptions/subid/resourceGroups/another-rg/providers/Microsoft.Cache/Redis/redis-tester"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGetServiceAssociationLinks.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGetServiceAssociationLinks.json
new file mode 100644
index 000000000000..bbe3497749b2
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGetServiceAssociationLinks.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "vnet",
+ "subnetName": "subnet"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "acisal",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet/serviceAssociationLinks/acisal",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/virtualNetworks/subnets/serviceAssociationLinks",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "linkedResourceType": "Microsoft.ContainerInstance/containerGroups",
+ "allowDelete": true,
+ "locations": [
+ "westus"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGetWithServiceAssociationLink.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGetWithServiceAssociationLink.json
new file mode 100644
index 000000000000..10d10023f877
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGetWithServiceAssociationLink.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "test-vnet"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "subnet1",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1",
+ "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.214.0/24",
+ "ipConfigurationProfiles": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1"
+ }
+ ],
+ "serviceAssociationLinks": [
+ {
+ "name": "serviceAssociationLink1",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/serviceAssociationLinks/serviceAssociationLink1",
+ "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "linkedResourceType": "Microsoft.Provider/resourceType"
+ }
+ }
+ ],
+ "serviceEndpoints": [],
+ "delegations": [
+ {
+ "name": "aciDelegation",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/aciDelegation",
+ "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "serviceName": "Microsoft.Provider/resourceType",
+ "actions": [
+ "Microsoft.Network/virtualNetworks/subnets/action"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGetWithSubnetDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGetWithSubnetDelegation.json
new file mode 100644
index 000000000000..ad1ba108add2
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGetWithSubnetDelegation.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "test-vnet"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "subnet1",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.1.0/24",
+ "ipConfigurations": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe"
+ }
+ ],
+ "delegations": [
+ {
+ "name": "myDelegation",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/myDelegation",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "serviceName": "Microsoft.Provider/resourceType",
+ "actions": []
+ }
+ }
+ ],
+ "purpose": ""
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkList.json
new file mode 100644
index 000000000000..3364186591ff
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkList.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1",
+ "name": "vnet1",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "westus",
+ "properties": {
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/8"
+ ]
+ },
+ "dhcpOptions": {
+ "dnsServers": []
+ },
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1",
+ "name": "test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/24",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "virtualNetworkPeerings": [],
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2",
+ "name": "vnet2",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "westus",
+ "properties": {
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "dhcpOptions": {
+ "dnsServers": [
+ "8.8.8.8"
+ ]
+ },
+ "subnets": [],
+ "virtualNetworkPeerings": [],
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkListAll.json
new file mode 100644
index 000000000000..e5bb74ec1704
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkListAll.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1",
+ "name": "vnet1",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "westus",
+ "properties": {
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/8"
+ ]
+ },
+ "dhcpOptions": {
+ "dnsServers": []
+ },
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1",
+ "name": "test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/24",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "virtualNetworkPeerings": [],
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet2",
+ "name": "vnet2",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "westus",
+ "properties": {
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "dhcpOptions": {
+ "dnsServers": [
+ "8.8.8.8"
+ ]
+ },
+ "subnets": [],
+ "virtualNetworkPeerings": [],
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkListUsage.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkListUsage.json
new file mode 100644
index 000000000000..717bfc73198e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkListUsage.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "virtualNetworkName": "vnetName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "currentValue": -1.0,
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetName/subnets/GatewaySubnet",
+ "limit": -1.0,
+ "name": {
+ "localizedValue": "Subnet size and usage",
+ "value": "SubnetSpace"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 2.0,
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetName/subnets/newSubnet",
+ "limit": 3.0,
+ "name": {
+ "localizedValue": "Subnet size and usage",
+ "value": "SubnetSpace"
+ },
+ "unit": "Count"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkPeeringCreate.json
new file mode 100644
index 000000000000..0fda29a99345
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkPeeringCreate.json
@@ -0,0 +1,66 @@
+{
+ "parameters": {
+ "virtualNetworkPeeringName": "peer",
+ "virtualNetworkName": "vnet1",
+ "resourceGroupName": "peerTest",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "VirtualNetworkPeeringParameters": {
+ "properties": {
+ "allowVirtualNetworkAccess": true,
+ "allowForwardedTraffic": true,
+ "allowGatewayTransit": false,
+ "useRemoteGateways": false,
+ "remoteVirtualNetwork": {
+ "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer",
+ "name": "peer",
+ "properties": {
+ "allowVirtualNetworkAccess": true,
+ "allowForwardedTraffic": true,
+ "allowGatewayTransit": false,
+ "useRemoteGateways": false,
+ "remoteVirtualNetwork": {
+ "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2"
+ },
+ "remoteAddressSpace": {
+ "addressPrefixes": [
+ "12.0.0.0/8"
+ ]
+ },
+ "peeringState": "Initiated",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer",
+ "name": "peer",
+ "properties": {
+ "allowVirtualNetworkAccess": true,
+ "allowForwardedTraffic": true,
+ "allowGatewayTransit": false,
+ "useRemoteGateways": false,
+ "remoteVirtualNetwork": {
+ "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2"
+ },
+ "remoteAddressSpace": {
+ "addressPrefixes": [
+ "12.0.0.0/8"
+ ]
+ },
+ "peeringState": "Initiated",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkPeeringDelete.json
new file mode 100644
index 000000000000..b96796494bd6
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkPeeringDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "virtualNetworkPeeringName": "peer",
+ "virtualNetworkName": "vnet1",
+ "resourceGroupName": "peerTest",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkPeeringGet.json
new file mode 100644
index 000000000000..b909ea4a4020
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkPeeringGet.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "virtualNetworkPeeringName": "peer",
+ "virtualNetworkName": "vnet1",
+ "resourceGroupName": "peerTest",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer",
+ "name": "peer",
+ "properties": {
+ "allowVirtualNetworkAccess": true,
+ "allowForwardedTraffic": true,
+ "allowGatewayTransit": false,
+ "useRemoteGateways": false,
+ "remoteVirtualNetwork": {
+ "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2"
+ },
+ "remoteAddressSpace": {
+ "addressPrefixes": [
+ "12.0.0.0/8"
+ ]
+ },
+ "peeringState": "Initiated",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkPeeringList.json
new file mode 100644
index 000000000000..0b16a7c4e0cc
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkPeeringList.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "virtualNetworkName": "vnet1",
+ "resourceGroupName": "peerTest",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer",
+ "name": "peer",
+ "properties": {
+ "allowVirtualNetworkAccess": true,
+ "allowForwardedTraffic": true,
+ "allowGatewayTransit": false,
+ "useRemoteGateways": false,
+ "remoteVirtualNetwork": {
+ "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2"
+ },
+ "remoteAddressSpace": {
+ "addressPrefixes": [
+ "12.0.0.0/8"
+ ]
+ },
+ "peeringState": "Initiated",
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer2",
+ "name": "peer",
+ "properties": {
+ "allowVirtualNetworkAccess": true,
+ "allowForwardedTraffic": false,
+ "allowGatewayTransit": false,
+ "useRemoteGateways": false,
+ "remoteVirtualNetwork": {
+ "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet3"
+ },
+ "remoteAddressSpace": {
+ "addressPrefixes": [
+ "13.0.0.0/8"
+ ]
+ },
+ "peeringState": "Initiated",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapCreate.json
new file mode 100644
index 000000000000..4fa16db4f67f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapCreate.json
@@ -0,0 +1,62 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "tapName": "test-vtap",
+ "parameters": {
+ "properties": {
+ "destinationNetworkInterfaceIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/ipconfig1"
+ }
+ },
+ "location": "centraluseuap"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testvtap",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap",
+ "etag": "etag",
+ "type": "Microsoft.Network/virtualNetworkTaps",
+ "location": "centraluseuap",
+ "properties": {
+ "destinationNetworkInterfaceIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1"
+ },
+ "destinationPort": 4789,
+ "provisioningState": "Succeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F",
+ "networkInterfaceTapConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration"
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testvtap",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap",
+ "etag": "etag",
+ "type": "Microsoft.Network/virtualNetworkTaps",
+ "location": "centraluseuap",
+ "properties": {
+ "destinationNetworkInterfaceIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1"
+ },
+ "destinationPort": 4789,
+ "provisioningState": "Succeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F",
+ "networkInterfaceTapConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapDelete.json
new file mode 100644
index 000000000000..ea94bf00ff45
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "tapName": "test-vtap"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapGet.json
new file mode 100644
index 000000000000..6105b83a643e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapGet.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "tapName": "testvtap"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testvtap",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap",
+ "etag": "etag",
+ "type": "Microsoft.Network/virtualNetworkTaps",
+ "location": "centraluseuap",
+ "properties": {
+ "destinationNetworkInterfaceIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1"
+ },
+ "destinationPort": 4789,
+ "provisioningState": "Succeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F",
+ "networkInterfaceTapConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapList.json
new file mode 100644
index 000000000000..9841382755fe
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapList.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testvtap",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap",
+ "etag": "etag",
+ "type": "Microsoft.Network/virtualNetworkTaps",
+ "location": "centraluseuap",
+ "properties": {
+ "destinationNetworkInterfaceIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1"
+ },
+ "destinationPort": 4789,
+ "provisioningState": "Succeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F",
+ "networkInterfaceTapConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration"
+ }
+ ]
+ }
+ },
+ {
+ "name": "testvtap2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap2",
+ "etag": "etag",
+ "type": "Microsoft.Network/virtualNetworkTaps",
+ "location": "centraluseuap",
+ "properties": {
+ "destinationNetworkInterfaceIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1"
+ },
+ "destinationPort": 4789,
+ "provisioningState": "Succeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F",
+ "networkInterfaceTapConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface3/tapConfigurations/testtapConfiguration"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapListAll.json
new file mode 100644
index 000000000000..cbb6bbd1c2a7
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapListAll.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testvtap",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap",
+ "etag": "etag",
+ "type": "Microsoft.Network/virtualNetworkTaps",
+ "location": "centraluseuap",
+ "properties": {
+ "destinationNetworkInterfaceIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1"
+ },
+ "destinationPort": 4789,
+ "provisioningState": "Succeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F",
+ "networkInterfaceTapConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration"
+ }
+ ]
+ }
+ },
+ {
+ "name": "testvtap2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap2",
+ "etag": "etag",
+ "type": "Microsoft.Network/virtualNetworkTaps",
+ "location": "centraluseuap",
+ "properties": {
+ "destinationNetworkInterfaceIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1"
+ },
+ "destinationPort": 4789,
+ "provisioningState": "Succeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F",
+ "networkInterfaceTapConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface3/tapConfigurations/testtapConfiguration"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapUpdateTags.json
new file mode 100644
index 000000000000..5f9b039c2a3b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkTapUpdateTags.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "tapName": "test-vtap",
+ "tapParameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-vtap",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/test-vtap",
+ "location": "eastus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "destinationNetworkInterfaceIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1"
+ },
+ "destinationPort": 4789,
+ "provisioningState": "Succeded",
+ "networkInterfaceTapConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/virtualNetworkTaps"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkUpdateTags.json
new file mode 100644
index 000000000000..f1fd94d21bc0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkUpdateTags.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "test-vnet",
+ "location": "westus",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [],
+ "virtualNetworkPeerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterDelete.json
new file mode 100644
index 000000000000..8762723c8902
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualRouterName": "virtualRouter"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterGet.json
new file mode 100644
index 000000000000..25128f5d7578
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterGet.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualRouterName": "virtualRouter"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "virtualRouter",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter",
+ "type": "Microsoft.Network/virtualRouters",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualRouterAsn": 10000,
+ "virtualRouterIps": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "hostedGateway": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway"
+ },
+ "peerings": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterListByResourceGroup.json
new file mode 100644
index 000000000000..6cc0ff854c2f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterListByResourceGroup.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "virtualRouter",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter",
+ "type": "Microsoft.Network/virtualRouters",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualRouterAsn": 10000,
+ "virtualRouterIps": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "hostedGateway": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway"
+ },
+ "peerings": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterListBySubscription.json
new file mode 100644
index 000000000000..b6e5e418d8c7
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterListBySubscription.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "virtualRouter",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter",
+ "type": "Microsoft.Network/virtualRouters",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualRouterAsn": 10000,
+ "virtualRouterIps": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "hostedGateway": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway"
+ },
+ "peerings": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterPeeringDelete.json
new file mode 100644
index 000000000000..afb91e0b583f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterPeeringDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "peeringName": "peering1",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualRouterName": "virtualRouter"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterPeeringGet.json
new file mode 100644
index 000000000000..124abfe36f40
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterPeeringGet.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "peeringName": "peering1",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualRouterName": "virtualRouter"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "peering1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1",
+ "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerIp": "192.168.1.5",
+ "peerAsn": 20000
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterPeeringList.json
new file mode 100644
index 000000000000..c44ca0179aa3
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterPeeringList.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualRouterName": "virtualRouter"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "peering1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1",
+ "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerIp": "192.168.1.5",
+ "peerAsn": 20000
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterPeeringPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterPeeringPut.json
new file mode 100644
index 000000000000..4b2f19148424
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterPeeringPut.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "peeringName": "peering1",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualRouterName": "virtualRouter",
+ "parameters": {
+ "properties": {
+ "peerIp": "192.168.1.5",
+ "peerAsn": 20000
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "peering1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1",
+ "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerIp": "192.168.1.5",
+ "peerAsn": 20000
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "peering1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1",
+ "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerIp": "192.168.1.5",
+ "peerAsn": 20000
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterPut.json
new file mode 100644
index 000000000000..ebe5f9e352c4
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualRouterPut.json
@@ -0,0 +1,77 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualRouterName": "virtualRouter",
+ "parameters": {
+ "tags": {
+ "key1": "value1"
+ },
+ "location": "West US",
+ "properties": {
+ "hostedGateway": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "virtualRouter",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter",
+ "type": "Microsoft.Network/virtualRouters",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualRouterAsn": 10000,
+ "virtualRouterIps": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "hostedGateway": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway"
+ },
+ "peerings": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1"
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "virtualRouter",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter",
+ "type": "Microsoft.Network/virtualRouters",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualRouterAsn": 10000,
+ "virtualRouterIps": [
+ "192.168.1.1",
+ "192.168.1.2"
+ ],
+ "hostedGateway": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway"
+ },
+ "peerings": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANDelete.json
new file mode 100644
index 000000000000..d225b30f0861
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "VirtualWANName": "virtualWan1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANGet.json
new file mode 100644
index 000000000000..1adc988979c2
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANGet.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "VirtualWANName": "wan1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "wan1",
+ "type": "Microsoft.Network/virtualWANs",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "disableVpnEncryption": false,
+ "virtualHubs": [
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1",
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2"
+ ],
+ "vpnSites": [
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1",
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2"
+ ],
+ "type": "Basic"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANList.json
new file mode 100644
index 000000000000..a7781780eb31
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANList.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "wan1",
+ "type": "Microsoft.Network/virtualWANs",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "disableVpnEncryption": false,
+ "virtualHubs": [
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1",
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2"
+ ],
+ "vpnSites": [
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1",
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2"
+ ],
+ "type": "Basic"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualWANs/wan2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "East US",
+ "name": "wan2",
+ "type": "Microsoft.Network/virtualWANs",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "disableVpnEncryption": false,
+ "virtualHubs": [
+ "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/hub1",
+ "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/hub2"
+ ],
+ "vpnSites": [
+ "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite1",
+ "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2"
+ ],
+ "type": "Basic"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANListByResourceGroup.json
new file mode 100644
index 000000000000..1d920660c18f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANListByResourceGroup.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "wan1",
+ "type": "Microsoft.Network/virtualWANs",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "disableVpnEncryption": false,
+ "virtualHubs": [
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1",
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2"
+ ],
+ "vpnSites": [
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1",
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2"
+ ],
+ "type": "Basic"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "East US",
+ "name": "wan2",
+ "type": "Microsoft.Network/virtualWANs",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "disableVpnEncryption": false,
+ "virtualHubs": [
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub3",
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub4"
+ ],
+ "vpnSites": [
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite3",
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite4"
+ ],
+ "type": "Basic"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANPut.json
new file mode 100644
index 000000000000..6a928e47b7fc
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANPut.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "VirtualWANName": "wan1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "WANParameters": {
+ "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "disableVpnEncryption": false,
+ "type": "Basic"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "wan1",
+ "type": "Microsoft.Network/virtualWANs",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "disableVpnEncryption": false,
+ "virtualHubs": [
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1",
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2"
+ ],
+ "vpnSites": [
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1",
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2"
+ ],
+ "type": "Basic"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "wan1",
+ "type": "Microsoft.Network/virtualWANs",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "disableVpnEncryption": false,
+ "virtualHubs": [
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1",
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2"
+ ],
+ "vpnSites": [
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1",
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2"
+ ],
+ "type": "Basic"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANUpdateTags.json
new file mode 100644
index 000000000000..857de6bf4929
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWANUpdateTags.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "VirtualWANName": "wan1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "WANParameters": {
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "wan1",
+ "type": "Microsoft.Network/virtualWANs",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "disableVpnEncryption": false,
+ "virtualHubs": [
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1",
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2"
+ ],
+ "vpnSites": [
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1",
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2"
+ ],
+ "type": "Basic"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWanSupportedSecurityProviders.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWanSupportedSecurityProviders.json
new file mode 100644
index 000000000000..1ca47b5981f0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualWanSupportedSecurityProviders.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "virtualWANName": "wan1"
+ },
+ "responses": {
+ "200": {
+ "description": "Request successful.",
+ "body": {
+ "supportedProviders": [
+ {
+ "name": "AzureFirewall",
+ "url": "",
+ "type": "Native"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssNetworkInterfaceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssNetworkInterfaceGet.json
new file mode 100644
index 000000000000..146f80e3d7f4
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssNetworkInterfaceGet.json
@@ -0,0 +1,65 @@
+{
+ "parameters": {
+ "api-version": "2018-10-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkInterfaceName": "nic1",
+ "virtualMachineScaleSetName": "vmss1",
+ "virtualmachineIndex": "1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "nic1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ip1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.5",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4",
+ "loadBalancerBackendAddressPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1"
+ }
+ ],
+ "loadBalancerInboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.1"
+ }
+ ]
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": [],
+ "internalDomainNameSuffix": "dns.cdmx.internal.cloudapp.net"
+ },
+ "macAddress": "00-00-00-00-00-00",
+ "enableAcceleratedNetworking": false,
+ "enableIPForwarding": false,
+ "networkSecurityGroup": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1"
+ },
+ "primary": true,
+ "virtualMachine": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssNetworkInterfaceIpConfigGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssNetworkInterfaceIpConfigGet.json
new file mode 100644
index 000000000000..5b7c23b7b56b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssNetworkInterfaceIpConfigGet.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "api-version": "2018-10-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualMachineScaleSetName": "vmss1",
+ "virtualmachineIndex": "2",
+ "networkInterfaceName": "nic1",
+ "ipConfigurationName": "ip1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "ip1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/2/networkInterfaces/nic1/ipConfigurations/ip1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.6",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4",
+ "loadBalancerBackendAddressPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1"
+ }
+ ],
+ "loadBalancerInboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.2"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssNetworkInterfaceIpConfigList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssNetworkInterfaceIpConfigList.json
new file mode 100644
index 000000000000..e14de4e82a72
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssNetworkInterfaceIpConfigList.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "api-version": "2018-10-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualMachineScaleSetName": "vmss1",
+ "virtualmachineIndex": "2",
+ "networkInterfaceName": "nic1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "ip1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/2/networkInterfaces/nic1/ipConfigurations/ip1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.6",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4",
+ "loadBalancerBackendAddressPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1"
+ }
+ ],
+ "loadBalancerInboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.2"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssNetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssNetworkInterfaceList.json
new file mode 100644
index 000000000000..0ec937148391
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssNetworkInterfaceList.json
@@ -0,0 +1,118 @@
+{
+ "parameters": {
+ "api-version": "2018-10-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualMachineScaleSetName": "vmss1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "nic1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/nic1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ip1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/nic1/ipConfigurations/ip1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4",
+ "loadBalancerBackendAddressPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1"
+ }
+ ],
+ "loadBalancerInboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.0"
+ }
+ ]
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": [],
+ "internalDomainNameSuffix": "ruw4wz3grewudjsyzrxj44pxod.cdmx.internal.cloudapp.net"
+ },
+ "macAddress": "00-00-00-00-00-00",
+ "enableAcceleratedNetworking": false,
+ "enableIPForwarding": false,
+ "networkSecurityGroup": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1"
+ },
+ "primary": true,
+ "virtualMachine": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0"
+ }
+ }
+ },
+ {
+ "name": "nic1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ip1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.5",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4",
+ "loadBalancerBackendAddressPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1"
+ }
+ ],
+ "loadBalancerInboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.1"
+ }
+ ]
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": [],
+ "internalDomainNameSuffix": "ruw4wz3grewudjsyzrxj44pxod.cdmx.internal.cloudapp.net"
+ },
+ "macAddress": "00-00-00-00-00-00",
+ "enableAcceleratedNetworking": false,
+ "enableIPForwarding": false,
+ "networkSecurityGroup": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1"
+ },
+ "primary": true,
+ "virtualMachine": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssPublicIpGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssPublicIpGet.json
new file mode 100644
index 000000000000..229c15712a0d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssPublicIpGet.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "virtualMachineScaleSetName": "vmss1",
+ "resourceGroupName": "vmss-tester",
+ "api-version": "2018-10-01",
+ "subscriptionId": "subid",
+ "virtualmachineIndex": 1,
+ "networkInterfaceName": "nic1",
+ "ipConfigurationName": "ip1",
+ "publicIpAddressName": "pub1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1",
+ "name": "pub1",
+ "properties": {
+ "publicIPAllocationMethod": "Dynamic",
+ "publicIPAddressVersion": "IPv4",
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1"
+ },
+ "dnsSettings": {
+ "domainNameLabel": "vm1.testvmssacc",
+ "fqdn": "vm1.testvmssacc.southeastasia.cloudapp.azure.com"
+ },
+ "ipAddress": "13.67.119.72",
+ "idleTimeoutInMinutes": 10,
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssPublicIpListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssPublicIpListAll.json
new file mode 100644
index 000000000000..605e0b831869
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssPublicIpListAll.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "virtualMachineScaleSetName": "vmss1",
+ "resourceGroupName": "vmss-tester",
+ "api-version": "2018-10-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1",
+ "name": "pub1",
+ "properties": {
+ "publicIPAllocationMethod": "Dynamic",
+ "publicIPAddressVersion": "IPv4",
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1"
+ },
+ "dnsSettings": {
+ "domainNameLabel": "vm1.testvmssacc",
+ "fqdn": "vm1.testvmssacc.southeastasia.cloudapp.azure.com"
+ },
+ "ipAddress": "13.67.119.72",
+ "idleTimeoutInMinutes": 10,
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1",
+ "name": "pub1",
+ "properties": {
+ "publicIPAllocationMethod": "Dynamic",
+ "publicIPAddressVersion": "IPv4",
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1"
+ },
+ "dnsSettings": {
+ "domainNameLabel": "vm3.testvmssacc",
+ "fqdn": "vm3.testvmssacc.southeastasia.cloudapp.azure.com"
+ },
+ "ipAddress": "13.67.118.216",
+ "idleTimeoutInMinutes": 10,
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssVmNetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssVmNetworkInterfaceList.json
new file mode 100644
index 000000000000..e4f1cbf14ebf
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssVmNetworkInterfaceList.json
@@ -0,0 +1,68 @@
+{
+ "parameters": {
+ "api-version": "2018-10-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualMachineScaleSetName": "vmss1",
+ "virtualmachineIndex": "1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "nic1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ip1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.5",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4",
+ "loadBalancerBackendAddressPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1"
+ }
+ ],
+ "loadBalancerInboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.1"
+ }
+ ]
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": [],
+ "internalDomainNameSuffix": "ruw4wz3grewudjsyzrxj44pxod.cdmx.internal.cloudapp.net"
+ },
+ "macAddress": "00-00-00-00-00-00",
+ "enableAcceleratedNetworking": false,
+ "enableIPForwarding": false,
+ "networkSecurityGroup": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1"
+ },
+ "primary": true,
+ "virtualMachine": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssVmPublicIpList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssVmPublicIpList.json
new file mode 100644
index 000000000000..d21f5d40ed03
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VmssVmPublicIpList.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "virtualMachineScaleSetName": "vmss1",
+ "resourceGroupName": "vmss-tester",
+ "api-version": "2018-10-01",
+ "subscriptionId": "subid",
+ "virtualmachineIndex": 1,
+ "networkInterfaceName": "nic1",
+ "ipConfigurationName": "ip1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1",
+ "name": "pub1",
+ "properties": {
+ "publicIPAllocationMethod": "Dynamic",
+ "publicIPAddressVersion": "IPv4",
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1"
+ },
+ "dnsSettings": {
+ "domainNameLabel": "vm1.testvmssacc",
+ "fqdn": "vm1.testvmssacc.southeastasia.cloudapp.azure.com"
+ },
+ "ipAddress": "13.67.119.72",
+ "idleTimeoutInMinutes": 10,
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnConnectionDelete.json
new file mode 100644
index 000000000000..da9d47135e4c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnConnectionDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "connectionName": "vpnConnection1",
+ "gatewayName": "gateway1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnConnectionGet.json
new file mode 100644
index 000000000000..4812ae033ea5
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnConnectionGet.json
@@ -0,0 +1,75 @@
+{
+ "parameters": {
+ "gatewayName": "gateway1",
+ "connectionName": "vpnConnection1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "enableInternetSecurity": false,
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "vpnLinkConnections": [
+ {
+ "name": "Connection-Link1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1",
+ "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnSiteLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1"
+ },
+ "connectionBandwidth": 200,
+ "ipsecPolicies": [],
+ "vpnConnectionProtocolType": "IKEv2",
+ "sharedKey": "key",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "enableBgp": false,
+ "enableRateLimiting": false,
+ "useLocalAzureIpAddress": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "routingWeight": 0
+ }
+ },
+ {
+ "name": "Connection-Link2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link2",
+ "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnSiteLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink2"
+ },
+ "connectionBandwidth": 200,
+ "ipsecPolicies": [],
+ "vpnConnectionProtocolType": "IKEv2",
+ "sharedKey": "key",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "enableBgp": false,
+ "enableRateLimiting": false,
+ "useLocalAzureIpAddress": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "routingWeight": 0
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnConnectionList.json
new file mode 100644
index 000000000000..58487fe0028c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnConnectionList.json
@@ -0,0 +1,76 @@
+{
+ "parameters": {
+ "gatewayName": "gateway1",
+ "api-version": "2019-09-01",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "enableInternetSecurity": false,
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "vpnLinkConnections": [
+ {
+ "name": "Connection-Link1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1",
+ "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnSiteLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1"
+ },
+ "connectionBandwidth": 200,
+ "ipsecPolicies": [],
+ "vpnConnectionProtocolType": "IKEv2",
+ "sharedKey": "key",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "enableBgp": false,
+ "enableRateLimiting": false,
+ "useLocalAzureIpAddress": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "routingWeight": 0
+ }
+ },
+ {
+ "name": "Connection-Link2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link2",
+ "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnSiteLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink2"
+ },
+ "connectionBandwidth": 200,
+ "ipsecPolicies": [],
+ "vpnConnectionProtocolType": "IKEv2",
+ "sharedKey": "key",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "enableBgp": false,
+ "enableRateLimiting": false,
+ "useLocalAzureIpAddress": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "routingWeight": 0
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnConnectionPut.json
new file mode 100644
index 000000000000..1d30aa249195
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnConnectionPut.json
@@ -0,0 +1,112 @@
+{
+ "parameters": {
+ "connectionName": "vpnConnection1",
+ "gatewayName": "gateway1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "VpnConnectionParameters": {
+ "properties": {
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "vpnLinkConnections": [
+ {
+ "name": "Connection-Link1",
+ "properties": {
+ "vpnSiteLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1"
+ },
+ "connectionBandwidth": 200,
+ "vpnConnectionProtocolType": "IKEv2",
+ "sharedKey": "key"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "enableInternetSecurity": false,
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "vpnLinkConnections": [
+ {
+ "name": "Connection-Link1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnSiteLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1"
+ },
+ "connectionBandwidth": 200,
+ "ipsecPolicies": [],
+ "vpnConnectionProtocolType": "IKEv2",
+ "sharedKey": "key",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "enableBgp": false,
+ "enableRateLimiting": false,
+ "useLocalAzureIpAddress": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "routingWeight": 0
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "enableInternetSecurity": false,
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "vpnLinkConnections": [
+ {
+ "name": "Connection-Link1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnSiteLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1"
+ },
+ "connectionBandwidth": 200,
+ "ipsecPolicies": [],
+ "vpnConnectionProtocolType": "IKEv2",
+ "sharedKey": "key",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "enableBgp": false,
+ "enableRateLimiting": false,
+ "useLocalAzureIpAddress": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "routingWeight": 0
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayDelete.json
new file mode 100644
index 000000000000..ffc2b0522fe3
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "gatewayName": "gateway1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayGet.json
new file mode 100644
index 000000000000..0bc5f146b351
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayGet.json
@@ -0,0 +1,94 @@
+{
+ "parameters": {
+ "gatewayName": "gateway1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "enableInternetSecurity": false,
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "vpnLinkConnections": [
+ {
+ "name": "Connection-Link1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1",
+ "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnSiteLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1"
+ },
+ "connectionBandwidth": 200,
+ "ipsecPolicies": [],
+ "vpnConnectionProtocolType": "IKEv2",
+ "sharedKey": "key",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "enableBgp": false,
+ "enableRateLimiting": false,
+ "useLocalAzureIpAddress": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "routingWeight": 0
+ }
+ },
+ {
+ "name": "Connection-Link2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link2",
+ "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnSiteLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink2"
+ },
+ "connectionBandwidth": 200,
+ "ipsecPolicies": [],
+ "vpnConnectionProtocolType": "IKEv2",
+ "sharedKey": "key",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "enableBgp": false,
+ "enableRateLimiting": false,
+ "useLocalAzureIpAddress": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "routingWeight": 0
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "bgpSettings": {
+ "asn": 65514,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayList.json
new file mode 100644
index 000000000000..a53e72f9c696
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayList.json
@@ -0,0 +1,137 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "enableInternetSecurity": false,
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "vpnLinkConnections": [
+ {
+ "name": "Connection-Link1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1",
+ "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnSiteLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1"
+ },
+ "connectionBandwidth": 200,
+ "ipsecPolicies": [],
+ "vpnConnectionProtocolType": "IKEv2",
+ "sharedKey": "key",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "enableBgp": false,
+ "enableRateLimiting": false,
+ "useLocalAzureIpAddress": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "routingWeight": 0
+ }
+ },
+ {
+ "name": "Connection-Link2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link2",
+ "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnSiteLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink2"
+ },
+ "connectionBandwidth": 200,
+ "ipsecPolicies": [],
+ "vpnConnectionProtocolType": "IKEv2",
+ "sharedKey": "key",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "enableBgp": false,
+ "enableRateLimiting": false,
+ "useLocalAzureIpAddress": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "routingWeight": 0
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "bgpSettings": {
+ "asn": 65514,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ }
+ }
+ },
+ {
+ "name": "gateway2",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnGateways/gateway2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnGateways/gateway2/vpnConnections/vpnConnection2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "useLocalAzureIpAddress": false,
+ "ipsecPolicies": []
+ }
+ }
+ ],
+ "bgpSettings": {
+ "asn": 65514,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayListByResourceGroup.json
new file mode 100644
index 000000000000..a53e72f9c696
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayListByResourceGroup.json
@@ -0,0 +1,137 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "enableInternetSecurity": false,
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "vpnLinkConnections": [
+ {
+ "name": "Connection-Link1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1",
+ "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnSiteLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1"
+ },
+ "connectionBandwidth": 200,
+ "ipsecPolicies": [],
+ "vpnConnectionProtocolType": "IKEv2",
+ "sharedKey": "key",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "enableBgp": false,
+ "enableRateLimiting": false,
+ "useLocalAzureIpAddress": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "routingWeight": 0
+ }
+ },
+ {
+ "name": "Connection-Link2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link2",
+ "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnSiteLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink2"
+ },
+ "connectionBandwidth": 200,
+ "ipsecPolicies": [],
+ "vpnConnectionProtocolType": "IKEv2",
+ "sharedKey": "key",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "enableBgp": false,
+ "enableRateLimiting": false,
+ "useLocalAzureIpAddress": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "routingWeight": 0
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "bgpSettings": {
+ "asn": 65514,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ }
+ }
+ },
+ {
+ "name": "gateway2",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnGateways/gateway2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnGateways/gateway2/vpnConnections/vpnConnection2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "useLocalAzureIpAddress": false,
+ "ipsecPolicies": []
+ }
+ }
+ ],
+ "bgpSettings": {
+ "asn": 65514,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayPut.json
new file mode 100644
index 000000000000..51430d5aa3ad
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayPut.json
@@ -0,0 +1,170 @@
+{
+ "parameters": {
+ "gatewayName": "gateway1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "vpnGatewayParameters": {
+ "location": "westcentralus",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "properties": {
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "vpnLinkConnections": [
+ {
+ "name": "Connection-Link1",
+ "properties": {
+ "vpnSiteLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1"
+ },
+ "connectionBandwidth": 200,
+ "vpnConnectionProtocolType": "IKEv2",
+ "sharedKey": "key"
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "peerWeight": 0
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "enableInternetSecurity": false,
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "vpnLinkConnections": [
+ {
+ "name": "Connection-Link1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnSiteLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1"
+ },
+ "connectionBandwidth": 200,
+ "ipsecPolicies": [],
+ "vpnConnectionProtocolType": "IKEv2",
+ "sharedKey": "key",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "enableBgp": false,
+ "enableRateLimiting": false,
+ "useLocalAzureIpAddress": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "routingWeight": 0
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "bgpSettings": {
+ "asn": 65514,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "enableInternetSecurity": false,
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "vpnLinkConnections": [
+ {
+ "name": "Connection-Link1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnSiteLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1"
+ },
+ "connectionBandwidth": 200,
+ "ipsecPolicies": [],
+ "vpnConnectionProtocolType": "IKEv2",
+ "sharedKey": "key",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "enableBgp": false,
+ "enableRateLimiting": false,
+ "useLocalAzureIpAddress": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "routingWeight": 0
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "bgpSettings": {
+ "asn": 65514,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayReset.json
new file mode 100644
index 000000000000..296277e50ab8
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayReset.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "gatewayName": "vpngw",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": {
+ "name": "vpngw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/vpngw",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/vpngw/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "connectionBandwidth": 100,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "useLocalAzureIpAddress": false,
+ "ipsecPolicies": []
+ }
+ }
+ ],
+ "bgpSettings": {
+ "asn": 65514,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayUpdateTags.json
new file mode 100644
index 000000000000..556a0ac2dab5
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnGatewayUpdateTags.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "gatewayName": "gateway1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "vpnGatewayParameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "gateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/vpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "connections": [
+ {
+ "name": "vpnConnection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVpnSite": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1"
+ },
+ "connectionStatus": "Connected",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "routingWeight": 0,
+ "sharedKey": "key",
+ "enableBgp": false,
+ "ipsecPolicies": []
+ }
+ }
+ ],
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationDelete.json
new file mode 100644
index 000000000000..1c397f0c73ba
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "vpnServerConfigurationName": "vpnServerConfiguration1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationGet.json
new file mode 100644
index 000000000000..7dc0277277b0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationGet.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "vpnServerConfigurationName": "vpnServerConfiguration1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "vpnServerConfiguration1",
+ "type": "Microsoft.Network/vpnServerConfigurations",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnProtocols": [
+ "IkeV2"
+ ],
+ "vpnAuthenticationTypes": [
+ "Certificate"
+ ],
+ "vpnClientIpsecPolicies": [
+ {
+ "saLifeTimeSeconds": 86472,
+ "saDataSizeKilobytes": 429497,
+ "ipsecEncryption": "AES256",
+ "ipsecIntegrity": "SHA256",
+ "ikeEncryption": "AES256",
+ "ikeIntegrity": "SHA384",
+ "dhGroup": "DHGroup14",
+ "pfsGroup": "PFS14"
+ }
+ ],
+ "vpnClientRootCertificates": [
+ {
+ "name": "vpnServerConfigVpnClientRootCert1",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
+ }
+ ],
+ "vpnClientRevokedCertificates": [
+ {
+ "name": "vpnServerConfigVpnClientRevokedCert1",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ ],
+ "radiusServerAddress": "8.9.9.9",
+ "radiusServerSecret": "123_abc",
+ "radiusServerRootCertificates": [
+ {
+ "name": "vpnServerConfigRadiusServerRootCer1",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
+ }
+ ],
+ "radiusClientRootCertificates": [
+ {
+ "name": "vpnServerConfigRadiusClientRootCert1",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationList.json
new file mode 100644
index 000000000000..397c11debb69
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationList.json
@@ -0,0 +1,128 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "vpnServerConfiguration1",
+ "type": "Microsoft.Network/vpnServerConfigurations",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnProtocols": [
+ "IkeV2"
+ ],
+ "vpnAuthenticationTypes": [
+ "Certificate"
+ ],
+ "vpnClientIpsecPolicies": [
+ {
+ "saLifeTimeSeconds": 86472,
+ "saDataSizeKilobytes": 429497,
+ "ipsecEncryption": "AES256",
+ "ipsecIntegrity": "SHA256",
+ "ikeEncryption": "AES256",
+ "ikeIntegrity": "SHA384",
+ "dhGroup": "DHGroup14",
+ "pfsGroup": "PFS14"
+ }
+ ],
+ "vpnClientRootCertificates": [
+ {
+ "name": "vpnServerConfigVpnClientRootCert1",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
+ }
+ ],
+ "vpnClientRevokedCertificates": [
+ {
+ "name": "vpnServerConfigVpnClientRevokedCert1",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ ],
+ "radiusServerAddress": "8.9.9.9",
+ "radiusServerSecret": "123_abc",
+ "radiusServerRootCertificates": [
+ {
+ "name": "vpnServerConfigRadiusServerRootCer1",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
+ }
+ ],
+ "radiusClientRootCertificates": [
+ {
+ "name": "vpnServerConfigRadiusClientRootCert1",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "East US",
+ "name": "vpnServerConfiguration2",
+ "type": "Microsoft.Network/vpnServerConfigurations",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnProtocols": [
+ "IkeV2"
+ ],
+ "vpnAuthenticationTypes": [
+ "Certificate"
+ ],
+ "vpnClientIpsecPolicies": [
+ {
+ "saLifeTimeSeconds": 86472,
+ "saDataSizeKilobytes": 429497,
+ "ipsecEncryption": "AES256",
+ "ipsecIntegrity": "SHA256",
+ "ikeEncryption": "AES256",
+ "ikeIntegrity": "SHA384",
+ "dhGroup": "DHGroup14",
+ "pfsGroup": "PFS14"
+ }
+ ],
+ "vpnClientRootCertificates": [
+ {
+ "name": "vpnServerConfigVpnClientRootCert1",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
+ }
+ ],
+ "vpnClientRevokedCertificates": [
+ {
+ "name": "vpnServerConfigVpnClientRevokedCert1",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ ],
+ "radiusServerAddress": "8.9.9.9",
+ "radiusServerSecret": "123_abc",
+ "radiusServerRootCertificates": [
+ {
+ "name": "vpnServerConfigRadiusServerRootCer1",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
+ }
+ ],
+ "radiusClientRootCertificates": [
+ {
+ "name": "vpnServerConfigRadiusClientRootCert1",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationListByResourceGroup.json
new file mode 100644
index 000000000000..a293c4ee057a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationListByResourceGroup.json
@@ -0,0 +1,129 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "vpnServerConfiguration1",
+ "type": "Microsoft.Network/vpnServerConfigurations",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnProtocols": [
+ "IkeV2"
+ ],
+ "vpnAuthenticationTypes": [
+ "Certificate"
+ ],
+ "vpnClientIpsecPolicies": [
+ {
+ "saLifeTimeSeconds": 86472,
+ "saDataSizeKilobytes": 429497,
+ "ipsecEncryption": "AES256",
+ "ipsecIntegrity": "SHA256",
+ "ikeEncryption": "AES256",
+ "ikeIntegrity": "SHA384",
+ "dhGroup": "DHGroup14",
+ "pfsGroup": "PFS14"
+ }
+ ],
+ "vpnClientRootCertificates": [
+ {
+ "name": "vpnServerConfigVpnClientRootCert1",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
+ }
+ ],
+ "vpnClientRevokedCertificates": [
+ {
+ "name": "vpnServerConfigVpnClientRevokedCert1",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ ],
+ "radiusServerAddress": "8.9.9.9",
+ "radiusServerSecret": "123_abc",
+ "radiusServerRootCertificates": [
+ {
+ "name": "vpnServerConfigRadiusServerRootCer1",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
+ }
+ ],
+ "radiusClientRootCertificates": [
+ {
+ "name": "vpnServerConfigRadiusClientRootCert1",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "vpnServerConfiguration2",
+ "type": "Microsoft.Network/vpnServerConfigurations",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnProtocols": [
+ "IkeV2"
+ ],
+ "vpnAuthenticationTypes": [
+ "Certificate"
+ ],
+ "vpnClientIpsecPolicies": [
+ {
+ "saLifeTimeSeconds": 86472,
+ "saDataSizeKilobytes": 429497,
+ "ipsecEncryption": "AES256",
+ "ipsecIntegrity": "SHA256",
+ "ikeEncryption": "AES256",
+ "ikeIntegrity": "SHA384",
+ "dhGroup": "DHGroup14",
+ "pfsGroup": "PFS14"
+ }
+ ],
+ "vpnClientRootCertificates": [
+ {
+ "name": "vpnServerConfigVpnClientRootCert1",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
+ }
+ ],
+ "vpnClientRevokedCertificates": [
+ {
+ "name": "vpnServerConfigVpnClientRevokedCert1",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ ],
+ "radiusServerAddress": "8.9.9.9",
+ "radiusServerSecret": "123_abc",
+ "radiusServerRootCertificates": [
+ {
+ "name": "vpnServerConfigRadiusServerRootCer1",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
+ }
+ ],
+ "radiusClientRootCertificates": [
+ {
+ "name": "vpnServerConfigRadiusClientRootCert1",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationPut.json
new file mode 100644
index 000000000000..2ff095c2abab
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationPut.json
@@ -0,0 +1,177 @@
+{
+ "parameters": {
+ "vpnServerConfigurationName": "vpnServerConfiguration1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "VpnServerConfigurationParameters": {
+ "tags": {
+ "key1": "value1"
+ },
+ "location": "West US",
+ "properties": {
+ "vpnProtocols": [
+ "IkeV2"
+ ],
+ "vpnClientIpsecPolicies": [
+ {
+ "saLifeTimeSeconds": 86472,
+ "saDataSizeKilobytes": 429497,
+ "ipsecEncryption": "AES256",
+ "ipsecIntegrity": "SHA256",
+ "ikeEncryption": "AES256",
+ "ikeIntegrity": "SHA384",
+ "dhGroup": "DHGroup14",
+ "pfsGroup": "PFS14"
+ }
+ ],
+ "vpnClientRootCertificates": [
+ {
+ "name": "vpnServerConfigVpnClientRootCert1",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
+ }
+ ],
+ "vpnClientRevokedCertificates": [
+ {
+ "name": "vpnServerConfigVpnClientRevokedCert1",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ ],
+ "radiusServerAddress": "8.9.9.9",
+ "radiusServerSecret": "123_abc",
+ "radiusServerRootCertificates": [
+ {
+ "name": "vpnServerConfigRadiusServerRootCer1",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
+ }
+ ],
+ "radiusClientRootCertificates": [
+ {
+ "name": "vpnServerConfigRadiusClientRootCert1",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "vpnServerConfiguration1",
+ "type": "Microsoft.Network/vpnServerConfigurations",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnProtocols": [
+ "IkeV2"
+ ],
+ "vpnAuthenticationTypes": [
+ "Certificate"
+ ],
+ "vpnClientIpsecPolicies": [
+ {
+ "saLifeTimeSeconds": 86472,
+ "saDataSizeKilobytes": 429497,
+ "ipsecEncryption": "AES256",
+ "ipsecIntegrity": "SHA256",
+ "ikeEncryption": "AES256",
+ "ikeIntegrity": "SHA384",
+ "dhGroup": "DHGroup14",
+ "pfsGroup": "PFS14"
+ }
+ ],
+ "vpnClientRootCertificates": [
+ {
+ "name": "vpnServerConfigVpnClientRootCert1",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
+ }
+ ],
+ "vpnClientRevokedCertificates": [
+ {
+ "name": "vpnServerConfigVpnClientRevokedCert1",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ ],
+ "radiusServerAddress": "8.9.9.9",
+ "radiusServerSecret": "123_abc",
+ "radiusServerRootCertificates": [
+ {
+ "name": "vpnServerConfigRadiusServerRootCer1",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
+ }
+ ],
+ "radiusClientRootCertificates": [
+ {
+ "name": "vpnServerConfigRadiusClientRootCert1",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "vpnServerConfiguration1",
+ "type": "Microsoft.Network/vpnServerConfigurations",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnProtocols": [
+ "IkeV2"
+ ],
+ "vpnAuthenticationTypes": [
+ "Certificate"
+ ],
+ "vpnClientIpsecPolicies": [
+ {
+ "saLifeTimeSeconds": 86472,
+ "saDataSizeKilobytes": 429497,
+ "ipsecEncryption": "AES256",
+ "ipsecIntegrity": "SHA256",
+ "ikeEncryption": "AES256",
+ "ikeIntegrity": "SHA384",
+ "dhGroup": "DHGroup14",
+ "pfsGroup": "PFS14"
+ }
+ ],
+ "vpnClientRootCertificates": [
+ {
+ "name": "vpnServerConfigVpnClientRootCert1",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
+ }
+ ],
+ "vpnClientRevokedCertificates": [
+ {
+ "name": "vpnServerConfigVpnClientRevokedCert1",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ ],
+ "radiusServerAddress": "8.9.9.9",
+ "radiusServerSecret": "123_abc",
+ "radiusServerRootCertificates": [
+ {
+ "name": "vpnServerConfigRadiusServerRootCer1",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
+ }
+ ],
+ "radiusClientRootCertificates": [
+ {
+ "name": "vpnServerConfigRadiusClientRootCert1",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationUpdateTags.json
new file mode 100644
index 000000000000..b0bc00b3a906
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnServerConfigurationUpdateTags.json
@@ -0,0 +1,73 @@
+{
+ "parameters": {
+ "vpnServerConfigurationName": "vpnServerConfiguration1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "VpnServerConfigurationParameters": {
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "vpnServerConfiguration1",
+ "type": "Microsoft.Network/vpnServerConfigurations",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnProtocols": [
+ "IkeV2"
+ ],
+ "vpnClientIpsecPolicies": [
+ {
+ "saLifeTimeSeconds": 86472,
+ "saDataSizeKilobytes": 429497,
+ "ipsecEncryption": "AES256",
+ "ipsecIntegrity": "SHA256",
+ "ikeEncryption": "AES256",
+ "ikeIntegrity": "SHA384",
+ "dhGroup": "DHGroup14",
+ "pfsGroup": "PFS14"
+ }
+ ],
+ "vpnClientRootCertificates": [
+ {
+ "name": "vpnServerConfigVpnClientRootCert1",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
+ }
+ ],
+ "vpnClientRevokedCertificates": [
+ {
+ "name": "vpnServerConfigVpnClientRevokedCert1",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ ],
+ "radiusServerAddress": "8.9.9.9",
+ "radiusServerSecret": "123_abc",
+ "radiusServerRootCertificates": [
+ {
+ "name": "vpnServerConfigRadiusServerRootCer1",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
+ }
+ ],
+ "radiusClientRootCertificates": [
+ {
+ "name": "vpnServerConfigRadiusClientRootCert1",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteDelete.json
new file mode 100644
index 000000000000..14d8839c9660
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "vpnSiteName": "vpnSite1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteGet.json
new file mode 100644
index 000000000000..1c0639e2ab60
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteGet.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "vpnSiteName": "vpnSite1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "vpnSite1",
+ "type": "Microsoft.Network/vpnSites",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1"
+ },
+ "deviceProperties": {
+ "linkSpeedInMbps": 0
+ },
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "isSecuritySite": false,
+ "vpnSiteLinks": [
+ {
+ "name": "vpnSiteLink1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1",
+ "type": "Microsoft.Network/vpnSites/vpnSiteLinks",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddress": "50.50.50.56",
+ "linkProperties": {
+ "linkProviderName": "vendor1",
+ "linkSpeedInMbps": 0
+ },
+ "bgpProperties": {
+ "bgpPeeringAddress": "192.168.0.0",
+ "asn": 1234
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteLinkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteLinkConnectionGet.json
new file mode 100644
index 000000000000..085a25e4b534
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteLinkConnectionGet.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "gatewayName": "gateway1",
+ "connectionName": "vpnConnection1",
+ "linkConnectionName": "Connection-Link1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "Connection-Link1",
+ "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnSiteLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1"
+ },
+ "connectionBandwidth": 200,
+ "ipsecPolicies": [],
+ "vpnConnectionProtocolType": "IKEv2",
+ "sharedKey": "key",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "enableBgp": false,
+ "enableRateLimiting": false,
+ "useLocalAzureIpAddress": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "routingWeight": 0
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteLinkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteLinkConnectionList.json
new file mode 100644
index 000000000000..eac7884d7ae8
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteLinkConnectionList.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "gatewayName": "gateway1",
+ "api-version": "2019-09-01",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid",
+ "connectionName": "vpnConnection1"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "name": "Connection-Link1",
+ "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnSiteLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1"
+ },
+ "connectionBandwidth": 200,
+ "ipsecPolicies": [],
+ "vpnConnectionProtocolType": "IKEv2",
+ "sharedKey": "key",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0,
+ "enableBgp": false,
+ "enableRateLimiting": false,
+ "useLocalAzureIpAddress": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "routingWeight": 0
+ }
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteLinkGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteLinkGet.json
new file mode 100644
index 000000000000..3189abe42cd1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteLinkGet.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "vpnSiteName": "vpnSite1",
+ "vpnSiteLinkName": "vpnSiteLink1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "vpnSiteLink1",
+ "type": "Microsoft.Network/vpnSites/vpnSiteLinks",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddress": "50.50.50.56",
+ "linkProperties": {
+ "linkSpeedInMbps": 0
+ },
+ "bgpProperties": {
+ "bgpPeeringAddress": "192.168.0.0",
+ "asn": 1234
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteLinkListByVpnSite.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteLinkListByVpnSite.json
new file mode 100644
index 000000000000..44867d017701
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteLinkListByVpnSite.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "vpnSiteName": "vpnSite1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "vpnSiteLink1",
+ "type": "Microsoft.Network/vpnSites/vpnSiteLinks",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddress": "50.50.50.56",
+ "linkProperties": {
+ "linkSpeedInMbps": 200
+ },
+ "bgpProperties": {
+ "bgpPeeringAddress": "192.168.0.0",
+ "asn": 1234
+ }
+ }
+ },
+ {
+ "name": "vpnSiteLink2",
+ "type": "Microsoft.Network/vpnSites/vpnSiteLinks",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink2",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddress": "40.40.40.46",
+ "linkProperties": {
+ "linkSpeedInMbps": 200
+ },
+ "bgpProperties": {
+ "bgpPeeringAddress": "192.168.0.1",
+ "asn": 1234
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteList.json
new file mode 100644
index 000000000000..7cd0e48a84c8
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteList.json
@@ -0,0 +1,88 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "vpnSite1",
+ "type": "Microsoft.Network/vpnSites",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1"
+ },
+ "deviceProperties": {
+ "linkSpeedInMbps": 0
+ },
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "isSecuritySite": false,
+ "vpnSiteLinks": [
+ {
+ "name": "vpnSiteLink1",
+ "type": "Microsoft.Network/vpnSites/vpnSiteLinks",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddress": "50.50.50.56",
+ "linkProperties": {
+ "linkSpeedInMbps": 0
+ },
+ "bgpProperties": {
+ "bgpPeeringAddress": "192.168.0.0",
+ "asn": 1234
+ }
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "East US",
+ "name": "vpnSite2",
+ "type": "Microsoft.Network/vpnSites",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualWANs/wan1",
+ "deviceProperties": {
+ "deviceVendor": "vendor1",
+ "deviceModel": "model01",
+ "linkSpeedInMbps": 200
+ },
+ "ipAddress": "10.1.0.0",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "bgpProperties": {
+ "bgpPeeringAddress": "192.168.0.0",
+ "asn": 1234
+ },
+ "isSecuritySite": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteListByResourceGroup.json
new file mode 100644
index 000000000000..893267967f1c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteListByResourceGroup.json
@@ -0,0 +1,88 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "vpnSite1",
+ "type": "Microsoft.Network/vpnSites",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1"
+ },
+ "deviceProperties": {
+ "linkSpeedInMbps": 0
+ },
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "isSecuritySite": false,
+ "vpnSiteLinks": [
+ {
+ "name": "vpnSiteLink1",
+ "type": "Microsoft.Network/vpnSites/vpnSiteLinks",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddress": "50.50.50.56",
+ "linkProperties": {
+ "linkSpeedInMbps": 0
+ },
+ "bgpProperties": {
+ "bgpPeeringAddress": "192.168.0.0",
+ "asn": 1234
+ }
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "vpnSite2",
+ "type": "Microsoft.Network/vpnSites",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1",
+ "deviceProperties": {
+ "deviceVendor": "vendor1",
+ "deviceModel": "model01",
+ "linkSpeedInMbps": 200
+ },
+ "ipAddress": "10.1.0.0",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "bgpProperties": {
+ "bgpPeeringAddress": "192.168.0.0",
+ "asn": 1234
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSitePut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSitePut.json
new file mode 100644
index 000000000000..f13404305d15
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSitePut.json
@@ -0,0 +1,136 @@
+{
+ "parameters": {
+ "vpnSiteName": "vpnSite1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "VpnSiteParameters": {
+ "tags": {
+ "key1": "value1"
+ },
+ "location": "West US",
+ "properties": {
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1"
+ },
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "isSecuritySite": false,
+ "vpnSiteLinks": [
+ {
+ "name": "vpnSiteLink1",
+ "properties": {
+ "ipAddress": "50.50.50.56",
+ "linkProperties": {
+ "linkProviderName": "vendor1",
+ "linkSpeedInMbps": 0
+ },
+ "bgpProperties": {
+ "bgpPeeringAddress": "192.168.0.0",
+ "asn": 1234
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "vpnSite1",
+ "type": "Microsoft.Network/vpnSites",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1"
+ },
+ "deviceProperties": {
+ "linkSpeedInMbps": 0
+ },
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "isSecuritySite": false,
+ "vpnSiteLinks": [
+ {
+ "name": "vpnSiteLink1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/vpnSites/vpnSiteLinks",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddress": "50.50.50.56",
+ "linkProperties": {
+ "linkProviderName": "vendor1",
+ "linkSpeedInMbps": 0
+ },
+ "bgpProperties": {
+ "bgpPeeringAddress": "192.168.0.0",
+ "asn": 1234
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "vpnSite1",
+ "type": "Microsoft.Network/vpnSites",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1"
+ },
+ "deviceProperties": {
+ "linkSpeedInMbps": 0
+ },
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "isSecuritySite": false,
+ "vpnSiteLinks": [
+ {
+ "name": "vpnSiteLink1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddress": "50.50.50.56",
+ "linkProperties": {
+ "linkProviderName": "vendor1",
+ "linkSpeedInMbps": 0
+ },
+ "bgpProperties": {
+ "bgpPeeringAddress": "192.168.0.0",
+ "asn": 1234
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteUpdateTags.json
new file mode 100644
index 000000000000..4c7faeab8990
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSiteUpdateTags.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "vpnSiteName": "vpnSite1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "VpnSiteParameters": {
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "vpnSite1",
+ "type": "Microsoft.Network/vpnSites",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1",
+ "deviceProperties": {
+ "deviceVendor": "vendor1",
+ "deviceModel": "model01",
+ "linkSpeedInMbps": 200
+ },
+ "ipAddress": "10.0.0.0",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "bgpProperties": {
+ "bgpPeeringAddress": "192.168.0.0",
+ "asn": 1234
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSitesConfigurationDownload.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSitesConfigurationDownload.json
new file mode 100644
index 000000000000..d9ec11c165e8
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VpnSitesConfigurationDownload.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-09-01",
+ "virtualWANName": "wan1",
+ "request": {
+ "vpnSites": [
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/abc"
+ ],
+ "outputBlobSasUrl": "https://blobcortextesturl.blob.core.windows.net/folderforconfig/vpnFile?sp=rw&se=2018-01-10T03%3A42%3A04Z&sv=2017-04-17&sig=WvXrT5bDmDFfgHs%2Brz%2BjAu123eRCNE9BO0eQYcPDT7pY%3D&sr=b"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Request successful. Follow the location header for sas-url to output blob."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/WafListAllPolicies.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/WafListAllPolicies.json
new file mode 100644
index 000000000000..4cedb187dfdf
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/WafListAllPolicies.json
@@ -0,0 +1,102 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Policy1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1",
+ "type": "Microsoft.Network/applicationgatewaywebapplicationfirewallpolicies",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "location": "WestUs",
+ "properties": {
+ "resourceState": "Enabled",
+ "provisioningState": "Succeeded",
+ "policySettings": {
+ "state": "Enabled",
+ "mode": "Prevention",
+ "maxRequestBodySizeInKb": 128,
+ "fileUploadLimitInMb": 750,
+ "requestBodyCheck": true
+ },
+ "customRules": [
+ {
+ "name": "Rule1",
+ "priority": 1,
+ "ruleType": "MatchRule",
+ "matchConditions": [
+ {
+ "matchVariables": [
+ {
+ "variableName": "RemoteAddr",
+ "selector": null
+ }
+ ],
+ "operator": "IPMatch",
+ "negationConditon": false,
+ "matchValues": [
+ "192.168.1.0/24",
+ "10.0.0.0/24"
+ ],
+ "transforms": []
+ }
+ ],
+ "action": "Block"
+ },
+ {
+ "name": "Rule2",
+ "priority": 2,
+ "ruleType": "MatchRule",
+ "matchConditions": [
+ {
+ "matchVariables": [
+ {
+ "variableName": "RemoteAddr",
+ "selector": null
+ }
+ ],
+ "operator": "IPMatch",
+ "negationConditon": false,
+ "matchValues": [
+ "192.168.1.0/24"
+ ]
+ },
+ {
+ "matchVariables": [
+ {
+ "variableName": "RequestHeader",
+ "selector": "UserAgent"
+ }
+ ],
+ "operator": "Contains",
+ "negationConditon": false,
+ "matchValues": [
+ "Windows"
+ ]
+ }
+ ],
+ "action": "Block"
+ }
+ ],
+ "managedRules": {
+ "managedRuleSets": [
+ {
+ "ruleSetType": "OWASP",
+ "ruleSetVersion": "3.0"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/WafListPolicies.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/WafListPolicies.json
new file mode 100644
index 000000000000..7ac560957983
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/WafListPolicies.json
@@ -0,0 +1,103 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Policy1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1",
+ "type": "Microsoft.Network/applicationgatewaywebapplicationfirewallpolicies",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "location": "WestUs",
+ "properties": {
+ "resourceState": "Enabled",
+ "provisioningState": "Succeeded",
+ "policySettings": {
+ "state": "Enabled",
+ "mode": "Detection",
+ "maxRequestBodySizeInKb": 128,
+ "fileUploadLimitInMb": 750,
+ "requestBodyCheck": true
+ },
+ "managedRules": {
+ "managedRuleSets": [
+ {
+ "ruleSetType": "OWASP",
+ "ruleSetVersion": "3.0"
+ }
+ ]
+ },
+ "customRules": [
+ {
+ "name": "Rule1",
+ "priority": 1,
+ "ruleType": "MatchRule",
+ "matchConditions": [
+ {
+ "matchVariables": [
+ {
+ "variableName": "RemoteAddr",
+ "selector": null
+ }
+ ],
+ "operator": "IPMatch",
+ "negationConditon": false,
+ "matchValues": [
+ "192.168.1.0/24",
+ "10.0.0.0/24"
+ ],
+ "transforms": []
+ }
+ ],
+ "action": "Block"
+ },
+ {
+ "name": "Rule2",
+ "priority": 2,
+ "ruleType": "MatchRule",
+ "matchConditions": [
+ {
+ "matchVariables": [
+ {
+ "variableName": "RemoteAddr",
+ "selector": null
+ }
+ ],
+ "operator": "IPMatch",
+ "negationConditon": false,
+ "matchValues": [
+ "192.168.1.0/24"
+ ]
+ },
+ {
+ "matchVariables": [
+ {
+ "variableName": "RequestHeader",
+ "selector": "UserAgent"
+ }
+ ],
+ "operator": "Contains",
+ "negationConditon": false,
+ "matchValues": [
+ "Windows"
+ ]
+ }
+ ],
+ "action": "Block"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/WafPolicyCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/WafPolicyCreateOrUpdate.json
new file mode 100644
index 000000000000..b479fb18ff96
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/WafPolicyCreateOrUpdate.json
@@ -0,0 +1,258 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "policyName": "Policy1",
+ "parameters": {
+ "location": "WestUs",
+ "properties": {
+ "managedRules": {
+ "managedRuleSets": [
+ {
+ "ruleSetType": "OWASP",
+ "ruleSetVersion": "3.0"
+ }
+ ]
+ },
+ "customRules": [
+ {
+ "name": "Rule1",
+ "priority": 1,
+ "ruleType": "MatchRule",
+ "action": "Block",
+ "matchConditions": [
+ {
+ "matchVariables": [
+ {
+ "variableName": "RemoteAddr",
+ "selector": null
+ }
+ ],
+ "operator": "IPMatch",
+ "matchValues": [
+ "192.168.1.0/24",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Rule2",
+ "priority": 2,
+ "ruleType": "MatchRule",
+ "matchConditions": [
+ {
+ "matchVariables": [
+ {
+ "variableName": "RemoteAddr",
+ "selector": null
+ }
+ ],
+ "operator": "IPMatch",
+ "matchValues": [
+ "192.168.1.0/24"
+ ]
+ },
+ {
+ "matchVariables": [
+ {
+ "variableName": "RequestHeaders",
+ "selector": "UserAgent"
+ }
+ ],
+ "operator": "Contains",
+ "matchValues": [
+ "Windows"
+ ]
+ }
+ ],
+ "action": "Block"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "Policy1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1",
+ "type": "Microsoft.Network/applicationgatewaywebapplicationfirewallpolicies",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "location": "WestUs",
+ "properties": {
+ "resourceState": "Enabled",
+ "provisioningState": "Succeeded",
+ "policySettings": {
+ "state": "Enabled",
+ "mode": "Detection",
+ "maxRequestBodySizeInKb": 128,
+ "fileUploadLimitInMb": 750,
+ "requestBodyCheck": true
+ },
+ "managedRules": {
+ "managedRuleSets": [
+ {
+ "ruleSetType": "OWASP",
+ "ruleSetVersion": "3.0"
+ }
+ ]
+ },
+ "customRules": [
+ {
+ "name": "Rule1",
+ "priority": 1,
+ "ruleType": "MatchRule",
+ "matchConditions": [
+ {
+ "matchVariables": [
+ {
+ "variableName": "RemoteAddr",
+ "selector": null
+ }
+ ],
+ "operator": "IPMatch",
+ "negationConditon": false,
+ "matchValues": [
+ "192.168.1.0/24",
+ "10.0.0.0/24"
+ ],
+ "transforms": []
+ }
+ ],
+ "action": "Block"
+ },
+ {
+ "name": "Rule2",
+ "priority": 2,
+ "ruleType": "MatchRule",
+ "matchConditions": [
+ {
+ "matchVariables": [
+ {
+ "variableName": "RemoteAddr",
+ "selector": null
+ }
+ ],
+ "operator": "IPMatch",
+ "negationConditon": false,
+ "matchValues": [
+ "192.168.1.0/24"
+ ]
+ },
+ {
+ "matchVariables": [
+ {
+ "variableName": "RequestHeader",
+ "selector": "UserAgent"
+ }
+ ],
+ "operator": "Contains",
+ "negationConditon": false,
+ "matchValues": [
+ "Windows"
+ ]
+ }
+ ],
+ "action": "Block"
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "Policy1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1",
+ "type": "Microsoft.Network/applicationgatewaywebapplicationfirewallpolicies",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "location": "WestUs",
+ "properties": {
+ "resourceState": "Enabled",
+ "provisioningState": "Succeeded",
+ "policySettings": {
+ "state": "Enabled",
+ "mode": "Detection",
+ "maxRequestBodySizeInKb": 128,
+ "fileUploadLimitInMb": 750,
+ "requestBodyCheck": true
+ },
+ "managedRules": {
+ "managedRuleSets": [
+ {
+ "ruleSetType": "OWASP",
+ "ruleSetVersion": "3.0"
+ }
+ ]
+ },
+ "customRules": [
+ {
+ "name": "Rule1",
+ "priority": 1,
+ "ruleType": "MatchRule",
+ "matchConditions": [
+ {
+ "matchVariables": [
+ {
+ "variableName": "RemoteAddr",
+ "selector": null
+ }
+ ],
+ "operator": "IPMatch",
+ "negationConditon": false,
+ "matchValues": [
+ "192.168.1.0/24",
+ "10.0.0.0/24"
+ ],
+ "transforms": []
+ }
+ ],
+ "action": "Block"
+ },
+ {
+ "name": "Rule2",
+ "priority": 2,
+ "ruleType": "MatchRule",
+ "matchConditions": [
+ {
+ "matchVariables": [
+ {
+ "variableName": "RemoteAddr",
+ "selector": null
+ }
+ ],
+ "operator": "IPMatch",
+ "negationConditon": false,
+ "matchValues": [
+ "192.168.1.0/24"
+ ]
+ },
+ {
+ "matchVariables": [
+ {
+ "variableName": "RequestHeader",
+ "selector": "UserAgent"
+ }
+ ],
+ "operator": "Contains",
+ "negationConditon": false,
+ "matchValues": [
+ "Windows"
+ ]
+ }
+ ],
+ "action": "Block"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/WafPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/WafPolicyDelete.json
new file mode 100644
index 000000000000..ee865efe9dcb
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/WafPolicyDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "policyName": "Policy1"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/WafPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/WafPolicyGet.json
new file mode 100644
index 000000000000..d9d2dbfaf8e1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/WafPolicyGet.json
@@ -0,0 +1,140 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "policyName": "Policy1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "Policy1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1",
+ "type": "Microsoft.Network/applicationgatewaywebapplicationfirewallpolicies",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "location": "WestUs",
+ "properties": {
+ "resourceState": "Enabled",
+ "provisioningState": "Succeeded",
+ "policySettings": {
+ "state": "Enabled",
+ "mode": "Prevention",
+ "maxRequestBodySizeInKb": 128,
+ "fileUploadLimitInMb": 750,
+ "requestBodyCheck": true
+ },
+ "customRules": [
+ {
+ "name": "Rule1",
+ "priority": 1,
+ "ruleType": "MatchRule",
+ "matchConditions": [
+ {
+ "matchVariables": [
+ {
+ "variableName": "RemoteAddr",
+ "selector": null
+ }
+ ],
+ "operator": "IPMatch",
+ "negationConditon": false,
+ "matchValues": [
+ "192.168.1.0/24",
+ "10.0.0.0/24"
+ ],
+ "transforms": []
+ }
+ ],
+ "action": "Block"
+ },
+ {
+ "name": "Rule2",
+ "priority": 2,
+ "ruleType": "MatchRule",
+ "matchConditions": [
+ {
+ "matchVariables": [
+ {
+ "variableName": "RemoteAddr",
+ "selector": null
+ }
+ ],
+ "operator": "IPMatch",
+ "negationConditon": false,
+ "matchValues": [
+ "192.168.1.0/24"
+ ]
+ },
+ {
+ "matchVariables": [
+ {
+ "variableName": "RequestHeader",
+ "selector": "UserAgent"
+ }
+ ],
+ "operator": "Contains",
+ "negationConditon": false,
+ "matchValues": [
+ "Windows"
+ ]
+ }
+ ],
+ "action": "Block"
+ }
+ ],
+ "managedRules": {
+ "managedRuleSets": [
+ {
+ "ruleSetType": "OWASP",
+ "ruleSetVersion": "3.0",
+ "ruleGroupOverrides": [
+ {
+ "ruleGroupName": "REQUEST-942-APPLICATION-ATTACK-SQLI",
+ "rules": [
+ {
+ "ruleId": "942130",
+ "state": "Disabled"
+ },
+ {
+ "ruleId": "942110",
+ "state": "Disabled"
+ }
+ ]
+ },
+ {
+ "ruleGroupName": "REQUEST-920-PROTOCOL-ENFORCEMENT",
+ "rules": [
+ {
+ "ruleId": "920100",
+ "state": "Disabled"
+ },
+ {
+ "ruleId": "920120",
+ "state": "Disabled"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "exclusions": [
+ {
+ "matchVariable": "RequestHeaderNames",
+ "selectorMatchOperator": "Equals",
+ "selector": "testHeader1"
+ },
+ {
+ "matchVariable": "RequestHeaderNames",
+ "selectorMatchOperator": "StartsWith",
+ "selector": "testHeader2"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/expressRouteCircuit.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/expressRouteCircuit.json
new file mode 100644
index 000000000000..1e7b4398d34f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/expressRouteCircuit.json
@@ -0,0 +1,2500 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}": {
+ "delete": {
+ "tags": [
+ "ExpressRouteCircuitAuthorizations"
+ ],
+ "operationId": "ExpressRouteCircuitAuthorizations_Delete",
+ "description": "Deletes the specified authorization from the specified express route circuit.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the express route circuit."
+ },
+ {
+ "name": "authorizationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the authorization."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "204": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Delete ExpressRouteCircuit Authorization": {
+ "$ref": "./examples/ExpressRouteCircuitAuthorizationDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "ExpressRouteCircuitAuthorizations"
+ ],
+ "operationId": "ExpressRouteCircuitAuthorizations_Get",
+ "description": "Gets the specified authorization from the specified express route circuit.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the express route circuit."
+ },
+ {
+ "name": "authorizationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the authorization."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the ExpressRouteCircuitAuthorization resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuitAuthorization"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get ExpressRouteCircuit Authorization": {
+ "$ref": "./examples/ExpressRouteCircuitAuthorizationGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ExpressRouteCircuitAuthorizations"
+ ],
+ "operationId": "ExpressRouteCircuitAuthorizations_CreateOrUpdate",
+ "description": "Creates or updates an authorization in the specified express route circuit.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the express route circuit."
+ },
+ {
+ "name": "authorizationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the authorization."
+ },
+ {
+ "name": "authorizationParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuitAuthorization"
+ },
+ "description": "Parameters supplied to the create or update express route circuit authorization operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuitAuthorization"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuitAuthorization"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Create ExpressRouteCircuit Authorization": {
+ "$ref": "./examples/ExpressRouteCircuitAuthorizationCreate.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations": {
+ "get": {
+ "tags": [
+ "ExpressRouteCircuitAuthorizations"
+ ],
+ "operationId": "ExpressRouteCircuitAuthorizations_List",
+ "description": "Gets all authorizations in an express route circuit.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the circuit."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of ExpressRouteCircuitAuthorization resources.",
+ "schema": {
+ "$ref": "#/definitions/AuthorizationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List ExpressRouteCircuit Authorization": {
+ "$ref": "./examples/ExpressRouteCircuitAuthorizationList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}": {
+ "delete": {
+ "tags": [
+ "ExpressRouteCircuitPeerings"
+ ],
+ "operationId": "ExpressRouteCircuitPeerings_Delete",
+ "description": "Deletes the specified peering from the specified express route circuit.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the express route circuit."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peering."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Delete successful."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Delete ExpressRouteCircuit Peerings": {
+ "$ref": "./examples/ExpressRouteCircuitPeeringDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "ExpressRouteCircuitPeerings"
+ ],
+ "operationId": "ExpressRouteCircuitPeerings_Get",
+ "description": "Gets the specified peering for the express route circuit.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the express route circuit."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peering."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting ExpressRouteCircuitPeering resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuitPeering"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get ExpressRouteCircuit Peering": {
+ "$ref": "./examples/ExpressRouteCircuitPeeringGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ExpressRouteCircuitPeerings"
+ ],
+ "operationId": "ExpressRouteCircuitPeerings_CreateOrUpdate",
+ "description": "Creates or updates a peering in the specified express route circuits.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the express route circuit."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peering."
+ },
+ {
+ "name": "peeringParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuitPeering"
+ },
+ "description": "Parameters supplied to the create or update express route circuit peering operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuitPeering"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuitPeering"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Create ExpressRouteCircuit Peerings": {
+ "$ref": "./examples/ExpressRouteCircuitPeeringCreate.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings": {
+ "get": {
+ "tags": [
+ "ExpressRouteCircuitPeerings"
+ ],
+ "operationId": "ExpressRouteCircuitPeerings_List",
+ "description": "Gets all peerings in a specified express route circuit.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the express route circuit."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of ExpressRouteCircuitPeering resources.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuitPeeringListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List ExpressRouteCircuit Peerings": {
+ "$ref": "./examples/ExpressRouteCircuitPeeringList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}": {
+ "delete": {
+ "tags": [
+ "ExpressRouteCircuitConnections"
+ ],
+ "operationId": "ExpressRouteCircuitConnections_Delete",
+ "description": "Deletes the specified Express Route Circuit Connection from the specified express route circuit.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the express route circuit."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peering."
+ },
+ {
+ "name": "connectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the express route circuit connection."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Delete successful."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete ExpressRouteCircuit": {
+ "$ref": "./examples/ExpressRouteCircuitConnectionDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "ExpressRouteCircuitConnections"
+ ],
+ "operationId": "ExpressRouteCircuitConnections_Get",
+ "description": "Gets the specified Express Route Circuit Connection from the specified express route circuit.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the express route circuit."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peering."
+ },
+ {
+ "name": "connectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the express route circuit connection."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting Express Route Circuit Connection resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuitConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ExpressRouteCircuitConnectionGet": {
+ "$ref": "./examples/ExpressRouteCircuitConnectionGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ExpressRouteCircuitConnections"
+ ],
+ "operationId": "ExpressRouteCircuitConnections_CreateOrUpdate",
+ "description": "Creates or updates a Express Route Circuit Connection in the specified express route circuits.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the express route circuit."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peering."
+ },
+ {
+ "name": "connectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the express route circuit connection."
+ },
+ {
+ "name": "expressRouteCircuitConnectionParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuitConnection"
+ },
+ "description": "Parameters supplied to the create or update express route circuit connection operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting ExpressRouteCircuitPeering resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuitConnection"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting ExpressRouteCircuitPeering resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuitConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ExpressRouteCircuitConnectionCreate": {
+ "$ref": "./examples/ExpressRouteCircuitConnectionCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections": {
+ "get": {
+ "tags": [
+ "ExpressRouteCircuitConnections"
+ ],
+ "operationId": "ExpressRouteCircuitConnections_List",
+ "description": "Gets all global reach connections associated with a private peering in an express route circuit.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the circuit."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peering."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of ExpressRouteCircuitConnections resources.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuitConnectionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List ExpressRouteCircuit Connection": {
+ "$ref": "./examples/ExpressRouteCircuitConnectionList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections/{connectionName}": {
+ "get": {
+ "tags": [
+ "PeerExpressRouteCircuitConnections"
+ ],
+ "operationId": "PeerExpressRouteCircuitConnections_Get",
+ "description": "Gets the specified Peer Express Route Circuit Connection from the specified express route circuit.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the express route circuit."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peering."
+ },
+ {
+ "name": "connectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peer express route circuit connection."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting Peer Express Route Circuit Connection resource.",
+ "schema": {
+ "$ref": "#/definitions/PeerExpressRouteCircuitConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "PeerExpressRouteCircuitConnectionGet": {
+ "$ref": "./examples/PeerExpressRouteCircuitConnectionGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections": {
+ "get": {
+ "tags": [
+ "PeerExpressRouteCircuitConnections"
+ ],
+ "operationId": "PeerExpressRouteCircuitConnections_List",
+ "description": "Gets all global reach peer connections associated with a private peering in an express route circuit.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the circuit."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peering."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of PeerExpressRouteCircuitConnections resources.",
+ "schema": {
+ "$ref": "#/definitions/PeerExpressRouteCircuitConnectionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List Peer ExpressRouteCircuit Connection": {
+ "$ref": "./examples/PeerExpressRouteCircuitConnectionList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}": {
+ "delete": {
+ "tags": [
+ "ExpressRouteCircuits"
+ ],
+ "operationId": "ExpressRouteCircuits_Delete",
+ "description": "Deletes the specified express route circuit.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the express route circuit."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Delete successful."
+ },
+ "202": {
+ "description": "Accepted. Sets 'Disabling' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Delete ExpressRouteCircuit": {
+ "$ref": "./examples/ExpressRouteCircuitDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "ExpressRouteCircuits"
+ ],
+ "operationId": "ExpressRouteCircuits_Get",
+ "description": "Gets information about the specified express route circuit.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of express route circuit."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting ExpressRouteCircuit resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuit"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get ExpressRouteCircuit": {
+ "$ref": "./examples/ExpressRouteCircuitGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ExpressRouteCircuits"
+ ],
+ "operationId": "ExpressRouteCircuits_CreateOrUpdate",
+ "description": "Creates or updates an express route circuit.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the circuit."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuit"
+ },
+ "description": "Parameters supplied to the create or update express route circuit operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting ExpressRouteCircuit resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuit"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting ExpressRouteCircuit resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuit"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Create ExpressRouteCircuit": {
+ "$ref": "./examples/ExpressRouteCircuitCreate.json"
+ },
+ "Create ExpressRouteCircuit on ExpressRoutePort": {
+ "$ref": "./examples/ExpressRouteCircuitCreateOnExpressRoutePort.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "ExpressRouteCircuits"
+ ],
+ "operationId": "ExpressRouteCircuits_UpdateTags",
+ "description": "Updates an express route circuit tags.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the circuit."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update express route circuit tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting ExpressRouteCircuit resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuit"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update Express Route Circuit Tags": {
+ "$ref": "./examples/ExpressRouteCircuitUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}": {
+ "post": {
+ "tags": [
+ "ExpressRouteCircuitArpTable"
+ ],
+ "operationId": "ExpressRouteCircuits_ListArpTable",
+ "description": "Gets the currently advertised ARP table associated with the express route circuit in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the express route circuit."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peering."
+ },
+ {
+ "name": "devicePath",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The path of the device."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting ExpressRouteCircuitsArpTable resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuitsArpTableListResult"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "List ARP Table": {
+ "$ref": "./examples/ExpressRouteCircuitARPTableList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}": {
+ "post": {
+ "tags": [
+ "ExpressRouteCircuitRoutesTable"
+ ],
+ "operationId": "ExpressRouteCircuits_ListRoutesTable",
+ "description": "Gets the currently advertised routes table associated with the express route circuit in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the express route circuit."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peering."
+ },
+ {
+ "name": "devicePath",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The path of the device."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting ExpressRouteCircuitsRouteTable resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuitsRoutesTableListResult"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "List Route Tables": {
+ "$ref": "./examples/ExpressRouteCircuitRouteTableList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}": {
+ "post": {
+ "tags": [
+ "ExpressRouteCircuitRoutesTableSummary"
+ ],
+ "operationId": "ExpressRouteCircuits_ListRoutesTableSummary",
+ "description": "Gets the currently advertised routes table summary associated with the express route circuit in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the express route circuit."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peering."
+ },
+ {
+ "name": "devicePath",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The path of the device."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting ExpressRouteCircuitsRoutesTableSummary resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "List Route Table Summary": {
+ "$ref": "./examples/ExpressRouteCircuitRouteTableSummaryList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats": {
+ "get": {
+ "tags": [
+ "ExpressRouteCircuitStats"
+ ],
+ "operationId": "ExpressRouteCircuits_GetStats",
+ "description": "Gets all the stats from an express route circuit in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the express route circuit."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting ExpressRouteCircuitStats resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuitStats"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get ExpressRoute Circuit Traffic Stats": {
+ "$ref": "./examples/ExpressRouteCircuitStats.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats": {
+ "get": {
+ "tags": [
+ "ExpressRouteCircuitStats"
+ ],
+ "operationId": "ExpressRouteCircuits_GetPeeringStats",
+ "description": "Gets all stats from an express route circuit in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "circuitName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the express route circuit."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peering."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting ExpressRouteCircuitStats resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuitStats"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get ExpressRoute Circuit Peering Traffic Stats": {
+ "$ref": "./examples/ExpressRouteCircuitPeeringStats.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits": {
+ "get": {
+ "tags": [
+ "ExpressRouteCircuits"
+ ],
+ "operationId": "ExpressRouteCircuits_List",
+ "description": "Gets all the express route circuits in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting ExpressRouteCircuitAuthorization resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuitListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List ExpressRouteCircuits in a resource group": {
+ "$ref": "./examples/ExpressRouteCircuitListByResourceGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits": {
+ "get": {
+ "tags": [
+ "ExpressRouteCircuits"
+ ],
+ "operationId": "ExpressRouteCircuits_ListAll",
+ "description": "Gets all the express route circuits in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of ExpressRouteCircuit resources.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCircuitListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List ExpressRouteCircuits in a subscription": {
+ "$ref": "./examples/ExpressRouteCircuitListBySubscription.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders": {
+ "get": {
+ "tags": [
+ "ExpressRouteServiceProviders"
+ ],
+ "operationId": "ExpressRouteServiceProviders_List",
+ "description": "Gets all the available express route service providers.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of ExpressRouteServiceProvider resources.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteServiceProviderListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List ExpressRoute providers": {
+ "$ref": "./examples/ExpressRouteProviderList.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "AuthorizationPropertiesFormat": {
+ "properties": {
+ "authorizationKey": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The authorization key."
+ },
+ "authorizationUseStatus": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The authorization use status.",
+ "enum": [
+ "Available",
+ "InUse"
+ ],
+ "x-ms-enum": {
+ "name": "AuthorizationUseStatus",
+ "modelAsString": true
+ }
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the authorization resource."
+ }
+ },
+ "description": "Properties of ExpressRouteCircuitAuthorization."
+ },
+ "ExpressRouteCircuitAuthorization": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AuthorizationPropertiesFormat",
+ "description": "Properties of the express route circuit authorization."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Authorization in an ExpressRouteCircuit resource."
+ },
+ "AuthorizationListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteCircuitAuthorization"
+ },
+ "description": "The authorizations in an ExpressRoute Circuit."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit."
+ },
+ "ExpressRouteCircuitPeeringConfig": {
+ "properties": {
+ "advertisedPublicPrefixes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The reference of AdvertisedPublicPrefixes."
+ },
+ "advertisedCommunities": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The communities of bgp peering. Specified for microsoft peering."
+ },
+ "advertisedPublicPrefixesState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The advertised public prefix state of the Peering resource.",
+ "enum": [
+ "NotConfigured",
+ "Configuring",
+ "Configured",
+ "ValidationNeeded"
+ ],
+ "x-ms-enum": {
+ "name": "ExpressRouteCircuitPeeringAdvertisedPublicPrefixState",
+ "modelAsString": true
+ }
+ },
+ "legacyMode": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The legacy mode of the peering."
+ },
+ "customerASN": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The CustomerASN of the peering."
+ },
+ "routingRegistryName": {
+ "type": "string",
+ "description": "The RoutingRegistryName of the configuration."
+ }
+ },
+ "description": "Specifies the peering configuration."
+ },
+ "Ipv6ExpressRouteCircuitPeeringConfig": {
+ "properties": {
+ "primaryPeerAddressPrefix": {
+ "type": "string",
+ "description": "The primary address prefix."
+ },
+ "secondaryPeerAddressPrefix": {
+ "type": "string",
+ "description": "The secondary address prefix."
+ },
+ "microsoftPeeringConfig": {
+ "$ref": "#/definitions/ExpressRouteCircuitPeeringConfig",
+ "description": "The Microsoft peering configuration."
+ },
+ "routeFilter": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The reference of the RouteFilter resource."
+ },
+ "state": {
+ "type": "string",
+ "description": "The state of peering.",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "x-ms-enum": {
+ "name": "ExpressRouteCircuitPeeringState",
+ "modelAsString": true
+ }
+ }
+ },
+ "description": "Contains IPv6 peering config."
+ },
+ "ExpressRouteCircuitStats": {
+ "properties": {
+ "primarybytesIn": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The Primary BytesIn of the peering."
+ },
+ "primarybytesOut": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The primary BytesOut of the peering."
+ },
+ "secondarybytesIn": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The secondary BytesIn of the peering."
+ },
+ "secondarybytesOut": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The secondary BytesOut of the peering."
+ }
+ },
+ "description": "Contains stats associated with the peering."
+ },
+ "ExpressRouteCircuitPeeringPropertiesFormat": {
+ "properties": {
+ "peeringType": {
+ "$ref": "#/definitions/ExpressRoutePeeringType",
+ "description": "The peering type."
+ },
+ "state": {
+ "$ref": "#/definitions/ExpressRoutePeeringState",
+ "description": "The peering state."
+ },
+ "azureASN": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "description": "The Azure ASN."
+ },
+ "peerASN": {
+ "type": "integer",
+ "format": "int64",
+ "minimum": 1,
+ "maximum": 4294967295,
+ "description": "The peer ASN."
+ },
+ "primaryPeerAddressPrefix": {
+ "type": "string",
+ "description": "The primary address prefix."
+ },
+ "secondaryPeerAddressPrefix": {
+ "type": "string",
+ "description": "The secondary address prefix."
+ },
+ "primaryAzurePort": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The primary port."
+ },
+ "secondaryAzurePort": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The secondary port."
+ },
+ "sharedKey": {
+ "type": "string",
+ "description": "The shared key."
+ },
+ "vlanId": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The VLAN ID."
+ },
+ "microsoftPeeringConfig": {
+ "$ref": "#/definitions/ExpressRouteCircuitPeeringConfig",
+ "description": "The Microsoft peering configuration."
+ },
+ "stats": {
+ "$ref": "#/definitions/ExpressRouteCircuitStats",
+ "description": "The peering stats of express route circuit."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the express route circuit peering resource."
+ },
+ "gatewayManagerEtag": {
+ "type": "string",
+ "description": "The GatewayManager Etag."
+ },
+ "lastModifiedBy": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Who was the last to modify the peering."
+ },
+ "routeFilter": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The reference of the RouteFilter resource."
+ },
+ "ipv6PeeringConfig": {
+ "$ref": "#/definitions/Ipv6ExpressRouteCircuitPeeringConfig",
+ "description": "The IPv6 peering configuration."
+ },
+ "expressRouteConnection": {
+ "$ref": "./expressRouteGateway.json#/definitions/ExpressRouteConnectionId",
+ "description": "The ExpressRoute connection."
+ },
+ "connections": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteCircuitConnection"
+ },
+ "description": "The list of circuit connections associated with Azure Private Peering for this circuit."
+ },
+ "peeredConnections": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PeerExpressRouteCircuitConnection"
+ },
+ "readOnly": true,
+ "description": "The list of peered circuit connections associated with Azure Private Peering for this circuit."
+ }
+ },
+ "description": "Properties of the express route circuit peering."
+ },
+ "ExpressRouteCircuitPeering": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ExpressRouteCircuitPeeringPropertiesFormat",
+ "description": "Properties of the express route circuit peering."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Peering in an ExpressRouteCircuit resource."
+ },
+ "ExpressRouteCircuitPeeringListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteCircuitPeering"
+ },
+ "description": "The peerings in an express route circuit."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit."
+ },
+ "ExpressRoutePeeringType": {
+ "type": "string",
+ "description": "The peering type.",
+ "enum": [
+ "AzurePublicPeering",
+ "AzurePrivatePeering",
+ "MicrosoftPeering"
+ ],
+ "x-ms-enum": {
+ "name": "ExpressRoutePeeringType",
+ "modelAsString": true
+ }
+ },
+ "ExpressRoutePeeringState": {
+ "type": "string",
+ "description": "The state of peering.",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "x-ms-enum": {
+ "name": "ExpressRoutePeeringState",
+ "modelAsString": true
+ }
+ },
+ "ExpressRouteCircuitConnectionPropertiesFormat": {
+ "properties": {
+ "expressRouteCircuitPeering": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection."
+ },
+ "peerExpressRouteCircuitPeering": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference to Express Route Circuit Private Peering Resource of the peered circuit."
+ },
+ "addressPrefix": {
+ "type": "string",
+ "description": "/29 IP address space to carve out Customer addresses for tunnels."
+ },
+ "authorizationKey": {
+ "type": "string",
+ "description": "The authorization key."
+ },
+ "circuitConnectionStatus": {
+ "readOnly": true,
+ "$ref": "#/definitions/CircuitConnectionStatus",
+ "description": "Express Route Circuit connection state."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the express route circuit connection resource."
+ }
+ },
+ "description": "Properties of the express route circuit connection."
+ },
+ "ExpressRouteCircuitConnection": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ExpressRouteCircuitConnectionPropertiesFormat",
+ "description": "Properties of the express route circuit connection."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Express Route Circuit Connection in an ExpressRouteCircuitPeering resource."
+ },
+ "ExpressRouteCircuitConnectionListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteCircuitConnection"
+ },
+ "description": "The global reach connection associated with Private Peering in an ExpressRoute Circuit."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListConnections API service call retrieves all global reach connections that belongs to a Private Peering for an ExpressRouteCircuit."
+ },
+ "PeerExpressRouteCircuitConnectionPropertiesFormat": {
+ "properties": {
+ "expressRouteCircuitPeering": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference to Express Route Circuit Private Peering Resource of the circuit."
+ },
+ "peerExpressRouteCircuitPeering": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference to Express Route Circuit Private Peering Resource of the peered circuit."
+ },
+ "addressPrefix": {
+ "type": "string",
+ "description": "/29 IP address space to carve out Customer addresses for tunnels."
+ },
+ "circuitConnectionStatus": {
+ "$ref": "#/definitions/CircuitConnectionStatus",
+ "description": "Express Route Circuit connection state."
+ },
+ "connectionName": {
+ "type": "string",
+ "description": "The name of the express route circuit connection resource."
+ },
+ "authResourceGuid": {
+ "type": "string",
+ "description": "The resource guid of the authorization used for the express route circuit connection."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the peer express route circuit connection resource."
+ }
+ },
+ "description": "Properties of the peer express route circuit connection."
+ },
+ "PeerExpressRouteCircuitConnection": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PeerExpressRouteCircuitConnectionPropertiesFormat",
+ "description": "Properties of the peer express route circuit connection."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource."
+ },
+ "PeerExpressRouteCircuitConnectionListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PeerExpressRouteCircuitConnection"
+ },
+ "description": "The global reach peer circuit connection associated with Private Peering in an ExpressRoute Circuit."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListPeeredConnections API service call retrieves all global reach peer circuit connections that belongs to a Private Peering for an ExpressRouteCircuit."
+ },
+ "ExpressRouteCircuitSku": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the SKU."
+ },
+ "tier": {
+ "type": "string",
+ "description": "The tier of the SKU.",
+ "enum": [
+ "Standard",
+ "Premium",
+ "Basic",
+ "Local"
+ ],
+ "x-ms-enum": {
+ "name": "ExpressRouteCircuitSkuTier",
+ "modelAsString": true
+ }
+ },
+ "family": {
+ "type": "string",
+ "description": "The family of the SKU.",
+ "enum": [
+ "UnlimitedData",
+ "MeteredData"
+ ],
+ "x-ms-enum": {
+ "name": "ExpressRouteCircuitSkuFamily",
+ "modelAsString": true
+ }
+ }
+ },
+ "description": "Contains SKU in an ExpressRouteCircuit."
+ },
+ "ExpressRouteCircuitServiceProviderProperties": {
+ "properties": {
+ "serviceProviderName": {
+ "type": "string",
+ "description": "The serviceProviderName."
+ },
+ "peeringLocation": {
+ "type": "string",
+ "description": "The peering location."
+ },
+ "bandwidthInMbps": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The BandwidthInMbps."
+ }
+ },
+ "description": "Contains ServiceProviderProperties in an ExpressRouteCircuit."
+ },
+ "ExpressRouteCircuitPropertiesFormat": {
+ "properties": {
+ "allowClassicOperations": {
+ "type": "boolean",
+ "description": "Allow classic operations."
+ },
+ "circuitProvisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The CircuitProvisioningState state of the resource."
+ },
+ "serviceProviderProvisioningState": {
+ "readOnly": true,
+ "$ref": "#/definitions/ServiceProviderProvisioningState",
+ "description": "The ServiceProviderProvisioningState state of the resource."
+ },
+ "authorizations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteCircuitAuthorization"
+ },
+ "description": "The list of authorizations."
+ },
+ "peerings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteCircuitPeering"
+ },
+ "description": "The list of peerings."
+ },
+ "serviceKey": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The ServiceKey."
+ },
+ "serviceProviderNotes": {
+ "type": "string",
+ "description": "The ServiceProviderNotes."
+ },
+ "serviceProviderProperties": {
+ "$ref": "#/definitions/ExpressRouteCircuitServiceProviderProperties",
+ "description": "The ServiceProviderProperties."
+ },
+ "expressRoutePort": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The reference to the ExpressRoutePort resource when the circuit is provisioned on an ExpressRoutePort resource."
+ },
+ "bandwidthInGbps": {
+ "type": "number",
+ "description": "The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource."
+ },
+ "stag": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "description": "The identifier of the circuit traffic. Outer tag for QinQ encapsulation."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the express route circuit resource."
+ },
+ "gatewayManagerEtag": {
+ "type": "string",
+ "description": "The GatewayManager Etag."
+ },
+ "globalReachEnabled": {
+ "readOnly": true,
+ "type": "boolean",
+ "description": "Flag denoting Global reach status."
+ }
+ },
+ "description": "Properties of ExpressRouteCircuit."
+ },
+ "ExpressRouteCircuit": {
+ "properties": {
+ "sku": {
+ "$ref": "#/definitions/ExpressRouteCircuitSku",
+ "description": "The SKU."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ExpressRouteCircuitPropertiesFormat",
+ "description": "Properties of the express route circuit."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "ExpressRouteCircuit resource."
+ },
+ "ExpressRouteCircuitArpTable": {
+ "properties": {
+ "age": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Entry age in minutes."
+ },
+ "interface": {
+ "type": "string",
+ "description": "Interface address."
+ },
+ "ipAddress": {
+ "type": "string",
+ "description": "The IP address."
+ },
+ "macAddress": {
+ "type": "string",
+ "description": "The MAC address."
+ }
+ },
+ "description": "The ARP table associated with the ExpressRouteCircuit."
+ },
+ "ExpressRouteCircuitsArpTableListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteCircuitArpTable"
+ },
+ "description": "A list of the ARP tables."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListArpTable associated with the Express Route Circuits API."
+ },
+ "ExpressRouteCircuitRoutesTable": {
+ "properties": {
+ "network": {
+ "type": "string",
+ "description": "IP address of a network entity."
+ },
+ "nextHop": {
+ "type": "string",
+ "description": "NextHop address."
+ },
+ "locPrf": {
+ "type": "string",
+ "description": "Local preference value as set with the set local-preference route-map configuration command."
+ },
+ "weight": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Route Weight."
+ },
+ "path": {
+ "type": "string",
+ "description": "Autonomous system paths to the destination network."
+ }
+ },
+ "description": "The routes table associated with the ExpressRouteCircuit."
+ },
+ "ExpressRouteCircuitsRoutesTableListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteCircuitRoutesTable"
+ },
+ "description": "The list of routes table."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListRoutesTable associated with the Express Route Circuits API."
+ },
+ "ExpressRouteCircuitRoutesTableSummary": {
+ "properties": {
+ "neighbor": {
+ "type": "string",
+ "description": "IP address of the neighbor."
+ },
+ "v": {
+ "type": "integer",
+ "format": "int32",
+ "description": "BGP version number spoken to the neighbor."
+ },
+ "as": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Autonomous system number."
+ },
+ "upDown": {
+ "type": "string",
+ "description": "The length of time that the BGP session has been in the Established state, or the current status if not in the Established state."
+ },
+ "statePfxRcd": {
+ "type": "string",
+ "description": "Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group."
+ }
+ },
+ "description": "The routes table associated with the ExpressRouteCircuit."
+ },
+ "ExpressRouteCircuitsRoutesTableSummaryListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteCircuitRoutesTableSummary"
+ },
+ "description": "A list of the routes table."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListRoutesTable associated with the Express Route Circuits API."
+ },
+ "ExpressRouteCircuitListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteCircuit"
+ },
+ "description": "A list of ExpressRouteCircuits in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListExpressRouteCircuit API service call."
+ },
+ "ExpressRouteServiceProviderBandwidthsOffered": {
+ "properties": {
+ "offerName": {
+ "type": "string",
+ "description": "The OfferName."
+ },
+ "valueInMbps": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The ValueInMbps."
+ }
+ },
+ "description": "Contains bandwidths offered in ExpressRouteServiceProvider resources."
+ },
+ "ExpressRouteServiceProviderPropertiesFormat": {
+ "properties": {
+ "peeringLocations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of peering locations."
+ },
+ "bandwidthsOffered": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteServiceProviderBandwidthsOffered"
+ },
+ "description": "A list of bandwidths offered."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the express route service provider resource."
+ }
+ },
+ "description": "Properties of ExpressRouteServiceProvider."
+ },
+ "ExpressRouteServiceProvider": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ExpressRouteServiceProviderPropertiesFormat",
+ "description": "Properties of the express route service provider."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "A ExpressRouteResourceProvider object."
+ },
+ "ExpressRouteServiceProviderListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteServiceProvider"
+ },
+ "description": "A list of ExpressRouteResourceProvider resources."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for the ListExpressRouteServiceProvider API service call."
+ },
+ "CircuitConnectionStatus": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Express Route Circuit connection state.",
+ "enum": [
+ "Connected",
+ "Connecting",
+ "Disconnected"
+ ],
+ "x-ms-enum": {
+ "name": "CircuitConnectionStatus",
+ "modelAsString": true
+ }
+ },
+ "ServiceProviderProvisioningState": {
+ "type": "string",
+ "description": "The ServiceProviderProvisioningState state of the resource.",
+ "enum": [
+ "NotProvisioned",
+ "Provisioning",
+ "Provisioned",
+ "Deprovisioning"
+ ],
+ "x-ms-enum": {
+ "name": "ServiceProviderProvisioningState",
+ "modelAsString": true
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/expressRouteCrossConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/expressRouteCrossConnection.json
new file mode 100644
index 000000000000..433c68c6bf9d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/expressRouteCrossConnection.json
@@ -0,0 +1,1006 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "ExpressRouteCrossConnection REST APIs",
+ "description": "The Microsoft Azure ExpressRouteCrossConnection Resource Provider REST APIs describes the operations for the connectivity provider to provision ExpressRoute circuit, create and modify BGP peering entities and troubleshoot connectivity on customer's ExpressRoute circuit.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections": {
+ "get": {
+ "tags": [
+ "ExpressRouteCrossConnections"
+ ],
+ "operationId": "ExpressRouteCrossConnections_List",
+ "description": "Retrieves all the ExpressRouteCrossConnections in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCrossConnectionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ExpressRouteCrossConnectionList": {
+ "$ref": "./examples/ExpressRouteCrossConnectionList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections": {
+ "get": {
+ "tags": [
+ "ExpressRouteCrossConnections"
+ ],
+ "operationId": "ExpressRouteCrossConnections_ListByResourceGroup",
+ "description": "Retrieves all the ExpressRouteCrossConnections in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful.The operation returns a list of ExpressRouteCrossConnection resources. If there are no cross connection resources an empty list is returned.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCrossConnectionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ExpressRouteCrossConnectionListByResourceGroup": {
+ "$ref": "./examples/ExpressRouteCrossConnectionListByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}": {
+ "get": {
+ "tags": [
+ "ExpressRouteCrossConnections"
+ ],
+ "operationId": "ExpressRouteCrossConnections_Get",
+ "description": "Gets details about the specified ExpressRouteCrossConnection.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group (peering location of the circuit)."
+ },
+ {
+ "name": "crossConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRouteCrossConnection (service key of the circuit)."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting ExpressRouteCrossConnection resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCrossConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetExpressRouteCrossConnection": {
+ "$ref": "./examples/ExpressRouteCrossConnectionGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ExpressRouteCrossConnections"
+ ],
+ "operationId": "ExpressRouteCrossConnections_CreateOrUpdate",
+ "description": "Update the specified ExpressRouteCrossConnection.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "crossConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRouteCrossConnection."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCrossConnection"
+ },
+ "description": "Parameters supplied to the update express route crossConnection operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting ExpressRouteCrossConnection resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCrossConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "UpdateExpressRouteCrossConnection": {
+ "$ref": "./examples/ExpressRouteCrossConnectionUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "ExpressRouteCrossConnections"
+ ],
+ "operationId": "ExpressRouteCrossConnections_UpdateTags",
+ "description": "Updates an express route cross connection tags.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "crossConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the cross connection."
+ },
+ {
+ "name": "crossConnectionParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update express route cross connection tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting ExpressRouteCrossConnection resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCrossConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "UpdateExpressRouteCrossConnectionTags": {
+ "$ref": "./examples/ExpressRouteCrossConnectionUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings": {
+ "get": {
+ "tags": [
+ "ExpressRouteCrossConnectionPeerings"
+ ],
+ "operationId": "ExpressRouteCrossConnectionPeerings_List",
+ "description": "Gets all peerings in a specified ExpressRouteCrossConnection.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "crossConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRouteCrossConnection."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of ExpressRouteCrossConnectionPeering resources.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCrossConnectionPeeringList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ExpressRouteCrossConnectionBgpPeeringList": {
+ "$ref": "./examples/ExpressRouteCrossConnectionBgpPeeringList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}": {
+ "delete": {
+ "tags": [
+ "ExpressRouteCrossConnectionPeerings"
+ ],
+ "operationId": "ExpressRouteCrossConnectionPeerings_Delete",
+ "description": "Deletes the specified peering from the ExpressRouteCrossConnection.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "crossConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRouteCrossConnection."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peering."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Delete successful."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DeleteExpressRouteCrossConnectionBgpPeering": {
+ "$ref": "./examples/ExpressRouteCrossConnectionBgpPeeringDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "ExpressRouteCrossConnectionPeerings"
+ ],
+ "operationId": "ExpressRouteCrossConnectionPeerings_Get",
+ "description": "Gets the specified peering for the ExpressRouteCrossConnection.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "crossConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRouteCrossConnection."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peering."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCrossConnectionPeering"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetExpressRouteCrossConnectionBgpPeering": {
+ "$ref": "./examples/ExpressRouteCrossConnectionBgpPeeringGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ExpressRouteCrossConnectionPeerings"
+ ],
+ "operationId": "ExpressRouteCrossConnectionPeerings_CreateOrUpdate",
+ "description": "Creates or updates a peering in the specified ExpressRouteCrossConnection.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "crossConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRouteCrossConnection."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peering."
+ },
+ {
+ "name": "peeringParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCrossConnectionPeering"
+ },
+ "description": "Parameters supplied to the create or update ExpressRouteCrossConnection peering operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCrossConnectionPeering"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting ExpressRouteCrossConnectionPeering resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCrossConnectionPeering"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ExpressRouteCrossConnectionBgpPeeringCreate": {
+ "$ref": "./examples/ExpressRouteCrossConnectionBgpPeeringCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}": {
+ "post": {
+ "tags": [
+ "ExpressRouteCrossConnectionArpTable"
+ ],
+ "operationId": "ExpressRouteCrossConnections_ListArpTable",
+ "description": "Gets the currently advertised ARP table associated with the express route cross connection in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "crossConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRouteCrossConnection."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peering."
+ },
+ {
+ "name": "devicePath",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The path of the device."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting ExpressRouteCrossConnectionsArpTable resource.",
+ "schema": {
+ "$ref": "./expressRouteCircuit.json#/definitions/ExpressRouteCircuitsArpTableListResult"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetExpressRouteCrossConnectionsArpTable": {
+ "$ref": "./examples/ExpressRouteCrossConnectionsArpTable.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}": {
+ "post": {
+ "tags": [
+ "ExpressRouteCrossConnectionRouteTableSummary"
+ ],
+ "operationId": "ExpressRouteCrossConnections_ListRoutesTableSummary",
+ "description": "Gets the route table summary associated with the express route cross connection in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "crossConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRouteCrossConnection."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peering."
+ },
+ {
+ "name": "devicePath",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The path of the device."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTableSummary resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteCrossConnectionsRoutesTableSummaryListResult"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetExpressRouteCrossConnectionsRouteTableSummary": {
+ "$ref": "./examples/ExpressRouteCrossConnectionsRouteTableSummary.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}": {
+ "post": {
+ "tags": [
+ "ExpressRouteCrossConnectionRouteTable"
+ ],
+ "operationId": "ExpressRouteCrossConnections_ListRoutesTable",
+ "description": "Gets the currently advertised routes table associated with the express route cross connection in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "crossConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRouteCrossConnection."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peering."
+ },
+ {
+ "name": "devicePath",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The path of the device."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting ExpressRouteCrossConnectionsRouteTable resource.",
+ "schema": {
+ "$ref": "./expressRouteCircuit.json#/definitions/ExpressRouteCircuitsRoutesTableListResult"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetExpressRouteCrossConnectionsRouteTable": {
+ "$ref": "./examples/ExpressRouteCrossConnectionsRouteTable.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ExpressRouteCrossConnectionRoutesTableSummary": {
+ "properties": {
+ "neighbor": {
+ "type": "string",
+ "description": "IP address of Neighbor router."
+ },
+ "asn": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Autonomous system number."
+ },
+ "upDown": {
+ "type": "string",
+ "description": "The length of time that the BGP session has been in the Established state, or the current status if not in the Established state."
+ },
+ "stateOrPrefixesReceived": {
+ "type": "string",
+ "description": "Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group."
+ }
+ },
+ "description": "The routes table associated with the ExpressRouteCircuit."
+ },
+ "ExpressRouteCrossConnectionsRoutesTableSummaryListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteCrossConnectionRoutesTableSummary"
+ },
+ "description": "A list of the routes table."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListRoutesTable associated with the Express Route Cross Connections."
+ },
+ "ExpressRouteCircuitReference": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Corresponding Express Route Circuit Id."
+ }
+ },
+ "description": "Reference to an express route circuit."
+ },
+ "ExpressRouteCrossConnectionProperties": {
+ "properties": {
+ "primaryAzurePort": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the primary port."
+ },
+ "secondaryAzurePort": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the secondary port."
+ },
+ "sTag": {
+ "readOnly": true,
+ "type": "integer",
+ "description": "The identifier of the circuit traffic."
+ },
+ "peeringLocation": {
+ "type": "string",
+ "description": "The peering location of the ExpressRoute circuit."
+ },
+ "bandwidthInMbps": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The circuit bandwidth In Mbps."
+ },
+ "expressRouteCircuit": {
+ "$ref": "#/definitions/ExpressRouteCircuitReference",
+ "description": "The ExpressRouteCircuit."
+ },
+ "serviceProviderProvisioningState": {
+ "$ref": "./expressRouteCircuit.json#/definitions/ServiceProviderProvisioningState",
+ "description": "The provisioning state of the circuit in the connectivity provider system."
+ },
+ "serviceProviderNotes": {
+ "type": "string",
+ "description": "Additional read only notes set by the connectivity provider."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the express route cross connection resource."
+ },
+ "peerings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteCrossConnectionPeering"
+ },
+ "description": "The list of peerings."
+ }
+ },
+ "description": "Properties of ExpressRouteCrossConnection."
+ },
+ "ExpressRouteCrossConnection": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ExpressRouteCrossConnectionProperties",
+ "description": "Properties of the express route cross connection."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "ExpressRouteCrossConnection resource."
+ },
+ "ExpressRouteCrossConnectionListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteCrossConnection"
+ },
+ "description": "A list of ExpressRouteCrossConnection resources."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListExpressRouteCrossConnection API service call."
+ },
+ "ExpressRouteCrossConnectionPeeringProperties": {
+ "properties": {
+ "peeringType": {
+ "$ref": "./expressRouteCircuit.json#/definitions/ExpressRoutePeeringType",
+ "description": "The peering type."
+ },
+ "state": {
+ "$ref": "./expressRouteCircuit.json#/definitions/ExpressRoutePeeringState",
+ "description": "The peering state."
+ },
+ "azureASN": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "description": "The Azure ASN."
+ },
+ "peerASN": {
+ "type": "integer",
+ "format": "int64",
+ "minimum": 1,
+ "maximum": 4294967295,
+ "description": "The peer ASN."
+ },
+ "primaryPeerAddressPrefix": {
+ "type": "string",
+ "description": "The primary address prefix."
+ },
+ "secondaryPeerAddressPrefix": {
+ "type": "string",
+ "description": "The secondary address prefix."
+ },
+ "primaryAzurePort": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The primary port."
+ },
+ "secondaryAzurePort": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The secondary port."
+ },
+ "sharedKey": {
+ "type": "string",
+ "description": "The shared key."
+ },
+ "vlanId": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The VLAN ID."
+ },
+ "microsoftPeeringConfig": {
+ "$ref": "./expressRouteCircuit.json#/definitions/ExpressRouteCircuitPeeringConfig",
+ "description": "The Microsoft peering configuration."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the express route cross connection peering resource."
+ },
+ "gatewayManagerEtag": {
+ "type": "string",
+ "description": "The GatewayManager Etag."
+ },
+ "lastModifiedBy": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Who was the last to modify the peering."
+ },
+ "ipv6PeeringConfig": {
+ "$ref": "./expressRouteCircuit.json#/definitions/Ipv6ExpressRouteCircuitPeeringConfig",
+ "description": "The IPv6 peering configuration."
+ }
+ },
+ "description": "Properties of express route cross connection peering."
+ },
+ "ExpressRouteCrossConnectionPeering": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ExpressRouteCrossConnectionPeeringProperties",
+ "description": "Properties of the express route cross connection peering."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Peering in an ExpressRoute Cross Connection resource."
+ },
+ "ExpressRouteCrossConnectionPeeringList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteCrossConnectionPeering"
+ },
+ "description": "The peerings in an express route cross connection."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/expressRouteGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/expressRouteGateway.json
new file mode 100644
index 000000000000..0f1b6d73b341
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/expressRouteGateway.json
@@ -0,0 +1,700 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways": {
+ "get": {
+ "tags": [
+ "ExpressRouteGateways"
+ ],
+ "operationId": "ExpressRouteGateways_ListBySubscription",
+ "x-ms-examples": {
+ "ExpressRouteGatewayListBySubscription": {
+ "$ref": "./examples/ExpressRouteGatewayListBySubscription.json"
+ }
+ },
+ "description": "Lists ExpressRoute gateways under a given subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteGatewayList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways": {
+ "get": {
+ "tags": [
+ "ExpressRouteGateways"
+ ],
+ "operationId": "ExpressRouteGateways_ListByResourceGroup",
+ "x-ms-examples": {
+ "ExpressRouteGatewayListByResourceGroup": {
+ "$ref": "./examples/ExpressRouteGatewayListByResourceGroup.json"
+ }
+ },
+ "description": "Lists ExpressRoute gateways in a given resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Operation successful.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteGatewayList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}": {
+ "put": {
+ "tags": [
+ "ExpressRouteGateways"
+ ],
+ "operationId": "ExpressRouteGateways_CreateOrUpdate",
+ "x-ms-examples": {
+ "ExpressRouteGatewayCreate": {
+ "$ref": "./examples/ExpressRouteGatewayCreate.json"
+ }
+ },
+ "description": "Creates or updates a ExpressRoute gateway in a specified resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "expressRouteGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRoute gateway."
+ },
+ {
+ "name": "putExpressRouteGatewayParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteGateway"
+ },
+ "description": "Parameters required in an ExpressRoute gateway PUT operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting ExpressRoute gateway resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteGateway"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting ExpressRoute gateway resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteGateway"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "get": {
+ "tags": [
+ "ExpressRouteGateways"
+ ],
+ "operationId": "ExpressRouteGateways_Get",
+ "x-ms-examples": {
+ "ExpressRouteGatewayGet": {
+ "$ref": "./examples/ExpressRouteGatewayGet.json"
+ }
+ },
+ "description": "Fetches the details of a ExpressRoute gateway in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "expressRouteGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRoute gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Operation succeeded. The operation returns the ExpressRoute gateway.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteGateway"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ExpressRouteGateways"
+ ],
+ "operationId": "ExpressRouteGateways_Delete",
+ "x-ms-examples": {
+ "ExpressRouteGatewayDelete": {
+ "$ref": "./examples/ExpressRouteGatewayDelete.json"
+ }
+ },
+ "description": "Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "expressRouteGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRoute gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "204": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}": {
+ "put": {
+ "tags": [
+ "ExpressRouteConnections"
+ ],
+ "operationId": "ExpressRouteConnections_CreateOrUpdate",
+ "x-ms-examples": {
+ "ExpressRouteConnectionCreate": {
+ "$ref": "./examples/ExpressRouteConnectionCreate.json"
+ }
+ },
+ "description": "Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "expressRouteGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRoute gateway."
+ },
+ {
+ "name": "connectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the connection subresource."
+ },
+ {
+ "name": "putExpressRouteConnectionParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteConnection"
+ },
+ "description": "Parameters required in an ExpressRouteConnection PUT operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the ExpressRouteConnection.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteConnection"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the ExpressRouteConnection.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "get": {
+ "tags": [
+ "ExpressRouteConnections"
+ ],
+ "operationId": "ExpressRouteConnections_Get",
+ "x-ms-examples": {
+ "ExpressRouteConnectionGet": {
+ "$ref": "./examples/ExpressRouteConnectionGet.json"
+ }
+ },
+ "description": "Gets the specified ExpressRouteConnection.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "expressRouteGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRoute gateway."
+ },
+ {
+ "name": "connectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRoute connection."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the ExpressRouteConnection.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ExpressRouteConnections"
+ ],
+ "operationId": "ExpressRouteConnections_Delete",
+ "x-ms-examples": {
+ "ExpressRouteConnectionDelete": {
+ "$ref": "./examples/ExpressRouteConnectionDelete.json"
+ }
+ },
+ "description": "Deletes a connection to a ExpressRoute circuit.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "expressRouteGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRoute gateway."
+ },
+ {
+ "name": "connectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the connection subresource."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted, and the operation will continue asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "204": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections": {
+ "get": {
+ "tags": [
+ "ExpressRouteConnections"
+ ],
+ "operationId": "ExpressRouteConnections_List",
+ "x-ms-examples": {
+ "ExpressRouteConnectionList": {
+ "$ref": "./examples/ExpressRouteConnectionList.json"
+ }
+ },
+ "description": "Lists ExpressRouteConnections.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "expressRouteGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRoute gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteConnectionList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "VirtualHubId": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription."
+ }
+ },
+ "description": "Virtual Hub identifier."
+ },
+ "ExpressRouteCircuitPeeringId": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The ID of the ExpressRoute circuit peering."
+ }
+ },
+ "description": "ExpressRoute circuit peering identifier."
+ },
+ "ExpressRouteConnectionId": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The ID of the ExpressRouteConnection."
+ }
+ },
+ "description": "The ID of the ExpressRouteConnection."
+ },
+ "ExpressRouteGatewayProperties": {
+ "required": [
+ "virtualHub"
+ ],
+ "properties": {
+ "autoScaleConfiguration": {
+ "properties": {
+ "bounds": {
+ "properties": {
+ "min": {
+ "type": "integer",
+ "description": "Minimum number of scale units deployed for ExpressRoute gateway."
+ },
+ "max": {
+ "type": "integer",
+ "description": "Maximum number of scale units deployed for ExpressRoute gateway."
+ }
+ },
+ "description": "Minimum and maximum number of scale units to deploy."
+ }
+ },
+ "description": "Configuration for auto scaling."
+ },
+ "expressRouteConnections": {
+ "type": "array",
+ "readOnly": true,
+ "description": "List of ExpressRoute connections to the ExpressRoute gateway.",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteConnection"
+ }
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the express route gateway resource."
+ },
+ "virtualHub": {
+ "$ref": "#/definitions/VirtualHubId",
+ "description": "The Virtual Hub where the ExpressRoute gateway is or will be deployed."
+ }
+ },
+ "description": "ExpressRoute gateway resource properties."
+ },
+ "ExpressRouteGateway": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ExpressRouteGatewayProperties",
+ "description": "Properties of the express route gateway."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "ExpressRoute gateway resource."
+ },
+ "ExpressRouteGatewayList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteGateway"
+ },
+ "description": "List of ExpressRoute gateways."
+ }
+ },
+ "description": "List of ExpressRoute gateways."
+ },
+ "ExpressRouteConnectionProperties": {
+ "required": [
+ "expressRouteCircuitPeering"
+ ],
+ "properties": {
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the express route connection resource."
+ },
+ "expressRouteCircuitPeering": {
+ "$ref": "#/definitions/ExpressRouteCircuitPeeringId",
+ "description": "The ExpressRoute circuit peering."
+ },
+ "authorizationKey": {
+ "type": "string",
+ "description": "Authorization key to establish the connection."
+ },
+ "routingWeight": {
+ "type": "integer",
+ "description": "The routing weight associated to the connection."
+ },
+ "enableInternetSecurity": {
+ "type": "boolean",
+ "description": "Enable internet security."
+ }
+ },
+ "description": "Properties of the ExpressRouteConnection subresource."
+ },
+ "ExpressRouteConnection": {
+ "required": [
+ "name"
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ExpressRouteConnectionProperties",
+ "description": "Properties of the express route connection."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "ExpressRouteConnection resource."
+ },
+ "ExpressRouteConnectionList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteConnection"
+ },
+ "description": "The list of ExpressRoute connections."
+ }
+ },
+ "description": "ExpressRouteConnection list."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/expressRoutePort.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/expressRoutePort.json
new file mode 100644
index 000000000000..5b7472cc149b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/expressRoutePort.json
@@ -0,0 +1,869 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations": {
+ "get": {
+ "tags": [
+ "ExpressRoutePortsLocations"
+ ],
+ "operationId": "ExpressRoutePortsLocations_List",
+ "description": "Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the list of all ExpressRoutePort peering locations.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRoutePortsLocationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ExpressRoutePortsLocationList": {
+ "$ref": "./examples/ExpressRoutePortsLocationList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}": {
+ "get": {
+ "tags": [
+ "ExpressRoutePortsLocations"
+ ],
+ "operationId": "ExpressRoutePortsLocations_Get",
+ "description": "Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "locationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of the requested ExpressRoutePort peering location."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the requested ExpressRoutePort peering location.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRoutePortsLocation"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ExpressRoutePortsLocationGet": {
+ "$ref": "./examples/ExpressRoutePortsLocationGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}": {
+ "delete": {
+ "tags": [
+ "ExpressRoutePorts"
+ ],
+ "operationId": "ExpressRoutePorts_Delete",
+ "description": "Deletes the specified ExpressRoutePort resource.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "expressRoutePortName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRoutePort resource."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Delete successful."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "ExpressRoutePortDelete": {
+ "$ref": "./examples/ExpressRoutePortDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "ExpressRoutePorts"
+ ],
+ "operationId": "ExpressRoutePorts_Get",
+ "description": "Retrieves the requested ExpressRoutePort resource.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "expressRoutePortName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of ExpressRoutePort."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the requested ExpressRoutePort resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRoutePort"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ExpressRoutePortGet": {
+ "$ref": "./examples/ExpressRoutePortGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ExpressRoutePorts"
+ ],
+ "operationId": "ExpressRoutePorts_CreateOrUpdate",
+ "description": "Creates or updates the specified ExpressRoutePort resource.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "expressRoutePortName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRoutePort resource."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ExpressRoutePort"
+ },
+ "description": "Parameters supplied to the create ExpressRoutePort operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting ExpressRoutePort resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRoutePort"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting ExpressRoutePort resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRoutePort"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "ExpressRoutePortCreate": {
+ "$ref": "./examples/ExpressRoutePortCreate.json"
+ },
+ "ExpressRoutePortUpdateLink": {
+ "$ref": "./examples/ExpressRoutePortUpdateLink.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "ExpressRoutePorts"
+ ],
+ "operationId": "ExpressRoutePorts_UpdateTags",
+ "description": "Update ExpressRoutePort tags.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "expressRoutePortName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRoutePort resource."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update ExpressRoutePort resource tags."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting ExpressRoutePort resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRoutePort"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ExpressRoutePortUpdateTags": {
+ "$ref": "./examples/ExpressRoutePortUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts": {
+ "get": {
+ "tags": [
+ "ExpressRoutePorts"
+ ],
+ "operationId": "ExpressRoutePorts_ListByResourceGroup",
+ "description": "List all the ExpressRoutePort resources in the specified resource group.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRoutePortListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ExpressRoutePortListByResourceGroup": {
+ "$ref": "./examples/ExpressRoutePortListByResourceGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts": {
+ "get": {
+ "tags": [
+ "ExpressRoutePorts"
+ ],
+ "operationId": "ExpressRoutePorts_List",
+ "description": "List all the ExpressRoutePort resources in the specified subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRoutePortListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ExpressRoutePortList": {
+ "$ref": "./examples/ExpressRoutePortList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}": {
+ "get": {
+ "tags": [
+ "ExpressRouteLinks"
+ ],
+ "operationId": "ExpressRouteLinks_Get",
+ "description": "Retrieves the specified ExpressRouteLink resource.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "expressRoutePortName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRoutePort resource."
+ },
+ {
+ "name": "linkName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRouteLink resource."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the requested ExpressRouteLink resource.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteLink"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ExpressRouteLinkGet": {
+ "$ref": "./examples/ExpressRouteLinkGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links": {
+ "get": {
+ "tags": [
+ "ExpressRouteLinks"
+ ],
+ "operationId": "ExpressRouteLinks_List",
+ "description": "Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "expressRoutePortName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ExpressRoutePort resource."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of ExpressRouteLink resources. If there are no ExpressRouteLink resources then an empty list is returned.",
+ "schema": {
+ "$ref": "#/definitions/ExpressRouteLinkListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ExpressRouteLinkGet": {
+ "$ref": "./examples/ExpressRouteLinkList.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ExpressRoutePortsLocationBandwidths": {
+ "title": "ExpressRoutePorts Location Bandwidths",
+ "description": "Real-time inventory of available ExpressRoute port bandwidths.",
+ "properties": {
+ "offerName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Bandwidth descriptive name."
+ },
+ "valueInGbps": {
+ "type": "integer",
+ "readOnly": true,
+ "description": "Bandwidth value in Gbps."
+ }
+ }
+ },
+ "ExpressRoutePortsLocationPropertiesFormat": {
+ "title": "ExpressRoutePorts Location Properties",
+ "description": "Properties specific to ExpressRoutePorts peering location resources.",
+ "properties": {
+ "address": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Address of peering location."
+ },
+ "contact": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Contact details of peering locations."
+ },
+ "availableBandwidths": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRoutePortsLocationBandwidths"
+ },
+ "description": "The inventory of available ExpressRoutePort bandwidths."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the express route port location resource."
+ }
+ }
+ },
+ "ExpressRoutePortsLocation": {
+ "title": "ExpressRoutePorts Peering Location",
+ "description": "Definition of the ExpressRoutePorts peering location resource.",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ExpressRoutePortsLocationPropertiesFormat",
+ "description": "ExpressRoutePort peering location properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ]
+ },
+ "ExpressRoutePortsLocationListResult": {
+ "title": "ExpressRoutePorts Location List Result",
+ "description": "Response for ListExpressRoutePortsLocations API service call.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRoutePortsLocation"
+ },
+ "description": "The list of all ExpressRoutePort peering locations."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ }
+ },
+ "ExpressRouteLinkMacSecConfig": {
+ "description": "ExpressRouteLink Mac Security Configuration.",
+ "title": "Definition of ExpressRouteLink Mac Security configuration.",
+ "properties": {
+ "cknSecretIdentifier": {
+ "type": "string",
+ "description": "Keyvault Secret Identifier URL containing Mac security CKN key."
+ },
+ "cakSecretIdentifier": {
+ "type": "string",
+ "description": "Keyvault Secret Identifier URL containing Mac security CAK key."
+ },
+ "cipher": {
+ "type": "string",
+ "description": "Mac security cipher.",
+ "enum": [
+ "gcm-aes-128",
+ "gcm-aes-256"
+ ],
+ "x-ms-enum": {
+ "name": "ExpressRouteLinkMacSecCipher",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "ExpressRouteLinkPropertiesFormat": {
+ "title": "ExpressRouteLink Resource Properties",
+ "description": "Properties specific to ExpressRouteLink resources.",
+ "properties": {
+ "routerName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of Azure router associated with physical port."
+ },
+ "interfaceName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of Azure router interface."
+ },
+ "patchPanelId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Mapping between physical port to patch panel port."
+ },
+ "rackId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Mapping of physical patch panel to rack."
+ },
+ "connectorType": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Physical fiber port type.",
+ "enum": [
+ "LC",
+ "SC"
+ ],
+ "x-ms-enum": {
+ "name": "ExpressRouteLinkConnectorType",
+ "modelAsString": true
+ }
+ },
+ "adminState": {
+ "type": "string",
+ "description": "Administrative state of the physical port.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "ExpressRouteLinkAdminState",
+ "modelAsString": true
+ }
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the express route link resource."
+ },
+ "macSecConfig": {
+ "$ref": "#/definitions/ExpressRouteLinkMacSecConfig",
+ "description": "MacSec configuration."
+ }
+ }
+ },
+ "ExpressRouteLink": {
+ "title": "ExpressRouteLink",
+ "description": "ExpressRouteLink child resource definition.",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ExpressRouteLinkPropertiesFormat",
+ "description": "ExpressRouteLink properties."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of child port resource that is unique among child port resources of the parent."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ]
+ },
+ "ExpressRouteLinkListResult": {
+ "title": "ExpressRouteLink List Result",
+ "description": "Response for ListExpressRouteLinks API service call.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteLink"
+ },
+ "description": "The list of ExpressRouteLink sub-resources."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ }
+ },
+ "ExpressRoutePortPropertiesFormat": {
+ "title": "ExpressRoutePort Properties",
+ "description": "Properties specific to ExpressRoutePort resources.",
+ "properties": {
+ "peeringLocation": {
+ "type": "string",
+ "description": "The name of the peering location that the ExpressRoutePort is mapped to physically."
+ },
+ "bandwidthInGbps": {
+ "type": "integer",
+ "description": "Bandwidth of procured ports in Gbps."
+ },
+ "provisionedBandwidthInGbps": {
+ "readOnly": true,
+ "type": "number",
+ "description": "Aggregate Gbps of associated circuit bandwidths."
+ },
+ "mtu": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Maximum transmission unit of the physical port pair(s)."
+ },
+ "encapsulation": {
+ "type": "string",
+ "description": "Encapsulation method on physical ports.",
+ "enum": [
+ "Dot1Q",
+ "QinQ"
+ ],
+ "x-ms-enum": {
+ "name": "ExpressRoutePortsEncapsulation",
+ "modelAsString": true
+ }
+ },
+ "etherType": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Ether type of the physical port."
+ },
+ "allocationDate": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Date of the physical port allocation to be used in Letter of Authorization."
+ },
+ "links": {
+ "title": "ExpressRouteLink Sub-Resources",
+ "description": "The set of physical links of the ExpressRoutePort resource.",
+ "readOnly": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRouteLink"
+ }
+ },
+ "circuits": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the express route port resource."
+ },
+ "resourceGuid": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource GUID property of the express route port resource."
+ }
+ }
+ },
+ "ExpressRoutePort": {
+ "title": "ExpressRoute Port",
+ "description": "ExpressRoutePort resource definition.",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ExpressRoutePortPropertiesFormat",
+ "description": "ExpressRoutePort properties."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "identity": {
+ "$ref": "./network.json#/definitions/ManagedServiceIdentity",
+ "description": "The identity of ExpressRoutePort, if configured."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ]
+ },
+ "ExpressRoutePortListResult": {
+ "title": "ExpressRoute Port List Result",
+ "description": "Response for ListExpressRoutePorts API service call.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExpressRoutePort"
+ },
+ "description": "A list of ExpressRoutePort resources."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/firewallPolicy.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/firewallPolicy.json
new file mode 100644
index 000000000000..2a520178b4ec
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/firewallPolicy.json
@@ -0,0 +1,982 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}": {
+ "delete": {
+ "tags": [
+ "FirewallPolicies"
+ ],
+ "operationId": "FirewallPolicies_Delete",
+ "description": "Deletes the specified Firewall Policy.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "firewallPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Firewall Policy."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Request successful. Resource with the specified name does not exist."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete Firewall Policy": {
+ "$ref": "./examples/FirewallPolicyDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "FirewallPolicies"
+ ],
+ "operationId": "FirewallPolicies_Get",
+ "description": "Gets the specified Firewall Policy.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "firewallPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Firewall Policy."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced resources."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a Firewall Policy resource.",
+ "schema": {
+ "$ref": "#/definitions/FirewallPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get FirewallPolicy": {
+ "$ref": "./examples/FirewallPolicyGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "FirewallPolicies"
+ ],
+ "operationId": "FirewallPolicies_CreateOrUpdate",
+ "description": "Creates or updates the specified Firewall Policy.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "firewallPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Firewall Policy."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/FirewallPolicy"
+ },
+ "description": "Parameters supplied to the create or update Firewall Policy operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Request received successfully. The operation returns the resulting FirewallPolicy resource.",
+ "schema": {
+ "$ref": "#/definitions/FirewallPolicy"
+ }
+ },
+ "200": {
+ "description": "Request successful. The operation returns the resulting FirewallPolicy resource.",
+ "schema": {
+ "$ref": "#/definitions/FirewallPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create FirewallPolicy": {
+ "$ref": "./examples/FirewallPolicyPut.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies": {
+ "get": {
+ "tags": [
+ "FirewallPolicies"
+ ],
+ "operationId": "FirewallPolicies_List",
+ "description": "Lists all Firewall Policies in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of FirewallPolicy resources.",
+ "schema": {
+ "$ref": "#/definitions/FirewallPolicyListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all Firewall Policies for a given resource group": {
+ "$ref": "./examples/FirewallPolicyListByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies": {
+ "get": {
+ "tags": [
+ "FirewallPolicies"
+ ],
+ "operationId": "FirewallPolicies_ListAll",
+ "description": "Gets all the Firewall Policies in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of FirewallPolicy resources.",
+ "schema": {
+ "$ref": "#/definitions/FirewallPolicyListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all Firewall Policies for a given subscription": {
+ "$ref": "./examples/FirewallPolicyListBySubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups/{ruleGroupName}": {
+ "delete": {
+ "tags": [
+ "FirewallPolicyRuleGroups"
+ ],
+ "operationId": "FirewallPolicyRuleGroups_Delete",
+ "description": "Deletes the specified FirewallPolicyRuleGroup.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "firewallPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Firewall Policy."
+ },
+ {
+ "name": "ruleGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the FirewallPolicyRuleGroup."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Request successful. Resource with the specified name does not exist."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete FirewallPolicyRuleGroup": {
+ "$ref": "./examples/FirewallPolicyRuleGroupDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "FirewallPolicyRuleGroups"
+ ],
+ "operationId": "FirewallPolicyRuleGroups_Get",
+ "description": "Gets the specified FirewallPolicyRuleGroup.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "firewallPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Firewall Policy."
+ },
+ {
+ "name": "ruleGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the FirewallPolicyRuleGroup."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a FirewallPolicyRuleGroup resource.",
+ "schema": {
+ "$ref": "#/definitions/FirewallPolicyRuleGroup"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get FirewallPolicyRuleGroup": {
+ "$ref": "./examples/FirewallPolicyRuleGroupGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "FirewallPolicyRuleGroups"
+ ],
+ "operationId": "FirewallPolicyRuleGroups_CreateOrUpdate",
+ "description": "Creates or updates the specified FirewallPolicyRuleGroup.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "firewallPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Firewall Policy."
+ },
+ {
+ "name": "ruleGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the FirewallPolicyRuleGroup."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/FirewallPolicyRuleGroup"
+ },
+ "description": "Parameters supplied to the create or update FirewallPolicyRuleGroup operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Request received successfully. The operation returns the resulting FirewallPolicyRuleGroup resource.",
+ "schema": {
+ "$ref": "#/definitions/FirewallPolicyRuleGroup"
+ }
+ },
+ "200": {
+ "description": "Request successful. The operation returns the resulting FirewallPolicyRuleGroup resource.",
+ "schema": {
+ "$ref": "#/definitions/FirewallPolicyRuleGroup"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create FirewallPolicyRuleGroup": {
+ "$ref": "./examples/FirewallPolicyRuleGroupPut.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups": {
+ "get": {
+ "tags": [
+ "FirewallPolicyRuleGroups"
+ ],
+ "operationId": "FirewallPolicyRuleGroups_List",
+ "description": "Lists all FirewallPolicyRuleGroups in a FirewallPolicy resource.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "firewallPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Firewall Policy."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of FirewallPolicyRuleGroup resources.",
+ "schema": {
+ "$ref": "#/definitions/FirewallPolicyRuleGroupListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all FirewallPolicyRuleGroups for a given FirewallPolicy": {
+ "$ref": "./examples/FirewallPolicyRuleGroupList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "FirewallPolicy": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/FirewallPolicyPropertiesFormat",
+ "description": "Properties of the firewall policy."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "FirewallPolicy Resource."
+ },
+ "FirewallPolicyPropertiesFormat": {
+ "properties": {
+ "ruleGroups": {
+ "type": "array",
+ "readOnly": true,
+ "description": "List of references to FirewallPolicyRuleGroups.",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the firewall policy resource."
+ },
+ "basePolicy": {
+ "readOnly": false,
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The parent firewall policy from which rules are inherited."
+ },
+ "firewalls": {
+ "type": "array",
+ "readOnly": true,
+ "description": "List of references to Azure Firewalls that this Firewall Policy is associated with.",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ },
+ "childPolicies": {
+ "type": "array",
+ "readOnly": true,
+ "description": "List of references to Child Firewall Policies.",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ },
+ "threatIntelMode": {
+ "description": "The operation mode for Threat Intelligence.",
+ "$ref": "./azureFirewall.json#/definitions/AzureFirewallThreatIntelMode"
+ }
+ },
+ "description": "Firewall Policy definition."
+ },
+ "FirewallPolicyRuleGroup": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/FirewallPolicyRuleGroupProperties",
+ "description": "The properties of the firewall policy rule group."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Rule Group type."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Rule Group resource."
+ },
+ "FirewallPolicyRuleGroupProperties": {
+ "properties": {
+ "priority": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 65000,
+ "exclusiveMaximum": false,
+ "minimum": 100,
+ "exclusiveMinimum": false,
+ "description": "Priority of the Firewall Policy Rule Group resource."
+ },
+ "rules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FirewallPolicyRule"
+ },
+ "description": "Group of Firewall Policy rules."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the firewall policy rule group resource."
+ }
+ },
+ "description": "Properties of the rule group."
+ },
+ "FirewallPolicyRule": {
+ "description": "Properties of the rule.",
+ "discriminator": "ruleType",
+ "required": [
+ "ruleType"
+ ],
+ "properties": {
+ "ruleType": {
+ "type": "string",
+ "description": "The type of the rule.",
+ "enum": [
+ "FirewallPolicyNatRule",
+ "FirewallPolicyFilterRule"
+ ],
+ "x-ms-enum": {
+ "name": "FirewallPolicyRuleType",
+ "modelAsString": true
+ }
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the rule."
+ },
+ "priority": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 65000,
+ "exclusiveMaximum": false,
+ "minimum": 100,
+ "exclusiveMinimum": false,
+ "description": "Priority of the Firewall Policy Rule resource."
+ }
+ }
+ },
+ "FirewallPolicyNatRule": {
+ "properties": {
+ "action": {
+ "$ref": "#/definitions/FirewallPolicyNatRuleAction",
+ "description": "The action type of a Nat rule."
+ },
+ "translatedAddress": {
+ "type": "string",
+ "description": "The translated address for this NAT rule."
+ },
+ "translatedPort": {
+ "type": "string",
+ "description": "The translated port for this NAT rule."
+ },
+ "ruleCondition": {
+ "$ref": "#/definitions/FirewallPolicyRuleCondition",
+ "description": "The match conditions for incoming traffic."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/FirewallPolicyRule"
+ }
+ ],
+ "x-ms-discriminator-value": "FirewallPolicyNatRule",
+ "description": "Firewall Policy NAT Rule."
+ },
+ "FirewallPolicyFilterRule": {
+ "properties": {
+ "action": {
+ "$ref": "#/definitions/FirewallPolicyFilterRuleAction",
+ "description": "The action type of a Filter rule."
+ },
+ "ruleConditions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FirewallPolicyRuleCondition"
+ },
+ "description": "Collection of rule conditions used by a rule."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/FirewallPolicyRule"
+ }
+ ],
+ "x-ms-discriminator-value": "FirewallPolicyFilterRule",
+ "description": "Firewall Policy Filter Rule."
+ },
+ "FirewallPolicyRuleCondition": {
+ "description": "Properties of a rule.",
+ "discriminator": "ruleConditionType",
+ "required": [
+ "ruleConditionType"
+ ],
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the rule condition."
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of the rule condition."
+ },
+ "ruleConditionType": {
+ "type": "string",
+ "description": "Rule Condition Type.",
+ "enum": [
+ "ApplicationRuleCondition",
+ "NetworkRuleCondition"
+ ],
+ "x-ms-enum": {
+ "name": "FirewallPolicyRuleConditionType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "ApplicationRuleCondition": {
+ "x-ms-discriminator-value": "ApplicationRuleCondition",
+ "allOf": [
+ {
+ "$ref": "#/definitions/FirewallPolicyRuleCondition"
+ }
+ ],
+ "properties": {
+ "sourceAddresses": {
+ "type": "array",
+ "description": "List of source IP addresses for this rule.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "destinationAddresses": {
+ "type": "array",
+ "description": "List of destination IP addresses or Service Tags.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "protocols": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FirewallPolicyRuleConditionApplicationProtocol"
+ },
+ "description": "Array of Application Protocols."
+ },
+ "targetFqdns": {
+ "type": "array",
+ "description": "List of FQDNs for this rule condition.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "fqdnTags": {
+ "type": "array",
+ "description": "List of FQDN Tags for this rule condition.",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "description": "Rule condition of type application."
+ },
+ "NetworkRuleCondition": {
+ "description": "Rule condition of type network.",
+ "x-ms-discriminator-value": "NetworkRuleCondition",
+ "allOf": [
+ {
+ "$ref": "#/definitions/FirewallPolicyRuleCondition"
+ }
+ ],
+ "properties": {
+ "ipProtocols": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FirewallPolicyRuleConditionNetworkProtocol"
+ },
+ "description": "Array of FirewallPolicyRuleConditionNetworkProtocols."
+ },
+ "sourceAddresses": {
+ "type": "array",
+ "description": "List of source IP addresses for this rule.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "destinationAddresses": {
+ "type": "array",
+ "description": "List of destination IP addresses or Service Tags.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "destinationPorts": {
+ "type": "array",
+ "description": "List of destination ports.",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "FirewallPolicyRuleConditionApplicationProtocol": {
+ "properties": {
+ "protocolType": {
+ "description": "Protocol type.",
+ "$ref": "#/definitions/FirewallPolicyRuleConditionApplicationProtocolType"
+ },
+ "port": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 64000,
+ "exclusiveMaximum": false,
+ "minimum": 0,
+ "exclusiveMinimum": false,
+ "description": "Port number for the protocol, cannot be greater than 64000."
+ }
+ },
+ "description": "Properties of the application rule protocol."
+ },
+ "FirewallPolicyRuleConditionApplicationProtocolType": {
+ "type": "string",
+ "description": "The application protocol type of a Rule condition.",
+ "enum": [
+ "Http",
+ "Https"
+ ],
+ "x-ms-enum": {
+ "name": "FirewallPolicyRuleConditionApplicationProtocolType",
+ "modelAsString": true
+ }
+ },
+ "FirewallPolicyNatRuleActionType": {
+ "type": "string",
+ "description": "The action type of a rule.",
+ "enum": [
+ "DNAT"
+ ],
+ "x-ms-enum": {
+ "name": "FirewallPolicyNatRuleActionType",
+ "modelAsString": true
+ }
+ },
+ "FirewallPolicyNatRuleAction": {
+ "properties": {
+ "type": {
+ "description": "The type of action.",
+ "$ref": "#/definitions/FirewallPolicyNatRuleActionType"
+ }
+ },
+ "description": "Properties of the FirewallPolicyNatRuleAction."
+ },
+ "FirewallPolicyFilterRuleActionType": {
+ "type": "string",
+ "description": "The action type of a rule.",
+ "enum": [
+ "Allow",
+ "Deny"
+ ],
+ "x-ms-enum": {
+ "name": "FirewallPolicyFilterRuleActionType",
+ "modelAsString": true
+ }
+ },
+ "FirewallPolicyFilterRuleAction": {
+ "properties": {
+ "type": {
+ "description": "The type of action.",
+ "$ref": "#/definitions/FirewallPolicyFilterRuleActionType"
+ }
+ },
+ "description": "Properties of the FirewallPolicyFilterRuleAction."
+ },
+ "FirewallPolicyRuleConditionNetworkProtocol": {
+ "type": "string",
+ "description": "The Network protocol of a Rule condition.",
+ "enum": [
+ "TCP",
+ "UDP",
+ "Any",
+ "ICMP"
+ ],
+ "x-ms-enum": {
+ "name": "FirewallPolicyRuleConditionNetworkProtocol",
+ "modelAsString": true
+ }
+ },
+ "FirewallPolicyListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FirewallPolicy"
+ },
+ "description": "List of Firewall Policies in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListFirewallPolicies API service call."
+ },
+ "FirewallPolicyRuleGroupListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FirewallPolicyRuleGroup"
+ },
+ "description": "List of FirewallPolicyRuleGroups in a FirewallPolicy."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListFirewallPolicyRuleGroups API service call."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ipGroups.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ipGroups.json
new file mode 100644
index 000000000000..4582d4143da3
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ipGroups.json
@@ -0,0 +1,422 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}": {
+ "get": {
+ "tags": [
+ "IpGroups"
+ ],
+ "operationId": "IpGroups_Get",
+ "description": "Gets the specified ipGroups.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "ipGroupsName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ipGroups."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands resourceIds (of Firewalls/Network Security Groups etc.) back referenced by the IpGroups resource."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting IpGroups resource.",
+ "schema": {
+ "$ref": "#/definitions/IpGroup"
+ }
+ },
+ "default": {
+ "description": "Unexpected error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get_IpGroups": {
+ "$ref": "./examples/IpGroupsGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "IpGroups"
+ ],
+ "operationId": "IpGroups_CreateOrUpdate",
+ "description": "Creates or updates an ipGroups in a specified resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "ipGroupsName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ipGroups."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/IpGroup"
+ },
+ "description": "Parameters supplied to the create or update IpGroups operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting ipGroups resource.",
+ "schema": {
+ "$ref": "#/definitions/IpGroup"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting ipGroups resource.",
+ "schema": {
+ "$ref": "#/definitions/IpGroup"
+ }
+ },
+ "default": {
+ "description": "Unexpected error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "CreateOrUpdate_IpGroups": {
+ "$ref": "./examples/IpGroupsCreate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "IpGroups"
+ ],
+ "operationId": "IpGroups_UpdateGroups",
+ "description": "Updates an IpGroups",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "ipGroupsName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ipGroups."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to the update ipGroups operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting ipGroups resource.",
+ "schema": {
+ "$ref": "#/definitions/IpGroup"
+ }
+ },
+ "default": {
+ "description": "Unexpected error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update_IpGroups": {
+ "$ref": "./examples/IpGroupsUpdateTags.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "IpGroups"
+ ],
+ "operationId": "IpGroups_Delete",
+ "description": "Deletes the specified ipGroups.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "ipGroupsName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ipGroups."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Delete successful."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Unexpected error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete_IpGroups": {
+ "$ref": "./examples/IpGroupsDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups": {
+ "get": {
+ "tags": [
+ "IpGroups"
+ ],
+ "operationId": "IpGroups_ListByResourceGroup",
+ "description": "Gets all IpGroups in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of ipGroups resources.",
+ "schema": {
+ "$ref": "#/definitions/IpGroupListResult"
+ }
+ },
+ "default": {
+ "description": "Unexpected error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ListByResourceGroup_IpGroups": {
+ "$ref": "./examples/IpGroupsListByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ipGroups": {
+ "get": {
+ "tags": [
+ "IpGroups"
+ ],
+ "operationId": "IpGroups_List",
+ "description": "Gets all IpGroups in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of ipGroups resources.",
+ "schema": {
+ "$ref": "#/definitions/IpGroupListResult"
+ }
+ },
+ "default": {
+ "description": "Unexpected error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List_IpGroups": {
+ "$ref": "./examples/IpGroupsListBySubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "IpGroup": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/IpGroupPropertiesFormat",
+ "description": "Properties of the IpGroups."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "The IpGroups resource information."
+ },
+ "IpGroupListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IpGroup"
+ },
+ "description": "The list of IpGroups information resources."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ },
+ "description": "Response for the ListIpGroups API service call."
+ },
+ "IpGroupPropertiesFormat": {
+ "properties": {
+ "provisioningState": {
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the IpGroups resource.",
+ "readOnly": true
+ },
+ "ipAddresses": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "IpAddresses/IpAddressPrefixes in the IpGroups resource."
+ },
+ "firewalls": {
+ "type": "array",
+ "readOnly": true,
+ "description": "List of references to Azure resources that this IpGroups is associated with",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ }
+ },
+ "description": "The IpGroups property information."
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/loadBalancer.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/loadBalancer.json
new file mode 100644
index 000000000000..bceace8757db
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/loadBalancer.json
@@ -0,0 +1,2058 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}": {
+ "delete": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "LoadBalancers_Delete",
+ "description": "Deletes the specified load balancer.",
+ "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 load balancer."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete load balancer": {
+ "$ref": "./examples/LoadBalancerDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "LoadBalancers_Get",
+ "description": "Gets the specified load balancer.",
+ "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 load balancer."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced resources."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting LoadBalancer resource.",
+ "schema": {
+ "$ref": "#/definitions/LoadBalancer"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get load balancer": {
+ "$ref": "./examples/LoadBalancerGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "LoadBalancers_CreateOrUpdate",
+ "description": "Creates or updates a load balancer.",
+ "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 load balancer."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/LoadBalancer"
+ },
+ "description": "Parameters supplied to the create or update load balancer operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting LoadBalancer resource.",
+ "schema": {
+ "$ref": "#/definitions/LoadBalancer"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting LoadBalancer resource.",
+ "schema": {
+ "$ref": "#/definitions/LoadBalancer"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create load balancer": {
+ "$ref": "./examples/LoadBalancerCreate.json"
+ },
+ "Create load balancer with Standard SKU": {
+ "$ref": "./examples/LoadBalancerCreateStandardSku.json"
+ },
+ "Create load balancer with Frontend IP in Zone 1": {
+ "$ref": "./examples/LoadBalancerCreateWithZones.json"
+ },
+ "Create load balancer with inbound nat pool": {
+ "$ref": "./examples/LoadBalancerCreateWithInboundNatPool.json"
+ },
+ "Create load balancer with outbound rules": {
+ "$ref": "./examples/LoadBalancerCreateWithOutboundRules.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "LoadBalancers_UpdateTags",
+ "description": "Updates a load balancer tags.",
+ "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 load balancer."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update load balancer tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting LoadBalancer resource.",
+ "schema": {
+ "$ref": "#/definitions/LoadBalancer"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update load balancer tags": {
+ "$ref": "./examples/LoadBalancerUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers": {
+ "get": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "LoadBalancers_ListAll",
+ "description": "Gets all the load balancers in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of LoadBalancer resources.",
+ "schema": {
+ "$ref": "#/definitions/LoadBalancerListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all load balancers": {
+ "$ref": "./examples/LoadBalancerListAll.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers": {
+ "get": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "LoadBalancers_List",
+ "description": "Gets all the load balancers in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of LoadBalancer resources.",
+ "schema": {
+ "$ref": "#/definitions/LoadBalancerListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List load balancers in resource group": {
+ "$ref": "./examples/LoadBalancerList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools": {
+ "get": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "LoadBalancerBackendAddressPools_List",
+ "description": "Gets all the load balancer backed address pools.",
+ "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 load balancer."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of LoadBalancer BackendAddressPool resources.",
+ "schema": {
+ "$ref": "#/definitions/LoadBalancerBackendAddressPoolListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "LoadBalancerBackendAddressPoolList": {
+ "$ref": "./examples/LoadBalancerBackendAddressPoolList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}": {
+ "get": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "LoadBalancerBackendAddressPools_Get",
+ "description": "Gets load balancer backend address pool.",
+ "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 load balancer."
+ },
+ {
+ "name": "backendAddressPoolName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the backend address pool."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns LoadBalancer BackendAddressPool resource.",
+ "schema": {
+ "$ref": "#/definitions/BackendAddressPool"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "LoadBalancerBackendAddressPoolGet": {
+ "$ref": "./examples/LoadBalancerBackendAddressPoolGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations": {
+ "get": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "LoadBalancerFrontendIPConfigurations_List",
+ "description": "Gets all the load balancer frontend IP configurations.",
+ "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 load balancer."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of LoadBalancer FrontendIPConfiguration resources.",
+ "schema": {
+ "$ref": "#/definitions/LoadBalancerFrontendIPConfigurationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "LoadBalancerFrontendIPConfigurationList": {
+ "$ref": "./examples/LoadBalancerFrontendIPConfigurationList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}": {
+ "get": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "LoadBalancerFrontendIPConfigurations_Get",
+ "description": "Gets load balancer frontend IP configuration.",
+ "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 load balancer."
+ },
+ {
+ "name": "frontendIPConfigurationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the frontend IP configuration."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns LoadBalancer FrontendIPConfiguration resource.",
+ "schema": {
+ "$ref": "#/definitions/FrontendIPConfiguration"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "LoadBalancerFrontendIPConfigurationGet": {
+ "$ref": "./examples/LoadBalancerFrontendIPConfigurationGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules": {
+ "get": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "InboundNatRules_List",
+ "description": "Gets all the inbound nat rules in a load balancer.",
+ "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 load balancer."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of LoadBalancer InboundNatRule resources.",
+ "schema": {
+ "$ref": "#/definitions/InboundNatRuleListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "InboundNatRuleList": {
+ "$ref": "./examples/InboundNatRuleList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}": {
+ "delete": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "InboundNatRules_Delete",
+ "description": "Deletes the specified load balancer inbound nat rule.",
+ "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 load balancer."
+ },
+ {
+ "name": "inboundNatRuleName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the inbound nat rule."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "InboundNatRuleDelete": {
+ "$ref": "./examples/InboundNatRuleDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "InboundNatRules_Get",
+ "description": "Gets the specified load balancer inbound nat rule.",
+ "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 load balancer."
+ },
+ {
+ "name": "inboundNatRuleName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the inbound nat rule."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced resources."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting InboundNatRule resource.",
+ "schema": {
+ "$ref": "#/definitions/InboundNatRule"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "InboundNatRuleGet": {
+ "$ref": "./examples/InboundNatRuleGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "InboundNatRules_CreateOrUpdate",
+ "description": "Creates or updates a load balancer inbound nat rule.",
+ "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 load balancer."
+ },
+ {
+ "name": "inboundNatRuleName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the inbound nat rule."
+ },
+ {
+ "name": "inboundNatRuleParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/InboundNatRule"
+ },
+ "description": "Parameters supplied to the create or update inbound nat rule operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting InboundNatRule resource.",
+ "schema": {
+ "$ref": "#/definitions/InboundNatRule"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting InboundNatRule resource.",
+ "schema": {
+ "$ref": "#/definitions/InboundNatRule"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "InboundNatRuleCreate": {
+ "$ref": "./examples/InboundNatRuleCreate.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules": {
+ "get": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "LoadBalancerLoadBalancingRules_List",
+ "description": "Gets all the load balancing rules in a load balancer.",
+ "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 load balancer."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of LoadBalancer LoadBalancingRule resources.",
+ "schema": {
+ "$ref": "#/definitions/LoadBalancerLoadBalancingRuleListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "LoadBalancerLoadBalancingRuleList": {
+ "$ref": "./examples/LoadBalancerLoadBalancingRuleList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}": {
+ "get": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "LoadBalancerLoadBalancingRules_Get",
+ "description": "Gets the specified load balancer load balancing rule.",
+ "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 load balancer."
+ },
+ {
+ "name": "loadBalancingRuleName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the load balancing rule."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting LoadBalancingRule resource.",
+ "schema": {
+ "$ref": "#/definitions/LoadBalancingRule"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "LoadBalancerLoadBalancingRuleGet": {
+ "$ref": "./examples/LoadBalancerLoadBalancingRuleGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules": {
+ "get": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "LoadBalancerOutboundRules_List",
+ "description": "Gets all the outbound rules in a load balancer.",
+ "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 load balancer."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of LoadBalancer OutboundRule resources.",
+ "schema": {
+ "$ref": "#/definitions/LoadBalancerOutboundRuleListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "LoadBalancerOutboundRuleList": {
+ "$ref": "./examples/LoadBalancerOutboundRuleList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules/{outboundRuleName}": {
+ "get": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "LoadBalancerOutboundRules_Get",
+ "description": "Gets the specified load balancer outbound rule.",
+ "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 load balancer."
+ },
+ {
+ "name": "outboundRuleName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the outbound rule."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting OutboundRule resource.",
+ "schema": {
+ "$ref": "#/definitions/OutboundRule"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "LoadBalancerOutboundRuleGet": {
+ "$ref": "./examples/LoadBalancerOutboundRuleGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces": {
+ "get": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "LoadBalancerNetworkInterfaces_List",
+ "description": "Gets associated load balancer network interfaces.",
+ "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 load balancer."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of NetworkInterface resources.",
+ "schema": {
+ "$ref": "./networkInterface.json#/definitions/NetworkInterfaceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "LoadBalancerNetworkInterfaceListVmss": {
+ "$ref": "./examples/LoadBalancerNetworkInterfaceListVmss.json"
+ },
+ "LoadBalancerNetworkInterfaceListSimple": {
+ "$ref": "./examples/LoadBalancerNetworkInterfaceListSimple.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes": {
+ "get": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "LoadBalancerProbes_List",
+ "description": "Gets all the load balancer probes.",
+ "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 load balancer."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of LoadBalancer Probe resources.",
+ "schema": {
+ "$ref": "#/definitions/LoadBalancerProbeListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "LoadBalancerProbeList": {
+ "$ref": "./examples/LoadBalancerProbeList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}": {
+ "get": {
+ "tags": [
+ "LoadBalancers"
+ ],
+ "operationId": "LoadBalancerProbes_Get",
+ "description": "Gets load balancer probe.",
+ "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 load balancer."
+ },
+ {
+ "name": "probeName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the probe."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns LoadBalancer Probe resource.",
+ "schema": {
+ "$ref": "#/definitions/Probe"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "LoadBalancerProbeGet": {
+ "$ref": "./examples/LoadBalancerProbeGet.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "LoadBalancerSku": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of a load balancer SKU.",
+ "enum": [
+ "Basic",
+ "Standard"
+ ],
+ "x-ms-enum": {
+ "name": "LoadBalancerSkuName",
+ "modelAsString": true
+ }
+ }
+ },
+ "description": "SKU of a load balancer."
+ },
+ "FrontendIPConfigurationPropertiesFormat": {
+ "properties": {
+ "inboundNatRules": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "An array of references to inbound rules that use this frontend IP."
+ },
+ "inboundNatPools": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "An array of references to inbound pools that use this frontend IP."
+ },
+ "outboundRules": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "An array of references to outbound rules that use this frontend IP."
+ },
+ "loadBalancingRules": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "An array of references to load balancing rules that use this frontend IP."
+ },
+ "privateIPAddress": {
+ "type": "string",
+ "description": "The private IP address of the IP configuration."
+ },
+ "privateIPAllocationMethod": {
+ "$ref": "./network.json#/definitions/IPAllocationMethod",
+ "description": "The Private IP allocation method."
+ },
+ "privateIPAddressVersion": {
+ "$ref": "./network.json#/definitions/IPVersion",
+ "description": "Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4."
+ },
+ "subnet": {
+ "$ref": "./virtualNetwork.json#/definitions/Subnet",
+ "description": "The reference of the subnet resource."
+ },
+ "publicIPAddress": {
+ "$ref": "./publicIpAddress.json#/definitions/PublicIPAddress",
+ "description": "The reference of the Public IP resource."
+ },
+ "publicIPPrefix": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The reference of the Public IP Prefix resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the frontend IP configuration resource."
+ }
+ },
+ "description": "Properties of Frontend IP Configuration of the load balancer."
+ },
+ "FrontendIPConfiguration": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/FrontendIPConfigurationPropertiesFormat",
+ "description": "Properties of the load balancer probe."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of availability zones denoting the IP allocated for the resource needs to come from."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Frontend IP address of the load balancer."
+ },
+ "BackendAddressPoolPropertiesFormat": {
+ "properties": {
+ "backendIPConfigurations": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./networkInterface.json#/definitions/NetworkInterfaceIPConfiguration"
+ },
+ "description": "An array of references to IP addresses defined in network interfaces."
+ },
+ "loadBalancingRules": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "An array of references to load balancing rules that use this backend address pool."
+ },
+ "outboundRule": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "A reference to an outbound rule that uses this backend address pool."
+ },
+ "outboundRules": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "An array of references to outbound rules that use this backend address pool."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the backend address pool resource."
+ }
+ },
+ "description": "Properties of the backend address pool."
+ },
+ "BackendAddressPool": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/BackendAddressPoolPropertiesFormat",
+ "description": "Properties of load balancer backend address pool."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Pool of backend IP addresses."
+ },
+ "LoadBalancingRulePropertiesFormat": {
+ "properties": {
+ "frontendIPConfiguration": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "A reference to frontend IP addresses."
+ },
+ "backendAddressPool": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs."
+ },
+ "probe": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The reference of the load balancer probe used by the load balancing rule."
+ },
+ "protocol": {
+ "$ref": "#/definitions/TransportProtocol",
+ "description": "The reference to the transport protocol used by the load balancing rule."
+ },
+ "loadDistribution": {
+ "type": "string",
+ "description": "The load distribution policy for this rule.",
+ "enum": [
+ "Default",
+ "SourceIP",
+ "SourceIPProtocol"
+ ],
+ "x-ms-enum": {
+ "name": "LoadDistribution",
+ "modelAsString": true
+ }
+ },
+ "frontendPort": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables \"Any Port\"."
+ },
+ "backendPort": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables \"Any Port\"."
+ },
+ "idleTimeoutInMinutes": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element 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 AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint."
+ },
+ "enableTcpReset": {
+ "type": "boolean",
+ "description": "Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP."
+ },
+ "disableOutboundSnat": {
+ "type": "boolean",
+ "description": "Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the load balancing rule resource."
+ }
+ },
+ "required": [
+ "protocol",
+ "frontendPort"
+ ],
+ "description": "Properties of the load balancer."
+ },
+ "LoadBalancingRule": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/LoadBalancingRulePropertiesFormat",
+ "description": "Properties of load balancer load balancing rule."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "A load balancing rule for a load balancer."
+ },
+ "ProbePropertiesFormat": {
+ "properties": {
+ "loadBalancingRules": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "The load balancer rules that use this probe."
+ },
+ "protocol": {
+ "type": "string",
+ "description": "The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.",
+ "enum": [
+ "Http",
+ "Tcp",
+ "Https"
+ ],
+ "x-ms-enum": {
+ "name": "ProbeProtocol",
+ "modelAsString": true
+ }
+ },
+ "port": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The port for communicating the probe. Possible values range from 1 to 65535, inclusive."
+ },
+ "intervalInSeconds": {
+ "type": "integer",
+ "format": "int32",
+ "description": "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": "The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure."
+ },
+ "requestPath": {
+ "type": "string",
+ "description": "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": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the probe resource."
+ }
+ },
+ "required": [
+ "protocol",
+ "port"
+ ],
+ "description": "Load balancer probe resource."
+ },
+ "Probe": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ProbePropertiesFormat",
+ "description": "Properties of load balancer probe."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "A load balancer probe."
+ },
+ "InboundNatRulePropertiesFormat": {
+ "properties": {
+ "frontendIPConfiguration": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "A reference to frontend IP addresses."
+ },
+ "backendIPConfiguration": {
+ "readOnly": true,
+ "$ref": "./networkInterface.json#/definitions/NetworkInterfaceIPConfiguration",
+ "description": "A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP."
+ },
+ "protocol": {
+ "$ref": "#/definitions/TransportProtocol",
+ "description": "The reference to the transport protocol used by the load balancing rule."
+ },
+ "frontendPort": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534."
+ },
+ "backendPort": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The port used for the internal endpoint. Acceptable values range from 1 to 65535."
+ },
+ "idleTimeoutInMinutes": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element 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 AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint."
+ },
+ "enableTcpReset": {
+ "type": "boolean",
+ "description": "Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the inbound NAT rule resource."
+ }
+ },
+ "description": "Properties of the inbound NAT rule."
+ },
+ "InboundNatRule": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/InboundNatRulePropertiesFormat",
+ "description": "Properties of load balancer inbound nat rule."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Inbound NAT rule of the load balancer."
+ },
+ "InboundNatPoolPropertiesFormat": {
+ "properties": {
+ "frontendIPConfiguration": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "A reference to frontend IP addresses."
+ },
+ "protocol": {
+ "$ref": "#/definitions/TransportProtocol",
+ "description": "The reference to the transport protocol used by the inbound NAT pool."
+ },
+ "frontendPortRangeStart": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534."
+ },
+ "frontendPortRangeEnd": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535."
+ },
+ "backendPort": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535."
+ },
+ "idleTimeoutInMinutes": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element 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 AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint."
+ },
+ "enableTcpReset": {
+ "type": "boolean",
+ "description": "Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the inbound NAT pool resource."
+ }
+ },
+ "required": [
+ "protocol",
+ "frontendPortRangeStart",
+ "frontendPortRangeEnd",
+ "backendPort"
+ ],
+ "description": "Properties of Inbound NAT pool."
+ },
+ "InboundNatPool": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/InboundNatPoolPropertiesFormat",
+ "description": "Properties of load balancer inbound nat pool."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Inbound NAT pool of the load balancer."
+ },
+ "OutboundRulePropertiesFormat": {
+ "properties": {
+ "allocatedOutboundPorts": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of outbound ports to be used for NAT."
+ },
+ "frontendIPConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "The Frontend IP addresses of the load balancer."
+ },
+ "backendAddressPool": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the outbound rule resource."
+ },
+ "protocol": {
+ "type": "string",
+ "description": "The protocol for the outbound rule in load balancer.",
+ "enum": [
+ "Tcp",
+ "Udp",
+ "All"
+ ],
+ "x-ms-enum": {
+ "name": "LoadBalancerOutboundRuleProtocol",
+ "modelAsString": true
+ }
+ },
+ "enableTcpReset": {
+ "type": "boolean",
+ "description": "Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP."
+ },
+ "idleTimeoutInMinutes": {
+ "type": "integer",
+ "description": "The timeout for the TCP idle connection."
+ }
+ },
+ "required": [
+ "backendAddressPool",
+ "frontendIPConfigurations",
+ "protocol"
+ ],
+ "description": "Outbound rule of the load balancer."
+ },
+ "OutboundRule": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/OutboundRulePropertiesFormat",
+ "description": "Properties of load balancer outbound rule."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Outbound rule of the load balancer."
+ },
+ "LoadBalancerPropertiesFormat": {
+ "properties": {
+ "frontendIPConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FrontendIPConfiguration"
+ },
+ "description": "Object representing the frontend IPs to be used for the load balancer."
+ },
+ "backendAddressPools": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BackendAddressPool"
+ },
+ "description": "Collection of backend address pools used by a load balancer."
+ },
+ "loadBalancingRules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LoadBalancingRule"
+ },
+ "description": "Object collection representing the load balancing rules Gets the provisioning."
+ },
+ "probes": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Probe"
+ },
+ "description": "Collection of probe objects used in the load balancer."
+ },
+ "inboundNatRules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InboundNatRule"
+ },
+ "description": "Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules."
+ },
+ "inboundNatPools": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InboundNatPool"
+ },
+ "description": "Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules."
+ },
+ "outboundRules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OutboundRule"
+ },
+ "description": "The outbound rules."
+ },
+ "resourceGuid": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource GUID property of the load balancer resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the load balancer resource."
+ }
+ },
+ "description": "Properties of the load balancer."
+ },
+ "LoadBalancer": {
+ "properties": {
+ "sku": {
+ "$ref": "#/definitions/LoadBalancerSku",
+ "description": "The load balancer SKU."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/LoadBalancerPropertiesFormat",
+ "description": "Properties of load balancer."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "LoadBalancer resource."
+ },
+ "LoadBalancerListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LoadBalancer"
+ },
+ "description": "A list of load balancers in a resource group."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListLoadBalancers API service call."
+ },
+ "InboundNatRuleListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InboundNatRule"
+ },
+ "description": "A list of inbound nat rules in a load balancer."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListInboundNatRule API service call."
+ },
+ "LoadBalancerBackendAddressPoolListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BackendAddressPool"
+ },
+ "description": "A list of backend address pools in a load balancer."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListBackendAddressPool API service call."
+ },
+ "LoadBalancerFrontendIPConfigurationListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FrontendIPConfiguration"
+ },
+ "description": "A list of frontend IP configurations in a load balancer."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListFrontendIPConfiguration API service call."
+ },
+ "LoadBalancerLoadBalancingRuleListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LoadBalancingRule"
+ },
+ "description": "A list of load balancing rules in a load balancer."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListLoadBalancingRule API service call."
+ },
+ "LoadBalancerOutboundRuleListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OutboundRule"
+ },
+ "description": "A list of outbound rules in a load balancer."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListOutboundRule API service call."
+ },
+ "LoadBalancerProbeListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Probe"
+ },
+ "description": "A list of probes in a load balancer."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListProbe API service call."
+ },
+ "TransportProtocol": {
+ "type": "string",
+ "description": "The transport protocol for the endpoint.",
+ "enum": [
+ "Udp",
+ "Tcp",
+ "All"
+ ],
+ "x-ms-enum": {
+ "name": "TransportProtocol",
+ "modelAsString": true
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/natGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/natGateway.json
new file mode 100644
index 000000000000..ca5b4d447d14
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/natGateway.json
@@ -0,0 +1,472 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}": {
+ "delete": {
+ "tags": [
+ "NatGateways"
+ ],
+ "operationId": "NatGateways_Delete",
+ "description": "Deletes the specified nat gateway.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "natGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the nat gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete nat gateway": {
+ "$ref": "./examples/NatGatewayDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "NatGateways"
+ ],
+ "operationId": "NatGateways_Get",
+ "description": "Gets the specified nat gateway in a specified resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "natGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the nat gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced resources."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting NatGateway resource.",
+ "schema": {
+ "$ref": "#/definitions/NatGateway"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get nat gateway": {
+ "$ref": "./examples/NatGatewayGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "NatGateways"
+ ],
+ "operationId": "NatGateways_CreateOrUpdate",
+ "description": "Creates or updates a nat gateway.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "natGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the nat gateway."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/NatGateway"
+ },
+ "description": "Parameters supplied to the create or update nat gateway operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting NatGateway resource.",
+ "schema": {
+ "$ref": "#/definitions/NatGateway"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting NatGateway resource.",
+ "schema": {
+ "$ref": "#/definitions/NatGateway"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/NatGateway"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create nat gateway": {
+ "$ref": "./examples/NatGatewayCreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "NatGateways"
+ ],
+ "operationId": "NatGateways_UpdateTags",
+ "description": "Updates nat gateway tags.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "natGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the nat gateway."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update nat gateway tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting NatGateway resource.",
+ "schema": {
+ "$ref": "#/definitions/NatGateway"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update nat gateway tags": {
+ "$ref": "./examples/NatGatewayUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways": {
+ "get": {
+ "tags": [
+ "NatGateways"
+ ],
+ "operationId": "NatGateways_ListAll",
+ "description": "Gets all the Nat Gateways in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of NatGateway resources.",
+ "schema": {
+ "$ref": "#/definitions/NatGatewayListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all nat gateways": {
+ "$ref": "./examples/NatGatewayListAll.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways": {
+ "get": {
+ "tags": [
+ "NatGateways"
+ ],
+ "operationId": "NatGateways_List",
+ "description": "Gets all nat gateways in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of NatGateway resources.",
+ "schema": {
+ "$ref": "#/definitions/NatGatewayListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List nat gateways in resource group": {
+ "$ref": "./examples/NatGatewayList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "NatGatewaySku": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of Nat Gateway SKU.",
+ "enum": [
+ "Standard"
+ ],
+ "x-ms-enum": {
+ "name": "NatGatewaySkuName",
+ "modelAsString": true
+ }
+ }
+ },
+ "description": "SKU of nat gateway."
+ },
+ "NatGatewayPropertiesFormat": {
+ "properties": {
+ "idleTimeoutInMinutes": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The idle timeout of the nat gateway."
+ },
+ "publicIpAddresses": {
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "An array of public ip addresses associated with the nat gateway resource."
+ },
+ "publicIpPrefixes": {
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "An array of public ip prefixes associated with the nat gateway resource."
+ },
+ "subnets": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "An array of references to the subnets using this nat gateway resource."
+ },
+ "resourceGuid": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource GUID property of the NAT gateway resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the NAT gateway resource."
+ }
+ },
+ "description": "Nat Gateway properties."
+ },
+ "NatGateway": {
+ "properties": {
+ "sku": {
+ "$ref": "#/definitions/NatGatewaySku",
+ "description": "The nat gateway SKU."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/NatGatewayPropertiesFormat",
+ "description": "Nat Gateway properties."
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of availability zones denoting the zone in which Nat Gateway should be deployed."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Nat Gateway resource."
+ },
+ "NatGatewayListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NatGateway"
+ },
+ "description": "A list of Nat Gateways that exists in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListNatGateways API service call."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/network.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/network.json
new file mode 100644
index 000000000000..b0362f2d62fd
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/network.json
@@ -0,0 +1,335 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {},
+ "definitions": {
+ "ErrorDetails": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Error code."
+ },
+ "target": {
+ "type": "string",
+ "description": "Error target."
+ },
+ "message": {
+ "type": "string",
+ "description": "Error message."
+ }
+ },
+ "description": "Common error details representation."
+ },
+ "Error": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Error code."
+ },
+ "message": {
+ "type": "string",
+ "description": "Error message."
+ },
+ "target": {
+ "type": "string",
+ "description": "Error target."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorDetails"
+ },
+ "description": "Error details."
+ },
+ "innerError": {
+ "type": "string",
+ "description": "Inner error message."
+ }
+ },
+ "description": "Common error representation."
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/CloudErrorBody",
+ "description": "Cloud error body."
+ }
+ },
+ "description": "An error response from the service."
+ },
+ "CloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for display in a user interface."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error. For example, the name of the property in error."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "description": "A list of additional details about the error."
+ }
+ },
+ "description": "An error response from the service."
+ },
+ "AzureAsyncOperationResult": {
+ "properties": {
+ "status": {
+ "type": "string",
+ "description": "Status of the Azure async operation.",
+ "enum": [
+ "InProgress",
+ "Succeeded",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "NetworkOperationStatus",
+ "modelAsString": true
+ }
+ },
+ "error": {
+ "$ref": "#/definitions/Error",
+ "description": "Details of the error occurred during specified asynchronous operation."
+ }
+ },
+ "description": "The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, 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": {
+ "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."
+ }
+ },
+ "description": "Common resource representation.",
+ "x-ms-azure-resource": true
+ },
+ "SubResource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Resource ID."
+ }
+ },
+ "description": "Reference to another subresource.",
+ "x-ms-azure-resource": true
+ },
+ "TagsObject": {
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ }
+ },
+ "description": "Tags object for patch operations."
+ },
+ "ManagedServiceIdentity": {
+ "properties": {
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The principal id of the system assigned identity. This property will only be provided for a system assigned identity."
+ },
+ "tenantId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The tenant id of the system assigned identity. This property will only be provided for a system assigned identity."
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.",
+ "enum": [
+ "SystemAssigned",
+ "UserAssigned",
+ "SystemAssigned, UserAssigned",
+ "None"
+ ],
+ "x-ms-enum": {
+ "name": "ResourceIdentityType",
+ "modelAsString": false
+ }
+ },
+ "userAssignedIdentities": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The principal id of user assigned identity."
+ },
+ "clientId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The client id of user assigned identity."
+ }
+ }
+ },
+ "description": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
+ }
+ },
+ "description": "Identity for the resource."
+ },
+ "ProvisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The current provisioning state.",
+ "enum": [
+ "Succeeded",
+ "Updating",
+ "Deleting",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "Access": {
+ "type": "string",
+ "description": "Access to be allowed or denied.",
+ "enum": [
+ "Allow",
+ "Deny"
+ ],
+ "x-ms-enum": {
+ "name": "Access",
+ "modelAsString": true
+ }
+ },
+ "AuthenticationMethod": {
+ "type": "string",
+ "description": "VPN client authentication method.",
+ "enum": [
+ "EAPTLS",
+ "EAPMSCHAPv2"
+ ],
+ "x-ms-enum": {
+ "name": "AuthenticationMethod",
+ "modelAsString": true
+ }
+ },
+ "IPAllocationMethod": {
+ "type": "string",
+ "description": "IP address allocation method.",
+ "enum": [
+ "Static",
+ "Dynamic"
+ ],
+ "x-ms-enum": {
+ "name": "IPAllocationMethod",
+ "modelAsString": true
+ }
+ },
+ "IPVersion": {
+ "type": "string",
+ "description": "IP address version.",
+ "enum": [
+ "IPv4",
+ "IPv6"
+ ],
+ "x-ms-enum": {
+ "name": "IPVersion",
+ "modelAsString": true
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The subscription credentials which uniquely identify the 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."
+ },
+ "ApiVersionVmssParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "2017-03-30"
+ ],
+ "x-ms-enum": {
+ "name": "ApiVersion",
+ "modelAsString": true
+ },
+ "description": "Client API version."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/networkInterface.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/networkInterface.json
new file mode 100644
index 000000000000..fb2beef41b21
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/networkInterface.json
@@ -0,0 +1,1522 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}": {
+ "delete": {
+ "tags": [
+ "NetworkInterfaces"
+ ],
+ "operationId": "NetworkInterfaces_Delete",
+ "description": "Deletes 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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete network interface": {
+ "$ref": "./examples/NetworkInterfaceDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "NetworkInterfaces"
+ ],
+ "operationId": "NetworkInterfaces_Get",
+ "description": "Gets 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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced resources."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting NetworkInterface resource.",
+ "schema": {
+ "$ref": "#/definitions/NetworkInterface"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get network interface": {
+ "$ref": "./examples/NetworkInterfaceGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "NetworkInterfaces"
+ ],
+ "operationId": "NetworkInterfaces_CreateOrUpdate",
+ "description": "Creates or updates a 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."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/NetworkInterface"
+ },
+ "description": "Parameters supplied to the create or update network interface operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting NetworkInterface resource.",
+ "schema": {
+ "$ref": "#/definitions/NetworkInterface"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting NetworkInterface resource.",
+ "schema": {
+ "$ref": "#/definitions/NetworkInterface"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create network interface": {
+ "$ref": "./examples/NetworkInterfaceCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "NetworkInterfaces"
+ ],
+ "operationId": "NetworkInterfaces_UpdateTags",
+ "description": "Updates a network interface tags.",
+ "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": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update network interface tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting NetworkInterface resource.",
+ "schema": {
+ "$ref": "#/definitions/NetworkInterface"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update network interface tags": {
+ "$ref": "./examples/NetworkInterfaceUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces": {
+ "get": {
+ "tags": [
+ "NetworkInterfaces"
+ ],
+ "operationId": "NetworkInterfaces_ListAll",
+ "description": "Gets all network interfaces in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of NetworkInterface resources.",
+ "schema": {
+ "$ref": "#/definitions/NetworkInterfaceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all network interfaces": {
+ "$ref": "./examples/NetworkInterfaceListAll.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces": {
+ "get": {
+ "tags": [
+ "NetworkInterfaces"
+ ],
+ "operationId": "NetworkInterfaces_List",
+ "description": "Gets all network interfaces in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of NetworkInterface resources.",
+ "schema": {
+ "$ref": "#/definitions/NetworkInterfaceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List network interfaces in resource group": {
+ "$ref": "./examples/NetworkInterfaceList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable": {
+ "post": {
+ "tags": [
+ "NetworkInterfaces"
+ ],
+ "operationId": "NetworkInterfaces_GetEffectiveRouteTable",
+ "description": "Gets all route tables applied to a 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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of EffectRoute resources.",
+ "schema": {
+ "$ref": "#/definitions/EffectiveRouteListResult"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Show network interface effective route tables": {
+ "$ref": "./examples/NetworkInterfaceEffectiveRouteTableList.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups": {
+ "post": {
+ "tags": [
+ "NetworkInterfaces"
+ ],
+ "operationId": "NetworkInterfaces_ListEffectiveNetworkSecurityGroups",
+ "description": "Gets all network security groups applied to a 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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of NetworkSecurityGroup resources.",
+ "schema": {
+ "$ref": "#/definitions/EffectiveNetworkSecurityGroupListResult"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List network interface effective network security groups": {
+ "$ref": "./examples/NetworkInterfaceEffectiveNSGList.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations": {
+ "get": {
+ "tags": [
+ "NetworkInterfaces"
+ ],
+ "operationId": "NetworkInterfaceIPConfigurations_List",
+ "description": "Get all ip configurations in a 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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of NetworkInterface IPConfiguration resources.",
+ "schema": {
+ "$ref": "#/definitions/NetworkInterfaceIPConfigurationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "NetworkInterfaceIPConfigurationList": {
+ "$ref": "./examples/NetworkInterfaceIPConfigurationList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}": {
+ "get": {
+ "tags": [
+ "NetworkInterfaces"
+ ],
+ "operationId": "NetworkInterfaceIPConfigurations_Get",
+ "description": "Gets the specified network interface ip configuration.",
+ "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": "ipConfigurationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ip configuration name."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting NetworkInterface IPConfiguration resource.",
+ "schema": {
+ "$ref": "#/definitions/NetworkInterfaceIPConfiguration"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "NetworkInterfaceIPConfigurationGet": {
+ "$ref": "./examples/NetworkInterfaceIPConfigurationGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/loadBalancers": {
+ "get": {
+ "tags": [
+ "NetworkInterfaces"
+ ],
+ "operationId": "NetworkInterfaceLoadBalancers_List",
+ "description": "List all load balancers in a 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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of NetworkInterface LoadBalancer resources.",
+ "schema": {
+ "$ref": "#/definitions/NetworkInterfaceLoadBalancerListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "NetworkInterfaceLoadBalancerList": {
+ "$ref": "./examples/NetworkInterfaceLoadBalancerList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}": {
+ "delete": {
+ "tags": [
+ "Network Interfaces"
+ ],
+ "operationId": "NetworkInterfaceTapConfigurations_Delete",
+ "description": "Deletes the specified tap configuration from the 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": "tapConfigurationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the tap configuration."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Delete successful."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete tap configuration": {
+ "$ref": "./examples/NetworkInterfaceTapConfigurationDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "NetworkInterfaces"
+ ],
+ "operationId": "NetworkInterfaceTapConfigurations_Get",
+ "description": "Get the specified tap configuration on a 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."
+ },
+ {
+ "name": "tapConfigurationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the tap configuration."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a tap configuration.",
+ "schema": {
+ "$ref": "#/definitions/NetworkInterfaceTapConfiguration"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Network Interface Tap Configurations": {
+ "$ref": "./examples/NetworkInterfaceTapConfigurationGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Network Interfaces"
+ ],
+ "operationId": "NetworkInterfaceTapConfigurations_CreateOrUpdate",
+ "description": "Creates or updates a Tap configuration in the specified 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": "tapConfigurationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the tap configuration."
+ },
+ {
+ "name": "tapConfigurationParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/NetworkInterfaceTapConfiguration"
+ },
+ "description": "Parameters supplied to the create or update tap configuration operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting Tap Configuration resource.",
+ "schema": {
+ "$ref": "#/definitions/NetworkInterfaceTapConfiguration"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting Tap configuration resource.",
+ "schema": {
+ "$ref": "#/definitions/NetworkInterfaceTapConfiguration"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create Network Interface Tap Configurations": {
+ "$ref": "./examples/NetworkInterfaceTapConfigurationCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations": {
+ "get": {
+ "tags": [
+ "NetworkInterfaces"
+ ],
+ "operationId": "NetworkInterfaceTapConfigurations_List",
+ "description": "Get all Tap configurations in a 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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of NetworkInterface TapConfiguration resources.",
+ "schema": {
+ "$ref": "#/definitions/NetworkInterfaceTapConfigurationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List virtual network tap configurations": {
+ "$ref": "./examples/NetworkInterfaceTapConfigurationList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "NetworkInterfaceTapConfiguration": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/NetworkInterfaceTapConfigurationPropertiesFormat",
+ "description": "Properties of the Virtual Network Tap configuration."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Sub Resource type."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Tap configuration in a Network Interface."
+ },
+ "NetworkInterfaceTapConfigurationPropertiesFormat": {
+ "properties": {
+ "virtualNetworkTap": {
+ "$ref": "./virtualNetworkTap.json#/definitions/VirtualNetworkTap",
+ "description": "The reference of the Virtual Network Tap resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the network interface tap configuration resource."
+ }
+ },
+ "description": "Properties of Virtual Network Tap configuration."
+ },
+ "NetworkInterfaceIPConfigurationPropertiesFormat": {
+ "properties": {
+ "virtualNetworkTaps": {
+ "type": "array",
+ "items": {
+ "$ref": "./virtualNetworkTap.json#/definitions/VirtualNetworkTap"
+ },
+ "description": "The reference to Virtual Network Taps."
+ },
+ "applicationGatewayBackendAddressPools": {
+ "type": "array",
+ "items": {
+ "$ref": "./applicationGateway.json#/definitions/ApplicationGatewayBackendAddressPool"
+ },
+ "description": "The reference of ApplicationGatewayBackendAddressPool resource."
+ },
+ "loadBalancerBackendAddressPools": {
+ "type": "array",
+ "items": {
+ "$ref": "./loadBalancer.json#/definitions/BackendAddressPool"
+ },
+ "description": "The reference of LoadBalancerBackendAddressPool resource."
+ },
+ "loadBalancerInboundNatRules": {
+ "type": "array",
+ "items": {
+ "$ref": "./loadBalancer.json#/definitions/InboundNatRule"
+ },
+ "description": "A list of references of LoadBalancerInboundNatRules."
+ },
+ "privateIPAddress": {
+ "type": "string",
+ "description": "Private IP address of the IP configuration."
+ },
+ "privateIPAllocationMethod": {
+ "$ref": "./network.json#/definitions/IPAllocationMethod",
+ "description": "The private IP address allocation method."
+ },
+ "privateIPAddressVersion": {
+ "$ref": "./network.json#/definitions/IPVersion",
+ "description": "Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4."
+ },
+ "subnet": {
+ "$ref": "./virtualNetwork.json#/definitions/Subnet",
+ "description": "Subnet bound to the IP configuration."
+ },
+ "primary": {
+ "type": "boolean",
+ "description": "Whether this is a primary customer address on the network interface."
+ },
+ "publicIPAddress": {
+ "$ref": "./publicIpAddress.json#/definitions/PublicIPAddress",
+ "description": "Public IP address bound to the IP configuration."
+ },
+ "applicationSecurityGroups": {
+ "type": "array",
+ "items": {
+ "$ref": "./applicationSecurityGroup.json#/definitions/ApplicationSecurityGroup"
+ },
+ "description": "Application security groups in which the IP configuration is included."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the network interface IP configuration."
+ },
+ "privateLinkConnectionProperties": {
+ "$ref": "#/definitions/NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties",
+ "description": "PrivateLinkConnection properties for the network interface.",
+ "readOnly": true
+ }
+ },
+ "description": "Properties of IP configuration."
+ },
+ "NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties": {
+ "properties": {
+ "groupId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The group ID for current private link connection."
+ },
+ "requiredMemberName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The required member name for current private link connection."
+ },
+ "fqdns": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true,
+ "description": "List of FQDNs for current private link connection."
+ }
+ },
+ "description": "PrivateLinkConnection properties for the network interface."
+ },
+ "NetworkInterfaceIPConfiguration": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/NetworkInterfaceIPConfigurationPropertiesFormat",
+ "description": "Network interface IP configuration properties."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "IPConfiguration in a network interface."
+ },
+ "NetworkInterfaceDnsSettings": {
+ "properties": {
+ "dnsServers": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection."
+ },
+ "appliedDnsServers": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs."
+ },
+ "internalDnsNameLabel": {
+ "type": "string",
+ "description": "Relative DNS name for this NIC used for internal communications between VMs in the same virtual network."
+ },
+ "internalFqdn": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Fully qualified DNS name supporting internal communications between VMs in the same virtual network."
+ },
+ "internalDomainNameSuffix": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix."
+ }
+ },
+ "description": "DNS settings of a network interface."
+ },
+ "NetworkInterfacePropertiesFormat": {
+ "properties": {
+ "virtualMachine": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The reference of a virtual machine.",
+ "readOnly": true
+ },
+ "networkSecurityGroup": {
+ "$ref": "./networkSecurityGroup.json#/definitions/NetworkSecurityGroup",
+ "description": "The reference of the NetworkSecurityGroup resource."
+ },
+ "privateEndpoint": {
+ "readOnly": true,
+ "$ref": "./privateEndpoint.json#/definitions/PrivateEndpoint",
+ "description": "A reference to the private endpoint to which the network interface is linked."
+ },
+ "ipConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkInterfaceIPConfiguration"
+ },
+ "description": "A list of IPConfigurations of the network interface."
+ },
+ "tapConfigurations": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkInterfaceTapConfiguration"
+ },
+ "description": "A list of TapConfigurations of the network interface."
+ },
+ "dnsSettings": {
+ "$ref": "#/definitions/NetworkInterfaceDnsSettings",
+ "description": "The DNS settings in network interface."
+ },
+ "macAddress": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The MAC address of the network interface."
+ },
+ "primary": {
+ "readOnly": true,
+ "type": "boolean",
+ "description": "Whether this is a primary network interface on a virtual machine."
+ },
+ "enableAcceleratedNetworking": {
+ "type": "boolean",
+ "description": "If the network interface is accelerated networking enabled."
+ },
+ "enableIPForwarding": {
+ "type": "boolean",
+ "description": "Indicates whether IP forwarding is enabled on this network interface."
+ },
+ "hostedWorkloads": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true,
+ "description": "A list of references to linked BareMetal resources."
+ },
+ "resourceGuid": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource GUID property of the network interface resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the network interface resource."
+ }
+ },
+ "description": "NetworkInterface properties."
+ },
+ "NetworkInterface": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/NetworkInterfacePropertiesFormat",
+ "description": "Properties of the network interface."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "A network interface in a resource group."
+ },
+ "NetworkInterfaceListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkInterface"
+ },
+ "description": "A list of network interfaces in a resource group."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for the ListNetworkInterface API service call."
+ },
+ "NetworkInterfaceTapConfigurationListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkInterfaceTapConfiguration"
+ },
+ "description": "A list of tap configurations."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for list tap configurations API service call."
+ },
+ "NetworkInterfaceIPConfigurationListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkInterfaceIPConfiguration"
+ },
+ "description": "A list of ip configurations."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for list ip configurations API service call."
+ },
+ "NetworkInterfaceLoadBalancerListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "./loadBalancer.json#/definitions/LoadBalancer"
+ },
+ "description": "A list of load balancers."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for list ip configurations API service call."
+ },
+ "EffectiveNetworkSecurityGroup": {
+ "properties": {
+ "networkSecurityGroup": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The ID of network security group that is applied."
+ },
+ "association": {
+ "$ref": "#/definitions/EffectiveNetworkSecurityGroupAssociation",
+ "description": "Associated resources."
+ },
+ "effectiveSecurityRules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EffectiveNetworkSecurityRule"
+ },
+ "description": "A collection of effective security rules."
+ },
+ "tagMap": {
+ "type": "string",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "List of IP Addresses within the tag (key)."
+ },
+ "description": "Mapping of tags to list of IP Addresses included within the tag."
+ }
+ },
+ "description": "Effective network security group."
+ },
+ "EffectiveNetworkSecurityGroupAssociation": {
+ "properties": {
+ "subnet": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The ID of the subnet if assigned."
+ },
+ "networkInterface": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The ID of the network interface if assigned."
+ }
+ },
+ "description": "The effective network security group association."
+ },
+ "EffectiveNetworkSecurityRule": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the security rule specified by the user (if created by the user)."
+ },
+ "protocol": {
+ "type": "string",
+ "description": "The network protocol this rule applies to.",
+ "enum": [
+ "Tcp",
+ "Udp",
+ "All"
+ ],
+ "x-ms-enum": {
+ "name": "EffectiveSecurityRuleProtocol",
+ "modelAsString": true
+ }
+ },
+ "sourcePortRange": {
+ "type": "string",
+ "description": "The source port or range."
+ },
+ "destinationPortRange": {
+ "type": "string",
+ "description": "The destination port or range."
+ },
+ "sourcePortRanges": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The source port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*)."
+ },
+ "destinationPortRanges": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The destination port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*)."
+ },
+ "sourceAddressPrefix": {
+ "type": "string",
+ "description": "The source address prefix."
+ },
+ "destinationAddressPrefix": {
+ "type": "string",
+ "description": "The destination address prefix."
+ },
+ "sourceAddressPrefixes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*)."
+ },
+ "destinationAddressPrefixes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*)."
+ },
+ "expandedSourceAddressPrefix": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The expanded source address prefix."
+ },
+ "expandedDestinationAddressPrefix": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Expanded destination address prefix."
+ },
+ "access": {
+ "$ref": "./networkSecurityGroup.json#/definitions/SecurityRuleAccess",
+ "description": "Whether network traffic is allowed or denied."
+ },
+ "priority": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The priority of the rule."
+ },
+ "direction": {
+ "$ref": "./networkSecurityGroup.json#/definitions/SecurityRuleDirection",
+ "description": "The direction of the rule."
+ }
+ },
+ "description": "Effective network security rules."
+ },
+ "EffectiveNetworkSecurityGroupListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EffectiveNetworkSecurityGroup"
+ },
+ "description": "A list of effective network security groups."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for list effective network security groups API service call."
+ },
+ "EffectiveRoute": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the user defined route. This is optional."
+ },
+ "disableBgpRoutePropagation": {
+ "type": "boolean",
+ "description": "If true, on-premises routes are not propagated to the network interfaces in the subnet."
+ },
+ "source": {
+ "type": "string",
+ "description": "Who created the route.",
+ "enum": [
+ "Unknown",
+ "User",
+ "VirtualNetworkGateway",
+ "Default"
+ ],
+ "x-ms-enum": {
+ "name": "EffectiveRouteSource",
+ "modelAsString": true
+ }
+ },
+ "state": {
+ "type": "string",
+ "description": "The value of effective route.",
+ "enum": [
+ "Active",
+ "Invalid"
+ ],
+ "x-ms-enum": {
+ "name": "EffectiveRouteState",
+ "modelAsString": true
+ }
+ },
+ "addressPrefix": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The address prefixes of the effective routes in CIDR notation."
+ },
+ "nextHopIpAddress": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The IP address of the next hop of the effective route."
+ },
+ "nextHopType": {
+ "$ref": "./routeTable.json#/definitions/RouteNextHopType",
+ "description": "The type of Azure hop the packet should be sent to."
+ }
+ },
+ "description": "Effective Route."
+ },
+ "EffectiveRouteListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EffectiveRoute"
+ },
+ "description": "A list of effective routes."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for list effective route API service call."
+ },
+ "IPConfigurationPropertiesFormat": {
+ "properties": {
+ "privateIPAddress": {
+ "type": "string",
+ "description": "The private IP address of the IP configuration."
+ },
+ "privateIPAllocationMethod": {
+ "$ref": "./network.json#/definitions/IPAllocationMethod",
+ "description": "The private IP address allocation method."
+ },
+ "subnet": {
+ "$ref": "./virtualNetwork.json#/definitions/Subnet",
+ "description": "The reference of the subnet resource."
+ },
+ "publicIPAddress": {
+ "$ref": "./publicIpAddress.json#/definitions/PublicIPAddress",
+ "description": "The reference of the public IP resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the IP configuration resource."
+ }
+ },
+ "description": "Properties of IP configuration."
+ },
+ "IPConfiguration": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/IPConfigurationPropertiesFormat",
+ "description": "Properties of the IP configuration."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "IP configuration."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/networkProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/networkProfile.json
new file mode 100644
index 000000000000..031d8c6d7c22
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/networkProfile.json
@@ -0,0 +1,622 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}": {
+ "delete": {
+ "tags": [
+ "NetworkProfiles"
+ ],
+ "operationId": "NetworkProfiles_Delete",
+ "description": "Deletes the specified network profile.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "networkProfileName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the NetworkProfile."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete network profile": {
+ "$ref": "./examples/NetworkProfileDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "NetworkProfiles"
+ ],
+ "operationId": "NetworkProfiles_Get",
+ "description": "Gets the specified network profile in a specified resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "networkProfileName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the public IP prefix."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced resources."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting NetworkProfile resource.",
+ "schema": {
+ "$ref": "#/definitions/NetworkProfile"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get network profile": {
+ "$ref": "./examples/NetworkProfileGetConfigOnly.json"
+ },
+ "Get network profile with container network interfaces": {
+ "$ref": "./examples/NetworkProfileGetWithContainerNic.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "NetworkProfiles"
+ ],
+ "operationId": "NetworkProfiles_CreateOrUpdate",
+ "description": "Creates or updates a network profile.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "networkProfileName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network profile."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/NetworkProfile"
+ },
+ "description": "Parameters supplied to the create or update network profile operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting NetworkProfile resource.",
+ "schema": {
+ "$ref": "#/definitions/NetworkProfile"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting NetworkProfile resource.",
+ "schema": {
+ "$ref": "#/definitions/NetworkProfile"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create network profile defaults": {
+ "$ref": "./examples/NetworkProfileCreateConfigOnly.json"
+ }
+ },
+ "x-ms-long-running-operation": false
+ },
+ "patch": {
+ "tags": [
+ "NetworkProfiles"
+ ],
+ "operationId": "NetworkProfiles_UpdateTags",
+ "description": "Updates network profile tags.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "networkProfileName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network profile."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update network profile tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting NetworkProfile resource.",
+ "schema": {
+ "$ref": "#/definitions/NetworkProfile"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update network profile tags": {
+ "$ref": "./examples/NetworkProfileUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles": {
+ "get": {
+ "tags": [
+ "NetworkProfiles"
+ ],
+ "operationId": "NetworkProfiles_ListAll",
+ "description": "Gets all the network profiles in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of NetworkProfile resources.",
+ "schema": {
+ "$ref": "#/definitions/NetworkProfileListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all network profiles": {
+ "$ref": "./examples/NetworkProfileListAll.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles": {
+ "get": {
+ "tags": [
+ "NetworkProfiles"
+ ],
+ "operationId": "NetworkProfiles_List",
+ "description": "Gets all network profiles in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of NetworkProfile resources.",
+ "schema": {
+ "$ref": "#/definitions/NetworkProfileListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List resource group network profiles": {
+ "$ref": "./examples/NetworkProfileList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "NetworkProfilePropertiesFormat": {
+ "properties": {
+ "containerNetworkInterfaces": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ContainerNetworkInterface"
+ },
+ "description": "List of child container network interfaces."
+ },
+ "containerNetworkInterfaceConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ContainerNetworkInterfaceConfiguration"
+ },
+ "description": "List of chid container network interface configurations."
+ },
+ "resourceGuid": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource GUID property of the network profile resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the network profile resource."
+ }
+ },
+ "description": "Network profile properties."
+ },
+ "NetworkProfile": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/NetworkProfilePropertiesFormat",
+ "description": "Network profile properties."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Network profile resource."
+ },
+ "NetworkProfileListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkProfile"
+ },
+ "description": "A list of network profiles that exist in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListNetworkProfiles API service call."
+ },
+ "ContainerNetworkInterfacePropertiesFormat": {
+ "properties": {
+ "containerNetworkInterfaceConfiguration": {
+ "readOnly": true,
+ "$ref": "#/definitions/ContainerNetworkInterfaceConfiguration",
+ "description": "Container network interface configuration from which this container network interface is created."
+ },
+ "container": {
+ "$ref": "#/definitions/Container",
+ "description": "Reference to the container to which this container network interface is attached."
+ },
+ "ipConfigurations": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ContainerNetworkInterfaceIpConfiguration"
+ },
+ "description": "Reference to the ip configuration on this container nic."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the container network interface resource."
+ }
+ },
+ "description": "Properties of container network interface."
+ },
+ "ContainerNetworkInterface": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ContainerNetworkInterfacePropertiesFormat",
+ "description": "Container network interface properties."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource. This name can be used to access the resource."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Sub Resource type."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Container network interface child resource."
+ },
+ "ContainerNetworkInterfaceConfigurationPropertiesFormat": {
+ "properties": {
+ "ipConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IPConfigurationProfile"
+ },
+ "description": "A list of ip configurations of the container network interface configuration."
+ },
+ "containerNetworkInterfaces": {
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "A list of container network interfaces created from this container network interface configuration."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the container network interface configuration resource."
+ }
+ },
+ "description": "Container network interface configuration properties."
+ },
+ "ContainerNetworkInterfaceConfiguration": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ContainerNetworkInterfaceConfigurationPropertiesFormat",
+ "description": "Container network interface configuration properties."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource. This name can be used to access the resource."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Sub Resource type."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Container network interface configuration child resource."
+ },
+ "IPConfigurationProfilePropertiesFormat": {
+ "properties": {
+ "subnet": {
+ "$ref": "./virtualNetwork.json#/definitions/Subnet",
+ "description": "The reference of the subnet resource to create a container network interface ip configuration."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the IP configuration profile resource."
+ }
+ },
+ "description": "IP configuration profile properties."
+ },
+ "IPConfigurationProfile": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/IPConfigurationProfilePropertiesFormat",
+ "description": "Properties of the IP configuration profile."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource. This name can be used to access the resource."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Sub Resource type."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "IP configuration profile child resource."
+ },
+ "Container": {
+ "properties": {},
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Reference to container resource in remote resource provider."
+ },
+ "ContainerNetworkInterfaceIpConfigurationPropertiesFormat": {
+ "properties": {
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the container network interface IP configuration resource."
+ }
+ },
+ "description": "Properties of the container network interface IP configuration."
+ },
+ "ContainerNetworkInterfaceIpConfiguration": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ContainerNetworkInterfaceIpConfigurationPropertiesFormat",
+ "description": "Properties of the container network interface IP configuration."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource. This name can be used to access the resource."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Sub Resource type."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "description": "The ip configuration for a container network interface."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/networkSecurityGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/networkSecurityGroup.json
new file mode 100644
index 000000000000..98f7c6e6750b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/networkSecurityGroup.json
@@ -0,0 +1,974 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}": {
+ "delete": {
+ "tags": [
+ "NetworkSecurityGroups"
+ ],
+ "operationId": "NetworkSecurityGroups_Delete",
+ "description": "Deletes 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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete network security group": {
+ "$ref": "./examples/NetworkSecurityGroupDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "NetworkSecurityGroups"
+ ],
+ "operationId": "NetworkSecurityGroups_Get",
+ "description": "Gets 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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced resources."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting NetworkSecurityGroup resource.",
+ "schema": {
+ "$ref": "#/definitions/NetworkSecurityGroup"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get network security group": {
+ "$ref": "./examples/NetworkSecurityGroupGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "NetworkSecurityGroups"
+ ],
+ "operationId": "NetworkSecurityGroups_CreateOrUpdate",
+ "description": "Creates or updates a network security group in 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 or update network security group operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting NetworkSecurityGroup resource.",
+ "schema": {
+ "$ref": "#/definitions/NetworkSecurityGroup"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting NetworkSecurityGroup resource.",
+ "schema": {
+ "$ref": "#/definitions/NetworkSecurityGroup"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create network security group": {
+ "$ref": "./examples/NetworkSecurityGroupCreate.json"
+ },
+ "Create network security group with rule": {
+ "$ref": "./examples/NetworkSecurityGroupCreateWithRule.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "NetworkSecurityGroups"
+ ],
+ "operationId": "NetworkSecurityGroups_UpdateTags",
+ "description": "Updates a network security group tags.",
+ "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": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update network security group tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting NetworkSecurityGroup resource.",
+ "schema": {
+ "$ref": "#/definitions/NetworkSecurityGroup"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update network security group tags": {
+ "$ref": "./examples/NetworkSecurityGroupUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups": {
+ "get": {
+ "tags": [
+ "NetworkSecurityGroups"
+ ],
+ "operationId": "NetworkSecurityGroups_ListAll",
+ "description": "Gets all network security groups in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of NetworkSecurityGroup resources.",
+ "schema": {
+ "$ref": "#/definitions/NetworkSecurityGroupListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all network security groups": {
+ "$ref": "./examples/NetworkSecurityGroupListAll.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups": {
+ "get": {
+ "tags": [
+ "NetworkSecurityGroups"
+ ],
+ "operationId": "NetworkSecurityGroups_List",
+ "description": "Gets all network security groups in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of NetworkSecurityGroup resources.",
+ "schema": {
+ "$ref": "#/definitions/NetworkSecurityGroupListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List network security groups in resource group": {
+ "$ref": "./examples/NetworkSecurityGroupList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}": {
+ "delete": {
+ "tags": [
+ "SecurityRules"
+ ],
+ "operationId": "SecurityRules_Delete",
+ "description": "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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete network security rule from network security group": {
+ "$ref": "./examples/NetworkSecurityGroupRuleDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "SecurityRules"
+ ],
+ "operationId": "SecurityRules_Get",
+ "description": "Get 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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting SecurityRule resource.",
+ "schema": {
+ "$ref": "#/definitions/SecurityRule"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get network security rule in network security group": {
+ "$ref": "./examples/NetworkSecurityGroupRuleGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "SecurityRules"
+ ],
+ "operationId": "SecurityRules_CreateOrUpdate",
+ "description": "Creates or 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 or update network security rule operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting SecurityRule resource.",
+ "schema": {
+ "$ref": "#/definitions/SecurityRule"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting SecurityRule resource.",
+ "schema": {
+ "$ref": "#/definitions/SecurityRule"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create security rule": {
+ "$ref": "./examples/NetworkSecurityGroupRuleCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules": {
+ "get": {
+ "tags": [
+ "SecurityRules"
+ ],
+ "operationId": "SecurityRules_List",
+ "description": "Gets all 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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of SecurityRule resources.",
+ "schema": {
+ "$ref": "#/definitions/SecurityRuleListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List network security rules in network security group": {
+ "$ref": "./examples/NetworkSecurityGroupRuleList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules": {
+ "get": {
+ "tags": [
+ "SecurityRules"
+ ],
+ "operationId": "DefaultSecurityRules_List",
+ "description": "Gets all default 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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of SecurityRule resources.",
+ "schema": {
+ "$ref": "#/definitions/SecurityRuleListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DefaultSecurityRuleList": {
+ "$ref": "./examples/DefaultSecurityRuleList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}": {
+ "get": {
+ "tags": [
+ "SecurityRules"
+ ],
+ "operationId": "DefaultSecurityRules_Get",
+ "description": "Get the specified default 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": "defaultSecurityRuleName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the default security rule."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting SecurityRule resource.",
+ "schema": {
+ "$ref": "#/definitions/SecurityRule"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DefaultSecurityRuleGet": {
+ "$ref": "./examples/DefaultSecurityRuleGet.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "SecurityRulePropertiesFormat": {
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "A description for this rule. Restricted to 140 chars."
+ },
+ "protocol": {
+ "type": "string",
+ "description": "Network protocol this rule applies to.",
+ "enum": [
+ "Tcp",
+ "Udp",
+ "Icmp",
+ "Esp",
+ "*",
+ "Ah"
+ ],
+ "x-ms-enum": {
+ "name": "SecurityRuleProtocol",
+ "modelAsString": true
+ }
+ },
+ "sourcePortRange": {
+ "type": "string",
+ "description": "The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports."
+ },
+ "destinationPortRange": {
+ "type": "string",
+ "description": "The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports."
+ },
+ "sourceAddressPrefix": {
+ "type": "string",
+ "description": "The CIDR or source IP range. Asterisk '*' 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."
+ },
+ "sourceAddressPrefixes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The CIDR or source IP ranges."
+ },
+ "sourceApplicationSecurityGroups": {
+ "type": "array",
+ "items": {
+ "$ref": "./applicationSecurityGroup.json#/definitions/ApplicationSecurityGroup"
+ },
+ "description": "The application security group specified as source."
+ },
+ "destinationAddressPrefix": {
+ "type": "string",
+ "description": "The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used."
+ },
+ "destinationAddressPrefixes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The destination address prefixes. CIDR or destination IP ranges."
+ },
+ "destinationApplicationSecurityGroups": {
+ "type": "array",
+ "items": {
+ "$ref": "./applicationSecurityGroup.json#/definitions/ApplicationSecurityGroup"
+ },
+ "description": "The application security group specified as destination."
+ },
+ "sourcePortRanges": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "The source port."
+ },
+ "description": "The source port ranges."
+ },
+ "destinationPortRanges": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "The destination port."
+ },
+ "description": "The destination port ranges."
+ },
+ "access": {
+ "$ref": "#/definitions/SecurityRuleAccess",
+ "description": "The network traffic is allowed or denied."
+ },
+ "priority": {
+ "type": "integer",
+ "format": "int32",
+ "description": "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": {
+ "$ref": "#/definitions/SecurityRuleDirection",
+ "description": "The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the security rule resource."
+ }
+ },
+ "required": [
+ "protocol",
+ "access",
+ "direction"
+ ],
+ "description": "Security rule resource."
+ },
+ "SecurityRule": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SecurityRulePropertiesFormat",
+ "description": "Properties of the security rule."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Network security rule."
+ },
+ "SecurityRuleListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecurityRule"
+ },
+ "description": "The security rules in a network security group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group."
+ },
+ "NetworkSecurityGroupPropertiesFormat": {
+ "properties": {
+ "securityRules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecurityRule"
+ },
+ "description": "A collection of security rules of the network security group."
+ },
+ "defaultSecurityRules": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecurityRule"
+ },
+ "description": "The default security rules of network security group."
+ },
+ "networkInterfaces": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./networkInterface.json#/definitions/NetworkInterface"
+ },
+ "description": "A collection of references to network interfaces."
+ },
+ "subnets": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./virtualNetwork.json#/definitions/Subnet"
+ },
+ "description": "A collection of references to subnets."
+ },
+ "resourceGuid": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource GUID property of the network security group resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the network security group resource."
+ }
+ },
+ "description": "Network Security Group resource."
+ },
+ "NetworkSecurityGroup": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/NetworkSecurityGroupPropertiesFormat",
+ "description": "Properties of the network security group."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "NetworkSecurityGroup resource."
+ },
+ "NetworkSecurityGroupListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkSecurityGroup"
+ },
+ "description": "A list of NetworkSecurityGroup resources."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListNetworkSecurityGroups API service call."
+ },
+ "SecurityRuleAccess": {
+ "type": "string",
+ "description": "Whether network traffic is allowed or denied.",
+ "enum": [
+ "Allow",
+ "Deny"
+ ],
+ "x-ms-enum": {
+ "name": "SecurityRuleAccess",
+ "modelAsString": true
+ }
+ },
+ "SecurityRuleDirection": {
+ "type": "string",
+ "description": "The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.",
+ "enum": [
+ "Inbound",
+ "Outbound"
+ ],
+ "x-ms-enum": {
+ "name": "SecurityRuleDirection",
+ "modelAsString": true
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/networkWatcher.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/networkWatcher.json
new file mode 100644
index 000000000000..63f36df4ab82
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/networkWatcher.json
@@ -0,0 +1,3055 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}": {
+ "put": {
+ "tags": [
+ "NetworkWatchers"
+ ],
+ "operationId": "NetworkWatchers_CreateOrUpdate",
+ "description": "Creates or updates a network watcher in the specified resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/NetworkWatcher"
+ },
+ "description": "Parameters that define the network watcher resource."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting network watcher resource.",
+ "schema": {
+ "$ref": "#/definitions/NetworkWatcher"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting network watcher resource.",
+ "schema": {
+ "$ref": "#/definitions/NetworkWatcher"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create network watcher": {
+ "$ref": "./examples/NetworkWatcherCreate.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "NetworkWatchers"
+ ],
+ "operationId": "NetworkWatchers_Get",
+ "description": "Gets the specified network watcher by resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a network watcher resource.",
+ "schema": {
+ "$ref": "#/definitions/NetworkWatcher"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get network watcher": {
+ "$ref": "./examples/NetworkWatcherGet.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "NetworkWatchers"
+ ],
+ "operationId": "NetworkWatchers_Delete",
+ "description": "Deletes the specified network watcher resource.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete network watcher": {
+ "$ref": "./examples/NetworkWatcherDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "patch": {
+ "tags": [
+ "NetworkWatchers"
+ ],
+ "operationId": "NetworkWatchers_UpdateTags",
+ "description": "Updates a network watcher tags.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update network watcher tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting network watcher resource.",
+ "schema": {
+ "$ref": "#/definitions/NetworkWatcher"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update network watcher tags": {
+ "$ref": "./examples/NetworkWatcherUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers": {
+ "get": {
+ "tags": [
+ "NetworkWatchers"
+ ],
+ "operationId": "NetworkWatchers_List",
+ "description": "Gets all network watchers by resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of network watcher resources.",
+ "schema": {
+ "$ref": "#/definitions/NetworkWatcherListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "x-ms-examples": {
+ "List network watchers": {
+ "$ref": "./examples/NetworkWatcherList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers": {
+ "get": {
+ "tags": [
+ "NetworkWatchers"
+ ],
+ "operationId": "NetworkWatchers_ListAll",
+ "description": "Gets all network watchers by subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of network watcher resources.",
+ "schema": {
+ "$ref": "#/definitions/NetworkWatcherListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "x-ms-examples": {
+ "List all network watchers": {
+ "$ref": "./examples/NetworkWatcherListAll.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology": {
+ "post": {
+ "tags": [
+ "NetworkWatchers"
+ ],
+ "operationId": "NetworkWatchers_GetTopology",
+ "description": "Gets the current network topology by resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TopologyParameters"
+ },
+ "description": "Parameters that define the representation of topology."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the topology of resource group.",
+ "schema": {
+ "$ref": "#/definitions/Topology"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Topology": {
+ "$ref": "./examples/NetworkWatcherTopologyGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify": {
+ "post": {
+ "tags": [
+ "NetworkWatchers"
+ ],
+ "operationId": "NetworkWatchers_VerifyIPFlow",
+ "description": "Verify IP flow from the specified VM to a location given the currently configured NSG rules.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VerificationIPFlowParameters"
+ },
+ "description": "Parameters that define the IP flow to be verified."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the result of IP flow verification.",
+ "schema": {
+ "$ref": "#/definitions/VerificationIPFlowResult"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/VerificationIPFlowResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Ip flow verify": {
+ "$ref": "./examples/NetworkWatcherIpFlowVerify.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop": {
+ "post": {
+ "tags": [
+ "NetworkWatchers"
+ ],
+ "operationId": "NetworkWatchers_GetNextHop",
+ "description": "Gets the next hop from the specified VM.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/NextHopParameters"
+ },
+ "description": "Parameters that define the source and destination endpoint."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the next hop from the VM.",
+ "schema": {
+ "$ref": "#/definitions/NextHopResult"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/NextHopResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get next hop": {
+ "$ref": "./examples/NetworkWatcherNextHopGet.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView": {
+ "post": {
+ "tags": [
+ "NetworkWatchers"
+ ],
+ "operationId": "NetworkWatchers_GetVMSecurityRules",
+ "description": "Gets the configured and effective security group rules on the specified VM.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SecurityGroupViewParameters"
+ },
+ "description": "Parameters that define the VM to check security groups for."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns security group rules on the VM.",
+ "schema": {
+ "$ref": "#/definitions/SecurityGroupViewResult"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/SecurityGroupViewResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get security group view": {
+ "$ref": "./examples/NetworkWatcherSecurityGroupViewGet.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}": {
+ "put": {
+ "tags": [
+ "PacketCaptures"
+ ],
+ "operationId": "PacketCaptures_Create",
+ "description": "Create and start a packet capture on the specified VM.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher."
+ },
+ {
+ "name": "packetCaptureName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the packet capture session."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PacketCapture"
+ },
+ "description": "Parameters that define the create packet capture operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Request successful. The operation returns the resulting packet capture session.",
+ "schema": {
+ "$ref": "#/definitions/PacketCaptureResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create packet capture": {
+ "$ref": "./examples/NetworkWatcherPacketCaptureCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "get": {
+ "tags": [
+ "PacketCaptures"
+ ],
+ "operationId": "PacketCaptures_Get",
+ "description": "Gets a packet capture session by name.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher."
+ },
+ {
+ "name": "packetCaptureName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the packet capture session."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a packet capture session.",
+ "schema": {
+ "$ref": "#/definitions/PacketCaptureResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get packet capture": {
+ "$ref": "./examples/NetworkWatcherPacketCaptureGet.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "PacketCaptures"
+ ],
+ "operationId": "PacketCaptures_Delete",
+ "description": "Deletes the specified packet capture session.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher."
+ },
+ {
+ "name": "packetCaptureName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the packet capture session."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Delete successful."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete packet capture": {
+ "$ref": "./examples/NetworkWatcherPacketCaptureDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop": {
+ "post": {
+ "tags": [
+ "PacketCaptures"
+ ],
+ "operationId": "PacketCaptures_Stop",
+ "description": "Stops a specified packet capture session.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher."
+ },
+ {
+ "name": "packetCaptureName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the packet capture session."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation stops the packet capture session."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Stop packet capture": {
+ "$ref": "./examples/NetworkWatcherPacketCaptureStop.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus": {
+ "post": {
+ "tags": [
+ "PacketCaptures"
+ ],
+ "operationId": "PacketCaptures_GetStatus",
+ "description": "Query the status of a running packet capture session.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Network Watcher resource."
+ },
+ {
+ "name": "packetCaptureName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name given to the packet capture session."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful query of packet capture status.",
+ "schema": {
+ "$ref": "#/definitions/PacketCaptureQueryStatusResult"
+ }
+ },
+ "202": {
+ "description": "Accepted query status of packet capture.",
+ "schema": {
+ "$ref": "#/definitions/PacketCaptureQueryStatusResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Query packet capture status": {
+ "$ref": "./examples/NetworkWatcherPacketCaptureQueryStatus.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures": {
+ "get": {
+ "tags": [
+ "PacketCaptures"
+ ],
+ "operationId": "PacketCaptures_List",
+ "description": "Lists all packet capture sessions within the specified resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Network Watcher resource."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful packet capture enumeration request.",
+ "schema": {
+ "$ref": "#/definitions/PacketCaptureListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "x-ms-examples": {
+ "List packet captures": {
+ "$ref": "./examples/NetworkWatcherPacketCapturesList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot": {
+ "post": {
+ "tags": [
+ "NetworkWatchers"
+ ],
+ "operationId": "NetworkWatchers_GetTroubleshooting",
+ "description": "Initiate troubleshooting on a specified resource.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher resource."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TroubleshootingParameters"
+ },
+ "description": "Parameters that define the resource to troubleshoot."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful troubleshooting request.",
+ "schema": {
+ "$ref": "#/definitions/TroubleshootingResult"
+ }
+ },
+ "202": {
+ "description": "Accepted get troubleshooting request.",
+ "schema": {
+ "$ref": "#/definitions/TroubleshootingResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get troubleshooting": {
+ "$ref": "./examples/NetworkWatcherTroubleshootGet.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult": {
+ "post": {
+ "tags": [
+ "NetworkWatchers"
+ ],
+ "operationId": "NetworkWatchers_GetTroubleshootingResult",
+ "description": "Get the last completed troubleshooting result on a specified resource.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher resource."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/QueryTroubleshootingParameters"
+ },
+ "description": "Parameters that define the resource to query the troubleshooting result."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful get troubleshooting result request.",
+ "schema": {
+ "$ref": "#/definitions/TroubleshootingResult"
+ }
+ },
+ "202": {
+ "description": "Accepted get troubleshooting result request.",
+ "schema": {
+ "$ref": "#/definitions/TroubleshootingResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get troubleshoot result": {
+ "$ref": "./examples/NetworkWatcherTroubleshootResultQuery.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog": {
+ "post": {
+ "tags": [
+ "NetworkWatchers",
+ "TrafficAnalytics"
+ ],
+ "operationId": "NetworkWatchers_SetFlowLogConfiguration",
+ "description": "Configures flow log and traffic analytics (optional) on a specified resource.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher resource."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/FlowLogInformation"
+ },
+ "description": "Parameters that define the configuration of flow log."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful request for setting flow log and traffic analytics (optional) configuration.",
+ "schema": {
+ "$ref": "#/definitions/FlowLogInformation"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/FlowLogInformation"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Configure flow log": {
+ "$ref": "./examples/NetworkWatcherFlowLogConfigure.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus": {
+ "post": {
+ "tags": [
+ "NetworkWatchers",
+ "TrafficAnalytics"
+ ],
+ "operationId": "NetworkWatchers_GetFlowLogStatus",
+ "description": "Queries status of flow log and traffic analytics (optional) on a specified resource.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher resource."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/FlowLogStatusParameters"
+ },
+ "description": "Parameters that define a resource to query flow log and traffic analytics (optional) status."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful request for query flow log and traffic analytics (optional) status.",
+ "schema": {
+ "$ref": "#/definitions/FlowLogInformation"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/FlowLogInformation"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get flow log status": {
+ "$ref": "./examples/NetworkWatcherFlowLogStatusQuery.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck": {
+ "post": {
+ "tags": [
+ "NetworkWatchers"
+ ],
+ "operationId": "NetworkWatchers_CheckConnectivity",
+ "description": "Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher resource."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ConnectivityParameters"
+ },
+ "description": "Parameters that determine how the connectivity check will be performed."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful request for checking connectivity.",
+ "schema": {
+ "$ref": "#/definitions/ConnectivityInformation"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/ConnectivityInformation"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Check connectivity": {
+ "$ref": "./examples/NetworkWatcherConnectivityCheck.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport": {
+ "post": {
+ "tags": [
+ "NetworkWatchers"
+ ],
+ "operationId": "NetworkWatchers_GetAzureReachabilityReport",
+ "description": "Gets the relative latency score for internet service providers from a specified location to Azure regions.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher resource."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AzureReachabilityReportParameters"
+ },
+ "description": "Parameters that determine Azure reachability report configuration."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful request for Azure reachability report.",
+ "schema": {
+ "$ref": "#/definitions/AzureReachabilityReport"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/AzureReachabilityReport"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Azure Reachability Report": {
+ "$ref": "./examples/NetworkWatcherAzureReachabilityReportGet.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList": {
+ "post": {
+ "tags": [
+ "NetworkWatchers"
+ ],
+ "operationId": "NetworkWatchers_ListAvailableProviders",
+ "description": "Lists all available internet service providers for a specified Azure region.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher resource."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AvailableProvidersListParameters"
+ },
+ "description": "Parameters that scope the list of available providers."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful request for list of available providers.",
+ "schema": {
+ "$ref": "#/definitions/AvailableProvidersList"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/AvailableProvidersList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Available Providers List": {
+ "$ref": "./examples/NetworkWatcherAvailableProvidersListGet.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic": {
+ "post": {
+ "tags": [
+ "NetworkWatchers"
+ ],
+ "operationId": "NetworkWatchers_GetNetworkConfigurationDiagnostic",
+ "description": "Gets Network Configuration Diagnostic data to help customers understand and debug network behavior. It provides detailed information on what security rules were applied to a specified traffic flow and the result of evaluating these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "networkWatcherName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network watcher."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/NetworkConfigurationDiagnosticParameters"
+ },
+ "description": "Parameters to get network configuration diagnostic."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the result of network configuration diagnostic.",
+ "schema": {
+ "$ref": "#/definitions/NetworkConfigurationDiagnosticResponse"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/NetworkConfigurationDiagnosticResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Network configuration diagnostic": {
+ "$ref": "./examples/NetworkWatcherNetworkConfigurationDiagnostic.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ErrorResponse": {
+ "description": "The error object.",
+ "properties": {
+ "error": {
+ "title": "Error",
+ "$ref": "./network.json#/definitions/ErrorDetails",
+ "description": "The error details object."
+ }
+ }
+ },
+ "NetworkWatcher": {
+ "properties": {
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/NetworkWatcherPropertiesFormat",
+ "description": "Properties of the network watcher."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Network watcher in a resource group."
+ },
+ "NetworkWatcherPropertiesFormat": {
+ "properties": {
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the network watcher resource."
+ }
+ },
+ "description": "The network watcher properties."
+ },
+ "NetworkWatcherListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkWatcher"
+ },
+ "description": "List of network watcher resources."
+ }
+ },
+ "description": "Response for ListNetworkWatchers API service call."
+ },
+ "TopologyParameters": {
+ "properties": {
+ "targetResourceGroupName": {
+ "type": "string",
+ "description": "The name of the target resource group to perform topology on."
+ },
+ "targetVirtualNetwork": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The reference of the Virtual Network resource."
+ },
+ "targetSubnet": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The reference of the Subnet resource."
+ }
+ },
+ "description": "Parameters that define the representation of topology."
+ },
+ "Topology": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "GUID representing the operation id."
+ },
+ "createdDateTime": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The datetime when the topology was initially created for the resource group."
+ },
+ "lastModified": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The datetime when the topology was last modified."
+ },
+ "resources": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TopologyResource"
+ },
+ "description": "A list of topology resources."
+ }
+ },
+ "description": "Topology of the specified resource group."
+ },
+ "TopologyResource": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the resource."
+ },
+ "id": {
+ "type": "string",
+ "description": "ID of the resource."
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location."
+ },
+ "associations": {
+ "type": "array",
+ "description": "Holds the associations the resource has with other resources in the resource group.",
+ "items": {
+ "$ref": "#/definitions/TopologyAssociation"
+ }
+ }
+ },
+ "description": "The network resource topology information for the given resource group."
+ },
+ "TopologyAssociation": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is associated with the parent resource."
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "The ID of the resource that is associated with the parent resource."
+ },
+ "associationType": {
+ "type": "string",
+ "enum": [
+ "Associated",
+ "Contains"
+ ],
+ "x-ms-enum": {
+ "name": "AssociationType",
+ "modelAsString": true
+ },
+ "description": "The association type of the child resource to the parent resource."
+ }
+ },
+ "description": "Resources that have an association with the parent resource."
+ },
+ "VerificationIPFlowParameters": {
+ "description": "Parameters that define the IP flow to be verified.",
+ "required": [
+ "targetResourceId",
+ "direction",
+ "protocol",
+ "localPort",
+ "remotePort",
+ "localIPAddress",
+ "remoteIPAddress"
+ ],
+ "properties": {
+ "targetResourceId": {
+ "type": "string",
+ "description": "The ID of the target resource to perform next-hop on."
+ },
+ "direction": {
+ "$ref": "#/definitions/Direction",
+ "description": "The direction of the packet represented as a 5-tuple."
+ },
+ "protocol": {
+ "type": "string",
+ "enum": [
+ "TCP",
+ "UDP"
+ ],
+ "x-ms-enum": {
+ "name": "IpFlowProtocol",
+ "modelAsString": true
+ },
+ "description": "Protocol to be verified on."
+ },
+ "localPort": {
+ "type": "string",
+ "description": "The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction."
+ },
+ "remotePort": {
+ "type": "string",
+ "description": "The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction."
+ },
+ "localIPAddress": {
+ "type": "string",
+ "description": "The local IP address. Acceptable values are valid IPv4 addresses."
+ },
+ "remoteIPAddress": {
+ "type": "string",
+ "description": "The remote IP address. Acceptable values are valid IPv4 addresses."
+ },
+ "targetNicResourceId": {
+ "type": "string",
+ "description": "The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional)."
+ }
+ }
+ },
+ "VerificationIPFlowResult": {
+ "description": "Results of IP flow verification on the target resource.",
+ "properties": {
+ "access": {
+ "$ref": "./network.json#/definitions/Access",
+ "description": "Indicates whether the traffic is allowed or denied."
+ },
+ "ruleName": {
+ "type": "string",
+ "description": "Name of the rule. If input is not matched against any security rule, it is not displayed."
+ }
+ }
+ },
+ "NextHopParameters": {
+ "description": "Parameters that define the source and destination endpoint.",
+ "required": [
+ "targetResourceId",
+ "sourceIPAddress",
+ "destinationIPAddress"
+ ],
+ "properties": {
+ "targetResourceId": {
+ "type": "string",
+ "description": "The resource identifier of the target resource against which the action is to be performed."
+ },
+ "sourceIPAddress": {
+ "type": "string",
+ "description": "The source IP address."
+ },
+ "destinationIPAddress": {
+ "type": "string",
+ "description": "The destination IP address."
+ },
+ "targetNicResourceId": {
+ "type": "string",
+ "description": "The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional)."
+ }
+ }
+ },
+ "NextHopResult": {
+ "description": "The information about next hop from the specified VM.",
+ "properties": {
+ "nextHopType": {
+ "type": "string",
+ "enum": [
+ "Internet",
+ "VirtualAppliance",
+ "VirtualNetworkGateway",
+ "VnetLocal",
+ "HyperNetGateway",
+ "None"
+ ],
+ "x-ms-enum": {
+ "name": "NextHopType",
+ "modelAsString": true
+ },
+ "description": "Next hop type."
+ },
+ "nextHopIpAddress": {
+ "type": "string",
+ "description": "Next hop IP Address."
+ },
+ "routeTableId": {
+ "type": "string",
+ "description": "The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'."
+ }
+ }
+ },
+ "SecurityGroupViewParameters": {
+ "description": "Parameters that define the VM to check security groups for.",
+ "required": [
+ "targetResourceId"
+ ],
+ "properties": {
+ "targetResourceId": {
+ "type": "string",
+ "description": "ID of the target VM."
+ }
+ }
+ },
+ "SecurityGroupViewResult": {
+ "description": "The information about security rules applied to the specified VM.",
+ "properties": {
+ "networkInterfaces": {
+ "type": "array",
+ "description": "List of network interfaces on the specified VM.",
+ "items": {
+ "$ref": "#/definitions/SecurityGroupNetworkInterface"
+ }
+ }
+ }
+ },
+ "SecurityGroupNetworkInterface": {
+ "description": "Network interface and all its associated security rules.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "ID of the network interface."
+ },
+ "securityRuleAssociations": {
+ "$ref": "#/definitions/SecurityRuleAssociations",
+ "description": "All security rules associated with the network interface."
+ }
+ }
+ },
+ "SecurityRuleAssociations": {
+ "description": "All security rules associated with the network interface.",
+ "properties": {
+ "networkInterfaceAssociation": {
+ "$ref": "#/definitions/NetworkInterfaceAssociation",
+ "description": "Network interface and it's custom security rules."
+ },
+ "subnetAssociation": {
+ "$ref": "#/definitions/SubnetAssociation",
+ "description": "Subnet and it's custom security rules."
+ },
+ "defaultSecurityRules": {
+ "type": "array",
+ "items": {
+ "$ref": "./networkSecurityGroup.json#/definitions/SecurityRule"
+ },
+ "description": "Collection of default security rules of the network security group."
+ },
+ "effectiveSecurityRules": {
+ "type": "array",
+ "items": {
+ "$ref": "./networkInterface.json#/definitions/EffectiveNetworkSecurityRule"
+ },
+ "description": "Collection of effective security rules."
+ }
+ }
+ },
+ "NetworkInterfaceAssociation": {
+ "description": "Network interface and its custom security rules.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Network interface ID."
+ },
+ "securityRules": {
+ "type": "array",
+ "description": "Collection of custom security rules.",
+ "items": {
+ "$ref": "./networkSecurityGroup.json#/definitions/SecurityRule"
+ }
+ }
+ }
+ },
+ "SubnetAssociation": {
+ "description": "Subnet and it's custom security rules.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Subnet ID."
+ },
+ "securityRules": {
+ "type": "array",
+ "description": "Collection of custom security rules.",
+ "items": {
+ "$ref": "./networkSecurityGroup.json#/definitions/SecurityRule"
+ }
+ }
+ }
+ },
+ "PacketCapture": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PacketCaptureParameters",
+ "description": "Properties of the packet capture."
+ }
+ },
+ "required": [
+ "properties"
+ ],
+ "description": "Parameters that define the create packet capture operation."
+ },
+ "PacketCaptureParameters": {
+ "properties": {
+ "target": {
+ "type": "string",
+ "description": "The ID of the targeted resource, only VM is currently supported."
+ },
+ "bytesToCapturePerPacket": {
+ "type": "integer",
+ "default": 0,
+ "description": "Number of bytes captured per packet, the remaining bytes are truncated."
+ },
+ "totalBytesPerSession": {
+ "type": "integer",
+ "default": 1073741824,
+ "description": "Maximum size of the capture output."
+ },
+ "timeLimitInSeconds": {
+ "type": "integer",
+ "default": 18000,
+ "description": "Maximum duration of the capture session in seconds."
+ },
+ "storageLocation": {
+ "$ref": "#/definitions/PacketCaptureStorageLocation",
+ "description": "Describes the storage location for a packet capture session."
+ },
+ "filters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PacketCaptureFilter"
+ },
+ "description": "A list of packet capture filters."
+ }
+ },
+ "required": [
+ "target",
+ "storageLocation"
+ ],
+ "description": "Parameters that define the create packet capture operation."
+ },
+ "PacketCaptureStorageLocation": {
+ "properties": {
+ "storageId": {
+ "type": "string",
+ "description": "The ID of the storage account to save the packet capture session. Required if no local file path is provided."
+ },
+ "storagePath": {
+ "type": "string",
+ "description": "The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture."
+ },
+ "filePath": {
+ "type": "string",
+ "description": "A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional."
+ }
+ },
+ "description": "Describes the storage location for a packet capture session."
+ },
+ "PacketCaptureFilter": {
+ "properties": {
+ "protocol": {
+ "type": "string",
+ "enum": [
+ "TCP",
+ "UDP",
+ "Any"
+ ],
+ "x-ms-enum": {
+ "name": "PcProtocol",
+ "modelAsString": true
+ },
+ "default": "Any",
+ "description": "Protocol to be filtered on."
+ },
+ "localIPAddress": {
+ "type": "string",
+ "description": "Local IP Address to be filtered on. Notation: \"127.0.0.1\" for single address entry. \"127.0.0.1-127.0.0.255\" for range. \"127.0.0.1;127.0.0.5\"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null."
+ },
+ "remoteIPAddress": {
+ "type": "string",
+ "description": "Local IP Address to be filtered on. Notation: \"127.0.0.1\" for single address entry. \"127.0.0.1-127.0.0.255\" for range. \"127.0.0.1;127.0.0.5;\" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null."
+ },
+ "localPort": {
+ "type": "string",
+ "description": "Local port to be filtered on. Notation: \"80\" for single port entry.\"80-85\" for range. \"80;443;\" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null."
+ },
+ "remotePort": {
+ "type": "string",
+ "description": "Remote port to be filtered on. Notation: \"80\" for single port entry.\"80-85\" for range. \"80;443;\" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null."
+ }
+ },
+ "description": "Filter that is applied to packet capture request. Multiple filters can be applied."
+ },
+ "PacketCaptureListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PacketCaptureResult"
+ },
+ "description": "Information about packet capture sessions."
+ }
+ },
+ "description": "List of packet capture sessions."
+ },
+ "PacketCaptureResult": {
+ "properties": {
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the packet capture session."
+ },
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "ID of the packet capture operation."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PacketCaptureResultProperties",
+ "description": "Properties of the packet capture result."
+ }
+ },
+ "description": "Information about packet capture session."
+ },
+ "PacketCaptureResultProperties": {
+ "properties": {
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the packet capture session."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/PacketCaptureParameters"
+ }
+ ],
+ "description": "Describes the properties of a packet capture session."
+ },
+ "PacketCaptureQueryStatusResult": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the packet capture resource."
+ },
+ "id": {
+ "type": "string",
+ "description": "The ID of the packet capture resource."
+ },
+ "captureStartTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The start time of the packet capture session."
+ },
+ "packetCaptureStatus": {
+ "type": "string",
+ "enum": [
+ "NotStarted",
+ "Running",
+ "Stopped",
+ "Error",
+ "Unknown"
+ ],
+ "x-ms-enum": {
+ "name": "PcStatus",
+ "modelAsString": true
+ },
+ "description": "The status of the packet capture session."
+ },
+ "stopReason": {
+ "type": "string",
+ "description": "The reason the current packet capture session was stopped."
+ },
+ "packetCaptureError": {
+ "type": "array",
+ "description": "List of errors of packet capture session.",
+ "items": {
+ "type": "string",
+ "enum": [
+ "InternalError",
+ "AgentStopped",
+ "CaptureFailed",
+ "LocalFileFailed",
+ "StorageFailed"
+ ],
+ "x-ms-enum": {
+ "name": "PcError",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "description": "Status of packet capture session."
+ },
+ "TroubleshootingParameters": {
+ "description": "Parameters that define the resource to troubleshoot.",
+ "required": [
+ "targetResourceId",
+ "properties"
+ ],
+ "properties": {
+ "targetResourceId": {
+ "description": "The target resource to troubleshoot.",
+ "type": "string"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/TroubleshootingProperties",
+ "description": "Properties of the troubleshooting resource."
+ }
+ }
+ },
+ "QueryTroubleshootingParameters": {
+ "description": "Parameters that define the resource to query the troubleshooting result.",
+ "required": [
+ "targetResourceId"
+ ],
+ "properties": {
+ "targetResourceId": {
+ "description": "The target resource ID to query the troubleshooting result.",
+ "type": "string"
+ }
+ }
+ },
+ "TroubleshootingProperties": {
+ "description": "Storage location provided for troubleshoot.",
+ "required": [
+ "storageId",
+ "storagePath"
+ ],
+ "properties": {
+ "storageId": {
+ "description": "The ID for the storage account to save the troubleshoot result.",
+ "type": "string"
+ },
+ "storagePath": {
+ "description": "The path to the blob to save the troubleshoot result in.",
+ "type": "string"
+ }
+ }
+ },
+ "TroubleshootingResult": {
+ "description": "Troubleshooting information gained from specified resource.",
+ "properties": {
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The start time of the troubleshooting."
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The end time of the troubleshooting."
+ },
+ "code": {
+ "type": "string",
+ "description": "The result code of the troubleshooting."
+ },
+ "results": {
+ "type": "array",
+ "description": "Information from troubleshooting.",
+ "items": {
+ "$ref": "#/definitions/TroubleshootingDetails"
+ }
+ }
+ }
+ },
+ "TroubleshootingDetails": {
+ "description": "Information gained from troubleshooting of specified resource.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The id of the get troubleshoot operation."
+ },
+ "reasonType": {
+ "type": "string",
+ "description": "Reason type of failure."
+ },
+ "summary": {
+ "type": "string",
+ "description": "A summary of troubleshooting."
+ },
+ "detail": {
+ "type": "string",
+ "description": "Details on troubleshooting results."
+ },
+ "recommendedActions": {
+ "type": "array",
+ "description": "List of recommended actions.",
+ "items": {
+ "$ref": "#/definitions/TroubleshootingRecommendedActions"
+ }
+ }
+ }
+ },
+ "TroubleshootingRecommendedActions": {
+ "description": "Recommended actions based on discovered issues.",
+ "properties": {
+ "actionId": {
+ "description": "ID of the recommended action.",
+ "type": "string"
+ },
+ "actionText": {
+ "description": "Description of recommended actions.",
+ "type": "string"
+ },
+ "actionUri": {
+ "description": "The uri linking to a documentation for the recommended troubleshooting actions.",
+ "type": "string"
+ },
+ "actionUriText": {
+ "description": "The information from the URI for the recommended troubleshooting actions.",
+ "type": "string"
+ }
+ }
+ },
+ "FlowLogProperties": {
+ "description": "Parameters that define the configuration of flow log.",
+ "required": [
+ "storageId",
+ "enabled"
+ ],
+ "properties": {
+ "storageId": {
+ "description": "ID of the storage account which is used to store the flow log.",
+ "type": "string"
+ },
+ "enabled": {
+ "description": "Flag to enable/disable flow logging.",
+ "type": "boolean"
+ },
+ "retentionPolicy": {
+ "$ref": "#/definitions/RetentionPolicyParameters",
+ "description": "Parameters that define the retention policy for flow log."
+ },
+ "format": {
+ "$ref": "#/definitions/FlowLogFormatParameters",
+ "description": "Parameters that define the flow log format."
+ }
+ }
+ },
+ "FlowLogStatusParameters": {
+ "description": "Parameters that define a resource to query flow log and traffic analytics (optional) status.",
+ "required": [
+ "targetResourceId"
+ ],
+ "properties": {
+ "targetResourceId": {
+ "description": "The target resource where getting the flow log and traffic analytics (optional) status.",
+ "type": "string"
+ }
+ }
+ },
+ "RetentionPolicyParameters": {
+ "description": "Parameters that define the retention policy for flow log.",
+ "properties": {
+ "days": {
+ "description": "Number of days to retain flow log records.",
+ "type": "integer",
+ "default": 0
+ },
+ "enabled": {
+ "description": "Flag to enable/disable retention.",
+ "type": "boolean",
+ "default": false
+ }
+ }
+ },
+ "FlowLogFormatParameters": {
+ "description": "Parameters that define the flow log format.",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The file type of flow log.",
+ "enum": [
+ "JSON"
+ ],
+ "x-ms-enum": {
+ "name": "FlowLogFormatType",
+ "modelAsString": true
+ }
+ },
+ "version": {
+ "description": "The version (revision) of the flow log.",
+ "type": "integer",
+ "default": 0
+ }
+ }
+ },
+ "FlowLogInformation": {
+ "description": "Information on the configuration of flow log and traffic analytics (optional) .",
+ "required": [
+ "targetResourceId",
+ "properties"
+ ],
+ "properties": {
+ "targetResourceId": {
+ "description": "The ID of the resource to configure for flow log and traffic analytics (optional) .",
+ "type": "string"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/FlowLogProperties",
+ "description": "Properties of the flow log."
+ },
+ "flowAnalyticsConfiguration": {
+ "$ref": "#/definitions/TrafficAnalyticsProperties",
+ "description": "Parameters that define the configuration of traffic analytics."
+ }
+ }
+ },
+ "TrafficAnalyticsProperties": {
+ "description": "Parameters that define the configuration of traffic analytics.",
+ "required": [
+ "networkWatcherFlowAnalyticsConfiguration"
+ ],
+ "properties": {
+ "networkWatcherFlowAnalyticsConfiguration": {
+ "$ref": "#/definitions/TrafficAnalyticsConfigurationProperties",
+ "description": "Parameters that define the configuration of traffic analytics."
+ }
+ }
+ },
+ "TrafficAnalyticsConfigurationProperties": {
+ "description": "Parameters that define the configuration of traffic analytics.",
+ "required": [
+ "enabled"
+ ],
+ "properties": {
+ "enabled": {
+ "description": "Flag to enable/disable traffic analytics.",
+ "type": "boolean"
+ },
+ "workspaceId": {
+ "description": "The resource guid of the attached workspace.",
+ "type": "string"
+ },
+ "workspaceRegion": {
+ "description": "The location of the attached workspace.",
+ "type": "string"
+ },
+ "workspaceResourceId": {
+ "description": "Resource Id of the attached workspace.",
+ "type": "string"
+ },
+ "trafficAnalyticsInterval": {
+ "description": "The interval in minutes which would decide how frequently TA service should do flow analytics.",
+ "type": "integer"
+ }
+ }
+ },
+ "ConnectivityParameters": {
+ "description": "Parameters that determine how the connectivity check will be performed.",
+ "required": [
+ "source",
+ "destination"
+ ],
+ "properties": {
+ "source": {
+ "$ref": "#/definitions/ConnectivitySource",
+ "description": "Describes the source of the connection."
+ },
+ "destination": {
+ "$ref": "#/definitions/ConnectivityDestination",
+ "description": "Describes the destination of connection."
+ },
+ "protocol": {
+ "type": "string",
+ "description": "Network protocol.",
+ "enum": [
+ "Tcp",
+ "Http",
+ "Https",
+ "Icmp"
+ ],
+ "x-ms-enum": {
+ "name": "Protocol",
+ "modelAsString": true
+ }
+ },
+ "protocolConfiguration": {
+ "$ref": "#/definitions/ProtocolConfiguration",
+ "description": "Configuration of the protocol."
+ }
+ }
+ },
+ "ConnectivitySource": {
+ "description": "Parameters that define the source of the connection.",
+ "required": [
+ "resourceId"
+ ],
+ "properties": {
+ "resourceId": {
+ "description": "The ID of the resource from which a connectivity check will be initiated.",
+ "type": "string"
+ },
+ "port": {
+ "description": "The source port from which a connectivity check will be performed.",
+ "type": "integer"
+ }
+ }
+ },
+ "ConnectivityDestination": {
+ "description": "Parameters that define destination of connection.",
+ "properties": {
+ "resourceId": {
+ "description": "The ID of the resource to which a connection attempt will be made.",
+ "type": "string"
+ },
+ "address": {
+ "description": "The IP address or URI the resource to which a connection attempt will be made.",
+ "type": "string"
+ },
+ "port": {
+ "description": "Port on which check connectivity will be performed.",
+ "type": "integer"
+ }
+ }
+ },
+ "ConnectivityInformation": {
+ "description": "Information on the connectivity status.",
+ "properties": {
+ "hops": {
+ "readOnly": true,
+ "type": "array",
+ "description": "List of hops between the source and the destination.",
+ "items": {
+ "$ref": "#/definitions/ConnectivityHop"
+ }
+ },
+ "connectionStatus": {
+ "readOnly": true,
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Connected",
+ "Disconnected",
+ "Degraded"
+ ],
+ "x-ms-enum": {
+ "name": "ConnectionStatus",
+ "modelAsString": true
+ },
+ "description": "The connection status."
+ },
+ "avgLatencyInMs": {
+ "description": "Average latency in milliseconds.",
+ "readOnly": true,
+ "type": "integer"
+ },
+ "minLatencyInMs": {
+ "description": "Minimum latency in milliseconds.",
+ "readOnly": true,
+ "type": "integer"
+ },
+ "maxLatencyInMs": {
+ "description": "Maximum latency in milliseconds.",
+ "readOnly": true,
+ "type": "integer"
+ },
+ "probesSent": {
+ "description": "Total number of probes sent.",
+ "readOnly": true,
+ "type": "integer"
+ },
+ "probesFailed": {
+ "description": "Number of failed probes.",
+ "readOnly": true,
+ "type": "integer"
+ }
+ }
+ },
+ "ConnectivityHop": {
+ "description": "Information about a hop between the source and the destination.",
+ "properties": {
+ "type": {
+ "description": "The type of the hop.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "id": {
+ "description": "The ID of the hop.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "address": {
+ "description": "The IP address of the hop.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "resourceId": {
+ "description": "The ID of the resource corresponding to this hop.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "nextHopIds": {
+ "readOnly": true,
+ "type": "array",
+ "description": "List of next hop identifiers.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "issues": {
+ "readOnly": true,
+ "type": "array",
+ "description": "List of issues.",
+ "items": {
+ "$ref": "#/definitions/ConnectivityIssue"
+ }
+ }
+ }
+ },
+ "ConnectivityIssue": {
+ "description": "Information about an issue encountered in the process of checking for connectivity.",
+ "properties": {
+ "origin": {
+ "readOnly": true,
+ "type": "string",
+ "enum": [
+ "Local",
+ "Inbound",
+ "Outbound"
+ ],
+ "x-ms-enum": {
+ "name": "Origin",
+ "modelAsString": true
+ },
+ "description": "The origin of the issue."
+ },
+ "severity": {
+ "readOnly": true,
+ "type": "string",
+ "enum": [
+ "Error",
+ "Warning"
+ ],
+ "x-ms-enum": {
+ "name": "Severity",
+ "modelAsString": true
+ },
+ "description": "The severity of the issue."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "AgentStopped",
+ "GuestFirewall",
+ "DnsResolution",
+ "SocketBind",
+ "NetworkSecurityRule",
+ "UserDefinedRoute",
+ "PortThrottled",
+ "Platform"
+ ],
+ "x-ms-enum": {
+ "name": "IssueType",
+ "modelAsString": true
+ },
+ "description": "The type of issue."
+ },
+ "context": {
+ "readOnly": true,
+ "type": "array",
+ "description": "Provides additional context on the issue.",
+ "items": {
+ "$ref": "#/definitions/IssueContext"
+ }
+ }
+ }
+ },
+ "IssueContext": {
+ "description": "A key-value pair that provides additional context on the issue.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "ProtocolConfiguration": {
+ "description": "Configuration of the protocol.",
+ "properties": {
+ "HTTPConfiguration": {
+ "$ref": "#/definitions/HTTPConfiguration",
+ "description": "HTTP configuration of the connectivity check."
+ }
+ }
+ },
+ "HTTPConfiguration": {
+ "properties": {
+ "method": {
+ "type": "string",
+ "description": "HTTP method.",
+ "enum": [
+ "Get"
+ ],
+ "x-ms-enum": {
+ "name": "HTTPMethod",
+ "modelAsString": true
+ }
+ },
+ "headers": {
+ "type": "array",
+ "description": "List of HTTP headers.",
+ "items": {
+ "$ref": "#/definitions/HTTPHeader"
+ }
+ },
+ "validStatusCodes": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ },
+ "description": "Valid status codes."
+ }
+ },
+ "description": "HTTP configuration of the connectivity check."
+ },
+ "HTTPHeader": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name in HTTP header."
+ },
+ "value": {
+ "type": "string",
+ "description": "The value in HTTP header."
+ }
+ },
+ "description": "Describes the HTTP header."
+ },
+ "AzureReachabilityReportParameters": {
+ "properties": {
+ "providerLocation": {
+ "$ref": "#/definitions/AzureReachabilityReportLocation",
+ "description": "Parameters that define a geographic location."
+ },
+ "providers": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "List of Internet service providers."
+ },
+ "azureLocations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Optional Azure regions to scope the query to."
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The start time for the Azure reachability report."
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The end time for the Azure reachability report."
+ }
+ },
+ "required": [
+ "providerLocation",
+ "startTime",
+ "endTime"
+ ],
+ "description": "Geographic and time constraints for Azure reachability report."
+ },
+ "AzureReachabilityReportLocation": {
+ "properties": {
+ "country": {
+ "type": "string",
+ "description": "The name of the country."
+ },
+ "state": {
+ "type": "string",
+ "description": "The name of the state."
+ },
+ "city": {
+ "type": "string",
+ "description": "The name of the city or town."
+ }
+ },
+ "required": [
+ "country"
+ ],
+ "description": "Parameters that define a geographic location."
+ },
+ "AzureReachabilityReport": {
+ "properties": {
+ "aggregationLevel": {
+ "type": "string",
+ "description": "The aggregation level of Azure reachability report. Can be Country, State or City."
+ },
+ "providerLocation": {
+ "$ref": "#/definitions/AzureReachabilityReportLocation",
+ "description": "Parameters that define a geographic location."
+ },
+ "reachabilityReport": {
+ "type": "array",
+ "description": "List of Azure reachability report items.",
+ "items": {
+ "$ref": "#/definitions/AzureReachabilityReportItem"
+ }
+ }
+ },
+ "required": [
+ "aggregationLevel",
+ "providerLocation",
+ "reachabilityReport"
+ ],
+ "description": "Azure reachability report details."
+ },
+ "AzureReachabilityReportItem": {
+ "properties": {
+ "provider": {
+ "type": "string",
+ "description": "The Internet service provider."
+ },
+ "azureLocation": {
+ "type": "string",
+ "description": "The Azure region."
+ },
+ "latencies": {
+ "type": "array",
+ "description": "List of latency details for each of the time series.",
+ "items": {
+ "$ref": "#/definitions/AzureReachabilityReportLatencyInfo"
+ }
+ }
+ },
+ "description": "Azure reachability report details for a given provider location."
+ },
+ "AzureReachabilityReportLatencyInfo": {
+ "properties": {
+ "timeStamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The time stamp."
+ },
+ "score": {
+ "type": "integer",
+ "description": "The relative latency score between 1 and 100, higher values indicating a faster connection.",
+ "minimum": 1,
+ "maximum": 100
+ }
+ },
+ "description": "Details on latency for a time series."
+ },
+ "AvailableProvidersListParameters": {
+ "properties": {
+ "azureLocations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of Azure regions."
+ },
+ "country": {
+ "type": "string",
+ "description": "The country for available providers list."
+ },
+ "state": {
+ "type": "string",
+ "description": "The state for available providers list."
+ },
+ "city": {
+ "type": "string",
+ "description": "The city or town for available providers list."
+ }
+ },
+ "description": "Constraints that determine the list of available Internet service providers."
+ },
+ "AvailableProvidersList": {
+ "properties": {
+ "countries": {
+ "type": "array",
+ "description": "List of available countries.",
+ "items": {
+ "$ref": "#/definitions/AvailableProvidersListCountry"
+ }
+ }
+ },
+ "required": [
+ "countries"
+ ],
+ "description": "List of available countries with details."
+ },
+ "AvailableProvidersListCountry": {
+ "properties": {
+ "countryName": {
+ "type": "string",
+ "description": "The country name."
+ },
+ "providers": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of Internet service providers."
+ },
+ "states": {
+ "type": "array",
+ "description": "List of available states in the country.",
+ "items": {
+ "$ref": "#/definitions/AvailableProvidersListState"
+ }
+ }
+ },
+ "description": "Country details."
+ },
+ "AvailableProvidersListState": {
+ "properties": {
+ "stateName": {
+ "type": "string",
+ "description": "The state name."
+ },
+ "providers": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of Internet service providers."
+ },
+ "cities": {
+ "type": "array",
+ "description": "List of available cities or towns in the state.",
+ "items": {
+ "$ref": "#/definitions/AvailableProvidersListCity"
+ }
+ }
+ },
+ "description": "State details."
+ },
+ "AvailableProvidersListCity": {
+ "properties": {
+ "cityName": {
+ "type": "string",
+ "description": "The city or town name."
+ },
+ "providers": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of Internet service providers."
+ }
+ },
+ "description": "City or town details."
+ },
+ "NetworkConfigurationDiagnosticParameters": {
+ "description": "Parameters to get network configuration diagnostic.",
+ "required": [
+ "targetResourceId",
+ "profiles"
+ ],
+ "properties": {
+ "targetResourceId": {
+ "type": "string",
+ "description": "The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway."
+ },
+ "verbosityLevel": {
+ "type": "string",
+ "enum": [
+ "Normal",
+ "Minimum",
+ "Full"
+ ],
+ "x-ms-enum": {
+ "name": "VerbosityLevel",
+ "modelAsString": true
+ },
+ "description": "Verbosity level."
+ },
+ "profiles": {
+ "type": "array",
+ "description": "List of network configuration diagnostic profiles.",
+ "items": {
+ "$ref": "#/definitions/NetworkConfigurationDiagnosticProfile"
+ }
+ }
+ }
+ },
+ "NetworkConfigurationDiagnosticProfile": {
+ "description": "Parameters to compare with network configuration.",
+ "required": [
+ "direction",
+ "protocol",
+ "source",
+ "destination",
+ "destinationPort"
+ ],
+ "properties": {
+ "direction": {
+ "$ref": "#/definitions/Direction",
+ "description": "The direction of the traffic."
+ },
+ "protocol": {
+ "type": "string",
+ "description": "Protocol to be verified on. Accepted values are '*', TCP, UDP."
+ },
+ "source": {
+ "type": "string",
+ "description": "Traffic source. Accepted values are '*', IP Address/CIDR, Service Tag."
+ },
+ "destination": {
+ "type": "string",
+ "description": "Traffic destination. Accepted values are: '*', IP Address/CIDR, Service Tag."
+ },
+ "destinationPort": {
+ "type": "string",
+ "description": "Traffic destination port. Accepted values are '*' and a single port in the range (0 - 65535)."
+ }
+ }
+ },
+ "NetworkConfigurationDiagnosticResponse": {
+ "description": "Results of network configuration diagnostic on the target resource.",
+ "properties": {
+ "results": {
+ "readOnly": true,
+ "type": "array",
+ "description": "List of network configuration diagnostic results.",
+ "items": {
+ "$ref": "#/definitions/NetworkConfigurationDiagnosticResult"
+ }
+ }
+ }
+ },
+ "NetworkConfigurationDiagnosticResult": {
+ "description": "Network configuration diagnostic result corresponded to provided traffic query.",
+ "properties": {
+ "profile": {
+ "$ref": "#/definitions/NetworkConfigurationDiagnosticProfile",
+ "description": "Network configuration diagnostic profile."
+ },
+ "networkSecurityGroupResult": {
+ "$ref": "#/definitions/NetworkSecurityGroupResult",
+ "description": "Network security group result."
+ }
+ }
+ },
+ "NetworkSecurityGroupResult": {
+ "description": "Network configuration diagnostic result corresponded provided traffic query.",
+ "properties": {
+ "securityRuleAccessResult": {
+ "$ref": "./networkSecurityGroup.json#/definitions/SecurityRuleAccess",
+ "description": "The network traffic is allowed or denied."
+ },
+ "evaluatedNetworkSecurityGroups": {
+ "readOnly": true,
+ "type": "array",
+ "description": "List of results network security groups diagnostic.",
+ "items": {
+ "$ref": "#/definitions/EvaluatedNetworkSecurityGroup"
+ }
+ }
+ }
+ },
+ "EvaluatedNetworkSecurityGroup": {
+ "description": "Results of network security group evaluation.",
+ "properties": {
+ "networkSecurityGroupId": {
+ "type": "string",
+ "description": "Network security group ID."
+ },
+ "appliedTo": {
+ "type": "string",
+ "description": "Resource ID of nic or subnet to which network security group is applied."
+ },
+ "matchedRule": {
+ "$ref": "#/definitions/MatchedRule",
+ "description": "Matched network security rule."
+ },
+ "rulesEvaluationResult": {
+ "readOnly": true,
+ "type": "array",
+ "description": "List of network security rules evaluation results.",
+ "items": {
+ "$ref": "#/definitions/NetworkSecurityRulesEvaluationResult"
+ }
+ }
+ }
+ },
+ "MatchedRule": {
+ "description": "Matched rule.",
+ "properties": {
+ "ruleName": {
+ "type": "string",
+ "description": "Name of the matched network security rule."
+ },
+ "action": {
+ "type": "string",
+ "description": "The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'."
+ }
+ }
+ },
+ "NetworkSecurityRulesEvaluationResult": {
+ "description": "Network security rules evaluation result.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the network security rule."
+ },
+ "protocolMatched": {
+ "type": "boolean",
+ "description": "Value indicating whether protocol is matched."
+ },
+ "sourceMatched": {
+ "type": "boolean",
+ "description": "Value indicating whether source is matched."
+ },
+ "sourcePortMatched": {
+ "type": "boolean",
+ "description": "Value indicating whether source port is matched."
+ },
+ "destinationMatched": {
+ "type": "boolean",
+ "description": "Value indicating whether destination is matched."
+ },
+ "destinationPortMatched": {
+ "type": "boolean",
+ "description": "Value indicating whether destination port is matched."
+ }
+ }
+ },
+ "Direction": {
+ "type": "string",
+ "description": "The direction of the traffic.",
+ "enum": [
+ "Inbound",
+ "Outbound"
+ ],
+ "x-ms-enum": {
+ "name": "Direction",
+ "modelAsString": true
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/operation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/operation.json
new file mode 100644
index 000000000000..c219a37f1d0a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/operation.json
@@ -0,0 +1,271 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.Network/operations": {
+ "get": {
+ "operationId": "Operations_List",
+ "description": "Lists all of the available Network Rest API operations.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Get a list of operations for a resource provider": {
+ "$ref": "./examples/OperationList.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "OperationListResult": {
+ "description": "Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of Network operations supported by the Network resource provider."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of operation list results if there are any."
+ }
+ }
+ },
+ "Operation": {
+ "description": "Network REST API operation definition.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}.",
+ "type": "string"
+ },
+ "display": {
+ "description": "Display metadata associated with the operation.",
+ "properties": {
+ "provider": {
+ "description": "Service provider: Microsoft Network.",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "Type of the operation: get, read, delete, etc.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "origin": {
+ "description": "Origin of the operation.",
+ "type": "string"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/OperationPropertiesFormat",
+ "description": "Operation properties format."
+ }
+ }
+ },
+ "OperationPropertiesFormat": {
+ "description": "Description of operation properties format.",
+ "properties": {
+ "serviceSpecification": {
+ "description": "Specification of the service.",
+ "properties": {
+ "metricSpecifications": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetricSpecification"
+ },
+ "description": "Operation service specification."
+ },
+ "logSpecifications": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LogSpecification"
+ },
+ "description": "Operation log specification."
+ }
+ }
+ }
+ }
+ },
+ "LogSpecification": {
+ "description": "Description of logging specification.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the specification."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The display name of the specification."
+ },
+ "blobDuration": {
+ "type": "string",
+ "description": "Duration of the blob."
+ }
+ }
+ },
+ "MetricSpecification": {
+ "description": "Description of metrics specification.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the metric."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The display name of the metric."
+ },
+ "displayDescription": {
+ "type": "string",
+ "description": "The description of the metric."
+ },
+ "unit": {
+ "type": "string",
+ "description": "Units the metric to be displayed in."
+ },
+ "aggregationType": {
+ "type": "string",
+ "description": "The aggregation type."
+ },
+ "availabilities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Availability"
+ },
+ "description": "List of availability."
+ },
+ "enableRegionalMdmAccount": {
+ "type": "boolean",
+ "description": "Whether regional MDM account enabled."
+ },
+ "fillGapWithZero": {
+ "type": "boolean",
+ "description": "Whether gaps would be filled with zeros."
+ },
+ "metricFilterPattern": {
+ "type": "string",
+ "description": "Pattern for the filter of the metric."
+ },
+ "dimensions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Dimension"
+ },
+ "description": "List of dimensions."
+ },
+ "isInternal": {
+ "type": "boolean",
+ "description": "Whether the metric is internal."
+ },
+ "sourceMdmAccount": {
+ "type": "string",
+ "description": "The source MDM account."
+ },
+ "sourceMdmNamespace": {
+ "type": "string",
+ "description": "The source MDM namespace."
+ },
+ "resourceIdDimensionNameOverride": {
+ "type": "string",
+ "description": "The resource Id dimension name override."
+ }
+ }
+ },
+ "Dimension": {
+ "description": "Dimension of the metric.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the dimension."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The display name of the dimension."
+ },
+ "internalName": {
+ "type": "string",
+ "description": "The internal name of the dimension."
+ }
+ }
+ },
+ "Availability": {
+ "description": "Availability of the metric.",
+ "properties": {
+ "timeGrain": {
+ "type": "string",
+ "description": "The time grain of the availability."
+ },
+ "retention": {
+ "type": "string",
+ "description": "The retention of the availability."
+ },
+ "blobDuration": {
+ "type": "string",
+ "description": "Duration of the availability blob."
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/privateEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/privateEndpoint.json
new file mode 100644
index 000000000000..abf76116e775
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/privateEndpoint.json
@@ -0,0 +1,572 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}": {
+ "delete": {
+ "tags": [
+ "PrivateEndpoints"
+ ],
+ "operationId": "PrivateEndpoints_Delete",
+ "description": "Deletes the specified private endpoint.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "privateEndpointName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the private endpoint."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Delete successful."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Delete private endpoint": {
+ "$ref": "./examples/PrivateEndpointDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "PrivateEndpoints"
+ ],
+ "operationId": "PrivateEndpoints_Get",
+ "description": "Gets the specified private endpoint by resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "privateEndpointName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the private endpoint."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced resources."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting private endpoint resource.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpoint"
+ }
+ },
+ "default": {
+ "description": "Error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get private endpoint": {
+ "$ref": "./examples/PrivateEndpointGet.json"
+ },
+ "Get private endpoint with manual approval connection": {
+ "$ref": "./examples/PrivateEndpointGetForManualApproval.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "PrivateEndpoints"
+ ],
+ "operationId": "PrivateEndpoints_CreateOrUpdate",
+ "description": "Creates or updates an private endpoint in the specified resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "privateEndpointName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the private endpoint."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpoint"
+ },
+ "description": "Parameters supplied to the create or update private endpoint operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting private endpoint resource.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpoint"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting private endpoint resource.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpoint"
+ }
+ },
+ "default": {
+ "description": "Error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Create private endpoint": {
+ "$ref": "./examples/PrivateEndpointCreate.json"
+ },
+ "Create private endpoint with manual approval connection": {
+ "$ref": "./examples/PrivateEndpointCreateForManualApproval.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints": {
+ "get": {
+ "tags": [
+ "PrivateEndpoints"
+ ],
+ "operationId": "PrivateEndpoints_List",
+ "description": "Gets all private endpoints in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of private endpoint resources.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointListResult"
+ }
+ },
+ "default": {
+ "description": "Error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List private endpoints in resource group": {
+ "$ref": "./examples/PrivateEndpointList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateEndpoints": {
+ "get": {
+ "tags": [
+ "PrivateEndpoints"
+ ],
+ "operationId": "PrivateEndpoints_ListBySubscription",
+ "description": "Gets all private endpoints in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of private endpoint resources.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointListResult"
+ }
+ },
+ "default": {
+ "description": "Error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all private endpoints": {
+ "$ref": "./examples/PrivateEndpointListAll.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": {
+ "get": {
+ "operationId": "AvailablePrivateEndpointTypes_List",
+ "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location of the domain name."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.",
+ "schema": {
+ "$ref": "#/definitions/AvailablePrivateEndpointTypesResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get available PrivateEndpoint types": {
+ "$ref": "./examples/AvailablePrivateEndpointTypesGet.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": {
+ "get": {
+ "operationId": "AvailablePrivateEndpointTypes_ListByResourceGroup",
+ "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location of the domain name."
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.",
+ "schema": {
+ "$ref": "#/definitions/AvailablePrivateEndpointTypesResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get available PrivateEndpoint types in the resource group": {
+ "$ref": "./examples/AvailablePrivateEndpointTypesResourceGroupGet.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "PrivateEndpoint": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PrivateEndpointProperties",
+ "description": "Properties of the private endpoint."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Private endpoint resource."
+ },
+ "PrivateEndpointProperties": {
+ "properties": {
+ "subnet": {
+ "$ref": "./virtualNetwork.json#/definitions/Subnet",
+ "description": "The ID of the subnet from which the private IP will be allocated."
+ },
+ "networkInterfaces": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "./networkInterface.json#/definitions/NetworkInterface"
+ },
+ "description": "An array of references to the network interfaces created for this private endpoint."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the private endpoint resource."
+ },
+ "privateLinkServiceConnections": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrivateLinkServiceConnection"
+ },
+ "description": "A grouping of information about the connection to the remote resource."
+ },
+ "manualPrivateLinkServiceConnections": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrivateLinkServiceConnection"
+ },
+ "description": "A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource."
+ }
+ },
+ "description": "Properties of the private endpoint."
+ },
+ "PrivateLinkServiceConnection": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PrivateLinkServiceConnectionProperties",
+ "description": "Properties of the private link service connection."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource type."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "PrivateLinkServiceConnection resource."
+ },
+ "PrivateLinkServiceConnectionProperties": {
+ "properties": {
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the private link service connection resource."
+ },
+ "privateLinkServiceId": {
+ "type": "string",
+ "description": "The resource id of private link service."
+ },
+ "groupIds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to."
+ },
+ "requestMessage": {
+ "type": "string",
+ "description": "A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars."
+ },
+ "privateLinkServiceConnectionState": {
+ "$ref": "./privateLinkService.json#/definitions/PrivateLinkServiceConnectionState",
+ "description": "A collection of read-only information about the state of the connection to the remote resource."
+ }
+ },
+ "description": "Properties of the PrivateLinkServiceConnection."
+ },
+ "PrivateEndpointListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrivateEndpoint"
+ },
+ "description": "A list of private endpoint resources in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results.",
+ "readOnly": true
+ }
+ },
+ "description": "Response for the ListPrivateEndpoints API service call."
+ },
+ "AvailablePrivateEndpointTypesResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AvailablePrivateEndpointType"
+ },
+ "description": "An array of available privateEndpoint type."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "An array of available PrivateEndpoint types."
+ },
+ "AvailablePrivateEndpointType": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the service and resource."
+ },
+ "id": {
+ "type": "string",
+ "description": "A unique identifier of the AvailablePrivateEndpoint Type resource."
+ },
+ "type": {
+ "type": "string",
+ "description": "Resource type."
+ },
+ "resourceName": {
+ "type": "string",
+ "description": "The name of the service and resource."
+ }
+ },
+ "description": "The information of an AvailablePrivateEndpointType."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/privateLinkService.json
new file mode 100644
index 000000000000..cd103296540d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/privateLinkService.json
@@ -0,0 +1,1068 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}": {
+ "delete": {
+ "tags": [
+ "PrivateLinkServices"
+ ],
+ "operationId": "PrivateLinkServices_Delete",
+ "description": "Deletes the specified private link service.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "serviceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the private link service."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Delete successful."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Delete private link service": {
+ "$ref": "./examples/PrivateLinkServiceDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "PrivateLinkServices"
+ ],
+ "operationId": "PrivateLinkServices_Get",
+ "description": "Gets the specified private link service by resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "serviceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the private link service."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced resources."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting PrivateLinkService resource.",
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkService"
+ }
+ },
+ "default": {
+ "description": "Error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get private link service": {
+ "$ref": "./examples/PrivateLinkServiceGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "PrivateLinkService"
+ ],
+ "operationId": "PrivateLinkServices_CreateOrUpdate",
+ "description": "Creates or updates an private link service in the specified resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "serviceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the private link service."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkService"
+ },
+ "description": "Parameters supplied to the create or update private link service operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting privateLinkService resource.",
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkService"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting privateLinkService resource.",
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkService"
+ }
+ },
+ "default": {
+ "description": "Error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Create private link service": {
+ "$ref": "./examples/PrivateLinkServiceCreate.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices": {
+ "get": {
+ "tags": [
+ "PrivateLinkServices"
+ ],
+ "operationId": "PrivateLinkServices_List",
+ "description": "Gets all private link services in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of privateLinkService resources.",
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkServiceListResult"
+ }
+ },
+ "default": {
+ "description": "Error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List private link service in resource group": {
+ "$ref": "./examples/PrivateLinkServiceList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateLinkServices": {
+ "get": {
+ "tags": [
+ "PrivateLinkServices"
+ ],
+ "operationId": "PrivateLinkServices_ListBySubscription",
+ "description": "Gets all private link service in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of PrivateLinkService resources.",
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkServiceListResult"
+ }
+ },
+ "default": {
+ "description": "Error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all private list service": {
+ "$ref": "./examples/PrivateLinkServiceListAll.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}": {
+ "get": {
+ "tags": [
+ "PrivateLinkServices"
+ ],
+ "operationId": "PrivateLinkServices_GetPrivateEndpointConnection",
+ "description": "Get the specific private end point connection by specific private link service in the resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "serviceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the private link service."
+ },
+ {
+ "name": "peConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the private end point connection."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced resources."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting private end point connection resource.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "default": {
+ "description": "Error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get private end point connection": {
+ "$ref": "./examples/PrivateLinkServiceGetPrivateEndpointConnection.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "PrivateLinkServices"
+ ],
+ "operationId": "PrivateLinkServices_UpdatePrivateEndpointConnection",
+ "description": "Approve or reject private end point connection for a private link service in a subscription.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "serviceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the private link service."
+ },
+ {
+ "name": "peConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the private end point connection."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ },
+ "description": "Parameters supplied to approve or reject the private end point connection."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting PrivateEndpointConnection resource.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "default": {
+ "description": "Error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "approve or reject private end point connection for a private link service": {
+ "$ref": "./examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "PrivateLinkServices"
+ ],
+ "operationId": "PrivateLinkServices_DeletePrivateEndpointConnection",
+ "description": "Delete private end point connection for a private link service in a subscription.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "serviceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the private link service."
+ },
+ {
+ "name": "peConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the private end point connection."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Delete successful."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "delete private end point connection for a private link service": {
+ "$ref": "./examples/PrivateLinkServiceDeletePrivateEndpointConnection.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections" : {
+ "get": {
+ "tags": [
+ "PrivateLinkServices"
+ ],
+ "operationId": "PrivateLinkServices_ListPrivateEndpointConnections",
+ "description": "Gets all private end point connections for a specific private link service.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "serviceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the private link service."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of private end point connection resources.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnectionListResult"
+ }
+ },
+ "default": {
+ "description": "Error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List private link service in resource group": {
+ "$ref": "./examples/PrivateLinkServiceListPrivateEndpointConnection.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility": {
+ "post": {
+ "tags": [
+ "PrivateLinkServices"
+ ],
+ "operationId": "PrivateLinkServices_CheckPrivateLinkServiceVisibility",
+ "description": "Checks whether the subscription is visible to private link service.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location of the domain name."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CheckPrivateLinkServiceVisibilityRequest"
+ },
+ "description": "The request body of CheckPrivateLinkService API call."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns whether the subscription is visible to private link service.",
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkServiceVisibility"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Check private link service visibility": {
+ "$ref": "./examples/CheckPrivateLinkServiceVisibility.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility": {
+ "post": {
+ "tags": [
+ "PrivateLinkServices"
+ ],
+ "operationId": "PrivateLinkServices_CheckPrivateLinkServiceVisibilityByResourceGroup",
+ "description": "Checks whether the subscription is visible to private link service in the specified resource group.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location of the domain name."
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CheckPrivateLinkServiceVisibilityRequest"
+ },
+ "description": "The request body of CheckPrivateLinkService API call."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns whether the subscription is visible to private link service.",
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkServiceVisibility"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Check private link service visibility": {
+ "$ref": "./examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": {
+ "get": {
+ "tags": [
+ "PrivateLinkServices"
+ ],
+ "operationId": "PrivateLinkServices_ListAutoApprovedPrivateLinkServices",
+ "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location of the domain name."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.",
+ "schema": {
+ "$ref": "#/definitions/AutoApprovedPrivateLinkServicesResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get list of private link service id that can be linked to a private end point with auto approved": {
+ "$ref": "./examples/AutoApprovedPrivateLinkServicesGet.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": {
+ "get": {
+ "tags": [
+ "PrivateLinkServices"
+ ],
+ "operationId": "PrivateLinkServices_ListAutoApprovedPrivateLinkServicesByResourceGroup",
+ "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location of the domain name."
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.",
+ "schema": {
+ "$ref": "#/definitions/AutoApprovedPrivateLinkServicesResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get list of private link service id that can be linked to a private end point with auto approved": {
+ "$ref": "./examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "PrivateLinkService": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PrivateLinkServiceProperties",
+ "description": "Properties of the private link service."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Private link service resource."
+ },
+ "PrivateLinkServiceProperties": {
+ "properties": {
+ "loadBalancerFrontendIpConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "./loadBalancer.json#/definitions/FrontendIPConfiguration"
+ },
+ "description": "An array of references to the load balancer IP configurations."
+ },
+ "ipConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrivateLinkServiceIpConfiguration"
+ },
+ "description": "An array of private link service IP configurations."
+ },
+ "networkInterfaces": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "./networkInterface.json#/definitions/NetworkInterface"
+ },
+ "description": "An array of references to the network interfaces created for this private link service."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the private link service resource."
+ },
+ "privateEndpointConnections": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ },
+ "description": "An array of list about connections to the private endpoint."
+ },
+ "visibility": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/ResourceSet"
+ }
+ ],
+ "description": "The visibility list of the private link service."
+ },
+ "autoApproval": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/ResourceSet"
+ }
+ ],
+ "description": "The auto-approval list of the private link service."
+ },
+ "fqdns": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of Fqdn."
+ },
+ "alias": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The alias of the private link service."
+ },
+ "enableProxyProtocol": {
+ "type": "boolean",
+ "description": "Whether the private link service is enabled for proxy protocol or not."
+ }
+ },
+ "description": "Properties of the private link service."
+ },
+ "ResourceSet": {
+ "properties": {
+ "subscriptions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of subscriptions."
+ }
+ },
+ "description": "The base resource set for visibility and auto-approval."
+ },
+ "PrivateLinkServiceIpConfiguration": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PrivateLinkServiceIpConfigurationProperties",
+ "description": "Properties of the private link service ip configuration."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of private link service ip configuration."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource type."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "The private link service ip configuration."
+ },
+ "PrivateLinkServiceIpConfigurationProperties": {
+ "properties": {
+ "privateIPAddress": {
+ "type": "string",
+ "description": "The private IP address of the IP configuration."
+ },
+ "privateIPAllocationMethod": {
+ "$ref": "./network.json#/definitions/IPAllocationMethod",
+ "description": "The private IP address allocation method."
+ },
+ "subnet": {
+ "$ref": "./virtualNetwork.json#/definitions/Subnet",
+ "description": "The reference to the subnet resource."
+ },
+ "primary": {
+ "type": "boolean",
+ "description": "Whether the ip configuration is primary or not."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the private link service IP configuration resource."
+ },
+ "privateIPAddressVersion": {
+ "$ref": "./network.json#/definitions/IPVersion",
+ "description": "Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4."
+ }
+ },
+ "description": "Properties of private link service IP configuration."
+ },
+ "PrivateEndpointConnection": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PrivateEndpointConnectionProperties",
+ "description": "Properties of the private end point connection."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource type."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "PrivateEndpointConnection resource."
+ },
+ "PrivateEndpointConnectionProperties": {
+ "properties": {
+ "privateEndpoint": {
+ "readOnly": true,
+ "$ref": "./privateEndpoint.json#/definitions/PrivateEndpoint",
+ "description": "The resource of private end point."
+ },
+ "privateLinkServiceConnectionState": {
+ "$ref": "#/definitions/PrivateLinkServiceConnectionState",
+ "description": "A collection of information about the state of the connection between service consumer and provider."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the private endpoint connection resource."
+ },
+ "linkIdentifier": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The consumer link id."
+ }
+ },
+ "description": "Properties of the PrivateEndpointConnectProperties."
+ },
+ "PrivateLinkServiceConnectionState": {
+ "properties": {
+ "status": {
+ "type": "string",
+ "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service."
+ },
+ "description": {
+ "type": "string",
+ "description": "The reason for approval/rejection of the connection."
+ },
+ "actionRequired": {
+ "type": "string",
+ "description": "A message indicating if changes on the service provider require any updates on the consumer."
+ }
+ },
+ "description": "A collection of information about the state of the connection between service consumer and provider."
+ },
+ "PrivateLinkServiceListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrivateLinkService"
+ },
+ "description": "A list of PrivateLinkService resources in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results.",
+ "readOnly": true
+ }
+ },
+ "description": "Response for the ListPrivateLinkService API service call."
+ },
+ "PrivateEndpointConnectionListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ },
+ "description": "A list of PrivateEndpointConnection resources for a specific private link service."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results.",
+ "readOnly": true
+ }
+ },
+ "description": "Response for the ListPrivateEndpointConnection API service call."
+ },
+ "CheckPrivateLinkServiceVisibilityRequest": {
+ "properties": {
+ "privateLinkServiceAlias": {
+ "type": "string",
+ "description": "The alias of the private link service."
+ }
+ },
+ "description": "Request body of the CheckPrivateLinkServiceVisibility API service call."
+ },
+ "PrivateLinkServiceVisibility": {
+ "properties": {
+ "visible": {
+ "type": "boolean",
+ "description": "Private Link Service Visibility (True/False)."
+ }
+ },
+ "description": "Response for the CheckPrivateLinkServiceVisibility API service call."
+ },
+ "AutoApprovedPrivateLinkServicesResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AutoApprovedPrivateLinkService"
+ },
+ "description": "An array of auto approved private link service."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "An array of private link service id that can be linked to a private end point with auto approved."
+ },
+ "AutoApprovedPrivateLinkService": {
+ "properties": {
+ "privateLinkService": {
+ "type": "string",
+ "description": "The id of the private link service resource."
+ }
+ },
+ "description": "The information of an AutoApprovedPrivateLinkService."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/publicIpAddress.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/publicIpAddress.json
new file mode 100644
index 000000000000..0a756e1265d5
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/publicIpAddress.json
@@ -0,0 +1,540 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}": {
+ "delete": {
+ "tags": [
+ "PublicIPAddresses"
+ ],
+ "operationId": "PublicIPAddresses_Delete",
+ "description": "Deletes the specified public IP 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 subnet."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete public IP address": {
+ "$ref": "./examples/PublicIpAddressDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "PublicIPAddresses"
+ ],
+ "operationId": "PublicIPAddresses_Get",
+ "description": "Gets the specified public IP address in a specified resource group.",
+ "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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced resources."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting PublicIPAddress resource.",
+ "schema": {
+ "$ref": "#/definitions/PublicIPAddress"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get public IP address": {
+ "$ref": "./examples/PublicIpAddressGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "PublicIPAddresses"
+ ],
+ "operationId": "PublicIPAddresses_CreateOrUpdate",
+ "description": "Creates or updates a static or dynamic public IP 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 public IP address."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PublicIPAddress"
+ },
+ "description": "Parameters supplied to the create or update public IP address operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting PublicIPAddress resource.",
+ "schema": {
+ "$ref": "#/definitions/PublicIPAddress"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting PublicIPAddress resource.",
+ "schema": {
+ "$ref": "#/definitions/PublicIPAddress"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create public IP address defaults": {
+ "$ref": "./examples/PublicIpAddressCreateDefaults.json"
+ },
+ "Create public IP address allocation method": {
+ "$ref": "./examples/PublicIpAddressCreateCustomizedValues.json"
+ },
+ "Create public IP address DNS": {
+ "$ref": "./examples/PublicIpAddressCreateDns.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "PublicIPAddresses"
+ ],
+ "operationId": "PublicIPAddresses_UpdateTags",
+ "description": "Updates public IP address tags.",
+ "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 public IP address."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update public IP address tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting PublicIPAddress resource.",
+ "schema": {
+ "$ref": "#/definitions/PublicIPAddress"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update public IP address tags": {
+ "$ref": "./examples/PublicIpAddressUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses": {
+ "get": {
+ "tags": [
+ "PublicIPAddresses"
+ ],
+ "operationId": "PublicIPAddresses_ListAll",
+ "description": "Gets all the public IP addresses in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of PublicIPAddress resources.",
+ "schema": {
+ "$ref": "#/definitions/PublicIPAddressListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all public IP addresses": {
+ "$ref": "./examples/PublicIpAddressListAll.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses": {
+ "get": {
+ "tags": [
+ "PublicIPAddresses"
+ ],
+ "operationId": "PublicIPAddresses_List",
+ "description": "Gets all public IP addresses in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of PublicIPAddress resources.",
+ "schema": {
+ "$ref": "#/definitions/PublicIPAddressListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List resource group public IP addresses": {
+ "$ref": "./examples/PublicIpAddressList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "PublicIPAddressSku": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of a public IP address SKU.",
+ "enum": [
+ "Basic",
+ "Standard"
+ ],
+ "x-ms-enum": {
+ "name": "PublicIPAddressSkuName",
+ "modelAsString": true
+ }
+ }
+ },
+ "description": "SKU of a public IP address."
+ },
+ "PublicIPAddressPropertiesFormat": {
+ "properties": {
+ "publicIPAllocationMethod": {
+ "$ref": "./network.json#/definitions/IPAllocationMethod",
+ "description": "The public IP address allocation method."
+ },
+ "publicIPAddressVersion": {
+ "$ref": "./network.json#/definitions/IPVersion",
+ "description": "The public IP address version."
+ },
+ "ipConfiguration": {
+ "readOnly": true,
+ "$ref": "./networkInterface.json#/definitions/IPConfiguration",
+ "description": "The IP configuration associated with the public IP address."
+ },
+ "dnsSettings": {
+ "$ref": "#/definitions/PublicIPAddressDnsSettings",
+ "description": "The FQDN of the DNS record associated with the public IP address."
+ },
+ "ddosSettings": {
+ "$ref": "#/definitions/DdosSettings",
+ "description": "The DDoS protection custom policy associated with the public IP address."
+ },
+ "ipTags": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IpTag"
+ },
+ "description": "The list of tags associated with the public IP address."
+ },
+ "ipAddress": {
+ "type": "string",
+ "description": "The IP address associated with the public IP address resource."
+ },
+ "publicIPPrefix": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The Public IP Prefix this Public IP Address should be allocated from."
+ },
+ "idleTimeoutInMinutes": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The idle timeout of the public IP address."
+ },
+ "resourceGuid": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource GUID property of the public IP address resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the public IP address resource."
+ }
+ },
+ "description": "Public IP address properties."
+ },
+ "PublicIPAddress": {
+ "properties": {
+ "sku": {
+ "$ref": "#/definitions/PublicIPAddressSku",
+ "description": "The public IP address SKU."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PublicIPAddressPropertiesFormat",
+ "description": "Public IP address properties."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of availability zones denoting the IP allocated for the resource needs to come from."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Public IP address resource."
+ },
+ "PublicIPAddressListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicIPAddress"
+ },
+ "description": "A list of public IP addresses that exists in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListPublicIpAddresses API service call."
+ },
+ "PublicIPAddressDnsSettings": {
+ "properties": {
+ "domainNameLabel": {
+ "type": "string",
+ "description": "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": "The 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": "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."
+ },
+ "DdosSettings": {
+ "properties": {
+ "ddosCustomPolicy": {
+ "readOnly": false,
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The DDoS custom policy associated with the public IP."
+ },
+ "protectionCoverage": {
+ "readOnly": false,
+ "type": "string",
+ "enum": [
+ "Basic",
+ "Standard"
+ ],
+ "x-ms-enum": {
+ "name": "DdosSettingsProtectionCoverage",
+ "modelAsString": true
+ },
+ "description": "The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized."
+ }
+ },
+ "description": "Contains the DDoS protection settings of the public IP."
+ },
+ "IpTag": {
+ "properties": {
+ "ipTagType": {
+ "type": "string",
+ "description": "The IP tag type. Example: FirstPartyUsage."
+ },
+ "tag": {
+ "type": "string",
+ "description": "The value of the IP tag associated with the public IP. Example: SQL."
+ }
+ },
+ "description": "Contains the IpTag associated with the object."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/publicIpPrefix.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/publicIpPrefix.json
new file mode 100644
index 000000000000..b95ca9805d90
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/publicIpPrefix.json
@@ -0,0 +1,485 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}": {
+ "delete": {
+ "tags": [
+ "PublicIPPrefixes"
+ ],
+ "operationId": "PublicIPPrefixes_Delete",
+ "description": "Deletes the specified public IP prefix.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "publicIpPrefixName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the PublicIpPrefix."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete public IP prefix": {
+ "$ref": "./examples/PublicIpPrefixDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "PublicIPPrefixes"
+ ],
+ "operationId": "PublicIPPrefixes_Get",
+ "description": "Gets the specified public IP prefix in a specified resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "publicIpPrefixName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the public IP prefix."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced resources."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting PublicIPPrefix resource.",
+ "schema": {
+ "$ref": "#/definitions/PublicIPPrefix"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get public IP prefix": {
+ "$ref": "./examples/PublicIpPrefixGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "PublicIPPrefixes"
+ ],
+ "operationId": "PublicIPPrefixes_CreateOrUpdate",
+ "description": "Creates or updates a static or dynamic public IP prefix.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "publicIpPrefixName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the public IP prefix."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PublicIPPrefix"
+ },
+ "description": "Parameters supplied to the create or update public IP prefix operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting PublicIPPrefix resource.",
+ "schema": {
+ "$ref": "#/definitions/PublicIPPrefix"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting PublicIPPrefix resource.",
+ "schema": {
+ "$ref": "#/definitions/PublicIPPrefix"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create public IP prefix defaults": {
+ "$ref": "./examples/PublicIpPrefixCreateDefaults.json"
+ },
+ "Create public IP prefix allocation method": {
+ "$ref": "./examples/PublicIpPrefixCreateCustomizedValues.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "patch": {
+ "tags": [
+ "PublicIPPrefixes"
+ ],
+ "operationId": "PublicIPPrefixes_UpdateTags",
+ "description": "Updates public IP prefix tags.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "publicIpPrefixName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the public IP prefix."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update public IP prefix tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting PublicIPPrefix resource.",
+ "schema": {
+ "$ref": "#/definitions/PublicIPPrefix"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update public IP prefix tags": {
+ "$ref": "./examples/PublicIpPrefixUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes": {
+ "get": {
+ "tags": [
+ "PublicIPPrefixes"
+ ],
+ "operationId": "PublicIPPrefixes_ListAll",
+ "description": "Gets all the public IP prefixes in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of PublicIPPrefix resources.",
+ "schema": {
+ "$ref": "#/definitions/PublicIPPrefixListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all public IP prefixes": {
+ "$ref": "./examples/PublicIpPrefixListAll.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes": {
+ "get": {
+ "tags": [
+ "PublicIPPrefixes"
+ ],
+ "operationId": "PublicIPPrefixes_List",
+ "description": "Gets all public IP prefixes in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of PublicIPPrefix resources.",
+ "schema": {
+ "$ref": "#/definitions/PublicIPPrefixListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List resource group public IP prefixes": {
+ "$ref": "./examples/PublicIpPrefixList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "PublicIPPrefixSku": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of a public IP prefix SKU.",
+ "enum": [
+ "Standard"
+ ],
+ "x-ms-enum": {
+ "name": "PublicIPPrefixSkuName",
+ "modelAsString": true
+ }
+ }
+ },
+ "description": "SKU of a public IP prefix."
+ },
+ "PublicIPPrefixPropertiesFormat": {
+ "properties": {
+ "publicIPAddressVersion": {
+ "$ref": "./network.json#/definitions/IPVersion",
+ "description": "The public IP address version."
+ },
+ "ipTags": {
+ "type": "array",
+ "items": {
+ "$ref": "./publicIpAddress.json#/definitions/IpTag"
+ },
+ "description": "The list of tags associated with the public IP prefix."
+ },
+ "prefixLength": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The Length of the Public IP Prefix."
+ },
+ "ipPrefix": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The allocated Prefix."
+ },
+ "publicIPAddresses": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReferencedPublicIpAddress"
+ },
+ "description": "The list of all referenced PublicIPAddresses."
+ },
+ "loadBalancerFrontendIpConfiguration": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The reference to load balancer frontend IP configuration associated with the public IP prefix."
+ },
+ "resourceGuid": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource GUID property of the public IP prefix resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the public IP prefix resource."
+ }
+ },
+ "description": "Public IP prefix properties."
+ },
+ "PublicIPPrefix": {
+ "properties": {
+ "sku": {
+ "$ref": "#/definitions/PublicIPPrefixSku",
+ "description": "The public IP prefix SKU."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PublicIPPrefixPropertiesFormat",
+ "description": "Public IP prefix properties."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of availability zones denoting the IP allocated for the resource needs to come from."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Public IP prefix resource."
+ },
+ "PublicIPPrefixListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicIPPrefix"
+ },
+ "description": "A list of public IP prefixes that exists in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListPublicIpPrefixes API service call."
+ },
+ "ReferencedPublicIpAddress": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The PublicIPAddress Reference."
+ }
+ },
+ "description": "Reference to a public IP address."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/routeFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/routeFilter.json
new file mode 100644
index 000000000000..a0258c488cfa
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/routeFilter.json
@@ -0,0 +1,822 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}": {
+ "delete": {
+ "tags": [
+ "RouteFilters"
+ ],
+ "operationId": "RouteFilters_Delete",
+ "x-ms-examples": {
+ "RouteFilterDelete": {
+ "$ref": "./examples/RouteFilterDelete.json"
+ }
+ },
+ "description": "Deletes the specified route filter.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "routeFilterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the route filter."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "204": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "RouteFilters"
+ ],
+ "operationId": "RouteFilters_Get",
+ "x-ms-examples": {
+ "RouteFilterGet": {
+ "$ref": "./examples/RouteFilterGet.json"
+ }
+ },
+ "description": "Gets the specified route filter.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "routeFilterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the route filter."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced express route bgp peering resources."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting Route Filter resource.",
+ "schema": {
+ "$ref": "#/definitions/RouteFilter"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "RouteFilters"
+ ],
+ "operationId": "RouteFilters_CreateOrUpdate",
+ "x-ms-examples": {
+ "RouteFilterCreate": {
+ "$ref": "./examples/RouteFilterCreate.json"
+ }
+ },
+ "description": "Creates or updates a route filter in a specified resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "routeFilterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the route filter."
+ },
+ {
+ "name": "routeFilterParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RouteFilter"
+ },
+ "description": "Parameters supplied to the create or update route filter operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting Route Filter resource.",
+ "schema": {
+ "$ref": "#/definitions/RouteFilter"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting Route Filter resource.",
+ "schema": {
+ "$ref": "#/definitions/RouteFilter"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "RouteFilters"
+ ],
+ "operationId": "RouteFilters_UpdateTags",
+ "description": "Updates tags of a route filter.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "routeFilterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the route filter."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update route filter tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting Route Filter resource.",
+ "schema": {
+ "$ref": "#/definitions/RouteFilter"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update route filter tags": {
+ "$ref": "./examples/RouteFilterUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters": {
+ "get": {
+ "tags": [
+ "RouteFilters"
+ ],
+ "operationId": "RouteFilters_ListByResourceGroup",
+ "x-ms-examples": {
+ "RouteFilterListByResourceGroup": {
+ "$ref": "./examples/RouteFilterListByResourceGroup.json"
+ }
+ },
+ "description": "Gets all route filters in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of Route Filter resources.",
+ "schema": {
+ "$ref": "#/definitions/RouteFilterListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters": {
+ "get": {
+ "tags": [
+ "RouteFilters"
+ ],
+ "operationId": "RouteFilters_List",
+ "x-ms-examples": {
+ "RouteFilterList": {
+ "$ref": "./examples/RouteFilterList.json"
+ }
+ },
+ "description": "Gets all route filters in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of Route Filter resources.",
+ "schema": {
+ "$ref": "#/definitions/RouteFilterListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}": {
+ "delete": {
+ "tags": [
+ "RouteFilterRules"
+ ],
+ "operationId": "RouteFilterRules_Delete",
+ "x-ms-examples": {
+ "RouteFilterRuleDelete": {
+ "$ref": "./examples/RouteFilterRuleDelete.json"
+ }
+ },
+ "description": "Deletes the specified rule from a route filter.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "routeFilterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the route filter."
+ },
+ {
+ "name": "ruleName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the rule."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Accepted."
+ },
+ "204": {
+ "description": "Rule was deleted or not found."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "RouteFilterRules"
+ ],
+ "operationId": "RouteFilterRules_Get",
+ "x-ms-examples": {
+ "RouteFilterRuleGet": {
+ "$ref": "./examples/RouteFilterRuleGet.json"
+ }
+ },
+ "description": "Gets the specified rule from a route filter.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "routeFilterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the route filter."
+ },
+ {
+ "name": "ruleName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the rule."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting Route Filter Rule resource.",
+ "schema": {
+ "$ref": "#/definitions/RouteFilterRule"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "RouteFilterRules"
+ ],
+ "operationId": "RouteFilterRules_CreateOrUpdate",
+ "x-ms-examples": {
+ "RouteFilterRuleCreate": {
+ "$ref": "./examples/RouteFilterRuleCreate.json"
+ }
+ },
+ "description": "Creates or updates a route in the specified route filter.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "routeFilterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the route filter."
+ },
+ {
+ "name": "ruleName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the route filter rule."
+ },
+ {
+ "name": "routeFilterRuleParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RouteFilterRule"
+ },
+ "description": "Parameters supplied to the create or update route filter rule operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting Route Filter Rule resource.",
+ "schema": {
+ "$ref": "#/definitions/RouteFilterRule"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting Route Filter Rule resource.",
+ "schema": {
+ "$ref": "#/definitions/RouteFilterRule"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules": {
+ "get": {
+ "tags": [
+ "RouteFilterRules"
+ ],
+ "operationId": "RouteFilterRules_ListByRouteFilter",
+ "x-ms-examples": {
+ "RouteFilterRuleListByRouteFilter": {
+ "$ref": "./examples/RouteFilterRuleListByRouteFilter.json"
+ }
+ },
+ "description": "Gets all RouteFilterRules in a route filter.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "routeFilterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the route filter."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of Route Filter Rule resources.",
+ "schema": {
+ "$ref": "#/definitions/RouteFilterRuleListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "RouteFilterRulePropertiesFormat": {
+ "required": [
+ "access",
+ "routeFilterRuleType",
+ "communities"
+ ],
+ "properties": {
+ "access": {
+ "$ref": "./network.json#/definitions/Access",
+ "description": "The access type of the rule."
+ },
+ "routeFilterRuleType": {
+ "type": "string",
+ "description": "The rule type of the rule.",
+ "enum": [
+ "Community"
+ ],
+ "x-ms-enum": {
+ "name": "RouteFilterRuleType",
+ "modelAsString": true
+ }
+ },
+ "communities": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the route filter rule resource."
+ }
+ },
+ "description": "Route Filter Rule Resource."
+ },
+ "RouteFilterRule": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/RouteFilterRulePropertiesFormat",
+ "description": "Properties of the route filter rule."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Route Filter Rule Resource."
+ },
+ "PatchRouteFilterRule": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/RouteFilterRulePropertiesFormat",
+ "description": "Properties of the route filter rule."
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Route Filter Rule Resource."
+ },
+ "RouteFilterPropertiesFormat": {
+ "properties": {
+ "rules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RouteFilterRule"
+ },
+ "description": "Collection of RouteFilterRules contained within a route filter."
+ },
+ "peerings": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./expressRouteCircuit.json#/definitions/ExpressRouteCircuitPeering"
+ },
+ "description": "A collection of references to express route circuit peerings."
+ },
+ "ipv6Peerings": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./expressRouteCircuit.json#/definitions/ExpressRouteCircuitPeering"
+ },
+ "description": "A collection of references to express route circuit ipv6 peerings."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the route filter resource."
+ }
+ },
+ "description": "Route Filter Resource."
+ },
+ "RouteFilter": {
+ "required": [
+ "location"
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/RouteFilterPropertiesFormat",
+ "description": "Properties of the route filter."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Route Filter Resource."
+ },
+ "PatchRouteFilter": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/RouteFilterPropertiesFormat",
+ "description": "Properties of the route filter."
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type."
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Route Filter Resource."
+ },
+ "RouteFilterListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RouteFilter"
+ },
+ "description": "A list of route filters in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for the ListRouteFilters API service call."
+ },
+ "RouteFilterRuleListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RouteFilterRule"
+ },
+ "description": "A list of RouteFilterRules in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for the ListRouteFilterRules API service call."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/routeTable.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/routeTable.json
new file mode 100644
index 000000000000..f73ce6564550
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/routeTable.json
@@ -0,0 +1,755 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}": {
+ "delete": {
+ "tags": [
+ "RouteTables"
+ ],
+ "operationId": "RouteTables_Delete",
+ "description": "Deletes the specified route table.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "routeTableName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the route table."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "200": {
+ "description": "Request successful. Operation to delete was accepted."
+ },
+ "202": {
+ "description": "Accepted. If route table not found returned synchronously, otherwise if found returned asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Delete route table": {
+ "$ref": "./examples/RouteTableDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "RouteTables"
+ ],
+ "operationId": "RouteTables_Get",
+ "description": "Gets the specified route table.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "routeTableName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the route table."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced resources."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting RouteTable resource.",
+ "schema": {
+ "$ref": "#/definitions/RouteTable"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get route table": {
+ "$ref": "./examples/RouteTableGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "RouteTables"
+ ],
+ "operationId": "RouteTables_CreateOrUpdate",
+ "description": "Create or updates a route table in a specified resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "routeTableName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the route table."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RouteTable"
+ },
+ "description": "Parameters supplied to the create or update route table operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting RouteTable resource.",
+ "schema": {
+ "$ref": "#/definitions/RouteTable"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting RouteTable resource.",
+ "schema": {
+ "$ref": "#/definitions/RouteTable"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create route table": {
+ "$ref": "./examples/RouteTableCreate.json"
+ },
+ "Create route table with route": {
+ "$ref": "./examples/RouteTableCreateWithRoute.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "RouteTables"
+ ],
+ "operationId": "RouteTables_UpdateTags",
+ "description": "Updates a route table tags.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "routeTableName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the route table."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update route table tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting RouteTable resource.",
+ "schema": {
+ "$ref": "#/definitions/RouteTable"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update route table tags": {
+ "$ref": "./examples/RouteTableUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables": {
+ "get": {
+ "tags": [
+ "RouteTables"
+ ],
+ "operationId": "RouteTables_List",
+ "description": "Gets all route tables in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of RouteTable resources.",
+ "schema": {
+ "$ref": "#/definitions/RouteTableListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List route tables in resource group": {
+ "$ref": "./examples/RouteTableList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables": {
+ "get": {
+ "tags": [
+ "RouteTables"
+ ],
+ "operationId": "RouteTables_ListAll",
+ "description": "Gets all route tables in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of RouteTable resources.",
+ "schema": {
+ "$ref": "#/definitions/RouteTableListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all route tables": {
+ "$ref": "./examples/RouteTableListAll.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}": {
+ "delete": {
+ "tags": [
+ "Routes"
+ ],
+ "operationId": "Routes_Delete",
+ "description": "Deletes the specified route from a route table.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "routeTableName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the route table."
+ },
+ {
+ "name": "routeName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the route."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Accepted."
+ },
+ "204": {
+ "description": "Route was deleted or not found."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete route": {
+ "$ref": "./examples/RouteTableRouteDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "Routes"
+ ],
+ "operationId": "Routes_Get",
+ "description": "Gets the specified route from a route table.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "routeTableName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the route table."
+ },
+ {
+ "name": "routeName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the route."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting Route resource.",
+ "schema": {
+ "$ref": "#/definitions/Route"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get route": {
+ "$ref": "./examples/RouteTableRouteGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Routes"
+ ],
+ "operationId": "Routes_CreateOrUpdate",
+ "description": "Creates or updates a route in the specified route table.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "routeTableName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the route table."
+ },
+ {
+ "name": "routeName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the route."
+ },
+ {
+ "name": "routeParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Route"
+ },
+ "description": "Parameters supplied to the create or update route operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting Route resource.",
+ "schema": {
+ "$ref": "#/definitions/Route"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting Route resource.",
+ "schema": {
+ "$ref": "#/definitions/Route"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create route": {
+ "$ref": "./examples/RouteTableRouteCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes": {
+ "get": {
+ "tags": [
+ "Routes"
+ ],
+ "operationId": "Routes_List",
+ "description": "Gets all routes in a route table.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "routeTableName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the route table."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of Route resources.",
+ "schema": {
+ "$ref": "#/definitions/RouteListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List routes": {
+ "$ref": "./examples/RouteTableRouteList.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "RoutePropertiesFormat": {
+ "properties": {
+ "addressPrefix": {
+ "type": "string",
+ "description": "The destination CIDR to which the route applies."
+ },
+ "nextHopType": {
+ "$ref": "#/definitions/RouteNextHopType",
+ "description": "The type of Azure hop the packet should be sent to."
+ },
+ "nextHopIpAddress": {
+ "type": "string",
+ "description": "The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the route resource."
+ }
+ },
+ "required": [
+ "nextHopType"
+ ],
+ "description": "Route resource."
+ },
+ "Route": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/RoutePropertiesFormat",
+ "description": "Properties of the route."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Route resource."
+ },
+ "RouteTablePropertiesFormat": {
+ "properties": {
+ "routes": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Route"
+ },
+ "description": "Collection of routes contained within a route table."
+ },
+ "subnets": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./virtualNetwork.json#/definitions/Subnet"
+ },
+ "description": "A collection of references to subnets."
+ },
+ "disableBgpRoutePropagation": {
+ "type": "boolean",
+ "description": "Whether to disable the routes learned by BGP on that route table. True means disable."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the route table resource."
+ }
+ },
+ "description": "Route Table resource."
+ },
+ "RouteTable": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/RouteTablePropertiesFormat",
+ "description": "Properties of the route table."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Route table resource."
+ },
+ "RouteTableListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RouteTable"
+ },
+ "description": "A list of route tables in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for the ListRouteTable API service call."
+ },
+ "RouteListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Route"
+ },
+ "description": "A list of routes in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for the ListRoute API service call."
+ },
+ "RouteNextHopType": {
+ "type": "string",
+ "description": "The type of Azure hop the packet should be sent to.",
+ "enum": [
+ "VirtualNetworkGateway",
+ "VnetLocal",
+ "Internet",
+ "VirtualAppliance",
+ "None"
+ ],
+ "x-ms-enum": {
+ "name": "RouteNextHopType",
+ "modelAsString": true
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/serviceCommunity.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/serviceCommunity.json
new file mode 100644
index 000000000000..cae2824c480b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/serviceCommunity.json
@@ -0,0 +1,158 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/bgpServiceCommunities": {
+ "get": {
+ "tags": [
+ "BgpServiceCommunities"
+ ],
+ "operationId": "BgpServiceCommunities_List",
+ "x-ms-examples": {
+ "ServiceCommunityList": {
+ "$ref": "./examples/ServiceCommunityList.json"
+ }
+ },
+ "description": "Gets all the available bgp service communities.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of BgpServiceCommunity resources.",
+ "schema": {
+ "$ref": "#/definitions/BgpServiceCommunityListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "BGPCommunity": {
+ "properties": {
+ "serviceSupportedRegion": {
+ "type": "string",
+ "description": "The region which the service support. e.g. For O365, region is Global."
+ },
+ "communityName": {
+ "type": "string",
+ "description": "The name of the bgp community. e.g. Skype."
+ },
+ "communityValue": {
+ "type": "string",
+ "description": "The value of the bgp community. For more information: https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing."
+ },
+ "communityPrefixes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The prefixes that the bgp community contains."
+ },
+ "isAuthorizedToUse": {
+ "type": "boolean",
+ "description": "Customer is authorized to use bgp community or not."
+ },
+ "serviceGroup": {
+ "type": "string",
+ "description": "The service group of the bgp community contains."
+ }
+ },
+ "description": "Contains bgp community information offered in Service Community resources."
+ },
+ "BgpServiceCommunityPropertiesFormat": {
+ "properties": {
+ "serviceName": {
+ "type": "string",
+ "description": "The name of the bgp community. e.g. Skype."
+ },
+ "bgpCommunities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BGPCommunity"
+ },
+ "description": "A list of bgp communities."
+ }
+ },
+ "description": "Properties of Service Community."
+ },
+ "BgpServiceCommunity": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/BgpServiceCommunityPropertiesFormat",
+ "description": "Properties of the BGP service community."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Service Community Properties."
+ },
+ "BgpServiceCommunityListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BgpServiceCommunity"
+ },
+ "description": "A list of service community resources."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for the ListServiceCommunity API service call."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/serviceEndpointPolicy.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/serviceEndpointPolicy.json
new file mode 100644
index 000000000000..3d95d4f88572
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/serviceEndpointPolicy.json
@@ -0,0 +1,742 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}": {
+ "delete": {
+ "tags": [
+ "ServiceEndpointPolicies"
+ ],
+ "operationId": "ServiceEndpointPolicies_Delete",
+ "description": "Deletes the specified service endpoint policy.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "serviceEndpointPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the service endpoint policy."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete service endpoint policy": {
+ "$ref": "./examples/ServiceEndpointPolicyDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "ServiceEndpointPolicies"
+ ],
+ "operationId": "ServiceEndpointPolicies_Get",
+ "description": "Gets the specified service Endpoint Policies in a specified resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "serviceEndpointPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the service endpoint policy."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced resources."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting ServiceEndpointPolicy resource.",
+ "schema": {
+ "$ref": "#/definitions/ServiceEndpointPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get service endPoint Policy": {
+ "$ref": "./examples/ServiceEndpointPolicyGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ServiceEndpointPolicies"
+ ],
+ "operationId": "ServiceEndpointPolicies_CreateOrUpdate",
+ "description": "Creates or updates a service Endpoint Policies.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "serviceEndpointPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the service endpoint policy."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ServiceEndpointPolicy"
+ },
+ "description": "Parameters supplied to the create or update service endpoint policy operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting ServiceEndpointPolicy resource.",
+ "schema": {
+ "$ref": "#/definitions/ServiceEndpointPolicy"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting ServiceEndpointPolicy resource.",
+ "schema": {
+ "$ref": "#/definitions/ServiceEndpointPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create service endpoint policy": {
+ "$ref": "./examples/ServiceEndpointPolicyCreate.json"
+ },
+ "Create service endpoint policy with definition": {
+ "$ref": "./examples/ServiceEndpointPolicyCreateWithDefinition.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "ServiceEndpointPolicies"
+ ],
+ "operationId": "ServiceEndpointPolicies_UpdateTags",
+ "description": "Updates tags of a service endpoint policy.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "serviceEndpointPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the service endpoint policy."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update service endpoint policy tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting ServiceEndpointPolicy resource.",
+ "schema": {
+ "$ref": "#/definitions/ServiceEndpointPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update service endpoint policy tags": {
+ "$ref": "./examples/ServiceEndpointPolicyUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ServiceEndpointPolicies": {
+ "get": {
+ "tags": [
+ "ServiceEndpointPolicies"
+ ],
+ "operationId": "ServiceEndpointPolicies_List",
+ "description": "Gets all the service endpoint policies in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of ServiceEndpointPolicy resources.",
+ "schema": {
+ "$ref": "#/definitions/ServiceEndpointPolicyListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all service endpoint policy": {
+ "$ref": "./examples/ServiceEndpointPolicyListAll.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies": {
+ "get": {
+ "tags": [
+ "ServiceEndpointPolicies"
+ ],
+ "operationId": "ServiceEndpointPolicies_ListByResourceGroup",
+ "description": "Gets all service endpoint Policies in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of ServiceEndpointPolicy resources.",
+ "schema": {
+ "$ref": "#/definitions/ServiceEndpointPolicyListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List resource group service endpoint policies": {
+ "$ref": "./examples/ServiceEndpointPolicyList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}": {
+ "delete": {
+ "tags": [
+ "ServiceEndpointPolicyDefinitions"
+ ],
+ "operationId": "ServiceEndpointPolicyDefinitions_Delete",
+ "description": "Deletes the specified ServiceEndpoint policy definitions.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "serviceEndpointPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Service Endpoint Policy."
+ },
+ {
+ "name": "serviceEndpointPolicyDefinitionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the service endpoint policy definition."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete service endpoint policy definitions from service endpoint policy": {
+ "$ref": "./examples/ServiceEndpointPolicyDefinitionDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "serviceEndpointPolicyDefinitions"
+ ],
+ "operationId": "ServiceEndpointPolicyDefinitions_Get",
+ "description": "Get the specified service endpoint policy definitions from service endpoint policy.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "serviceEndpointPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the service endpoint policy name."
+ },
+ {
+ "name": "serviceEndpointPolicyDefinitionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the service endpoint policy definition name."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting ServiceEndpointPolicyDefinition resource.",
+ "schema": {
+ "$ref": "#/definitions/ServiceEndpointPolicyDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get service endpoint definition in service endpoint policy": {
+ "$ref": "./examples/ServiceEndpointPolicyDefinitionGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "serviceEndpointPolicyDefinitions"
+ ],
+ "operationId": "ServiceEndpointPolicyDefinitions_CreateOrUpdate",
+ "description": "Creates or updates a service endpoint policy definition in the specified service endpoint policy.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "serviceEndpointPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the service endpoint policy."
+ },
+ {
+ "name": "serviceEndpointPolicyDefinitionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the service endpoint policy definition name."
+ },
+ {
+ "name": "ServiceEndpointPolicyDefinitions",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ServiceEndpointPolicyDefinition"
+ },
+ "description": "Parameters supplied to the create or update service endpoint policy operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting ServiceEndpointPolicyDefinition resource.",
+ "schema": {
+ "$ref": "#/definitions/ServiceEndpointPolicyDefinition"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting ServiceEndpointPolicyDefinition resource.",
+ "schema": {
+ "$ref": "#/definitions/ServiceEndpointPolicyDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create service endpoint policy definition": {
+ "$ref": "./examples/ServiceEndpointPolicyDefinitionCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions": {
+ "get": {
+ "tags": [
+ "ServiceEndpointPolicyDefinitions"
+ ],
+ "operationId": "ServiceEndpointPolicyDefinitions_ListByResourceGroup",
+ "description": "Gets all service endpoint policy definitions in a service end point policy.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "serviceEndpointPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the service endpoint policy name."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of ServiceEndpointPolicyDefinition resources.",
+ "schema": {
+ "$ref": "#/definitions/ServiceEndpointPolicyDefinitionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List service endpoint definitions in service end point policy": {
+ "$ref": "./examples/ServiceEndpointPolicyDefinitionList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ServiceEndpointPolicyDefinitionPropertiesFormat": {
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "A description for this rule. Restricted to 140 chars."
+ },
+ "service": {
+ "type": "string",
+ "description": "Service endpoint name."
+ },
+ "serviceResources": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of service resources."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the service endpoint policy definition resource."
+ }
+ },
+ "description": "Service Endpoint policy definition resource."
+ },
+ "ServiceEndpointPolicyDefinition": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ServiceEndpointPolicyDefinitionPropertiesFormat",
+ "description": "Properties of the service endpoint policy definition."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Service Endpoint policy definitions."
+ },
+ "ServiceEndpointPolicyDefinitionListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceEndpointPolicyDefinition"
+ },
+ "description": "The service endpoint policy definition in a service endpoint policy."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListServiceEndpointPolicyDefinition API service call. Retrieves all service endpoint policy definition that belongs to a service endpoint policy."
+ },
+ "ServiceEndpointPolicyPropertiesFormat": {
+ "properties": {
+ "serviceEndpointPolicyDefinitions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceEndpointPolicyDefinition"
+ },
+ "description": "A collection of service endpoint policy definitions of the service endpoint policy."
+ },
+ "subnets": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./virtualNetwork.json#/definitions/Subnet"
+ },
+ "description": "A collection of references to subnets."
+ },
+ "resourceGuid": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The resource GUID property of the service endpoint policy resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the service endpoint policy resource."
+ }
+ },
+ "description": "Service Endpoint Policy resource."
+ },
+ "ServiceEndpointPolicy": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ServiceEndpointPolicyPropertiesFormat",
+ "description": "Properties of the service end point policy."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Service End point policy resource."
+ },
+ "ServiceEndpointPolicyListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceEndpointPolicy"
+ },
+ "description": "A list of ServiceEndpointPolicy resources."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListServiceEndpointPolicies API service call."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/serviceTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/serviceTags.json
new file mode 100644
index 000000000000..925d3dffa54a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/serviceTags.json
@@ -0,0 +1,166 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTags": {
+ "get": {
+ "operationId": "ServiceTags_List",
+ "description": "Gets a list of service tag information resources.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location that will be used as a reference for version (not as a filter based on location, you will get the list of service tags with prefix details across all regions but limited to the cloud that your subscription belongs to)."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns a list of service tag information resources.",
+ "schema": {
+ "$ref": "#/definitions/ServiceTagsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get list of service tags": {
+ "$ref": "./examples/ServiceTagsList.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ServiceTagsListResult": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the cloud."
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The ID of the cloud."
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The azure resource type."
+ },
+ "changeNumber": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The iteration number."
+ },
+ "cloud": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the cloud."
+ },
+ "values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceTagInformation"
+ },
+ "readOnly": true,
+ "description": "The list of service tag information resources."
+ }
+ },
+ "description": "Response for the ListServiceTags API service call."
+ },
+ "ServiceTagInformation": {
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ServiceTagInformationPropertiesFormat",
+ "readOnly": true,
+ "description": "Properties of the service tag information."
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of service tag."
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The ID of service tag."
+ }
+ },
+ "description": "The service tag information."
+ },
+ "ServiceTagInformationPropertiesFormat": {
+ "properties": {
+ "changeNumber": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The iteration number of service tag."
+ },
+ "region": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The region of service tag."
+ },
+ "systemService": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of system service."
+ },
+ "addressPrefixes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true,
+ "description": "The list of IP address prefixes."
+ }
+ },
+ "description": "Properties of the service tag information."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/usage.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/usage.json
new file mode 100644
index 000000000000..77ba826df8c8
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/usage.json
@@ -0,0 +1,160 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages": {
+ "get": {
+ "tags": [
+ "Usages"
+ ],
+ "operationId": "Usages_List",
+ "description": "List network usages for a subscription.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location where resource usage is queried.",
+ "pattern": "^[-\\w\\._ ]+$"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of Usage resources.",
+ "schema": {
+ "$ref": "#/definitions/UsagesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List usages": {
+ "$ref": "./examples/UsageList.json"
+ },
+ "List usages spaced location": {
+ "$ref": "./examples/UsageListSpacedLocation.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "UsageName": {
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "A string describing the resource name."
+ },
+ "localizedValue": {
+ "type": "string",
+ "description": "A localized string describing the resource name."
+ }
+ },
+ "description": "The usage names."
+ },
+ "Usage": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource identifier."
+ },
+ "unit": {
+ "type": "string",
+ "description": "An enum describing the unit of measurement.",
+ "enum": [
+ "Count"
+ ],
+ "x-ms-enum": {
+ "name": "UsageUnit",
+ "modelAsString": true
+ }
+ },
+ "currentValue": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The current value of the usage."
+ },
+ "limit": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The limit of usage."
+ },
+ "name": {
+ "$ref": "#/definitions/UsageName",
+ "description": "The name of the type of usage."
+ }
+ },
+ "required": [
+ "unit",
+ "currentValue",
+ "limit",
+ "name"
+ ],
+ "description": "Describes network resource usage."
+ },
+ "UsagesListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Usage"
+ },
+ "description": "The list network resource usages."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ },
+ "description": "The list usages operation response."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualNetwork.json
new file mode 100644
index 000000000000..87c7e07a2202
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualNetwork.json
@@ -0,0 +1,1951 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}": {
+ "delete": {
+ "tags": [
+ "VirtualNetworks"
+ ],
+ "operationId": "VirtualNetworks_Delete",
+ "description": "Deletes 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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Delete successful."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Delete virtual network": {
+ "$ref": "./examples/VirtualNetworkDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "VirtualNetworks"
+ ],
+ "operationId": "VirtualNetworks_Get",
+ "description": "Gets the specified virtual network by 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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced resources."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting VirtualNetwork resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetwork"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get virtual network": {
+ "$ref": "./examples/VirtualNetworkGet.json"
+ },
+ "Get virtual network with a delegated subnet": {
+ "$ref": "./examples/VirtualNetworkGetWithSubnetDelegation.json"
+ },
+ "Get virtual network with service association links": {
+ "$ref": "./examples/VirtualNetworkGetWithServiceAssociationLink.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "VirtualNetworks"
+ ],
+ "operationId": "VirtualNetworks_CreateOrUpdate",
+ "description": "Creates or 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 or update virtual network operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting VirtualNetwork resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetwork"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting VirtualNetwork resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetwork"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Create virtual network": {
+ "$ref": "./examples/VirtualNetworkCreate.json"
+ },
+ "Create virtual network with subnet": {
+ "$ref": "./examples/VirtualNetworkCreateSubnet.json"
+ },
+ "Create virtual network with subnet containing address prefixes": {
+ "$ref": "./examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json"
+ },
+ "Create virtual network with Bgp Communities": {
+ "$ref": "./examples/VirtualNetworkCreateWithBgpCommunities.json"
+ },
+ "Create virtual network with service endpoints": {
+ "$ref": "./examples/VirtualNetworkCreateServiceEndpoints.json"
+ },
+ "Create virtual network with service endpoints and service endpoint policy": {
+ "$ref": "./examples/VirtualNetworkCreateServiceEndpointPolicy.json"
+ },
+ "Create virtual network with delegated subnets": {
+ "$ref": "./examples/VirtualNetworkCreateSubnetWithDelegation.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "VirtualNetworks"
+ ],
+ "operationId": "VirtualNetworks_UpdateTags",
+ "description": "Updates a virtual network tags.",
+ "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": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update virtual network tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting VirtualNetwork resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetwork"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update virtual network tags": {
+ "$ref": "./examples/VirtualNetworkUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks": {
+ "get": {
+ "tags": [
+ "VirtualNetworks"
+ ],
+ "operationId": "VirtualNetworks_ListAll",
+ "description": "Gets all virtual networks in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of VirtualNetwork resources.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all virtual networks": {
+ "$ref": "./examples/VirtualNetworkListAll.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks": {
+ "get": {
+ "tags": [
+ "VirtualNetworks"
+ ],
+ "operationId": "VirtualNetworks_List",
+ "description": "Gets all virtual networks in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of VirtualNetwork resources.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List virtual networks in resource group": {
+ "$ref": "./examples/VirtualNetworkList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}": {
+ "delete": {
+ "tags": [
+ "Subnets"
+ ],
+ "operationId": "Subnets_Delete",
+ "description": "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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Delete successful."
+ },
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete subnet": {
+ "$ref": "./examples/SubnetDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "Subnets"
+ ],
+ "operationId": "Subnets_Get",
+ "description": "Gets the specified subnet by virtual network and 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": "subnetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the subnet."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced resources."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting Subnet resource.",
+ "schema": {
+ "$ref": "#/definitions/Subnet"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get subnet": {
+ "$ref": "./examples/SubnetGet.json"
+ },
+ "Get subnet with a delegation": {
+ "$ref": "./examples/SubnetGetWithDelegation.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Subnets"
+ ],
+ "operationId": "Subnets_CreateOrUpdate",
+ "description": "Creates or updates a subnet in 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."
+ },
+ {
+ "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 or update subnet operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting Subnet resource.",
+ "schema": {
+ "$ref": "#/definitions/Subnet"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting Subnet resource.",
+ "schema": {
+ "$ref": "#/definitions/Subnet"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Create subnet": {
+ "$ref": "./examples/SubnetCreate.json"
+ },
+ "Create subnet with service endpoints": {
+ "$ref": "./examples/SubnetCreateServiceEndpoint.json"
+ },
+ "Create subnet with a delegation": {
+ "$ref": "./examples/SubnetCreateWithDelegation.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/PrepareNetworkPolicies": {
+ "post": {
+ "operationId": "Subnets_PrepareNetworkPolicies",
+ "description": "Prepares a subnet by applying network intent policies.",
+ "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": "prepareNetworkPoliciesRequestParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PrepareNetworkPoliciesRequest"
+ },
+ "description": "Parameters supplied to prepare subnet by applying network intent policies."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Preparing subnet by applying network intent policies is successful."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Prepare Network Policies": {
+ "$ref": "./examples/SubnetPrepareNetworkPolicies.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/UnprepareNetworkPolicies": {
+ "post": {
+ "operationId": "Subnets_UnprepareNetworkPolicies",
+ "description": "Unprepares a subnet by removing network intent policies.",
+ "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": "unprepareNetworkPoliciesRequestParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/UnprepareNetworkPoliciesRequest"
+ },
+ "description": "Parameters supplied to unprepare subnet to remove network intent policies."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Unpreparing subnet by removing network intent policies is successful."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Unprepare Network Policies": {
+ "$ref": "./examples/SubnetUnprepareNetworkPolicies.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ResourceNavigationLinks": {
+ "get": {
+ "operationId": "ResourceNavigationLinks_List",
+ "description": "Gets a list of resource navigation links for a 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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of resource navigation links for the subnet.",
+ "schema": {
+ "$ref": "#/definitions/ResourceNavigationLinksListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Resource Navigation Links": {
+ "$ref": "./examples/VirtualNetworkGetResourceNavigationLinks.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ServiceAssociationLinks": {
+ "get": {
+ "operationId": "ServiceAssociationLinks_List",
+ "description": "Gets a list of service association links for a 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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of service association links for the subnet.",
+ "schema": {
+ "$ref": "#/definitions/ServiceAssociationLinksListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Service Association Links": {
+ "$ref": "./examples/VirtualNetworkGetServiceAssociationLinks.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets": {
+ "get": {
+ "tags": [
+ "Subnets"
+ ],
+ "operationId": "Subnets_List",
+ "description": "Gets all 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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of Subnet resources.",
+ "schema": {
+ "$ref": "#/definitions/SubnetListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List subnets": {
+ "$ref": "./examples/SubnetList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}": {
+ "delete": {
+ "tags": [
+ "VirtualNetworkPeerings"
+ ],
+ "operationId": "VirtualNetworkPeerings_Delete",
+ "description": "Deletes the specified virtual network peering.",
+ "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": "virtualNetworkPeeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the virtual network peering."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Delete successful."
+ },
+ "204": {
+ "description": "Delete successful."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete peering": {
+ "$ref": "./examples/VirtualNetworkPeeringDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "VirtualNetworkPeerings"
+ ],
+ "operationId": "VirtualNetworkPeerings_Get",
+ "description": "Gets the specified virtual network peering.",
+ "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": "virtualNetworkPeeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the virtual network peering."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting VirtualNetworkPeering resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkPeering"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get peering": {
+ "$ref": "./examples/VirtualNetworkPeeringGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "VirtualNetworkPeerings"
+ ],
+ "operationId": "VirtualNetworkPeerings_CreateOrUpdate",
+ "description": "Creates or updates a peering in 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."
+ },
+ {
+ "name": "virtualNetworkPeeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peering."
+ },
+ {
+ "name": "VirtualNetworkPeeringParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkPeering"
+ },
+ "description": "Parameters supplied to the create or update virtual network peering operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting VirtualNetworkPeering resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkPeering"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting VirtualNetworkPeering resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkPeering"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create peering": {
+ "$ref": "./examples/VirtualNetworkPeeringCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings": {
+ "get": {
+ "tags": [
+ "VirtualNetworkPeerings"
+ ],
+ "operationId": "VirtualNetworkPeerings_List",
+ "description": "Gets all virtual network peerings 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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of VirtualNetworkPeering resources.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkPeeringListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List peerings": {
+ "$ref": "./examples/VirtualNetworkPeeringList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/CheckIPAddressAvailability": {
+ "get": {
+ "operationId": "VirtualNetworks_CheckIPAddressAvailability",
+ "description": "Checks whether a private IP address is available for use.",
+ "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": "ipAddress",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The private IP address to be verified."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Private IP address availability and list of other free addresses if the requested one is not available.",
+ "schema": {
+ "$ref": "#/definitions/IPAddressAvailabilityResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Check IP address availability": {
+ "$ref": "./examples/VirtualNetworkCheckIPAddressAvailability.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/usages": {
+ "get": {
+ "operationId": "VirtualNetworks_ListUsage",
+ "description": "Lists usage stats.",
+ "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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Usage stats for vnet.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkListUsageResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VnetGetUsage": {
+ "$ref": "./examples/VirtualNetworkListUsage.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ServiceAssociationLinkPropertiesFormat": {
+ "properties": {
+ "linkedResourceType": {
+ "type": "string",
+ "description": "Resource type of the linked resource."
+ },
+ "link": {
+ "type": "string",
+ "description": "Link to the external resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the service association link resource."
+ },
+ "allowDelete": {
+ "type": "boolean",
+ "description": "If true, the resource can be deleted."
+ },
+ "locations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of locations."
+ }
+ },
+ "description": "Properties of ServiceAssociationLink."
+ },
+ "ServiceAssociationLink": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ServiceAssociationLinkPropertiesFormat",
+ "description": "Resource navigation link properties format."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "ServiceAssociationLink resource."
+ },
+ "ResourceNavigationLinkFormat": {
+ "properties": {
+ "linkedResourceType": {
+ "type": "string",
+ "description": "Resource type of the linked resource."
+ },
+ "link": {
+ "type": "string",
+ "description": "Link to the external resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the resource navigation link resource."
+ }
+ },
+ "description": "Properties of ResourceNavigationLink."
+ },
+ "ResourceNavigationLink": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ResourceNavigationLinkFormat",
+ "description": "Resource navigation link properties format."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource navigation link identifier."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "ResourceNavigationLink resource."
+ },
+ "ServiceDelegationPropertiesFormat": {
+ "properties": {
+ "serviceName": {
+ "type": "string",
+ "description": "The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers)."
+ },
+ "actions": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Describes the actions permitted to the service upon delegation."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the service delegation resource."
+ }
+ },
+ "description": "Properties of a service delegation."
+ },
+ "Delegation": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ServiceDelegationPropertiesFormat",
+ "description": "Properties of the subnet."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a subnet. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Details the service to which the subnet is delegated."
+ },
+ "SubnetPropertiesFormat": {
+ "properties": {
+ "addressPrefix": {
+ "type": "string",
+ "description": "The address prefix for the subnet."
+ },
+ "addressPrefixes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "List of address prefixes for the subnet."
+ },
+ "networkSecurityGroup": {
+ "$ref": "./networkSecurityGroup.json#/definitions/NetworkSecurityGroup",
+ "description": "The reference of the NetworkSecurityGroup resource."
+ },
+ "routeTable": {
+ "$ref": "./routeTable.json#/definitions/RouteTable",
+ "description": "The reference of the RouteTable resource."
+ },
+ "natGateway": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Nat gateway associated with this subnet."
+ },
+ "serviceEndpoints": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceEndpointPropertiesFormat"
+ },
+ "description": "An array of service endpoints."
+ },
+ "serviceEndpointPolicies": {
+ "type": "array",
+ "items": {
+ "$ref": "./serviceEndpointPolicy.json#/definitions/ServiceEndpointPolicy"
+ },
+ "description": "An array of service endpoint policies."
+ },
+ "privateEndpoints": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./privateEndpoint.json#/definitions/PrivateEndpoint"
+ },
+ "description": "An array of references to private endpoints."
+ },
+ "ipConfigurations": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./networkInterface.json#/definitions/IPConfiguration"
+ },
+ "description": "An array of references to the network interface IP configurations using subnet."
+ },
+ "ipConfigurationProfiles": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./networkProfile.json#/definitions/IPConfigurationProfile"
+ },
+ "description": "Array of IP configuration profiles which reference this subnet."
+ },
+ "resourceNavigationLinks": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceNavigationLink"
+ },
+ "description": "An array of references to the external resources using subnet."
+ },
+ "serviceAssociationLinks": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceAssociationLink"
+ },
+ "description": "An array of references to services injecting into this subnet."
+ },
+ "delegations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Delegation"
+ },
+ "description": "An array of references to the delegations on the subnet."
+ },
+ "purpose": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the subnet resource."
+ },
+ "privateEndpointNetworkPolicies": {
+ "type": "string",
+ "description": "Enable or Disable apply network policies on private end point in the subnet."
+ },
+ "privateLinkServiceNetworkPolicies": {
+ "type": "string",
+ "description": "Enable or Disable apply network policies on private link service in the subnet."
+ }
+ },
+ "description": "Properties of the subnet."
+ },
+ "ServiceEndpointPropertiesFormat": {
+ "properties": {
+ "service": {
+ "type": "string",
+ "description": "The type of the endpoint service."
+ },
+ "locations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of locations."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the service endpoint resource."
+ }
+ },
+ "description": "The service endpoint properties."
+ },
+ "VirtualNetworkPeeringPropertiesFormat": {
+ "properties": {
+ "allowVirtualNetworkAccess": {
+ "type": "boolean",
+ "description": "Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space."
+ },
+ "allowForwardedTraffic": {
+ "type": "boolean",
+ "description": "Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network."
+ },
+ "allowGatewayTransit": {
+ "type": "boolean",
+ "description": "If gateway links can be used in remote virtual networking to link to this virtual network."
+ },
+ "useRemoteGateways": {
+ "type": "boolean",
+ "description": "If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway."
+ },
+ "remoteVirtualNetwork": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering)."
+ },
+ "remoteAddressSpace": {
+ "$ref": "#/definitions/AddressSpace",
+ "description": "The reference of the remote virtual network address space."
+ },
+ "peeringState": {
+ "type": "string",
+ "description": "The status of the virtual network peering.",
+ "enum": [
+ "Initiated",
+ "Connected",
+ "Disconnected"
+ ],
+ "x-ms-enum": {
+ "name": "VirtualNetworkPeeringState",
+ "modelAsString": true
+ }
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the virtual network peering resource."
+ }
+ },
+ "description": "Properties of the virtual network peering."
+ },
+ "Subnet": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SubnetPropertiesFormat",
+ "description": "Properties of the subnet."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Subnet in a virtual network resource."
+ },
+ "VirtualNetworkPeering": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualNetworkPeeringPropertiesFormat",
+ "description": "Properties of the virtual network peering."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Peerings in a virtual network resource."
+ },
+ "SubnetListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Subnet"
+ },
+ "description": "The subnets in a virtual network."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListSubnets API service callRetrieves all subnet that belongs to a virtual network."
+ },
+ "ResourceNavigationLinksListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceNavigationLink"
+ },
+ "description": "The resource navigation links in a subnet."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ResourceNavigationLinks_List operation."
+ },
+ "ServiceAssociationLinksListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceAssociationLink"
+ },
+ "description": "The service association links in a subnet."
+ },
+ "nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ServiceAssociationLinks_List operation."
+ },
+ "VirtualNetworkPeeringListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualNetworkPeering"
+ },
+ "description": "The peerings in a virtual network."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListSubnets API service call. Retrieves all subnets that belong to a virtual network."
+ },
+ "VirtualNetworkPropertiesFormat": {
+ "properties": {
+ "addressSpace": {
+ "$ref": "#/definitions/AddressSpace",
+ "description": "The AddressSpace that contains an array of IP address ranges that can be used by subnets."
+ },
+ "dhcpOptions": {
+ "$ref": "#/definitions/DhcpOptions",
+ "description": "The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network."
+ },
+ "subnets": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Subnet"
+ },
+ "description": "A list of subnets in a Virtual Network."
+ },
+ "virtualNetworkPeerings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualNetworkPeering"
+ },
+ "description": "A list of peerings in a Virtual Network."
+ },
+ "resourceGuid": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resourceGuid property of the Virtual Network resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the virtual network resource."
+ },
+ "enableDdosProtection": {
+ "type": "boolean",
+ "default": false,
+ "description": "Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource."
+ },
+ "enableVmProtection": {
+ "type": "boolean",
+ "default": false,
+ "description": "Indicates if VM protection is enabled for all the subnets in the virtual network."
+ },
+ "ddosProtectionPlan": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "default": null,
+ "description": "The DDoS protection plan associated with the virtual network."
+ },
+ "bgpCommunities": {
+ "$ref": "#/definitions/VirtualNetworkBgpCommunities",
+ "default": null,
+ "description": "Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET."
+ }
+ },
+ "description": "Properties of the virtual network."
+ },
+ "VirtualNetwork": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualNetworkPropertiesFormat",
+ "description": "Properties of the virtual network."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Virtual Network resource."
+ },
+ "VirtualNetworkListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualNetwork"
+ },
+ "description": "A list of VirtualNetwork resources in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for the ListVirtualNetworks API service call."
+ },
+ "AddressSpace": {
+ "properties": {
+ "addressPrefixes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A 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 of the virtual network."
+ },
+ "DhcpOptions": {
+ "properties": {
+ "dnsServers": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of DNS servers IP addresses."
+ }
+ },
+ "description": "DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options."
+ },
+ "VirtualNetworkBgpCommunities": {
+ "properties": {
+ "virtualNetworkCommunity": {
+ "type": "string",
+ "description": "The BGP community associated with the virtual network"
+ },
+ "regionalCommunity": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The BGP community associated with the region of the virtual network"
+ }
+ },
+ "required": [
+ "virtualNetworkCommunity"
+ ],
+ "description": "Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET."
+ },
+ "IPAddressAvailabilityResult": {
+ "properties": {
+ "available": {
+ "type": "boolean",
+ "description": "Private IP address availability."
+ },
+ "availableIPAddresses": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Contains other available private IP addresses if the asked for address is taken."
+ }
+ },
+ "description": "Response for CheckIPAddressAvailability API service call."
+ },
+ "VirtualNetworkListUsageResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/VirtualNetworkUsage"
+ },
+ "description": "VirtualNetwork usage stats."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for the virtual networks GetUsage API service call."
+ },
+ "VirtualNetworkUsage": {
+ "properties": {
+ "currentValue": {
+ "type": "number",
+ "format": "double",
+ "readOnly": true,
+ "description": "Indicates number of IPs used from the Subnet."
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Subnet identifier."
+ },
+ "limit": {
+ "type": "number",
+ "format": "double",
+ "readOnly": true,
+ "description": "Indicates the size of the subnet."
+ },
+ "name": {
+ "$ref": "#/definitions/VirtualNetworkUsageName",
+ "readOnly": true,
+ "description": "The name containing common and localized value for usage."
+ },
+ "unit": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Usage units. Returns 'Count'."
+ }
+ },
+ "description": "Usage details for subnet."
+ },
+ "VirtualNetworkUsageName": {
+ "properties": {
+ "localizedValue": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Localized subnet size and usage string."
+ },
+ "value": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Subnet size and usage string."
+ }
+ },
+ "description": "Usage strings container."
+ },
+ "PrepareNetworkPoliciesRequest": {
+ "properties": {
+ "serviceName": {
+ "type": "string",
+ "description": "The name of the service for which subnet is being prepared for."
+ },
+ "networkIntentPolicyConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkIntentPolicyConfiguration"
+ },
+ "description": "A list of NetworkIntentPolicyConfiguration."
+ }
+ },
+ "description": "Details of PrepareNetworkPolicies for Subnet."
+ },
+ "UnprepareNetworkPoliciesRequest": {
+ "properties": {
+ "serviceName": {
+ "type": "string",
+ "description": "The name of the service for which subnet is being unprepared for."
+ }
+ },
+ "description": "Details of UnprepareNetworkPolicies for Subnet."
+ },
+ "NetworkIntentPolicyConfiguration": {
+ "properties": {
+ "networkIntentPolicyName": {
+ "type": "string",
+ "description": "The name of the Network Intent Policy for storing in target subscription."
+ },
+ "sourceNetworkIntentPolicy": {
+ "$ref": "#/definitions/NetworkIntentPolicy",
+ "description": "Source network intent policy."
+ }
+ },
+ "description": "Details of NetworkIntentPolicyConfiguration for PrepareNetworkPoliciesRequest."
+ },
+ "NetworkIntentPolicy": {
+ "properties": {
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Network Intent Policy resource."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualNetworkGateway.json
new file mode 100644
index 000000000000..bfd16de2d519
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualNetworkGateway.json
@@ -0,0 +1,3561 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}": {
+ "put": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_CreateOrUpdate",
+ "description": "Creates or updates a virtual network gateway in the specified resource group.",
+ "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 create or update virtual network gateway operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting VirtualNetworkGateway resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkGateway"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting VirtualNetworkGateway resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkGateway"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "UpdateVirtualNetworkGateway": {
+ "$ref": "./examples/VirtualNetworkGatewayUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "get": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_Get",
+ "description": "Gets the specified virtual network gateway by resource group.",
+ "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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a VirtualNetworkGateway resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkGateway"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetVirtualNetworkGateway": {
+ "$ref": "./examples/VirtualNetworkGatewayGet.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_Delete",
+ "description": "Deletes the specified virtual network gateway.",
+ "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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Delete successful."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DeleteVirtualNetworkGateway": {
+ "$ref": "./examples/VirtualNetworkGatewayDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "patch": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_UpdateTags",
+ "description": "Updates a virtual network gateway tags.",
+ "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": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update virtual network gateway tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting VirtualNetworkGateway resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkGateway"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "UpdateVirtualNetworkGatewayTags": {
+ "$ref": "./examples/VirtualNetworkGatewayUpdateTags.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways": {
+ "get": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_List",
+ "description": "Gets all virtual network gateways by resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of VirtualNetworkGateway resources.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkGatewayListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ListVirtualNetworkGatewaysinResourceGroup": {
+ "$ref": "./examples/VirtualNetworkGatewayList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/connections": {
+ "get": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_ListConnections",
+ "description": "Gets all the connections in a virtual network gateway.",
+ "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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of VirtualNetworkGatewayConnection resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkGatewayListConnectionsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "VirtualNetworkGatewaysListConnections": {
+ "$ref": "./examples/VirtualNetworkGatewaysListConnections.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset": {
+ "post": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_Reset",
+ "description": "Resets the primary of the virtual network gateway in the specified resource group.",
+ "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": "gatewayVip",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Virtual network gateway vip address supplied to the begin reset of the active-active feature enabled gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Request successful. The operation reset the primary of the virtual network gateway.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkGateway"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ResetVirtualNetworkGateway": {
+ "$ref": "./examples/VirtualNetworkGatewayReset.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey": {
+ "post": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_ResetVpnClientSharedKey",
+ "description": "Resets the VPN client shared key of the virtual network gateway in the specified resource group.",
+ "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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation reset the vpn client shared key of the virtual network gateway."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ResetVpnClientSharedKey": {
+ "$ref": "./examples/VirtualNetworkGatewayResetVpnClientSharedKey.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": {
+ "post": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_Generatevpnclientpackage",
+ "description": "Generates VPN client package for P2S client of the virtual network gateway in the specified resource group.",
+ "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/VpnClientParameters"
+ },
+ "description": "Parameters supplied to the generate virtual network gateway VPN client package operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "VPN client package URL.",
+ "schema": {
+ "type": "string"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GenerateVPNClientPackage": {
+ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnClientPackage.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile": {
+ "post": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_GenerateVpnProfile",
+ "description": "Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication.",
+ "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/VpnClientParameters"
+ },
+ "description": "Parameters supplied to the generate virtual network gateway VPN client package operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "VPN profile package URL.",
+ "schema": {
+ "type": "string"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GenerateVirtualNetworkGatewayVPNProfile": {
+ "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl": {
+ "post": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_GetVpnProfilePackageUrl",
+ "description": "Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile.",
+ "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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "VPN profile package URL.",
+ "schema": {
+ "type": "string"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetVirtualNetworkGatewayVPNProfilePackageURL": {
+ "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus": {
+ "post": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_GetBgpPeerStatus",
+ "description": "The GetBgpPeerStatus operation retrieves the status of all BGP peers.",
+ "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": "peer",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The IP address of the peer to retrieve the status of."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "List of BGP peer statuses.",
+ "schema": {
+ "$ref": "#/definitions/BgpPeerStatusListResult"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetVirtualNetworkGatewayBGPPeerStatus": {
+ "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices": {
+ "post": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_SupportedVpnDevices",
+ "description": "Gets a xml format representation for supported vpn devices.",
+ "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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Xml format representation for supported vpn devices.",
+ "schema": {
+ "type": "string"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ListVirtualNetworkGatewaySupportedVPNDevices": {
+ "$ref": "./examples/VirtualNetworkGatewaySupportedVpnDevice.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes": {
+ "post": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_GetLearnedRoutes",
+ "description": "This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers.",
+ "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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "List of advertised BGP routes.",
+ "schema": {
+ "$ref": "#/definitions/GatewayRouteListResult"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetVirtualNetworkGatewayLearnedRoutes": {
+ "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": {
+ "post": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_GetAdvertisedRoutes",
+ "description": "This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer.",
+ "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": "peer",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The IP address of the peer."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "List of learned BGP routes.",
+ "schema": {
+ "$ref": "#/definitions/GatewayRouteListResult"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetVirtualNetworkGatewayAdvertisedRoutes": {
+ "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters": {
+ "post": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_SetVpnclientIpsecParameters",
+ "description": "The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of 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": "vpnclientIpsecParams",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VpnClientIPsecParameters"
+ },
+ "description": "Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S client operation through Network resource provider."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Request successful. The operation sets the specified vpnclient ipsec parameters for P2S client of the virtual network gateway.",
+ "schema": {
+ "$ref": "#/definitions/VpnClientIPsecParameters"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Set VirtualNetworkGateway VpnClientIpsecParameters": {
+ "$ref": "./examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnclientipsecparameters": {
+ "post": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_GetVpnclientIpsecParameters",
+ "description": "The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of 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 virtual network gateway name."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the set vpnclient ipsec parameters for P2S client of VirtualNetworkGateway resource.",
+ "schema": {
+ "$ref": "#/definitions/VpnClientIPsecParameters"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Get VirtualNetworkGateway VpnClientIpsecParameters": {
+ "$ref": "./examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript": {
+ "post": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_VpnDeviceConfigurationScript",
+ "description": "Gets a xml format representation for vpn device configuration script.",
+ "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 for which the configuration script is generated."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VpnDeviceScriptParameters"
+ },
+ "description": "Parameters supplied to the generate vpn device script operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Xml format representation for vpn device configuration script.",
+ "schema": {
+ "type": "string"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetVPNDeviceConfigurationScript": {
+ "$ref": "./examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startPacketCapture": {
+ "post": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_StartPacketCapture",
+ "description": "Starts packet capture on virtual network gateway in the specified resource group.",
+ "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": false,
+ "schema": {
+ "$ref": "#/definitions/VpnPacketCaptureStartParameters"
+ },
+ "description": "Virtual network gateway packet capture parameters supplied to start packet capture on gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Request successful. The operation packet capture started on virtual network gateway.",
+ "schema": {
+ "type": "string"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Start packet capture on virtual network gateway without filter": {
+ "$ref": "./examples/VirtualNetworkGatewayStartPacketCapture.json"
+ },
+ "Start packet capture on virtual network gateway with filter": {
+ "$ref": "./examples/VirtualNetworkGatewayStartPacketCaptureFilterData.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopPacketCapture": {
+ "post": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_StopPacketCapture",
+ "description": "Stops packet capture on virtual network gateway in the specified resource group.",
+ "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/VpnPacketCaptureStopParameters"
+ },
+ "description": "Virtual network gateway packet capture parameters supplied to stop packet capture on gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Request successful. The operation packet capture stopped on virtual network gateway.",
+ "schema": {
+ "type": "string"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Stop packet capture on virtual network gateway": {
+ "$ref": "./examples/VirtualNetworkGatewayStopPacketCapture.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}": {
+ "put": {
+ "tags": [
+ "VirtualNetworkGatewayConnections"
+ ],
+ "operationId": "VirtualNetworkGatewayConnections_CreateOrUpdate",
+ "description": "Creates or updates a virtual network gateway connection in the specified resource group.",
+ "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."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkGatewayConnection"
+ },
+ "description": "Parameters supplied to the create or update virtual network gateway connection operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting VirtualNetworkGatewayConnection resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkGatewayConnection"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting VirtualNetworkGatewayConnection resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkGatewayConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CreateVirtualNetworkGatewayConnection_S2S": {
+ "$ref": "./examples/VirtualNetworkGatewayConnectionCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "get": {
+ "tags": [
+ "VirtualNetworkGatewayConnections"
+ ],
+ "operationId": "VirtualNetworkGatewayConnections_Get",
+ "description": "Gets the specified virtual network gateway connection by resource group.",
+ "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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting VirtualNetworkGatewayConnection resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkGatewayConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetVirtualNetworkGatewayConnection": {
+ "$ref": "./examples/VirtualNetworkGatewayConnectionGet.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "VirtualNetworkGatewayConnections"
+ ],
+ "operationId": "VirtualNetworkGatewayConnections_Delete",
+ "description": "Deletes the specified virtual network Gateway connection.",
+ "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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Delete successful."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DeleteVirtualNetworkGatewayConnection": {
+ "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "patch": {
+ "tags": [
+ "VirtualNetworkGatewayConnections"
+ ],
+ "operationId": "VirtualNetworkGatewayConnections_UpdateTags",
+ "description": "Updates a virtual network gateway connection tags.",
+ "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."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update virtual network gateway connection tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting VirtualNetworkGatewayConnection resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkGatewayConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "UpdateVirtualNetworkGatewayConnectionTags": {
+ "$ref": "./examples/VirtualNetworkGatewayConnectionUpdateTags.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey": {
+ "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 connection Shared key operation throughNetwork resource provider."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Request successful. The operation returns the resulting ConnectionSharedKey resource.",
+ "schema": {
+ "$ref": "#/definitions/ConnectionSharedKey"
+ }
+ },
+ "200": {
+ "description": "Request successful. The operation returns the resulting ConnectionSharedKey resource.",
+ "schema": {
+ "$ref": "#/definitions/ConnectionSharedKey"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "SetVirtualNetworkGatewayConnectionSharedKey": {
+ "$ref": "./examples/VirtualNetworkGatewayConnectionSetSharedKey.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of VirtualNetworkGatewayConnection resources.",
+ "schema": {
+ "$ref": "#/definitions/ConnectionSharedKey"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetVirtualNetworkGatewayConnectionSharedKey": {
+ "$ref": "./examples/VirtualNetworkGatewayConnectionGetSharedKey.json"
+ }
+ }
+ }
+ },
+ "/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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation resets the virtual network gateway connection shared key.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkGatewayConnectionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ListVirtualNetworkGatewayConnectionsinResourceGroup": {
+ "$ref": "./examples/VirtualNetworkGatewayConnectionsList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation sets the virtual network gateway connection shared key.",
+ "schema": {
+ "$ref": "#/definitions/ConnectionResetSharedKey"
+ }
+ },
+ "202": {
+ "description": "Request successful. The operation sets the virtual network gateway connection shared key."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ResetVirtualNetworkGatewayConnectionSharedKey": {
+ "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/startPacketCapture": {
+ "post": {
+ "tags": [
+ "VirtualNetworkGatewayConnections"
+ ],
+ "operationId": "VirtualNetworkGatewayConnections_StartPacketCapture",
+ "description": "Starts packet capture on virtual network gateway connection in the specified resource group.",
+ "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."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/VpnPacketCaptureStartParameters"
+ },
+ "description": "Virtual network gateway packet capture parameters supplied to start packet capture on gateway connection."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Request successful. The operation packet capture started on virtual network gateway connection.",
+ "schema": {
+ "type": "string"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Start packet capture on virtual network gateway connection without filter": {
+ "$ref": "./examples/VirtualNetworkGatewayConnectionStartPacketCapture.json"
+ },
+ "Start packet capture on virtual network gateway connection with filter": {
+ "$ref": "./examples/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/stopPacketCapture": {
+ "post": {
+ "tags": [
+ "VirtualNetworkGatewayConnections"
+ ],
+ "operationId": "VirtualNetworkGatewayConnections_StopPacketCapture",
+ "description": "Stops packet capture on virtual network gateway connection in the specified resource group.",
+ "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."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VpnPacketCaptureStopParameters"
+ },
+ "description": "Virtual network gateway packet capture parameters supplied to stop packet capture on gateway connection."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Request successful. The operation packet capture stopped on virtual network gateway connection.",
+ "schema": {
+ "type": "string"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Stop packet capture on virtual network gateway connection": {
+ "$ref": "./examples/VirtualNetworkGatewayConnectionStopPacketCapture.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": {
+ "put": {
+ "tags": [
+ "LocalNetworkGateways"
+ ],
+ "operationId": "LocalNetworkGateways_CreateOrUpdate",
+ "description": "Creates or updates a local network gateway in the specified resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "localNetworkGatewayName",
+ "in": "path",
+ "required": true,
+ "minLength": 1,
+ "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 create or update local network gateway operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting LocalNetworkGateway resource.",
+ "schema": {
+ "$ref": "#/definitions/LocalNetworkGateway"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting LocalNetworkGateway resource.",
+ "schema": {
+ "$ref": "#/definitions/LocalNetworkGateway"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CreateLocalNetworkGateway": {
+ "$ref": "./examples/LocalNetworkGatewayCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "get": {
+ "tags": [
+ "LocalNetworkGateways"
+ ],
+ "operationId": "LocalNetworkGateways_Get",
+ "description": "Gets the specified local network gateway in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "localNetworkGatewayName",
+ "in": "path",
+ "required": true,
+ "minLength": 1,
+ "type": "string",
+ "description": "The name of the local network gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting LocalNetworkGateway resource.",
+ "schema": {
+ "$ref": "#/definitions/LocalNetworkGateway"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetLocalNetworkGateway": {
+ "$ref": "./examples/LocalNetworkGatewayGet.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "LocalNetworkGateways"
+ ],
+ "operationId": "LocalNetworkGateways_Delete",
+ "description": "Deletes the specified local network gateway.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "localNetworkGatewayName",
+ "in": "path",
+ "required": true,
+ "minLength": 1,
+ "type": "string",
+ "description": "The name of the local network gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Delete successful."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DeleteLocalNetworkGateway": {
+ "$ref": "./examples/LocalNetworkGatewayDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "patch": {
+ "tags": [
+ "LocalNetworkGateways"
+ ],
+ "operationId": "LocalNetworkGateways_UpdateTags",
+ "description": "Updates a local network gateway tags.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "localNetworkGatewayName",
+ "in": "path",
+ "required": true,
+ "minLength": 1,
+ "type": "string",
+ "description": "The name of the local network gateway."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update local network gateway tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting LocalNetworkGateway resource.",
+ "schema": {
+ "$ref": "#/definitions/LocalNetworkGateway"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "UpdateLocalNetworkGatewayTags": {
+ "$ref": "./examples/LocalNetworkGatewayUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways": {
+ "get": {
+ "tags": [
+ "LocalNetworkGateways"
+ ],
+ "operationId": "LocalNetworkGateways_List",
+ "description": "Gets all the local network gateways in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of LocalNetworkGateway resources.",
+ "schema": {
+ "$ref": "#/definitions/LocalNetworkGatewayListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ListLocalNetworkGateways": {
+ "$ref": "./examples/LocalNetworkGatewayList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getVpnClientConnectionHealth": {
+ "post": {
+ "tags": [
+ "VirtualNetworkGateways"
+ ],
+ "operationId": "VirtualNetworkGateways_GetVpnclientConnectionHealth",
+ "description": "Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified resource group.",
+ "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."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "List of VPN client connection health details.",
+ "schema": {
+ "$ref": "#/definitions/VpnClientConnectionHealthDetailListResult"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetVirtualNetworkGatewayVpnclientConnectionHealth": {
+ "$ref": "./examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "VirtualNetworkGatewayIPConfigurationPropertiesFormat": {
+ "properties": {
+ "privateIPAllocationMethod": {
+ "$ref": "./network.json#/definitions/IPAllocationMethod",
+ "description": "The private IP address allocation method."
+ },
+ "subnet": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The reference of the subnet resource."
+ },
+ "publicIPAddress": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The reference of the public IP resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the virtual network gateway IP configuration resource."
+ }
+ },
+ "description": "Properties of VirtualNetworkGatewayIPConfiguration."
+ },
+ "VirtualNetworkGatewayIPConfiguration": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualNetworkGatewayIPConfigurationPropertiesFormat",
+ "description": "Properties of the virtual network gateway ip configuration."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "IP configuration for virtual network gateway."
+ },
+ "VirtualNetworkGatewayPropertiesFormat": {
+ "properties": {
+ "ipConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualNetworkGatewayIPConfiguration"
+ },
+ "description": "IP configurations for virtual network gateway."
+ },
+ "gatewayType": {
+ "type": "string",
+ "description": "The type of this virtual network gateway.",
+ "enum": [
+ "Vpn",
+ "ExpressRoute"
+ ],
+ "x-ms-enum": {
+ "name": "VirtualNetworkGatewayType",
+ "modelAsString": true
+ }
+ },
+ "vpnType": {
+ "type": "string",
+ "description": "The type of this virtual network gateway.",
+ "enum": [
+ "PolicyBased",
+ "RouteBased"
+ ],
+ "x-ms-enum": {
+ "name": "VpnType",
+ "modelAsString": true
+ }
+ },
+ "vpnGatewayGeneration": {
+ "type": "string",
+ "description": "The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.",
+ "enum": [
+ "None",
+ "Generation1",
+ "Generation2"
+ ],
+ "x-ms-enum": {
+ "name": "VpnGatewayGeneration",
+ "modelAsString": true
+ }
+ },
+ "enableBgp": {
+ "type": "boolean",
+ "description": "Whether BGP is enabled for this virtual network gateway or not."
+ },
+ "activeActive": {
+ "type": "boolean",
+ "description": "ActiveActive flag."
+ },
+ "gatewayDefaultSite": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The reference of the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting."
+ },
+ "sku": {
+ "$ref": "#/definitions/VirtualNetworkGatewaySku",
+ "description": "The reference of the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway."
+ },
+ "vpnClientConfiguration": {
+ "$ref": "#/definitions/VpnClientConfiguration",
+ "description": "The reference of the VpnClientConfiguration resource which represents the P2S VpnClient configurations."
+ },
+ "bgpSettings": {
+ "$ref": "#/definitions/BgpSettings",
+ "description": "Virtual network gateway's BGP speaker settings."
+ },
+ "customRoutes": {
+ "$ref": "./virtualNetwork.json#/definitions/AddressSpace",
+ "description": "The reference of the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient."
+ },
+ "resourceGuid": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource GUID property of the virtual network gateway resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the virtual network gateway resource."
+ },
+ "enableDnsForwarding": {
+ "type": "boolean",
+ "description": "Whether dns forwarding is enabled or not."
+ },
+ "inboundDnsForwardingEndpoint": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The IP address allocated by the gateway to which dns requests can be sent."
+ }
+ },
+ "description": "VirtualNetworkGateway properties."
+ },
+ "VpnClientRootCertificatePropertiesFormat": {
+ "properties": {
+ "publicCertData": {
+ "type": "string",
+ "description": "The certificate public data."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the VPN client root certificate resource."
+ }
+ },
+ "required": [
+ "publicCertData"
+ ],
+ "description": "Properties of SSL certificates of application gateway."
+ },
+ "VpnClientRootCertificate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VpnClientRootCertificatePropertiesFormat",
+ "description": "Properties of the vpn client root certificate."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "required": [
+ "properties"
+ ],
+ "description": "VPN client root certificate of virtual network gateway."
+ },
+ "VpnClientRevokedCertificatePropertiesFormat": {
+ "properties": {
+ "thumbprint": {
+ "type": "string",
+ "description": "The revoked VPN client certificate thumbprint."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the VPN client revoked certificate resource."
+ }
+ },
+ "description": "Properties of the revoked VPN client certificate of virtual network gateway."
+ },
+ "VpnClientRevokedCertificate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VpnClientRevokedCertificatePropertiesFormat",
+ "description": "Properties of the vpn client revoked certificate."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "VPN client revoked certificate of virtual network gateway."
+ },
+ "VpnClientConfiguration": {
+ "properties": {
+ "vpnClientAddressPool": {
+ "$ref": "./virtualNetwork.json#/definitions/AddressSpace",
+ "description": "The reference of the address space resource which represents Address space for P2S VpnClient."
+ },
+ "vpnClientRootCertificates": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VpnClientRootCertificate"
+ },
+ "description": "VpnClientRootCertificate for virtual network gateway."
+ },
+ "vpnClientRevokedCertificates": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VpnClientRevokedCertificate"
+ },
+ "description": "VpnClientRevokedCertificate for Virtual network gateway."
+ },
+ "vpnClientProtocols": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "VPN client protocol enabled for the virtual network gateway.",
+ "enum": [
+ "IkeV2",
+ "SSTP",
+ "OpenVPN"
+ ],
+ "x-ms-enum": {
+ "name": "VpnClientProtocol",
+ "modelAsString": true
+ }
+ },
+ "description": "VpnClientProtocols for Virtual network gateway."
+ },
+ "vpnClientIpsecPolicies": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IpsecPolicy"
+ },
+ "description": "VpnClientIpsecPolicies for virtual network gateway P2S client."
+ },
+ "radiusServerAddress": {
+ "type": "string",
+ "description": "The radius server address property of the VirtualNetworkGateway resource for vpn client connection."
+ },
+ "radiusServerSecret": {
+ "type": "string",
+ "description": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."
+ },
+ "aadTenant": {
+ "type": "string",
+ "description": "The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication."
+ },
+ "aadAudience": {
+ "type": "string",
+ "description": "The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication."
+ },
+ "aadIssuer": {
+ "type": "string",
+ "description": "The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication."
+ }
+ },
+ "description": "VpnClientConfiguration for P2S client."
+ },
+ "VirtualNetworkGatewaySku": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Gateway SKU name.",
+ "enum": [
+ "Basic",
+ "HighPerformance",
+ "Standard",
+ "UltraPerformance",
+ "VpnGw1",
+ "VpnGw2",
+ "VpnGw3",
+ "VpnGw4",
+ "VpnGw5",
+ "VpnGw1AZ",
+ "VpnGw2AZ",
+ "VpnGw3AZ",
+ "VpnGw4AZ",
+ "VpnGw5AZ",
+ "ErGw1AZ",
+ "ErGw2AZ",
+ "ErGw3AZ"
+ ],
+ "x-ms-enum": {
+ "name": "VirtualNetworkGatewaySkuName",
+ "modelAsString": true
+ }
+ },
+ "tier": {
+ "type": "string",
+ "description": "Gateway SKU tier.",
+ "enum": [
+ "Basic",
+ "HighPerformance",
+ "Standard",
+ "UltraPerformance",
+ "VpnGw1",
+ "VpnGw2",
+ "VpnGw3",
+ "VpnGw4",
+ "VpnGw5",
+ "VpnGw1AZ",
+ "VpnGw2AZ",
+ "VpnGw3AZ",
+ "VpnGw4AZ",
+ "VpnGw5AZ",
+ "ErGw1AZ",
+ "ErGw2AZ",
+ "ErGw3AZ"
+ ],
+ "x-ms-enum": {
+ "name": "VirtualNetworkGatewaySkuTier",
+ "modelAsString": true
+ }
+ },
+ "capacity": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "description": "The capacity."
+ }
+ },
+ "description": "VirtualNetworkGatewaySku details."
+ },
+ "BgpSettings": {
+ "properties": {
+ "asn": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The BGP speaker's ASN."
+ },
+ "bgpPeeringAddress": {
+ "type": "string",
+ "description": "The BGP peering address and BGP identifier of this BGP speaker."
+ },
+ "peerWeight": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The weight added to routes learned from this BGP speaker."
+ }
+ },
+ "description": "BGP settings details."
+ },
+ "BgpPeerStatus": {
+ "properties": {
+ "localAddress": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The virtual network gateway's local address."
+ },
+ "neighbor": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The remote BGP peer."
+ },
+ "asn": {
+ "type": "integer",
+ "format": "int32",
+ "readOnly": true,
+ "description": "The autonomous system number of the remote BGP peer."
+ },
+ "state": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The BGP peer state.",
+ "enum": [
+ "Unknown",
+ "Stopped",
+ "Idle",
+ "Connecting",
+ "Connected"
+ ],
+ "x-ms-enum": {
+ "name": "BgpPeerState",
+ "modelAsString": true
+ }
+ },
+ "connectedDuration": {
+ "type": "string",
+ "readOnly": true,
+ "description": "For how long the peering has been up."
+ },
+ "routesReceived": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "The number of routes learned from this peer."
+ },
+ "messagesSent": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "The number of BGP messages sent."
+ },
+ "messagesReceived": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "The number of BGP messages received."
+ }
+ },
+ "description": "BGP peer status details."
+ },
+ "GatewayRoute": {
+ "properties": {
+ "localAddress": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The gateway's local address."
+ },
+ "network": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The route's network prefix."
+ },
+ "nextHop": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The route's next hop."
+ },
+ "sourcePeer": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The peer this route was learned from."
+ },
+ "origin": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The source this route was learned from."
+ },
+ "asPath": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The route's AS path sequence."
+ },
+ "weight": {
+ "type": "integer",
+ "format": "int32",
+ "readOnly": true,
+ "description": "The route's weight."
+ }
+ },
+ "description": "Gateway routing details."
+ },
+ "VirtualNetworkGateway": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualNetworkGatewayPropertiesFormat",
+ "description": "Properties of the virtual network gateway."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "required": [
+ "properties"
+ ],
+ "description": "A common class for general resource information."
+ },
+ "VpnClientParameters": {
+ "properties": {
+ "processorArchitecture": {
+ "type": "string",
+ "description": "VPN client Processor Architecture.",
+ "enum": [
+ "Amd64",
+ "X86"
+ ],
+ "x-ms-enum": {
+ "name": "ProcessorArchitecture",
+ "modelAsString": true
+ }
+ },
+ "authenticationMethod": {
+ "$ref": "./network.json#/definitions/AuthenticationMethod",
+ "description": "VPN client authentication method."
+ },
+ "radiusServerAuthCertificate": {
+ "type": "string",
+ "description": "The public certificate data for the radius server authentication certificate as a Base-64 encoded string. Required only if external radius authentication has been configured with EAPTLS authentication."
+ },
+ "clientRootCertificates": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of client root certificates public certificate data encoded as Base-64 strings. Optional parameter for external radius based authentication with EAPTLS."
+ }
+ },
+ "description": "Vpn Client Parameters for package generation."
+ },
+ "VirtualNetworkGatewayListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualNetworkGateway"
+ },
+ "description": "A list of VirtualNetworkGateway resources that exists in a resource group."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for the ListVirtualNetworkGateways API service call."
+ },
+ "BgpPeerStatusListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BgpPeerStatus"
+ },
+ "description": "List of BGP peers."
+ }
+ },
+ "description": "Response for list BGP peer status API service call."
+ },
+ "GatewayRouteListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GatewayRoute"
+ },
+ "description": "List of gateway routes."
+ }
+ },
+ "description": "List of virtual network gateway routes."
+ },
+ "TunnelConnectionHealth": {
+ "properties": {
+ "tunnel": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Tunnel name."
+ },
+ "connectionStatus": {
+ "readOnly": true,
+ "$ref": "#/definitions/VirtualNetworkGatewayConnectionStatus",
+ "description": "Virtual Network Gateway connection status."
+ },
+ "ingressBytesTransferred": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int64",
+ "description": "The Ingress Bytes Transferred in this connection."
+ },
+ "egressBytesTransferred": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int64",
+ "description": "The Egress Bytes Transferred in this connection."
+ },
+ "lastConnectionEstablishedUtcTime": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The time at which connection was established in Utc format."
+ }
+ },
+ "description": "VirtualNetworkGatewayConnection properties."
+ },
+ "VirtualNetworkGatewayConnectionPropertiesFormat": {
+ "properties": {
+ "authorizationKey": {
+ "type": "string",
+ "description": "The authorizationKey."
+ },
+ "virtualNetworkGateway1": {
+ "$ref": "#/definitions/VirtualNetworkGateway",
+ "description": "The reference to virtual network gateway resource."
+ },
+ "virtualNetworkGateway2": {
+ "$ref": "#/definitions/VirtualNetworkGateway",
+ "description": "The reference to virtual network gateway resource."
+ },
+ "localNetworkGateway2": {
+ "$ref": "#/definitions/LocalNetworkGateway",
+ "description": "The reference to local network gateway resource."
+ },
+ "connectionType": {
+ "$ref": "#/definitions/VirtualNetworkGatewayConnectionType",
+ "description": "Gateway connection type."
+ },
+ "connectionProtocol": {
+ "$ref": "#/definitions/ConnectionProtocol",
+ "description": "Connection protocol used for this connection."
+ },
+ "routingWeight": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The routing weight."
+ },
+ "sharedKey": {
+ "type": "string",
+ "description": "The IPSec shared key."
+ },
+ "connectionStatus": {
+ "readOnly": true,
+ "$ref": "#/definitions/VirtualNetworkGatewayConnectionStatus",
+ "description": "Virtual Network Gateway connection status."
+ },
+ "tunnelConnectionStatus": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TunnelConnectionHealth"
+ },
+ "description": "Collection of all tunnels' connection health status."
+ },
+ "egressBytesTransferred": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int64",
+ "description": "The egress bytes transferred in this connection."
+ },
+ "ingressBytesTransferred": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int64",
+ "description": "The ingress bytes transferred in this connection."
+ },
+ "peer": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The reference to peerings resource."
+ },
+ "enableBgp": {
+ "type": "boolean",
+ "description": "EnableBgp flag."
+ },
+ "usePolicyBasedTrafficSelectors": {
+ "type": "boolean",
+ "description": "Enable policy-based traffic selectors."
+ },
+ "ipsecPolicies": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IpsecPolicy"
+ },
+ "description": "The IPSec Policies to be considered by this connection."
+ },
+ "trafficSelectorPolicies": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TrafficSelectorPolicy"
+ },
+ "description": "The Traffic Selector Policies to be considered by this connection."
+ },
+ "resourceGuid": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource GUID property of the virtual network gateway connection resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the virtual network gateway connection resource."
+ },
+ "expressRouteGatewayBypass": {
+ "type": "boolean",
+ "description": "Bypass ExpressRoute Gateway for data forwarding."
+ }
+ },
+ "required": [
+ "virtualNetworkGateway1",
+ "connectionType"
+ ],
+ "description": "VirtualNetworkGatewayConnection properties."
+ },
+ "VirtualNetworkGatewayConnection": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualNetworkGatewayConnectionPropertiesFormat",
+ "description": "Properties of the virtual network gateway connection."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "required": [
+ "properties"
+ ],
+ "description": "A common class for general resource information."
+ },
+ "VirtualNetworkGatewayConnectionListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualNetworkGatewayConnection"
+ },
+ "description": "A list of VirtualNetworkGatewayConnection resources that exists in a resource group."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for the ListVirtualNetworkGatewayConnections API service call."
+ },
+ "ConnectionResetSharedKey": {
+ "properties": {
+ "keyLength": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 1,
+ "maximum": 128,
+ "description": "The virtual network connection reset shared key length, should between 1 and 128."
+ }
+ },
+ "required": [
+ "keyLength"
+ ],
+ "description": "The virtual network connection reset shared key."
+ },
+ "ConnectionSharedKey": {
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "The virtual network connection shared key value."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "required": [
+ "value"
+ ],
+ "description": "Response for GetConnectionSharedKey API service call."
+ },
+ "IpsecPolicy": {
+ "properties": {
+ "saLifeTimeSeconds": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel."
+ },
+ "saDataSizeKilobytes": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel."
+ },
+ "ipsecEncryption": {
+ "$ref": "#/definitions/IpsecEncryption",
+ "description": "The IPSec encryption algorithm (IKE phase 1)."
+ },
+ "ipsecIntegrity": {
+ "$ref": "#/definitions/IpsecIntegrity",
+ "description": "The IPSec integrity algorithm (IKE phase 1)."
+ },
+ "ikeEncryption": {
+ "$ref": "#/definitions/IkeEncryption",
+ "description": "The IKE encryption algorithm (IKE phase 2)."
+ },
+ "ikeIntegrity": {
+ "$ref": "#/definitions/IkeIntegrity",
+ "description": "The IKE integrity algorithm (IKE phase 2)."
+ },
+ "dhGroup": {
+ "$ref": "#/definitions/DhGroup",
+ "description": "The DH Group used in IKE Phase 1 for initial SA."
+ },
+ "pfsGroup": {
+ "$ref": "#/definitions/PfsGroup",
+ "description": "The Pfs Group used in IKE Phase 2 for new child SA."
+ }
+ },
+ "required": [
+ "saLifeTimeSeconds",
+ "saDataSizeKilobytes",
+ "ipsecEncryption",
+ "ipsecIntegrity",
+ "ikeEncryption",
+ "ikeIntegrity",
+ "dhGroup",
+ "pfsGroup"
+ ],
+ "description": "An IPSec Policy configuration for a virtual network gateway connection."
+ },
+ "TrafficSelectorPolicy": {
+ "properties": {
+ "localAddressRanges": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A collection of local address spaces in CIDR format"
+ },
+ "remoteAddressRanges": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A collection of remote address spaces in CIDR format"
+ }
+ },
+ "required": [
+ "localAddressRanges",
+ "remoteAddressRanges"
+ ],
+ "description": "An traffic selector policy for a virtual network gateway connection."
+ },
+ "ConnectionProtocol": {
+ "type": "string",
+ "description": "Gateway connection protocol.",
+ "enum": [
+ "IKEv2",
+ "IKEv1"
+ ],
+ "x-ms-enum": {
+ "name": "VirtualNetworkGatewayConnectionProtocol",
+ "modelAsString": true
+ }
+ },
+ "VpnClientIPsecParameters": {
+ "properties": {
+ "saLifeTimeSeconds": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for P2S client."
+ },
+ "saDataSizeKilobytes": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for P2S client.."
+ },
+ "ipsecEncryption": {
+ "$ref": "#/definitions/IpsecEncryption",
+ "description": "The IPSec encryption algorithm (IKE phase 1)."
+ },
+ "ipsecIntegrity": {
+ "$ref": "#/definitions/IpsecIntegrity",
+ "description": "The IPSec integrity algorithm (IKE phase 1)."
+ },
+ "ikeEncryption": {
+ "$ref": "#/definitions/IkeEncryption",
+ "description": "The IKE encryption algorithm (IKE phase 2)."
+ },
+ "ikeIntegrity": {
+ "$ref": "#/definitions/IkeIntegrity",
+ "description": "The IKE integrity algorithm (IKE phase 2)."
+ },
+ "dhGroup": {
+ "$ref": "#/definitions/DhGroup",
+ "description": "The DH Group used in IKE Phase 1 for initial SA."
+ },
+ "pfsGroup": {
+ "$ref": "#/definitions/PfsGroup",
+ "description": "The Pfs Group used in IKE Phase 2 for new child SA."
+ }
+ },
+ "required": [
+ "saLifeTimeSeconds",
+ "saDataSizeKilobytes",
+ "ipsecEncryption",
+ "ipsecIntegrity",
+ "ikeEncryption",
+ "ikeIntegrity",
+ "dhGroup",
+ "pfsGroup"
+ ],
+ "description": "An IPSec parameters for a virtual network gateway P2S connection."
+ },
+ "LocalNetworkGatewayPropertiesFormat": {
+ "properties": {
+ "localNetworkAddressSpace": {
+ "$ref": "./virtualNetwork.json#/definitions/AddressSpace",
+ "description": "Local network site address space."
+ },
+ "gatewayIpAddress": {
+ "type": "string",
+ "description": "IP address of local network gateway."
+ },
+ "bgpSettings": {
+ "$ref": "#/definitions/BgpSettings",
+ "description": "Local network gateway's BGP speaker settings."
+ },
+ "resourceGuid": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource GUID property of the local network gateway resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the local network gateway resource."
+ }
+ },
+ "description": "LocalNetworkGateway properties."
+ },
+ "LocalNetworkGateway": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/LocalNetworkGatewayPropertiesFormat",
+ "description": "Properties of the local network gateway."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "required": [
+ "properties"
+ ],
+ "description": "A common class for general resource information."
+ },
+ "LocalNetworkGatewayListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LocalNetworkGateway"
+ },
+ "description": "A list of local network gateways that exists in a resource group."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListLocalNetworkGateways API service call."
+ },
+ "VirtualNetworkConnectionGatewayReference": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The ID of VirtualNetworkGateway or LocalNetworkGateway resource."
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "description": "A reference to VirtualNetworkGateway or LocalNetworkGateway resource."
+ },
+ "VirtualNetworkGatewayConnectionListEntityPropertiesFormat": {
+ "properties": {
+ "authorizationKey": {
+ "type": "string",
+ "description": "The authorizationKey."
+ },
+ "virtualNetworkGateway1": {
+ "$ref": "#/definitions/VirtualNetworkConnectionGatewayReference",
+ "description": "The reference to virtual network gateway resource."
+ },
+ "virtualNetworkGateway2": {
+ "$ref": "#/definitions/VirtualNetworkConnectionGatewayReference",
+ "description": "The reference to virtual network gateway resource."
+ },
+ "localNetworkGateway2": {
+ "$ref": "#/definitions/VirtualNetworkConnectionGatewayReference",
+ "description": "The reference to local network gateway resource."
+ },
+ "connectionType": {
+ "$ref": "#/definitions/VirtualNetworkGatewayConnectionType",
+ "description": "Gateway connection type."
+ },
+ "connectionProtocol": {
+ "$ref": "#/definitions/ConnectionProtocol",
+ "description": "Connection protocol used for this connection."
+ },
+ "routingWeight": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The routing weight."
+ },
+ "sharedKey": {
+ "type": "string",
+ "description": "The IPSec shared key."
+ },
+ "connectionStatus": {
+ "readOnly": true,
+ "$ref": "#/definitions/VirtualNetworkGatewayConnectionStatus",
+ "description": "Virtual Network Gateway connection status."
+ },
+ "tunnelConnectionStatus": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TunnelConnectionHealth"
+ },
+ "description": "Collection of all tunnels' connection health status."
+ },
+ "egressBytesTransferred": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int64",
+ "description": "The egress bytes transferred in this connection."
+ },
+ "ingressBytesTransferred": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int64",
+ "description": "The ingress bytes transferred in this connection."
+ },
+ "peer": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The reference to peerings resource."
+ },
+ "enableBgp": {
+ "type": "boolean",
+ "description": "EnableBgp flag."
+ },
+ "usePolicyBasedTrafficSelectors": {
+ "type": "boolean",
+ "description": "Enable policy-based traffic selectors."
+ },
+ "ipsecPolicies": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IpsecPolicy"
+ },
+ "description": "The IPSec Policies to be considered by this connection."
+ },
+ "trafficSelectorPolicies": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TrafficSelectorPolicy"
+ },
+ "description": "The Traffic Selector Policies to be considered by this connection."
+ },
+ "resourceGuid": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource GUID property of the virtual network gateway connection resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the virtual network gateway connection resource."
+ },
+ "expressRouteGatewayBypass": {
+ "type": "boolean",
+ "description": "Bypass ExpressRoute Gateway for data forwarding."
+ }
+ },
+ "required": [
+ "virtualNetworkGateway1",
+ "connectionType"
+ ],
+ "description": "VirtualNetworkGatewayConnection properties."
+ },
+ "VirtualNetworkGatewayConnectionListEntity": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualNetworkGatewayConnectionListEntityPropertiesFormat",
+ "description": "Properties of the virtual network gateway connection."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "required": [
+ "properties"
+ ],
+ "description": "A common class for general resource information."
+ },
+ "VirtualNetworkGatewayListConnectionsResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualNetworkGatewayConnectionListEntity"
+ },
+ "description": "A list of VirtualNetworkGatewayConnection resources that exists in a resource group."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for the VirtualNetworkGatewayListConnections API service call."
+ },
+ "VpnDeviceScriptParameters": {
+ "properties": {
+ "vendor": {
+ "type": "string",
+ "description": "The vendor for the vpn device."
+ },
+ "deviceFamily": {
+ "type": "string",
+ "description": "The device family for the vpn device."
+ },
+ "firmwareVersion": {
+ "type": "string",
+ "description": "The firmware version for the vpn device."
+ }
+ },
+ "description": "Vpn device configuration script generation parameters."
+ },
+ "DhGroup": {
+ "type": "string",
+ "description": "The DH Groups used in IKE Phase 1 for initial SA.",
+ "enum": [
+ "None",
+ "DHGroup1",
+ "DHGroup2",
+ "DHGroup14",
+ "DHGroup2048",
+ "ECP256",
+ "ECP384",
+ "DHGroup24"
+ ],
+ "x-ms-enum": {
+ "name": "DhGroup",
+ "modelAsString": true
+ }
+ },
+ "IkeEncryption": {
+ "type": "string",
+ "description": "The IKE encryption algorithm (IKE phase 2).",
+ "enum": [
+ "DES",
+ "DES3",
+ "AES128",
+ "AES192",
+ "AES256",
+ "GCMAES256",
+ "GCMAES128"
+ ],
+ "x-ms-enum": {
+ "name": "IkeEncryption",
+ "modelAsString": true
+ }
+ },
+ "IkeIntegrity": {
+ "type": "string",
+ "description": "The IKE integrity algorithm (IKE phase 2).",
+ "enum": [
+ "MD5",
+ "SHA1",
+ "SHA256",
+ "SHA384",
+ "GCMAES256",
+ "GCMAES128"
+ ],
+ "x-ms-enum": {
+ "name": "IkeIntegrity",
+ "modelAsString": true
+ }
+ },
+ "IpsecEncryption": {
+ "type": "string",
+ "description": "The IPSec encryption algorithm (IKE phase 1).",
+ "enum": [
+ "None",
+ "DES",
+ "DES3",
+ "AES128",
+ "AES192",
+ "AES256",
+ "GCMAES128",
+ "GCMAES192",
+ "GCMAES256"
+ ],
+ "x-ms-enum": {
+ "name": "IpsecEncryption",
+ "modelAsString": true
+ }
+ },
+ "IpsecIntegrity": {
+ "type": "string",
+ "description": "The IPSec integrity algorithm (IKE phase 1).",
+ "enum": [
+ "MD5",
+ "SHA1",
+ "SHA256",
+ "GCMAES128",
+ "GCMAES192",
+ "GCMAES256"
+ ],
+ "x-ms-enum": {
+ "name": "IpsecIntegrity",
+ "modelAsString": true
+ }
+ },
+ "PfsGroup": {
+ "type": "string",
+ "description": "The Pfs Groups used in IKE Phase 2 for new child SA.",
+ "enum": [
+ "None",
+ "PFS1",
+ "PFS2",
+ "PFS2048",
+ "ECP256",
+ "ECP384",
+ "PFS24",
+ "PFS14",
+ "PFSMM"
+ ],
+ "x-ms-enum": {
+ "name": "PfsGroup",
+ "modelAsString": true
+ }
+ },
+ "VirtualNetworkGatewayConnectionStatus": {
+ "type": "string",
+ "description": "Virtual Network Gateway connection status.",
+ "enum": [
+ "Unknown",
+ "Connecting",
+ "Connected",
+ "NotConnected"
+ ],
+ "x-ms-enum": {
+ "name": "VirtualNetworkGatewayConnectionStatus",
+ "modelAsString": true
+ }
+ },
+ "VirtualNetworkGatewayConnectionType": {
+ "type": "string",
+ "description": "Gateway connection type.",
+ "enum": [
+ "IPsec",
+ "Vnet2Vnet",
+ "ExpressRoute",
+ "VPNClient"
+ ],
+ "x-ms-enum": {
+ "name": "VirtualNetworkGatewayConnectionType",
+ "modelAsString": true
+ }
+ },
+ "VpnClientConnectionHealthDetailListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VpnClientConnectionHealthDetail"
+ },
+ "description": "List of vpn client connection health."
+ }
+ },
+ "description": "List of virtual network gateway vpn client connection health."
+ },
+ "VpnClientConnectionHealthDetail": {
+ "properties": {
+ "vpnConnectionId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The vpn client Id."
+ },
+ "vpnConnectionDuration": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "The duration time of a connected vpn client."
+ },
+ "vpnConnectionTime": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The start time of a connected vpn client."
+ },
+ "publicIpAddress": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The public Ip of a connected vpn client."
+ },
+ "privateIpAddress": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The assigned private Ip of a connected vpn client."
+ },
+ "vpnUserName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The user name of a connected vpn client."
+ },
+ "maxBandwidth": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "The max band width."
+ },
+ "egressPacketsTransferred": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "The egress packets per second."
+ },
+ "egressBytesTransferred": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "The egress bytes per second."
+ },
+ "ingressPacketsTransferred": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "The ingress packets per second."
+ },
+ "ingressBytesTransferred": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "The ingress bytes per second."
+ },
+ "maxPacketsPerSecond": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "The max packets transferred per second."
+ }
+ },
+ "description": "VPN client connection health detail."
+ },
+ "VpnPacketCaptureStopParameters": {
+ "properties": {
+ "sasUrl": {
+ "type": "string",
+ "description": "SAS url for packet capture on virtual network gateway."
+ }
+ },
+ "description": "Stop packet capture parameters."
+ },
+ "VpnPacketCaptureStartParameters": {
+ "properties": {
+ "filterData": {
+ "type": "string",
+ "description": "Start Packet capture parameters."
+ }
+ },
+ "description": "Start packet capture parameters on virtual network gateway."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualNetworkTap.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualNetworkTap.json
new file mode 100644
index 000000000000..f1b58db417b1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualNetworkTap.json
@@ -0,0 +1,426 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}": {
+ "delete": {
+ "tags": [
+ "VirtualNetworkTap"
+ ],
+ "operationId": "VirtualNetworkTaps_Delete",
+ "description": "Deletes the specified virtual network tap.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "tapName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the virtual network tap."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Delete successful."
+ },
+ "202": {
+ "description": "Accepted. Sets 'Deleting' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation."
+ },
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete Virtual Network Tap resource": {
+ "$ref": "./examples/VirtualNetworkTapDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "VirtualNetworkTap"
+ ],
+ "operationId": "VirtualNetworkTaps_Get",
+ "description": "Gets information about the specified virtual network tap.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "tapName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of virtual network tap."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting VirtualNetworkTap resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkTap"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Virtual Network Tap": {
+ "$ref": "./examples/VirtualNetworkTapGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "VirtualNetworkTap"
+ ],
+ "operationId": "VirtualNetworkTaps_CreateOrUpdate",
+ "description": "Creates or updates a Virtual Network Tap.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "tapName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the virtual network tap."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkTap"
+ },
+ "description": "Parameters supplied to the create or update virtual network tap operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting VirtualNetworkTap resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkTap"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting VirtualNetworkTap resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkTap"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create Virtual Network Tap": {
+ "$ref": "./examples/VirtualNetworkTapCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "VirtualNetworkTap"
+ ],
+ "operationId": "VirtualNetworkTaps_UpdateTags",
+ "description": "Updates an VirtualNetworkTap tags.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "tapName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the tap."
+ },
+ {
+ "name": "tapParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update VirtualNetworkTap tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting VirtualNetworkTap resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkTap"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update virtual network tap tags": {
+ "$ref": "./examples/VirtualNetworkTapUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps": {
+ "get": {
+ "tags": [
+ "VirtualNetworkTaps"
+ ],
+ "operationId": "VirtualNetworkTaps_ListAll",
+ "description": "Gets all the VirtualNetworkTaps in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of Virtual Network Tap resources.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkTapListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all virtual network taps": {
+ "$ref": "./examples/VirtualNetworkTapListAll.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps": {
+ "get": {
+ "tags": [
+ "VirtualNetworkTaps"
+ ],
+ "operationId": "VirtualNetworkTaps_ListByResourceGroup",
+ "description": "Gets all the VirtualNetworkTaps in a subscription.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of Virtual Network Tap resources.",
+ "schema": {
+ "$ref": "#/definitions/VirtualNetworkTapListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List virtual network taps in resource group": {
+ "$ref": "./examples/VirtualNetworkTapList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "VirtualNetworkTap": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualNetworkTapPropertiesFormat",
+ "description": "Virtual Network Tap Properties."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Virtual Network Tap resource."
+ },
+ "VirtualNetworkTapPropertiesFormat": {
+ "description": "Virtual Network Tap properties.",
+ "properties": {
+ "networkInterfaceTapConfigurations": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./networkInterface.json#/definitions/NetworkInterfaceTapConfiguration",
+ "description": "The reference of the Network Interface."
+ },
+ "description": "Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped."
+ },
+ "resourceGuid": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The resource GUID property of the virtual network tap resource."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the virtual network tap resource."
+ },
+ "destinationNetworkInterfaceIPConfiguration": {
+ "$ref": "./networkInterface.json#/definitions/NetworkInterfaceIPConfiguration",
+ "description": "The reference to the private IP Address of the collector nic that will receive the tap."
+ },
+ "destinationLoadBalancerFrontEndIPConfiguration": {
+ "$ref": "./loadBalancer.json#/definitions/FrontendIPConfiguration",
+ "description": "The reference to the private IP address on the internal Load Balancer that will receive the tap."
+ },
+ "destinationPort": {
+ "type": "integer",
+ "description": "The VXLAN destination port that will receive the tapped traffic."
+ }
+ }
+ },
+ "VirtualNetworkTapListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualNetworkTap"
+ },
+ "description": "A list of VirtualNetworkTaps in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListVirtualNetworkTap API service call."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualRouter.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualRouter.json
new file mode 100644
index 000000000000..315ac32e8e70
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualRouter.json
@@ -0,0 +1,698 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}": {
+ "delete": {
+ "tags": [
+ "VirtualRouters"
+ ],
+ "operationId": "VirtualRouters_Delete",
+ "description": "Deletes the specified Virtual Router.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "virtualRouterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Virtual Router."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Request successful. Resource with the specified name does not exist"
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete VirtualRouter": {
+ "$ref": "./examples/VirtualRouterDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "VirtualRouters"
+ ],
+ "operationId": "VirtualRouters_Get",
+ "description": "Gets the specified Virtual Router.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "virtualRouterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Virtual Router."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced resources."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a Virtual Router resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualRouter"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get VirtualRouter": {
+ "$ref": "./examples/VirtualRouterGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "VirtualRouters"
+ ],
+ "operationId": "VirtualRouters_CreateOrUpdate",
+ "description": "Creates or updates the specified Virtual Router.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "virtualRouterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Virtual Router."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VirtualRouter"
+ },
+ "description": "Parameters supplied to the create or update Virtual Router."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Request received successfully. The operation returns the resulting Virtual Router resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualRouter"
+ }
+ },
+ "200": {
+ "description": "Request successful. The operation returns the resulting Virtual Router resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualRouter"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create VirtualRouter": {
+ "$ref": "./examples/VirtualRouterPut.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters": {
+ "get": {
+ "tags": [
+ "VirtualRouters"
+ ],
+ "operationId": "VirtualRouters_ListByResourceGroup",
+ "description": "Lists all Virtual Routers in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of Virtual Router resources.",
+ "schema": {
+ "$ref": "#/definitions/VirtualRouterListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all Virtual Router for a given resource group": {
+ "$ref": "./examples/VirtualRouterListByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualRouters": {
+ "get": {
+ "tags": [
+ "VirtualRouters"
+ ],
+ "operationId": "VirtualRouters_List",
+ "description": "Gets all the Virtual Routers in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of Virtual Router resources.",
+ "schema": {
+ "$ref": "#/definitions/VirtualRouterListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all Virtual Routers for a given subscription": {
+ "$ref": "./examples/VirtualRouterListBySubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}": {
+ "delete": {
+ "tags": [
+ "VirtualRouterPeerings"
+ ],
+ "operationId": "VirtualRouterPeerings_Delete",
+ "description": "Deletes the specified peering from a Virtual Router.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "virtualRouterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Virtual Router."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the peering."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Request successful. Resource with the specified name does not exist"
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete VirtualRouterPeering": {
+ "$ref": "./examples/VirtualRouterPeeringDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "VirtualRouterPeerings"
+ ],
+ "operationId": "VirtualRouterPeerings_Get",
+ "description": "Gets the specified Virtual Router Peering.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "virtualRouterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Virtual Router."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Virtual Router Peering."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a Virtual Router Peering resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualRouterPeering"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Virtual Router Peering": {
+ "$ref": "./examples/VirtualRouterPeeringGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "VirtualRouterPeerings"
+ ],
+ "operationId": "VirtualRouterPeerings_CreateOrUpdate",
+ "description": "Creates or updates the specified Virtual Router Peering.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "virtualRouterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Virtual Router."
+ },
+ {
+ "name": "peeringName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Virtual Router Peering."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VirtualRouterPeering"
+ },
+ "description": "Parameters supplied to the create or update Virtual Router Peering operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Request received successfully. The operation returns the resulting Virtual Router Peering resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualRouterPeering"
+ }
+ },
+ "200": {
+ "description": "Request successful. The operation returns the resulting Virtual Router Peering resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualRouterPeering"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create Virtual Router Peering": {
+ "$ref": "./examples/VirtualRouterPeeringPut.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings": {
+ "get": {
+ "tags": [
+ "VirtualRouterPeerings"
+ ],
+ "operationId": "VirtualRouterPeerings_List",
+ "description": "Lists all Virtual Router Peerings in a Virtual Router resource.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "virtualRouterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Virtual Router."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of Virtual Router Peering resources.",
+ "schema": {
+ "$ref": "#/definitions/VirtualRouterPeeringListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all Virtual Router Peerings for a given Virtual Router": {
+ "$ref": "./examples/VirtualRouterPeeringList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "VirtualRouter": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualRouterPropertiesFormat",
+ "description": "Properties of the Virtual Router."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Gets a unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "VirtualRouter Resource."
+ },
+ "VirtualRouterPropertiesFormat": {
+ "properties": {
+ "virtualRouterAsn": {
+ "type": "integer",
+ "readOnly": false,
+ "format": "int64",
+ "minimum": 0,
+ "maximum": 4294967295,
+ "description": "VirtualRouter ASN."
+ },
+ "virtualRouterIps": {
+ "type": "array",
+ "readOnly": false,
+ "description": "VirtualRouter IPs",
+ "items": {
+ "type": "string"
+ }
+ },
+ "hostedSubnet": {
+ "readOnly": false,
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The Subnet on which VirtualRouter is hosted."
+ },
+ "hostedGateway": {
+ "readOnly": false,
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The Gateway on which VirtualRouter is hosted."
+ },
+ "peerings": {
+ "type": "array",
+ "readOnly": true,
+ "description": "List of references to VirtualRouterPeerings",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ },
+ "provisioningState": {
+ "description": "The provisioning state of the resource.",
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState"
+ }
+ },
+ "description": "Virtual Router definition"
+ },
+ "VirtualRouterPeering": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualRouterPeeringProperties",
+ "description": "The properties of the Virtual Router Peering."
+ },
+ "name": {
+ "type": "string",
+ "description": "Gets name of the peering unique to VirtualRouter. This name can be used to access the resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Gets a unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Peering type."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Virtual Router Peering resource"
+ },
+ "VirtualRouterPeeringProperties": {
+ "properties": {
+ "peerAsn": {
+ "type": "integer",
+ "readOnly": false,
+ "format": "int64",
+ "minimum": 0,
+ "maximum": 4294967295,
+ "description": "Peer ASN."
+ },
+ "peerIp": {
+ "type": "string",
+ "readOnly": false,
+ "description": "Peer IP."
+ },
+ "provisioningState": {
+ "description": "The provisioning state of the resource.",
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState"
+ }
+ },
+ "description": "Properties of the rule group."
+ },
+ "VirtualRouterListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualRouter"
+ },
+ "description": "List of Virtual Routers."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListVirtualRouters API service call."
+ },
+ "VirtualRouterPeeringListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualRouterPeering"
+ },
+ "description": "List of VirtualRouterPeerings in a VirtualRouter."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListVirtualRouterPeerings API service call."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualWan.json
new file mode 100644
index 000000000000..321c0eef5292
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualWan.json
@@ -0,0 +1,4529 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "VirtualWANAsAServiceManagementClient",
+ "description": "REST API for Azure VirtualWAN As a Service.",
+ "version": "2019-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}": {
+ "get": {
+ "operationId": "VirtualWans_Get",
+ "x-ms-examples": {
+ "VirtualWANGet": {
+ "$ref": "./examples/VirtualWANGet.json"
+ }
+ },
+ "description": "Retrieves the details of a VirtualWAN.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VirtualWan."
+ },
+ {
+ "name": "VirtualWANName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VirtualWAN being retrieved."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the VirtualWAN retrieved.",
+ "schema": {
+ "$ref": "#/definitions/VirtualWAN"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "VirtualWans_CreateOrUpdate",
+ "x-ms-examples": {
+ "VirtualWANCreate": {
+ "$ref": "./examples/VirtualWANPut.json"
+ }
+ },
+ "description": "Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VirtualWan."
+ },
+ {
+ "name": "VirtualWANName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VirtualWAN being created or updated."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "WANParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VirtualWAN"
+ },
+ "description": "Parameters supplied to create or update VirtualWAN."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the VirtualWAN created or updated.",
+ "schema": {
+ "$ref": "#/definitions/VirtualWAN"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting VirtualWAN resource.",
+ "schema": {
+ "$ref": "#/definitions/VirtualWAN"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "VirtualWANs"
+ ],
+ "operationId": "VirtualWans_UpdateTags",
+ "x-ms-examples": {
+ "VirtualWANUpdate": {
+ "$ref": "./examples/VirtualWANUpdateTags.json"
+ }
+ },
+ "description": "Updates a VirtualWAN tags.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VirtualWan."
+ },
+ {
+ "name": "VirtualWANName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VirtualWAN being updated."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "WANParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to Update VirtualWAN tags."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the VirtualWAN updated.",
+ "schema": {
+ "$ref": "#/definitions/VirtualWAN"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "VirtualWans_Delete",
+ "x-ms-examples": {
+ "VirtualWANDelete": {
+ "$ref": "./examples/VirtualWANDelete.json"
+ }
+ },
+ "description": "Deletes a VirtualWAN.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VirtualWan."
+ },
+ {
+ "name": "VirtualWANName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VirtualWAN being deleted."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. VirtualWAN deleted."
+ },
+ "202": {
+ "description": "Request received successfully. VirtualWAN deletion is in progress; follow the Location header to poll for final outcome."
+ },
+ "204": {
+ "description": "No VirtualWANs exist by the name provided."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans": {
+ "get": {
+ "operationId": "VirtualWans_ListByResourceGroup",
+ "x-ms-examples": {
+ "VirtualWANListByResourceGroup": {
+ "$ref": "./examples/VirtualWANListByResourceGroup.json"
+ }
+ },
+ "description": "Lists all the VirtualWANs in a resource group.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VirtualWan."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of all the VirtualWANs in the resource group.",
+ "schema": {
+ "$ref": "#/definitions/ListVirtualWANsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualWans": {
+ "get": {
+ "operationId": "VirtualWans_List",
+ "x-ms-examples": {
+ "VirtualWANList": {
+ "$ref": "./examples/VirtualWANList.json"
+ }
+ },
+ "description": "Lists all the VirtualWANs in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of all the VirtualWANs in the subscription.",
+ "schema": {
+ "$ref": "#/definitions/ListVirtualWANsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}": {
+ "get": {
+ "operationId": "VpnSites_Get",
+ "x-ms-examples": {
+ "VpnSiteGet": {
+ "$ref": "./examples/VpnSiteGet.json"
+ }
+ },
+ "description": "Retrieves the details of a VPN site.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnSite."
+ },
+ {
+ "name": "vpnSiteName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VpnSite being retrieved."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the VpnSite retrieved.",
+ "schema": {
+ "$ref": "#/definitions/VpnSite"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "VpnSites_CreateOrUpdate",
+ "x-ms-examples": {
+ "VpnSiteCreate": {
+ "$ref": "./examples/VpnSitePut.json"
+ }
+ },
+ "description": "Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnSite."
+ },
+ {
+ "name": "vpnSiteName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VpnSite being created or updated."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "VpnSiteParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VpnSite"
+ },
+ "description": "Parameters supplied to create or update VpnSite."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the VpnSite created or updated.",
+ "schema": {
+ "$ref": "#/definitions/VpnSite"
+ }
+ },
+ "201": {
+ "description": "Request received successfully. Returns the details of the VpnSite created or updated.",
+ "schema": {
+ "$ref": "#/definitions/VpnSite"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "VpnSites"
+ ],
+ "operationId": "VpnSites_UpdateTags",
+ "x-ms-examples": {
+ "VpnSiteUpdate": {
+ "$ref": "./examples/VpnSiteUpdateTags.json"
+ }
+ },
+ "description": "Updates VpnSite tags.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnSite."
+ },
+ {
+ "name": "vpnSiteName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VpnSite being updated."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "VpnSiteParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update VpnSite tags."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the VpnSite updated.",
+ "schema": {
+ "$ref": "#/definitions/VpnSite"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "VpnSites_Delete",
+ "x-ms-examples": {
+ "VpnSiteDelete": {
+ "$ref": "./examples/VpnSiteDelete.json"
+ }
+ },
+ "description": "Deletes a VpnSite.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnSite."
+ },
+ {
+ "name": "vpnSiteName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VpnSite being deleted."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. VpnSite deleted."
+ },
+ "202": {
+ "description": "Request received successfully. VpnSite deletion is in progress."
+ },
+ "204": {
+ "description": "No VpnSites exist by the name provided."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites": {
+ "get": {
+ "operationId": "VpnSites_ListByResourceGroup",
+ "x-ms-examples": {
+ "VpnSiteListByResourceGroup": {
+ "$ref": "./examples/VpnSiteListByResourceGroup.json"
+ }
+ },
+ "description": "Lists all the vpnSites in a resource group.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnSite."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of all the vpnSites in the resource group.",
+ "schema": {
+ "$ref": "#/definitions/ListVpnSitesResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks/{vpnSiteLinkName}": {
+ "get": {
+ "operationId": "VpnSiteLinks_Get",
+ "x-ms-examples": {
+ "VpnSiteGet": {
+ "$ref": "./examples/VpnSiteLinkGet.json"
+ }
+ },
+ "description": "Retrieves the details of a VPN site link.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnSite."
+ },
+ {
+ "name": "vpnSiteName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VpnSite."
+ },
+ {
+ "name": "vpnSiteLinkName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VpnSiteLink being retrieved."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the VpnSiteLink retrieved.",
+ "schema": {
+ "$ref": "#/definitions/VpnSiteLink"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks": {
+ "get": {
+ "operationId": "VpnSiteLinks_ListByVpnSite",
+ "x-ms-examples": {
+ "VpnSiteLinkListByVpnSite": {
+ "$ref": "./examples/VpnSiteLinkListByVpnSite.json"
+ }
+ },
+ "description": "Lists all the vpnSiteLinks in a resource group for a vpn site.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnSite."
+ },
+ {
+ "name": "vpnSiteName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VpnSite."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of all the vpnSites in the resource group.",
+ "schema": {
+ "$ref": "#/definitions/ListVpnSiteLinksResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnSites": {
+ "get": {
+ "operationId": "VpnSites_List",
+ "x-ms-examples": {
+ "VpnSiteList": {
+ "$ref": "./examples/VpnSiteList.json"
+ }
+ },
+ "description": "Lists all the VpnSites in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of all the VpnSites in the subscription.",
+ "schema": {
+ "$ref": "#/definitions/ListVpnSitesResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnConfiguration": {
+ "post": {
+ "operationId": "VpnSitesConfiguration_Download",
+ "x-ms-examples": {
+ "VpnSitesConfigurationDownload": {
+ "$ref": "./examples/VpnSitesConfigurationDownload.json"
+ }
+ },
+ "description": "Gives the sas-url to download the configurations for vpn-sites in a resource group.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name."
+ },
+ {
+ "name": "virtualWANName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VirtualWAN for which configuration of all vpn-sites is needed."
+ },
+ {
+ "name": "request",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GetVpnSitesConfigurationRequest"
+ },
+ "description": "Parameters supplied to download vpn-sites configuration."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Follow the location header for sas-url to output blob."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously. Follow the location header for sas-url to output blob."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders": {
+ "get": {
+ "operationId": "SupportedSecurityProviders",
+ "x-ms-examples": {
+ "supportedSecurityProviders": {
+ "$ref": "./examples/VirtualWanSupportedSecurityProviders.json"
+ }
+ },
+ "description": "Gives the supported security providers for the virtual wan.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name."
+ },
+ {
+ "name": "virtualWANName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VirtualWAN for which supported security providers are needed."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the object containing supported security providers.",
+ "schema": {
+ "$ref": "#/definitions/VirtualWanSecurityProviders"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}": {
+ "get": {
+ "operationId": "VpnServerConfigurations_Get",
+ "x-ms-examples": {
+ "VpnServerConfigurationGet": {
+ "$ref": "./examples/VpnServerConfigurationGet.json"
+ }
+ },
+ "description": "Retrieves the details of a VpnServerConfiguration.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnServerConfiguration."
+ },
+ {
+ "name": "vpnServerConfigurationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VpnServerConfiguration being retrieved."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the VpnServerConfiguration retrieved.",
+ "schema": {
+ "$ref": "#/definitions/VpnServerConfiguration"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "VpnServerConfigurations_CreateOrUpdate",
+ "x-ms-examples": {
+ "VpnServerConfigurationCreate": {
+ "$ref": "./examples/VpnServerConfigurationPut.json"
+ }
+ },
+ "description": "Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnServerConfiguration."
+ },
+ {
+ "name": "vpnServerConfigurationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VpnServerConfiguration being created or updated."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "VpnServerConfigurationParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VpnServerConfiguration"
+ },
+ "description": "Parameters supplied to create or update VpnServerConfiguration."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the VpnServerConfiguration created or updated.",
+ "schema": {
+ "$ref": "#/definitions/VpnServerConfiguration"
+ }
+ },
+ "201": {
+ "description": "Request received successfully. Returns the details of the VpnServerConfiguration created or updated.",
+ "schema": {
+ "$ref": "#/definitions/VpnServerConfiguration"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "VpnServerConfigurations"
+ ],
+ "operationId": "VpnServerConfigurations_UpdateTags",
+ "x-ms-examples": {
+ "VpnServerConfigurationUpdate": {
+ "$ref": "./examples/VpnServerConfigurationUpdateTags.json"
+ }
+ },
+ "description": "Updates VpnServerConfiguration tags.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnServerConfiguration."
+ },
+ {
+ "name": "vpnServerConfigurationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VpnServerConfiguration being updated."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "VpnServerConfigurationParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update VpnServerConfiguration tags."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the VpnServerConfiguration updated.",
+ "schema": {
+ "$ref": "#/definitions/VpnServerConfiguration"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "VpnServerConfigurations_Delete",
+ "x-ms-examples": {
+ "VpnServerConfigurationDelete": {
+ "$ref": "./examples/VpnServerConfigurationDelete.json"
+ }
+ },
+ "description": "Deletes a VpnServerConfiguration.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnServerConfiguration."
+ },
+ {
+ "name": "vpnServerConfigurationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VpnServerConfiguration being deleted."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. VpnServerConfiguration deleted."
+ },
+ "202": {
+ "description": "Request received successfully. VpnServerConfiguration deletion is in progress."
+ },
+ "204": {
+ "description": "No VpnServerConfigurations exist by the name provided."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations": {
+ "get": {
+ "operationId": "VpnServerConfigurations_ListByResourceGroup",
+ "x-ms-examples": {
+ "VpnServerConfigurationListByResourceGroup": {
+ "$ref": "./examples/VpnServerConfigurationListByResourceGroup.json"
+ }
+ },
+ "description": "Lists all the vpnServerConfigurations in a resource group.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnServerConfiguration."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of all the vpnServerConfigurations in the resource group.",
+ "schema": {
+ "$ref": "#/definitions/ListVpnServerConfigurationsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnServerConfigurations": {
+ "get": {
+ "operationId": "VpnServerConfigurations_List",
+ "x-ms-examples": {
+ "VpnServerConfigurationList": {
+ "$ref": "./examples/VpnServerConfigurationList.json"
+ }
+ },
+ "description": "Lists all the VpnServerConfigurations in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of all the VpnServerConfigurations in the subscription.",
+ "schema": {
+ "$ref": "#/definitions/ListVpnServerConfigurationsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}": {
+ "get": {
+ "operationId": "VirtualHubs_Get",
+ "x-ms-examples": {
+ "VirtualHubGet": {
+ "$ref": "./examples/VirtualHubGet.json"
+ }
+ },
+ "description": "Retrieves the details of a VirtualHub.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VirtualHub."
+ },
+ {
+ "name": "virtualHubName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VirtualHub."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the VirtualHub retrieved.",
+ "schema": {
+ "$ref": "#/definitions/VirtualHub"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "VirtualHubs_CreateOrUpdate",
+ "x-ms-examples": {
+ "VirtualHubPut": {
+ "$ref": "./examples/VirtualHubPut.json"
+ }
+ },
+ "description": "Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VirtualHub."
+ },
+ {
+ "name": "virtualHubName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VirtualHub."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "virtualHubParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VirtualHub"
+ },
+ "description": "Parameters supplied to create or update VirtualHub."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the VirtualHub created or updated.",
+ "schema": {
+ "$ref": "#/definitions/VirtualHub"
+ }
+ },
+ "201": {
+ "description": "Request received successfully. Returns the details of the VirtualHub created or updated.",
+ "schema": {
+ "$ref": "#/definitions/VirtualHub"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "VirtualWANs"
+ ],
+ "operationId": "VirtualHubs_UpdateTags",
+ "x-ms-examples": {
+ "VirtualHubUpdate": {
+ "$ref": "./examples/VirtualHubUpdateTags.json"
+ }
+ },
+ "description": "Updates VirtualHub tags.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VirtualHub."
+ },
+ {
+ "name": "virtualHubName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VirtualHub."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "virtualHubParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update VirtualHub tags."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the VirtualHub updated.",
+ "schema": {
+ "$ref": "#/definitions/VirtualHub"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "VirtualHubs_Delete",
+ "x-ms-examples": {
+ "VirtualHubDelete": {
+ "$ref": "./examples/VirtualHubDelete.json"
+ }
+ },
+ "description": "Deletes a VirtualHub.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VirtualHub."
+ },
+ {
+ "name": "virtualHubName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VirtualHub."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. VirtualHub deleted."
+ },
+ "202": {
+ "description": "Request received successfully. VirtualHub deletion is in progress; follow the Location header to poll for final outcome."
+ },
+ "204": {
+ "description": "No VirtualHubs exist by the name provided."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs": {
+ "get": {
+ "operationId": "VirtualHubs_ListByResourceGroup",
+ "x-ms-examples": {
+ "VirtualHubListByResourceGroup": {
+ "$ref": "./examples/VirtualHubListByResourceGroup.json"
+ }
+ },
+ "description": "Lists all the VirtualHubs in a resource group.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VirtualHub."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of all the VirtualHubs in the resource group.",
+ "schema": {
+ "$ref": "#/definitions/ListVirtualHubsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualHubs": {
+ "get": {
+ "operationId": "VirtualHubs_List",
+ "x-ms-examples": {
+ "VirtualHubList": {
+ "$ref": "./examples/VirtualHubList.json"
+ }
+ },
+ "description": "Lists all the VirtualHubs in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of all the VirtualHubs in the subscription.",
+ "schema": {
+ "$ref": "#/definitions/ListVirtualHubsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}": {
+ "get": {
+ "operationId": "HubVirtualNetworkConnections_Get",
+ "x-ms-examples": {
+ "HubVirtualNetworkConnectionGet": {
+ "$ref": "./examples/HubVirtualNetworkConnectionGet.json"
+ }
+ },
+ "description": "Retrieves the details of a HubVirtualNetworkConnection.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VirtualHub."
+ },
+ {
+ "name": "virtualHubName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VirtualHub."
+ },
+ {
+ "name": "connectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the vpn connection."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the HubVirtualNetworkConnection retrieved.",
+ "schema": {
+ "$ref": "#/definitions/HubVirtualNetworkConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections": {
+ "get": {
+ "operationId": "HubVirtualNetworkConnections_List",
+ "x-ms-examples": {
+ "HubVirtualNetworkConnectionList": {
+ "$ref": "./examples/HubVirtualNetworkConnectionList.json"
+ }
+ },
+ "description": "Retrieves the details of all HubVirtualNetworkConnections.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VirtualHub."
+ },
+ {
+ "name": "virtualHubName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VirtualHub."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of all the HubVirtualNetworkConnections for the VirtualHub.",
+ "schema": {
+ "$ref": "#/definitions/ListHubVirtualNetworkConnectionsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}": {
+ "get": {
+ "operationId": "VpnGateways_Get",
+ "x-ms-examples": {
+ "VpnGatewayGet": {
+ "$ref": "./examples/VpnGatewayGet.json"
+ }
+ },
+ "description": "Retrieves the details of a virtual wan vpn gateway.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnGateway."
+ },
+ {
+ "name": "gatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the virtual wan vpn gateway retrieved.",
+ "schema": {
+ "$ref": "#/definitions/VpnGateway"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "VpnGateways_CreateOrUpdate",
+ "x-ms-examples": {
+ "VpnGatewayPut": {
+ "$ref": "./examples/VpnGatewayPut.json"
+ }
+ },
+ "description": "Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnGateway."
+ },
+ {
+ "name": "gatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "vpnGatewayParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VpnGateway"
+ },
+ "description": "Parameters supplied to create or Update a virtual wan vpn gateway."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the virtual wan vpn Gateway created or updated.",
+ "schema": {
+ "$ref": "#/definitions/VpnGateway"
+ }
+ },
+ "201": {
+ "description": "Request successful. Returns the details of the virtual wan vpn gateway retrieved.",
+ "schema": {
+ "$ref": "#/definitions/VpnGateway"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "VpnGateways"
+ ],
+ "operationId": "VpnGateways_UpdateTags",
+ "x-ms-examples": {
+ "VpnGatewayUpdate": {
+ "$ref": "./examples/VpnGatewayUpdateTags.json"
+ }
+ },
+ "description": "Updates virtual wan vpn gateway tags.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnGateway."
+ },
+ {
+ "name": "gatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "vpnGatewayParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update a virtual wan vpn gateway tags."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the updated gateway.",
+ "schema": {
+ "$ref": "#/definitions/VpnGateway"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "VpnGateways_Delete",
+ "x-ms-examples": {
+ "VpnGatewayDelete": {
+ "$ref": "./examples/VpnGatewayDelete.json"
+ }
+ },
+ "description": "Deletes a virtual wan vpn gateway.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnGateway."
+ },
+ {
+ "name": "gatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Vpn Gateway deleted."
+ },
+ "202": {
+ "description": "Request received successfully. Vpn Gateway deletion is in progress; follow the Location header to poll for final outcome."
+ },
+ "204": {
+ "description": "No vpn gateways exist by the name provided."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/reset": {
+ "post": {
+ "tags": [
+ "VpnGateways"
+ ],
+ "operationId": "VpnGateways_Reset",
+ "description": "Resets the primary of the vpn gateway in the specified resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnGateway."
+ },
+ {
+ "name": "gatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation reset the primary of the VpnGateway.",
+ "schema": {
+ "$ref": "#/definitions/VpnGateway"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ResetVpnGateway": {
+ "$ref": "./examples/VpnGatewayReset.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways": {
+ "get": {
+ "operationId": "VpnGateways_ListByResourceGroup",
+ "x-ms-examples": {
+ "VpnGatewayListByResourceGroup": {
+ "$ref": "./examples/VpnGatewayListByResourceGroup.json"
+ }
+ },
+ "description": "Lists all the VpnGateways in a resource group.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnGateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of all the VpnGateways in the resource group.",
+ "schema": {
+ "$ref": "#/definitions/ListVpnGatewaysResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways": {
+ "get": {
+ "operationId": "VpnGateways_List",
+ "x-ms-examples": {
+ "VpnGatewayListBySubscription": {
+ "$ref": "./examples/VpnGatewayList.json"
+ }
+ },
+ "description": "Lists all the VpnGateways in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of all the VpnGateways in the subscription.",
+ "schema": {
+ "$ref": "#/definitions/ListVpnGatewaysResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}": {
+ "get": {
+ "operationId": "VpnConnections_Get",
+ "x-ms-examples": {
+ "VpnConnectionGet": {
+ "$ref": "./examples/VpnConnectionGet.json"
+ }
+ },
+ "description": "Retrieves the details of a vpn connection.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnGateway."
+ },
+ {
+ "name": "gatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gateway."
+ },
+ {
+ "name": "connectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the vpn connection."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the vpn connection.",
+ "schema": {
+ "$ref": "#/definitions/VpnConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "VpnConnections_CreateOrUpdate",
+ "x-ms-examples": {
+ "VpnConnectionPut": {
+ "$ref": "./examples/VpnConnectionPut.json"
+ }
+ },
+ "description": "Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnGateway."
+ },
+ {
+ "name": "gatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gateway."
+ },
+ {
+ "name": "connectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the connection."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "VpnConnectionParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VpnConnection"
+ },
+ "description": "Parameters supplied to create or Update a VPN Connection."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the vpn connection created or updated.",
+ "schema": {
+ "$ref": "#/definitions/VpnConnection"
+ }
+ },
+ "201": {
+ "description": "Request successful. Returns the details of the vpn connection created or updated.",
+ "schema": {
+ "$ref": "#/definitions/VpnConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "delete": {
+ "operationId": "VpnConnections_Delete",
+ "x-ms-examples": {
+ "VpnConnectionDelete": {
+ "$ref": "./examples/VpnConnectionDelete.json"
+ }
+ },
+ "description": "Deletes a vpn connection.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnGateway."
+ },
+ {
+ "name": "gatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gateway."
+ },
+ {
+ "name": "connectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the connection."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Vpn Connection deleted."
+ },
+ "202": {
+ "description": "Request received successfully. Vpn Connection deletion is in progress; follow the Location header to poll for final outcome."
+ },
+ "204": {
+ "description": "No vpn connections exist by the name provided."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}": {
+ "get": {
+ "operationId": "VpnSiteLinkConnections_Get",
+ "x-ms-examples": {
+ "VpnSiteLinkConnectionGet": {
+ "$ref": "./examples/VpnSiteLinkConnectionGet.json"
+ }
+ },
+ "description": "Retrieves the details of a vpn site link connection.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnGateway."
+ },
+ {
+ "name": "gatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gateway."
+ },
+ {
+ "name": "connectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the vpn connection."
+ },
+ {
+ "name": "linkConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the vpn connection."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the vpn connection.",
+ "schema": {
+ "$ref": "#/definitions/VpnSiteLinkConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections": {
+ "get": {
+ "operationId": "VpnConnections_ListByVpnGateway",
+ "x-ms-examples": {
+ "VpnConnectionList": {
+ "$ref": "./examples/VpnConnectionList.json"
+ }
+ },
+ "description": "Retrieves all vpn connections for a particular virtual wan vpn gateway.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnGateway."
+ },
+ {
+ "name": "gatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns all Vpn connections for a virtual wan vpn gateway.",
+ "schema": {
+ "$ref": "#/definitions/ListVpnConnectionsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections": {
+ "get": {
+ "operationId": "VpnLinkConnections_ListByVpnConnection",
+ "x-ms-examples": {
+ "VpnSiteLinkConnectionList": {
+ "$ref": "./examples/VpnSiteLinkConnectionList.json"
+ }
+ },
+ "description": "Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VpnGateway."
+ },
+ {
+ "name": "gatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gateway."
+ },
+ {
+ "name": "connectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the vpn connection."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns all Vpn connections for a virtual wan vpn gateway.",
+ "schema": {
+ "$ref": "#/definitions/ListVpnSiteLinkConnectionsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}": {
+ "get": {
+ "operationId": "P2sVpnGateways_Get",
+ "x-ms-examples": {
+ "P2SVpnGatewayGet": {
+ "$ref": "./examples/P2SVpnGatewayGet.json"
+ }
+ },
+ "description": "Retrieves the details of a virtual wan p2s vpn gateway.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the P2SVpnGateway."
+ },
+ {
+ "name": "gatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the virtual wan p2s vpn gateway retrieved.",
+ "schema": {
+ "$ref": "#/definitions/P2SVpnGateway"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "P2sVpnGateways_CreateOrUpdate",
+ "x-ms-examples": {
+ "P2SVpnGatewayPut": {
+ "$ref": "./examples/P2SVpnGatewayPut.json"
+ }
+ },
+ "description": "Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the P2SVpnGateway."
+ },
+ {
+ "name": "gatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "p2SVpnGatewayParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/P2SVpnGateway"
+ },
+ "description": "Parameters supplied to create or Update a virtual wan p2s vpn gateway."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the virtual wan p2s vpn Gateway created or updated.",
+ "schema": {
+ "$ref": "#/definitions/P2SVpnGateway"
+ }
+ },
+ "201": {
+ "description": "Request successful. Returns the details of the virtual wan p2s vpn gateway retrieved.",
+ "schema": {
+ "$ref": "#/definitions/P2SVpnGateway"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "P2SVpnGateways"
+ ],
+ "operationId": "P2sVpnGateways_UpdateTags",
+ "x-ms-examples": {
+ "P2SVpnGatewayUpdate": {
+ "$ref": "./examples/P2SVpnGatewayUpdateTags.json"
+ }
+ },
+ "description": "Updates virtual wan p2s vpn gateway tags.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the P2SVpnGateway."
+ },
+ {
+ "name": "gatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "p2SVpnGatewayParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update a virtual wan p2s vpn gateway tags."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the updated gateway.",
+ "schema": {
+ "$ref": "#/definitions/P2SVpnGateway"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "P2sVpnGateways_Delete",
+ "x-ms-examples": {
+ "P2SVpnGatewayDelete": {
+ "$ref": "./examples/P2SVpnGatewayDelete.json"
+ }
+ },
+ "description": "Deletes a virtual wan p2s vpn gateway.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the P2SVpnGateway."
+ },
+ {
+ "name": "gatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. P2SVpnGateway deleted."
+ },
+ "202": {
+ "description": "Request received successfully. P2SVpnGateway deletion is in progress; follow the Location header to poll for final outcome."
+ },
+ "204": {
+ "description": "No p2s vpn gateways exist by the name provided."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways": {
+ "get": {
+ "operationId": "P2sVpnGateways_ListByResourceGroup",
+ "x-ms-examples": {
+ "P2SVpnGatewayListByResourceGroup": {
+ "$ref": "./examples/P2SVpnGatewayListByResourceGroup.json"
+ }
+ },
+ "description": "Lists all the P2SVpnGateways in a resource group.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the P2SVpnGateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of all the P2SVpnGateways in the resource group.",
+ "schema": {
+ "$ref": "#/definitions/ListP2SVpnGatewaysResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/p2svpnGateways": {
+ "get": {
+ "operationId": "P2sVpnGateways_List",
+ "x-ms-examples": {
+ "P2SVpnGatewayListBySubscription": {
+ "$ref": "./examples/P2SVpnGatewayList.json"
+ }
+ },
+ "description": "Lists all the P2SVpnGateways in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of all the P2SVpnGateways in the subscription.",
+ "schema": {
+ "$ref": "#/definitions/ListP2SVpnGatewaysResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/generatevpnprofile": {
+ "post": {
+ "tags": [
+ "P2SVpnGateways"
+ ],
+ "operationId": "P2sVpnGateways_GenerateVpnProfile",
+ "description": "Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "gatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the P2SVpnGateway."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/P2SVpnProfileParameters"
+ },
+ "description": "Parameters supplied to the generate P2SVpnGateway VPN client package operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "VPN profile package URL.",
+ "schema": {
+ "$ref": "#/definitions/VpnProfileResponse"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GenerateP2SVpnGatewayVPNProfile": {
+ "$ref": "./examples/P2SVpnGatewayGenerateVpnProfile.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealth": {
+ "post": {
+ "tags": [
+ "P2SVpnGateways"
+ ],
+ "operationId": "P2sVpnGateways_GetP2sVpnConnectionHealth",
+ "description": "Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "gatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the P2SVpnGateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "P2S Vpn Gateway with P2S connection health details.",
+ "schema": {
+ "$ref": "#/definitions/P2SVpnGateway"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "P2SVpnGatewayGetConnectionHealth": {
+ "$ref": "./examples/P2SVpnGatewayGetConnectionHealth.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealthDetailed": {
+ "post": {
+ "tags": [
+ "P2SVpnGateways"
+ ],
+ "operationId": "P2sVpnGateways_GetP2sVpnConnectionHealthDetailed",
+ "description": "Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "gatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the P2SVpnGateway."
+ },
+ {
+ "name": "request",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/P2SVpnConnectionHealthRequest"
+ },
+ "description": "Request parameters supplied to get p2s vpn connections detailed health."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "P2S connections detailed health report.",
+ "schema": {
+ "$ref": "#/definitions/P2SVpnConnectionHealth"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "P2SVpnGatewayGetConnectionHealthDetailed": {
+ "$ref": "./examples/P2SVpnGatewayGetConnectionHealthDetailed.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnServerConfigurations": {
+ "post": {
+ "operationId": "VpnServerConfigurationsAssociatedWithVirtualWan_List",
+ "x-ms-examples": {
+ "GetVirtualWanVpnServerConfigurations": {
+ "$ref": "./examples/GetVirtualWanVpnServerConfigurations.json"
+ }
+ },
+ "description": "Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name."
+ },
+ {
+ "name": "virtualWANName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VirtualWAN whose associated VpnServerConfigurations is needed."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "List of associated VpnServerConfigurations list.",
+ "schema": {
+ "$ref": "#/definitions/VpnServerConfigurationsResponse"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously. Follow the location header for list of associated VpnServerConfigurations list."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/GenerateVpnProfile": {
+ "post": {
+ "operationId": "generatevirtualwanvpnserverconfigurationvpnprofile",
+ "x-ms-examples": {
+ "GenerateVirtualWanVpnServerConfigurationVpnProfile": {
+ "$ref": "./examples/GenerateVirtualWanVpnServerConfigurationVpnProfile.json"
+ }
+ },
+ "description": "Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination in the specified resource group.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name."
+ },
+ {
+ "name": "virtualWANName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VirtualWAN whose associated VpnServerConfigurations is needed."
+ },
+ {
+ "name": "vpnClientParams",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VirtualWanVpnProfileParameters"
+ },
+ "description": "Parameters supplied to the generate VirtualWan VPN profile generation operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "VPN profile package URL.",
+ "schema": {
+ "$ref": "#/definitions/VpnProfileResponse"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}": {
+ "get": {
+ "operationId": "VirtualHubRouteTableV2s_Get",
+ "x-ms-examples": {
+ "VirtualHubVirtualHubRouteTableV2Get": {
+ "$ref": "./examples/VirtualHubRouteTableV2Get.json"
+ }
+ },
+ "description": "Retrieves the details of a VirtualHubRouteTableV2.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VirtualHubRouteTableV2."
+ },
+ {
+ "name": "virtualHubName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VirtualHub."
+ },
+ {
+ "name": "routeTableName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VirtualHubRouteTableV2."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the VirtualHubRouteTableV2 retrieved.",
+ "schema": {
+ "$ref": "#/definitions/VirtualHubRouteTableV2"
+ }
+ },
+ "default": {
+ "description": "Error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "VirtualHubRouteTableV2s_CreateOrUpdate",
+ "x-ms-examples": {
+ "VirtualHubRouteTableV2Put": {
+ "$ref": "./examples/VirtualHubRouteTableV2Put.json"
+ }
+ },
+ "description": "Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VirtualHub."
+ },
+ {
+ "name": "virtualHubName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VirtualHub."
+ },
+ {
+ "name": "routeTableName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VirtualHubRouteTableV2."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "virtualHubRouteTableV2Parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VirtualHubRouteTableV2"
+ },
+ "description": "Parameters supplied to create or update VirtualHubRouteTableV2."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of the VirtualHubRouteTableV2 created or updated.",
+ "schema": {
+ "$ref": "#/definitions/VirtualHubRouteTableV2"
+ }
+ },
+ "201": {
+ "description": "Request received successfully. Returns the details of the VirtualHubRouteTableV2 created or updated.",
+ "schema": {
+ "$ref": "#/definitions/VirtualHubRouteTableV2"
+ }
+ },
+ "default": {
+ "description": "Error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "delete": {
+ "operationId": "VirtualHubRouteTableV2s_Delete",
+ "x-ms-examples": {
+ "VirtualHubRouteTableV2Delete": {
+ "$ref": "./examples/VirtualHubRouteTableV2Delete.json"
+ }
+ },
+ "description": "Deletes a VirtualHubRouteTableV2.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VirtualHubRouteTableV2."
+ },
+ {
+ "name": "virtualHubName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VirtualHub."
+ },
+ {
+ "name": "routeTableName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VirtualHubRouteTableV2."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. VirtualHubRouteTableV2 deleted."
+ },
+ "202": {
+ "description": "Request received successfully. VirtualHubRouteTableV2 deletion is in progress; follow the Location header to poll for final outcome."
+ },
+ "204": {
+ "description": "No VirtualHubRouteTableV2s exist by the name provided."
+ },
+ "default": {
+ "description": "Error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables": {
+ "get": {
+ "operationId": "VirtualHubRouteTableV2s_List",
+ "x-ms-examples": {
+ "VirtualHubRouteTableV2List": {
+ "$ref": "./examples/VirtualHubRouteTableV2List.json"
+ }
+ },
+ "description": "Retrieves the details of all VirtualHubRouteTableV2s.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource group name of the VirtualHub."
+ },
+ {
+ "name": "virtualHubName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the VirtualHub."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns the details of all the VirtualHubRouteTableV2s for the VirtualHub.",
+ "schema": {
+ "$ref": "#/definitions/ListVirtualHubRouteTableV2sResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "VirtualWanProperties": {
+ "properties": {
+ "disableVpnEncryption": {
+ "type": "boolean",
+ "description": "Vpn encryption to be disabled or not."
+ },
+ "virtualHubs": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "List of VirtualHubs in the VirtualWAN."
+ },
+ "vpnSites": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "List of VpnSites in the VirtualWAN."
+ },
+ "allowBranchToBranchTraffic": {
+ "type": "boolean",
+ "description": "True if branch to branch traffic is allowed."
+ },
+ "allowVnetToVnetTraffic": {
+ "type": "boolean",
+ "description": "True if Vnet to Vnet traffic is allowed."
+ },
+ "office365LocalBreakoutCategory": {
+ "description": "The office local breakout category.",
+ "$ref": "#/definitions/OfficeTrafficCategory"
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the virtual WAN resource."
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the VirtualWAN."
+ }
+ },
+ "description": "Parameters for VirtualWAN."
+ },
+ "VirtualWAN": {
+ "required": [
+ "location"
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualWanProperties",
+ "description": "Properties of the virtual WAN."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "VirtualWAN Resource."
+ },
+ "ListVirtualWANsResult": {
+ "description": "Result of the request to list VirtualWANs. It contains a list of VirtualWANs and a URL nextLink to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualWAN"
+ },
+ "description": "List of VirtualWANs."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of operation list results if there are any."
+ }
+ }
+ },
+ "VpnSiteProperties": {
+ "properties": {
+ "virtualWan": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The VirtualWAN to which the vpnSite belongs."
+ },
+ "deviceProperties": {
+ "description": "The device properties.",
+ "$ref": "#/definitions/DeviceProperties"
+ },
+ "ipAddress": {
+ "type": "string",
+ "description": "The ip-address for the vpn-site."
+ },
+ "siteKey": {
+ "type": "string",
+ "description": "The key for vpn-site that can be used for connections."
+ },
+ "addressSpace": {
+ "$ref": "./virtualNetwork.json#/definitions/AddressSpace",
+ "description": "The AddressSpace that contains an array of IP address ranges."
+ },
+ "bgpProperties": {
+ "$ref": "./virtualNetworkGateway.json#/definitions/BgpSettings",
+ "description": "The set of bgp properties."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the VPN site resource."
+ },
+ "isSecuritySite": {
+ "type": "boolean",
+ "description": "IsSecuritySite flag."
+ },
+ "vpnSiteLinks": {
+ "type": "array",
+ "description": "List of all vpn site links.",
+ "items": {
+ "$ref": "#/definitions/VpnSiteLink"
+ }
+ }
+ },
+ "description": "Parameters for VpnSite."
+ },
+ "VpnSite": {
+ "required": [
+ "location"
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VpnSiteProperties",
+ "description": "Properties of the VPN site."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "VpnSite Resource."
+ },
+ "ListVpnSitesResult": {
+ "description": "Result of the request to list VpnSites. It contains a list of VpnSites and a URL nextLink to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VpnSite"
+ },
+ "description": "List of VpnSites."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of operation list results if there are any."
+ }
+ }
+ },
+ "VpnSiteLinkProperties": {
+ "properties": {
+ "linkProperties": {
+ "description": "The link provider properties.",
+ "$ref": "#/definitions/VpnLinkProviderProperties"
+ },
+ "ipAddress": {
+ "type": "string",
+ "description": "The ip-address for the vpn-site-link."
+ },
+ "bgpProperties": {
+ "$ref": "#/definitions/VpnLinkBgpSettings",
+ "description": "The set of bgp properties."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the VPN site link resource."
+ }
+ },
+ "description": "Parameters for VpnSite."
+ },
+ "VpnSiteLink": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VpnSiteLinkProperties",
+ "description": "Properties of the VPN site link."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "VpnSiteLink Resource."
+ },
+ "ListVpnSiteLinksResult": {
+ "description": "Result of the request to list VpnSiteLinks. It contains a list of VpnSiteLinks and a URL nextLink to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VpnSiteLink"
+ },
+ "description": "List of VpnSitesLinks."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of operation list results if there are any."
+ }
+ }
+ },
+ "GetVpnSitesConfigurationRequest": {
+ "properties": {
+ "vpnSites": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "List of resource-ids of the vpn-sites for which config is to be downloaded."
+ },
+ "outputBlobSasUrl": {
+ "type": "string",
+ "description": "The sas-url to download the configurations for vpn-sites."
+ }
+ },
+ "required": [
+ "outputBlobSasUrl"
+ ],
+ "description": "List of Vpn-Sites."
+ },
+ "VirtualHubProperties": {
+ "properties": {
+ "virtualWan": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The VirtualWAN to which the VirtualHub belongs."
+ },
+ "vpnGateway": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The VpnGateway associated with this VirtualHub."
+ },
+ "p2SVpnGateway": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The P2SVpnGateway associated with this VirtualHub."
+ },
+ "expressRouteGateway": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The expressRouteGateway associated with this VirtualHub."
+ },
+ "azureFirewall": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The azureFirewall associated with this VirtualHub."
+ },
+ "virtualNetworkConnections": {
+ "type": "array",
+ "description": "List of all vnet connections with this VirtualHub.",
+ "items": {
+ "$ref": "#/definitions/HubVirtualNetworkConnection"
+ }
+ },
+ "addressPrefix": {
+ "type": "string",
+ "description": "Address-prefix for this VirtualHub."
+ },
+ "routeTable": {
+ "$ref": "#/definitions/VirtualHubRouteTable",
+ "description": "The routeTable associated with this virtual hub."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the virtual hub resource."
+ },
+ "securityProviderName": {
+ "type": "string",
+ "description": "The Security Provider name."
+ },
+ "virtualHubRouteTableV2s": {
+ "type": "array",
+ "description": "List of all virtual hub route table v2s associated with this VirtualHub.",
+ "items": {
+ "$ref": "#/definitions/VirtualHubRouteTableV2"
+ }
+ },
+ "sku": {
+ "type": "string",
+ "description": "The sku of this VirtualHub."
+ }
+ },
+ "description": "Parameters for VirtualHub."
+ },
+ "VirtualHubRouteTable": {
+ "properties": {
+ "routes": {
+ "type": "array",
+ "description": "List of all routes.",
+ "items": {
+ "$ref": "#/definitions/VirtualHubRoute"
+ }
+ }
+ },
+ "description": "VirtualHub route table."
+ },
+ "VirtualHubRoute": {
+ "properties": {
+ "addressPrefixes": {
+ "type": "array",
+ "description": "List of all addressPrefixes.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "nextHopIpAddress": {
+ "type": "string",
+ "description": "NextHop ip address."
+ }
+ },
+ "description": "VirtualHub route."
+ },
+ "VirtualHub": {
+ "required": [
+ "location"
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualHubProperties",
+ "description": "Properties of the virtual hub."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "VirtualHub Resource."
+ },
+ "ListVirtualHubsResult": {
+ "description": "Result of the request to list VirtualHubs. It contains a list of VirtualHubs and a URL nextLink to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualHub"
+ },
+ "description": "List of VirtualHubs."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of operation list results if there are any."
+ }
+ }
+ },
+ "VpnGatewayProperties": {
+ "properties": {
+ "virtualHub": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The VirtualHub to which the gateway belongs."
+ },
+ "connections": {
+ "type": "array",
+ "description": "List of all vpn connections to the gateway.",
+ "items": {
+ "$ref": "#/definitions/VpnConnection"
+ }
+ },
+ "bgpSettings": {
+ "$ref": "./virtualNetworkGateway.json#/definitions/BgpSettings",
+ "description": "Local network gateway's BGP speaker settings."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the VPN gateway resource."
+ },
+ "vpnGatewayScaleUnit": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The scale unit for this vpn gateway."
+ }
+ },
+ "description": "Parameters for VpnGateway."
+ },
+ "VpnGateway": {
+ "required": [
+ "location"
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VpnGatewayProperties",
+ "description": "Properties of the VPN gateway."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "VpnGateway Resource."
+ },
+ "ListVpnGatewaysResult": {
+ "description": "Result of the request to list VpnGateways. It contains a list of VpnGateways and a URL nextLink to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VpnGateway"
+ },
+ "description": "List of VpnGateways."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of operation list results if there are any."
+ }
+ }
+ },
+ "VpnConnectionProperties": {
+ "properties": {
+ "remoteVpnSite": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Id of the connected vpn site."
+ },
+ "routingWeight": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Routing weight for vpn connection."
+ },
+ "connectionStatus": {
+ "description": "The connection status.",
+ "$ref": "#/definitions/VpnConnectionStatus"
+ },
+ "vpnConnectionProtocolType": {
+ "description": "Connection protocol used for this connection.",
+ "$ref": "./virtualNetworkGateway.json#/definitions/ConnectionProtocol"
+ },
+ "ingressBytesTransferred": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "Ingress bytes transferred."
+ },
+ "egressBytesTransferred": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "Egress bytes transferred."
+ },
+ "connectionBandwidth": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Expected bandwidth in MBPS."
+ },
+ "sharedKey": {
+ "type": "string",
+ "description": "SharedKey for the vpn connection."
+ },
+ "enableBgp": {
+ "type": "boolean",
+ "description": "EnableBgp flag."
+ },
+ "usePolicyBasedTrafficSelectors": {
+ "type": "boolean",
+ "description": "Enable policy-based traffic selectors."
+ },
+ "ipsecPolicies": {
+ "type": "array",
+ "items": {
+ "$ref": "./virtualNetworkGateway.json#/definitions/IpsecPolicy"
+ },
+ "description": "The IPSec Policies to be considered by this connection."
+ },
+ "enableRateLimiting": {
+ "type": "boolean",
+ "description": "EnableBgp flag."
+ },
+ "enableInternetSecurity": {
+ "type": "boolean",
+ "description": "Enable internet security."
+ },
+ "useLocalAzureIpAddress": {
+ "type": "boolean",
+ "description": "Use local azure ip to initiate connection."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the VPN connection resource."
+ },
+ "vpnLinkConnections": {
+ "type": "array",
+ "description": "List of all vpn site link connections to the gateway.",
+ "items": {
+ "$ref": "#/definitions/VpnSiteLinkConnection"
+ }
+ }
+ },
+ "description": "Parameters for VpnConnection."
+ },
+ "VpnConnection": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VpnConnectionProperties",
+ "description": "Properties of the VPN connection."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "VpnConnection Resource."
+ },
+ "ListVpnConnectionsResult": {
+ "description": "Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VpnConnection"
+ },
+ "description": "List of Vpn Connections."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of operation list results if there are any."
+ }
+ }
+ },
+ "VpnSiteLinkConnectionProperties": {
+ "properties": {
+ "vpnSiteLink": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Id of the connected vpn site link."
+ },
+ "routingWeight": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Routing weight for vpn connection."
+ },
+ "connectionStatus": {
+ "description": "The connection status.",
+ "$ref": "#/definitions/VpnConnectionStatus"
+ },
+ "vpnConnectionProtocolType": {
+ "description": "Connection protocol used for this connection.",
+ "$ref": "./virtualNetworkGateway.json#/definitions/ConnectionProtocol"
+ },
+ "ingressBytesTransferred": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "Ingress bytes transferred."
+ },
+ "egressBytesTransferred": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "Egress bytes transferred."
+ },
+ "connectionBandwidth": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Expected bandwidth in MBPS."
+ },
+ "sharedKey": {
+ "type": "string",
+ "description": "SharedKey for the vpn connection."
+ },
+ "enableBgp": {
+ "type": "boolean",
+ "description": "EnableBgp flag."
+ },
+ "usePolicyBasedTrafficSelectors": {
+ "type": "boolean",
+ "description": "Enable policy-based traffic selectors."
+ },
+ "ipsecPolicies": {
+ "type": "array",
+ "items": {
+ "$ref": "./virtualNetworkGateway.json#/definitions/IpsecPolicy"
+ },
+ "description": "The IPSec Policies to be considered by this connection."
+ },
+ "enableRateLimiting": {
+ "type": "boolean",
+ "description": "EnableBgp flag."
+ },
+ "useLocalAzureIpAddress": {
+ "type": "boolean",
+ "description": "Use local azure ip to initiate connection."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the VPN site link connection resource."
+ }
+ },
+ "description": "Parameters for VpnConnection."
+ },
+ "VpnSiteLinkConnection": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VpnSiteLinkConnectionProperties",
+ "description": "Properties of the VPN site link connection."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "VpnSiteLinkConnection Resource."
+ },
+ "ListVpnSiteLinkConnectionsResult": {
+ "description": "Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VpnSiteLinkConnection"
+ },
+ "description": "List of VpnSiteLinkConnections."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of operation list results if there are any."
+ }
+ }
+ },
+ "HubVirtualNetworkConnectionProperties": {
+ "properties": {
+ "remoteVirtualNetwork": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference to the remote virtual network."
+ },
+ "allowHubToRemoteVnetTransit": {
+ "type": "boolean",
+ "description": "VirtualHub to RemoteVnet transit to enabled or not."
+ },
+ "allowRemoteVnetToUseHubVnetGateways": {
+ "type": "boolean",
+ "description": "Allow RemoteVnet to use Virtual Hub's gateways."
+ },
+ "enableInternetSecurity": {
+ "type": "boolean",
+ "description": "Enable internet security."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the hub virtual network connection resource."
+ }
+ },
+ "description": "Parameters for HubVirtualNetworkConnection."
+ },
+ "HubVirtualNetworkConnection": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/HubVirtualNetworkConnectionProperties",
+ "description": "Properties of the hub virtual network connection."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "HubVirtualNetworkConnection Resource."
+ },
+ "ListHubVirtualNetworkConnectionsResult": {
+ "description": "List of HubVirtualNetworkConnections and a URL nextLink to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/HubVirtualNetworkConnection"
+ },
+ "description": "List of HubVirtualNetworkConnections."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of operation list results if there are any."
+ }
+ }
+ },
+ "VpnSiteId": {
+ "properties": {
+ "vpnSite": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The resource-uri of the vpn-site for which config is to be fetched."
+ }
+ },
+ "description": "VpnSite Resource."
+ },
+ "DeviceProperties": {
+ "properties": {
+ "deviceVendor": {
+ "type": "string",
+ "description": "Name of the device Vendor."
+ },
+ "deviceModel": {
+ "type": "string",
+ "description": "Model of the device."
+ },
+ "linkSpeedInMbps": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Link speed."
+ }
+ },
+ "description": "List of properties of the device."
+ },
+ "VirtualWanSecurityProviders": {
+ "properties": {
+ "supportedProviders": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualWanSecurityProvider"
+ },
+ "description": "List of VirtualWAN security providers."
+ }
+ },
+ "description": "Collection of SecurityProviders."
+ },
+ "VirtualWanSecurityProvider": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the security provider."
+ },
+ "url": {
+ "type": "string",
+ "description": "Url of the security provider."
+ },
+ "type": {
+ "$ref": "#/definitions/VirtualWanSecurityProviderType",
+ "description": "Name of the security provider."
+ }
+ },
+ "description": "Collection of SecurityProviders."
+ },
+ "VpnConnectionStatus": {
+ "type": "string",
+ "description": "The current state of the vpn connection.",
+ "readOnly": true,
+ "enum": [
+ "Unknown",
+ "Connecting",
+ "Connected",
+ "NotConnected"
+ ],
+ "x-ms-enum": {
+ "name": "VpnConnectionStatus",
+ "modelAsString": true
+ }
+ },
+ "TunnelConnectionStatus": {
+ "type": "string",
+ "description": "The current state of the tunnel.",
+ "readOnly": true,
+ "enum": [
+ "Unknown",
+ "Connecting",
+ "Connected",
+ "NotConnected"
+ ],
+ "x-ms-enum": {
+ "name": "TunnelConnectionStatus",
+ "modelAsString": true
+ }
+ },
+ "HubVirtualNetworkConnectionStatus": {
+ "type": "string",
+ "description": "The current state of the VirtualHub to vnet connection.",
+ "readOnly": true,
+ "enum": [
+ "Unknown",
+ "Connecting",
+ "Connected",
+ "NotConnected"
+ ],
+ "x-ms-enum": {
+ "name": "HubVirtualNetworkConnectionStatus",
+ "modelAsString": true
+ }
+ },
+ "OfficeTrafficCategory": {
+ "type": "string",
+ "description": "The office traffic category.",
+ "readOnly": true,
+ "enum": [
+ "Optimize",
+ "OptimizeAndAllow",
+ "All",
+ "None"
+ ],
+ "x-ms-enum": {
+ "name": "OfficeTrafficCategory",
+ "modelAsString": true
+ }
+ },
+ "VirtualWanSecurityProviderType": {
+ "type": "string",
+ "description": "The virtual wan security provider type.",
+ "readOnly": true,
+ "enum": [
+ "External",
+ "Native"
+ ],
+ "x-ms-enum": {
+ "name": "VirtualWanSecurityProviderType",
+ "modelAsString": true
+ }
+ },
+ "VpnServerConfigVpnClientRootCertificate": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The certificate name."
+ },
+ "publicCertData": {
+ "type": "string",
+ "description": "The certificate public data."
+ }
+ },
+ "description": "Properties of VPN client root certificate of VpnServerConfiguration."
+ },
+ "VpnServerConfigRadiusServerRootCertificate": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The certificate name."
+ },
+ "publicCertData": {
+ "type": "string",
+ "description": "The certificate public data."
+ }
+ },
+ "description": "Properties of Radius Server root certificate of VpnServerConfiguration."
+ },
+ "VpnServerConfigVpnClientRevokedCertificate": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The certificate name."
+ },
+ "thumbprint": {
+ "type": "string",
+ "description": "The revoked VPN client certificate thumbprint."
+ }
+ },
+ "description": "Properties of the revoked VPN client certificate of VpnServerConfiguration."
+ },
+ "VpnServerConfigRadiusClientRootCertificate": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The certificate name."
+ },
+ "thumbprint": {
+ "type": "string",
+ "description": "The Radius client root certificate thumbprint."
+ }
+ },
+ "description": "Properties of the Radius client root certificate of VpnServerConfiguration."
+ },
+ "AadAuthenticationParameters": {
+ "properties": {
+ "aadTenant": {
+ "type": "string",
+ "description": "AAD Vpn authentication parameter AAD tenant."
+ },
+ "aadAudience": {
+ "type": "string",
+ "description": "AAD Vpn authentication parameter AAD audience."
+ },
+ "aadIssuer": {
+ "type": "string",
+ "description": "AAD Vpn authentication parameter AAD issuer."
+ }
+ },
+ "description": "AAD Vpn authentication type related parameters."
+ },
+ "VpnServerConfigurationProperties": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the VpnServerConfiguration that is unique within a resource group."
+ },
+ "vpnProtocols": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "VPN protocol enabled for the VpnServerConfiguration.",
+ "enum": [
+ "IkeV2",
+ "OpenVPN"
+ ],
+ "x-ms-enum": {
+ "name": "VpnGatewayTunnelingProtocol",
+ "modelAsString": true
+ }
+ },
+ "description": "VPN protocols for the VpnServerConfiguration."
+ },
+ "vpnAuthenticationTypes": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "VPN authentication types enabled for the VpnServerConfiguration.",
+ "enum": [
+ "Certificate",
+ "Radius",
+ "AAD"
+ ],
+ "x-ms-enum": {
+ "name": "VpnAuthenticationType",
+ "modelAsString": true
+ }
+ },
+ "description": "VPN authentication types for the VpnServerConfiguration."
+ },
+ "vpnClientRootCertificates": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VpnServerConfigVpnClientRootCertificate"
+ },
+ "description": "VPN client root certificate of VpnServerConfiguration."
+ },
+ "vpnClientRevokedCertificates": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VpnServerConfigVpnClientRevokedCertificate"
+ },
+ "description": "VPN client revoked certificate of VpnServerConfiguration."
+ },
+ "radiusServerRootCertificates": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VpnServerConfigRadiusServerRootCertificate"
+ },
+ "description": "Radius Server root certificate of VpnServerConfiguration."
+ },
+ "radiusClientRootCertificates": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VpnServerConfigRadiusClientRootCertificate"
+ },
+ "description": "Radius client root certificate of VpnServerConfiguration."
+ },
+ "vpnClientIpsecPolicies": {
+ "type": "array",
+ "items": {
+ "$ref": "./virtualNetworkGateway.json#/definitions/IpsecPolicy"
+ },
+ "description": "VpnClientIpsecPolicies for VpnServerConfiguration."
+ },
+ "radiusServerAddress": {
+ "type": "string",
+ "description": "The radius server address property of the VpnServerConfiguration resource for point to site client connection."
+ },
+ "radiusServerSecret": {
+ "type": "string",
+ "description": "The radius secret property of the VpnServerConfiguration resource for point to site client connection."
+ },
+ "aadAuthenticationParameters": {
+ "$ref": "#/definitions/AadAuthenticationParameters",
+ "description": "The set of aad vpn authentication parameters."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The provisioning state of the VpnServerConfiguration resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."
+ },
+ "p2SVpnGateways": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/P2SVpnGateway"
+ },
+ "description": "List of references to P2SVpnGateways."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "description": "Parameters for VpnServerConfiguration."
+ },
+ "VpnServerConfiguration": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VpnServerConfigurationProperties",
+ "description": "Properties of the P2SVpnServer configuration."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Gets a unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "VpnServerConfiguration Resource."
+ },
+ "ListVpnServerConfigurationsResult": {
+ "description": "Result of the request to list all VpnServerConfigurations. It contains a list of VpnServerConfigurations and a URL nextLink to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VpnServerConfiguration"
+ },
+ "description": "List of VpnServerConfigurations."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of operation list results if there are any."
+ }
+ }
+ },
+ "VpnClientConnectionHealth": {
+ "properties": {
+ "totalIngressBytesTransferred": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int64",
+ "description": "Total of the Ingress Bytes Transferred in this P2S Vpn connection."
+ },
+ "totalEgressBytesTransferred": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int64",
+ "description": "Total of the Egress Bytes Transferred in this connection."
+ },
+ "vpnClientConnectionsCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The total of p2s vpn clients connected at this time to this P2SVpnGateway."
+ },
+ "allocatedIpAddresses": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "List of allocated ip addresses to the connected p2s vpn clients."
+ }
+ },
+ "description": "VpnClientConnectionHealth properties."
+ },
+ "P2SVpnGatewayProperties": {
+ "properties": {
+ "virtualHub": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The VirtualHub to which the gateway belongs."
+ },
+ "p2SConnectionConfigurations": {
+ "type": "array",
+ "description": "List of all p2s connection configurations of the gateway.",
+ "items": {
+ "$ref": "#/definitions/P2SConnectionConfiguration"
+ }
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the P2S VPN gateway resource."
+ },
+ "vpnGatewayScaleUnit": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The scale unit for this p2s vpn gateway."
+ },
+ "vpnServerConfiguration": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "The VpnServerConfiguration to which the p2sVpnGateway is attached to."
+ },
+ "vpnClientConnectionHealth": {
+ "readOnly": true,
+ "$ref": "#/definitions/VpnClientConnectionHealth",
+ "description": "All P2S VPN clients' connection health status."
+ }
+ },
+ "description": "Parameters for P2SVpnGateway."
+ },
+ "P2SVpnGateway": {
+ "required": [
+ "location"
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/P2SVpnGatewayProperties",
+ "description": "Properties of the P2SVpnGateway."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "P2SVpnGateway Resource."
+ },
+ "ListP2SVpnGatewaysResult": {
+ "description": "Result of the request to list P2SVpnGateways. It contains a list of P2SVpnGateways and a URL nextLink to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/P2SVpnGateway"
+ },
+ "description": "List of P2SVpnGateways."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of operation list results if there are any."
+ }
+ }
+ },
+ "P2SVpnProfileParameters": {
+ "properties": {
+ "authenticationMethod": {
+ "$ref": "./network.json#/definitions/AuthenticationMethod",
+ "description": "VPN client authentication method."
+ }
+ },
+ "description": "Vpn Client Parameters for package generation."
+ },
+ "VpnProfileResponse": {
+ "properties": {
+ "profileUrl": {
+ "type": "string",
+ "description": "URL to the VPN profile."
+ }
+ },
+ "description": "Vpn Profile Response for package generation."
+ },
+ "VpnLinkBgpSettings": {
+ "properties": {
+ "asn": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The BGP speaker's ASN."
+ },
+ "bgpPeeringAddress": {
+ "type": "string",
+ "description": "The BGP peering address and BGP identifier of this BGP speaker."
+ }
+ },
+ "description": "BGP settings details for a link."
+ },
+ "VpnLinkProviderProperties": {
+ "properties": {
+ "linkProviderName": {
+ "type": "string",
+ "description": "Name of the link provider."
+ },
+ "linkSpeedInMbps": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Link speed."
+ }
+ },
+ "description": "List of properties of a link provider."
+ },
+ "VpnServerConfigurationsResponse": {
+ "properties": {
+ "vpnServerConfigurationResourceIds": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "VpnServerConfiguration partial resource uri."
+ },
+ "description": "List of VpnServerConfigurations associated with VirtualWan."
+ }
+ },
+ "description": "VpnServerConfigurations list associated with VirtualWan Response."
+ },
+ "VirtualWanVpnProfileParameters": {
+ "properties": {
+ "vpnServerConfigurationResourceId": {
+ "type": "string",
+ "description": "VpnServerConfiguration partial resource uri with which VirtualWan is associated to."
+ },
+ "authenticationMethod": {
+ "$ref": "./network.json#/definitions/AuthenticationMethod",
+ "description": "VPN client authentication method."
+ }
+ },
+ "description": "Virtual Wan Vpn profile parameters Vpn profile generation."
+ },
+ "P2SVpnConnectionHealthRequest": {
+ "properties": {
+ "vpnUserNamesFilter": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "P2S vpn user name."
+ },
+ "description": "The list of p2s vpn user names whose p2s vpn connection detailed health to retrieve for."
+ },
+ "outputBlobSasUrl": {
+ "type": "string",
+ "description": "The sas-url to download the P2S Vpn connection health detail."
+ }
+ },
+ "description": "List of P2S Vpn connection health request."
+ },
+ "P2SVpnConnectionHealth": {
+ "properties": {
+ "sasUrl": {
+ "type": "string",
+ "description": "Returned sas url of the blob to which the p2s vpn connection detailed health will be written. "
+ }
+ },
+ "description": "P2S Vpn connection detailed health written to sas url."
+ },
+ "P2SConnectionConfigurationProperties": {
+ "properties": {
+ "vpnClientAddressPool": {
+ "$ref": "./virtualNetwork.json#/definitions/AddressSpace",
+ "description": "The reference of the address space resource which represents Address space for P2S VpnClient."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the P2SConnectionConfiguration resource."
+ }
+ },
+ "description": "Parameters for P2SConnectionConfiguration."
+ },
+ "P2SConnectionConfiguration": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/P2SConnectionConfigurationProperties",
+ "description": "Properties of the P2S connection configuration."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "P2SConnectionConfiguration Resource."
+ },
+ "VirtualHubRouteTableV2Properties": {
+ "properties": {
+ "routes": {
+ "type": "array",
+ "description": "List of all routes.",
+ "items": {
+ "$ref": "#/definitions/VirtualHubRouteV2"
+ }
+ },
+ "attachedConnections": {
+ "type": "array",
+ "description": "List of all connections attached to this route table v2.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "provisioningState": {
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "readOnly": true,
+ "description": "The provisioning state of the virtual hub route table v2 resource."
+ }
+ },
+ "description": "Parameters for VirtualHubRouteTableV2."
+ },
+ "VirtualHubRouteTableV2": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VirtualHubRouteTableV2Properties",
+ "description": "Properties of the virtual hub route table v2."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "VirtualHubRouteTableV2 Resource."
+ },
+ "VirtualHubRouteV2": {
+ "properties": {
+ "destinationType": {
+ "type": "string",
+ "description": "The type of destinations"
+ },
+ "destinations": {
+ "type": "array",
+ "description": "List of all destinations.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "nextHopType": {
+ "type": "string",
+ "description": "The type of next hops"
+ },
+ "nextHops": {
+ "type": "array",
+ "description": "NextHops ip address.",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "description": "VirtualHubRouteTableV2 route."
+ },
+ "ListVirtualHubRouteTableV2sResult": {
+ "description": "List of VirtualHubRouteTableV2s and a URL nextLink to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualHubRouteTableV2"
+ },
+ "description": "List of VirtualHubRouteTableV2s."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of operation list results if there are any."
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/vmssNetworkInterface.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/vmssNetworkInterface.json
new file mode 100644
index 000000000000..89562aa3062c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/vmssNetworkInterface.json
@@ -0,0 +1,374 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2018-10-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces": {
+ "get": {
+ "tags": [
+ "NetworkInterfaces"
+ ],
+ "operationId": "NetworkInterfaces_ListVirtualMachineScaleSetVMNetworkInterfaces",
+ "description": "Gets information about all network interfaces in a virtual machine in a virtual machine scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "virtualMachineScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the virtual machine scale set."
+ },
+ {
+ "name": "virtualmachineIndex",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The virtual machine index."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionVmssParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of NetworkInterface resources.",
+ "schema": {
+ "$ref": "./networkInterface.json#/definitions/NetworkInterfaceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List virtual machine scale set vm network interfaces": {
+ "$ref": "./examples/VmssVmNetworkInterfaceList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/networkInterfaces": {
+ "get": {
+ "tags": [
+ "NetworkInterfaces"
+ ],
+ "operationId": "NetworkInterfaces_ListVirtualMachineScaleSetNetworkInterfaces",
+ "description": "Gets all network interfaces in a virtual machine scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "virtualMachineScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the virtual machine scale set."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionVmssParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of NetworkInterface resources.",
+ "schema": {
+ "$ref": "./networkInterface.json#/definitions/NetworkInterfaceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List virtual machine scale set network interfaces": {
+ "$ref": "./examples/VmssNetworkInterfaceList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}": {
+ "get": {
+ "tags": [
+ "NetworkInterfaces"
+ ],
+ "operationId": "NetworkInterfaces_GetVirtualMachineScaleSetNetworkInterface",
+ "description": "Get the specified network interface in a virtual machine scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "virtualMachineScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the virtual machine scale set."
+ },
+ {
+ "name": "virtualmachineIndex",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The virtual machine index."
+ },
+ {
+ "name": "networkInterfaceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network interface."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionVmssParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced resources."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting NetworkInterface resource.",
+ "schema": {
+ "$ref": "./networkInterface.json#/definitions/NetworkInterface"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get virtual machine scale set network interface": {
+ "$ref": "./examples/VmssNetworkInterfaceGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations": {
+ "get": {
+ "tags": [
+ "NetworkInterfaces"
+ ],
+ "operationId": "NetworkInterfaces_ListVirtualMachineScaleSetIpConfigurations",
+ "description": "Get the specified network interface ip configuration in a virtual machine scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "virtualMachineScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the virtual machine scale set."
+ },
+ {
+ "name": "virtualmachineIndex",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The virtual machine index."
+ },
+ {
+ "name": "networkInterfaceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network interface."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionVmssParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced resources."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the list of resulting NetworkInterfaceIPConfigurations resources.",
+ "schema": {
+ "$ref": "./networkInterface.json#/definitions/NetworkInterfaceIPConfigurationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List virtual machine scale set network interface ip configurations": {
+ "$ref": "./examples/VmssNetworkInterfaceIpConfigList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}": {
+ "get": {
+ "tags": [
+ "NetworkInterfaces"
+ ],
+ "operationId": "NetworkInterfaces_GetVirtualMachineScaleSetIpConfiguration",
+ "description": "Get the specified network interface ip configuration in a virtual machine scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "virtualMachineScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the virtual machine scale set."
+ },
+ {
+ "name": "virtualmachineIndex",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The virtual machine index."
+ },
+ {
+ "name": "networkInterfaceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network interface."
+ },
+ {
+ "name": "ipConfigurationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the ip configuration."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionVmssParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced resources."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting NetworkInterfaceIPConfiguration resource.",
+ "schema": {
+ "$ref": "./networkInterface.json#/definitions/NetworkInterfaceIPConfiguration"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get virtual machine scale set network interface": {
+ "$ref": "./examples/VmssNetworkInterfaceIpConfigGet.json"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/vmssPublicIpAddress.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/vmssPublicIpAddress.json
new file mode 100644
index 000000000000..d100152e7711
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/vmssPublicIpAddress.json
@@ -0,0 +1,241 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2018-10-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/publicipaddresses": {
+ "get": {
+ "operationId": "PublicIPAddresses_ListVirtualMachineScaleSetPublicIPAddresses",
+ "description": "Gets information about all public IP addresses on a virtual machine scale set level.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "virtualMachineScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the virtual machine scale set."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionVmssParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of PublicIPInterface resources.",
+ "schema": {
+ "$ref": "./publicIpAddress.json#/definitions/PublicIPAddressListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ListVMSSPublicIP": {
+ "$ref": "./examples/VmssPublicIpListAll.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses": {
+ "get": {
+ "operationId": "PublicIPAddresses_ListVirtualMachineScaleSetVMPublicIPAddresses",
+ "description": "Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "virtualMachineScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the virtual machine scale set."
+ },
+ {
+ "name": "virtualmachineIndex",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The virtual machine index."
+ },
+ {
+ "name": "networkInterfaceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The network interface name."
+ },
+ {
+ "name": "ipConfigurationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The IP configuration name."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionVmssParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of PublicIPAddress resources.",
+ "schema": {
+ "$ref": "./publicIpAddress.json#/definitions/PublicIPAddressListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ListVMSSVMPublicIP": {
+ "$ref": "./examples/VmssVmPublicIpList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}": {
+ "get": {
+ "operationId": "PublicIPAddresses_GetVirtualMachineScaleSetPublicIPAddress",
+ "description": "Get the specified public IP address in a virtual machine scale set.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "virtualMachineScaleSetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the virtual machine scale set."
+ },
+ {
+ "name": "virtualmachineIndex",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The virtual machine index."
+ },
+ {
+ "name": "networkInterfaceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the network interface."
+ },
+ {
+ "name": "ipConfigurationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the IP configuration."
+ },
+ {
+ "name": "publicIpAddressName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the public IP Address."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionVmssParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands referenced resources."
+ }
+ ],
+ "x-ms-examples": {
+ "GetVMSSPublicIP": {
+ "$ref": "./examples/VmssPublicIpGet.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the resulting PublicIPAddress resource.",
+ "schema": {
+ "$ref": "./publicIpAddress.json#/definitions/PublicIPAddress"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/webapplicationfirewall.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/webapplicationfirewall.json
new file mode 100644
index 000000000000..111b1feb2b2f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/webapplicationfirewall.json
@@ -0,0 +1,743 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-09-01",
+ "title": "WebApplicationFirewallManagement",
+ "description": "APIs to manage web application firewall rules."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies": {
+ "get": {
+ "tags": [
+ "WebApplicationFirewallPolicies"
+ ],
+ "description": "Lists all of the protection policies within a resource group.",
+ "operationId": "WebApplicationFirewallPolicies_List",
+ "x-ms-examples": {
+ "Lists all WAF policies in a resource group": {
+ "$ref": "./examples/WafListPolicies.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/WebApplicationFirewallPolicyListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies": {
+ "get": {
+ "tags": [
+ "WebApplicationFirewallPolicies"
+ ],
+ "description": "Gets all the WAF policies in a subscription.",
+ "operationId": "WebApplicationFirewallPolicies_ListAll",
+ "x-ms-examples": {
+ "Lists all WAF policies in a subscription": {
+ "$ref": "./examples/WafListAllPolicies.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/WebApplicationFirewallPolicyListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}": {
+ "get": {
+ "tags": [
+ "WebApplicationFirewallPolicies"
+ ],
+ "description": "Retrieve protection policy with specified name within a resource group.",
+ "operationId": "WebApplicationFirewallPolicies_Get",
+ "x-ms-examples": {
+ "Gets a WAF policy within a resource group": {
+ "$ref": "./examples/WafPolicyGet.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "policyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "maxLength": 128,
+ "description": "The name of the policy."
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/WebApplicationFirewallPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "WebApplicationFirewallPolicies"
+ ],
+ "description": "Creates or update policy with specified rule set name within a resource group.",
+ "operationId": "WebApplicationFirewallPolicies_CreateOrUpdate",
+ "x-ms-examples": {
+ "Creates or updates a WAF policy within a resource group": {
+ "$ref": "./examples/WafPolicyCreateOrUpdate.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "policyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "maxLength": 128,
+ "description": "The name of the policy."
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "description": "Policy to be created.",
+ "in": "body",
+ "name": "parameters",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/WebApplicationFirewallPolicy"
+ }
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/WebApplicationFirewallPolicy"
+ }
+ },
+ "201": {
+ "description": "Created. The request has been fulfilled and a new protection policy has been created.",
+ "schema": {
+ "$ref": "#/definitions/WebApplicationFirewallPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "WebApplicationFirewallPolicies"
+ ],
+ "description": "Deletes Policy.",
+ "operationId": "WebApplicationFirewallPolicies_Delete",
+ "x-ms-examples": {
+ "Deletes a WAF policy within a resource group": {
+ "$ref": "./examples/WafPolicyDelete.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "policyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "maxLength": 128,
+ "description": "The name of the policy."
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "No Content. The request has been accepted but the policy was not found."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./network.json#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "WebApplicationFirewallPolicy": {
+ "description": "Defines web application firewall policy.",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/WebApplicationFirewallPolicyPropertiesFormat",
+ "description": "Properties of the web application firewall policy."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ]
+ },
+ "WebApplicationFirewallPolicyPropertiesFormat": {
+ "description": "Defines web application firewall policy properties.",
+ "required": [
+ "managedRules"
+ ],
+ "properties": {
+ "policySettings": {
+ "description": "Describes policySettings for policy.",
+ "$ref": "#/definitions/PolicySettings"
+ },
+ "customRules": {
+ "description": "Describes custom rules inside the policy.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/WebApplicationFirewallCustomRule"
+ }
+ },
+ "applicationGateways": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./applicationGateway.json#/definitions/ApplicationGateway"
+ },
+ "description": "A collection of references to application gateways."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "$ref": "./network.json#/definitions/ProvisioningState",
+ "description": "The provisioning state of the web application firewall policy resource."
+ },
+ "resourceState": {
+ "title": "Resource status of the policy.",
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource status of the policy.",
+ "enum": [
+ "Creating",
+ "Enabling",
+ "Enabled",
+ "Disabling",
+ "Disabled",
+ "Deleting"
+ ],
+ "x-ms-enum": {
+ "name": "WebApplicationFirewallPolicyResourceState",
+ "modelAsString": true
+ }
+ },
+ "managedRules": {
+ "description": "Describes the managedRules structure",
+ "$ref": "#/definitions/ManagedRulesDefinition"
+ },
+ "httpListeners": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "A collection of references to application gateway http listeners."
+ },
+ "pathBasedRules": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "A collection of references to application gateway path rules."
+ }
+ }
+ },
+ "WebApplicationFirewallPolicyListResult": {
+ "description": "Result of the request to list WebApplicationFirewallPolicies. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/WebApplicationFirewallPolicy"
+ },
+ "description": "List of WebApplicationFirewallPolicies within a resource group."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "URL to get the next set of WebApplicationFirewallPolicy objects if there are any."
+ }
+ }
+ },
+ "ManagedRulesDefinition": {
+ "description": "Allow to exclude some variable satisfy the condition for the WAF check.",
+ "required": [
+ "managedRuleSets"
+ ],
+ "properties": {
+ "exclusions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OwaspCrsExclusionEntry"
+ },
+ "description": "Describes the Exclusions that are applied on the policy."
+ },
+ "managedRuleSets": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedRuleSet"
+ },
+ "description": "Describes the ruleSets that are associated with the policy."
+ }
+ }
+ },
+ "PolicySettings": {
+ "description": "Defines contents of a web application firewall global configuration.",
+ "properties": {
+ "state": {
+ "description": "Describes if the policy is in enabled state or disabled state.",
+ "type": "string",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "x-ms-enum": {
+ "name": "WebApplicationFirewallEnabledState",
+ "modelAsString": true
+ }
+ },
+ "mode": {
+ "description": "Describes if it is in detection mode or prevention mode at policy level.",
+ "type": "string",
+ "enum": [
+ "Prevention",
+ "Detection"
+ ],
+ "x-ms-enum": {
+ "name": "WebApplicationFirewallMode",
+ "modelAsString": true
+ }
+ },
+ "requestBodyCheck": {
+ "type": "boolean",
+ "description": "Whether to allow WAF to check request Body."
+ },
+ "maxRequestBodySizeInKb": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 128,
+ "exclusiveMaximum": false,
+ "minimum": 8,
+ "exclusiveMinimum": false,
+ "description": "Maximum request body size in Kb for WAF."
+ },
+ "fileUploadLimitInMb": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "exclusiveMinimum": false,
+ "description": "Maximum file upload size in Mb for WAF."
+ }
+ }
+ },
+ "WebApplicationFirewallCustomRule": {
+ "description": "Defines contents of a web application rule.",
+ "required": [
+ "priority",
+ "ruleType",
+ "matchConditions",
+ "action"
+ ],
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the resource that is unique within a policy. This name can be used to access the resource.",
+ "maxLength": 128
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "priority": {
+ "description": "Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.",
+ "type": "integer"
+ },
+ "ruleType": {
+ "description": "Describes type of rule.",
+ "type": "string",
+ "enum": [
+ "MatchRule",
+ "Invalid"
+ ],
+ "x-ms-enum": {
+ "name": "WebApplicationFirewallRuleType",
+ "modelAsString": true
+ }
+ },
+ "matchConditions": {
+ "description": "List of match conditions.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MatchCondition"
+ }
+ },
+ "action": {
+ "description": "Type of Actions.",
+ "type": "string",
+ "enum": [
+ "Allow",
+ "Block",
+ "Log"
+ ],
+ "x-ms-enum": {
+ "name": "WebApplicationFirewallAction",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "Transform": {
+ "description": "Describes what transforms applied before matching.",
+ "type": "string",
+ "enum": [
+ "Lowercase",
+ "Trim",
+ "UrlDecode",
+ "UrlEncode",
+ "RemoveNulls",
+ "HtmlEntityDecode"
+ ],
+ "x-ms-enum": {
+ "name": "WebApplicationFirewallTransform",
+ "modelAsString": true
+ }
+ },
+ "MatchVariable": {
+ "description": "Define match variables.",
+ "required": [
+ "variableName"
+ ],
+ "properties": {
+ "variableName": {
+ "description": "Match Variable.",
+ "type": "string",
+ "enum": [
+ "RemoteAddr",
+ "RequestMethod",
+ "QueryString",
+ "PostArgs",
+ "RequestUri",
+ "RequestHeaders",
+ "RequestBody",
+ "RequestCookies"
+ ],
+ "x-ms-enum": {
+ "name": "WebApplicationFirewallMatchVariable",
+ "modelAsString": true
+ }
+ },
+ "selector": {
+ "description": "Describes field of the matchVariable collection.",
+ "type": "string"
+ }
+ }
+ },
+ "MatchCondition": {
+ "description": "Define match conditions.",
+ "required": [
+ "matchVariables",
+ "operator",
+ "matchValues"
+ ],
+ "properties": {
+ "matchVariables": {
+ "description": "List of match variables.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MatchVariable"
+ }
+ },
+ "operator": {
+ "description": "Describes operator to be matched.",
+ "type": "string",
+ "enum": [
+ "IPMatch",
+ "Equal",
+ "Contains",
+ "LessThan",
+ "GreaterThan",
+ "LessThanOrEqual",
+ "GreaterThanOrEqual",
+ "BeginsWith",
+ "EndsWith",
+ "Regex",
+ "GeoMatch"
+ ],
+ "x-ms-enum": {
+ "name": "WebApplicationFirewallOperator",
+ "modelAsString": true
+ }
+ },
+ "negationConditon": {
+ "description": "Describes if this is negate condition or not.",
+ "type": "boolean"
+ },
+ "matchValues": {
+ "description": "Match value.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "transforms": {
+ "description": "List of transforms.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Transform"
+ }
+ }
+ }
+ },
+ "ManagedRuleSet": {
+ "type": "object",
+ "description": "Defines a managed rule set.",
+ "required": [
+ "ruleSetType",
+ "ruleSetVersion"
+ ],
+ "properties": {
+ "ruleSetType": {
+ "description": "Defines the rule set type to use.",
+ "type": "string"
+ },
+ "ruleSetVersion": {
+ "description": "Defines the version of the rule set to use.",
+ "type": "string"
+ },
+ "ruleGroupOverrides": {
+ "description": "Defines the rule group overrides to apply to the rule set.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedRuleGroupOverride"
+ }
+ }
+ }
+ },
+ "ManagedRuleGroupOverride": {
+ "description": "Defines a managed rule group override setting.",
+ "required": [
+ "ruleGroupName"
+ ],
+ "properties": {
+ "ruleGroupName": {
+ "description": "Describes the managed rule group to override.",
+ "type": "string"
+ },
+ "rules": {
+ "description": "List of rules that will be disabled. If none specified, all rules in the group will be disabled.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedRuleOverride"
+ }
+ }
+ }
+ },
+ "ManagedRuleOverride": {
+ "description": "Defines a managed rule group override setting.",
+ "required": [
+ "ruleId"
+ ],
+ "properties": {
+ "ruleId": {
+ "description": "Identifier for the managed rule.",
+ "type": "string"
+ },
+ "state": {
+ "description": "Describes the state of the managed rule. Defaults to Disabled if not specified.",
+ "type": "string",
+ "enum": [
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "ManagedRuleEnabledState",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "OwaspCrsExclusionEntry": {
+ "required": [
+ "matchVariable",
+ "selectorMatchOperator",
+ "selector"
+ ],
+ "description": "Allow to exclude some variable satisfy the condition for the WAF check.",
+ "properties": {
+ "matchVariable": {
+ "type": "string",
+ "enum": [
+ "RequestHeaderNames",
+ "RequestCookieNames",
+ "RequestArgNames"
+ ],
+ "description": "The variable to be excluded.",
+ "x-ms-enum": {
+ "name": "OwaspCrsExclusionEntryMatchVariable",
+ "modelAsString": true
+ }
+ },
+ "selectorMatchOperator": {
+ "type": "string",
+ "enum": [
+ "Equals",
+ "Contains",
+ "StartsWith",
+ "EndsWith",
+ "EqualsAny"
+ ],
+ "description": "When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.",
+ "x-ms-enum": {
+ "name": "OwaspCrsExclusionEntrySelectorMatchOperator",
+ "modelAsString": true
+ }
+ },
+ "selector": {
+ "type": "string",
+ "description": "When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to."
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/readme.go.md b/specification/network/resource-manager/readme.go.md
index 756be5069dbe..b3d87ad9dec0 100644
--- a/specification/network/resource-manager/readme.go.md
+++ b/specification/network/resource-manager/readme.go.md
@@ -13,6 +13,7 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-2019-09
- tag: package-2019-08
- tag: package-2019-07
- tag: package-2019-06
@@ -41,6 +42,15 @@ batch:
- tag: package-2015-05-preview
```
+### Tag: package-2019-09 and go
+
+These settings apply only when `--tag=package-2019-09 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-09' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-09-01/$(namespace)
+```
+
### Tag: package-2019-08 and go
These settings apply only when `--tag=package-2019-08 --go` is specified on the command line.
diff --git a/specification/network/resource-manager/readme.java.md b/specification/network/resource-manager/readme.java.md
index ee90dba87896..080746b18a65 100644
--- a/specification/network/resource-manager/readme.java.md
+++ b/specification/network/resource-manager/readme.java.md
@@ -16,6 +16,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-network
``` yaml $(java) && $(multiapi)
batch:
+ - tag: package-2019-09
- tag: package-2019-08
- tag: package-2019-07
- tag: package-2019-06
@@ -29,6 +30,19 @@ batch:
- tag: package-2017-10
```
+### Tag: package-2019-09 and java
+
+These settings apply only when `--tag=package-2019-09 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2019-09' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.network.v2019_09_01
+ output-folder: $(azure-libraries-for-java-folder)/network/resource-manager/v2019_09_01
+ regenerate-manager: true
+ generate-interface: true
+```
+
### Tag: package-2019-08 and java
These settings apply only when `--tag=package-2019-08 --java` is specified on the command line.
diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md
index e8ef6776f8c3..a1ec47cbd2ea 100644
--- a/specification/network/resource-manager/readme.md
+++ b/specification/network/resource-manager/readme.md
@@ -28,15 +28,66 @@ These are the global settings for the Network API.
title: NetworkManagementClient
description: Network Client
openapi-type: arm
-tag: package-2019-08
+tag: package-2019-09
```
+### Tag: package-2019-09
+
+These settings apply only when `--tag=package-2019-09` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-09'
+input-file:
+ - Microsoft.Network/stable/2019-09-01/applicationGateway.json
+ - Microsoft.Network/stable/2019-09-01/applicationSecurityGroup.json
+ - Microsoft.Network/stable/2019-09-01/availableDelegations.json
+ - Microsoft.Network/stable/2019-09-01/availableServiceAliases.json
+ - Microsoft.Network/stable/2019-09-01/azureFirewall.json
+ - Microsoft.Network/stable/2019-09-01/azureFirewallFqdnTag.json
+ - Microsoft.Network/stable/2019-09-01/bastionHost.json
+ - Microsoft.Network/stable/2019-09-01/checkDnsAvailability.json
+ - Microsoft.Network/stable/2019-09-01/ddosCustomPolicy.json
+ - Microsoft.Network/stable/2019-09-01/ddosProtectionPlan.json
+ - Microsoft.Network/stable/2019-09-01/endpointService.json
+ - Microsoft.Network/stable/2019-09-01/expressRouteCircuit.json
+ - Microsoft.Network/stable/2019-09-01/expressRouteCrossConnection.json
+ - Microsoft.Network/stable/2019-09-01/expressRouteGateway.json
+ - Microsoft.Network/stable/2019-09-01/expressRoutePort.json
+ - Microsoft.Network/stable/2019-09-01/firewallPolicy.json
+ - Microsoft.Network/stable/2019-09-01/ipGroups.json
+ - Microsoft.Network/stable/2019-09-01/loadBalancer.json
+ - Microsoft.Network/stable/2019-09-01/natGateway.json
+ - Microsoft.Network/stable/2019-09-01/network.json
+ - Microsoft.Network/stable/2019-09-01/networkInterface.json
+ - Microsoft.Network/stable/2019-09-01/networkProfile.json
+ - Microsoft.Network/stable/2019-09-01/networkSecurityGroup.json
+ - Microsoft.Network/stable/2019-09-01/networkWatcher.json
+ - Microsoft.Network/stable/2019-06-01/networkWatcherConnectionMonitorV1.json
+ - Microsoft.Network/stable/2019-09-01/operation.json
+ - Microsoft.Network/stable/2019-09-01/privateEndpoint.json
+ - Microsoft.Network/stable/2019-09-01/privateLinkService.json
+ - Microsoft.Network/stable/2019-09-01/publicIpAddress.json
+ - Microsoft.Network/stable/2019-09-01/publicIpPrefix.json
+ - Microsoft.Network/stable/2019-09-01/routeFilter.json
+ - Microsoft.Network/stable/2019-09-01/routeTable.json
+ - Microsoft.Network/stable/2019-09-01/serviceCommunity.json
+ - Microsoft.Network/stable/2019-09-01/serviceEndpointPolicy.json
+ - Microsoft.Network/stable/2019-09-01/serviceTags.json
+ - Microsoft.Network/stable/2019-09-01/usage.json
+ - Microsoft.Network/stable/2019-09-01/virtualNetwork.json
+ - Microsoft.Network/stable/2019-09-01/virtualNetworkGateway.json
+ - Microsoft.Network/stable/2019-09-01/virtualNetworkTap.json
+ - Microsoft.Network/stable/2019-09-01/virtualRouter.json
+ - Microsoft.Network/stable/2019-09-01/virtualWan.json
+ - Microsoft.Network/stable/2019-09-01/vmssNetworkInterface.json
+ - Microsoft.Network/stable/2019-09-01/vmssPublicIpAddress.json
+ - Microsoft.Network/stable/2019-09-01/webapplicationfirewall.json
+```
### Tag: package-2019-08
These settings apply only when `--tag=package-2019-08` is specified on the command line.
-```yaml $(tag) == 'package-2019-08'
+``` yaml $(tag) == 'package-2019-08'
input-file:
- Microsoft.Network/stable/2019-08-01/applicationGateway.json
- Microsoft.Network/stable/2019-08-01/applicationSecurityGroup.json
@@ -82,6 +133,7 @@ input-file:
- Microsoft.Network/stable/2019-08-01/vmssPublicIpAddress.json
- Microsoft.Network/stable/2019-08-01/webapplicationfirewall.json
```
+
### Tag: package-2019-07
These settings apply only when `--tag=package-2019-07` is specified on the command line.
@@ -1077,6 +1129,9 @@ directive:
- suppress: RequiredPropertiesMissingInResourceModel
from: firewallPolicy.json
reason: name, id and type properties are inherited from the upper level
+ - suppress: RequiredPropertiesMissingInResourceModel
+ from: ipGroups.json
+ reason: name, id and type properties are inherited from the upper level
- suppress: RequiredPropertiesMissingInResourceModel
from: loadBalancer.json
reason: name, id and type properties are inherited from the upper level
diff --git a/specification/network/resource-manager/readme.python.md b/specification/network/resource-manager/readme.python.md
index c453d27ff2e2..32a15facc2c8 100644
--- a/specification/network/resource-manager/readme.python.md
+++ b/specification/network/resource-manager/readme.python.md
@@ -18,6 +18,7 @@ Generate all API versions currently shipped for this package
```yaml $(python) && $(multiapi)
batch:
+ - tag: package-2019-09
- tag: package-2019-08
- tag: package-2019-07
- tag: package-2019-06
@@ -43,6 +44,17 @@ batch:
- tag: package-2015-06split
```
+### Tag: package-2019-09 and python
+
+These settings apply only when `--tag=package-2019-09 --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-09' && $(python)
+python:
+ namespace: azure.mgmt.network.v2019_09_01
+ output-folder: $(python-sdks-folder)/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01
+```
+
### Tag: package-2019-08 and python
These settings apply only when `--tag=package-2019-08 --python` is specified on the command line.
From fce4dc4ffa535f135ee53d1e81edfba3a958b1c4 Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Tue, 22 Oct 2019 01:30:46 +0000
Subject: [PATCH 019/189] regenerated all-api-versions
---
.../network/resource-manager/readme.md | 45 ++++++++++++++++++-
1 file changed, 44 insertions(+), 1 deletion(-)
diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md
index a1ec47cbd2ea..b8c223dec840 100644
--- a/specification/network/resource-manager/readme.md
+++ b/specification/network/resource-manager/readme.md
@@ -1347,6 +1347,50 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/applicationGateway.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/applicationSecurityGroup.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/availableDelegations.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/availableServiceAliases.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/azureFirewall.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/azureFirewallFqdnTag.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/bastionHost.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/checkDnsAvailability.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/ddosCustomPolicy.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/ddosProtectionPlan.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/endpointService.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/expressRouteCircuit.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/expressRouteCrossConnection.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/expressRouteGateway.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/expressRoutePort.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/firewallPolicy.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/ipGroups.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/loadBalancer.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/natGateway.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/network.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/networkInterface.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/networkProfile.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/networkSecurityGroup.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/networkWatcher.json
+ - $(this-folder)/Microsoft.Network/stable/2019-06-01/networkWatcherConnectionMonitorV1.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/operation.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/privateEndpoint.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/privateLinkService.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/publicIpAddress.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/publicIpPrefix.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/routeFilter.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/routeTable.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/serviceCommunity.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/serviceEndpointPolicy.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/serviceTags.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/usage.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/virtualNetwork.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/virtualNetworkGateway.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/virtualNetworkTap.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/virtualRouter.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/virtualWan.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/vmssNetworkInterface.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/vmssPublicIpAddress.json
+ - $(this-folder)/Microsoft.Network/stable/2019-09-01/webapplicationfirewall.json
- $(this-folder)/Microsoft.Network/stable/2019-08-01/applicationGateway.json
- $(this-folder)/Microsoft.Network/stable/2019-08-01/applicationSecurityGroup.json
- $(this-folder)/Microsoft.Network/stable/2019-08-01/availableDelegations.json
@@ -1370,7 +1414,6 @@ input-file:
- $(this-folder)/Microsoft.Network/stable/2019-08-01/networkProfile.json
- $(this-folder)/Microsoft.Network/stable/2019-08-01/networkSecurityGroup.json
- $(this-folder)/Microsoft.Network/stable/2019-08-01/networkWatcher.json
- - $(this-folder)/Microsoft.Network/stable/2019-06-01/networkWatcherConnectionMonitorV1.json
- $(this-folder)/Microsoft.Network/stable/2019-08-01/operation.json
- $(this-folder)/Microsoft.Network/stable/2019-08-01/privateEndpoint.json
- $(this-folder)/Microsoft.Network/stable/2019-08-01/privateLinkService.json
From 6405fdd6023e04e54fb5c834c6f658ee10d59ca4 Mon Sep 17 00:00:00 2001
From: wanha-ms <56612697+wanha-ms@users.noreply.github.com>
Date: Mon, 21 Oct 2019 18:39:45 -0700
Subject: [PATCH 020/189] =?UTF-8?q?=20update-event-schema-for-azure-storag?=
=?UTF-8?q?e-event-grid-notification-for-cr=E2=80=A6=20(#7509)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../stable/2018-01-01/Storage.json | 169 +++++++++++++++++-
1 file changed, 167 insertions(+), 2 deletions(-)
diff --git a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json
index 2a5adbfbc09c..ee1aea01e036 100644
--- a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json
+++ b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json
@@ -24,7 +24,7 @@
"type": "string"
},
"eTag": {
- "description": "The etag of the object at the time this event was triggered.",
+ "description": "The etag of the blob at the time this event was triggered.",
"type": "string"
},
"contentType": {
@@ -36,6 +36,11 @@
"type": "integer",
"format": "int64"
},
+ "contentOffset": {
+ "description": "The offset of the blob in bytes.",
+ "type": "integer",
+ "format": "int64"
+ },
"blobType": {
"description": "The type of blob.",
"type": "string"
@@ -48,6 +53,10 @@
"description": "An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name.",
"type": "string"
},
+ "identity": {
+ "description": "The identity of the requester that triggered this event.",
+ "type": "string"
+ },
"storageDiagnostics": {
"description": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.",
"type": "object"
@@ -86,6 +95,162 @@
"description": "An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name.",
"type": "string"
},
+ "identity": {
+ "description": "The identity of the requester that triggered this event.",
+ "type": "string"
+ },
+ "storageDiagnostics": {
+ "description": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.",
+ "type": "object"
+ }
+ }
+ },
+ "StorageDirectoryCreatedEventData": {
+ "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.DirectoryCreated event.",
+ "type": "object",
+ "properties": {
+ "api": {
+ "description": "The name of the API/operation that triggered this event.",
+ "type": "string"
+ },
+ "clientRequestId": {
+ "description": "A request id provided by the client of the storage API operation that triggered this event.",
+ "type": "string"
+ },
+ "requestId": {
+ "description": "The request id generated by the storage service for the storage API operation that triggered this event.",
+ "type": "string"
+ },
+ "eTag": {
+ "description": "The etag of the directory at the time this event was triggered.",
+ "type": "string"
+ },
+ "url": {
+ "description": "The path to the directory.",
+ "type": "string"
+ },
+ "sequencer": {
+ "description": "An opaque string value representing the logical sequence of events for any particular directory name. Users can use standard string comparison to understand the relative sequence of two events on the same directory name.",
+ "type": "string"
+ },
+ "identity": {
+ "description": "The identity of the requester that triggered this event.",
+ "type": "string"
+ },
+ "storageDiagnostics": {
+ "description": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.",
+ "type": "object"
+ }
+ }
+ },
+ "StorageDirectoryDeletedEventData": {
+ "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.DirectoryDeleted event.",
+ "type": "object",
+ "properties": {
+ "api": {
+ "description": "The name of the API/operation that triggered this event.",
+ "type": "string"
+ },
+ "clientRequestId": {
+ "description": "A request id provided by the client of the storage API operation that triggered this event.",
+ "type": "string"
+ },
+ "requestId": {
+ "description": "The request id generated by the storage service for the storage API operation that triggered this event.",
+ "type": "string"
+ },
+ "url": {
+ "description": "The path to the deleted directory.",
+ "type": "string"
+ },
+ "recursive": {
+ "description": "Is this event for a recursive delete operation.",
+ "type": "boolean"
+ },
+ "sequencer": {
+ "description": "An opaque string value representing the logical sequence of events for any particular directory name. Users can use standard string comparison to understand the relative sequence of two events on the same directory name.",
+ "type": "string"
+ },
+ "identity": {
+ "description": "The identity of the requester that triggered this event.",
+ "type": "string"
+ },
+ "storageDiagnostics": {
+ "description": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.",
+ "type": "object"
+ }
+ }
+ },
+ "StorageBlobRenamedEventData": {
+ "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.BlobRenamed event.",
+ "type": "object",
+ "properties": {
+ "api": {
+ "description": "The name of the API/operation that triggered this event.",
+ "type": "string"
+ },
+ "clientRequestId": {
+ "description": "A request id provided by the client of the storage API operation that triggered this event.",
+ "type": "string"
+ },
+ "requestId": {
+ "description": "The request id generated by the storage service for the storage API operation that triggered this event.",
+ "type": "string"
+ },
+ "sourceUrl": {
+ "description": "The path to the blob that was renamed.",
+ "type": "string"
+ },
+ "destinationUrl": {
+ "description": "The new path to the blob after the rename operation.",
+ "type": "string"
+ },
+ "sequencer": {
+ "description": "An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name.",
+ "type": "string"
+ },
+ "identity": {
+ "description": "The identity of the requester that triggered this event.",
+ "type": "string"
+ },
+ "storageDiagnostics": {
+ "description": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.",
+ "type": "object"
+ }
+ }
+ },
+ "StorageDirectoryRenamedEventData": {
+ "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.DirectoryRenamed event.",
+ "type": "object",
+ "properties": {
+ "api": {
+ "description": "The name of the API/operation that triggered this event.",
+ "type": "string"
+ },
+ "clientRequestId": {
+ "description": "A request id provided by the client of the storage API operation that triggered this event.",
+ "type": "string"
+ },
+ "requestId": {
+ "description": "The request id generated by the storage service for the storage API operation that triggered this event.",
+ "type": "string"
+ },
+ "sourceUrl": {
+ "description": "The path to the directory that was renamed.",
+ "type": "string"
+ },
+ "destinationUrl": {
+ "description": "The new path to the directory after the rename operation.",
+ "type": "string"
+ },
+ "sequencer": {
+ "description": "An opaque string value representing the logical sequence of events for any particular directory name. Users can use standard string comparison to understand the relative sequence of two events on the same directory name.",
+ "type": "string"
+ },
+ "identity": {
+ "description": "The identity of the requester that triggered this event.",
+ "type": "string"
+ },
"storageDiagnostics": {
"description": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.",
"type": "object"
@@ -93,4 +258,4 @@
}
}
}
-}
+}
\ No newline at end of file
From 08ec526db6e50f146521a4dd0bd2ce132f75e4d5 Mon Sep 17 00:00:00 2001
From: Filiz Topatan
Date: Mon, 21 Oct 2019 19:41:01 -0700
Subject: [PATCH 021/189] [Resources] Add Deployment scripts as a new resource
type - preview - (#7486)
* Approved deployments scripts swagger from private repo
* Update readme files and fix typo
* Update property letter casing
* Removing the containerSettings property due to network profile not supporting user assigned MSI.
* Update specification/resources/resource-manager/readme.csharp.md
update package name
Co-Authored-By: Yeming Liu
---
.../2019-10-01-preview/deploymentScripts.json | 877 ++++++++++++++++++
.../examples/DeploymentScripts_Create.json | 99 ++
.../examples/DeploymentScripts_Delete.json | 45 +
.../examples/DeploymentScripts_Get.json | 42 +
.../examples/DeploymentScripts_GetLogs.json | 22 +
.../DeploymentScripts_GetLogsDefault.json | 18 +
...DeploymentScripts_ListByResourceGroup.json | 49 +
.../DeploymentScripts_ListBySubscription.json | 44 +
.../DeploymentScripts_Min_Create.json | 85 ++
.../examples/DeploymentScripts_Update.json | 53 ++
.../resource-manager/readme.csharp.md | 1 +
.../resources/resource-manager/readme.md | 32 +
12 files changed, 1367 insertions(+)
create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json
create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Create.json
create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Delete.json
create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Get.json
create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogs.json
create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogsDefault.json
create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_ListByResourceGroup.json
create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_ListBySubscription.json
create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Min_Create.json
create mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Update.json
diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json
new file mode 100644
index 000000000000..56a53796f73b
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json
@@ -0,0 +1,877 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "DeploymentScriptsClient",
+ "description": "The APIs listed in this specification can be used to manage Deployment Scripts resource through the Azure Resource Manager.",
+ "version": "2019-10-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}": {
+ "put": {
+ "tags": [
+ "DeploymentScripts"
+ ],
+ "operationId": "DeploymentScripts_Create",
+ "description": "Creates a deployment script.",
+ "x-ms-examples": {
+ "DeploymentScriptsCreate": {
+ "$ref": "./examples/DeploymentScripts_Create.json"
+ },
+ "DeploymentScriptsCreate_MinCreate": {
+ "$ref": "./examples/DeploymentScripts_Min_Create.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ScriptNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "deploymentScript",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DeploymentScript"
+ },
+ "description": "Deployment script supplied to the operation."
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Created -- Deployment script created.",
+ "schema": {
+ "$ref": "#/definitions/DeploymentScript"
+ }
+ },
+ "200": {
+ "description": "OK -- Deployment script is updated.",
+ "schema": {
+ "$ref": "#/definitions/DeploymentScript"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/DefaultErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "DeploymentScripts"
+ ],
+ "operationId": "DeploymentScripts_Update",
+ "description": "Updates a deployment script.",
+ "x-ms-examples": {
+ "DeploymentScriptsUpdate": {
+ "$ref": "./examples/DeploymentScripts_Update.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ScriptNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "deploymentScript",
+ "in": "body",
+ "schema": {
+ "$ref": "#/definitions/DeploymentScriptUpdateParameter"
+ },
+ "description": "Updated deployment script supplied to the operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK -- Deployment script is updated.",
+ "schema": {
+ "$ref": "#/definitions/DeploymentScript"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/DefaultErrorResponse"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "DeploymentScripts"
+ ],
+ "operationId": "DeploymentScripts_Get",
+ "description": "Gets a deployment script with a given name.",
+ "x-ms-examples": {
+ "DeploymentScriptsGet": {
+ "$ref": "./examples/DeploymentScripts_Get.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ScriptNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK -- Returns information about the deployment script.",
+ "schema": {
+ "$ref": "#/definitions/DeploymentScript"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/DefaultErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "DeploymentScripts"
+ ],
+ "operationId": "DeploymentScripts_Delete",
+ "description": "Deletes a deployment script. When operation completes, status code 200 returned without content.",
+ "x-ms-examples": {
+ "DeploymentScriptsDelete": {
+ "$ref": "./examples/DeploymentScripts_Delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ScriptNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK -- Deployment script deleted."
+ },
+ "204": {
+ "description": "Deployment script does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/DefaultErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentScripts": {
+ "get": {
+ "tags": [
+ "DeploymentScripts"
+ ],
+ "operationId": "DeploymentScripts_ListBySubscription",
+ "description": "Lists all deployment scripts for a given subscription.",
+ "x-ms-examples": {
+ "DeploymentScriptsListBySubscription": {
+ "$ref": "./examples/DeploymentScripts_ListBySubscription.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK -- Returns a list of deployment scripts.",
+ "schema": {
+ "$ref": "#/definitions/DeploymentScriptListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/DefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}/logs": {
+ "get": {
+ "tags": [
+ "DeploymentScripts"
+ ],
+ "operationId": "DeploymentScripts_GetLogs",
+ "description": "Gets deployment script logs for a given deployment script name.",
+ "x-ms-examples": {
+ "DeploymentScriptsGetLogs": {
+ "$ref": "./examples/DeploymentScripts_GetLogs.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ScriptNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK -- Returns deployment script logs if available.",
+ "schema": {
+ "$ref": "#/definitions/ScriptLogsList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/DefaultErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}/logs/default": {
+ "get": {
+ "tags": [
+ "DeploymentScripts"
+ ],
+ "operationId": "DeploymentScripts_GetLogsDefault",
+ "description": "Gets deployment script logs for a given deployment script name.",
+ "x-ms-examples": {
+ "DeploymentScriptsGetLogs": {
+ "$ref": "./examples/DeploymentScripts_GetLogsDefault.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ScriptNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK -- Returns deployment script logs if available.",
+ "schema": {
+ "$ref": "#/definitions/ScriptLog"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/DefaultErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts": {
+ "get": {
+ "tags": [
+ "DeploymentScripts"
+ ],
+ "operationId": "DeploymentScripts_ListByResourceGroup",
+ "description": "Lists deployments scripts.",
+ "x-ms-examples": {
+ "DeploymentScriptsList": {
+ "$ref": "./examples/DeploymentScripts_ListByResourceGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK -- Returns a list of deployment scripts.",
+ "schema": {
+ "$ref": "#/definitions/DeploymentScriptListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/DefaultErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "DeploymentScript": {
+ "required": [
+ "identity",
+ "location",
+ "kind"
+ ],
+ "type": "object",
+ "description": "Deployment script object.",
+ "discriminator": "kind",
+ "properties": {
+ "identity": {
+ "description": "Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.",
+ "$ref": "#/definitions/ManagedServiceIdentity"
+ },
+ "location": {
+ "type": "string",
+ "x-ms-mutability": [ "read", "create" ],
+ "description": "The location of the ACI and the storage account for the deployment script."
+ },
+ "tags": {
+ "type": "object",
+ "description": "Resource tags.",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "kind": {
+ "type": "string",
+ "description": "Type of the script.",
+ "enum": [
+ "AzurePowerShell",
+ "AzureCLI"
+ ],
+ "x-ms-enum": {
+ "name": "ScriptType",
+ "modelAsString": true
+ }
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/AzureResourceBase"
+ }
+ ]
+ },
+ "DeploymentScriptUpdateParameter": {
+ "type": "object",
+ "description": "Deployment script parameters to be updated. ",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "description": "Resource tags to be updated.",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/AzureResourceBase"
+ }
+ ]
+ },
+ "AzurePowerShellScript": {
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "x-ms-discriminator-value": "AzurePowerShell",
+ "description": "Object model for the Azure PowerShell script.",
+ "properties": {
+ "properties": {
+ "description": "Properties of the Azure PowerShell script object.",
+ "$ref": "#/definitions/AzurePowerShellScriptProperties",
+ "x-ms-client-flatten": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeploymentScript"
+ }
+ ]
+ },
+ "AzurePowerShellScriptProperties": {
+ "required": [
+ "azPowerShellVersion"
+ ],
+ "type": "object",
+ "description": "Properties of the Azure PowerShell script object.",
+ "properties": {
+ "azPowerShellVersion": {
+ "type": "string",
+ "description": "Azure PowerShell module version to be used."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeploymentScriptPropertiesBase"
+ },
+ {
+ "$ref": "#/definitions/ScriptConfigurationBase"
+ }
+ ]
+ },
+ "AzureCliScript": {
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "x-ms-discriminator-value": "AzureCLI",
+ "description": "Object model for the Azure CLI script.",
+ "properties": {
+ "properties": {
+ "description": "Properties of the Azure CLI script object.",
+ "$ref": "#/definitions/AzureCliScriptProperties",
+ "x-ms-client-flatten": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeploymentScript"
+ }
+ ]
+ },
+ "AzureCliScriptProperties": {
+ "required": [
+ "azCliVersion"
+ ],
+ "type": "object",
+ "description": "Properties of the Azure CLI script object.",
+ "properties": {
+ "azCliVersion": {
+ "type": "string",
+ "description": "Azure CLI module version to be used."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeploymentScriptPropertiesBase"
+ },
+ {
+ "$ref": "#/definitions/ScriptConfigurationBase"
+ }
+ ]
+ },
+ "ScriptConfigurationBase": {
+ "required": [
+ "retentionInterval"
+ ],
+ "type": "object",
+ "x-ms-external": true,
+ "description": "Common configuration settings for both Azure PowerShell and Azure CLI scripts.",
+ "properties": {
+ "primaryScriptUri": {
+ "type": "string",
+ "description": "Uri for the script. This is the entry point for the external script."
+ },
+ "supportingScriptUris": {
+ "type": "array",
+ "description": "Supporting files for the external script.",
+ "items": {
+ "type": "string",
+ "description": "Supporting file Uri."
+ }
+ },
+ "scriptContent": {
+ "type": "string",
+ "maxLength": 32000,
+ "description": "Script body."
+ },
+ "arguments": {
+ "type": "string",
+ "description": "Command line arguments to pass to the script. Arguments are separated by spaces. ex: -Name blue* -Location 'West US 2' "
+ },
+ "environmentVariables": {
+ "description": "The environment variables to pass over to the script.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EnvironmentVariable"
+ }
+ },
+ "forceUpdateTag": {
+ "type": "string",
+ "description": "Gets or sets how the deployment script should be forced to execute even if the script resource has not changed. Can be current time stamp or a GUID."
+ },
+ "retentionInterval": {
+ "type": "string",
+ "format": "duration",
+ "description": "Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. Duration is based on ISO 8601 pattern (for example P7D means one week)."
+ },
+ "timeout": {
+ "type": "string",
+ "format": "duration",
+ "description": "Maximum allowed script execution time specified in ISO 8601 format. Default value is PT1H"
+ }
+ }
+ },
+ "DeploymentScriptPropertiesBase": {
+ "type": "object",
+ "x-ms-external": true,
+ "description": "Common properties for the deployment script.",
+ "properties": {
+ "cleanupPreference": {
+ "type": "string",
+ "description": "The clean up preference when the script execution gets in a terminal state. Default setting is 'Always'.",
+ "enum": [
+ "Always",
+ "OnSuccess",
+ "OnExpiration"
+ ],
+ "x-ms-enum": {
+ "name": "cleanupOptions",
+ "modelAsString": true
+ }
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "State of the script execution. This only appears in the response.",
+ "enum": [
+ "Creating",
+ "ProvisioningResources",
+ "Running",
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "ScriptProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "status": {
+ "type": "object",
+ "readOnly": true,
+ "description": "Contains the results of script execution.",
+ "$ref": "#/definitions/ScriptStatus"
+ },
+ "outputs": {
+ "description": "List of script outputs.",
+ "type": "object",
+ "readOnly": true,
+ "additionalProperties": {
+ "type": "object",
+ "description": "Script output in pair."
+ }
+ }
+ }
+ },
+ "ScriptStatus": {
+ "type": "object",
+ "description": "Generic object modeling results of script execution.",
+ "properties": {
+ "containerInstanceId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "ACI resource Id."
+ },
+ "storageAccountId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Storage account resource Id."
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "Start time of the script execution."
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "End time of the script execution."
+ },
+ "expirationTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "Time the deployment script resource will expire."
+ }
+ }
+ },
+ "ManagedServiceIdentity": {
+ "type": "object",
+ "description": "Managed identity generic object.",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "Type of the managed identity.",
+ "enum": [
+ "UserAssigned"
+ ],
+ "x-ms-enum": {
+ "name": "ManagedServiceIdentityType",
+ "modelAsString": true
+ }
+ },
+ "userAssignedIdentities": {
+ "type": "object",
+ "description": "The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.",
+ "additionalProperties": {
+ "description": "User-assigned managed identity.",
+ "$ref": "#/definitions/UserAssignedIdentity"
+ }
+ }
+ }
+ },
+ "UserAssignedIdentity": {
+ "type": "object",
+ "description": "User-assigned managed identity.",
+ "properties": {
+ "principalId": {
+ "type": "string",
+ "description": "Azure Active Directory principal ID associated with this identity."
+ },
+ "clientId": {
+ "type": "string",
+ "description": "Client App Id associated with this identity."
+ }
+ }
+ },
+ "EnvironmentVariable": {
+ "description": "The environment variable to pass to the script in the container instance.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the environment variable."
+ },
+ "value": {
+ "type": "string",
+ "description": "The value of the environment variable."
+ },
+ "secureValue": {
+ "type": "string",
+ "description": "The value of the secure environment variable."
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "DeploymentScriptListResult": {
+ "description": "List of deployment scripts.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DeploymentScript"
+ },
+ "description": "An array of deployment scripts."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to use for getting the next set of results."
+ }
+ }
+ },
+ "ScriptLogsList": {
+ "description": "Deployment script execution logs.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ScriptLog"
+ },
+ "description": "Deployment scripts logs."
+ }
+ }
+ },
+ "ScriptLog": {
+ "type": "object",
+ "description": "Script execution log object.",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/LogProperties",
+ "x-ms-client-flatten": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/AzureResourceBase"
+ }
+ ]
+ },
+ "LogProperties": {
+ "type": "object",
+ "description": "Script log properties.",
+ "properties": {
+ "log": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Script execution logs in text format."
+ }
+ }
+ },
+ "AzureResourceBase": {
+ "x-ms-azure-resource": true,
+ "type": "object",
+ "description": "Common properties for all Azure resources.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "String Id used to locate any resource on Azure."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of this resource."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of this resource."
+ }
+ }
+ },
+ "DefaultErrorResponse": {
+ "description": "The details of the error.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "One of a server-defined set of error codes.",
+ "type": "string"
+ },
+ "message": {
+ "description": "A human-readable representation of the error.",
+ "type": "string"
+ },
+ "target": {
+ "description": "The target of the particular error.",
+ "type": "string"
+ },
+ "details": {
+ "description": "Detailed errors.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DefaultErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client",
+ "description": "Subscription Id which forms part of the URI for every service call."
+ },
+ "ScriptNameParameter": {
+ "name": "scriptName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of the deployment script.",
+ "minLength": 1,
+ "maxLength": 90,
+ "x-ms-parameter-location": "method"
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group. The name is case insensitive.",
+ "pattern": "^[-\\w\\._\\(\\)]+$",
+ "minLength": 1,
+ "maxLength": 90,
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client",
+ "description": "Client Api version."
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Create.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Create.json
new file mode 100644
index 000000000000..2d4156d8e6df
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Create.json
@@ -0,0 +1,99 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "script-rg",
+ "scriptName": "MyDeploymentScript",
+ "deploymentScript": {
+ "kind": "AzurePowerShell",
+ "location": "westus",
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {}
+ }
+ },
+ "properties": {
+ "azPowerShellVersion": "1.7.0",
+ "scriptContent": "Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name",
+ "arguments": "-Location 'westus' -Name \"*rg2\"",
+ "supportingScriptUris": [
+ "https://uri1.to.supporting.script",
+ "https://uri2.to.supporting.script"
+ ],
+ "retentionInterval": "PT7D",
+ "timeout": "PT1H",
+ "cleanupPreference": "Always"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "kind": "AzurePowerShell",
+ "location": "westus",
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {}
+ }
+ },
+ "properties": {
+ "provisioningState": "Creating",
+ "azPowerShellVersion": "1.7.0",
+ "scriptContent": "Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name",
+ "arguments": "-Location 'westus' -Name \"*rg2\"",
+ "supportingScriptUris": [
+ "https://uri1.to.supporting.script",
+ "https://uri2.to.supporting.script"
+ ],
+ "retentionInterval": "P7D",
+ "timeout": "PT1H",
+ "cleanupPreference": "Always",
+ "status": {
+ "containerInstanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ContainerInstance/containerGroups/scriptContainer",
+ "storageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.Storage/storageAccounts/scriptStorage",
+ "startTime": "2018-11-13T15:19:45-08:00",
+ "endTime": "2018-11-13T15:19:45-08:00",
+ "expirationTime": "2018-11-13T15:19:45-08:00"
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "kind": "AzurePowerShell",
+ "location": "westus",
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {}
+ }
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "azPowerShellVersion": "1.7.0",
+ "scriptContent": "Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name",
+ "arguments": "-Location 'westus' -Name \"*rg2\"",
+ "supportingScriptUris": [
+ "https://uri1.to.supporting.script",
+ "https://uri2.to.supporting.script"
+ ],
+ "retentionInterval": "P7D",
+ "timeout": "PT1H",
+ "cleanupPreference": "Always",
+ "status": {
+ "containerInstanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ContainerInstance/containerGroups/scriptContainer",
+ "storageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.Storage/storageAccounts/scriptStorage",
+ "startTime": "2018-11-13T15:19:45-08:00",
+ "endTime": "2018-11-13T15:19:45-08:00",
+ "expirationTime": "2018-11-13T15:19:45-08:00"
+ },
+ "outputs": {
+ "output1": "value1"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Delete.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Delete.json
new file mode 100644
index 000000000000..9c723a5db962
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Delete.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "script-rg",
+ "scriptName": "MyDeploymentScript",
+ "deploymentScript": {
+ "kind": "AzurePowerShell",
+ "location": "westus",
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {}
+ }
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "azPowerShellVersion": "1.7.0",
+ "scriptContent": "user script body",
+ "arguments": "user script arguments",
+ "supportingScriptUris": [
+ "https://uri1.to.supporting.script",
+ "https://uri2.to.supporting.script"
+ ],
+ "retentionInterval": "PT7D",
+ "timeout": "PT1H",
+ "cleanupPreference": "Always",
+ "results": {
+ "aciId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ContainerInstance/containerGroups/scriptContainer",
+ "storageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.Storage/storageAccounts/scriptStorage",
+ "startTime": "2018-11-13T15:19:45-08:00",
+ "endTime": "2018-11-13T15:19:45-08:00",
+ "expirationTime": "2018-11-13T15:19:45-08:00"
+ },
+ "outputs": {
+ "output1": "value1"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Get.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Get.json
new file mode 100644
index 000000000000..2229356c8221
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Get.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "script-rg",
+ "scriptName": "MyDeploymentScript"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "kind": "AzurePowerShell",
+ "location": "westus",
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {}
+ }
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "azPowerShellVersion": "1.7.0",
+ "scriptContent": "Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name",
+ "arguments": "-Location 'westus' -Name \"*rg2\"",
+ "retentionInterval": "PT7D",
+ "timeout": "PT1H",
+ "cleanupPreference": "Always",
+ "status": {
+ "containerInstanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ContainerInstance/containerGroups/scriptContainer",
+ "storageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.Storage/storageAccounts/scriptStorage",
+ "startTime": "2018-11-13T15:19:45-08:00",
+ "endTime": "2018-11-13T15:19:45-08:00",
+ "expirationTime": "2018-11-13T15:19:45-08:00"
+ },
+ "outputs": {
+ "output1": "value1"
+ }
+ }
+ }
+ }
+ }
+}
+
diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogs.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogs.json
new file mode 100644
index 000000000000..8d8367c9c069
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogs.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "script-rg",
+ "scriptName": "MyDeploymentScript"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "log": "script execution stdout/stderr logs"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
+
diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogsDefault.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogsDefault.json
new file mode 100644
index 000000000000..86afac3c5038
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogsDefault.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "script-rg",
+ "scriptName": "MyDeploymentScript"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "log": "script execution stdout/stderr logs"
+ }
+ }
+ }
+ }
+}
+
diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_ListByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_ListByResourceGroup.json
new file mode 100644
index 000000000000..983b4c2c9cc8
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_ListByResourceGroup.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "script-rg",
+ "scriptName": "MyDeploymentScript"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "kind": "AzurePowerShell",
+ "location": "westus",
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {}
+ }
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "azPowerShellVersion": "1.7.0",
+ "scriptContent": "Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name",
+ "arguments": "-Location 'westus' -Name \"*rg2\"",
+ "supportingScriptUris": [
+ "https://uri1.to.supporting.script",
+ "https://uri2.to.supporting.script"
+ ],
+ "retentionInterval": "P7D",
+ "timeout": "PT1H",
+ "cleanupPreference": "Always",
+ "status": {
+ "containerInstanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ContainerInstance/containerGroups/scriptContainer",
+ "storageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.Storage/storageAccounts/scriptStorage",
+ "startTime": "2018-11-13T15:19:45-08:00",
+ "endTime": "2018-11-13T15:19:45-08:00",
+ "expirationTime": "2018-11-13T15:19:45-08:00"
+ },
+ "outputs": {
+ "output1": "value1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_ListBySubscription.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_ListBySubscription.json
new file mode 100644
index 000000000000..7e78a294bba4
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_ListBySubscription.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "kind": "AzurePowerShell",
+ "location": "westus",
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai":
+ {}
+ }
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "azPowerShellVersion": "1.7.0",
+ "scriptContent": "Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name",
+ "arguments": "-Location 'westus' -Name \"*rg2\"",
+ "retentionInterval": "PT7D",
+ "timeout": "PT1H",
+ "cleanupPreference": "Always",
+ "status": {
+ "containerInstanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ContainerInstance/containerGroups/scriptContainer",
+ "storageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.Storage/storageAccounts/scriptStorage",
+ "startTime": "2018-11-13T15:19:45-08:00",
+ "endTime": "2018-11-13T15:19:45-08:00",
+ "expirationTime": "2018-11-13T15:19:45-08:00"
+ },
+ "outputs": {
+ "output1": "value1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Min_Create.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Min_Create.json
new file mode 100644
index 000000000000..dc4436f997b4
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Min_Create.json
@@ -0,0 +1,85 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "script-rg",
+ "scriptName": "MyDeploymentScript",
+ "deploymentScript": {
+ "kind": "AzurePowerShell",
+ "location": "westus",
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {}
+ }
+ },
+ "properties": {
+ "azPowerShellVersion": "1.7.0",
+ "scriptContent": "Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name",
+ "arguments": "-Location 'westus' -Name \"*rg2\"",
+ "retentionInterval": "P7D"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "kind": "AzurePowerShell",
+ "location": "westus",
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {}
+ }
+ },
+ "properties": {
+ "provisioningState": "Creating",
+ "azPowerShellVersion": "1.7.0",
+ "scriptContent": "Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name",
+ "arguments": "-Location 'westus' -Name \"*rg2\"",
+ "retentionInterval": "P7D",
+ "timeout": "PT1H",
+ "cleanupPreference": "Always",
+ "status": {
+ "containerInstanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ContainerInstance/containerGroups/scriptContainer",
+ "storageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.Storage/storageAccounts/scriptStorage",
+ "startTime": "2018-11-13T15:19:45-08:00",
+ "endTime": "2018-11-13T15:19:45-08:00",
+ "expirationTime": "2018-11-13T15:19:45-08:00"
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "kind": "AzurePowerShell",
+ "location": "westus",
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {}
+ }
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "azPowerShellVersion": "1.7.0",
+ "scriptContent": "Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name",
+ "arguments": "-Location 'westus' -Name \"*rg2\"",
+ "retentionInterval": "P7D",
+ "timeout": "PT1H",
+ "cleanupPreference": "Always",
+ "status": {
+ "containerInstanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ContainerInstance/containerGroups/scriptContainer",
+ "storageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.Storage/storageAccounts/scriptStorage",
+ "startTime": "2018-11-13T15:19:45-08:00",
+ "endTime": "2018-11-13T15:19:45-08:00",
+ "expirationTime": "2018-11-13T15:19:45-08:00"
+ },
+ "outputs": {
+ "output1": "value1"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Update.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Update.json
new file mode 100644
index 000000000000..bddfbbee0d83
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Update.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "script-rg",
+ "scriptName": "MyDeploymentScript",
+ "deploymentScript": {
+ "tags": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "azPowerShellVersion": "1.7.0",
+ "scriptContent":
+ "Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name",
+ "arguments": "-Location 'westus' -Name \"*rg2\"",
+ "supportingScriptUris": [
+ "https://uri1.to.supporting.script",
+ "https://uri2.to.supporting.script"
+ ],
+ "retentionInterval": "P7D",
+ "timeout": "PT1H",
+ "cleanupPreference": "Always",
+ "status": {
+ "containerInstanceId":
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ContainerInstance/containerGroups/scriptContainer",
+ "storageAccountId":
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.Storage/storageAccounts/scriptStorage",
+ "startTime": "2018-11-13T15:19:45-08:00",
+ "endTime": "2018-11-13T15:19:45-08:00",
+ "expirationTime": "2018-11-13T15:19:45-08:00"
+ },
+ "outputs": {
+ "output1": "value1"
+ }
+ },
+ "kind": "AzurePowerShell",
+ "location": "westus",
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai":
+ {}
+ }
+ },
+ "tags": {}
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/readme.csharp.md b/specification/resources/resource-manager/readme.csharp.md
index 9eebe1e0c3d4..37177ca9f1ce 100644
--- a/specification/resources/resource-manager/readme.csharp.md
+++ b/specification/resources/resource-manager/readme.csharp.md
@@ -23,6 +23,7 @@ batch:
- package-resources: true
- package-subscriptions: true
- package-links: true
+ - package-deploymentscripts: true
# - package-managedapplications: true
```
diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md
index 96de4985ec6b..aad371028f57 100644
--- a/specification/resources/resource-manager/readme.md
+++ b/specification/resources/resource-manager/readme.md
@@ -56,6 +56,18 @@ tag: package-links-2016-09
tag: package-managedapplications-2018-06
```
+``` yaml $(package-deploymentscripts)
+tag: package-deploymentscripts-2019-10-preview
+```
+
+### Tag: package-resources-2019-10-preview
+These settings apply only when `--tag=package-deploymentscripts-2019-10-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-deploymentscripts-2019-10-preview'
+input-file:
+- Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json
+```
+
### Tag: package-features-2015-12
These settings apply only when `--tag=package-features-2015-12` is specified on the command line.
@@ -452,6 +464,26 @@ directive:
from: managedapplications.json
where: $.definitions.GenericResource.properties
reason: managedBy is a top level property
+ - from: deploymentScripts.json
+ suppress: TrackedResourceGetOperation
+ where: $.definitions.AzureCliScript
+ reason: Tooling issue.
+ - from: deploymentScripts.json
+ suppress: TrackedResourcePatchOperation
+ where: $.definitions.AzureCliScript
+ reason: Tooling issue.
+ - from: deploymentScripts.json
+ suppress: TrackedResourceGetOperation
+ where: $.definitions.AzurePowerShellScript
+ reason: Tooling issue
+ - from: deploymentScripts.json
+ suppress: TrackedResourcePatchOperation
+ where: $.definitions.AzurePowerShellScript
+ reason: Tooling issue
+ - from: deploymentScripts.json
+ suppress: OperationsAPIImplementation
+ where: $.paths
+ reason: OperationsAPI will come from Resources
```
---
From 57bd1300c1d280a03d7500d702722d226fc3f84f Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Tue, 22 Oct 2019 02:42:12 +0000
Subject: [PATCH 022/189] regenerated all-api-versions
---
specification/resources/resource-manager/readme.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md
index aad371028f57..8398bdb3ab99 100644
--- a/specification/resources/resource-manager/readme.md
+++ b/specification/resources/resource-manager/readme.md
@@ -561,6 +561,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json
- $(this-folder)/Microsoft.Features/stable/2015-12-01/features.json
- $(this-folder)/Microsoft.Authorization/stable/2016-09-01/locks.json
- $(this-folder)/Microsoft.Authorization/stable/2015-01-01/locks.json
From 5265b9205331da0a55f2d17eb6b436b7d67d1f09 Mon Sep 17 00:00:00 2001
From: bganapa
Date: Mon, 21 Oct 2019 20:27:32 -0700
Subject: [PATCH 023/189] Fixing issues in Azurestack admin api specs while
running the powershell generator (#7566)
---
.../Microsoft.Fabric.Admin/preview/2016-05-01/ScaleUnit.json | 2 +-
.../preview/2016-05-01/examples/ScaleUnit/ScaleOut.json | 2 +-
.../preview/2015-04-01/GalleryItem.json | 2 +-
.../preview/2015-04-01/examples/GalleryItem/Create.json | 2 +-
.../preview/2015-11-01/Subscriptions.json | 3 ---
5 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/ScaleUnit.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/ScaleUnit.json
index 33d362fa0e25..b61bb0c6bbfb 100644
--- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/ScaleUnit.json
+++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/ScaleUnit.json
@@ -423,7 +423,7 @@
"x-ms-parameter-location": "method"
},
"ScaleOutScaleUnitParametersInBody": {
- "name": "nodeList",
+ "name": "scaleUnitNodeParameters",
"description": "A list of input data that allows for adding a set of scale unit nodes.",
"in": "body",
"required": true,
diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/examples/ScaleUnit/ScaleOut.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/examples/ScaleUnit/ScaleOut.json
index 85691ca456d6..80503125961a 100644
--- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/examples/ScaleUnit/ScaleOut.json
+++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/examples/ScaleUnit/ScaleOut.json
@@ -5,7 +5,7 @@
"resourceGroupName": "System.local",
"location": "local",
"scaleUnit": "S-Cluster",
- "nodeList": {
+ "scaleUnitNodeParameters": {
"scaleUnitNode": "N1S2",
"bmcIPv4Address": "192.0.0.1"
}
diff --git a/specification/azsadmin/resource-manager/gallery/Microsoft.Gallery.Admin/preview/2015-04-01/GalleryItem.json b/specification/azsadmin/resource-manager/gallery/Microsoft.Gallery.Admin/preview/2015-04-01/GalleryItem.json
index c44c6b48edb1..7a69e8aa17d7 100644
--- a/specification/azsadmin/resource-manager/gallery/Microsoft.Gallery.Admin/preview/2015-04-01/GalleryItem.json
+++ b/specification/azsadmin/resource-manager/gallery/Microsoft.Gallery.Admin/preview/2015-04-01/GalleryItem.json
@@ -666,7 +666,7 @@
},
"GalleryItemUriPayloadParameter": {
"description": "The URI to the gallery item JSON file.",
- "name": "galleryItemUri",
+ "name": "galleryItemUriPayload",
"in": "body",
"required": true,
"schema": {
diff --git a/specification/azsadmin/resource-manager/gallery/Microsoft.Gallery.Admin/preview/2015-04-01/examples/GalleryItem/Create.json b/specification/azsadmin/resource-manager/gallery/Microsoft.Gallery.Admin/preview/2015-04-01/examples/GalleryItem/Create.json
index 42b01741e77d..aa3e2c71c21f 100644
--- a/specification/azsadmin/resource-manager/gallery/Microsoft.Gallery.Admin/preview/2015-04-01/examples/GalleryItem/Create.json
+++ b/specification/azsadmin/resource-manager/gallery/Microsoft.Gallery.Admin/preview/2015-04-01/examples/GalleryItem/Create.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "0ff0bbbe-d68d-4314-8f68-80a808b5a6ec",
"api-version": "2016-05-01",
- "galleryItemUri": "https://github.com/Azure/AzureStack-Tools/raw/master/ComputeAdmin/microsoft.vmss.1.3.6.azpkg"
+ "galleryItemUriPayload": "https://github.com/Azure/AzureStack-Tools/raw/master/ComputeAdmin/microsoft.vmss.1.3.6.azpkg"
},
"responses": {
"200": {
diff --git a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/Subscriptions.json b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/Subscriptions.json
index d2ed8205499f..9add0b5d584a 100644
--- a/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/Subscriptions.json
+++ b/specification/azsadmin/resource-manager/subscriptions/Microsoft.Subscriptions.Admin/preview/2015-11-01/Subscriptions.json
@@ -271,9 +271,6 @@
"$ref": "#/definitions/CheckNameAvailabilityResponse"
}
}
- },
- "x-ms-pageable": {
- "nextLinkName": null
}
}
},
From ffc9aba60c8fda2191db57f3ba13d0c94f53b605 Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Tue, 22 Oct 2019 00:30:43 -0400
Subject: [PATCH 024/189] fixing tag package-2019-07-01-only (#7574)
---
specification/compute/resource-manager/readme.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/specification/compute/resource-manager/readme.md b/specification/compute/resource-manager/readme.md
index 014b11c56231..ca7a874b8fd0 100644
--- a/specification/compute/resource-manager/readme.md
+++ b/specification/compute/resource-manager/readme.md
@@ -240,7 +240,10 @@ These settings apply only when `--tag=package-2019-07-01-only` is specified on t
``` yaml $(tag) == 'package-2019-07-01-only'
input-file:
+- Microsoft.Compute/stable/2019-07-01/compute.json
+- Microsoft.Compute/stable/2019-07-01/disk.json
- Microsoft.Compute/stable/2019-07-01/gallery.json
+- Microsoft.Compute/stable/2019-07-01/runCommands.json
```
### Tag: package-2019-03-01
From cf9e1b365a252e3d67e19757b87e0404a0693a94 Mon Sep 17 00:00:00 2001
From: Xiaofang Zhang
Date: Mon, 21 Oct 2019 21:41:24 -0700
Subject: [PATCH 025/189] Publish container service 2019-10-01 api version
(#7567)
* Adds base for updating Microsoft.ContainerService from version stable/2019-08-01 to version 2019-10-01
* Updates readme
* Updates API version in new specs and examples
* added private FQDN (#7430)
* added private FQDN
* added example
* remove example
* updating sdk tags for 2019-10-01 api version (#7550)
* updating sdk tags for 2019-10-01 api version
* fixing ci errors
---
.../examples/AgentPoolsCreate_Update.json | 64 +
.../2019-10-01/examples/AgentPoolsDelete.json | 13 +
.../2019-10-01/examples/AgentPoolsGet.json | 25 +
...entPoolsGetAgentPoolAvailableVersions.json | 32 +
.../examples/AgentPoolsGetUpgradeProfile.json | 27 +
.../2019-10-01/examples/AgentPoolsList.json | 28 +
.../ManagedClustersCreate_Update.json | 205 ++
.../examples/ManagedClustersDelete.json | 12 +
.../examples/ManagedClustersGet.json | 88 +
.../ManagedClustersGetAccessProfile.json | 22 +
.../ManagedClustersGetUpgradeProfile.json | 49 +
.../examples/ManagedClustersList.json | 64 +
.../ManagedClustersListByResourceGroup.json | 65 +
...edClustersListClusterCredentialResult.json | 20 +
.../ManagedClustersResetAADProfile.json | 18 +
...dClustersResetServicePrincipalProfile.json | 16 +
.../examples/ManagedClustersUpdateTags.json | 67 +
.../stable/2019-10-01/managedClusters.json | 2308 +++++++++++++++++
.../resource-manager/readme.go.md | 11 +
.../resource-manager/readme.java.md | 14 +
.../resource-manager/readme.md | 30 +-
.../resource-manager/readme.python.md | 12 +
22 files changed, 3186 insertions(+), 4 deletions(-)
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsCreate_Update.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsDelete.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsGet.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsGetUpgradeProfile.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsList.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersCreate_Update.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersDelete.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersGet.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersGetAccessProfile.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersGetUpgradeProfile.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersList.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersListByResourceGroup.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersListClusterCredentialResult.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersResetAADProfile.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersResetServicePrincipalProfile.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersUpdateTags.json
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/managedClusters.json
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsCreate_Update.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsCreate_Update.json
new file mode 100644
index 000000000000..b9ec99ea67df
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsCreate_Update.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "agentPoolName": "agentpool1",
+ "parameters": {
+ "properties": {
+ "orchestratorVersion": "",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "osType": "Linux",
+ "nodeTaints": [
+ "Key1=Value1:NoSchedule"
+ ],
+ "scaleSetPriority": "Low",
+ "scaleSetEvictionPolicy": "Delete"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
+ "type": "Microsoft.ContainerService/managedClusters/agentPools",
+ "name": "agentpool1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "orchestratorVersion": "1.9.6",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "nodeTaints": [
+ "Key1=Value1:NoSchedule"
+ ],
+ "scaleSetPriority": "Low",
+ "scaleSetEvictionPolicy": "Delete"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
+ "type": "Microsoft.ContainerService/managedClusters/agentPools",
+ "name": "agentpool1",
+ "properties": {
+ "provisioningState": "Creating",
+ "orchestratorVersion": "1.9.6",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "nodeTaints": [
+ "Key1=Value1:NoSchedule"
+ ],
+ "scaleSetPriority": "Low",
+ "scaleSetEvictionPolicy": "Delete"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsDelete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsDelete.json
new file mode 100644
index 000000000000..fda05b251c90
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "agentPoolName": "agentpool1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsGet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsGet.json
new file mode 100644
index 000000000000..a1ff30d9a1d4
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "agentPoolName": "agentpool1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
+ "name": "agentpool1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "orchestratorVersion": "1.9.6"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json
new file mode 100644
index 000000000000..5b349e7115d0
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/availableagentpoolversions",
+ "name": "default",
+ "properties": {
+ "agentPoolVersions": [
+ {
+ "kubernetesVersion": "1.12.7"
+ },
+ {
+ "kubernetesVersion": "1.12.8"
+ },
+ {
+ "default": true,
+ "kubernetesVersion": "1.13.5",
+ "isPreview": true
+ }
+ ]
+ },
+ "type": "Microsoft.ContainerService/managedClusters/availableAgentpoolVersions"
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsGetUpgradeProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsGetUpgradeProfile.json
new file mode 100644
index 000000000000..ba86fc7b293d
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsGetUpgradeProfile.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "agentPoolName": "agentpool1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1/upgradeprofiles/default",
+ "name": "default",
+ "properties": {
+ "kubernetesVersion": "1.12.8",
+ "osType": "Linux",
+ "upgrades": [
+ {
+ "kubernetesVersion": "1.13.5"
+ }
+ ]
+ },
+ "type": "Microsoft.ContainerService/managedClusters/agentPools/upgradeProfiles"
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsList.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsList.json
new file mode 100644
index 000000000000..4d90083f9af3
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/AgentPoolsList.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1",
+ "name": "agentpool1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "orchestratorVersion": "1.9.6"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersCreate_Update.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersCreate_Update.json
new file mode 100644
index 000000000000..07aa235153e5
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersCreate_Update.json
@@ -0,0 +1,205 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "parameters": {
+ "location": "location1",
+ "tags": {
+ "tier": "production",
+ "archv2": ""
+ },
+ "properties": {
+ "kubernetesVersion": "",
+ "dnsPrefix": "dnsprefix1",
+ "agentPoolProfiles": [
+ {
+ "name": "nodepool1",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "osType": "Linux",
+ "type": "VirtualMachineScaleSets",
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "enableNodePublicIP": true
+ }
+ ],
+ "linuxProfile": {
+ "adminUsername": "azureuser",
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "keydata"
+ }
+ ]
+ }
+ },
+ "networkProfile": {
+ "loadBalancerSku": "standard",
+ "loadBalancerProfile": {
+ "managedOutboundIPs": {
+ "count": 2
+ }
+ }
+ },
+ "windowsProfile": {
+ "adminUsername": "azureuser",
+ "adminPassword": "replacePassword1234$"
+ },
+ "servicePrincipalProfile": {
+ "clientId": "clientid",
+ "secret": "secret"
+ },
+ "addonProfiles": {},
+ "enableRBAC": true,
+ "enablePodSecurityPolicy": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1",
+ "location": "location1",
+ "name": "clustername1",
+ "tags": {
+ "archv2": "",
+ "tier": "production"
+ },
+ "type": "Microsoft.ContainerService/ManagedClusters",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "maxAgentPools": 1,
+ "kubernetesVersion": "1.9.6",
+ "dnsPrefix": "dnsprefix1",
+ "agentPoolProfiles": [
+ {
+ "name": "nodepool1",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "provisioningState": "Succeeded",
+ "orchestratorVersion": "1.9.6",
+ "type": "VirtualMachineScaleSets",
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "enableNodePublicIP": true
+ }
+ ],
+ "linuxProfile": {
+ "adminUsername": "azureuser",
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "keydata"
+ }
+ ]
+ }
+ },
+ "windowsProfile": {
+ "adminUsername": "azureuser"
+ },
+ "servicePrincipalProfile": {
+ "clientId": "clientid"
+ },
+ "nodeResourceGroup": "MC_rg1_clustername1_location1",
+ "enableRBAC": true,
+ "enablePodSecurityPolicy": true,
+ "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io",
+ "networkProfile": {
+ "loadBalancerSku": "basic",
+ "networkPlugin": "kubenet",
+ "podCidr": "10.244.0.0/16",
+ "serviceCidr": "10.0.0.0/16",
+ "dnsServiceIP": "10.0.0.10",
+ "dockerBridgeCidr": "172.17.0.1/16"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1",
+ "location": "location1",
+ "name": "clustername1",
+ "tags": {
+ "archv2": "",
+ "tier": "production"
+ },
+ "type": "Microsoft.ContainerService/ManagedClusters",
+ "properties": {
+ "provisioningState": "Creating",
+ "maxAgentPools": 1,
+ "kubernetesVersion": "1.9.6",
+ "dnsPrefix": "dnsprefix1",
+ "agentPoolProfiles": [
+ {
+ "name": "nodepool1",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "provisioningState": "Creating",
+ "orchestratorVersion": "1.9.6",
+ "type": "VirtualMachineScaleSets",
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "enableNodePublicIP": true
+ }
+ ],
+ "linuxProfile": {
+ "adminUsername": "azureuser",
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "keydata"
+ }
+ ]
+ }
+ },
+ "windowsProfile": {
+ "adminUsername": "azureuser"
+ },
+ "servicePrincipalProfile": {
+ "clientId": "clientid"
+ },
+ "nodeResourceGroup": "MC_rg1_clustername1_location1",
+ "enableRBAC": true,
+ "enablePodSecurityPolicy": true,
+ "networkProfile": {
+ "networkPlugin": "kubenet",
+ "podCidr": "10.244.0.0/16",
+ "serviceCidr": "10.0.0.0/16",
+ "dnsServiceIP": "10.0.0.10",
+ "dockerBridgeCidr": "172.17.0.1/16",
+ "loadBalancerSku": "standard",
+ "loadBalancerProfile": {
+ "managedOutboundIPs": {
+ "count": 2
+ },
+ "effectiveOutboundIPs": [
+ {
+ "id": "/subscriptions/subid1/resourceGroups/MC_rg1/providers/Microsoft.Network/publicIPAddresses/mgdoutboundip1"
+ },
+ {
+ "id": "/subscriptions/subid1/resourceGroups/MC_rg1/providers/Microsoft.Network/publicIPAddresses/mgdoutboundip2"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersDelete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersDelete.json
new file mode 100644
index 000000000000..7c26aba90427
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersDelete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersGet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersGet.json
new file mode 100644
index 000000000000..10ac63124e48
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersGet.json
@@ -0,0 +1,88 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1",
+ "location": "location1",
+ "name": "clustername1",
+ "tags": {
+ "archv2": "",
+ "tier": "production"
+ },
+ "type": "Microsoft.ContainerService/ManagedClusters",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "maxAgentPools": 1,
+ "kubernetesVersion": "1.9.6",
+ "dnsPrefix": "dnsprefix1",
+ "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io",
+ "agentPoolProfiles": [
+ {
+ "name": "nodepool1",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "provisioningState": "Succeeded",
+ "orchestratorVersion": "1.9.6",
+ "availabilityZones": [
+ "1",
+ "2",
+ "3"
+ ]
+ }
+ ],
+ "linuxProfile": {
+ "adminUsername": "azureuser",
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "keydata"
+ }
+ ]
+ }
+ },
+ "servicePrincipalProfile": {
+ "clientId": "clientid"
+ },
+ "nodeResourceGroup": "MC_rg1_clustername1_location1",
+ "enableRBAC": false,
+ "networkProfile": {
+ "networkPlugin": "kubenet",
+ "podCidr": "10.244.0.0/16",
+ "serviceCidr": "10.0.0.0/16",
+ "dnsServiceIP": "10.0.0.10",
+ "dockerBridgeCidr": "172.17.0.1/16",
+ "loadBalancerSku": "standard",
+ "loadBalancerProfile": {
+ "outboundIPs": {
+ "publicIPs": [
+ {
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/customeroutboundip1"
+ },
+ {
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/customeroutboundip2"
+ }
+ ]
+ },
+ "effectiveOutboundIPs": [
+ {
+ "id": "/subscriptions/subid1/resourceGroups/MC_rg1/providers/Microsoft.Network/publicIPAddresses/mgdoutboundip1"
+ },
+ {
+ "id": "/subscriptions/subid1/resourceGroups/MC_rg1/providers/Microsoft.Network/publicIPAddresses/mgdoutboundip2"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersGetAccessProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersGetAccessProfile.json
new file mode 100644
index 000000000000..0dd88eda99ed
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersGetAccessProfile.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "roleName": "clusterUser"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/accessProfiles/clusterUser",
+ "location": "location1",
+ "name": "clusterUser",
+ "properties": {
+ "kubeConfig": "kubeConfig1"
+ },
+ "type": "Microsoft.ContainerService/ManagedClusters/AccessProfiles"
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersGetUpgradeProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersGetUpgradeProfile.json
new file mode 100644
index 000000000000..ac23d3e9e98b
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersGetUpgradeProfile.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/upgradeprofiles/default",
+ "name": "default",
+ "properties": {
+ "agentPoolProfiles": [
+ {
+ "kubernetesVersion": "1.7.7",
+ "name": "agent",
+ "osType": "Linux",
+ "upgrades": [
+ {
+ "kubernetesVersion": "1.7.9"
+ },
+ {
+ "kubernetesVersion": "1.7.11",
+ "isPreview": true
+ }
+ ]
+ }
+ ],
+ "controlPlaneProfile": {
+ "kubernetesVersion": "1.7.7",
+ "name": "master",
+ "osType": "Linux",
+ "upgrades": [
+ {
+ "kubernetesVersion": "1.7.9",
+ "isPreview": true
+ },
+ {
+ "kubernetesVersion": "1.7.11"
+ }
+ ]
+ }
+ },
+ "type": "Microsoft.ContainerService/managedClusters/upgradeprofiles"
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersList.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersList.json
new file mode 100644
index 000000000000..8d288130f829
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersList.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "subid1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid1/providers/Microsoft.ContainerService/managedClusters",
+ "location": "location1",
+ "name": "clustername1",
+ "tags": {
+ "archv2": "",
+ "tier": "production"
+ },
+ "type": "Microsoft.ContainerService/ManagedClusters",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "kubernetesVersion": "1.9.6",
+ "maxAgentPools": 1,
+ "dnsPrefix": "dnsprefix1",
+ "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io",
+ "agentPoolProfiles": [
+ {
+ "name": "nodepool1",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "provisioningState": "Succeeded",
+ "orchestratorVersion": "1.9.6"
+ }
+ ],
+ "linuxProfile": {
+ "adminUsername": "azureuser",
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "keydata"
+ }
+ ]
+ }
+ },
+ "servicePrincipalProfile": {
+ "clientId": "clientid"
+ },
+ "nodeResourceGroup": "MC_rg1_clustername1_location1",
+ "enableRBAC": false,
+ "networkProfile": {
+ "networkPlugin": "kubenet",
+ "podCidr": "10.244.0.0/16",
+ "serviceCidr": "10.0.0.0/16",
+ "dnsServiceIP": "10.0.0.10",
+ "dockerBridgeCidr": "172.17.0.1/16"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersListByResourceGroup.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersListByResourceGroup.json
new file mode 100644
index 000000000000..911ae49db170
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersListByResourceGroup.json
@@ -0,0 +1,65 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters",
+ "location": "location1",
+ "name": "clustername1",
+ "tags": {
+ "archv2": "",
+ "tier": "production"
+ },
+ "type": "Microsoft.ContainerService/ManagedClusters",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "kubernetesVersion": "1.9.6",
+ "maxAgentPools": 1,
+ "dnsPrefix": "dnsprefix1",
+ "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io",
+ "agentPoolProfiles": [
+ {
+ "name": "nodepool1",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "provisioningState": "Succeeded",
+ "orchestratorVersion": "1.9.6"
+ }
+ ],
+ "linuxProfile": {
+ "adminUsername": "azureuser",
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "keydata"
+ }
+ ]
+ }
+ },
+ "servicePrincipalProfile": {
+ "clientId": "clientid"
+ },
+ "nodeResourceGroup": "MC_rg1_clustername1_location1",
+ "enableRBAC": false,
+ "networkProfile": {
+ "networkPlugin": "kubenet",
+ "podCidr": "10.244.0.0/16",
+ "serviceCidr": "10.0.0.0/16",
+ "dnsServiceIP": "10.0.0.10",
+ "dockerBridgeCidr": "172.17.0.1/16"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersListClusterCredentialResult.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersListClusterCredentialResult.json
new file mode 100644
index 000000000000..39f059ab1fd0
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersListClusterCredentialResult.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "kubeconfigs": [
+ {
+ "name": "credentialName1",
+ "value": "credentialValue1"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersResetAADProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersResetAADProfile.json
new file mode 100644
index 000000000000..3b3150a135de
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersResetAADProfile.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "parameters": {
+ "clientAppID": "clientappid",
+ "serverAppID": "serverappid",
+ "serverAppSecret": "serverappsecret",
+ "tenantID": "tenantid"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersResetServicePrincipalProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersResetServicePrincipalProfile.json
new file mode 100644
index 000000000000..86f0075c028c
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersResetServicePrincipalProfile.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "parameters": {
+ "clientId": "clientid",
+ "secret": "secret"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersUpdateTags.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersUpdateTags.json
new file mode 100644
index 000000000000..ceb4cee7ef1b
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersUpdateTags.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1",
+ "parameters": {
+ "tags": {
+ "tier": "testing",
+ "archv3": ""
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1",
+ "location": "location1",
+ "name": "clustername1",
+ "tags": {
+ "archv3": "",
+ "tier": "testing"
+ },
+ "type": "Microsoft.ContainerService/ManagedClusters",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "kubernetesVersion": "1.9.6",
+ "dnsPrefix": "dnsprefix1",
+ "agentPoolProfiles": [
+ {
+ "name": "nodepool1",
+ "count": 3,
+ "vmSize": "Standard_DS1_v2",
+ "maxPods": 110,
+ "osType": "Linux",
+ "provisioningState": "Succeeded",
+ "orchestratorVersion": "1.9.6"
+ }
+ ],
+ "linuxProfile": {
+ "adminUsername": "azureuser",
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "keydata"
+ }
+ ]
+ }
+ },
+ "servicePrincipalProfile": {
+ "clientId": "clientid"
+ },
+ "nodeResourceGroup": "MC_rg1_clustername1_location1",
+ "enableRBAC": false,
+ "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io",
+ "networkProfile": {
+ "networkPlugin": "kubenet",
+ "podCidr": "10.244.0.0/16",
+ "serviceCidr": "10.0.0.0/16",
+ "dnsServiceIP": "10.0.0.10",
+ "dockerBridgeCidr": "172.17.0.1/16"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/managedClusters.json
new file mode 100644
index 000000000000..8dd47bb44137
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/managedClusters.json
@@ -0,0 +1,2308 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "ContainerServiceClient",
+ "description": "The Container Service Client.",
+ "version": "2019-10-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.ContainerService/operations": {
+ "get": {
+ "tags": [
+ "managedClusters"
+ ],
+ "operationId": "Operations_List",
+ "description": "Gets a list of compute operations.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters": {
+ "get": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_List",
+ "summary": "Gets a list of managed clusters in the specified subscription.",
+ "description": "Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagedClusterListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List Managed Clusters": {
+ "$ref": "./examples/ManagedClustersList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters": {
+ "get": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_ListByResourceGroup",
+ "summary": "Lists managed clusters in the specified subscription and resource group.",
+ "description": "Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagedClusterListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Get Managed Clusters by Resource Group": {
+ "$ref": "./examples/ManagedClustersListByResourceGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/upgradeProfiles/default": {
+ "get": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_GetUpgradeProfile",
+ "summary": "Gets upgrade profile for a managed cluster.",
+ "description": "Gets the details of the upgrade profile for a managed cluster with a specified resource group and name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagedClusterUpgradeProfile"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Upgrade Profile for Managed Cluster": {
+ "$ref": "./examples/ManagedClustersGetUpgradeProfile.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/accessProfiles/{roleName}/listCredential": {
+ "post": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_GetAccessProfile",
+ "summary": "Gets an access profile of a managed cluster.",
+ "description": "Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "roleName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the role for managed cluster accessProfile resource."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagedClusterAccessProfile"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Managed Cluster": {
+ "$ref": "./examples/ManagedClustersGetAccessProfile.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterAdminCredential": {
+ "post": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_ListClusterAdminCredentials",
+ "summary": "Gets cluster admin credential of a managed cluster.",
+ "description": "Gets cluster admin credential of the managed cluster with a specified resource group and name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CredentialResults"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Managed Cluster": {
+ "$ref": "./examples/ManagedClustersListClusterCredentialResult.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential": {
+ "post": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_ListClusterUserCredentials",
+ "summary": "Gets cluster user credential of a managed cluster.",
+ "description": "Gets cluster user credential of the managed cluster with a specified resource group and name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CredentialResults"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Managed Cluster": {
+ "$ref": "./examples/ManagedClustersListClusterCredentialResult.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}": {
+ "get": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_Get",
+ "summary": "Gets a managed cluster.",
+ "description": "Gets the details of the managed cluster with a specified resource group and name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagedCluster"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Managed Cluster": {
+ "$ref": "./examples/ManagedClustersGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_CreateOrUpdate",
+ "summary": "Creates or updates a managed cluster.",
+ "description": "Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ManagedCluster"
+ },
+ "description": "Parameters supplied to the Create or Update a Managed Cluster operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagedCluster"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/ManagedCluster"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create/Update Managed Cluster": {
+ "$ref": "./examples/ManagedClustersCreate_Update.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_UpdateTags",
+ "summary": "Updates tags on a managed cluster.",
+ "description": "Updates a managed cluster with the specified tags.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to the Update Managed Cluster Tags operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagedCluster"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Update Managed Cluster Tags": {
+ "$ref": "./examples/ManagedClustersUpdateTags.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_Delete",
+ "summary": "Deletes a managed cluster.",
+ "description": "Deletes the managed cluster with a specified resource group and name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete Managed Cluster": {
+ "$ref": "./examples/ManagedClustersDelete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools": {
+ "get": {
+ "tags": [
+ "AgentPools"
+ ],
+ "operationId": "AgentPools_List",
+ "summary": "Gets a list of agent pools in the specified managed cluster.",
+ "description": "Gets a list of agent pools in the specified managed cluster. The operation returns properties of each agent pool.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AgentPoolListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List Agent Pools by Managed Cluster": {
+ "$ref": "./examples/AgentPoolsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}": {
+ "get": {
+ "tags": [
+ "AgentPools"
+ ],
+ "operationId": "AgentPools_Get",
+ "summary": "Gets the agent pool.",
+ "description": "Gets the details of the agent pool by managed cluster and resource group.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "agentPoolName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the agent pool."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AgentPool"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Agent Pool": {
+ "$ref": "./examples/AgentPoolsGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "AgentPools"
+ ],
+ "operationId": "AgentPools_CreateOrUpdate",
+ "summary": "Creates or updates an agent pool.",
+ "description": "Creates or updates an agent pool in the specified managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "agentPoolName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the agent pool."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AgentPool"
+ },
+ "description": "Parameters supplied to the Create or Update an agent pool operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AgentPool"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/AgentPool"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create/Update Agent Pool": {
+ "$ref": "./examples/AgentPoolsCreate_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "AgentPools"
+ ],
+ "operationId": "AgentPools_Delete",
+ "summary": "Deletes an agent pool.",
+ "description": "Deletes the agent pool in the specified managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "agentPoolName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the agent pool."
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete Agent Pool": {
+ "$ref": "./examples/AgentPoolsDelete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeProfiles/default": {
+ "get": {
+ "tags": [
+ "AgentPools"
+ ],
+ "operationId": "AgentPools_GetUpgradeProfile",
+ "summary": "Gets upgrade profile for an agent pool.",
+ "description": "Gets the details of the upgrade profile for an agent pool with a specified resource group and managed cluster name.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "agentPoolName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the agent pool."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AgentPoolUpgradeProfile"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Upgrade Profile for Agent Pool": {
+ "$ref": "./examples/AgentPoolsGetUpgradeProfile.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/availableAgentPoolVersions": {
+ "get": {
+ "tags": [
+ "AgentPools"
+ ],
+ "operationId": "AgentPools_GetAvailableAgentPoolVersions",
+ "summary": "Gets a list of supported versions for the specified agent pool.",
+ "description": "Gets a list of supported versions for the specified agent pool.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AgentPoolAvailableVersions"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get available versions for agent pool": {
+ "$ref": "./examples/AgentPoolsGetAgentPoolAvailableVersions.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile": {
+ "post": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_ResetServicePrincipalProfile",
+ "summary": "Reset Service Principal Profile of a managed cluster.",
+ "description": "Update the service principal Profile for a managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ManagedClusterServicePrincipalProfile"
+ },
+ "description": "Parameters supplied to the Reset Service Principal Profile operation for a Managed Cluster."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the cluster doesn't exist, 404 (Not found) is returned.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Reset Service Principal Profile": {
+ "$ref": "./examples/ManagedClustersResetServicePrincipalProfile.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile": {
+ "post": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_ResetAADProfile",
+ "summary": "Reset AAD Profile of a managed cluster.",
+ "description": "Update the AAD Profile for a managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ManagedClusterAADProfile"
+ },
+ "description": "Parameters supplied to the Reset AAD Profile operation for a Managed Cluster."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the cluster doesn't exist, 404 (Not found) is returned.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Reset AAD Profile": {
+ "$ref": "./examples/ManagedClustersResetAADProfile.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "OperationListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/OperationValue"
+ },
+ "description": "The list of compute operations"
+ }
+ },
+ "description": "The List Compute Operation operation response."
+ },
+ "OperationValue": {
+ "properties": {
+ "origin": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The origin of the compute operation."
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the compute operation."
+ },
+ "display": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/OperationValueDisplay",
+ "description": "Describes the properties of a Compute Operation Value Display."
+ }
+ },
+ "description": "Describes the properties of a Compute Operation value."
+ },
+ "OperationValueDisplay": {
+ "properties": {
+ "operation": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The display name of the compute operation."
+ },
+ "resource": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The display name of the resource the operation applies to."
+ },
+ "description": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The description of the operation."
+ },
+ "provider": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The resource provider for the operation."
+ }
+ },
+ "description": "Describes the properties of a Compute Operation Value Display."
+ },
+ "Resource": {
+ "description": "The Resource model definition.",
+ "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",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true
+ },
+ "SubResource": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource ID."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type"
+ }
+ },
+ "description": "Reference to another subresource.",
+ "x-ms-azure-resource": true
+ },
+ "TagsObject": {
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ }
+ },
+ "description": "Tags object for patch operations."
+ },
+ "ContainerServiceOSDisk": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 1023,
+ "minimum": 0,
+ "description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified."
+ },
+ "ContainerServiceStorageProfile": {
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ContainerServiceStorageProfileTypes",
+ "modelAsString": true
+ },
+ "enum": [
+ "StorageAccount",
+ "ManagedDisks"
+ ],
+ "description": "Storage profile specifies what kind of storage used. Choose from StorageAccount and ManagedDisks. Leave it empty, we will choose for you based on the orchestrator choice."
+ },
+ "ContainerServiceVnetSubnetID": {
+ "type": "string",
+ "description": "VNet SubnetID specifies the VNet's subnet identifier."
+ },
+ "ContainerServiceVMSize": {
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ContainerServiceVMSizeTypes",
+ "modelAsString": true
+ },
+ "description": "Size of agent VMs.",
+ "enum": [
+ "Standard_A1",
+ "Standard_A10",
+ "Standard_A11",
+ "Standard_A1_v2",
+ "Standard_A2",
+ "Standard_A2_v2",
+ "Standard_A2m_v2",
+ "Standard_A3",
+ "Standard_A4",
+ "Standard_A4_v2",
+ "Standard_A4m_v2",
+ "Standard_A5",
+ "Standard_A6",
+ "Standard_A7",
+ "Standard_A8",
+ "Standard_A8_v2",
+ "Standard_A8m_v2",
+ "Standard_A9",
+ "Standard_B2ms",
+ "Standard_B2s",
+ "Standard_B4ms",
+ "Standard_B8ms",
+ "Standard_D1",
+ "Standard_D11",
+ "Standard_D11_v2",
+ "Standard_D11_v2_Promo",
+ "Standard_D12",
+ "Standard_D12_v2",
+ "Standard_D12_v2_Promo",
+ "Standard_D13",
+ "Standard_D13_v2",
+ "Standard_D13_v2_Promo",
+ "Standard_D14",
+ "Standard_D14_v2",
+ "Standard_D14_v2_Promo",
+ "Standard_D15_v2",
+ "Standard_D16_v3",
+ "Standard_D16s_v3",
+ "Standard_D1_v2",
+ "Standard_D2",
+ "Standard_D2_v2",
+ "Standard_D2_v2_Promo",
+ "Standard_D2_v3",
+ "Standard_D2s_v3",
+ "Standard_D3",
+ "Standard_D32_v3",
+ "Standard_D32s_v3",
+ "Standard_D3_v2",
+ "Standard_D3_v2_Promo",
+ "Standard_D4",
+ "Standard_D4_v2",
+ "Standard_D4_v2_Promo",
+ "Standard_D4_v3",
+ "Standard_D4s_v3",
+ "Standard_D5_v2",
+ "Standard_D5_v2_Promo",
+ "Standard_D64_v3",
+ "Standard_D64s_v3",
+ "Standard_D8_v3",
+ "Standard_D8s_v3",
+ "Standard_DS1",
+ "Standard_DS11",
+ "Standard_DS11_v2",
+ "Standard_DS11_v2_Promo",
+ "Standard_DS12",
+ "Standard_DS12_v2",
+ "Standard_DS12_v2_Promo",
+ "Standard_DS13",
+ "Standard_DS13-2_v2",
+ "Standard_DS13-4_v2",
+ "Standard_DS13_v2",
+ "Standard_DS13_v2_Promo",
+ "Standard_DS14",
+ "Standard_DS14-4_v2",
+ "Standard_DS14-8_v2",
+ "Standard_DS14_v2",
+ "Standard_DS14_v2_Promo",
+ "Standard_DS15_v2",
+ "Standard_DS1_v2",
+ "Standard_DS2",
+ "Standard_DS2_v2",
+ "Standard_DS2_v2_Promo",
+ "Standard_DS3",
+ "Standard_DS3_v2",
+ "Standard_DS3_v2_Promo",
+ "Standard_DS4",
+ "Standard_DS4_v2",
+ "Standard_DS4_v2_Promo",
+ "Standard_DS5_v2",
+ "Standard_DS5_v2_Promo",
+ "Standard_E16_v3",
+ "Standard_E16s_v3",
+ "Standard_E2_v3",
+ "Standard_E2s_v3",
+ "Standard_E32-16s_v3",
+ "Standard_E32-8s_v3",
+ "Standard_E32_v3",
+ "Standard_E32s_v3",
+ "Standard_E4_v3",
+ "Standard_E4s_v3",
+ "Standard_E64-16s_v3",
+ "Standard_E64-32s_v3",
+ "Standard_E64_v3",
+ "Standard_E64s_v3",
+ "Standard_E8_v3",
+ "Standard_E8s_v3",
+ "Standard_F1",
+ "Standard_F16",
+ "Standard_F16s",
+ "Standard_F16s_v2",
+ "Standard_F1s",
+ "Standard_F2",
+ "Standard_F2s",
+ "Standard_F2s_v2",
+ "Standard_F32s_v2",
+ "Standard_F4",
+ "Standard_F4s",
+ "Standard_F4s_v2",
+ "Standard_F64s_v2",
+ "Standard_F72s_v2",
+ "Standard_F8",
+ "Standard_F8s",
+ "Standard_F8s_v2",
+ "Standard_G1",
+ "Standard_G2",
+ "Standard_G3",
+ "Standard_G4",
+ "Standard_G5",
+ "Standard_GS1",
+ "Standard_GS2",
+ "Standard_GS3",
+ "Standard_GS4",
+ "Standard_GS4-4",
+ "Standard_GS4-8",
+ "Standard_GS5",
+ "Standard_GS5-16",
+ "Standard_GS5-8",
+ "Standard_H16",
+ "Standard_H16m",
+ "Standard_H16mr",
+ "Standard_H16r",
+ "Standard_H8",
+ "Standard_H8m",
+ "Standard_L16s",
+ "Standard_L32s",
+ "Standard_L4s",
+ "Standard_L8s",
+ "Standard_M128-32ms",
+ "Standard_M128-64ms",
+ "Standard_M128ms",
+ "Standard_M128s",
+ "Standard_M64-16ms",
+ "Standard_M64-32ms",
+ "Standard_M64ms",
+ "Standard_M64s",
+ "Standard_NC12",
+ "Standard_NC12s_v2",
+ "Standard_NC12s_v3",
+ "Standard_NC24",
+ "Standard_NC24r",
+ "Standard_NC24rs_v2",
+ "Standard_NC24rs_v3",
+ "Standard_NC24s_v2",
+ "Standard_NC24s_v3",
+ "Standard_NC6",
+ "Standard_NC6s_v2",
+ "Standard_NC6s_v3",
+ "Standard_ND12s",
+ "Standard_ND24rs",
+ "Standard_ND24s",
+ "Standard_ND6s",
+ "Standard_NV12",
+ "Standard_NV24",
+ "Standard_NV6"
+ ]
+ },
+ "ManagedClusterServicePrincipalProfile": {
+ "properties": {
+ "clientId": {
+ "type": "string",
+ "description": "The ID for the service principal."
+ },
+ "secret": {
+ "type": "string",
+ "description": "The secret password associated with the service principal in plain text."
+ }
+ },
+ "description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs.",
+ "required": [
+ "clientId"
+ ]
+ },
+ "ContainerServiceMasterProfile": {
+ "properties": {
+ "count": {
+ "type": "integer",
+ "format": "int32",
+ "enum": [
+ 1,
+ 3,
+ 5
+ ],
+ "x-ms-enum": {
+ "name": "Count",
+ "modelAsString": false
+ },
+ "description": "Number of masters (VMs) in the container service cluster. Allowed values are 1, 3, and 5. The default value is 1.",
+ "default": 1
+ },
+ "dnsPrefix": {
+ "type": "string",
+ "description": "DNS prefix to be used to create the FQDN for the master pool."
+ },
+ "vmSize": {
+ "$ref": "#/definitions/ContainerServiceVMSize",
+ "description": "Size of agent VMs."
+ },
+ "osDiskSizeGB": {
+ "$ref": "#/definitions/ContainerServiceOSDisk",
+ "description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified."
+ },
+ "vnetSubnetID": {
+ "$ref": "#/definitions/ContainerServiceVnetSubnetID",
+ "description": "VNet SubnetID specifies the VNet's subnet identifier."
+ },
+ "firstConsecutiveStaticIP": {
+ "type": "string",
+ "description": "FirstConsecutiveStaticIP used to specify the first static ip of masters.",
+ "default": "10.240.255.5"
+ },
+ "storageProfile": {
+ "$ref": "#/definitions/ContainerServiceStorageProfile",
+ "description": "Storage profile specifies what kind of storage used. Choose from StorageAccount and ManagedDisks. Leave it empty, we will choose for you based on the orchestrator choice."
+ },
+ "fqdn": {
+ "readOnly": true,
+ "type": "string",
+ "description": "FQDN for the master pool."
+ }
+ },
+ "required": [
+ "dnsPrefix",
+ "vmSize"
+ ],
+ "description": "Profile for the container service master."
+ },
+ "ManagedClusterAgentPoolProfileProperties": {
+ "properties": {
+ "count": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 100,
+ "minimum": 1,
+ "description": "Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. ",
+ "default": 1
+ },
+ "vmSize": {
+ "$ref": "#/definitions/ContainerServiceVMSize",
+ "description": "Size of agent VMs."
+ },
+ "osDiskSizeGB": {
+ "$ref": "#/definitions/ContainerServiceOSDisk",
+ "description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified."
+ },
+ "vnetSubnetID": {
+ "$ref": "#/definitions/ContainerServiceVnetSubnetID",
+ "description": "VNet SubnetID specifies the VNet's subnet identifier."
+ },
+ "maxPods": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Maximum number of pods that can run on a node."
+ },
+ "osType": {
+ "$ref": "#/definitions/OSType",
+ "description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
+ },
+ "maxCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Maximum number of nodes for auto-scaling"
+ },
+ "minCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Minimum number of nodes for auto-scaling"
+ },
+ "enableAutoScaling": {
+ "type": "boolean",
+ "description": "Whether to enable auto-scaler"
+ },
+ "type": {
+ "$ref": "#/definitions/AgentPoolType",
+ "description": "AgentPoolType represents types of an agent pool"
+ },
+ "orchestratorVersion": {
+ "type": "string",
+ "description": "Version of orchestrator specified when creating the managed cluster."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The current deployment or provisioning state, which only appears in the response."
+ },
+ "availabilityZones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "(PREVIEW) Availability zones for nodes. Must use VirtualMachineScaleSets AgentPoolType."
+ },
+ "enableNodePublicIP": {
+ "type": "boolean",
+ "description": "Enable public IP for nodes"
+ },
+ "scaleSetPriority": {
+ "$ref": "#/definitions/ScaleSetPriority",
+ "description": "ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular."
+ },
+ "scaleSetEvictionPolicy": {
+ "$ref": "#/definitions/ScaleSetEvictionPolicy",
+ "description": "ScaleSetEvictionPolicy to be used to specify eviction policy for low priority virtual machine scale set. Default to Delete."
+ },
+ "nodeTaints": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule."
+ }
+ },
+ "required": [
+ "vmSize",
+ "count"
+ ],
+ "description": "Properties for the container service agent pool profile."
+ },
+ "ManagedClusterAgentPoolProfile": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/ManagedClusterAgentPoolProfileProperties"
+ },
+ {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Unique name of the agent pool profile in the context of the subscription and resource group.",
+ "pattern": "^[a-z][a-z0-9]{0,11}$"
+ }
+ }
+ }
+ ],
+ "required": [
+ "name"
+ ],
+ "description": "Profile for the container service agent pool."
+ },
+ "AgentPoolType": {
+ "type": "string",
+ "enum": [
+ "VirtualMachineScaleSets",
+ "AvailabilitySet"
+ ],
+ "x-ms-enum": {
+ "name": "AgentPoolType",
+ "modelAsString": true
+ },
+ "description": "AgentPoolType represents types of an agent pool. VirtualMachineScaleSets type is still in PREVIEW."
+ },
+ "AgentPoolListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AgentPool"
+ },
+ "description": "The list of agent pools."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of agent pool results.",
+ "readOnly": true
+ }
+ },
+ "description": "The response from the List Agent Pools operation."
+ },
+ "AgentPool": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ },
+ {
+ "properties": {
+ "properties": {
+ "description": "Properties of an agent pool.",
+ "$ref": "#/definitions/ManagedClusterAgentPoolProfileProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ }
+ ],
+ "description": "Agent Pool."
+ },
+ "ManagedClusterWindowsProfile": {
+ "properties": {
+ "adminUsername": {
+ "type": "string",
+ "description": "The administrator username to use for Windows VMs.",
+ "pattern": "^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$"
+ },
+ "adminPassword": {
+ "type": "string",
+ "description": "The administrator password to use for Windows VMs.",
+ "pattern": "^(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%\\^&\\*\\(\\)])[a-zA-Z\\d!@#$%\\^&\\*\\(\\)]{12,123}$"
+ }
+ },
+ "required": [
+ "adminUsername"
+ ],
+ "description": "Profile for Windows VMs in the container service cluster."
+ },
+ "ContainerServiceLinuxProfile": {
+ "properties": {
+ "adminUsername": {
+ "type": "string",
+ "description": "The administrator username to use for Linux VMs.",
+ "pattern": "^[A-Za-z][-A-Za-z0-9_]*$"
+ },
+ "ssh": {
+ "$ref": "#/definitions/ContainerServiceSshConfiguration",
+ "description": "SSH configuration for Linux-based VMs running on Azure."
+ }
+ },
+ "required": [
+ "adminUsername",
+ "ssh"
+ ],
+ "description": "Profile for Linux VMs in the container service cluster."
+ },
+ "ContainerServiceNetworkProfile": {
+ "properties": {
+ "networkPlugin": {
+ "type": "string",
+ "enum": [
+ "azure",
+ "kubenet"
+ ],
+ "default": "kubenet",
+ "x-ms-enum": {
+ "name": "NetworkPlugin",
+ "modelAsString": true
+ },
+ "description": "Network plugin used for building Kubernetes network."
+ },
+ "networkPolicy": {
+ "type": "string",
+ "enum": [
+ "calico",
+ "azure"
+ ],
+ "x-ms-enum": {
+ "name": "NetworkPolicy",
+ "modelAsString": true
+ },
+ "description": "Network policy used for building Kubernetes network."
+ },
+ "podCidr": {
+ "type": "string",
+ "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
+ "default": "10.244.0.0/16",
+ "description": "A CIDR notation IP range from which to assign pod IPs when kubenet is used."
+ },
+ "serviceCidr": {
+ "type": "string",
+ "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
+ "default": "10.0.0.0/16",
+ "description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges."
+ },
+ "dnsServiceIP": {
+ "type": "string",
+ "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$",
+ "default": "10.0.0.10",
+ "description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr."
+ },
+ "dockerBridgeCidr": {
+ "type": "string",
+ "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
+ "default": "172.17.0.1/16",
+ "description": "A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range."
+ },
+ "loadBalancerSku": {
+ "type": "string",
+ "enum": [
+ "standard",
+ "basic"
+ ],
+ "x-ms-enum": {
+ "name": "loadBalancerSku",
+ "modelAsString": true
+ },
+ "description": "The load balancer sku for the managed cluster."
+ },
+ "loadBalancerProfile": {
+ "$ref": "#/definitions/ManagedClusterLoadBalancerProfile",
+ "description": "Profile of the cluster load balancer."
+ }
+ },
+ "description": "Profile of network configuration."
+ },
+ "ManagedClusterLoadBalancerProfile": {
+ "properties": {
+ "managedOutboundIPs": {
+ "properties": {
+ "count": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 100,
+ "minimum": 1,
+ "description": "Desired number of outbound IP created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. ",
+ "default": 1
+ }
+ },
+ "description": "Desired managed outbound IPs for the cluster load balancer."
+ },
+ "outboundIPPrefixes": {
+ "properties": {
+ "publicIPPrefixes": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceReference"
+ },
+ "description": "A list of public IP prefix resources."
+ }
+ },
+ "description": "Desired outbound IP Prefix resources for the cluster load balancer."
+ },
+ "outboundIPs": {
+ "properties": {
+ "publicIPs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceReference"
+ },
+ "description": "A list of public IP resources."
+ }
+ },
+ "description": "Desired outbound IP resources for the cluster load balancer."
+ },
+ "effectiveOutboundIPs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceReference"
+ },
+ "description": "The effective outbound IP resources of the cluster load balancer."
+ }
+ },
+ "description": "Profile of the managed cluster load balancer"
+ },
+ "ResourceReference": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fully qualified Azure resource id."
+ }
+ },
+ "description": "A reference to an Azure resource."
+ },
+ "ContainerServiceSshConfiguration": {
+ "properties": {
+ "publicKeys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ContainerServiceSshPublicKey"
+ },
+ "description": "The list of SSH public keys used to authenticate with Linux-based VMs. Only expect one key specified."
+ }
+ },
+ "description": "SSH configuration for Linux-based VMs running on Azure.",
+ "required": [
+ "publicKeys"
+ ]
+ },
+ "ContainerServiceSshPublicKey": {
+ "properties": {
+ "keyData": {
+ "type": "string",
+ "description": "Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers."
+ }
+ },
+ "required": [
+ "keyData"
+ ],
+ "description": "Contains information about SSH certificate public key data."
+ },
+ "ContainerServiceDiagnosticsProfile": {
+ "properties": {
+ "vmDiagnostics": {
+ "$ref": "#/definitions/ContainerServiceVMDiagnostics",
+ "description": "Profile for diagnostics on the container service VMs."
+ }
+ },
+ "description": "Profile for diagnostics on the container service cluster.",
+ "required": [
+ "vmDiagnostics"
+ ]
+ },
+ "ContainerServiceVMDiagnostics": {
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "description": "Whether the VM diagnostic agent is provisioned on the VM."
+ },
+ "storageUri": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URI of the storage account where diagnostics are stored."
+ }
+ },
+ "description": "Profile for diagnostics on the container service VMs.",
+ "required": [
+ "enabled"
+ ]
+ },
+ "ManagedClusterListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedCluster"
+ },
+ "description": "The list of managed clusters."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of managed cluster results.",
+ "readOnly": true
+ }
+ },
+ "description": "The response from the List Managed Clusters operation."
+ },
+ "ManagedCluster": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ },
+ {
+ "properties": {
+ "properties": {
+ "description": "Properties of a managed cluster.",
+ "$ref": "#/definitions/ManagedClusterProperties",
+ "x-ms-client-flatten": true
+ },
+ "identity": {
+ "$ref": "#/definitions/ManagedClusterIdentity",
+ "description": "The identity of the managed cluster, if configured."
+ }
+ }
+ }
+ ],
+ "description": "Managed cluster."
+ },
+ "ManagedClusterProperties": {
+ "properties": {
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The current deployment or provisioning state, which only appears in the response."
+ },
+ "maxAgentPools": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "description": "The max number of agent pools for the managed cluster."
+ },
+ "kubernetesVersion": {
+ "type": "string",
+ "description": "Version of Kubernetes specified when creating the managed cluster."
+ },
+ "dnsPrefix": {
+ "type": "string",
+ "description": "DNS prefix specified when creating the managed cluster."
+ },
+ "fqdn": {
+ "readOnly": true,
+ "type": "string",
+ "description": "FQDN for the master pool."
+ },
+ "privateFQDN": {
+ "readOnly": true,
+ "type": "string",
+ "description": "FQDN of private cluster."
+ },
+ "agentPoolProfiles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedClusterAgentPoolProfile"
+ },
+ "description": "Properties of the agent pool."
+ },
+ "linuxProfile": {
+ "$ref": "#/definitions/ContainerServiceLinuxProfile",
+ "description": "Profile for Linux VMs in the container service cluster."
+ },
+ "windowsProfile": {
+ "$ref": "#/definitions/ManagedClusterWindowsProfile",
+ "description": "Profile for Windows VMs in the container service cluster."
+ },
+ "servicePrincipalProfile": {
+ "$ref": "#/definitions/ManagedClusterServicePrincipalProfile",
+ "description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs."
+ },
+ "addonProfiles": {
+ "additionalProperties": {
+ "$ref": "#/definitions/ManagedClusterAddonProfile"
+ },
+ "description": "Profile of managed cluster add-on."
+ },
+ "nodeResourceGroup": {
+ "type": "string",
+ "description": "Name of the resource group containing agent pool nodes."
+ },
+ "enableRBAC": {
+ "type": "boolean",
+ "description": "Whether to enable Kubernetes Role-Based Access Control."
+ },
+ "enablePodSecurityPolicy": {
+ "type": "boolean",
+ "description": "(PREVIEW) Whether to enable Kubernetes Pod security policy."
+ },
+ "networkProfile": {
+ "$ref": "#/definitions/ContainerServiceNetworkProfile",
+ "description": "Profile of network configuration."
+ },
+ "aadProfile": {
+ "$ref": "#/definitions/ManagedClusterAADProfile",
+ "description": "Profile of Azure Active Directory configuration."
+ },
+ "apiServerAccessProfile": {
+ "$ref": "#/definitions/ManagedClusterAPIServerAccessProfile",
+ "description": "Access profile for managed cluster API server."
+ }
+ },
+ "description": "Properties of the managed cluster."
+ },
+ "ManagedClusterAPIServerAccessProfile": {
+ "properties": {
+ "authorizedIPRanges": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Authorized IP Ranges to kubernetes API server."
+ },
+ "enablePrivateCluster": {
+ "type": "boolean",
+ "description": "Whether to create the cluster as a private cluster or not."
+ }
+ },
+ "description": "Access profile for managed cluster API server."
+ },
+ "ManagedClusterIdentity": {
+ "properties": {
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The principal id of the system assigned identity which is used by master components."
+ },
+ "tenantId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The tenant id of the system assigned identity which is used by master components."
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of identity used for the managed cluster. Type 'SystemAssigned' will use an implicitly created identity in master components and an auto-created user assigned identity in MC_ resource group in agent nodes. Type 'None' will not use MSI for the managed cluster, service principal will be used instead.",
+ "enum": [
+ "SystemAssigned",
+ "None"
+ ],
+ "x-ms-enum": {
+ "name": "ResourceIdentityType",
+ "modelAsString": false
+ }
+ }
+ },
+ "description": "Identity for the managed cluster."
+ },
+ "ManagedClusterAccessProfile": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ },
+ {
+ "properties": {
+ "properties": {
+ "description": "AccessProfile of a managed cluster.",
+ "$ref": "#/definitions/AccessProfile",
+ "x-ms-client-flatten": true
+ }
+ }
+ }
+ ],
+ "description": "Managed cluster Access Profile.",
+ "x-ms-azure-resource": false
+ },
+ "AccessProfile": {
+ "type": "object",
+ "properties": {
+ "kubeConfig": {
+ "type": "string",
+ "format": "byte",
+ "description": "Base64-encoded Kubernetes configuration file."
+ }
+ },
+ "description": "Profile for enabling a user to access a managed cluster."
+ },
+ "ManagedClusterPoolUpgradeProfile": {
+ "properties": {
+ "kubernetesVersion": {
+ "type": "string",
+ "description": "Kubernetes version (major, minor, patch)."
+ },
+ "name": {
+ "type": "string",
+ "description": "Pool name."
+ },
+ "osType": {
+ "$ref": "#/definitions/OSType",
+ "enum": [
+ "Linux",
+ "Windows"
+ ],
+ "x-ms-enum": {
+ "name": "ContainerServiceOSTypes",
+ "modelAsString": true
+ },
+ "description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
+ },
+ "upgrades": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "kubernetesVersion": {
+ "type": "string",
+ "description": "Kubernetes version (major, minor, patch)."
+ },
+ "isPreview": {
+ "type": "boolean",
+ "description": "Whether Kubernetes version is currently in preview."
+ }
+ }
+ },
+ "description": "List of orchestrator types and versions available for upgrade."
+ }
+ },
+ "required": [
+ "kubernetesVersion",
+ "osType"
+ ],
+ "description": "The list of available upgrade versions."
+ },
+ "ManagedClusterUpgradeProfileProperties": {
+ "properties": {
+ "controlPlaneProfile": {
+ "$ref": "#/definitions/ManagedClusterPoolUpgradeProfile",
+ "description": "The list of available upgrade versions for the control plane."
+ },
+ "agentPoolProfiles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedClusterPoolUpgradeProfile"
+ },
+ "description": "The list of available upgrade versions for agent pools."
+ }
+ },
+ "required": [
+ "controlPlaneProfile",
+ "agentPoolProfiles"
+ ],
+ "description": "Control plane and agent pool upgrade profiles."
+ },
+ "ManagedClusterAADProfile": {
+ "properties": {
+ "clientAppID": {
+ "type": "string",
+ "description": "The client AAD application ID."
+ },
+ "serverAppID": {
+ "type": "string",
+ "description": "The server AAD application ID."
+ },
+ "serverAppSecret": {
+ "type": "string",
+ "description": "The server AAD application secret."
+ },
+ "tenantID": {
+ "type": "string",
+ "description": "The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription."
+ }
+ },
+ "required": [
+ "clientAppID",
+ "serverAppID"
+ ],
+ "description": "AADProfile specifies attributes for Azure Active Directory integration."
+ },
+ "ManagedClusterAddonProfile": {
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "description": "Whether the add-on is enabled or not."
+ },
+ "config": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Key-value pairs for configuring an add-on."
+ }
+ },
+ "required": [
+ "enabled"
+ ],
+ "description": "A Kubernetes add-on profile for a managed cluster."
+ },
+ "ManagedClusterUpgradeProfile": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Id of upgrade profile."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of upgrade profile."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of upgrade profile."
+ },
+ "properties": {
+ "$ref": "#/definitions/ManagedClusterUpgradeProfileProperties",
+ "description": "Properties of upgrade profile.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "required": [
+ "properties"
+ ],
+ "description": "The list of available upgrades for compute pools."
+ },
+ "AgentPoolUpgradeProfile": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Id of the agent pool upgrade profile."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the agent pool upgrade profile."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the agent pool upgrade profile."
+ },
+ "properties": {
+ "$ref": "#/definitions/AgentPoolUpgradeProfileProperties",
+ "description": "Properties of agent pool upgrade profile.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "required": [
+ "properties"
+ ],
+ "description": "The list of available upgrades for an agent pool."
+ },
+ "AgentPoolUpgradeProfileProperties": {
+ "properties": {
+ "kubernetesVersion": {
+ "type": "string",
+ "description": "Kubernetes version (major, minor, patch)."
+ },
+ "osType": {
+ "$ref": "#/definitions/OSType",
+ "enum": [
+ "Linux",
+ "Windows"
+ ],
+ "x-ms-enum": {
+ "name": "ContainerServiceOSTypes",
+ "modelAsString": true
+ },
+ "description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
+ },
+ "upgrades": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "kubernetesVersion": {
+ "type": "string",
+ "description": "Kubernetes version (major, minor, patch)."
+ },
+ "isPreview": {
+ "type": "boolean",
+ "description": "Whether Kubernetes version is currently in preview."
+ }
+ }
+ },
+ "description": "List of orchestrator types and versions available for upgrade."
+ }
+ },
+ "required": [
+ "kubernetesVersion",
+ "osType"
+ ],
+ "description": "The list of available upgrade versions."
+ },
+ "AgentPoolAvailableVersions": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Id of the agent pool available versions."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the agent pool available versions."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the agent pool available versions."
+ },
+ "properties": {
+ "$ref": "#/definitions/AgentPoolAvailableVersionsProperties",
+ "description": "Properties of agent pool available versions.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "required": [
+ "properties"
+ ],
+ "description": "The list of available versions for an agent pool."
+ },
+ "AgentPoolAvailableVersionsProperties": {
+ "properties": {
+ "agentPoolVersions": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "default": {
+ "type": "boolean",
+ "description": "Whether this version is the default agent pool version."
+ },
+ "kubernetesVersion": {
+ "type": "string",
+ "description": "Kubernetes version (major, minor, patch)."
+ },
+ "isPreview": {
+ "type": "boolean",
+ "description": "Whether Kubernetes version is currently in preview."
+ }
+ }
+ },
+ "description": "List of versions available for agent pool."
+ }
+ },
+ "description": "The list of available agent pool versions."
+ },
+ "OSType": {
+ "type": "string",
+ "default": "Linux",
+ "enum": [
+ "Linux",
+ "Windows"
+ ],
+ "x-ms-enum": {
+ "name": "OSType",
+ "modelAsString": true
+ },
+ "description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
+ },
+ "ScaleSetPriority": {
+ "type": "string",
+ "default": "Regular",
+ "enum": [
+ "Low",
+ "Regular"
+ ],
+ "x-ms-enum": {
+ "name": "ScaleSetPriority",
+ "modelAsString": true
+ },
+ "description": "ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular."
+ },
+ "ScaleSetEvictionPolicy": {
+ "type": "string",
+ "default": "Delete",
+ "enum": [
+ "Delete",
+ "Deallocate"
+ ],
+ "x-ms-enum": {
+ "name": "ScaleSetEvictionPolicy",
+ "modelAsString": true
+ },
+ "description": "ScaleSetEvictionPolicy to be used to specify eviction policy for low priority virtual machine scale set. Default to Delete."
+ },
+ "CredentialResults": {
+ "properties": {
+ "kubeconfigs": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/CredentialResult"
+ },
+ "description": "Base64-encoded Kubernetes configuration file."
+ }
+ },
+ "description": "The list of credential result response."
+ },
+ "CredentialResult": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the credential."
+ },
+ "value": {
+ "type": "string",
+ "format": "byte",
+ "readOnly": true,
+ "description": "Base64-encoded Kubernetes configuration file."
+ }
+ },
+ "description": "The credential result response."
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/CloudErrorBody",
+ "description": "Details about the error."
+ }
+ },
+ "description": "An error response from the Container service."
+ },
+ "CloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for display in a user interface."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error. For example, the name of the property in error."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "description": "A list of additional details about the error."
+ }
+ },
+ "description": "An error response from the Container service."
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
+ "x-ms-parameter-location": "client"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version.",
+ "x-ms-parameter-location": "client"
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ResourceNameParameter": {
+ "name": "resourceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 63,
+ "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$",
+ "description": "The name of the managed cluster resource.",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/containerservice/resource-manager/readme.go.md b/specification/containerservice/resource-manager/readme.go.md
index a0cc0ff00cc0..e7a22a8c40cd 100644
--- a/specification/containerservice/resource-manager/readme.go.md
+++ b/specification/containerservice/resource-manager/readme.go.md
@@ -12,6 +12,7 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-2019-10
- tag: package-2019-08
- tag: package-2019-06
- tag: package-2019-04
@@ -25,6 +26,16 @@ batch:
- tag: package-2017-07
```
+### Tag: package-2019-10 and go
+
+These settings apply only when `--package-2019-10 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag)=='package-2019-10' && $(go)
+namespace: containerservice
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-10-01/$(namespace)
+```
+
### Tag: package-2019-08 and go
These settings apply only when `--package-2019-08 --go` is specified on the command line.
diff --git a/specification/containerservice/resource-manager/readme.java.md b/specification/containerservice/resource-manager/readme.java.md
index 91bf924baddb..db0817bb4df1 100644
--- a/specification/containerservice/resource-manager/readme.java.md
+++ b/specification/containerservice/resource-manager/readme.java.md
@@ -18,6 +18,20 @@ description: "Container Service Client"
batch:
- tag: package-2019-06
- tag: package-2019-08
+ - tag: package-2019-10
+```
+
+### Tag: package-2019-10 and java
+
+These settings apply only when `--tag=package-2019-10` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2019-10' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.containerservice.v2019_10_01
+ output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2019_10_01
+regenerate-manager: true
+generate-interface: true
```
### Tag: package-2019-08 and java
diff --git a/specification/containerservice/resource-manager/readme.md b/specification/containerservice/resource-manager/readme.md
index b641c3f5375d..d151926f9d4d 100644
--- a/specification/containerservice/resource-manager/readme.md
+++ b/specification/containerservice/resource-manager/readme.md
@@ -34,7 +34,7 @@ These are the global settings for the ContainerServices API.
``` yaml
openapi-type: arm
-tag: package-2019-08
+tag: package-2019-10
```
### Tag: package-2019-09-30-preview
@@ -50,6 +50,17 @@ input-file:
```
+### Tag: package-2019-10
+
+These settings apply only when `--tag=package-2019-10` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-10'
+input-file:
+ - Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
+ - Microsoft.ContainerService/stable/2017-07-01/containerService.json
+ - Microsoft.ContainerService/stable/2019-08-01/location.json
+ - Microsoft.ContainerService/stable/2019-10-01/managedClusters.json
+```
### Tag: package-2019-08
These settings apply only when `--tag=package-2019-08` is specified on the command line.
@@ -61,6 +72,7 @@ input-file:
- Microsoft.ContainerService/stable/2019-08-01/location.json
- Microsoft.ContainerService/stable/2019-08-01/managedClusters.json
```
+
### Tag: package-2019-06
These settings apply only when `--tag=package-2019-06` is specified on the command line.
@@ -162,6 +174,15 @@ input-file:
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
```
+### Tag: package-2019-10-01-only
+
+These settings apply only when `--tag=package-2019-10-01-only` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-10-01-only'
+input-file:
+- Microsoft.ContainerService/stable/2019-10-01/managedClusters.json
+```
+
### Tag: package-2019-08-01-only
These settings apply only when `--tag=package-2019-08-01-only` is specified on the command line.
@@ -361,7 +382,7 @@ directive:
reason: ACS service is deprecated so a PATCH endpoint won't be implemented
```
-## Multi-API/Profile support for AutoRest v3 generators
+## Multi-API/Profile support for AutoRest v3 generators
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
@@ -374,6 +395,8 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
- $(this-folder)/Microsoft.ContainerService/preview/2019-09-30/openShiftManagedClusters.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2019-10-01/managedClusters.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
- $(this-folder)/Microsoft.ContainerService/stable/2017-07-01/containerService.json
- $(this-folder)/Microsoft.ContainerService/stable/2019-08-01/managedClusters.json
- $(this-folder)/Microsoft.ContainerService/stable/2019-08-01/location.json
@@ -394,11 +417,10 @@ input-file:
```
-If there are files that should not be in the `all-api-versions` set,
+If there are files that should not be in the `all-api-versions` set,
uncomment the `exclude-file` section below and add the file paths.
``` yaml $(tag) == 'all-api-versions'
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```
-
diff --git a/specification/containerservice/resource-manager/readme.python.md b/specification/containerservice/resource-manager/readme.python.md
index 5e21eda2ecea..0c8ffda066ae 100644
--- a/specification/containerservice/resource-manager/readme.python.md
+++ b/specification/containerservice/resource-manager/readme.python.md
@@ -18,6 +18,7 @@ Generate all API versions currently shipped for this package
```yaml $(python) && $(multiapi)
batch:
+ - tag: package-2019-10-01-only
- tag: package-2019-08-01-only
- tag: package-2019-06-01-only
- tag: package-2019-04-30-only
@@ -29,6 +30,17 @@ batch:
- tag: package-2018-03-only
- tag: package-2017-07-only-extended
```
+### Tag: package-2019-10-01-only and python
+
+These settings apply only when `--tag=package-2019-10-01-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-10-01-only' && $(python)
+python:
+ namespace: azure.mgmt.containerservice.v2019_10_01
+ output-folder: $(python-sdks-folder)/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01
+```
+
### Tag: package-2019-08-01-only and python
These settings apply only when `--tag=package-2019-08-01-only --python` is specified on the command line.
From 2fefd59d920a674c15af305118e5c3bf7eff4c90 Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Tue, 22 Oct 2019 00:41:39 -0400
Subject: [PATCH 026/189] updates for network experiment (#7573)
---
.../frontdoor/resource-manager/readme.cli.md | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/specification/frontdoor/resource-manager/readme.cli.md b/specification/frontdoor/resource-manager/readme.cli.md
index a0c957b466f6..7b3c26c82553 100644
--- a/specification/frontdoor/resource-manager/readme.cli.md
+++ b/specification/frontdoor/resource-manager/readme.cli.md
@@ -4,19 +4,21 @@ These settings apply only when `--cli` is specified on the command line.
``` yaml $(cli)
cli:
- cli-name: networkexperiment
+ cli-name: internet-analyzer
namespace: azure.mgmt.frontdoor
package-name: azure-mgmt-frontdoor
debug: false
cmd-override:
"^.*frontdoor.*$": "-"
- "^.*[/]networkexperimentprofiles([/][^/]*)?$": "networkexperiment profiles"
- "^.*[/]networkexperimentprofiles[/].*[/]preconfiguredendpoints[/].*$": "networkexperiment profile preconfiguredendpoint"
- "^.*[/]networkexperimentprofiles[/].*[/]experiments[/]([/][^/]*)?$": "networkexperiment profile experiment"
- "^.*[/]networkexperimentprofiles[/].*[/]experiments[/].*[/]latencyscorecard$": "networkexperiment profile experiment latencyscorecard"
- "^.*[/]networkexperimentprofiles[/].*[/]experiments[/].*[/]timeseries$": "networkexperiment profile experiment timeseries"
+ "^.*[/]networkexperimentprofiles([/][^/]*)?$": "internet-analyzer profile"
+ "^.*[/]networkexperimentprofiles[/].*[/]preconfiguredendpoints[/].*$": "internet-analyzer profile preconfigured-endpoint"
+ "^.*[/]networkexperimentprofiles[/].*[/]experiments[/]([/][^/]*)?$": "internet-analyzer profile experiment"
+ "^.*[/]networkexperimentprofiles[/].*[/]experiments[/].*[/]latencyscorecard$": "internet-analyzer profile experiment latency-scorecard"
+ "^.*[/]networkexperimentprofiles[/].*[/]experiments[/].*[/]timeseries$": "internet-analyzer profile experiment timeseries"
adjustments:
"/sku": "Sku*/"
+ "/properties/endpointa": "endpointA_*/"
+ "/properties/endpointb": "endpointB_*/"
test-setup:
- name: Create or Update a service with all parameters
```
From a3a1a3b96bfcd4a10f2802b26c42194d0f83d133 Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Tue, 22 Oct 2019 00:44:30 -0400
Subject: [PATCH 027/189] scope assignmens override + flatten all (#7571)
---
specification/managednetwork/resource-manager/readme.cli.md | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/specification/managednetwork/resource-manager/readme.cli.md b/specification/managednetwork/resource-manager/readme.cli.md
index 31ea0f7ae092..ffc074b777d1 100644
--- a/specification/managednetwork/resource-manager/readme.cli.md
+++ b/specification/managednetwork/resource-manager/readme.cli.md
@@ -8,8 +8,9 @@ cli:
namespace: azure.mgmt.managednetwork
package-name: azure-mgmt-managednetwork
debug: true
- adjustments:
- "/sku": "Sku*/"
+ cmd-override:
+ "^.*[/]microsoft.managednetwork/scopeassignments([/][^/]*)?$": "managednetwork scope-assignment"
+ flatten-all: true
test-setup:
- name: Create or Update a service with all parameters
```
From eb7b04cef4757c75d3c0fe2e3741608f4804812f Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Tue, 22 Oct 2019 04:50:45 +0000
Subject: [PATCH 028/189] regenerated all-api-versions
---
specification/containerservice/resource-manager/readme.md | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/specification/containerservice/resource-manager/readme.md b/specification/containerservice/resource-manager/readme.md
index d151926f9d4d..d38e96683f60 100644
--- a/specification/containerservice/resource-manager/readme.md
+++ b/specification/containerservice/resource-manager/readme.md
@@ -395,12 +395,11 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
- $(this-folder)/Microsoft.ContainerService/preview/2019-09-30/openShiftManagedClusters.json
- - $(this-folder)/Microsoft.ContainerService/stable/2019-10-01/managedClusters.json
- - $(this-folder)/Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
- $(this-folder)/Microsoft.ContainerService/stable/2017-07-01/containerService.json
- $(this-folder)/Microsoft.ContainerService/stable/2019-08-01/managedClusters.json
- $(this-folder)/Microsoft.ContainerService/stable/2019-08-01/location.json
- $(this-folder)/Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2019-10-01/managedClusters.json
- $(this-folder)/Microsoft.ContainerService/stable/2019-06-01/location.json
- $(this-folder)/Microsoft.ContainerService/stable/2019-06-01/managedClusters.json
- $(this-folder)/Microsoft.ContainerService/stable/2019-04-01/managedClusters.json
From bb46c8b3666c1f607dcf9ee209accdb56e694dd8 Mon Sep 17 00:00:00 2001
From: Ruoxuan Wang <52271048+ruowan@users.noreply.github.com>
Date: Tue, 22 Oct 2019 14:06:23 +0800
Subject: [PATCH 029/189] remove 5days email notification (#7576)
---
.github/sla.yml | 26 +-------------------------
1 file changed, 1 insertion(+), 25 deletions(-)
diff --git a/.github/sla.yml b/.github/sla.yml
index 832adeb0572d..8e79d8c1d9a3 100644
--- a/.github/sla.yml
+++ b/.github/sla.yml
@@ -11,18 +11,6 @@
description: "None initial response in 48 hours. For public repo."
name: "[PUBLIC] initial response notification"
-- scheduleTask:
- action: sendEmailToAssignee
- repoWhitelist:
- - Azure/azure-rest-api-specs
- args:
- booleanFilterExpression: "!(WaitForARMFeedback||WaitingForAzureAPIBoard)"
- limit: 5d
- message: ' Dear Swagger reviewer,
Please response to the PR ${PR_URL}. The PR isn''t updated in 5 days.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience '
- subject: "Action Required: Please respond to PR ${PR_URL}"
- description: "None update in PR in 5 days"
- name: "[PUBLIC] no update over 5 days notification"
-
- scheduleTask:
action: sendEmailToAssignee
repoWhitelist:
@@ -35,18 +23,6 @@
description: "None initial response in 48 hours. For private repo."
name: "[PRIVATE] initial response notification"
-- scheduleTask:
- action: sendEmailToAssignee
- repoWhitelist:
- - Azure/azure-rest-api-specs-pr
- args:
- booleanFilterExpression: "!(WaitForARMFeedback||WaitingForAzureAPIBoard||Approved-OkToMerge)"
- limit: 5d
- message: ' Dear Swagger reviewer,
Please response to the PR ${PR_URL}. The PR isn''t updated in 5 days.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience '
- subject: "Action Required: Please respond to PR ${PR_URL}"
- description: "None update in PR in 5 days. For private repo"
- name: "[PRIVATE] no update over 5 days notification"
-
- scheduleTask:
action: sendEmail
repoWhitelist:
@@ -55,7 +31,7 @@
booleanFilterExpression: "(WaitForARMFeedback&&!ARMSignedOff&&!ARMChangesRequested&&!ARMReviewInProgress)"
limit: 3d
subject: "Action Required: Please help to review PR ${PR_URL}"
- message: " Dear ARM review board,
Please review PR ${PR_URL}, the PR is waiting for ARM review over 3 days. Thanks.
Quick info- If you have feedback about the notification email, please contact us at vscswagger@microsoft.com.
- After reviewing, please remove “WaitForARMFeedback” label from PR to correct state.
Best regards,
Azure Management Experience"
+ message: " Dear ARM review board,
Please review PR ${PR_URL}, the PR is waiting for ARM review over 3 days. Thanks.
Quick info- If you have feedback about the notification email, please contact us at vscswagger@microsoft.com.
- After reviewing, please remove “WaitForARMFeedback” label from PR to avoid receiving notification on the same PR.
- Please do not reply to this email, this is an automatic generated email.
Best regards,
Azure Management Experience"
to: yungez@microsoft.com
description: "send email to ARM team for over 5 days PRs labelled with WaitForARMFeedback"
name: "send email to ARM team"
From 282efa7dd8301ba615d8741f740f1ed7f500fed1 Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Tue, 22 Oct 2019 02:44:00 -0400
Subject: [PATCH 030/189] updating peering cli structure (#7572)
---
specification/peering/resource-manager/readme.cli.md | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/specification/peering/resource-manager/readme.cli.md b/specification/peering/resource-manager/readme.cli.md
index c66182e19bdc..41d6935be811 100644
--- a/specification/peering/resource-manager/readme.cli.md
+++ b/specification/peering/resource-manager/readme.cli.md
@@ -8,8 +8,13 @@ cli:
cmd-override:
"^.*[/]peerasns[/].*$": "peering asn"
"^.*[/]peerings[/].*$": "peering"
+ "^.*[/]legacypeerings$": "peering legacy"
+ "^.*[/]peeringlocations$": "peering location"
+ "^.*[/]peeringservicelocations$": "peering service location"
+ "^.*[/]peeringserviceproviders$": "peering service provider"
"^.*[/]peeringservices([/][^/]*)?$": "peering service"
"^.*[/]peeringservices[/].*prefixes.*$": "peering service prefix"
+ "^.*[/]operations$": "-"
namespace: azure.mgmt.peering
package-name: azure-mgmt-peering
debug: true
From 7e9576fc0f934f4f0d6ca8acc69b7d894c056677 Mon Sep 17 00:00:00 2001
From: Arcturus
Date: Wed, 23 Oct 2019 10:44:28 +0800
Subject: [PATCH 031/189] Add 2019-06-01 in storage for golang (#7578)
---
specification/storage/resource-manager/readme.go.md | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/specification/storage/resource-manager/readme.go.md b/specification/storage/resource-manager/readme.go.md
index 2d5776dd8336..acb6147d8324 100644
--- a/specification/storage/resource-manager/readme.go.md
+++ b/specification/storage/resource-manager/readme.go.md
@@ -13,6 +13,7 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-2019-06
- tag: package-2019-04
- tag: package-2018-11
- tag: package-2018-07
@@ -27,6 +28,15 @@ batch:
- tag: package-2015-05-preview
```
+### Tag: package-2019-06 and go
+
+These settings apply only when `--tag=package-2019-06 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-06' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-06-01/$(namespace)
+```
+
### Tag: package-2019-04 and go
These settings apply only when `--tag=package-2019-04 --go` is specified on the command line.
From 16985038c358eadfbcce5b4fd559dd8653b6de97 Mon Sep 17 00:00:00 2001
From: "J. Kalyana Sundaram" <7423585+kalyanaj@users.noreply.github.com>
Date: Tue, 22 Oct 2019 21:05:00 -0700
Subject: [PATCH 032/189] EventGrid: New preview API version with support for
additional destination types, CloudEvents 1.0, and batching support. (#7527)
---
.../preview/2020-01-01-preview/EventGrid.json | 3747 +++++++++++++++++
.../examples/DomainTopics_CreateOrUpdate.json | 21 +
.../examples/DomainTopics_Delete.json | 13 +
.../examples/DomainTopics_Get.json | 21 +
.../examples/DomainTopics_ListByDomain.json | 32 +
.../examples/Domains_CreateOrUpdate.json | 33 +
.../examples/Domains_Delete.json | 12 +
.../examples/Domains_Get.json | 26 +
.../examples/Domains_ListByResourceGroup.json | 43 +
.../examples/Domains_ListBySubscription.json | 42 +
.../Domains_ListSharedAccessKeys.json | 16 +
.../examples/Domains_RegenerateKey.json | 19 +
.../examples/Domains_Update.json | 32 +
...ateForCustomTopic_EventHubDestination.json | 61 +
...stomTopic_HybridConnectionDestination.json | 61 +
...orCustomTopic_StorageQueueDestination.json | 63 +
...dateForCustomTopic_WebhookDestination.json | 46 +
...bscriptions_CreateOrUpdateForResource.json | 46 +
...ptions_CreateOrUpdateForResourceGroup.json | 46 +
...iptions_CreateOrUpdateForSubscription.json | 44 +
...entSubscriptions_DeleteForCustomTopic.json | 12 +
.../EventSubscriptions_DeleteForResource.json | 12 +
...tSubscriptions_DeleteForResourceGroup.json | 12 +
...ntSubscriptions_DeleteForSubscription.json | 12 +
.../EventSubscriptions_GetForCustomTopic.json | 35 +
.../EventSubscriptions_GetForResource.json | 35 +
...ventSubscriptions_GetForResourceGroup.json | 35 +
...EventSubscriptions_GetForSubscription.json | 35 +
...ubscriptions_GetFullUrlForCustomTopic.json | 14 +
...ntSubscriptions_GetFullUrlForResource.json | 14 +
...scriptions_GetFullUrlForResourceGroup.json | 14 +
...bscriptions_GetFullUrlForSubscription.json | 14 +
.../EventSubscriptions_ListByDomainTopic.json | 78 +
.../EventSubscriptions_ListByResource.json | 79 +
...bscriptions_ListGlobalByResourceGroup.json | 55 +
...ListGlobalByResourceGroupForTopicType.json | 40 +
...ubscriptions_ListGlobalBySubscription.json | 54 +
..._ListGlobalBySubscriptionForTopicType.json | 39 +
...criptions_ListRegionalByResourceGroup.json | 64 +
...stRegionalByResourceGroupForTopicType.json | 65 +
...scriptions_ListRegionalBySubscription.json | 63 +
...istRegionalBySubscriptionForTopicType.json | 64 +
...entSubscriptions_UpdateForCustomTopic.json | 52 +
.../EventSubscriptions_UpdateForResource.json | 49 +
...tSubscriptions_UpdateForResourceGroup.json | 49 +
...ntSubscriptions_UpdateForSubscription.json | 49 +
.../examples/Operations_List.json | 83 +
.../examples/TopicTypes_Get.json | 22 +
.../examples/TopicTypes_List.json | 37 +
.../examples/TopicTypes_ListEventTypes.json | 34 +
.../examples/Topics_CreateOrUpdate.json | 33 +
.../examples/Topics_Delete.json | 12 +
.../examples/Topics_Get.json | 26 +
.../examples/Topics_ListByResourceGroup.json | 43 +
.../examples/Topics_ListBySubscription.json | 42 +
.../examples/Topics_ListEventTypes.json | 38 +
.../examples/Topics_ListSharedAccessKeys.json | 16 +
.../examples/Topics_RegenerateKey.json | 19 +
.../examples/Topics_Update.json | 32 +
.../eventgrid/resource-manager/readme.go.md | 11 +
.../eventgrid/resource-manager/readme.md | 13 +-
.../eventgrid/resource-manager/readme.ruby.md | 12 +-
62 files changed, 5939 insertions(+), 2 deletions(-)
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/EventGrid.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/DomainTopics_CreateOrUpdate.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/DomainTopics_Delete.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/DomainTopics_Get.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/DomainTopics_ListByDomain.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_CreateOrUpdate.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_Delete.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_Get.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_ListByResourceGroup.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_ListBySubscription.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_ListSharedAccessKeys.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_RegenerateKey.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_Update.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForResource.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForSubscription.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_DeleteForCustomTopic.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_DeleteForResource.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_DeleteForResourceGroup.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_DeleteForSubscription.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetForCustomTopic.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetForResource.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetForResourceGroup.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetForSubscription.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetFullUrlForCustomTopic.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetFullUrlForResource.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetFullUrlForResourceGroup.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetFullUrlForSubscription.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListByDomainTopic.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListByResource.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListGlobalByResourceGroup.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListGlobalBySubscription.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListRegionalByResourceGroup.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListRegionalBySubscription.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_UpdateForCustomTopic.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_UpdateForResource.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_UpdateForResourceGroup.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_UpdateForSubscription.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Operations_List.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/TopicTypes_Get.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/TopicTypes_List.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/TopicTypes_ListEventTypes.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_CreateOrUpdate.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_Delete.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_Get.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_ListByResourceGroup.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_ListBySubscription.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_ListEventTypes.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_ListSharedAccessKeys.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_RegenerateKey.json
create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_Update.json
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/EventGrid.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/EventGrid.json
new file mode 100644
index 000000000000..02091d0b8ef0
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/EventGrid.json
@@ -0,0 +1,3747 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2020-01-01-preview",
+ "title": "EventGridManagementClient",
+ "description": "Azure EventGrid Management Client"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}": {
+ "get": {
+ "tags": [
+ "Domains"
+ ],
+ "summary": "Get a domain",
+ "description": "Get properties of a domain",
+ "operationId": "Domains_Get",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Name of the domain",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Domain"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Domains_Get": {
+ "$ref": "./examples/Domains_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Domains"
+ ],
+ "summary": "Create or update a domain",
+ "description": "Asynchronously creates or updates a new domain with the specified parameters.",
+ "operationId": "Domains_CreateOrUpdate",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Name of the domain",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainInfo",
+ "in": "body",
+ "description": "Domain information",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Domain"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Domain"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Domains_CreateOrUpdate": {
+ "$ref": "./examples/Domains_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "Domains"
+ ],
+ "summary": "Delete a domain",
+ "description": "Delete existing domain",
+ "operationId": "Domains_Delete",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Name of the domain",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Domains_Delete": {
+ "$ref": "./examples/Domains_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Domains"
+ ],
+ "summary": "Update a domain",
+ "description": "Asynchronously updates a domain with the specified parameters.",
+ "operationId": "Domains_Update",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Name of the domain",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainUpdateParameters",
+ "in": "body",
+ "description": "Domain update information",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DomainUpdateParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Domain update request accepted.",
+ "schema": {
+ "$ref": "#/definitions/Domain"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Domains_Update": {
+ "$ref": "./examples/Domains_Update.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/domains": {
+ "get": {
+ "tags": [
+ "Domains"
+ ],
+ "summary": "List domains under an Azure subscription",
+ "description": "List all the domains under an Azure subscription",
+ "operationId": "Domains_ListBySubscription",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DomainsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Domains_ListBySubscription": {
+ "$ref": "./examples/Domains_ListBySubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains": {
+ "get": {
+ "tags": [
+ "Domains"
+ ],
+ "summary": "List domains under a resource group",
+ "description": "List all the domains under a resource group",
+ "operationId": "Domains_ListByResourceGroup",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DomainsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Domains_ListByResourceGroup": {
+ "$ref": "./examples/Domains_ListByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/listKeys": {
+ "post": {
+ "tags": [
+ "Domains"
+ ],
+ "summary": "List keys for a domain",
+ "description": "List the two keys used to publish to a domain",
+ "operationId": "Domains_ListSharedAccessKeys",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Name of the domain",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DomainSharedAccessKeys"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Domains_ListSharedAccessKeys": {
+ "$ref": "./examples/Domains_ListSharedAccessKeys.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/regenerateKey": {
+ "post": {
+ "tags": [
+ "Domains"
+ ],
+ "summary": "Regenerate key for a domain",
+ "description": "Regenerate a shared access key for a domain",
+ "operationId": "Domains_RegenerateKey",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Name of the domain",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "regenerateKeyRequest",
+ "in": "body",
+ "description": "Request body to regenerate key",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DomainRegenerateKeyRequest"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DomainSharedAccessKeys"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Domains_RegenerateKey": {
+ "$ref": "./examples/Domains_RegenerateKey.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{domainTopicName}": {
+ "get": {
+ "tags": [
+ "DomainTopics"
+ ],
+ "summary": "Get a domain topic",
+ "description": "Get properties of a domain topic",
+ "operationId": "DomainTopics_Get",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Name of the domain",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainTopicName",
+ "in": "path",
+ "description": "Name of the topic",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DomainTopic"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "DomainTopics_Get": {
+ "$ref": "./examples/DomainTopics_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "DomainTopics"
+ ],
+ "summary": "Create or update a domain topic",
+ "description": "Asynchronously creates or updates a new domain topic with the specified parameters.",
+ "operationId": "DomainTopics_CreateOrUpdate",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Name of the domain",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainTopicName",
+ "in": "path",
+ "description": "Name of the domain topic",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/DomainTopic"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "DomainTopics_CreateOrUpdate": {
+ "$ref": "./examples/DomainTopics_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "DomainTopics"
+ ],
+ "summary": "Delete a domain topic",
+ "description": "Delete existing domain topic",
+ "operationId": "DomainTopics_Delete",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Name of the domain",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainTopicName",
+ "in": "path",
+ "description": "Name of the domain topic",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "DomainTopics_Delete": {
+ "$ref": "./examples/DomainTopics_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics": {
+ "get": {
+ "tags": [
+ "DomainTopics"
+ ],
+ "summary": "List domain topics.",
+ "description": "List all the topics in a domain.",
+ "operationId": "DomainTopics_ListByDomain",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Domain name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DomainTopicsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "DomainTopics_ListByDomain": {
+ "$ref": "./examples/DomainTopics_ListByDomain.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "Get an event subscription",
+ "description": "Get properties of an event subscription",
+ "operationId": "EventSubscriptions_Get",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "scope",
+ "in": "path",
+ "description": "The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.",
+ "required": true,
+ "type": "string",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "name": "eventSubscriptionName",
+ "in": "path",
+ "description": "Name of the event subscription",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscription"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_GetForSubscription": {
+ "$ref": "./examples/EventSubscriptions_GetForSubscription.json"
+ },
+ "EventSubscriptions_GetForResourceGroup": {
+ "$ref": "./examples/EventSubscriptions_GetForResourceGroup.json"
+ },
+ "EventSubscriptions_GetForResource": {
+ "$ref": "./examples/EventSubscriptions_GetForResource.json"
+ },
+ "EventSubscriptions_GetForCustomTopic": {
+ "$ref": "./examples/EventSubscriptions_GetForCustomTopic.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "Create or update an event subscription",
+ "description": "Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.",
+ "operationId": "EventSubscriptions_CreateOrUpdate",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "scope",
+ "in": "path",
+ "description": "The identifier of the resource to which the event subscription needs to be created or updated. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.",
+ "required": true,
+ "type": "string",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "name": "eventSubscriptionName",
+ "in": "path",
+ "description": "Name of the event subscription. Event subscription names must be between 3 and 64 characters in length and should use alphanumeric letters only.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "eventSubscriptionInfo",
+ "in": "body",
+ "description": "Event subscription properties containing the destination and filter information",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/EventSubscription"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "EventSubscription CreateOrUpdate request accepted.",
+ "schema": {
+ "$ref": "#/definitions/EventSubscription"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_CreateOrUpdateForSubscription": {
+ "$ref": "./examples/EventSubscriptions_CreateOrUpdateForSubscription.json"
+ },
+ "EventSubscriptions_CreateOrUpdateForResourceGroup": {
+ "$ref": "./examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json"
+ },
+ "EventSubscriptions_CreateOrUpdateForResource": {
+ "$ref": "./examples/EventSubscriptions_CreateOrUpdateForResource.json"
+ },
+ "EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination": {
+ "$ref": "./examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json"
+ },
+ "EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination": {
+ "$ref": "./examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json"
+ },
+ "EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination": {
+ "$ref": "./examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json"
+ },
+ "EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination": {
+ "$ref": "./examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "Delete an event subscription",
+ "description": "Delete an existing event subscription",
+ "operationId": "EventSubscriptions_Delete",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "scope",
+ "in": "path",
+ "description": "The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.",
+ "required": true,
+ "type": "string",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "name": "eventSubscriptionName",
+ "in": "path",
+ "description": "Name of the event subscription",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_DeleteForSubscription": {
+ "$ref": "./examples/EventSubscriptions_DeleteForSubscription.json"
+ },
+ "EventSubscriptions_DeleteForResourceGroup": {
+ "$ref": "./examples/EventSubscriptions_DeleteForResourceGroup.json"
+ },
+ "EventSubscriptions_DeleteForResource": {
+ "$ref": "./examples/EventSubscriptions_DeleteForResource.json"
+ },
+ "EventSubscriptions_DeleteForCustomTopic": {
+ "$ref": "./examples/EventSubscriptions_DeleteForCustomTopic.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "Update an event subscription",
+ "description": "Asynchronously updates an existing event subscription.",
+ "operationId": "EventSubscriptions_Update",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "scope",
+ "in": "path",
+ "description": "The scope of existing event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.",
+ "required": true,
+ "type": "string",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "name": "eventSubscriptionName",
+ "in": "path",
+ "description": "Name of the event subscription to be updated",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "eventSubscriptionUpdateParameters",
+ "in": "body",
+ "description": "Updated event subscription information",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionUpdateParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "EventSubscription update request accepted.",
+ "schema": {
+ "$ref": "#/definitions/EventSubscription"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_UpdateForSubscription": {
+ "$ref": "./examples/EventSubscriptions_UpdateForSubscription.json"
+ },
+ "EventSubscriptions_UpdateForResourceGroup": {
+ "$ref": "./examples/EventSubscriptions_UpdateForResourceGroup.json"
+ },
+ "EventSubscriptions_UpdateForResource": {
+ "$ref": "./examples/EventSubscriptions_UpdateForResource.json"
+ },
+ "EventSubscriptions_UpdateForCustomTopic": {
+ "$ref": "./examples/EventSubscriptions_UpdateForCustomTopic.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}/getFullUrl": {
+ "post": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "Get full URL of an event subscription",
+ "description": "Get the full endpoint URL for an event subscription",
+ "operationId": "EventSubscriptions_GetFullUrl",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "scope",
+ "in": "path",
+ "description": "The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.",
+ "required": true,
+ "type": "string",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "name": "eventSubscriptionName",
+ "in": "path",
+ "description": "Name of the event subscription",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionFullUrl"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_GetFullUrlForSubscription": {
+ "$ref": "./examples/EventSubscriptions_GetFullUrlForSubscription.json"
+ },
+ "EventSubscriptions_GetFullUrlForResourceGroup": {
+ "$ref": "./examples/EventSubscriptions_GetFullUrlForResourceGroup.json"
+ },
+ "EventSubscriptions_GetFullUrlForResource": {
+ "$ref": "./examples/EventSubscriptions_GetFullUrlForResource.json"
+ },
+ "EventSubscriptions_GetFullUrlForCustomTopic": {
+ "$ref": "./examples/EventSubscriptions_GetFullUrlForCustomTopic.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/eventSubscriptions": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "Get an aggregated list of all global event subscriptions under an Azure subscription",
+ "description": "List all aggregated global event subscriptions under a specific Azure subscription",
+ "operationId": "EventSubscriptions_ListGlobalBySubscription",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_ListGlobalBySubscription": {
+ "$ref": "./examples/EventSubscriptions_ListGlobalBySubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventSubscriptions": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "List all global event subscriptions for a topic type",
+ "description": "List all global event subscriptions under an Azure subscription for a topic type.",
+ "operationId": "EventSubscriptions_ListGlobalBySubscriptionForTopicType",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "topicTypeName",
+ "in": "path",
+ "description": "Name of the topic type",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_ListGlobalBySubscriptionForTopicType": {
+ "$ref": "./examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/eventSubscriptions": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "List all global event subscriptions under an Azure subscription and resource group",
+ "description": "List all global event subscriptions under a specific Azure subscription and resource group",
+ "operationId": "EventSubscriptions_ListGlobalByResourceGroup",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_ListGlobalByResourceGroup": {
+ "$ref": "./examples/EventSubscriptions_ListGlobalByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventSubscriptions": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "List all global event subscriptions under a resource group for a topic type",
+ "description": "List all global event subscriptions under a resource group for a specific topic type.",
+ "operationId": "EventSubscriptions_ListGlobalByResourceGroupForTopicType",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicTypeName",
+ "in": "path",
+ "description": "Name of the topic type",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_ListGlobalByResourceGroupForTopicType": {
+ "$ref": "./examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "List all regional event subscriptions under an Azure subscription",
+ "description": "List all event subscriptions from the given location under a specific Azure subscription",
+ "operationId": "EventSubscriptions_ListRegionalBySubscription",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "location",
+ "in": "path",
+ "description": "Name of the location",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_ListRegionalBySubscription": {
+ "$ref": "./examples/EventSubscriptions_ListRegionalBySubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "List all regional event subscriptions under an Azure subscription and resource group",
+ "description": "List all event subscriptions from the given location under a specific Azure subscription and resource group",
+ "operationId": "EventSubscriptions_ListRegionalByResourceGroup",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "location",
+ "in": "path",
+ "description": "Name of the location",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_ListRegionalByResourceGroup": {
+ "$ref": "./examples/EventSubscriptions_ListRegionalByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "List all regional event subscriptions under an Azure subscription for a topic type",
+ "description": "List all event subscriptions from the given location under a specific Azure subscription and topic type.",
+ "operationId": "EventSubscriptions_ListRegionalBySubscriptionForTopicType",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "location",
+ "in": "path",
+ "description": "Name of the location",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicTypeName",
+ "in": "path",
+ "description": "Name of the topic type",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_ListRegionalBySubscriptionForTopicType": {
+ "$ref": "./examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "List all regional event subscriptions under an Azure subscription and resource group for a topic type",
+ "description": "List all event subscriptions from the given location under a specific Azure subscription and resource group and topic type",
+ "operationId": "EventSubscriptions_ListRegionalByResourceGroupForTopicType",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "location",
+ "in": "path",
+ "description": "Name of the location",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicTypeName",
+ "in": "path",
+ "description": "Name of the topic type",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_ListRegionalByResourceGroupForTopicType": {
+ "$ref": "./examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerNamespace}/{resourceTypeName}/{resourceName}/providers/Microsoft.EventGrid/eventSubscriptions": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "List all event subscriptions for a specific topic",
+ "description": "List all event subscriptions that have been created for a specific topic",
+ "operationId": "EventSubscriptions_ListByResource",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "providerNamespace",
+ "in": "path",
+ "description": "Namespace of the provider of the topic",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "resourceTypeName",
+ "in": "path",
+ "description": "Name of the resource type",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "resourceName",
+ "in": "path",
+ "description": "Name of the resource",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_ListByResource": {
+ "$ref": "./examples/EventSubscriptions_ListByResource.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/providers/Microsoft.EventGrid/eventSubscriptions": {
+ "get": {
+ "tags": [
+ "EventSubscriptions"
+ ],
+ "summary": "List all event subscriptions for a specific domain topic",
+ "description": "List all event subscriptions that have been created for a specific domain topic",
+ "operationId": "EventSubscriptions_ListByDomainTopic",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "domainName",
+ "in": "path",
+ "description": "Name of the top level domain",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicName",
+ "in": "path",
+ "description": "Name of the domain topic",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventSubscriptionsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "EventSubscriptions_ListByDomainTopic": {
+ "$ref": "./examples/EventSubscriptions_ListByDomainTopic.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.EventGrid/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "summary": "List available operations",
+ "description": "List the available operations supported by the Microsoft.EventGrid resource provider",
+ "operationId": "Operations_List",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/OperationsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Operations_List": {
+ "$ref": "./examples/Operations_List.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}": {
+ "get": {
+ "tags": [
+ "Topics"
+ ],
+ "summary": "Get a topic",
+ "description": "Get properties of a topic",
+ "operationId": "Topics_Get",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicName",
+ "in": "path",
+ "description": "Name of the topic",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Topic"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Topics_Get": {
+ "$ref": "./examples/Topics_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Topics"
+ ],
+ "summary": "Create a topic",
+ "description": "Asynchronously creates a new topic with the specified parameters.",
+ "operationId": "Topics_CreateOrUpdate",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicName",
+ "in": "path",
+ "description": "Name of the topic",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicInfo",
+ "in": "body",
+ "description": "Topic information",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Topic"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Topic"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Topics_CreateOrUpdate": {
+ "$ref": "./examples/Topics_CreateOrUpdate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "Topics"
+ ],
+ "summary": "Delete a topic",
+ "description": "Delete existing topic",
+ "operationId": "Topics_Delete",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicName",
+ "in": "path",
+ "description": "Name of the topic",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Topics_Delete": {
+ "$ref": "./examples/Topics_Delete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Topics"
+ ],
+ "summary": "Update a topic",
+ "description": "Asynchronously updates a topic with the specified parameters.",
+ "operationId": "Topics_Update",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicName",
+ "in": "path",
+ "description": "Name of the topic",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicUpdateParameters",
+ "in": "body",
+ "description": "Topic update information",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TopicUpdateParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Topic update request accepted.",
+ "schema": {
+ "$ref": "#/definitions/Topic"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Topics_Update": {
+ "$ref": "./examples/Topics_Update.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/topics": {
+ "get": {
+ "tags": [
+ "Topics"
+ ],
+ "summary": "List topics under an Azure subscription",
+ "description": "List all the topics under an Azure subscription",
+ "operationId": "Topics_ListBySubscription",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/TopicsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Topics_ListBySubscription": {
+ "$ref": "./examples/Topics_ListBySubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics": {
+ "get": {
+ "tags": [
+ "Topics"
+ ],
+ "summary": "List topics under a resource group",
+ "description": "List all the topics under a resource group",
+ "operationId": "Topics_ListByResourceGroup",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/TopicsListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Topics_ListByResourceGroup": {
+ "$ref": "./examples/Topics_ListByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}/listKeys": {
+ "post": {
+ "tags": [
+ "Topics"
+ ],
+ "summary": "List keys for a topic",
+ "description": "List the two keys used to publish to a topic",
+ "operationId": "Topics_ListSharedAccessKeys",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicName",
+ "in": "path",
+ "description": "Name of the topic",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/TopicSharedAccessKeys"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Topics_ListSharedAccessKeys": {
+ "$ref": "./examples/Topics_ListSharedAccessKeys.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}/regenerateKey": {
+ "post": {
+ "tags": [
+ "Topics"
+ ],
+ "summary": "Regenerate key for a topic",
+ "description": "Regenerate a shared access key for a topic",
+ "operationId": "Topics_RegenerateKey",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "topicName",
+ "in": "path",
+ "description": "Name of the topic",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "regenerateKeyRequest",
+ "in": "body",
+ "description": "Request body to regenerate key",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TopicRegenerateKeyRequest"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/TopicSharedAccessKeys"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Topics_RegenerateKey": {
+ "$ref": "./examples/Topics_RegenerateKey.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerNamespace}/{resourceTypeName}/{resourceName}/providers/Microsoft.EventGrid/eventTypes": {
+ "get": {
+ "tags": [
+ "Topics"
+ ],
+ "summary": "List topic event types",
+ "description": "List event types for a topic",
+ "operationId": "Topics_ListEventTypes",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group within the user's subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "providerNamespace",
+ "in": "path",
+ "description": "Namespace of the provider of the topic",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "resourceTypeName",
+ "in": "path",
+ "description": "Name of the topic type",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "resourceName",
+ "in": "path",
+ "description": "Name of the topic",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventTypesListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "Topics_ListEventTypes": {
+ "$ref": "./examples/Topics_ListEventTypes.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.EventGrid/topicTypes": {
+ "get": {
+ "tags": [
+ "TopicTypes"
+ ],
+ "summary": "List topic types",
+ "description": "List all registered topic types",
+ "operationId": "TopicTypes_List",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/TopicTypesListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "TopicTypes_List": {
+ "$ref": "./examples/TopicTypes_List.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}": {
+ "get": {
+ "tags": [
+ "TopicTypes"
+ ],
+ "summary": "Get a topic type",
+ "description": "Get information about a topic type",
+ "operationId": "TopicTypes_Get",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "topicTypeName",
+ "in": "path",
+ "description": "Name of the topic type",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/TopicTypeInfo"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "TopicTypes_Get": {
+ "$ref": "./examples/TopicTypes_Get.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventTypes": {
+ "get": {
+ "tags": [
+ "TopicTypes"
+ ],
+ "summary": "List event types",
+ "description": "List event types for a topic type",
+ "operationId": "TopicTypes_ListEventTypes",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "topicTypeName",
+ "in": "path",
+ "description": "Name of the topic type",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventTypesListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error."
+ }
+ },
+ "x-ms-examples": {
+ "TopicTypes_ListEventTypes": {
+ "$ref": "./examples/TopicTypes_ListEventTypes.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ }
+ },
+ "definitions": {
+ "DomainProperties": {
+ "description": "Properties of the Domain",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "description": "Provisioning state of the domain.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Succeeded",
+ "Canceled",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "DomainProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "endpoint": {
+ "description": "Endpoint for the domain.",
+ "type": "string",
+ "readOnly": true
+ },
+ "inputSchema": {
+ "description": "This determines the format that Event Grid should expect for incoming events published to the domain.",
+ "enum": [
+ "EventGridSchema",
+ "CustomEventSchema",
+ "CloudEventSchemaV1_0"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "InputSchema",
+ "modelAsString": true
+ },
+ "default": "EventGridSchema"
+ },
+ "inputSchemaMapping": {
+ "$ref": "#/definitions/InputSchemaMapping",
+ "description": "Information about the InputSchemaMapping which specified the info about mapping event payload."
+ },
+ "metricResourceId": {
+ "description": "Metric resource id for the domain.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Resource": {
+ "description": "Definition of a Resource",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Fully qualified identifier of the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Name of the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Type of the resource",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "JsonInputSchemaMappingProperties": {
+ "description": "This can be used to map properties of a source schema (or default values, for certain supported properties) to properties of the EventGridEvent schema.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "$ref": "#/definitions/JsonField",
+ "description": "The mapping information for the Id property of the Event Grid Event."
+ },
+ "topic": {
+ "$ref": "#/definitions/JsonField",
+ "description": "The mapping information for the Topic property of the Event Grid Event."
+ },
+ "eventTime": {
+ "$ref": "#/definitions/JsonField",
+ "description": "The mapping information for the EventTime property of the Event Grid Event."
+ },
+ "eventType": {
+ "$ref": "#/definitions/JsonFieldWithDefault",
+ "description": "The mapping information for the EventType property of the Event Grid Event."
+ },
+ "subject": {
+ "$ref": "#/definitions/JsonFieldWithDefault",
+ "description": "The mapping information for the Subject property of the Event Grid Event."
+ },
+ "dataVersion": {
+ "$ref": "#/definitions/JsonFieldWithDefault",
+ "description": "The mapping information for the DataVersion property of the Event Grid Event."
+ }
+ }
+ },
+ "JsonField": {
+ "description": "This is used to express the source of an input schema mapping for a single target field in the Event Grid Event schema. This is currently used in the mappings for the 'id', 'topic' and 'eventtime' properties. This represents a field in the input event schema.",
+ "type": "object",
+ "properties": {
+ "sourceField": {
+ "description": "Name of a field in the input event schema that's to be used as the source of a mapping.",
+ "type": "string"
+ }
+ }
+ },
+ "JsonFieldWithDefault": {
+ "description": "This is used to express the source of an input schema mapping for a single target field\r\nin the Event Grid Event schema. This is currently used in the mappings for the 'subject',\r\n'eventtype' and 'dataversion' properties. This represents a field in the input event schema\r\nalong with a default value to be used, and at least one of these two properties should be provided.",
+ "type": "object",
+ "properties": {
+ "sourceField": {
+ "description": "Name of a field in the input event schema that's to be used as the source of a mapping.",
+ "type": "string"
+ },
+ "defaultValue": {
+ "description": "The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.",
+ "type": "string"
+ }
+ }
+ },
+ "JsonInputSchemaMapping": {
+ "description": "This enables publishing to Event Grid using a custom input schema. This can be used to map properties from a custom input JSON schema to the Event Grid event schema.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/InputSchemaMapping"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/JsonInputSchemaMappingProperties",
+ "description": "JSON Properties of the input schema mapping",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "Json"
+ },
+ "InputSchemaMapping": {
+ "description": "By default, Event Grid expects events to be in the Event Grid event schema. Specifying an input schema mapping enables publishing to Event Grid using a custom input schema. Currently, the only supported type of InputSchemaMapping is 'JsonInputSchemaMapping'.",
+ "type": "object",
+ "properties": {
+ "inputSchemaMappingType": {
+ "description": "Type of the custom mapping",
+ "enum": [
+ "Json"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "InputSchemaMappingType",
+ "modelAsString": true
+ }
+ }
+ },
+ "discriminator": "inputSchemaMappingType"
+ },
+ "TrackedResource": {
+ "description": "Definition of a Tracked Resource",
+ "required": [
+ "location"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "location": {
+ "description": "Location of the resource",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "tags": {
+ "description": "Tags of the resource",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "Domain": {
+ "description": "EventGrid Domain",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/DomainProperties",
+ "description": "Properties of the domain",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "DomainUpdateParameters": {
+ "description": "Properties of the Domain update",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "Tags of the domains resource",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "DomainsListResult": {
+ "description": "Result of the List Domains operation",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A collection of Domains",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Domain"
+ }
+ },
+ "nextLink": {
+ "description": "A link for the next page of domains",
+ "type": "string"
+ }
+ }
+ },
+ "DomainSharedAccessKeys": {
+ "description": "Shared access keys of the Domain",
+ "type": "object",
+ "properties": {
+ "key1": {
+ "description": "Shared access key1 for the domain.",
+ "type": "string"
+ },
+ "key2": {
+ "description": "Shared access key2 for the domain.",
+ "type": "string"
+ }
+ }
+ },
+ "DomainRegenerateKeyRequest": {
+ "description": "Domain regenerate share access key request",
+ "required": [
+ "keyName"
+ ],
+ "type": "object",
+ "properties": {
+ "keyName": {
+ "description": "Key name to regenerate key1 or key2",
+ "type": "string"
+ }
+ }
+ },
+ "DomainTopicProperties": {
+ "description": "Properties of the Domain Topic",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "description": "Provisioning state of the domain topic.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Succeeded",
+ "Canceled",
+ "Failed"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DomainTopicProvisioningState",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "DomainTopic": {
+ "description": "Domain Topic",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/DomainTopicProperties",
+ "description": "Properties of the Domain Topic",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "DomainTopicsListResult": {
+ "description": "Result of the List Domain Topics operation",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A collection of Domain Topics",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DomainTopic"
+ }
+ },
+ "nextLink": {
+ "description": "A link for the next page of domain topics",
+ "type": "string"
+ }
+ }
+ },
+ "EventSubscriptionProperties": {
+ "description": "Properties of the Event Subscription",
+ "type": "object",
+ "properties": {
+ "topic": {
+ "description": "Name of the topic of the event subscription.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the event subscription.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Succeeded",
+ "Canceled",
+ "Failed",
+ "AwaitingManualAction"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "EventSubscriptionProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "destination": {
+ "$ref": "#/definitions/EventSubscriptionDestination",
+ "description": "Information about the destination where events have to be delivered for the event subscription."
+ },
+ "filter": {
+ "$ref": "#/definitions/EventSubscriptionFilter",
+ "description": "Information about the filter for the event subscription."
+ },
+ "labels": {
+ "description": "List of user defined labels.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "expirationTimeUtc": {
+ "format": "date-time",
+ "description": "Expiration time of the event subscription.",
+ "type": "string"
+ },
+ "eventDeliverySchema": {
+ "description": "The event delivery schema for the event subscription.",
+ "enum": [
+ "EventGridSchema",
+ "CustomInputSchema",
+ "CloudEventSchemaV1_0"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "EventDeliverySchema",
+ "modelAsString": true
+ }
+ },
+ "retryPolicy": {
+ "$ref": "#/definitions/RetryPolicy",
+ "description": "The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events."
+ },
+ "deadLetterDestination": {
+ "$ref": "#/definitions/DeadLetterDestination",
+ "description": "The DeadLetter destination of the event subscription."
+ }
+ }
+ },
+ "EventSubscriptionFilter": {
+ "description": "Filter for the Event Subscription",
+ "type": "object",
+ "properties": {
+ "subjectBeginsWith": {
+ "description": "An optional string to filter events for an event subscription based on a resource path prefix.\r\nThe format of this depends on the publisher of the events. \r\nWildcard characters are not supported in this path.",
+ "type": "string"
+ },
+ "subjectEndsWith": {
+ "description": "An optional string to filter events for an event subscription based on a resource path suffix.\r\nWildcard characters are not supported in this path.",
+ "type": "string"
+ },
+ "includedEventTypes": {
+ "description": "A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "isSubjectCaseSensitive": {
+ "description": "Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter \r\nshould be compared in a case sensitive manner.",
+ "default": false,
+ "type": "boolean"
+ },
+ "advancedFilters": {
+ "description": "An array of advanced filters that are used for filtering event subscriptions.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ }
+ }
+ },
+ "RetryPolicy": {
+ "description": "Information about the retry policy for an event subscription",
+ "type": "object",
+ "properties": {
+ "maxDeliveryAttempts": {
+ "format": "int32",
+ "description": "Maximum number of delivery retry attempts for events.",
+ "type": "integer"
+ },
+ "eventTimeToLiveInMinutes": {
+ "format": "int32",
+ "description": "Time To Live (in minutes) for events.",
+ "type": "integer"
+ }
+ }
+ },
+ "WebHookEventSubscriptionDestinationProperties": {
+ "description": "Information about the webhook destination properties for an event subscription.",
+ "type": "object",
+ "properties": {
+ "endpointUrl": {
+ "description": "The URL that represents the endpoint of the destination of an event subscription.",
+ "type": "string"
+ },
+ "endpointBaseUrl": {
+ "description": "The base URL that represents the endpoint of the destination of an event subscription.",
+ "type": "string",
+ "readOnly": true
+ },
+ "maxEventsPerBatch": {
+ "format": "int32",
+ "description": "Maximum number of events per batch.",
+ "type": "integer"
+ },
+ "preferredBatchSizeInKilobytes": {
+ "format": "int32",
+ "description": "Preferred batch size in Kilobytes.",
+ "type": "integer"
+ },
+ "azureActiveDirectoryApplicationIdOrUri": {
+ "description": "The AAD application ID or URI to get the access token that will be included as the bearer token in delivery requests.",
+ "type": "string"
+ }
+ }
+ },
+ "StorageBlobDeadLetterDestinationProperties": {
+ "description": "Properties of the storage blob based dead letter destination.",
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "description": "The Azure Resource ID of the storage account that is the destination of the deadletter events",
+ "type": "string"
+ },
+ "blobContainerName": {
+ "description": "The name of the Storage blob container that is the destination of the deadletter events",
+ "type": "string"
+ }
+ }
+ },
+ "NumberInAdvancedFilter": {
+ "description": "NumberIn Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "values": {
+ "description": "The set of filter values.",
+ "type": "array",
+ "items": {
+ "format": "double",
+ "type": "number"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "NumberIn"
+ },
+ "StorageBlobDeadLetterDestination": {
+ "description": "Information about the storage blob based dead letter destination.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeadLetterDestination"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/StorageBlobDeadLetterDestinationProperties",
+ "description": "The properties of the Storage Blob based deadletter destination",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "StorageBlob"
+ },
+ "NumberNotInAdvancedFilter": {
+ "description": "NumberNotIn Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "values": {
+ "description": "The set of filter values.",
+ "type": "array",
+ "items": {
+ "format": "double",
+ "type": "number"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "NumberNotIn"
+ },
+ "NumberLessThanAdvancedFilter": {
+ "description": "NumberLessThan Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "value": {
+ "format": "double",
+ "description": "The filter value.",
+ "type": "number"
+ }
+ },
+ "x-ms-discriminator-value": "NumberLessThan"
+ },
+ "NumberGreaterThanAdvancedFilter": {
+ "description": "NumberGreaterThan Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "value": {
+ "format": "double",
+ "description": "The filter value.",
+ "type": "number"
+ }
+ },
+ "x-ms-discriminator-value": "NumberGreaterThan"
+ },
+ "NumberLessThanOrEqualsAdvancedFilter": {
+ "description": "NumberLessThanOrEquals Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "value": {
+ "format": "double",
+ "description": "The filter value.",
+ "type": "number"
+ }
+ },
+ "x-ms-discriminator-value": "NumberLessThanOrEquals"
+ },
+ "NumberGreaterThanOrEqualsAdvancedFilter": {
+ "description": "NumberGreaterThanOrEquals Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "value": {
+ "format": "double",
+ "description": "The filter value.",
+ "type": "number"
+ }
+ },
+ "x-ms-discriminator-value": "NumberGreaterThanOrEquals"
+ },
+ "BoolEqualsAdvancedFilter": {
+ "description": "BoolEquals Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "value": {
+ "description": "The boolean filter value.",
+ "type": "boolean"
+ }
+ },
+ "x-ms-discriminator-value": "BoolEquals"
+ },
+ "StringInAdvancedFilter": {
+ "description": "StringIn Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "values": {
+ "description": "The set of filter values.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "StringIn"
+ },
+ "StringNotInAdvancedFilter": {
+ "description": "StringNotIn Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "values": {
+ "description": "The set of filter values.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "StringNotIn"
+ },
+ "StringBeginsWithAdvancedFilter": {
+ "description": "StringBeginsWith Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "values": {
+ "description": "The set of filter values.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "StringBeginsWith"
+ },
+ "StringEndsWithAdvancedFilter": {
+ "description": "StringEndsWith Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "values": {
+ "description": "The set of filter values.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "StringEndsWith"
+ },
+ "StringContainsAdvancedFilter": {
+ "description": "StringContains Advanced Filter.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AdvancedFilter"
+ }
+ ],
+ "properties": {
+ "values": {
+ "description": "The set of filter values.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "StringContains"
+ },
+ "AdvancedFilter": {
+ "description": "This is the base type that represents an advanced filter. To configure an advanced filter, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class such as BoolEqualsAdvancedFilter, NumberInAdvancedFilter, StringEqualsAdvancedFilter etc. depending on the type of the key based on which you want to filter.",
+ "required": [
+ "operatorType"
+ ],
+ "type": "object",
+ "properties": {
+ "operatorType": {
+ "description": "The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.",
+ "enum": [
+ "NumberIn",
+ "NumberNotIn",
+ "NumberLessThan",
+ "NumberGreaterThan",
+ "NumberLessThanOrEquals",
+ "NumberGreaterThanOrEquals",
+ "BoolEquals",
+ "StringIn",
+ "StringNotIn",
+ "StringBeginsWith",
+ "StringEndsWith",
+ "StringContains"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "AdvancedFilterOperatorType",
+ "modelAsString": true
+ }
+ },
+ "key": {
+ "description": "The field/property in the event based on which you want to filter.",
+ "type": "string"
+ }
+ },
+ "discriminator": "operatorType"
+ },
+ "WebHookEventSubscriptionDestination": {
+ "description": "Information about the webhook destination for an event subscription",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EventSubscriptionDestination"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/WebHookEventSubscriptionDestinationProperties",
+ "description": "WebHook Properties of the event subscription destination",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "WebHook"
+ },
+ "DeadLetterDestination": {
+ "description": "Information about the dead letter destination for an event subscription. To configure a deadletter destination, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class. Currently, StorageBlobDeadLetterDestination is the only class that derives from this class.",
+ "required": [
+ "endpointType"
+ ],
+ "type": "object",
+ "properties": {
+ "endpointType": {
+ "description": "Type of the endpoint for the dead letter destination",
+ "enum": [
+ "StorageBlob"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DeadLetterEndPointType",
+ "modelAsString": true
+ }
+ }
+ },
+ "discriminator": "endpointType"
+ },
+ "EventHubEventSubscriptionDestinationProperties": {
+ "description": "The properties for a event hub destination.",
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "description": "The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.",
+ "type": "string"
+ }
+ }
+ },
+ "EventHubEventSubscriptionDestination": {
+ "description": "Information about the event hub destination for an event subscription",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EventSubscriptionDestination"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/EventHubEventSubscriptionDestinationProperties",
+ "description": "Event Hub Properties of the event subscription destination",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "EventHub"
+ },
+ "StorageQueueEventSubscriptionDestinationProperties": {
+ "description": "The properties for a storage queue destination.",
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "description": "The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.",
+ "type": "string"
+ },
+ "queueName": {
+ "description": "The name of the Storage queue under a storage account that is the destination of an event subscription.",
+ "type": "string"
+ }
+ }
+ },
+ "StorageQueueEventSubscriptionDestination": {
+ "description": "Information about the storage queue destination for an event subscription.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EventSubscriptionDestination"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/StorageQueueEventSubscriptionDestinationProperties",
+ "description": "Storage Queue Properties of the event subscription destination",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "StorageQueue"
+ },
+ "HybridConnectionEventSubscriptionDestinationProperties": {
+ "description": "The properties for a hybrid connection destination.",
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "description": "The Azure Resource ID of an hybrid connection that is the destination of an event subscription.",
+ "type": "string"
+ }
+ }
+ },
+ "HybridConnectionEventSubscriptionDestination": {
+ "description": "Information about the HybridConnection destination for an event subscription.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EventSubscriptionDestination"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/HybridConnectionEventSubscriptionDestinationProperties",
+ "description": "Hybrid connection Properties of the event subscription destination",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "HybridConnection"
+ },
+ "ServiceBusQueueEventSubscriptionDestinationProperties": {
+ "description": "The properties that represent the Service Bus destination of an event subscription.",
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "description": "The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.",
+ "type": "string"
+ }
+ }
+ },
+ "ServiceBusQueueEventSubscriptionDestination": {
+ "description": "Information about the service bus destination for an event subscription",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EventSubscriptionDestination"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ServiceBusQueueEventSubscriptionDestinationProperties",
+ "description": "Service Bus Properties of the event subscription destination",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "ServiceBusQueue"
+ },
+ "ServiceBusTopicEventSubscriptionDestinationProperties": {
+ "description": "The properties that represent the Service Bus Topic destination of an event subscription.",
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "description": "The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.",
+ "type": "string"
+ }
+ }
+ },
+ "ServiceBusTopicEventSubscriptionDestination": {
+ "description": "Information about the service bus topic destination for an event subscription.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EventSubscriptionDestination"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ServiceBusTopicEventSubscriptionDestinationProperties",
+ "description": "Service Bus Topic Properties of the event subscription destination.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "ServiceBusTopic"
+ },
+ "AzureFunctionEventSubscriptionDestinationProperties": {
+ "description": "The properties that represent the Azure Function destination of an event subscription.",
+ "type": "object",
+ "properties": {
+ "resourceId": {
+ "description": "The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.",
+ "type": "string"
+ },
+ "maxEventsPerBatch": {
+ "format": "int32",
+ "description": "Maximum number of events per batch.",
+ "type": "integer"
+ },
+ "preferredBatchSizeInKilobytes": {
+ "format": "int32",
+ "description": "Preferred batch size in Kilobytes.",
+ "type": "integer"
+ }
+ }
+ },
+ "AzureFunctionEventSubscriptionDestination": {
+ "description": "Information about the azure function destination for an event subscription.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/EventSubscriptionDestination"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/AzureFunctionEventSubscriptionDestinationProperties",
+ "description": "Azure Function Properties of the event subscription destination.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "AzureFunction"
+ },
+ "EventSubscriptionDestination": {
+ "description": "Information about the destination for an event subscription",
+ "required": [
+ "endpointType"
+ ],
+ "type": "object",
+ "properties": {
+ "endpointType": {
+ "description": "Type of the endpoint for the event subscription destination",
+ "enum": [
+ "WebHook",
+ "EventHub",
+ "StorageQueue",
+ "HybridConnection",
+ "ServiceBusQueue",
+ "ServiceBusTopic",
+ "AzureFunction"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "EndpointType",
+ "modelAsString": true
+ }
+ }
+ },
+ "discriminator": "endpointType"
+ },
+ "EventSubscription": {
+ "description": "Event Subscription",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/EventSubscriptionProperties",
+ "description": "Properties of the event subscription",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "EventSubscriptionUpdateParameters": {
+ "description": "Properties of the Event Subscription update",
+ "type": "object",
+ "properties": {
+ "destination": {
+ "$ref": "#/definitions/EventSubscriptionDestination",
+ "description": "Information about the destination where events have to be delivered for the event subscription."
+ },
+ "filter": {
+ "$ref": "#/definitions/EventSubscriptionFilter",
+ "description": "Information about the filter for the event subscription."
+ },
+ "labels": {
+ "description": "List of user defined labels.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "expirationTimeUtc": {
+ "format": "date-time",
+ "description": "Information about the expiration time for the event subscription.",
+ "type": "string"
+ },
+ "eventDeliverySchema": {
+ "description": "The event delivery schema for the event subscription.",
+ "enum": [
+ "EventGridSchema",
+ "CustomInputSchema",
+ "CloudEventSchemaV1_0"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "EventDeliverySchema",
+ "modelAsString": true
+ }
+ },
+ "retryPolicy": {
+ "$ref": "#/definitions/RetryPolicy",
+ "description": "The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events."
+ },
+ "deadLetterDestination": {
+ "$ref": "#/definitions/DeadLetterDestination",
+ "description": "The DeadLetter destination of the event subscription."
+ }
+ }
+ },
+ "EventSubscriptionFullUrl": {
+ "description": "Full endpoint url of an event subscription",
+ "type": "object",
+ "properties": {
+ "endpointUrl": {
+ "description": "The URL that represents the endpoint of the destination of an event subscription.",
+ "type": "string"
+ }
+ }
+ },
+ "EventSubscriptionsListResult": {
+ "description": "Result of the List EventSubscriptions operation",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A collection of EventSubscriptions",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EventSubscription"
+ }
+ },
+ "nextLink": {
+ "description": "A link for the next page of event subscriptions",
+ "type": "string"
+ }
+ }
+ },
+ "OperationsListResult": {
+ "description": "Result of the List Operations operation",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A collection of operations",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ }
+ }
+ }
+ },
+ "Operation": {
+ "description": "Represents an operation returned by the GetOperations request",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the operation",
+ "type": "string"
+ },
+ "display": {
+ "$ref": "#/definitions/OperationInfo",
+ "description": "Display name of the operation"
+ },
+ "origin": {
+ "description": "Origin of the operation",
+ "type": "string"
+ },
+ "properties": {
+ "description": "Properties of the operation",
+ "type": "object",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "OperationInfo": {
+ "description": "Information about an operation",
+ "type": "object",
+ "properties": {
+ "provider": {
+ "description": "Name of the provider",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Name of the resource type",
+ "type": "string"
+ },
+ "operation": {
+ "description": "Name of the operation",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the operation",
+ "type": "string"
+ }
+ }
+ },
+ "TopicProperties": {
+ "description": "Properties of the Topic",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "description": "Provisioning state of the topic.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Succeeded",
+ "Canceled",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "TopicProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "endpoint": {
+ "description": "Endpoint for the topic.",
+ "type": "string",
+ "readOnly": true
+ },
+ "inputSchema": {
+ "description": "This determines the format that Event Grid should expect for incoming events published to the topic.",
+ "enum": [
+ "EventGridSchema",
+ "CustomEventSchema",
+ "CloudEventSchemaV1_0"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "InputSchema",
+ "modelAsString": true
+ },
+ "default": "EventGridSchema"
+ },
+ "inputSchemaMapping": {
+ "$ref": "#/definitions/InputSchemaMapping",
+ "description": "This enables publishing using custom event schemas. An InputSchemaMapping can be specified to map various properties of a source schema to various required properties of the EventGridEvent schema."
+ },
+ "metricResourceId": {
+ "description": "Metric resource id for the topic.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Topic": {
+ "description": "EventGrid Topic",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/TopicProperties",
+ "description": "Properties of the topic",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "TopicUpdateParameters": {
+ "description": "Properties of the Topic update",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "Tags of the resource",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "TopicsListResult": {
+ "description": "Result of the List Topics operation",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A collection of Topics",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Topic"
+ }
+ },
+ "nextLink": {
+ "description": "A link for the next page of topics",
+ "type": "string"
+ }
+ }
+ },
+ "TopicSharedAccessKeys": {
+ "description": "Shared access keys of the Topic",
+ "type": "object",
+ "properties": {
+ "key1": {
+ "description": "Shared access key1 for the topic.",
+ "type": "string"
+ },
+ "key2": {
+ "description": "Shared access key2 for the topic.",
+ "type": "string"
+ }
+ }
+ },
+ "TopicRegenerateKeyRequest": {
+ "description": "Topic regenerate share access key request",
+ "required": [
+ "keyName"
+ ],
+ "type": "object",
+ "properties": {
+ "keyName": {
+ "description": "Key name to regenerate key1 or key2",
+ "type": "string"
+ }
+ }
+ },
+ "EventTypesListResult": {
+ "description": "Result of the List Event Types operation",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A collection of event types",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EventType"
+ }
+ }
+ }
+ },
+ "EventTypeProperties": {
+ "description": "Properties of the event type",
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "description": "Display name of the event type.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the event type.",
+ "type": "string"
+ },
+ "schemaUrl": {
+ "description": "Url of the schema for this event type.",
+ "type": "string"
+ },
+ "isInDefaultSet": {
+ "description": "IsInDefaultSet flag of the event type.",
+ "type": "boolean"
+ }
+ }
+ },
+ "EventType": {
+ "description": "Event Type for a subject under a topic",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/EventTypeProperties",
+ "description": "Properties of the event type.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "TopicTypesListResult": {
+ "description": "Result of the List Topic Types operation",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A collection of topic types",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TopicTypeInfo"
+ }
+ }
+ }
+ },
+ "TopicTypeProperties": {
+ "description": "Properties of a topic type.",
+ "type": "object",
+ "properties": {
+ "provider": {
+ "description": "Namespace of the provider of the topic type.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Display Name for the topic type.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the topic type.",
+ "type": "string"
+ },
+ "resourceRegionType": {
+ "description": "Region type of the resource.",
+ "enum": [
+ "RegionalResource",
+ "GlobalResource"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ResourceRegionType",
+ "modelAsString": true
+ }
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the topic type",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Succeeded",
+ "Canceled",
+ "Failed"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TopicTypeProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "supportedLocations": {
+ "description": "List of locations supported by this topic type.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "TopicTypeInfo": {
+ "description": "Properties of a topic type info.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/TopicTypeProperties",
+ "description": "Properties of the topic type info",
+ "x-ms-client-flatten": true
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
+ "required": true,
+ "type": "string"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "Version of the API to be used with the client request.",
+ "required": true,
+ "type": "string"
+ },
+ "FilterParameter": {
+ "name": "$filter",
+ "in": "query",
+ "description": "The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'.",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "TopParameter": {
+ "name": "$top",
+ "in": "query",
+ "description": "The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.",
+ "required": false,
+ "type": "integer",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/DomainTopics_CreateOrUpdate.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/DomainTopics_CreateOrUpdate.json
new file mode 100644
index 000000000000..ec2ea9c1e68f
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/DomainTopics_CreateOrUpdate.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "exampledomain1",
+ "domainTopicName": "exampledomaintopic1",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1/topics/exampledomaintopic1",
+ "name": "exampledomaintopic1",
+ "type": "Microsoft.EventGrid/domains/topics"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/DomainTopics_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/DomainTopics_Delete.json
new file mode 100644
index 000000000000..726659910e35
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/DomainTopics_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "exampledomain1",
+ "domainTopicName": "exampledomaintopic1",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/DomainTopics_Get.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/DomainTopics_Get.json
new file mode 100644
index 000000000000..96f7754523c6
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/DomainTopics_Get.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "exampledomain2",
+ "domainTopicName": "topic1",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2/topics/topic1",
+ "name": "topic1",
+ "properties": {
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.EventGrid/domains/topics"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/DomainTopics_ListByDomain.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/DomainTopics_ListByDomain.json
new file mode 100644
index 000000000000..2cdb5b3038ac
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/DomainTopics_ListByDomain.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "exampledomain2",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/devexprg/providers/Microsoft.EventGrid/domains/domainCli100/topics/domainCli100topic1",
+ "name": "domainCli100topic1",
+ "properties": {
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.EventGrid/domains/topics"
+ },
+ {
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/devexprg/providers/Microsoft.EventGrid/domains/domainCli100/topics/domainCli100topic2",
+ "name": "domainCli100topic2",
+ "properties": {
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.EventGrid/domains/topics"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_CreateOrUpdate.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_CreateOrUpdate.json
new file mode 100644
index 000000000000..bfcd28f950eb
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_CreateOrUpdate.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "exampledomain1",
+ "api-version": "2020-01-01-preview",
+ "domainInfo": {
+ "location": "westus2",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "endpoint": "https://exampledomain1.westus2-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1",
+ "location": "westus2",
+ "name": "exampledomain1",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/domains"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_Delete.json
new file mode 100644
index 000000000000..0e647bc50e49
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_Delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "exampledomain1",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_Get.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_Get.json
new file mode 100644
index 000000000000..f93a650d30b4
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_Get.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "exampledomain2",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2",
+ "location": "westcentralus",
+ "name": "exampledomain2",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/domains"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_ListByResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_ListByResourceGroup.json
new file mode 100644
index 000000000000..7f953036eca3
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_ListByResourceGroup.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "endpoint": "https://exampledomain1.westus2-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1",
+ "location": "westus2",
+ "name": "exampledomain1",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/domains"
+ },
+ {
+ "properties": {
+ "endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2",
+ "location": "westcentralus",
+ "name": "exampledomain2",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/domains"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_ListBySubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_ListBySubscription.json
new file mode 100644
index 000000000000..4640298592d6
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_ListBySubscription.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "endpoint": "https://exampledomain1.westus2-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1",
+ "location": "westus2",
+ "name": "exampledomain1",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/domains"
+ },
+ {
+ "properties": {
+ "endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2",
+ "location": "westcentralus",
+ "name": "exampledomain2",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/domains"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_ListSharedAccessKeys.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_ListSharedAccessKeys.json
new file mode 100644
index 000000000000..12fb59d58a7d
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_ListSharedAccessKeys.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "exampledomain2",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "key1": "Rqfq5wWxtQnIQJyswP0Uh/hqQfDDMUOYyQSYEpx5e5g=",
+ "key2": "sesymbkIXMtZVqXEFHarJmdGmZjjnY+BZC8yRD/FeuA="
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_RegenerateKey.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_RegenerateKey.json
new file mode 100644
index 000000000000..f92bc1a3a7f7
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_RegenerateKey.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "exampledomain2",
+ "api-version": "2020-01-01-preview",
+ "regenerateKeyRequest": {
+ "keyName": "key1"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "key1": "Rqfq5wWxtQnIQJyswP0Uh/hqQfDDMUOYyQSYEpx5e5g=",
+ "key2": "sesymbkIXMtZVqXEFHarJmdGmZjjnY+BZC8yRD/FeuA="
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_Update.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_Update.json
new file mode 100644
index 000000000000..1d282f03992d
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Domains_Update.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "exampledomain1",
+ "api-version": "2020-01-01-preview",
+ "domainUpdateParameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "endpoint": "https://exampledomain1.westus2-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1",
+ "location": "westus2",
+ "name": "exampledomain1",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/domains"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json
new file mode 100644
index 000000000000..37be2000f709
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01-preview",
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "eventSubscriptionName": "examplesubscription1",
+ "eventSubscriptionInfo": {
+ "properties": {
+ "destination": {
+ "endpointType": "EventHub",
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "deadLetterDestination": {
+ "endpointType": "StorageBlob",
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
+ "blobContainerName": "contosocontainer"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1"
+ },
+ "endpointType": "EventHub"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "provisioningState": "Creating",
+ "labels": null,
+ "deadLetterDestination": {
+ "endpointType": "StorageBlob",
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
+ "blobContainerName": "contosocontainer"
+ }
+ }
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1",
+ "name": "examplesubscription1",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json
new file mode 100644
index 000000000000..1d248200101c
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01-preview",
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "eventSubscriptionName": "examplesubscription1",
+ "eventSubscriptionInfo": {
+ "properties": {
+ "destination": {
+ "endpointType": "HybridConnection",
+ "properties": {
+ "resourceId": "/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Relay/namespaces/ContosoNamespace/hybridConnections/HC1"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "deadLetterDestination": {
+ "endpointType": "StorageBlob",
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
+ "blobContainerName": "contosocontainer"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "resourceId": "/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Relay/namespaces/ContosoNamespace/hybridConnections/HC1"
+ },
+ "endpointType": "HybridConnection"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "provisioningState": "Creating",
+ "labels": null,
+ "deadLetterDestination": {
+ "endpointType": "StorageBlob",
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
+ "blobContainerName": "contosocontainer"
+ }
+ }
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1",
+ "name": "examplesubscription1",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json
new file mode 100644
index 000000000000..76a8f0287f4c
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01-preview",
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "eventSubscriptionName": "examplesubscription1",
+ "eventSubscriptionInfo": {
+ "properties": {
+ "destination": {
+ "endpointType": "StorageQueue",
+ "properties": {
+ "resourceId": "/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
+ "queueName": "queue1"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "deadLetterDestination": {
+ "endpointType": "StorageBlob",
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
+ "blobContainerName": "contosocontainer"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "resourceId": "/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
+ "queueName": "queue1"
+ },
+ "endpointType": "StorageQueue"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "provisioningState": "Creating",
+ "labels": null,
+ "deadLetterDestination": {
+ "endpointType": "StorageBlob",
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg",
+ "blobContainerName": "contosocontainer"
+ }
+ }
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1",
+ "name": "examplesubscription1",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json
new file mode 100644
index 000000000000..3a7c6203300d
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01-preview",
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "eventSubscriptionName": "examplesubscription1",
+ "eventSubscriptionInfo": {
+ "properties": {
+ "destination": {
+ "endpointType": "EventHub",
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1",
+ "name": "examplesubscription1",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForResource.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForResource.json
new file mode 100644
index 000000000000..080ee73b2335
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForResource.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1",
+ "eventSubscriptionName": "examplesubscription10",
+ "api-version": "2020-01-01-preview",
+ "eventSubscriptionInfo": {
+ "properties": {
+ "destination": {
+ "endpointType": "WebHook",
+ "properties": {
+ "endpointUrl": "https://requestb.in/15ksip71"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription10",
+ "name": "examplesubscription10",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json
new file mode 100644
index 000000000000..dd31edd4b5e5
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg",
+ "eventSubscriptionName": "examplesubscription2",
+ "api-version": "2020-01-01-preview",
+ "eventSubscriptionInfo": {
+ "properties": {
+ "destination": {
+ "endpointType": "WebHook",
+ "properties": {
+ "endpointUrl": "https://requestb.in/15ksip71"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2",
+ "name": "examplesubscription2",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForSubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForSubscription.json
new file mode 100644
index 000000000000..66473ab13ffd
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_CreateOrUpdateForSubscription.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "eventSubscriptionName": "examplesubscription3",
+ "api-version": "2020-01-01-preview",
+ "eventSubscriptionInfo": {
+ "properties": {
+ "destination": {
+ "endpointType": "WebHook",
+ "properties": {
+ "endpointUrl": "https://requestb.in/15ksip71"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3",
+ "name": "examplesubscription3",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_DeleteForCustomTopic.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_DeleteForCustomTopic.json
new file mode 100644
index 000000000000..b5934a8500ec
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_DeleteForCustomTopic.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "eventSubscriptionName": "examplesubscription1",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "202": {},
+ "204": {},
+ "200": {}
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_DeleteForResource.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_DeleteForResource.json
new file mode 100644
index 000000000000..64c44d3b7605
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_DeleteForResource.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1",
+ "eventSubscriptionName": "examplesubscription10",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "202": {},
+ "204": {},
+ "200": {}
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_DeleteForResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_DeleteForResourceGroup.json
new file mode 100644
index 000000000000..3b1940a61143
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_DeleteForResourceGroup.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg",
+ "eventSubscriptionName": "examplesubscription2",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "202": {},
+ "204": {},
+ "200": {}
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_DeleteForSubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_DeleteForSubscription.json
new file mode 100644
index 000000000000..75a38dca1991
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_DeleteForSubscription.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "eventSubscriptionName": "examplesubscription3",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "202": {},
+ "204": {},
+ "200": {}
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetForCustomTopic.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetForCustomTopic.json
new file mode 100644
index 000000000000..3caf2f5c77af
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetForCustomTopic.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2",
+ "eventSubscriptionName": "examplesubscription1",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "label1",
+ "label2"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic2"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1",
+ "name": "examplesubscription1",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetForResource.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetForResource.json
new file mode 100644
index 000000000000..a4381d70ee9c
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetForResource.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1",
+ "eventSubscriptionName": "examplesubscription1",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1"
+ },
+ "endpointType": "EventHub"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "label1",
+ "label2"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1",
+ "name": "examplesubscription1",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetForResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetForResourceGroup.json
new file mode 100644
index 000000000000..ca1e69600c46
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetForResourceGroup.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg",
+ "eventSubscriptionName": "examplesubscription2",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "label1",
+ "label2"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2",
+ "name": "examplesubscription2",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetForSubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetForSubscription.json
new file mode 100644
index 000000000000..f03b5c7b2d50
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetForSubscription.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "eventSubscriptionName": "examplesubscription3",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "label1",
+ "label2"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3",
+ "name": "examplesubscription3",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetFullUrlForCustomTopic.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetFullUrlForCustomTopic.json
new file mode 100644
index 000000000000..cb0d59f784f3
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetFullUrlForCustomTopic.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2",
+ "eventSubscriptionName": "examplesubscription1",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "endpointUrl": "https://requestb.in/15ksip71"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetFullUrlForResource.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetFullUrlForResource.json
new file mode 100644
index 000000000000..a3b8d12c6b58
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetFullUrlForResource.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1",
+ "eventSubscriptionName": "examplesubscription1",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "endpointUrl": "https://requestb.in/15ksip71"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetFullUrlForResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetFullUrlForResourceGroup.json
new file mode 100644
index 000000000000..ef9460d4e7fc
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetFullUrlForResourceGroup.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg",
+ "eventSubscriptionName": "examplesubscription2",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "endpointUrl": "https://requestb.in/15ksip71"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetFullUrlForSubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetFullUrlForSubscription.json
new file mode 100644
index 000000000000..b98c67b10def
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_GetFullUrlForSubscription.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "eventSubscriptionName": "examplesubscription3",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "endpointUrl": "https://requestb.in/15ksip71"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListByDomainTopic.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListByDomainTopic.json
new file mode 100644
index 000000000000..7738571c6916
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListByDomainTopic.json
@@ -0,0 +1,78 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "domainName": "domain1",
+ "topicName": "topic1",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/domains/domain1/topics/topic1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/domain1/topics/topic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1",
+ "name": "examplesubscription1",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ },
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/domains/domain1/topics/topic1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/domain1/topics/topic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2",
+ "name": "examplesubscription2",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ },
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "labels": [],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/domains/domain1/topics/topic1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/domain1/topics/topic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3",
+ "name": "examplesubscription3",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListByResource.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListByResource.json
new file mode 100644
index 000000000000..2db123760137
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListByResource.json
@@ -0,0 +1,79 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "providerNamespace": "Microsoft.EventGrid",
+ "resourceTypeName": "topics",
+ "resourceName": "exampletopic2",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic2"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1",
+ "name": "examplesubscription1",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ },
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic2"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2",
+ "name": "examplesubscription2",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ },
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "labels": [],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic2"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3",
+ "name": "examplesubscription3",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListGlobalByResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListGlobalByResourceGroup.json
new file mode 100644
index 000000000000..fbc642773882
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListGlobalByResourceGroup.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2",
+ "name": "examplesubscription2",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ },
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription4",
+ "name": "examplesubscription4",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType.json
new file mode 100644
index 000000000000..159858ad91af
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "topicTypeName": "Microsoft.Resources.ResourceGroups",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "Finance",
+ "HR"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3",
+ "name": "examplesubscription3",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListGlobalBySubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListGlobalBySubscription.json
new file mode 100644
index 000000000000..293755e29780
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListGlobalBySubscription.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2",
+ "name": "examplesubscription2",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ },
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "",
+ "subjectEndsWith": ""
+ },
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription4",
+ "name": "examplesubscription4",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType.json
new file mode 100644
index 000000000000..62fae6f3a4e2
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "topicTypeName": "Microsoft.Resources.Subscriptions",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "Finance",
+ "HR"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3",
+ "name": "examplesubscription3",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListRegionalByResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListRegionalByResourceGroup.json
new file mode 100644
index 000000000000..72c9a2b0c9ac
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListRegionalByResourceGroup.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "location": "westus2",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "Finance",
+ "HR"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription10",
+ "name": "examplesubscription10",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ },
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "Finance",
+ "HR"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription11",
+ "name": "examplesubscription11",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType.json
new file mode 100644
index 000000000000..abd52e577ac2
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType.json
@@ -0,0 +1,65 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "location": "westus2",
+ "topicTypeName": "Microsoft.EventHub.namespaces",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "Finance",
+ "HR"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription10",
+ "name": "examplesubscription10",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ },
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "Finance",
+ "HR"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription11",
+ "name": "examplesubscription11",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListRegionalBySubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListRegionalBySubscription.json
new file mode 100644
index 000000000000..f3fe74b42940
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListRegionalBySubscription.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "location": "westus2",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1"
+ },
+ "endpointType": "EventHub"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "Finance",
+ "HR"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription10",
+ "name": "examplesubscription10",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ },
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "Finance",
+ "HR"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription11",
+ "name": "examplesubscription11",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType.json
new file mode 100644
index 000000000000..c6acc85b6059
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "location": "westus2",
+ "topicTypeName": "Microsoft.EventHub.namespaces",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "Finance",
+ "HR"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription10",
+ "name": "examplesubscription10",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ },
+ {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": false,
+ "subjectBeginsWith": "ExamplePrefix",
+ "subjectEndsWith": "ExampleSuffix"
+ },
+ "labels": [
+ "Finance",
+ "HR"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription11",
+ "name": "examplesubscription11",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_UpdateForCustomTopic.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_UpdateForCustomTopic.json
new file mode 100644
index 000000000000..183406eb2d60
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_UpdateForCustomTopic.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2",
+ "eventSubscriptionName": "examplesubscription1",
+ "api-version": "2020-01-01-preview",
+ "eventSubscriptionUpdateParameters": {
+ "destination": {
+ "endpointType": "WebHook",
+ "properties": {
+ "endpointUrl": "https://requestb.in/15ksip71"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": true,
+ "subjectBeginsWith": "existingPrefix",
+ "subjectEndsWith": "newSuffix"
+ },
+ "labels": [
+ "label1",
+ "label2"
+ ]
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": true,
+ "subjectBeginsWith": "existingPrefix",
+ "subjectEndsWith": "newSuffix"
+ },
+ "labels": [
+ "label1",
+ "label2"
+ ],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic2"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1",
+ "name": "examplesubscription1",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_UpdateForResource.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_UpdateForResource.json
new file mode 100644
index 000000000000..832a2e1a75de
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_UpdateForResource.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1",
+ "eventSubscriptionName": "examplesubscription1",
+ "api-version": "2020-01-01-preview",
+ "eventSubscriptionUpdateParameters": {
+ "destination": {
+ "endpointType": "WebHook",
+ "properties": {
+ "endpointUrl": "https://requestb.in/15ksip71"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": true,
+ "subjectBeginsWith": "existingPrefix",
+ "subjectEndsWith": "newSuffix"
+ },
+ "labels": [
+ "label1",
+ "label2"
+ ]
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": true,
+ "subjectBeginsWith": "existingPrefix",
+ "subjectEndsWith": "newSuffix"
+ },
+ "labels": [],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1",
+ "name": "examplesubscription1",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_UpdateForResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_UpdateForResourceGroup.json
new file mode 100644
index 000000000000..618ce568eca0
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_UpdateForResourceGroup.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg",
+ "eventSubscriptionName": "examplesubscription2",
+ "api-version": "2020-01-01-preview",
+ "eventSubscriptionUpdateParameters": {
+ "destination": {
+ "endpointType": "EventHub",
+ "properties": {
+ "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": true,
+ "subjectBeginsWith": "existingPrefix",
+ "subjectEndsWith": "newSuffix"
+ },
+ "labels": [
+ "label1",
+ "label2"
+ ]
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": true,
+ "subjectBeginsWith": "existingPrefix",
+ "subjectEndsWith": "newSuffix"
+ },
+ "labels": [],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2",
+ "name": "examplesubscription2",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_UpdateForSubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_UpdateForSubscription.json
new file mode 100644
index 000000000000..52f1c269c488
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/EventSubscriptions_UpdateForSubscription.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "eventSubscriptionName": "examplesubscription3",
+ "api-version": "2020-01-01-preview",
+ "eventSubscriptionUpdateParameters": {
+ "destination": {
+ "endpointType": "WebHook",
+ "properties": {
+ "endpointUrl": "https://requestb.in/15ksip71"
+ }
+ },
+ "filter": {
+ "isSubjectCaseSensitive": true,
+ "subjectBeginsWith": "existingPrefix",
+ "subjectEndsWith": "newSuffix"
+ },
+ "labels": [
+ "label1",
+ "label2"
+ ]
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "destination": {
+ "properties": {
+ "endpointBaseUrl": "https://requestb.in/15ksip71"
+ },
+ "endpointType": "WebHook"
+ },
+ "filter": {
+ "isSubjectCaseSensitive": true,
+ "subjectBeginsWith": "existingPrefix",
+ "subjectEndsWith": "newSuffix"
+ },
+ "labels": [],
+ "provisioningState": "Succeeded",
+ "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3",
+ "name": "examplesubscription3",
+ "type": "Microsoft.EventGrid/eventSubscriptions"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Operations_List.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Operations_List.json
new file mode 100644
index 000000000000..1b63dbb7e485
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Operations_List.json
@@ -0,0 +1,83 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.EventGrid/register/action",
+ "display": {
+ "provider": "Microsoft Event Grid",
+ "resource": "EventGrid Resource Provider",
+ "operation": "Registers the EventGrid Resource Provider",
+ "description": "Registers the eventSubscription for the EventGrid resource provider and enables the creation of Event Grid subscriptions."
+ },
+ "origin": "UserAndSystem"
+ },
+ {
+ "name": "Microsoft.EventGrid/eventSubscriptions/write",
+ "display": {
+ "provider": "Microsoft Event Grid",
+ "resource": "eventSubscriptions",
+ "operation": "Write EventSubscription",
+ "description": "Create or update a eventSubscription"
+ },
+ "origin": "UserAndSystem"
+ },
+ {
+ "name": "Microsoft.EventGrid/eventSubscriptions/read",
+ "display": {
+ "provider": "Microsoft Event Grid",
+ "resource": "eventSubscriptions",
+ "operation": "Read EventSubscription",
+ "description": "Read a eventSubscription"
+ },
+ "origin": "UserAndSystem"
+ },
+ {
+ "name": "Microsoft.EventGrid/eventSubscriptions/delete",
+ "display": {
+ "provider": "Microsoft Event Grid",
+ "resource": "eventSubscriptions",
+ "operation": "Delete EventSubscription",
+ "description": "Delete a eventSubscription"
+ },
+ "origin": "UserAndSystem"
+ },
+ {
+ "name": "Microsoft.EventGrid/topics/write",
+ "display": {
+ "provider": "Microsoft Event Grid",
+ "resource": "topics",
+ "operation": "Write Topic",
+ "description": "Create or update a topic"
+ },
+ "origin": "UserAndSystem"
+ },
+ {
+ "name": "Microsoft.EventGrid/topics/read",
+ "display": {
+ "provider": "Microsoft Event Grid",
+ "resource": "topics",
+ "operation": "Read Topic",
+ "description": "Read a topic"
+ },
+ "origin": "UserAndSystem"
+ },
+ {
+ "name": "Microsoft.EventGrid/topics/delete",
+ "display": {
+ "provider": "Microsoft Event Grid",
+ "resource": "topics",
+ "operation": "Delete Topic",
+ "description": "Delete a topic"
+ },
+ "origin": "UserAndSystem"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/TopicTypes_Get.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/TopicTypes_Get.json
new file mode 100644
index 000000000000..0de32bd974f3
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/TopicTypes_Get.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "topicTypeName": "Microsoft.Storage.StorageAccounts",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "description": "Microsoft Storage service events.",
+ "displayName": "Storage Accounts",
+ "provider": "Microsoft.Storage",
+ "provisioningState": "Succeeded",
+ "resourceRegionType": "RegionalResource"
+ },
+ "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts",
+ "name": "Microsoft.Storage.StorageAccounts",
+ "type": "Microsoft.EventGrid/topicTypes"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/TopicTypes_List.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/TopicTypes_List.json
new file mode 100644
index 000000000000..058c8f447ca0
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/TopicTypes_List.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "description": "Microsoft EventHubs service events.",
+ "displayName": "EventHubs Namespace",
+ "provider": "Microsoft.Eventhub",
+ "provisioningState": "Succeeded",
+ "resourceRegionType": "RegionalResource"
+ },
+ "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Eventhub.Namespaces",
+ "name": "Microsoft.Eventhub.Namespaces",
+ "type": "Microsoft.EventGrid/topicTypes"
+ },
+ {
+ "properties": {
+ "description": "Microsoft Storage service events.",
+ "displayName": "Storage Accounts",
+ "provider": "Microsoft.Storage",
+ "provisioningState": "Succeeded",
+ "resourceRegionType": "RegionalResource"
+ },
+ "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts",
+ "name": "Microsoft.Storage.StorageAccounts",
+ "type": "Microsoft.EventGrid/topicTypes"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/TopicTypes_ListEventTypes.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/TopicTypes_ListEventTypes.json
new file mode 100644
index 000000000000..c7d13acbbd4e
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/TopicTypes_ListEventTypes.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "topicTypeName": "Microsoft.Storage.StorageAccounts",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "displayName": "Blob Created",
+ "description": "Raised when a blob is created.",
+ "schemaUrl": "tbd"
+ },
+ "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobCreated",
+ "name": "Microsoft.Storage.BlobCreated",
+ "type": "Microsoft.EventGrid/topicTypes/eventTypes"
+ },
+ {
+ "properties": {
+ "description": "Raised when a blob is deleted.",
+ "schemaUrl": "tbd",
+ "displayName": "Blob Deleted"
+ },
+ "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobDeleted",
+ "name": "Microsoft.Storage.BlobDeleted",
+ "type": "Microsoft.EventGrid/topicTypes/eventTypes"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_CreateOrUpdate.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_CreateOrUpdate.json
new file mode 100644
index 000000000000..efaec2287164
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_CreateOrUpdate.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "topicName": "exampletopic1",
+ "api-version": "2020-01-01-preview",
+ "topicInfo": {
+ "location": "westus2",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "endpoint": "https://exampletopic1.westus2-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "location": "westus2",
+ "name": "exampletopic1",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/topics"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_Delete.json
new file mode 100644
index 000000000000..075d3828bbcc
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_Delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "topicName": "exampletopic1",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_Get.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_Get.json
new file mode 100644
index 000000000000..dfda2aa8c6c8
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_Get.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "topicName": "exampletopic2",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "endpoint": "https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2",
+ "location": "westcentralus",
+ "name": "exampletopic2",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/topics"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_ListByResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_ListByResourceGroup.json
new file mode 100644
index 000000000000..742627695066
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_ListByResourceGroup.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "endpoint": "https://exampletopic1.westus2-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "location": "westus2",
+ "name": "exampletopic1",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/topics"
+ },
+ {
+ "properties": {
+ "endpoint": "https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2",
+ "location": "westcentralus",
+ "name": "exampletopic2",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/topics"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_ListBySubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_ListBySubscription.json
new file mode 100644
index 000000000000..91f63e5863ba
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_ListBySubscription.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "endpoint": "https://exampletopic1.westus2-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "location": "westus2",
+ "name": "exampletopic1",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/topics"
+ },
+ {
+ "properties": {
+ "endpoint": "https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2",
+ "location": "westcentralus",
+ "name": "exampletopic2",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/topics"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_ListEventTypes.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_ListEventTypes.json
new file mode 100644
index 000000000000..7d27992c8a72
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_ListEventTypes.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "providerNamespace": "Microsoft.Storage",
+ "resourceTypeName": "storageAccounts",
+ "resourceName": "ExampleStorageAccount",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "description": "Raised when a blob is created.",
+ "schemaUrl": "tbd",
+ "displayName": "Blob Created"
+ },
+ "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobCreated",
+ "name": "Microsoft.Storage.BlobCreated",
+ "type": "Microsoft.EventGrid/topicTypes/eventTypes"
+ },
+ {
+ "properties": {
+ "description": "Raised when a blob is deleted.",
+ "schemaUrl": "tbd",
+ "displayName": "Blob Deleted"
+ },
+ "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobDeleted",
+ "name": "Microsoft.Storage.BlobDeleted",
+ "type": "Microsoft.EventGrid/topicTypes/eventTypes"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_ListSharedAccessKeys.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_ListSharedAccessKeys.json
new file mode 100644
index 000000000000..8b20a20d6d21
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_ListSharedAccessKeys.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "topicName": "exampletopic2",
+ "api-version": "2020-01-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "key1": "Rqfq5wWxtQnIQJyswP0Uh/hqQfDDMUOYyQSYEpx5e5g=",
+ "key2": "sesymbkIXMtZVqXEFHarJmdGmZjjnY+BZC8yRD/FeuA="
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_RegenerateKey.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_RegenerateKey.json
new file mode 100644
index 000000000000..ad033a4b8a03
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_RegenerateKey.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "topicName": "exampletopic2",
+ "api-version": "2020-01-01-preview",
+ "regenerateKeyRequest": {
+ "keyName": "key1"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "key1": "Rqfq5wWxtQnIQJyswP0Uh/hqQfDDMUOYyQSYEpx5e5g=",
+ "key2": "sesymbkIXMtZVqXEFHarJmdGmZjjnY+BZC8yRD/FeuA="
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_Update.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_Update.json
new file mode 100644
index 000000000000..a3411d72c639
--- /dev/null
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/examples/Topics_Update.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
+ "resourceGroupName": "examplerg",
+ "topicName": "exampletopic1",
+ "api-version": "2020-01-01-preview",
+ "topicUpdateParameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "endpoint": "https://exampletopic1.westus2-1.eventgrid.azure.net/api/events",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1",
+ "location": "westus2",
+ "name": "exampletopic1",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.EventGrid/topics"
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/resource-manager/readme.go.md b/specification/eventgrid/resource-manager/readme.go.md
index bb5e4284a0ff..cac7917ef2e1 100644
--- a/specification/eventgrid/resource-manager/readme.go.md
+++ b/specification/eventgrid/resource-manager/readme.go.md
@@ -13,6 +13,7 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-2020-01-preview
- tag: package-2019-06
- tag: package-2019-02-preview
- tag: package-2019-01
@@ -23,6 +24,16 @@ batch:
- tag: package-2017-06-preview
```
+### Tag: package-2020-01-preview and go
+
+These settings apply only when `--tag=package-2020-01-preview --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2020-01-preview' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-01-01-preview/$(namespace)
+```
+
+
### Tag: package-2019-06 and go
These settings apply only when `--tag=package-2019-06 --go` is specified on the command line.
diff --git a/specification/eventgrid/resource-manager/readme.md b/specification/eventgrid/resource-manager/readme.md
index b36653107114..916298f4a7eb 100644
--- a/specification/eventgrid/resource-manager/readme.md
+++ b/specification/eventgrid/resource-manager/readme.md
@@ -26,9 +26,19 @@ These are the global settings for the Azure EventGrid API.
``` yaml
openapi-type: arm
-tag: package-2019-06
+tag: package-2020-01-preview
```
+### Tag: package-2020-01-preview
+
+These settings apply only when `--tag=package-2020-01-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-2020-01-preview'
+input-file:
+- Microsoft.EventGrid/preview/2020-01-01-preview/EventGrid.json
+```
+
+
### Tag: package-2019-06
These settings apply only when `--tag=package-2019-06` is specified on the command line.
@@ -183,6 +193,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.EventGrid/preview/2020-01-01-preview/EventGrid.json
- $(this-folder)/Microsoft.EventGrid/stable/2019-06-01/EventGrid.json
- $(this-folder)/Microsoft.EventGrid/preview/2019-02-01-preview/EventGrid.json
- $(this-folder)/Microsoft.EventGrid/stable/2019-01-01/EventGrid.json
diff --git a/specification/eventgrid/resource-manager/readme.ruby.md b/specification/eventgrid/resource-manager/readme.ruby.md
index f14781bc1c0d..2a0710261160 100644
--- a/specification/eventgrid/resource-manager/readme.ruby.md
+++ b/specification/eventgrid/resource-manager/readme.ruby.md
@@ -12,6 +12,7 @@ azure-arm: true
``` yaml $(ruby) && $(multiapi)
batch:
+ - tag: package-2020-01-preview
- tag: package-2019-06
- tag: package-2019-02-preview
- tag: package-2019-01
@@ -22,13 +23,22 @@ batch:
- tag: package-2017-06-preview
```
+### Tag: package-2020-01-preview and ruby
+These settings apply only when `--tag=package-2020-01-preview --ruby` is specified on the command line.
+Please also specify `--ruby-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2020-01-preview' && $(ruby)
+
+namespace: "Azure::EventGrid::Mgmt::V2020_01_01_preview"
+output-folder: $(ruby-sdks-folder)/management/azure_mgmt_event_grid/lib
+
### Tag: package-2019-06 and ruby
These settings apply only when `--tag=package-2019-06 --ruby` is specified on the command line.
Please also specify `--ruby-sdks-folder=`.
``` yaml $(tag) == 'package-2019-06' && $(ruby)
-namespace: "Azure::EventGrid::Mgmt::V2019_02_01_preview"
+namespace: "Azure::EventGrid::Mgmt::V2019_06_01"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_event_grid/lib
```
From ea20f2194d69b70fb66a6de29344653e598b7cc6 Mon Sep 17 00:00:00 2001
From: farehar
Date: Tue, 22 Oct 2019 21:30:05 -0700
Subject: [PATCH 033/189] Hybrid RP. enable delete operation (#7568)
* Hybrid RP swagger
* Addressed feedback
* fix typo
* fix build issues
* fix validation issues
* fix validation errors
* fix errors
* fix errors
* fix errors
* remove 204 return codes
* updated examplese
* enable delete operation
* Hybrid RP swagger
* Addressed feedback
* fix errors
* fix errors
* fix errors
* updated examplese
* enable delete operation
* fix tyop
* fix spaces
---
specification/hybridcompute/resource-manager/readme.md | 3 ---
1 file changed, 3 deletions(-)
diff --git a/specification/hybridcompute/resource-manager/readme.md b/specification/hybridcompute/resource-manager/readme.md
index 0e698c02424f..786f8e16c53e 100644
--- a/specification/hybridcompute/resource-manager/readme.md
+++ b/specification/hybridcompute/resource-manager/readme.md
@@ -67,7 +67,6 @@ directive:
- Machines_Reconnect
- Machines_CreateOrUpdate
- Machines_Update
- - Machines_Delete
```
## PowerShell
@@ -82,7 +81,6 @@ directive:
- Machines_Reconnect
- Machines_CreateOrUpdate
- Machines_Update
- - Machines_Delete
```
@@ -116,7 +114,6 @@ directive:
- Machines_Reconnect
- Machines_CreateOrUpdate
- Machines_Update
- - Machines_Delete
```
## Go
From 7deb612098260d8a44ff43f152e404343eece049 Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Wed, 23 Oct 2019 02:07:13 -0400
Subject: [PATCH 034/189] test generation for web (#7587)
* test generation for web
* missing things
---
specification/web/resource-manager/readme.cli.md | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 specification/web/resource-manager/readme.cli.md
diff --git a/specification/web/resource-manager/readme.cli.md b/specification/web/resource-manager/readme.cli.md
new file mode 100644
index 000000000000..01c9822abf35
--- /dev/null
+++ b/specification/web/resource-manager/readme.cli.md
@@ -0,0 +1,12 @@
+## CLI
+
+These settings apply only when `--cli` is specified on the command line.
+
+``` yaml $(cli)
+cli:
+ cli-name: appservice
+ package-name: azure-mgmt-web
+ namespace: azure.mgmt.web
+ test-setup:
+ - name: "Create Or Update App Service plan"
+```
From 2e185203d27e9fe2c5932b7c1a8a499028f4db7a Mon Sep 17 00:00:00 2001
From: Arcturus
Date: Wed, 23 Oct 2019 14:23:45 +0800
Subject: [PATCH 035/189] Fix error in luis runtime readme (#7593)
---
.../cognitiveservices/data-plane/LUIS/Runtime/readme.go.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/cognitiveservices/data-plane/LUIS/Runtime/readme.go.md b/specification/cognitiveservices/data-plane/LUIS/Runtime/readme.go.md
index f8afb61804aa..01f58b6c88ce 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Runtime/readme.go.md
+++ b/specification/cognitiveservices/data-plane/LUIS/Runtime/readme.go.md
@@ -32,5 +32,5 @@ These settings apply only when `--tag=runtime_3_0 --go` is specified on the comm
Please also specify `--go-sdk-folder=`.
``` yaml $(tag) == 'runtime_3_0' && $(go)
-output-folder: $(go-sdk-folder)/services/stable/cognitiveservices/v3.0/luis/$(namespace)
+output-folder: $(go-sdk-folder)/services/cognitiveservices/v3.0/luis/$(namespace)
```
From b3bbb3c5d080e426d8976fa5b663fa9c3c2448b3 Mon Sep 17 00:00:00 2001
From: Arcturus
Date: Wed, 23 Oct 2019 15:44:59 +0800
Subject: [PATCH 036/189] Change go sdk from tag 2019-07-01 to 2019-07 (#7592)
---
specification/compute/resource-manager/readme.go.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/specification/compute/resource-manager/readme.go.md b/specification/compute/resource-manager/readme.go.md
index 2cd48aec7d6a..7c4552f5e38c 100644
--- a/specification/compute/resource-manager/readme.go.md
+++ b/specification/compute/resource-manager/readme.go.md
@@ -12,7 +12,7 @@ go:
```yaml $(go) && $(multiapi)
batch:
- - tag: package-2019-07-01
+ - tag: package-2019-07
- tag: package-2019-03-01
- tag: package-2018-10-01
- tag: package-2018-06
@@ -29,12 +29,12 @@ batch:
- tag: package-container-service-2015-11-preview
```
-### Tag: package-2019-07-01 and go
+### Tag: package-2019-07 and go
-These settings apply only when `--tag=package-2019-07-01 --go` is specified on the command line.
+These settings apply only when `--tag=package-2019-07 --go` is specified on the command line.
Please also specify `--go-sdk-folder=`.
-```yaml $(tag)=='package-2019-07-01' && $(go)
+```yaml $(tag)=='package-2019-07' && $(go)
namespace: compute
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-07-01/$(namespace)
```
From 3cb8759265a07f03e91633a2184bbfa611715ad3 Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Wed, 23 Oct 2019 16:48:03 +0800
Subject: [PATCH 037/189] some naming replacing in examples to make it inline
with cli commands (#7595)
* some naming replacing in examples to make it inline with cli commands
* undo unnecessary change
* one more missing
* more unnecessary changes undone
* undo
* undo
---
.../examples/CreateDirectPeering.json | 12 ++++++------
.../examples/CreateExchangePeering.json | 12 ++++++------
.../2019-08-01-preview/examples/CreatePeerAsn.json | 10 +++++-----
.../examples/CreatePeeringService.json | 12 ++++++------
.../examples/CreatePeeringServicePrefix.json | 14 +++++++-------
.../2019-08-01-preview/examples/DeletePeerAsn.json | 2 +-
.../2019-08-01-preview/examples/DeletePeering.json | 4 ++--
.../examples/DeletePeeringService.json | 4 ++--
.../examples/DeletePeeringServicePrefix.json | 6 +++---
.../2019-08-01-preview/examples/GetPeerAsn.json | 6 +++---
.../2019-08-01-preview/examples/GetPeering.json | 8 ++++----
.../examples/GetPeeringService.json | 8 ++++----
.../examples/GetPeeringServicePrefix.json | 10 +++++-----
.../examples/ListLegacyPeerings.json | 4 ++--
.../examples/ListPeerAsnsBySubscription.json | 4 ++--
.../ListPeeringServicesByResourceGroup.json | 6 +++---
.../ListPeeringServicesBySubscription.json | 4 ++--
.../examples/ListPeeringsByResourceGroup.json | 6 +++---
.../examples/ListPeeringsBySubscription.json | 4 ++--
.../examples/ListPrefixesByPeeringService.json | 12 ++++++------
.../examples/UpdatePeeringServiceTags.json | 8 ++++----
.../examples/UpdatePeeringTags.json | 8 ++++----
.../examples/CreateDirectPeering.json | 12 ++++++------
.../examples/CreateExchangePeering.json | 12 ++++++------
.../2019-09-01-preview/examples/CreatePeerAsn.json | 10 +++++-----
.../examples/CreatePeeringService.json | 12 ++++++------
.../examples/CreatePeeringServicePrefix.json | 14 +++++++-------
.../2019-09-01-preview/examples/DeletePeerAsn.json | 2 +-
.../2019-09-01-preview/examples/DeletePeering.json | 4 ++--
.../examples/DeletePeeringService.json | 4 ++--
.../examples/DeletePeeringServicePrefix.json | 6 +++---
.../2019-09-01-preview/examples/GetPeerAsn.json | 6 +++---
.../2019-09-01-preview/examples/GetPeering.json | 8 ++++----
.../examples/GetPeeringService.json | 8 ++++----
.../examples/GetPeeringServicePrefix.json | 10 +++++-----
.../examples/ListLegacyPeerings.json | 4 ++--
.../examples/ListPeerAsnsBySubscription.json | 4 ++--
.../ListPeeringServicesByResourceGroup.json | 6 +++---
.../ListPeeringServicesBySubscription.json | 4 ++--
.../examples/ListPeeringsByResourceGroup.json | 6 +++---
.../examples/ListPeeringsBySubscription.json | 4 ++--
.../examples/ListPrefixesByPeeringService.json | 12 ++++++------
.../examples/UpdatePeeringServiceTags.json | 8 ++++----
.../examples/UpdatePeeringTags.json | 8 ++++----
44 files changed, 164 insertions(+), 164 deletions(-)
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/CreateDirectPeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/CreateDirectPeering.json
index e75931def761..4d64c57ad669 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/CreateDirectPeering.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/CreateDirectPeering.json
@@ -1,8 +1,8 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringName": "peeringName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringName": "MyPeering",
"api-version": "2019-08-01-preview",
"peering": {
"sku": {
@@ -112,8 +112,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName",
+ "name": "MyPeering",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peerings/MyPeering",
"type": "Microsoft.Peering/peerings"
}
},
@@ -176,8 +176,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName",
+ "name": "MyPeering",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peerings/MyPeering",
"type": "Microsoft.Peering/peerings"
}
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/CreateExchangePeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/CreateExchangePeering.json
index 50974b6866c3..fd8d6a08ff1e 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/CreateExchangePeering.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/CreateExchangePeering.json
@@ -1,8 +1,8 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringName": "peeringName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringName": "MyPeering",
"api-version": "2019-08-01-preview",
"peering": {
"sku": {
@@ -98,8 +98,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName",
+ "name": "MyPeering",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peerings/MyPeering",
"type": "Microsoft.Peering/peerings"
}
},
@@ -156,8 +156,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName",
+ "name": "MyPeering",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peerings/MyPeering",
"type": "Microsoft.Peering/peerings"
}
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/CreatePeerAsn.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/CreatePeerAsn.json
index 5c9621951a4c..5fb89f4af745 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/CreatePeerAsn.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/CreatePeerAsn.json
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "subId",
- "peerAsnName": "peerAsnName",
+ "peerAsnName": "MyPeerAsn",
"api-version": "2019-08-01-preview",
"peerAsn": {
"properties": {
@@ -36,8 +36,8 @@
"peerName": "Contoso",
"validationState": "Pending"
},
- "name": "peerAsnName",
- "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/peerAsnName",
+ "name": "MyPeerAsn",
+ "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/MyPeerAsn",
"type": "Microsoft.Peering/peerAsns"
}
},
@@ -57,8 +57,8 @@
"peerName": "Contoso",
"validationState": "Pending"
},
- "name": "peerAsnName",
- "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/peerAsnName",
+ "name": "MyPeerAsn",
+ "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/MyPeerAsn",
"type": "Microsoft.Peering/peerAsns"
}
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/CreatePeeringService.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/CreatePeeringService.json
index b2991accded4..fa14ceabd2a7 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/CreatePeeringService.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/CreatePeeringService.json
@@ -1,8 +1,8 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringServiceName": "peeringServiceName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringServiceName": "MyPeeringService",
"api-version": "2019-08-01-preview",
"peeringService": {
"properties": {
@@ -21,8 +21,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringServiceName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName",
+ "name": "MyPeeringService",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService",
"type": "Microsoft.Peering/peeringServices"
}
},
@@ -34,8 +34,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringServiceName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName",
+ "name": "MyPeeringService",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService",
"type": "Microsoft.Peering/peeringServices"
}
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/CreatePeeringServicePrefix.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/CreatePeeringServicePrefix.json
index 76ecfb51967a..075dc74dd565 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/CreatePeeringServicePrefix.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/CreatePeeringServicePrefix.json
@@ -1,9 +1,9 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringServiceName": "peeringServiceName",
- "prefixName": "peeringServicePrefixName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringServiceName": "MyPeeringService",
+ "prefixName": "MyPeeringServicePrefix",
"api-version": "2019-08-01-preview",
"peeringServicePrefix": {
"properties": {
@@ -20,8 +20,8 @@
"learnedType": "None",
"provisioningState": "Succeeded"
},
- "name": "peeringServicePrefixName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/prefixes/peeringServicePrefixName"
+ "name": "MyPeeringServicePrefix",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService/prefixes/MyPeeringServicePrefix"
}
},
"201": {
@@ -32,8 +32,8 @@
"learnedType": "None",
"provisioningState": "Succeeded"
},
- "name": "peeringServicePrefixName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/prefixes/peeringServicePrefixName"
+ "name": "MyPeeringServicePrefix",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService/prefixes/MyPeeringServicePrefix"
}
}
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/DeletePeerAsn.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/DeletePeerAsn.json
index e9502887c1b3..9bdf8330c803 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/DeletePeerAsn.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/DeletePeerAsn.json
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "subId",
- "peerAsnName": "peerAsnName",
+ "peerAsnName": "MyPeerAsn",
"api-version": "2019-08-01-preview"
},
"responses": {
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/DeletePeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/DeletePeering.json
index 64dc9cb1a945..ac99a23b7dc3 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/DeletePeering.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/DeletePeering.json
@@ -1,8 +1,8 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringName": "peeringName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringName": "MyPeering",
"api-version": "2019-08-01-preview"
},
"responses": {
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/DeletePeeringService.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/DeletePeeringService.json
index e2ea15915086..cc84a157b3ea 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/DeletePeeringService.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/DeletePeeringService.json
@@ -1,8 +1,8 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringServiceName": "peeringServiceName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringServiceName": "MyPeeringService",
"api-version": "2019-08-01-preview"
},
"responses": {
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/DeletePeeringServicePrefix.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/DeletePeeringServicePrefix.json
index a7376ce97846..4ac1ddf4970f 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/DeletePeeringServicePrefix.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/DeletePeeringServicePrefix.json
@@ -1,9 +1,9 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringServiceName": "peeringServiceName",
- "prefixName": "peeringServicePrefixName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringServiceName": "MyPeeringService",
+ "prefixName": "MyPeeringServicePrefix",
"api-version": "2019-08-01-preview"
},
"responses": {
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/GetPeerAsn.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/GetPeerAsn.json
index 4a8daf7f1f64..eee60a033672 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/GetPeerAsn.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/GetPeerAsn.json
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "subId",
- "peerAsnName": "peerAsnName",
+ "peerAsnName": "MyPeerAsn",
"api-version": "2019-08-01-preview"
},
"responses": {
@@ -21,8 +21,8 @@
"peerName": "Contoso",
"validationState": "Approved"
},
- "name": "peerAsnName",
- "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/peerAsnName",
+ "name": "MyPeerAsn",
+ "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/MyPeerAsn",
"type": "Microsoft.Peering/peerAsns"
}
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/GetPeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/GetPeering.json
index 4d50060a0eed..764f9c18adda 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/GetPeering.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/GetPeering.json
@@ -1,8 +1,8 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringName": "peeringName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringName": "MyPeering",
"api-version": "2019-08-01-preview"
},
"responses": {
@@ -59,8 +59,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName",
+ "name": "MyPeering",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peerings/MyPeering",
"type": "Microsoft.Peering/peerings"
}
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/GetPeeringService.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/GetPeeringService.json
index ce6e3e752bad..19002549a4ce 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/GetPeeringService.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/GetPeeringService.json
@@ -1,8 +1,8 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringServiceName": "peeringServiceName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringServiceName": "MyPeeringService",
"api-version": "2019-08-01-preview"
},
"responses": {
@@ -14,8 +14,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringServiceName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName",
+ "name": "MyPeeringService",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService",
"type": "Microsoft.Peering/peeringServices"
}
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/GetPeeringServicePrefix.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/GetPeeringServicePrefix.json
index 35663140ad10..508b321208d9 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/GetPeeringServicePrefix.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/GetPeeringServicePrefix.json
@@ -1,9 +1,9 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringServiceName": "peeringServiceName",
- "prefixName": "peeringServicePrefixName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringServiceName": "MyPeeringService",
+ "prefixName": "MyPeeringServicePrefix",
"api-version": "2019-08-01-preview"
},
"responses": {
@@ -15,8 +15,8 @@
"learnedType": "None",
"provisioningState": "Succeeded"
},
- "name": "peeringServicePrefixName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/prefixes/peeringServicePrefixName"
+ "name": "MyPeeringServicePrefix",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService/prefixes/MyPeeringServicePrefix"
}
}
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListLegacyPeerings.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListLegacyPeerings.json
index 2b5ecd63fa84..14b8c69ca48f 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListLegacyPeerings.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListLegacyPeerings.json
@@ -61,8 +61,8 @@
"provisioningState": "Succeeded"
},
"location": "centralus",
- "name": "peeringName",
- "id": "/subscriptions/subId/providers/Microsoft.Peering/peerings/peeringName",
+ "name": "MyPeering",
+ "id": "/subscriptions/subId/providers/Microsoft.Peering/peerings/MyPeering",
"type": "Microsoft.Peering/peerings"
}
]
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPeerAsnsBySubscription.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPeerAsnsBySubscription.json
index 1a54b82e4dcc..7fc27f99533a 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPeerAsnsBySubscription.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPeerAsnsBySubscription.json
@@ -22,8 +22,8 @@
"peerName": "Contoso",
"validationState": "Approved"
},
- "name": "peerAsnName",
- "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/peerAsnName",
+ "name": "MyPeerAsn",
+ "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/MyPeerAsn",
"type": "Microsoft.Peering/peerAsns"
}
]
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPeeringServicesByResourceGroup.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPeeringServicesByResourceGroup.json
index acffd6cc3101..671dbcaecbae 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPeeringServicesByResourceGroup.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPeeringServicesByResourceGroup.json
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
+ "resourceGroupName": "MyResourceGroup",
"api-version": "2019-08-01-preview"
},
"responses": {
@@ -15,8 +15,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringServiceName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName",
+ "name": "MyPeeringService",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService",
"type": "Microsoft.Peering/peeringServices"
}
]
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPeeringServicesBySubscription.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPeeringServicesBySubscription.json
index c9f7ad2a5b6c..6804ce79d2df 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPeeringServicesBySubscription.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPeeringServicesBySubscription.json
@@ -14,8 +14,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringServiceName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName",
+ "name": "MyPeeringService",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService",
"type": "Microsoft.Peering/peeringServices"
}
]
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPeeringsByResourceGroup.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPeeringsByResourceGroup.json
index 55766fbf55b4..0ab8f18e1c73 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPeeringsByResourceGroup.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPeeringsByResourceGroup.json
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
+ "resourceGroupName": "MyResourceGroup",
"api-version": "2019-08-01-preview"
},
"responses": {
@@ -60,8 +60,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName",
+ "name": "MyPeering",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peerings/MyPeering",
"type": "Microsoft.Peering/peerings"
}
]
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPeeringsBySubscription.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPeeringsBySubscription.json
index a8a0f56ddefd..c168dd2febde 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPeeringsBySubscription.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPeeringsBySubscription.json
@@ -59,8 +59,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName",
+ "name": "MyPeering",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peerings/MyPeering",
"type": "Microsoft.Peering/peerings"
}
]
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPrefixesByPeeringService.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPrefixesByPeeringService.json
index cf97c8f1c152..1f9589cab81d 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPrefixesByPeeringService.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/ListPrefixesByPeeringService.json
@@ -1,8 +1,8 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringServiceName": "peeringServiceName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringServiceName": "MyPeeringService",
"api-version": "2019-08-01-preview"
},
"responses": {
@@ -16,8 +16,8 @@
"learnedType": "None",
"provisioningState": "Succeeded"
},
- "name": "peeringServicePrefixName1",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/prefixes/peeringServicePrefixName1"
+ "name": "MyPeeringServicePrefix1",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService/prefixes/MyPeeringServicePrefix1"
},
{
"properties": {
@@ -26,8 +26,8 @@
"learnedType": "None",
"provisioningState": "Succeeded"
},
- "name": "peeringServicePrefixName2",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/prefixes/peeringServicePrefixName2"
+ "name": "MyPeeringServicePrefix2",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService/prefixes/MyPeeringServicePrefix2"
}
]
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/UpdatePeeringServiceTags.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/UpdatePeeringServiceTags.json
index c311039c176a..2b2ab5b5c9b0 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/UpdatePeeringServiceTags.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/UpdatePeeringServiceTags.json
@@ -1,8 +1,8 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringServiceName": "peeringServiceName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringServiceName": "MyPeeringService",
"api-version": "2019-08-01-preview",
"tags": {
"tags": {
@@ -24,8 +24,8 @@
"tag0": "value0",
"tag1": "value1"
},
- "name": "peeringServiceName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName",
+ "name": "MyPeeringService",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService",
"type": "Microsoft.Peering/peeringServices"
}
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/UpdatePeeringTags.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/UpdatePeeringTags.json
index cde8d956564f..09637d8afe44 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/UpdatePeeringTags.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/examples/UpdatePeeringTags.json
@@ -1,8 +1,8 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringName": "peeringName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringName": "MyPeering",
"api-version": "2019-08-01-preview",
"tags": {
"tags": {
@@ -69,8 +69,8 @@
"tag0": "value0",
"tag1": "value1"
},
- "name": "peeringName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName",
+ "name": "MyPeering",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peerings/MyPeering",
"type": "Microsoft.Peering/peerings"
}
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/CreateDirectPeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/CreateDirectPeering.json
index e676688b0577..78054a6572e3 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/CreateDirectPeering.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/CreateDirectPeering.json
@@ -1,8 +1,8 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringName": "peeringName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringName": "MyPeering",
"api-version": "2019-09-01-preview",
"peering": {
"sku": {
@@ -105,8 +105,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName",
+ "name": "MyPeering",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peerings/MyPeering",
"type": "Microsoft.Peering/peerings"
}
},
@@ -160,8 +160,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName",
+ "name": "MyPeering",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peerings/MyPeering",
"type": "Microsoft.Peering/peerings"
}
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/CreateExchangePeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/CreateExchangePeering.json
index 9e109029a08d..c4eec8dcea25 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/CreateExchangePeering.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/CreateExchangePeering.json
@@ -1,8 +1,8 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringName": "peeringName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringName": "MyPeering",
"api-version": "2019-09-01-preview",
"peering": {
"sku": {
@@ -99,8 +99,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName",
+ "name": "MyPeering",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peerings/MyPeering",
"type": "Microsoft.Peering/peerings"
}
},
@@ -157,8 +157,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName",
+ "name": "MyPeering",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peerings/MyPeering",
"type": "Microsoft.Peering/peerings"
}
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/CreatePeerAsn.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/CreatePeerAsn.json
index 066d66dc08f2..e9437946beaa 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/CreatePeerAsn.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/CreatePeerAsn.json
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "subId",
- "peerAsnName": "peerAsnName",
+ "peerAsnName": "MyPeerAsn",
"api-version": "2019-09-01-preview",
"peerAsn": {
"properties": {
@@ -36,8 +36,8 @@
"peerName": "Contoso",
"validationState": "Pending"
},
- "name": "peerAsnName",
- "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/peerAsnName",
+ "name": "MyPeerAsn",
+ "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/MyPeerAsn",
"type": "Microsoft.Peering/peerAsns"
}
},
@@ -57,8 +57,8 @@
"peerName": "Contoso",
"validationState": "Pending"
},
- "name": "peerAsnName",
- "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/peerAsnName",
+ "name": "MyPeerAsn",
+ "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/MyPeerAsn",
"type": "Microsoft.Peering/peerAsns"
}
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/CreatePeeringService.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/CreatePeeringService.json
index e0e40afb85ea..dbcf64d5c209 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/CreatePeeringService.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/CreatePeeringService.json
@@ -1,8 +1,8 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringServiceName": "peeringServiceName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringServiceName": "MyPeeringService",
"api-version": "2019-09-01-preview",
"peeringService": {
"properties": {
@@ -21,8 +21,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringServiceName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName",
+ "name": "MyPeeringService",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService",
"type": "Microsoft.Peering/peeringServices"
}
},
@@ -34,8 +34,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringServiceName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName",
+ "name": "MyPeeringService",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService",
"type": "Microsoft.Peering/peeringServices"
}
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/CreatePeeringServicePrefix.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/CreatePeeringServicePrefix.json
index 29ec966fbd0f..520adf91c2da 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/CreatePeeringServicePrefix.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/CreatePeeringServicePrefix.json
@@ -1,9 +1,9 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringServiceName": "peeringServiceName",
- "prefixName": "peeringServicePrefixName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringServiceName": "MyPeeringService",
+ "prefixName": "MyPeeringServicePrefix",
"api-version": "2019-09-01-preview",
"peeringServicePrefix": {
"properties": {
@@ -21,8 +21,8 @@
"errorMessage": "Prefix is not announced by the service provider to Microsoft.",
"provisioningState": "Succeeded"
},
- "name": "peeringServicePrefixName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/prefixes/peeringServicePrefixName"
+ "name": "MyPeeringServicePrefix",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService/prefixes/MyPeeringServicePrefix"
}
},
"201": {
@@ -34,8 +34,8 @@
"errorMessage": "Prefix is not announced by the service provider to Microsoft.",
"provisioningState": "Succeeded"
},
- "name": "peeringServicePrefixName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/prefixes/peeringServicePrefixName"
+ "name": "MyPeeringServicePrefix",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService/prefixes/MyPeeringServicePrefix"
}
}
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/DeletePeerAsn.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/DeletePeerAsn.json
index 4d97a99e7189..54193ea37e64 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/DeletePeerAsn.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/DeletePeerAsn.json
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "subId",
- "peerAsnName": "peerAsnName",
+ "peerAsnName": "MyPeerAsn",
"api-version": "2019-09-01-preview"
},
"responses": {
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/DeletePeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/DeletePeering.json
index 8373e6b0d8a3..9de3fee1691f 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/DeletePeering.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/DeletePeering.json
@@ -1,8 +1,8 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringName": "peeringName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringName": "MyPeering",
"api-version": "2019-09-01-preview"
},
"responses": {
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/DeletePeeringService.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/DeletePeeringService.json
index e7028297bd9b..597df15f6f53 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/DeletePeeringService.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/DeletePeeringService.json
@@ -1,8 +1,8 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringServiceName": "peeringServiceName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringServiceName": "MyPeeringService",
"api-version": "2019-09-01-preview"
},
"responses": {
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/DeletePeeringServicePrefix.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/DeletePeeringServicePrefix.json
index ec7fd97c41d7..d09603ba9191 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/DeletePeeringServicePrefix.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/DeletePeeringServicePrefix.json
@@ -1,9 +1,9 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringServiceName": "peeringServiceName",
- "prefixName": "peeringServicePrefixName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringServiceName": "MyPeeringService",
+ "prefixName": "MyPeeringServicePrefix",
"api-version": "2019-09-01-preview"
},
"responses": {
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/GetPeerAsn.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/GetPeerAsn.json
index c7fd025f9be1..20aa0239d902 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/GetPeerAsn.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/GetPeerAsn.json
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "subId",
- "peerAsnName": "peerAsnName",
+ "peerAsnName": "MyPeerAsn",
"api-version": "2019-09-01-preview"
},
"responses": {
@@ -21,8 +21,8 @@
"peerName": "Contoso",
"validationState": "Approved"
},
- "name": "peerAsnName",
- "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/peerAsnName",
+ "name": "MyPeerAsn",
+ "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/MyPeerAsn",
"type": "Microsoft.Peering/peerAsns"
}
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/GetPeering.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/GetPeering.json
index 00949e67bccb..d7d85f07460f 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/GetPeering.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/GetPeering.json
@@ -1,8 +1,8 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringName": "peeringName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringName": "MyPeering",
"api-version": "2019-09-01-preview"
},
"responses": {
@@ -59,8 +59,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName",
+ "name": "MyPeering",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peerings/MyPeering",
"type": "Microsoft.Peering/peerings"
}
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/GetPeeringService.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/GetPeeringService.json
index d9373243369c..6ea33d7ab244 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/GetPeeringService.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/GetPeeringService.json
@@ -1,8 +1,8 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringServiceName": "peeringServiceName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringServiceName": "MyPeeringService",
"api-version": "2019-09-01-preview"
},
"responses": {
@@ -14,8 +14,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringServiceName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName",
+ "name": "MyPeeringService",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService",
"type": "Microsoft.Peering/peeringServices"
}
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/GetPeeringServicePrefix.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/GetPeeringServicePrefix.json
index 1c6255d895cd..ea28fe0095f6 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/GetPeeringServicePrefix.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/GetPeeringServicePrefix.json
@@ -1,9 +1,9 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringServiceName": "peeringServiceName",
- "prefixName": "peeringServicePrefixName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringServiceName": "MyPeeringService",
+ "prefixName": "MyPeeringServicePrefix",
"api-version": "2019-09-01-preview"
},
"responses": {
@@ -15,8 +15,8 @@
"learnedType": "ViaServiceProvider",
"provisioningState": "Succeeded"
},
- "name": "peeringServicePrefixName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/prefixes/peeringServicePrefixName"
+ "name": "MyPeeringServicePrefix",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService/prefixes/MyPeeringServicePrefix"
}
}
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListLegacyPeerings.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListLegacyPeerings.json
index 27376591a7c5..034788d6a7d7 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListLegacyPeerings.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListLegacyPeerings.json
@@ -61,8 +61,8 @@
"provisioningState": "Succeeded"
},
"location": "centralus",
- "name": "peeringName",
- "id": "/subscriptions/subId/providers/Microsoft.Peering/peerings/peeringName",
+ "name": "MyPeering",
+ "id": "/subscriptions/subId/providers/Microsoft.Peering/peerings/MyPeering",
"type": "Microsoft.Peering/peerings"
}
]
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPeerAsnsBySubscription.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPeerAsnsBySubscription.json
index 3688cd5c8ecf..dedc5b04ec5f 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPeerAsnsBySubscription.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPeerAsnsBySubscription.json
@@ -22,8 +22,8 @@
"peerName": "Contoso",
"validationState": "Approved"
},
- "name": "peerAsnName",
- "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/peerAsnName",
+ "name": "MyPeerAsn",
+ "id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/MyPeerAsn",
"type": "Microsoft.Peering/peerAsns"
}
]
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPeeringServicesByResourceGroup.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPeeringServicesByResourceGroup.json
index a5cb2035c933..ed9d91c29bd2 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPeeringServicesByResourceGroup.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPeeringServicesByResourceGroup.json
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
+ "resourceGroupName": "MyResourceGroup",
"api-version": "2019-09-01-preview"
},
"responses": {
@@ -15,8 +15,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringServiceName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName",
+ "name": "MyPeeringService",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService",
"type": "Microsoft.Peering/peeringServices"
}
]
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPeeringServicesBySubscription.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPeeringServicesBySubscription.json
index 846e21843b27..5b362b8c3df9 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPeeringServicesBySubscription.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPeeringServicesBySubscription.json
@@ -14,8 +14,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringServiceName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName",
+ "name": "MyPeeringService",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService",
"type": "Microsoft.Peering/peeringServices"
}
]
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPeeringsByResourceGroup.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPeeringsByResourceGroup.json
index 361e5cf135e0..5ee563964683 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPeeringsByResourceGroup.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPeeringsByResourceGroup.json
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
+ "resourceGroupName": "MyResourceGroup",
"api-version": "2019-09-01-preview"
},
"responses": {
@@ -60,8 +60,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName",
+ "name": "MyPeering",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peerings/MyPeering",
"type": "Microsoft.Peering/peerings"
}
]
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPeeringsBySubscription.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPeeringsBySubscription.json
index cf2aa7c29f5e..7aedb7c3df1d 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPeeringsBySubscription.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPeeringsBySubscription.json
@@ -59,8 +59,8 @@
"provisioningState": "Succeeded"
},
"location": "eastus",
- "name": "peeringName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName",
+ "name": "MyPeering",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peerings/MyPeering",
"type": "Microsoft.Peering/peerings"
}
]
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPrefixesByPeeringService.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPrefixesByPeeringService.json
index 1ca1ce98e38f..574b83596c6d 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPrefixesByPeeringService.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/ListPrefixesByPeeringService.json
@@ -1,8 +1,8 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringServiceName": "peeringServiceName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringServiceName": "MyPeeringService",
"api-version": "2019-09-01-preview"
},
"responses": {
@@ -16,8 +16,8 @@
"learnedType": "ViaServiceProvider",
"provisioningState": "Succeeded"
},
- "name": "peeringServicePrefixName1",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/prefixes/peeringServicePrefixName1"
+ "name": "MyPeeringServicePrefix1",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService/prefixes/MyPeeringServicePrefix1"
},
{
"properties": {
@@ -26,8 +26,8 @@
"learnedType": "ViaServiceProvider",
"provisioningState": "Succeeded"
},
- "name": "peeringServicePrefixName2",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/prefixes/peeringServicePrefixName2"
+ "name": "MyPeeringServicePrefix2",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService/prefixes/MyPeeringServicePrefix2"
}
]
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/UpdatePeeringServiceTags.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/UpdatePeeringServiceTags.json
index cf58207e579b..1a601a81cd42 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/UpdatePeeringServiceTags.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/UpdatePeeringServiceTags.json
@@ -1,8 +1,8 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringServiceName": "peeringServiceName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringServiceName": "MyPeeringService",
"api-version": "2019-09-01-preview",
"tags": {
"tags": {
@@ -24,8 +24,8 @@
"tag0": "value0",
"tag1": "value1"
},
- "name": "peeringServiceName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName",
+ "name": "MyPeeringService",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peeringServices/MyPeeringService",
"type": "Microsoft.Peering/peeringServices"
}
}
diff --git a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/UpdatePeeringTags.json b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/UpdatePeeringTags.json
index f37d2e020fc2..b837b5f4cebc 100644
--- a/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/UpdatePeeringTags.json
+++ b/specification/peering/resource-manager/Microsoft.Peering/preview/2019-09-01-preview/examples/UpdatePeeringTags.json
@@ -1,8 +1,8 @@
{
"parameters": {
"subscriptionId": "subId",
- "resourceGroupName": "rgName",
- "peeringName": "peeringName",
+ "resourceGroupName": "MyResourceGroup",
+ "peeringName": "MyPeering",
"api-version": "2019-09-01-preview",
"tags": {
"tags": {
@@ -69,8 +69,8 @@
"tag0": "value0",
"tag1": "value1"
},
- "name": "peeringName",
- "id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName",
+ "name": "MyPeering",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Peering/peerings/MyPeering",
"type": "Microsoft.Peering/peerings"
}
}
From 02ed9b04b6ca2d0d17374fed56fe8dce0d353c00 Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Wed, 23 Oct 2019 18:53:52 +0800
Subject: [PATCH 038/189] Network experiment structure update (#7599)
* updated next experiment client structure
* update examples to match azure cli standards
---
.../NetworkExperimentCreateExperiment.json | 18 +++++++++---------
.../NetworkExperimentCreateProfile.json | 16 ++++++++--------
.../NetworkExperimentDeleteExperiment.json | 6 +++---
.../NetworkExperimentDeleteProfile.json | 4 ++--
.../NetworkExperimentGetExperiment.json | 10 +++++-----
.../NetworkExperimentGetLatencyScorecard.json | 8 ++++----
...orkExperimentGetPreconfiguredEndpoints.json | 4 ++--
.../examples/NetworkExperimentGetProfile.json | 8 ++++----
.../NetworkExperimentGetTimeseries.json | 8 ++++----
.../NetworkExperimentListExperiments.json | 8 ++++----
.../NetworkExperimentListProfiles.json | 6 +++---
.../NetworkExperimentUpdateExperiment.json | 14 +++++++-------
.../NetworkExperimentUpdateProfile.json | 12 ++++++------
.../frontdoor/resource-manager/readme.cli.md | 6 +++---
14 files changed, 64 insertions(+), 64 deletions(-)
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentCreateExperiment.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentCreateExperiment.json
index bdb98be3186c..526a5448c023 100644
--- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentCreateExperiment.json
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentCreateExperiment.json
@@ -2,9 +2,9 @@
"parameters": {
"api-version": "2019-11-01",
"subscriptionId": "subid",
- "resourceGroupName": "rg1",
- "profileName": "Profile1",
- "experimentName": "Experiment1",
+ "resourceGroupName": "MyResourceGroup",
+ "profileName": "MyProfile",
+ "experimentName": "MyExperiment",
"parameters": {
"properties": {
"description": "this is my first experiment!",
@@ -23,8 +23,8 @@
"responses": {
"200": {
"body": {
- "name": "Experiment1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/NetworkExperimentProfiles/Profile1/Experiments/Experiment1",
+ "name": "MyExperiment",
+ "id": "/subscriptions/subid/resourceGroups/MyResourceGroup/providers/Microsoft.Network/NetworkExperimentProfiles/MyProfile/Experiments/MyExperiment",
"tags": {
"key1": "value1",
"key2": "value2"
@@ -49,8 +49,8 @@
},
"201": {
"body": {
- "name": "Experiment1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/NetworkExperimentProfiles/Profile1/Experiments/Experiment1",
+ "name": "MyExperiment",
+ "id": "/subscriptions/subid/resourceGroups/MyResourceGroup/providers/Microsoft.Network/NetworkExperimentProfiles/MyProfile/Experiments/MyExperiment",
"tags": {
"key1": "value1",
"key2": "value2"
@@ -75,8 +75,8 @@
},
"202": {
"body": {
- "name": "Experiment1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/NetworkExperimentProfiles/Profile1/Experiments/Experiment1",
+ "name": "MyExperiment",
+ "id": "/subscriptions/subid/resourceGroups/MyResourceGroup/providers/Microsoft.Network/NetworkExperimentProfiles/MyProfile/Experiments/MyExperiment",
"tags": {
"key1": "value1",
"key2": "value2"
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentCreateProfile.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentCreateProfile.json
index 5a397b0014d2..700eb4f80033 100644
--- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentCreateProfile.json
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentCreateProfile.json
@@ -2,8 +2,8 @@
"parameters": {
"api-version": "2019-11-01",
"subscriptionId": "subid",
- "resourceGroupName": "rg1",
- "profileName": "Profile1",
+ "resourceGroupName": "MyResourceGroup",
+ "profileName": "MyProfile",
"parameters": {
"properties": {
"enabledState": "Enabled"
@@ -14,8 +14,8 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/NetworkExperimentProfiles/Profile1",
- "name": "Profile1",
+ "id": "/subscriptions/subid/resourceGroups/MyResourceGroup/providers/Microsoft.Network/NetworkExperimentProfiles/MyProfile",
+ "name": "MyProfile",
"type": "Microsoft.Network/NetworkExperimentprofiles",
"tags": {
"key1": "value1",
@@ -30,8 +30,8 @@
},
"201": {
"body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/NetworkExperimentProfiles/Profile1",
- "name": "Profile1",
+ "id": "/subscriptions/subid/resourceGroups/MyResourceGroup/providers/Microsoft.Network/NetworkExperimentProfiles/MyProfile",
+ "name": "MyProfile",
"type": "Microsoft.Network/NetworkExperimentprofiles",
"tags": {
"key1": "value1",
@@ -46,8 +46,8 @@
},
"202": {
"body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/NetworkExperimentProfiles/Profile1",
- "name": "Profile1",
+ "id": "/subscriptions/subid/resourceGroups/MyResourceGroup/providers/Microsoft.Network/NetworkExperimentProfiles/MyProfile",
+ "name": "MyProfile",
"type": "Microsoft.Network/NetworkExperimentprofiles",
"tags": {
"key1": "value1",
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentDeleteExperiment.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentDeleteExperiment.json
index 6d257ecfff7a..90c7f0052c17 100644
--- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentDeleteExperiment.json
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentDeleteExperiment.json
@@ -2,9 +2,9 @@
"parameters": {
"api-version": "2019-11-01",
"subscriptionId": "subid",
- "resourceGroupName": "rg1",
- "profileName": "Profile1",
- "experimentName": "Experiment1"
+ "resourceGroupName": "MyResourceGroup",
+ "profileName": "MyProfile",
+ "experimentName": "MyExperiment"
},
"responses": {
"200": {},
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentDeleteProfile.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentDeleteProfile.json
index c8e2d74f1966..2767bfb32185 100644
--- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentDeleteProfile.json
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentDeleteProfile.json
@@ -2,8 +2,8 @@
"parameters": {
"api-version": "2019-11-01",
"subscriptionId": "subid",
- "resourceGroupName": "rg1",
- "profileName": "Profile1"
+ "resourceGroupName": "MyResourceGroup",
+ "profileName": "MyProfile"
},
"responses": {
"200": {},
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetExperiment.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetExperiment.json
index f51a235267ab..8ac5bbdcc62e 100644
--- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetExperiment.json
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetExperiment.json
@@ -2,15 +2,15 @@
"parameters": {
"api-version": "2019-11-01",
"subscriptionId": "subid",
- "resourceGroupName": "rg1",
- "profileName": "Profile1",
- "experimentName": "Experiment1"
+ "resourceGroupName": "MyResourceGroup",
+ "profileName": "MyProfile",
+ "experimentName": "MyExperiment"
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/NetworkExperimentProfiles/Profile1/Experiments/Experiment1",
- "name": "Experiment1",
+ "id": "/subscriptions/subid/resourceGroups/MyResourceGroup/providers/Microsoft.Network/NetworkExperimentProfiles/MyProfile/Experiments/MyExperiment",
+ "name": "MyExperiment",
"tags": {
"key1": "value1",
"key2": "value2"
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetLatencyScorecard.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetLatencyScorecard.json
index ac1a5bfb63ec..a961a61866ca 100644
--- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetLatencyScorecard.json
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetLatencyScorecard.json
@@ -2,15 +2,15 @@
"parameters": {
"api-version": "2019-11-01",
"subscriptionId": "subid",
- "resourceGroupName": "rg1",
- "profileName": "Profile1",
- "experimentName": "Experiment1",
+ "resourceGroupName": "MyResourceGroup",
+ "profileName": "MyProfile",
+ "experimentName": "MyExperiment",
"aggregationInterval": "Daily"
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/NetworkExperimentProfiles/Profile1/Experiments/Experiment1/LatencyScorecard",
+ "id": "/subscriptions/subid/resourceGroups/MyResourceGroup/providers/Microsoft.Network/NetworkExperimentProfiles/MyProfile/Experiments/MyExperiment/LatencyScorecard",
"name": "DailyLatencyScorecard",
"properties": {
"description": "This scorecard is the latency scorecard, aggregated over a day",
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetPreconfiguredEndpoints.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetPreconfiguredEndpoints.json
index 6bab201f616a..0192f86a3e20 100644
--- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetPreconfiguredEndpoints.json
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetPreconfiguredEndpoints.json
@@ -2,8 +2,8 @@
"parameters": {
"api-version": "2019-11-01",
"subscriptionId": "subid",
- "resourceGroupName": "rg1",
- "profileName": "Profile1"
+ "resourceGroupName": "MyResourceGroup",
+ "profileName": "MyProfile"
},
"responses": {
"200": {
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetProfile.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetProfile.json
index d5801a4ad600..63553b4a62e4 100644
--- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetProfile.json
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetProfile.json
@@ -2,14 +2,14 @@
"parameters": {
"api-version": "2019-11-01",
"subscriptionId": "subid",
- "resourceGroupName": "rg1",
- "profileName": "Profile1"
+ "resourceGroupName": "MyResourceGroup",
+ "profileName": "MyProfile"
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/NetworkExperimentProfiles/Profile1",
- "name": "Profile1",
+ "id": "/subscriptions/subid/resourceGroups/MyResourceGroup/providers/Microsoft.Network/NetworkExperimentProfiles/MyProfile",
+ "name": "MyProfile",
"tags": {
"key1": "value1",
"key2": "value2"
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetTimeseries.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetTimeseries.json
index b1d2a57695b5..69dc90418f2b 100644
--- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetTimeseries.json
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetTimeseries.json
@@ -2,9 +2,9 @@
"parameters": {
"api-version": "2019-11-01",
"subscriptionId": "subid",
- "resourceGroupName": "rg1",
- "profileName": "Profile1",
- "experimentName": "Experiment1",
+ "resourceGroupName": "MyResourceGroup",
+ "profileName": "MyProfile",
+ "experimentName": "MyExperiment",
"startDateTimeUTC": "2019-07-21T17:32:28Z",
"endDateTimeUTC": "2019-09-21T17:32:28Z",
"aggregationInterval": "Hourly",
@@ -13,7 +13,7 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/NetworkExperimentProfiles/Profile1/Experiments/Experiment1/Timeseries",
+ "id": "/subscriptions/subid/resourceGroups/MyResourceGroup/providers/Microsoft.Network/NetworkExperimentProfiles/MyProfile/Experiments/MyExperiment/Timeseries",
"properties": {
"endpoint": "https://endpointA.com",
"startDateTimeUTC": "2019-07-29",
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentListExperiments.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentListExperiments.json
index b4dacf586a42..452ee6236963 100644
--- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentListExperiments.json
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentListExperiments.json
@@ -2,16 +2,16 @@
"parameters": {
"api-version": "2019-11-01",
"subscriptionId": "subid",
- "resourceGroupName": "rg1",
- "profileName": "Profile1"
+ "resourceGroupName": "MyResourceGroup",
+ "profileName": "MyProfile"
},
"responses": {
"200": {
"body": {
"value": [
{
- "name": "Experiment1",
- "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/NetworkExperimentProfiles/Profile1/Experiments",
+ "name": "MyExperiment",
+ "id": "/subscriptions/subId/resourceGroups/MyResourceGroup/providers/Microsoft.Network/NetworkExperimentProfiles/MyProfile/Experiments",
"properties": {
"description": "this is my first experiment!",
"endpointA": {
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentListProfiles.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentListProfiles.json
index f2768497fed4..9101c29139a5 100644
--- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentListProfiles.json
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentListProfiles.json
@@ -2,15 +2,15 @@
"parameters": {
"api-version": "2019-11-01",
"subscriptionId": "subid",
- "resourceGroupName": "rg1"
+ "resourceGroupName": "MyResourceGroup"
},
"responses": {
"200": {
"body": {
"value": [
{
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/NetworkExperimentProfiles/",
- "name": "Profile1",
+ "id": "/subscriptions/subid/resourceGroups/MyResourceGroup/providers/Microsoft.Network/NetworkExperimentProfiles/",
+ "name": "MyProfile",
"type": "Microsoft.Network/NetworkExperimentprofiles",
"tags": {
"key1": "value1",
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentUpdateExperiment.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentUpdateExperiment.json
index b9881459633f..84357858b561 100644
--- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentUpdateExperiment.json
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentUpdateExperiment.json
@@ -2,9 +2,9 @@
"parameters": {
"api-version": "2019-11-01",
"subscriptionId": "subid",
- "resourceGroupName": "rg1",
- "profileName": "Profile1",
- "experimentName": "Experiment1",
+ "resourceGroupName": "MyResourceGroup",
+ "profileName": "MyProfile",
+ "experimentName": "MyExperiment",
"parameters": {
"properties": {
"description": "string",
@@ -15,8 +15,8 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/NetworkExperimentProfiles/Profile1/Experiments/Experiment1",
- "name": "Experiment1",
+ "id": "/subscriptions/subid/resourceGroups/MyResourceGroup/providers/Microsoft.Network/NetworkExperimentProfiles/MyProfile/Experiments/MyExperiment",
+ "name": "MyExperiment",
"type": "Microsoft.Network/NetworkExperimentprofiles",
"tags": {
"key1": "value1",
@@ -42,8 +42,8 @@
},
"202": {
"body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/NetworkExperimentProfiles/Profile1/Experiments/Experiment1",
- "name": "Experiment1",
+ "id": "/subscriptions/subid/resourceGroups/MyResourceGroup/providers/Microsoft.Network/NetworkExperimentProfiles/MyProfile/Experiments/MyExperiment",
+ "name": "MyExperiment",
"type": "Microsoft.Network/NetworkExperimentprofiles",
"tags": {
"key1": "value1",
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentUpdateProfile.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentUpdateProfile.json
index d67997f4d385..e36dba635181 100644
--- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentUpdateProfile.json
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentUpdateProfile.json
@@ -2,8 +2,8 @@
"parameters": {
"api-version": "2019-11-01",
"subscriptionId": "subid",
- "resourceGroupName": "rg1",
- "profileName": "Profile1",
+ "resourceGroupName": "MyResourceGroup",
+ "profileName": "MyProfile",
"parameters": {
"properties": {
"enabledState": "Enabled"
@@ -17,8 +17,8 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/NetworkExperimentProfiles/Profile1",
- "name": "Profile1",
+ "id": "/subscriptions/subid/resourceGroups/MyResourceGroup/providers/Microsoft.Network/NetworkExperimentProfiles/MyProfile",
+ "name": "MyProfile",
"type": "Microsoft.Network/NetworkExperimentprofiles",
"tags": {
"key1": "value1",
@@ -33,8 +33,8 @@
},
"202": {
"body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/NetworkExperimentProfiles/Profile1",
- "name": "Profile1",
+ "id": "/subscriptions/subid/resourceGroups/MyResourceGroup/providers/Microsoft.Network/NetworkExperimentProfiles/MyProfile",
+ "name": "MyProfile",
"type": "Microsoft.Network/NetworkExperimentprofiles",
"tags": {
"key1": "value1",
diff --git a/specification/frontdoor/resource-manager/readme.cli.md b/specification/frontdoor/resource-manager/readme.cli.md
index 7b3c26c82553..045f75768600 100644
--- a/specification/frontdoor/resource-manager/readme.cli.md
+++ b/specification/frontdoor/resource-manager/readme.cli.md
@@ -12,9 +12,9 @@ cli:
"^.*frontdoor.*$": "-"
"^.*[/]networkexperimentprofiles([/][^/]*)?$": "internet-analyzer profile"
"^.*[/]networkexperimentprofiles[/].*[/]preconfiguredendpoints[/].*$": "internet-analyzer profile preconfigured-endpoint"
- "^.*[/]networkexperimentprofiles[/].*[/]experiments[/]([/][^/]*)?$": "internet-analyzer profile experiment"
- "^.*[/]networkexperimentprofiles[/].*[/]experiments[/].*[/]latencyscorecard$": "internet-analyzer profile experiment latency-scorecard"
- "^.*[/]networkexperimentprofiles[/].*[/]experiments[/].*[/]timeseries$": "internet-analyzer profile experiment timeseries"
+ "^.*[/]networkexperimentprofiles[/].*[/]experiments([/][^/]*)?$": "internet-analyzer test"
+ "^.*[/]networkexperimentprofiles[/].*[/]experiments[/].*[/]latencyscorecard$": "internet-analyzer scorecard latency"
+ "^.*[/]networkexperimentprofiles[/].*[/]experiments[/].*[/]timeseries$": "internet-analyzer scorecard timeseries"
adjustments:
"/sku": "Sku*/"
"/properties/endpointa": "endpointA_*/"
From e6bb5aced465b0fcaa1f43b8d1dad93601a3eca7 Mon Sep 17 00:00:00 2001
From: LingyunSu <33764806+LingyunSu@users.noreply.github.com>
Date: Wed, 23 Oct 2019 03:55:20 -0700
Subject: [PATCH 039/189] Fix miss spelling property name (#7586)
Fix miss spelling property name externalDnsIPAddress
---
.../preview/2016-05-01/FabricLocation.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/FabricLocation.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/FabricLocation.json
index e71649dedcd7..e7bbe1223547 100644
--- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/FabricLocation.json
+++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/FabricLocation.json
@@ -132,11 +132,11 @@
"description": "The deployment id of the stamp.",
"type": "string"
},
- "externalDsnIPAddress01": {
+ "externalDnsIPAddress01": {
"description": "First external IP address of the DNS server.",
"type": "string"
},
- "externalDsnIPAddress02": {
+ "externalDnsIPAddress02": {
"description": "Second external IP Address of the DNS server.",
"type": "string"
},
From cb3f3dd8f7476696919ee098c998018eda444b1d Mon Sep 17 00:00:00 2001
From: Ramkumar Chandrasekaran
Date: Wed, 23 Oct 2019 08:26:27 -0700
Subject: [PATCH 040/189] Swagger update for Azure Private Link Integration for
Azure Database for PostgreSQL, MySQL and MariaDB (#7585)
---
.../PrivateEndpointConnections.json | 497 ++++++++++++++++++
.../PrivateLinkResources.json | 288 ++++++++++
.../PrivateEndpointConnectionDelete.json | 14 +
.../PrivateEndpointConnectionGet.json | 29 +
.../PrivateEndpointConnectionList.json | 48 ++
.../PrivateEndpointConnectionUpdate.json | 38 ++
.../PrivateEndpointConnectionUpdateTags.json | 35 ++
.../examples/PrivateLinkResourcesGet.json | 24 +
.../examples/PrivateLinkResourcesList.json | 27 +
.../mariadb/resource-manager/readme.md | 4 +
.../PrivateEndpointConnections.json | 497 ++++++++++++++++++
.../PrivateLinkResources.json | 288 ++++++++++
.../PrivateEndpointConnectionDelete.json | 14 +
.../PrivateEndpointConnectionGet.json | 29 +
.../PrivateEndpointConnectionList.json | 48 ++
.../PrivateEndpointConnectionUpdate.json | 38 ++
.../PrivateEndpointConnectionUpdateTags.json | 35 ++
.../examples/PrivateLinkResourcesGet.json | 24 +
.../examples/PrivateLinkResourcesList.json | 27 +
.../mysql/resource-manager/readme.md | 4 +
.../PrivateEndpointConnections.json | 497 ++++++++++++++++++
.../PrivateLinkResources.json | 288 ++++++++++
.../PrivateEndpointConnectionDelete.json | 14 +
.../PrivateEndpointConnectionGet.json | 29 +
.../PrivateEndpointConnectionList.json | 48 ++
.../PrivateEndpointConnectionUpdate.json | 38 ++
.../PrivateEndpointConnectionUpdateTags.json | 36 ++
.../examples/PrivateLinkResourcesGet.json | 24 +
.../examples/PrivateLinkResourcesList.json | 27 +
.../postgresql/resource-manager/readme.md | 12 +
30 files changed, 3021 insertions(+)
create mode 100644 specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json
create mode 100644 specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/PrivateLinkResources.json
create mode 100644 specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionDelete.json
create mode 100644 specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionGet.json
create mode 100644 specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionList.json
create mode 100644 specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdate.json
create mode 100644 specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdateTags.json
create mode 100644 specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesGet.json
create mode 100644 specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesList.json
create mode 100644 specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json
create mode 100644 specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/PrivateLinkResources.json
create mode 100644 specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionDelete.json
create mode 100644 specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionGet.json
create mode 100644 specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionList.json
create mode 100644 specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdate.json
create mode 100644 specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdateTags.json
create mode 100644 specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesGet.json
create mode 100644 specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesList.json
create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json
create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/PrivateLinkResources.json
create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionDelete.json
create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionGet.json
create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionList.json
create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdate.json
create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdateTags.json
create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesGet.json
create mode 100644 specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesList.json
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json
new file mode 100644
index 000000000000..bbebc6ce6786
--- /dev/null
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json
@@ -0,0 +1,497 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2018-06-01-privatepreview",
+ "title": "MariaDBManagementClient",
+ "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MariaDB resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}": {
+ "get": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "description": "Gets a private endpoint connection.",
+ "operationId": "PrivateEndpointConnections_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "privateEndpointConnectionName",
+ "in": "path",
+ "description": "The name of the private endpoint connection.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved a specified private endpoint connection.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Gets private endpoint connection.": {
+ "$ref": "./examples/PrivateEndpointConnectionGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "description": "Approve or reject a private endpoint connection with a given name.",
+ "operationId": "PrivateEndpointConnections_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "privateEndpointConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully approved or rejected private endpoint connection.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Approve or reject a private endpoint connection with a given name.": {
+ "$ref": "./examples/PrivateEndpointConnectionUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "description": "Deletes a private endpoint connection with a given name.",
+ "operationId": "PrivateEndpointConnections_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "privateEndpointConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully deleted private endpoint connection."
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "Private endpoint connection does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Deletes a private endpoint connection with a given name.": {
+ "$ref": "./examples/PrivateEndpointConnectionDelete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "operationId": "PrivateEndpointConnections_UpdateTags",
+ "summary": "Updates tags on private endpoint connection.",
+ "description": "Updates private endpoint connection with the specified tags.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "privateEndpointConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to the Update private endpoint connection Tags operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Update private endpoint connection Tags": {
+ "$ref": "./examples/PrivateEndpointConnectionUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/privateEndpointConnections": {
+ "get": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "description": "Gets all private endpoint connections on a server.",
+ "operationId": "PrivateEndpointConnections_ListByServer",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved private endpoint connections.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnectionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Gets list of private endpoint connections on a server.": {
+ "$ref": "./examples/PrivateEndpointConnectionList.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "PrivateEndpointConnectionProperties": {
+ "description": "Properties of a private endpoint connection.",
+ "type": "object",
+ "properties": {
+ "privateEndpoint": {
+ "$ref": "#/definitions/PrivateEndpointProperty",
+ "description": "Private endpoint which the connection belongs to."
+ },
+ "privateLinkServiceConnectionState": {
+ "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty",
+ "description": "Connection state of the private endpoint connection."
+ },
+ "provisioningState": {
+ "description": "State of the private endpoint connection.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "PrivateEndpointProperty": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Resource id of the private endpoint.",
+ "type": "string"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "PrivateLinkServiceConnectionStateProperty": {
+ "required": [
+ "status",
+ "description"
+ ],
+ "type": "object",
+ "properties": {
+ "status": {
+ "description": "The private link service connection status.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The private link service connection description.",
+ "type": "string"
+ },
+ "actionsRequired": {
+ "description": "The actions required for private link service connection.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Resource": {
+ "description": "ARM resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Resource name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Resource type.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ProxyResource": {
+ "description": "ARM proxy resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {}
+ },
+ "PrivateEndpointConnection": {
+ "description": "A private endpoint connection",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PrivateEndpointConnectionProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "PrivateEndpointConnectionListResult": {
+ "description": "A list of private endpoint connections.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Array of results.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to retrieve next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ },
+ "description": "An error response from the Batch service."
+ },
+ "CloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for display in a user interface."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error. For example, the name of the property in error."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "description": "A list of additional details about the error."
+ }
+ },
+ "description": "An error response from the Batch service."
+ },
+ "TagsObject": {
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ }
+ },
+ "description": "Tags object for patch operations."
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The subscription ID that identifies an Azure subscription.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The API version to use for the request.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ResourceGroupParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ServerNameParameter": {
+ "name": "serverName",
+ "in": "path",
+ "description": "The name of the server.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/PrivateLinkResources.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/PrivateLinkResources.json
new file mode 100644
index 000000000000..9e40fcfd7a25
--- /dev/null
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/PrivateLinkResources.json
@@ -0,0 +1,288 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2018-06-01-privatepreview",
+ "title": "MariaDBManagementClient",
+ "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MariaDB resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/privateLinkResources": {
+ "get": {
+ "tags": [
+ "PrivateLinkResources"
+ ],
+ "description": "Gets the private link resources for MariaDB server.",
+ "operationId": "PrivateLinkResources_ListByServer",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved private link resources.",
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkResourceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Gets private link resources for MariaDB.": {
+ "$ref": "./examples/PrivateLinkResourcesList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/privateLinkResources/{groupName}": {
+ "get": {
+ "tags": [
+ "PrivateLinkResources"
+ ],
+ "description": "Gets a private link resource for MariaDB server.",
+ "operationId": "PrivateLinkResources_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "groupName",
+ "in": "path",
+ "description": "The name of the private link resource.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved private link resources.",
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Gets a private link resource for MariaDB.": {
+ "$ref": "./examples/PrivateLinkResourcesGet.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "PrivateLinkResourceListResult": {
+ "description": "A list of private link resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Array of results.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrivateLinkResource"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to retrieve next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "PrivateLinkResourceProperties": {
+ "description": "Properties of a private link resource.",
+ "type": "object",
+ "properties": {
+ "groupId": {
+ "description": "The private link resource group id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "requiredMembers": {
+ "description": "The private link resource required member names.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "Resource": {
+ "description": "ARM resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Resource name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Resource type.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ProxyResource": {
+ "description": "ARM proxy resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {}
+ },
+ "PrivateLinkResource": {
+ "description": "A private link resource",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PrivateLinkResourceProperties",
+ "description": "The private link resource group id.",
+ "readOnly": true
+ }
+ }
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ },
+ "description": "An error response from the Batch service."
+ },
+ "CloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for display in a user interface."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error. For example, the name of the property in error."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "description": "A list of additional details about the error."
+ }
+ },
+ "description": "An error response from the Batch service."
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The subscription ID that identifies an Azure subscription.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The API version to use for the request.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ResourceGroupParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ServerNameParameter": {
+ "name": "serverName",
+ "in": "path",
+ "description": "The name of the server.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionDelete.json
new file mode 100644
index 000000000000..2eeb0a13a649
--- /dev/null
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default",
+ "serverName": "test-svr",
+ "privateEndpointConnectionName": "private-endpoint-connection-name",
+ "api-version": "2018-06-01-privatepreview"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionGet.json
new file mode 100644
index 000000000000..66087161fb68
--- /dev/null
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionGet.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default",
+ "serverName": "test-svr",
+ "privateEndpointConnectionName": "private-endpoint-connection-name",
+ "api-version": "2018-06-01-privatepreview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMariaDB/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name",
+ "name": "private-endpoint-connection-name",
+ "type": "Microsoft.DBforMariaDB/servers/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Ready",
+ "privateEndpoint": {
+ "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionList.json
new file mode 100644
index 000000000000..ff1c6628101a
--- /dev/null
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionList.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default",
+ "serverName": "test-svr",
+ "api-version": "2018-06-01-privatepreview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMariaDB/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name-2",
+ "name": "private-endpoint-connection-name",
+ "type": "Microsoft.DBforMariaDB/servers/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Ready",
+ "privateEndpoint": {
+ "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionsRequired": "None"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMariaDB/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name-2",
+ "name": "private-endpoint-connection-name-2",
+ "type": "Microsoft.DBforMariaDB/servers/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Ready",
+ "privateEndpoint": {
+ "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name-2"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdate.json
new file mode 100644
index 000000000000..81791e7c58b0
--- /dev/null
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdate.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default",
+ "serverName": "test-svr",
+ "privateEndpointConnectionName": "private-endpoint-connection-name",
+ "api-version": "2018-06-01-privatepreview",
+ "parameters": {
+ "properties": {
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Approved by johndoe@contoso.com"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMariaDB/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name",
+ "name": "private-endpoint-connection-name",
+ "type": "Microsoft.DBforMariaDB/servers/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Ready",
+ "privateEndpoint": {
+ "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Approved by johndoe@contoso.com",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdateTags.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdateTags.json
new file mode 100644
index 000000000000..daec5e151150
--- /dev/null
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdateTags.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default",
+ "serverName": "test-svr",
+ "privateEndpointConnectionName": "private-endpoint-connection-name",
+ "api-version": "2018-06-01-privatepreview",
+ "parameters": {
+ "tags": {
+ "key1": "val1",
+ "key2": "val2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMariaDB/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name",
+ "name": "private-endpoint-connection-name",
+ "type": "Microsoft.DBforMariaDB/servers/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Ready",
+ "privateEndpoint": {
+ "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Approved by johndoe@contoso.com",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesGet.json
new file mode 100644
index 000000000000..0d424af2c4ff
--- /dev/null
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesGet.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default",
+ "serverName": "test-svr",
+ "groupName": "plr",
+ "api-version": "2018-06-01-privatepreview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMariaDB/servers/test-svr/privateLinkResources/plr",
+ "name": "plr",
+ "type": "Microsoft.DBforMariaDB/servers/privateLinkResources",
+ "properties": {
+ "groupId": "mariadbServer",
+ "requiredMembers": [
+ "mariadbServer"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesList.json
new file mode 100644
index 000000000000..21f76a9e0b6e
--- /dev/null
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesList.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default",
+ "serverName": "test-svr",
+ "api-version": "2018-06-01-privatepreview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMariaDB/servers/test-svr/privateLinkResources/plr",
+ "name": "plr",
+ "type": "Microsoft.DBforMariaDB/servers/privateLinkResources",
+ "properties": {
+ "groupId": "mariadbServer",
+ "requiredMembers": [
+ "mariadbServer"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mariadb/resource-manager/readme.md b/specification/mariadb/resource-manager/readme.md
index f5b892640fe2..50e4a595d03d 100644
--- a/specification/mariadb/resource-manager/readme.md
+++ b/specification/mariadb/resource-manager/readme.md
@@ -58,6 +58,8 @@ These settings apply only when `--tag=package-2018-06-01-privatepreview` is spec
``` yaml $(tag) == 'package-2018-06-01-privatepreview'
input-file:
- Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/mariadb.json
+- Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json
+- Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/PrivateLinkResources.json
```
@@ -146,6 +148,8 @@ input-file:
- $(this-folder)/Microsoft.DBforMariaDB/preview/2018-06-01-preview/mariadb.json
- $(this-folder)/Microsoft.DBforMariaDB/stable/2018-06-01/mariadb.json
- $(this-folder)/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/mariadb.json
+ - $(this-folder)/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json
+ - $(this-folder)/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/PrivateLinkResources.json
```
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json
new file mode 100644
index 000000000000..af9601bf9324
--- /dev/null
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json
@@ -0,0 +1,497 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2018-06-01-privatepreview",
+ "title": "MySQLManagementClient",
+ "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}": {
+ "get": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "description": "Gets a private endpoint connection.",
+ "operationId": "PrivateEndpointConnections_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "privateEndpointConnectionName",
+ "in": "path",
+ "description": "The name of the private endpoint connection.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved a specified private endpoint connection.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Gets private endpoint connection.": {
+ "$ref": "./examples/PrivateEndpointConnectionGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "description": "Approve or reject a private endpoint connection with a given name.",
+ "operationId": "PrivateEndpointConnections_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "privateEndpointConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully approved or rejected private endpoint connection.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Approve or reject a private endpoint connection with a given name.": {
+ "$ref": "./examples/PrivateEndpointConnectionUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "description": "Deletes a private endpoint connection with a given name.",
+ "operationId": "PrivateEndpointConnections_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "privateEndpointConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully deleted private endpoint connection."
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "Private endpoint connection does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Deletes a private endpoint connection with a given name.": {
+ "$ref": "./examples/PrivateEndpointConnectionDelete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "operationId": "PrivateEndpointConnections_UpdateTags",
+ "summary": "Updates tags on private endpoint connection.",
+ "description": "Updates private endpoint connection with the specified tags.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "privateEndpointConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to the Update private endpoint connection Tags operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Update private endpoint connection Tags": {
+ "$ref": "./examples/PrivateEndpointConnectionUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateEndpointConnections": {
+ "get": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "description": "Gets all private endpoint connections on a server.",
+ "operationId": "PrivateEndpointConnections_ListByServer",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved private endpoint connections.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnectionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Gets list of private endpoint connections on a server.": {
+ "$ref": "./examples/PrivateEndpointConnectionList.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "PrivateEndpointConnectionProperties": {
+ "description": "Properties of a private endpoint connection.",
+ "type": "object",
+ "properties": {
+ "privateEndpoint": {
+ "$ref": "#/definitions/PrivateEndpointProperty",
+ "description": "Private endpoint which the connection belongs to."
+ },
+ "privateLinkServiceConnectionState": {
+ "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty",
+ "description": "Connection state of the private endpoint connection."
+ },
+ "provisioningState": {
+ "description": "State of the private endpoint connection.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "PrivateEndpointProperty": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Resource id of the private endpoint.",
+ "type": "string"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "PrivateLinkServiceConnectionStateProperty": {
+ "required": [
+ "status",
+ "description"
+ ],
+ "type": "object",
+ "properties": {
+ "status": {
+ "description": "The private link service connection status.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The private link service connection description.",
+ "type": "string"
+ },
+ "actionsRequired": {
+ "description": "The actions required for private link service connection.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Resource": {
+ "description": "ARM resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Resource name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Resource type.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ProxyResource": {
+ "description": "ARM proxy resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {}
+ },
+ "PrivateEndpointConnection": {
+ "description": "A private endpoint connection",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PrivateEndpointConnectionProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "PrivateEndpointConnectionListResult": {
+ "description": "A list of private endpoint connections.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Array of results.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to retrieve next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ },
+ "description": "An error response from the Batch service."
+ },
+ "CloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for display in a user interface."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error. For example, the name of the property in error."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "description": "A list of additional details about the error."
+ }
+ },
+ "description": "An error response from the Batch service."
+ },
+ "TagsObject": {
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ }
+ },
+ "description": "Tags object for patch operations."
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The subscription ID that identifies an Azure subscription.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The API version to use for the request.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ResourceGroupParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ServerNameParameter": {
+ "name": "serverName",
+ "in": "path",
+ "description": "The name of the server.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/PrivateLinkResources.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/PrivateLinkResources.json
new file mode 100644
index 000000000000..9773e4440b37
--- /dev/null
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/PrivateLinkResources.json
@@ -0,0 +1,288 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2018-06-01-privatepreview",
+ "title": "MySQLManagementClient",
+ "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateLinkResources": {
+ "get": {
+ "tags": [
+ "PrivateLinkResources"
+ ],
+ "description": "Gets the private link resources for MySQL server.",
+ "operationId": "PrivateLinkResources_ListByServer",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved private link resources.",
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkResourceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Gets private link resources for MySQL.": {
+ "$ref": "./examples/PrivateLinkResourcesList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/privateLinkResources/{groupName}": {
+ "get": {
+ "tags": [
+ "PrivateLinkResources"
+ ],
+ "description": "Gets a private link resource for MySQL server.",
+ "operationId": "PrivateLinkResources_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "groupName",
+ "in": "path",
+ "description": "The name of the private link resource.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved private link resources.",
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Gets a private link resource for MySQL.": {
+ "$ref": "./examples/PrivateLinkResourcesGet.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "PrivateLinkResourceListResult": {
+ "description": "A list of private link resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Array of results.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrivateLinkResource"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to retrieve next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "PrivateLinkResourceProperties": {
+ "description": "Properties of a private link resource.",
+ "type": "object",
+ "properties": {
+ "groupId": {
+ "description": "The private link resource group id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "requiredMembers": {
+ "description": "The private link resource required member names.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "Resource": {
+ "description": "ARM resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Resource name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Resource type.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ProxyResource": {
+ "description": "ARM proxy resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {}
+ },
+ "PrivateLinkResource": {
+ "description": "A private link resource",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PrivateLinkResourceProperties",
+ "description": "The private link resource group id.",
+ "readOnly": true
+ }
+ }
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ },
+ "description": "An error response from the Batch service."
+ },
+ "CloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for display in a user interface."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error. For example, the name of the property in error."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "description": "A list of additional details about the error."
+ }
+ },
+ "description": "An error response from the Batch service."
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The subscription ID that identifies an Azure subscription.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The API version to use for the request.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ResourceGroupParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ServerNameParameter": {
+ "name": "serverName",
+ "in": "path",
+ "description": "The name of the server.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionDelete.json
new file mode 100644
index 000000000000..2eeb0a13a649
--- /dev/null
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default",
+ "serverName": "test-svr",
+ "privateEndpointConnectionName": "private-endpoint-connection-name",
+ "api-version": "2018-06-01-privatepreview"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionGet.json
new file mode 100644
index 000000000000..67dd573061de
--- /dev/null
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionGet.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default",
+ "serverName": "test-svr",
+ "privateEndpointConnectionName": "private-endpoint-connection-name",
+ "api-version": "2018-06-01-privatepreview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMySQL/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name",
+ "name": "private-endpoint-connection-name",
+ "type": "Microsoft.DBforMySQL/servers/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Ready",
+ "privateEndpoint": {
+ "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionList.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionList.json
new file mode 100644
index 000000000000..48b01407e125
--- /dev/null
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionList.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default",
+ "serverName": "test-svr",
+ "api-version": "2018-06-01-privatepreview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMySQL/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name-2",
+ "name": "private-endpoint-connection-name",
+ "type": "Microsoft.DBforMySQL/servers/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Ready",
+ "privateEndpoint": {
+ "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionsRequired": "None"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMySQL/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name-2",
+ "name": "private-endpoint-connection-name-2",
+ "type": "Microsoft.DBforMySQL/servers/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Ready",
+ "privateEndpoint": {
+ "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name-2"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdate.json
new file mode 100644
index 000000000000..2ef5fc1b6ae6
--- /dev/null
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdate.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default",
+ "serverName": "test-svr",
+ "privateEndpointConnectionName": "private-endpoint-connection-name",
+ "api-version": "2018-06-01-privatepreview",
+ "parameters": {
+ "properties": {
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Approved by johndoe@contoso.com"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMySQL/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name",
+ "name": "private-endpoint-connection-name",
+ "type": "Microsoft.DBforMySQL/servers/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Ready",
+ "privateEndpoint": {
+ "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Approved by johndoe@contoso.com",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdateTags.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdateTags.json
new file mode 100644
index 000000000000..570e07d20ba0
--- /dev/null
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdateTags.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default",
+ "serverName": "test-svr",
+ "privateEndpointConnectionName": "private-endpoint-connection-name",
+ "api-version": "2018-06-01-privatepreview",
+ "parameters": {
+ "tags": {
+ "key1": "val1",
+ "key2": "val2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMySQL/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name",
+ "name": "private-endpoint-connection-name",
+ "type": "Microsoft.DBforMySQL/servers/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Ready",
+ "privateEndpoint": {
+ "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Approved by johndoe@contoso.com",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesGet.json
new file mode 100644
index 000000000000..4b439c52b9df
--- /dev/null
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesGet.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default",
+ "serverName": "test-svr",
+ "groupName": "plr",
+ "api-version": "2018-06-01-privatepreview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMySQL/servers/test-svr/privateLinkResources/plr",
+ "name": "plr",
+ "type": "Microsoft.DBforMySQL/servers/privateLinkResources",
+ "properties": {
+ "groupId": "mysqlServer",
+ "requiredMembers": [
+ "mysqlServer"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesList.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesList.json
new file mode 100644
index 000000000000..3f5d5722df5a
--- /dev/null
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesList.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default",
+ "serverName": "test-svr",
+ "api-version": "2018-06-01-privatepreview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforMySQL/servers/test-svr/privateLinkResources/plr",
+ "name": "plr",
+ "type": "Microsoft.DBforMySQL/servers/privateLinkResources",
+ "properties": {
+ "groupId": "mysqlServer",
+ "requiredMembers": [
+ "mysqlServer"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mysql/resource-manager/readme.md b/specification/mysql/resource-manager/readme.md
index d5a3434d6ab5..5477028ac7e3 100644
--- a/specification/mysql/resource-manager/readme.md
+++ b/specification/mysql/resource-manager/readme.md
@@ -57,6 +57,8 @@ These settings apply only when `--tag=package-2018-06-01-privatepreview` is spec
``` yaml $(tag) == 'package-2018-06-01-privatepreview'
input-file:
- Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/mysql.json
+- Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json
+- Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/PrivateLinkResources.json
```
@@ -145,6 +147,8 @@ input-file:
- $(this-folder)/Microsoft.DBforMySQL/preview/2017-12-01-preview/mysql.json
- $(this-folder)/Microsoft.DBforMySQL/stable/2017-12-01/mysql.json
- $(this-folder)/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/mysql.json
+ - $(this-folder)/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json
+ - $(this-folder)/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/PrivateLinkResources.json
```
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json
new file mode 100644
index 000000000000..9b5722ef689e
--- /dev/null
+++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json
@@ -0,0 +1,497 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2018-06-01-privatepreview",
+ "title": "PostgreSQLManagementClient",
+ "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}": {
+ "get": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "description": "Gets a private endpoint connection.",
+ "operationId": "PrivateEndpointConnections_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "privateEndpointConnectionName",
+ "in": "path",
+ "description": "The name of the private endpoint connection.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved a specified private endpoint connection.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Gets private endpoint connection.": {
+ "$ref": "./examples/PrivateEndpointConnectionGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "description": "Approve or reject a private endpoint connection with a given name.",
+ "operationId": "PrivateEndpointConnections_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "privateEndpointConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully approved or rejected private endpoint connection.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Approve or reject a private endpoint connection with a given name.": {
+ "$ref": "./examples/PrivateEndpointConnectionUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "description": "Deletes a private endpoint connection with a given name.",
+ "operationId": "PrivateEndpointConnections_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "privateEndpointConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully deleted private endpoint connection."
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "Private endpoint connection does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Deletes a private endpoint connection with a given name.": {
+ "$ref": "./examples/PrivateEndpointConnectionDelete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "operationId": "PrivateEndpointConnections_UpdateTags",
+ "summary": "Updates tags on private endpoint connection.",
+ "description": "Updates private endpoint connection with the specified tags.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "privateEndpointConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to the Update private endpoint connection Tags operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Update private endpoint connection Tags": {
+ "$ref": "./examples/PrivateEndpointConnectionUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateEndpointConnections": {
+ "get": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "description": "Gets all private endpoint connections on a server.",
+ "operationId": "PrivateEndpointConnections_ListByServer",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved private endpoint connections.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnectionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Gets list of private endpoint connections on a server.": {
+ "$ref": "./examples/PrivateEndpointConnectionList.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "PrivateEndpointConnectionProperties": {
+ "description": "Properties of a private endpoint connection.",
+ "type": "object",
+ "properties": {
+ "privateEndpoint": {
+ "$ref": "#/definitions/PrivateEndpointProperty",
+ "description": "Private endpoint which the connection belongs to."
+ },
+ "privateLinkServiceConnectionState": {
+ "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty",
+ "description": "Connection state of the private endpoint connection."
+ },
+ "provisioningState": {
+ "description": "State of the private endpoint connection.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "PrivateEndpointProperty": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Resource id of the private endpoint.",
+ "type": "string"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "PrivateLinkServiceConnectionStateProperty": {
+ "required": [
+ "status",
+ "description"
+ ],
+ "type": "object",
+ "properties": {
+ "status": {
+ "description": "The private link service connection status.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The private link service connection description.",
+ "type": "string"
+ },
+ "actionsRequired": {
+ "description": "The actions required for private link service connection.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Resource": {
+ "description": "ARM resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Resource name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Resource type.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ProxyResource": {
+ "description": "ARM proxy resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {}
+ },
+ "PrivateEndpointConnection": {
+ "description": "A private endpoint connection",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PrivateEndpointConnectionProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "PrivateEndpointConnectionListResult": {
+ "description": "A list of private endpoint connections.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Array of results.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to retrieve next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ },
+ "description": "An error response from the Batch service."
+ },
+ "CloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for display in a user interface."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error. For example, the name of the property in error."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "description": "A list of additional details about the error."
+ }
+ },
+ "description": "An error response from the Batch service."
+ },
+ "TagsObject": {
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ }
+ },
+ "description": "Tags object for patch operations."
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The subscription ID that identifies an Azure subscription.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The API version to use for the request.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ResourceGroupParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ServerNameParameter": {
+ "name": "serverName",
+ "in": "path",
+ "description": "The name of the server.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/PrivateLinkResources.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/PrivateLinkResources.json
new file mode 100644
index 000000000000..f0691e3b6d1c
--- /dev/null
+++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/PrivateLinkResources.json
@@ -0,0 +1,288 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2018-06-01-privatepreview",
+ "title": "PostgreSQLManagementClient",
+ "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateLinkResources": {
+ "get": {
+ "tags": [
+ "PrivateLinkResources"
+ ],
+ "description": "Gets the private link resources for PostgreSQL server.",
+ "operationId": "PrivateLinkResources_ListByServer",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved private link resources.",
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkResourceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Gets private link resources for PostgreSQL.": {
+ "$ref": "./examples/PrivateLinkResourcesList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/privateLinkResources/{groupName}": {
+ "get": {
+ "tags": [
+ "PrivateLinkResources"
+ ],
+ "description": "Gets a private link resource for PostgreSQL server.",
+ "operationId": "PrivateLinkResources_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "groupName",
+ "in": "path",
+ "description": "The name of the private link resource.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved private link resources.",
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Gets a private link resource for PostgreSQL.": {
+ "$ref": "./examples/PrivateLinkResourcesGet.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "PrivateLinkResourceListResult": {
+ "description": "A list of private link resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Array of results.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PrivateLinkResource"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to retrieve next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "PrivateLinkResourceProperties": {
+ "description": "Properties of a private link resource.",
+ "type": "object",
+ "properties": {
+ "groupId": {
+ "description": "The private link resource group id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "requiredMembers": {
+ "description": "The private link resource required member names.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "Resource": {
+ "description": "ARM resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Resource name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Resource type.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ProxyResource": {
+ "description": "ARM proxy resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {}
+ },
+ "PrivateLinkResource": {
+ "description": "A private link resource",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PrivateLinkResourceProperties",
+ "description": "The private link resource group id.",
+ "readOnly": true
+ }
+ }
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ },
+ "description": "An error response from the Batch service."
+ },
+ "CloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for display in a user interface."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error. For example, the name of the property in error."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "description": "A list of additional details about the error."
+ }
+ },
+ "description": "An error response from the Batch service."
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The subscription ID that identifies an Azure subscription.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The API version to use for the request.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ResourceGroupParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ServerNameParameter": {
+ "name": "serverName",
+ "in": "path",
+ "description": "The name of the server.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionDelete.json
new file mode 100644
index 000000000000..2eeb0a13a649
--- /dev/null
+++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default",
+ "serverName": "test-svr",
+ "privateEndpointConnectionName": "private-endpoint-connection-name",
+ "api-version": "2018-06-01-privatepreview"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionGet.json
new file mode 100644
index 000000000000..47d0b4abd9bb
--- /dev/null
+++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionGet.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default",
+ "serverName": "test-svr",
+ "privateEndpointConnectionName": "private-endpoint-connection-name",
+ "api-version": "2018-06-01-privatepreview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforPostgreSQL/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name",
+ "name": "private-endpoint-connection-name",
+ "type": "Microsoft.DBforPostgreSQL/servers/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Ready",
+ "privateEndpoint": {
+ "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionList.json
new file mode 100644
index 000000000000..fb3b66010c25
--- /dev/null
+++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionList.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default",
+ "serverName": "test-svr",
+ "api-version": "2018-06-01-privatepreview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforPostgreSQL/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name-2",
+ "name": "private-endpoint-connection-name",
+ "type": "Microsoft.DBforPostgreSQL/servers/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Ready",
+ "privateEndpoint": {
+ "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionsRequired": "None"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforPostgreSQL/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name-2",
+ "name": "private-endpoint-connection-name-2",
+ "type": "Microsoft.DBforPostgreSQL/servers/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Ready",
+ "privateEndpoint": {
+ "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name-2"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdate.json
new file mode 100644
index 000000000000..270a19c46f8d
--- /dev/null
+++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdate.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default",
+ "serverName": "test-svr",
+ "privateEndpointConnectionName": "private-endpoint-connection-name",
+ "api-version": "2018-06-01-privatepreview",
+ "parameters": {
+ "properties": {
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Approved by johndoe@contoso.com"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforPostgreSQL/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name",
+ "name": "private-endpoint-connection-name",
+ "type": "Microsoft.DBforPostgreSQL/servers/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Ready",
+ "privateEndpoint": {
+ "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Approved by johndoe@contoso.com",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdateTags.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdateTags.json
new file mode 100644
index 000000000000..c245cf00b4e6
--- /dev/null
+++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateEndpointConnectionUpdateTags.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default",
+ "serverName": "test-svr",
+ "privateEndpointConnectionName": "private-endpoint-connection-name",
+ "api-version": "2018-06-01-privatepreview",
+ "parameters": {
+ "tags": {
+ "key1": "val1",
+ "key2": "val2",
+ "key3": "val3"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforPostgreSQL/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name",
+ "name": "private-endpoint-connection-name",
+ "type": "Microsoft.DBforPostgreSQL/servers/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Ready",
+ "privateEndpoint": {
+ "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Approved by johndoe@contoso.com",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesGet.json
new file mode 100644
index 000000000000..43ddb9485464
--- /dev/null
+++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesGet.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default",
+ "serverName": "test-svr",
+ "groupName": "plr",
+ "api-version": "2018-06-01-privatepreview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforPostgreSQL/servers/test-svr/privateLinkResources/plr",
+ "name": "plr",
+ "type": "Microsoft.DBforPostgreSQL/servers/privateLinkResources",
+ "properties": {
+ "groupId": "postgresqlServer",
+ "requiredMembers": [
+ "postgresqlServer"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesList.json
new file mode 100644
index 000000000000..8c50ed4c45a6
--- /dev/null
+++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/examples/PrivateLinkResourcesList.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default",
+ "serverName": "test-svr",
+ "api-version": "2018-06-01-privatepreview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.DBforPostgreSQL/servers/test-svr/privateLinkResources/plr",
+ "name": "plr",
+ "type": "Microsoft.DBforPostgreSQL/servers/privateLinkResources",
+ "properties": {
+ "groupId": "postgresqlServer",
+ "requiredMembers": [
+ "postgresqlServer"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md
index 124582352de6..d41f76b6abf8 100644
--- a/specification/postgresql/resource-manager/readme.md
+++ b/specification/postgresql/resource-manager/readme.md
@@ -29,6 +29,16 @@ openapi-type: arm
tag: package-2017-12-01
```
+### Tag: package-2018-06-01-privatepreview
+
+These settings apply only when `--tag=package-2018-06-01-privatepreview` is specified on the command line.
+
+
+``` yaml $(tag) == 'package-2018-06-01-privatepreview'
+input-file:
+- Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json
+- Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/PrivateLinkResources.json
+```
### Tag: package-2017-12-01-preview
@@ -134,6 +144,8 @@ require: $(this-folder)/../../../profiles/readme.md
input-file:
- $(this-folder)/Microsoft.DBforPostgreSQL/preview/2017-12-01-preview/postgresql.json
- $(this-folder)/Microsoft.DBforPostgreSQL/stable/2017-12-01/postgresql.json
+ - $(this-folder)/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json
+ - $(this-folder)/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/PrivateLinkResources.json
```
From 22da9960ab17f9d7e12d8856cd67a78cff2a864c Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Wed, 23 Oct 2019 15:35:16 +0000
Subject: [PATCH 041/189] regenerated all-api-versions
---
specification/postgresql/resource-manager/readme.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md
index d41f76b6abf8..e221897fc7d4 100644
--- a/specification/postgresql/resource-manager/readme.md
+++ b/specification/postgresql/resource-manager/readme.md
@@ -142,10 +142,10 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
- - $(this-folder)/Microsoft.DBforPostgreSQL/preview/2017-12-01-preview/postgresql.json
- - $(this-folder)/Microsoft.DBforPostgreSQL/stable/2017-12-01/postgresql.json
- $(this-folder)/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/PrivateEndpointConnections.json
- $(this-folder)/Microsoft.DBforPostgreSQL/preview/2018-06-01-privatepreview/PrivateLinkResources.json
+ - $(this-folder)/Microsoft.DBforPostgreSQL/preview/2017-12-01-preview/postgresql.json
+ - $(this-folder)/Microsoft.DBforPostgreSQL/stable/2017-12-01/postgresql.json
```
From 455fbe885bbfcb87cec9938b56cb4a01fd108756 Mon Sep 17 00:00:00 2001
From: Ajay Sainy
Date: Wed, 23 Oct 2019 14:56:51 -0700
Subject: [PATCH 042/189] [Hub Generated] Review request for
Microsoft.ManagedServices to add version stable/2019-09-01 (#7426)
* Adds base for updating Microsoft.ManagedServices from version stable/2019-06-01 to version 2019-09-01
* Updates readme
* Updates API version in new specs and examples
* Using the filter for collection call to return specific definitions.
Created separate path for point get call.
Previous comment: New api-version, having new resource type - marketplaceregistrationdefinition.
---
.../DeleteRegistrationAssignment.json | 12 +
.../DeleteRegistrationDefinition.json | 11 +
.../GetMarketplaceRegistrationDefinition.json | 35 +
...GetMarketplaceRegistrationDefinitions.json | 39 +
.../2019-09-01/examples/GetOperations.json | 22 +
.../examples/GetRegistrationAssignment.json | 47 +
.../examples/GetRegistrationAssignments.json | 49 +
.../examples/GetRegistrationDefinition.json | 35 +
.../examples/GetRegistrationDefinitions.json | 38 +
.../examples/PutRegistrationAssignment.json | 36 +
.../examples/PutRegistrationDefinition.json | 80 ++
.../stable/2019-09-01/managedservices.json | 960 ++++++++++++++++++
.../resource-manager/readme.md | 18 +-
13 files changed, 1377 insertions(+), 5 deletions(-)
create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/DeleteRegistrationAssignment.json
create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/DeleteRegistrationDefinition.json
create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetMarketplaceRegistrationDefinition.json
create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetMarketplaceRegistrationDefinitions.json
create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetOperations.json
create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetRegistrationAssignment.json
create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetRegistrationAssignments.json
create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetRegistrationDefinition.json
create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetRegistrationDefinitions.json
create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/PutRegistrationAssignment.json
create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/PutRegistrationDefinition.json
create mode 100644 specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/managedservices.json
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/DeleteRegistrationAssignment.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/DeleteRegistrationAssignment.json
new file mode 100644
index 000000000000..234ac7fcd635
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/DeleteRegistrationAssignment.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {},
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/DeleteRegistrationDefinition.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/DeleteRegistrationDefinition.json
new file mode 100644
index 000000000000..d93142515c3d
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/DeleteRegistrationDefinition.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "registrationDefinitionId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetMarketplaceRegistrationDefinition.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetMarketplaceRegistrationDefinition.json
new file mode 100644
index 000000000000..422c0d0b3f5f
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetMarketplaceRegistrationDefinition.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "marketplaceIdentifier": "publisher.product.planName.version",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "description": "Test",
+ "managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc",
+ "registrationDefinitionName": "DefinitionName",
+ "authorizations": [
+ {
+ "principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "managedByTenantName": "Test Tenant"
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "type": "Microsoft.ManagedServices/registrationDefinitions",
+ "name": "26c128c2-fefa-4340-9bb1-6e081c90ada2"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetMarketplaceRegistrationDefinitions.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetMarketplaceRegistrationDefinitions.json
new file mode 100644
index 000000000000..39127fd4a5d3
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetMarketplaceRegistrationDefinitions.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "$filter": "planIdentifier eq 'publisher.offerIdentifier.planName.version'",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "description": "Test",
+ "managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc",
+ "registrationDefinitionName": "DefinitionName",
+ "authorizations": [
+ {
+ "principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "managedByTenantName": "Test Tenant"
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "type": "Microsoft.ManagedServices/registrationDefinitions",
+ "name": "26c128c2-fefa-4340-9bb1-6e081c90ada2"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetOperations.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetOperations.json
new file mode 100644
index 000000000000..75e4fe83d42a
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetOperations.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.ManagedServices/registrationDefinitions/read",
+ "display": {
+ "provider": "Microsoft Managed Services",
+ "resource": "Managed Services Registration Definition",
+ "operation": "List Managed Services Registration Definitions",
+ "description": "Retrieves a list of Managed Services registration definitions."
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetRegistrationAssignment.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetRegistrationAssignment.json
new file mode 100644
index 000000000000..d007d055ebc2
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetRegistrationAssignment.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2",
+ "provisioningState": "Succeeded",
+ "registrationDefinition": {
+ "properties": {
+ "description": "Test",
+ "managedByTenantId": "83abe5cd-bcc3-441a-bd86-e6a75360cecc",
+ "registrationDefinitionName": "DefinitionName",
+ "authorizations": [
+ {
+ "principalId": "f98d86a2-4cc4-4e9d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "manageeTenantId": "01c0bcd5-4f47-4e4b-b492-418b7e2a8854",
+ "manageeTenantName": "test_test_aad_SbtFhyGiLHPFm",
+ "managedByTenantName": "Contoso Corp."
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2",
+ "type": "Microsoft.ManagedServices/registrationDefinitions",
+ "name": "26c128c2-fefa-4340-9bb1-8e081c90ada2"
+ }
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationAssignments/484a7d5f-9729-4b87-bc9b-26610985a013",
+ "type": "Microsoft.ManagedServices/registrationAssignments",
+ "name": "484a7d5f-9729-4b87-bc9b-26610985a013"
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetRegistrationAssignments.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetRegistrationAssignments.json
new file mode 100644
index 000000000000..870bd754c5af
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetRegistrationAssignments.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2",
+ "provisioningState": "Succeeded",
+ "registrationDefinition": {
+ "properties": {
+ "description": "Test",
+ "registrationDefinitionName": "DefinitionName",
+ "authorizations": [
+ {
+ "principalId": "f98d86a2-4cc4-4e9d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "manageeTenantId": "01c0bcd5-4f47-4e4b-b492-418b7e2a8854",
+ "manageeTenantName": "test_test_aad_SbtFhyGiLHPFm",
+ "managedByTenantId": "83abe5cd-bcc3-441a-bd86-e6a75360cecc",
+ "managedByTenantName": "Contoso Corp."
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2",
+ "type": "Microsoft.ManagedServices/registrationDefinitions",
+ "name": "26c128c2-fefa-4340-9bb1-8e081c90ada2"
+ }
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationAssignments/484a7d5f-9729-4b87-bc9b-26610985a013",
+ "type": "Microsoft.ManagedServices/registrationAssignments",
+ "name": "484a7d5f-9729-4b87-bc9b-26610985a013"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetRegistrationDefinition.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetRegistrationDefinition.json
new file mode 100644
index 000000000000..4957e59467e9
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetRegistrationDefinition.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "registrationDefinitionId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "description": "Test",
+ "registrationDefinitionName": "DefinitionName",
+ "managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc",
+ "authorizations": [
+ {
+ "principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "managedByTenantName": "Test Tenant"
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "type": "Microsoft.ManagedServices/registrationDefinitions",
+ "name": "26c128c2-fefa-4340-9bb1-6e081c90ada2"
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetRegistrationDefinitions.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetRegistrationDefinitions.json
new file mode 100644
index 000000000000..b30eb6d7f515
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetRegistrationDefinitions.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "description": "Test",
+ "managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc",
+ "registrationDefinitionName": "DefinitionName",
+ "authorizations": [
+ {
+ "principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "managedByTenantName": "Test Tenant"
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "type": "Microsoft.ManagedServices/registrationDefinitions",
+ "name": "26c128c2-fefa-4340-9bb1-6e081c90ada2"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/PutRegistrationAssignment.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/PutRegistrationAssignment.json
new file mode 100644
index 000000000000..b6faf93d7673
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/PutRegistrationAssignment.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "api-version": "2019-09-01",
+ "requestBody": {
+ "properties": {
+ "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationAssignments/484a7d5f-9729-4b87-bc9b-26610985a013",
+ "type": "Microsoft.ManagedServices/registrationAssignments",
+ "name": "484a7d5f-9729-4b87-bc9b-26610985a013"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationAssignments/484a7d5f-9729-4b87-bc9b-26610985a013",
+ "type": "Microsoft.ManagedServices/registrationAssignments",
+ "name": "484a7d5f-9729-4b87-bc9b-26610985a013"
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/PutRegistrationDefinition.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/PutRegistrationDefinition.json
new file mode 100644
index 000000000000..ba1017913c23
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/PutRegistrationDefinition.json
@@ -0,0 +1,80 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "registrationDefinitionId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "api-version": "2019-09-01",
+ "requestBody": {
+ "properties": {
+ "registrationDefinitionName": "DefinitionName",
+ "description": "Tes1t",
+ "managedByTenantId": "83abe5cd-bcc3-441a-bd86-e6a75360cecc",
+ "authorizations": [
+ {
+ "principalId": "f98d86a2-4cc4-4e9d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ]
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "description": "Test",
+ "managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc",
+ "registrationDefinitionName": "DefinitionName",
+ "authorizations": [
+ {
+ "principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "managedByTenantName": "Test Tenant"
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "type": "Microsoft.ManagedServices/registrationDefinitions",
+ "name": "26c128c2-fefa-4340-9bb1-6e081c90ada2"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "description": "Test",
+ "managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc",
+ "registrationDefinitionName": "DefinitionName",
+ "authorizations": [
+ {
+ "principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "managedByTenantName": "Test Tenant"
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "type": "Microsoft.ManagedServices/registrationDefinitions",
+ "name": "26c128c2-fefa-4340-9bb1-6e081c90ada2"
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/managedservices.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/managedservices.json
new file mode 100644
index 000000000000..e51fa6947178
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/managedservices.json
@@ -0,0 +1,960 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "ManagedServicesClient",
+ "version": "2019-09-01",
+ "description": "Specification for ManagedServices."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/{scope}/providers/Microsoft.ManagedServices/registrationDefinitions/{registrationDefinitionId}": {
+ "get": {
+ "tags": [
+ "RegistrationDefinitions"
+ ],
+ "operationId": "RegistrationDefinitions_Get",
+ "description": "Gets the registration definition details.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/registrationDefinitionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns the complete registration definition with plan details.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Registration Definition": {
+ "$ref": "./examples/GetRegistrationDefinition.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "RegistrationDefinitions"
+ ],
+ "operationId": "RegistrationDefinitions_Delete",
+ "description": "Deletes the registration definition.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/registrationDefinitionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - The registration definition is deleted."
+ },
+ "204": {
+ "description": "No Content- The registration definition does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete Registration Definition": {
+ "$ref": "./examples/DeleteRegistrationDefinition.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "RegistrationDefinitions"
+ ],
+ "operationId": "RegistrationDefinitions_CreateOrUpdate",
+ "x-ms-long-running-operation": true,
+ "description": "Creates or updates a registration definition.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/registrationDefinitionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "name": "requestBody",
+ "in": "body",
+ "required": true,
+ "description": "The parameters required to create new registration definition.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationDefinition"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Ok - Returns information about the updated registration definition.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationDefinition"
+ }
+ },
+ "201": {
+ "description": "Created - Returns information about the created registration definition.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Put Registration Definition": {
+ "$ref": "./examples/PutRegistrationDefinition.json"
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.ManagedServices/registrationAssignments/{registrationAssignmentId}": {
+ "get": {
+ "tags": [
+ "RegistrationAssignments"
+ ],
+ "operationId": "RegistrationAssignments_Get",
+ "description": "Gets the details of specified registration assignment.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistrationAssignmentIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ExpandRegistrationDefinition"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns the registration assignment.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationAssignment"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Registration Assignment": {
+ "$ref": "./examples/GetRegistrationAssignment.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "RegistrationAssignments"
+ ],
+ "operationId": "RegistrationAssignments_Delete",
+ "x-ms-long-running-operation": true,
+ "description": "Deletes the specified registration assignment.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistrationAssignmentIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - The registration assignment is deleted."
+ },
+ "202": {
+ "description": "Accepted - The registration assignment deletion operation is accepted."
+ },
+ "204": {
+ "description": "No Content- The registration assignment does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete Registration Assignment": {
+ "$ref": "./examples/DeleteRegistrationAssignment.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "RegistrationAssignments"
+ ],
+ "operationId": "RegistrationAssignments_CreateOrUpdate",
+ "x-ms-long-running-operation": true,
+ "description": "Creates or updates a registration assignment.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistrationAssignmentIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "requestBody",
+ "in": "body",
+ "required": true,
+ "description": "The parameters required to create new registration assignment.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationAssignment"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Ok - Returns information about the updated registration assignment.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationAssignment"
+ }
+ },
+ "201": {
+ "description": "Created - Returns information about the created registration assignment.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationAssignment"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Put Registration Assignment": {
+ "$ref": "./examples/PutRegistrationAssignment.json"
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.ManagedServices/registrationDefinitions": {
+ "get": {
+ "tags": [
+ "RegistrationDefinitions"
+ ],
+ "operationId": "RegistrationDefinitions_List",
+ "description": "Gets a list of the registration definitions.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns a list of the registration definitions.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationDefinitionList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Get Registration Definitions": {
+ "$ref": "./examples/GetRegistrationDefinitions.json"
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.ManagedServices/registrationAssignments": {
+ "get": {
+ "tags": [
+ "RegistrationAssignments"
+ ],
+ "operationId": "RegistrationAssignments_List",
+ "description": "Gets a list of the registration assignments.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/ExpandRegistrationDefinition"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns a list of the registration assignments.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationAssignmentList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Get Registration Assignments": {
+ "$ref": "./examples/GetRegistrationAssignments.json"
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.ManagedServices/marketplaceRegistrationDefinitions": {
+ "get": {
+ "tags": [
+ "MarketplaceRegistrationDefinitions"
+ ],
+ "operationId": "MarketplaceRegistrationDefinitions_List",
+ "description": "Gets a list of the marketplace registration definitions for the marketplace identifier.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/Filter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns a list of the marketplace registration definitions.",
+ "schema": {
+ "$ref": "#/definitions/MarketplaceRegistrationDefinitionList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Get Registration Definitions": {
+ "$ref": "./examples/GetMarketplaceRegistrationDefinitions.json"
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.ManagedServices/marketplaceRegistrationDefinitions/{marketplaceIdentifier}": {
+ "get": {
+ "tags": [
+ "MarketplaceRegistrationDefinitions"
+ ],
+ "operationId": "MarketplaceRegistrationDefinitions_Get",
+ "description": "Get the marketplace registration definition for the marketplace identifier.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/MarketplaceIdentifier"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns the details of the marketplace registration definition.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Registration Definitions": {
+ "$ref": "./examples/GetMarketplaceRegistrationDefinition.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.ManagedServices/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "operationId": "Operations_List",
+ "description": "Gets a list of the operations.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns a list of operations.",
+ "schema": {
+ "$ref": "#/definitions/OperationList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Registration Operations": {
+ "$ref": "./examples/GetOperations.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "RegistrationDefinition": {
+ "properties": {
+ "properties": {
+ "description": "Properties of a registration definition.",
+ "$ref": "#/definitions/RegistrationDefinitionProperties"
+ },
+ "plan": {
+ "description": "Plan details for the managed services.",
+ "$ref": "#/definitions/Plan"
+ },
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Fully qualified path of the registration definition."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the registration definition."
+ }
+ },
+ "x-ms-azure-resource": true,
+ "type": "object",
+ "description": "Registration definition."
+ },
+ "RegistrationDefinitionProperties": {
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "Description of the registration definition."
+ },
+ "authorizations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Authorization"
+ },
+ "description": "Authorization tuple containing principal id of the user/security group or service principal and id of the build-in role."
+ },
+ "registrationDefinitionName": {
+ "type": "string",
+ "description": "Name of the registration definition."
+ },
+ "managedByTenantId": {
+ "type": "string",
+ "description": "Id of the managedBy tenant."
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Current state of the registration definition.",
+ "enum": [
+ "NotSpecified",
+ "Accepted",
+ "Running",
+ "Ready",
+ "Creating",
+ "Created",
+ "Deleting",
+ "Deleted",
+ "Canceled",
+ "Failed",
+ "Succeeded",
+ "Updating"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "managedByTenantName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the managedBy tenant."
+ }
+ },
+ "required": [
+ "managedByTenantId",
+ "authorizations"
+ ],
+ "type": "object",
+ "description": "Properties of a registration definition."
+ },
+ "RegistrationDefinitionList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/RegistrationDefinition"
+ },
+ "description": "List of registration definitions."
+ },
+ "nextLink": {
+ "description": "Link to next page of registration definitions.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "description": "List of registration definitions."
+ },
+ "RegistrationAssignment": {
+ "properties": {
+ "properties": {
+ "description": "Properties of a registration assignment.",
+ "$ref": "#/definitions/RegistrationAssignmentProperties"
+ },
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The fully qualified path of the registration assignment."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the registration assignment."
+ }
+ },
+ "x-ms-azure-resource": true,
+ "type": "object",
+ "description": "Registration assignment."
+ },
+ "RegistrationAssignmentProperties": {
+ "properties": {
+ "registrationDefinitionId": {
+ "type": "string",
+ "description": "Fully qualified path of the registration definition."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Current state of the registration assignment.",
+ "enum": [
+ "NotSpecified",
+ "Accepted",
+ "Running",
+ "Ready",
+ "Creating",
+ "Created",
+ "Deleting",
+ "Deleted",
+ "Canceled",
+ "Failed",
+ "Succeeded",
+ "Updating"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "registrationDefinition": {
+ "readOnly": true,
+ "properties": {
+ "properties": {
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "Description of the registration definition."
+ },
+ "authorizations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Authorization"
+ },
+ "description": "Authorization tuple containing principal id of the user/security group or service principal and id of the build-in role."
+ },
+ "registrationDefinitionName": {
+ "type": "string",
+ "description": "Name of the registration definition."
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Current state of the registration definition.",
+ "enum": [
+ "NotSpecified",
+ "Accepted",
+ "Running",
+ "Ready",
+ "Creating",
+ "Created",
+ "Deleting",
+ "Deleted",
+ "Canceled",
+ "Failed",
+ "Succeeded",
+ "Updating"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "manageeTenantId": {
+ "type": "string",
+ "description": "Id of the home tenant."
+ },
+ "manageeTenantName": {
+ "type": "string",
+ "description": "Name of the home tenant."
+ },
+ "managedByTenantId": {
+ "type": "string",
+ "description": "Id of the managedBy tenant."
+ },
+ "managedByTenantName": {
+ "type": "string",
+ "description": "Name of the managedBy tenant."
+ }
+ },
+ "description": "Properties of registration definition inside registration assignment."
+ },
+ "plan": {
+ "description": "Plan details for the managed services.",
+ "$ref": "#/definitions/Plan"
+ },
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Fully qualified path of the registration definition."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource (Microsoft.ManagedServices/registrationDefinitions)."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the registration definition."
+ }
+ },
+ "type": "object",
+ "description": "Registration definition inside registration assignment."
+ }
+ },
+ "required": [
+ "registrationDefinitionId"
+ ],
+ "type": "object",
+ "description": "Properties of a registration assignment."
+ },
+ "RegistrationAssignmentList": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RegistrationAssignment"
+ },
+ "description": "List of registration assignments."
+ },
+ "nextLink": {
+ "description": "Link to next page of registration assignments.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "description": "List of registration assignments."
+ },
+ "MarketplaceRegistrationDefinitionList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/RegistrationDefinition"
+ },
+ "description": "List of marketplace registration definitions."
+ },
+ "nextLink": {
+ "description": "Link to next page of marketplace registration definitions.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "description": "List of marketplace registration definitions."
+ },
+ "Plan": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The plan name."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The publisher ID."
+ },
+ "product": {
+ "type": "string",
+ "description": "The product code."
+ },
+ "version": {
+ "type": "string",
+ "description": "The plan's version."
+ }
+ },
+ "required": [
+ "name",
+ "publisher",
+ "product",
+ "version"
+ ],
+ "type": "object",
+ "description": "Plan details for the managed services."
+ },
+ "Operation": {
+ "properties": {
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Operation name: {provider}/{resource}/{operation}"
+ },
+ "display": {
+ "readOnly": true,
+ "description": "The object that represents the operation.",
+ "properties": {
+ "provider": {
+ "type": "string",
+ "description": "Service provider: Microsoft.ManagedServices"
+ },
+ "resource": {
+ "type": "string",
+ "description": "Resource on which the operation is performed: Registration definition, registration assignment etc."
+ },
+ "operation": {
+ "type": "string",
+ "description": "Operation type: Read, write, delete, etc."
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of the operation."
+ }
+ }
+ }
+ },
+ "type": "object",
+ "description": "Object that describes a single Microsoft.ManagedServices operation."
+ },
+ "OperationList": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of Microsoft.ManagedServices operations."
+ }
+ },
+ "type": "object",
+ "description": "List of the operations."
+ },
+ "Authorization": {
+ "properties": {
+ "principalId": {
+ "type": "string",
+ "description": "Principal Id of the security group/service principal/user that would be assigned permissions to the projected subscription"
+ },
+ "roleDefinitionId": {
+ "type": "string",
+ "description": "The role definition identifier. This role will define all the permissions that the security group/service principal/user must have on the projected subscription. This role cannot be an owner role."
+ }
+ },
+ "required": [
+ "principalId",
+ "roleDefinitionId"
+ ],
+ "type": "object",
+ "description": "Authorization tuple containing principal Id (of user/service principal/security group) and role definition id."
+ },
+ "ErrorResponse": {
+ "properties": {
+ "error": {
+ "readOnly": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Error code."
+ },
+ "message": {
+ "type": "string",
+ "description": "Error message indicating why the operation failed."
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object",
+ "description": "Error response indicates Azure Resource Manager is not able to process the incoming request. The reason is provided in the error message."
+ }
+ },
+ "description": "Error response."
+ }
+ },
+ "parameters": {
+ "ScopeParameter": {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "description": "Scope of the resource."
+ },
+ "MarketplaceIdentifier": {
+ "name": "marketplaceIdentifier",
+ "in": "path",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "description": "Market place identifer. Expected Formats - {publisher}.{product[-preview]}.{planName}.{version} or {publisher}.{product[-preview]}.{planName} or {publisher}.{product[-preview]} or {publisher})."
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The API version to use for this operation."
+ },
+ "RegistrationAssignmentIdParameter": {
+ "name": "registrationAssignmentId",
+ "in": "path",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "description": "Guid of the registration assignment."
+ },
+ "registrationDefinitionIdParameter": {
+ "name": "registrationDefinitionId",
+ "in": "path",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "description": "Guid of the registration definition."
+ },
+ "ExpandRegistrationDefinition": {
+ "name": "$expandRegistrationDefinition",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "description": "Tells whether to return registration definition details also along with registration assignment details."
+ },
+ "Filter": {
+ "name": "$filter",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "description": "The filter query parameter. Might be used to filter marketplace registration definition by plan identifier, publisher, version etc."
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/readme.md b/specification/managedservices/resource-manager/readme.md
index 16673ff45462..03a977924e51 100644
--- a/specification/managedservices/resource-manager/readme.md
+++ b/specification/managedservices/resource-manager/readme.md
@@ -26,18 +26,27 @@ These are the global settings for the ManagedServices API.
``` yaml
openapi-type: arm
-tag: package-2019-06
+tag: package-2019-09
```
+### Tag: package-2019-09
+
+These settings apply only when `--tag=package-2019-09` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-09'
+input-file:
+ - Microsoft.ManagedServices/stable/2019-09-01/managedservices.json
+```
### Tag: package-2019-06
These settings apply only when `--tag=package-2019-06` is specified on the command line.
-```yaml $(tag) == 'package-2019-06'
+``` yaml $(tag) == 'package-2019-06'
input-file:
- Microsoft.ManagedServices/stable/2019-06-01/managedservices.json
```
+
### Tag: package-2019-04-preview
These settings apply only when `--tag=package-2019-04-preview` is specified on the command line.
@@ -96,7 +105,7 @@ csharp:
See configuration in [readme.go.md](./readme.go.md)
-## Multi-API/Profile support for AutoRest v3 generators
+## Multi-API/Profile support for AutoRest v3 generators
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
@@ -114,11 +123,10 @@ input-file:
```
-If there are files that should not be in the `all-api-versions` set,
+If there are files that should not be in the `all-api-versions` set,
uncomment the `exclude-file` section below and add the file paths.
``` yaml $(tag) == 'all-api-versions'
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```
-
From e5ec32083bc1fd1d211c8deb4955f9082a265f6e Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Wed, 23 Oct 2019 21:58:08 +0000
Subject: [PATCH 043/189] regenerated all-api-versions
---
specification/managedservices/resource-manager/readme.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/specification/managedservices/resource-manager/readme.md b/specification/managedservices/resource-manager/readme.md
index 03a977924e51..c2f452c2dade 100644
--- a/specification/managedservices/resource-manager/readme.md
+++ b/specification/managedservices/resource-manager/readme.md
@@ -117,6 +117,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.ManagedServices/stable/2019-09-01/managedservices.json
- $(this-folder)/Microsoft.ManagedServices/stable/2019-06-01/managedservices.json
- $(this-folder)/Microsoft.ManagedServices/preview/2019-04-01-preview/managedservices.json
- $(this-folder)/Microsoft.ManagedServices/preview/2018-06-01-preview/managedservices.json
From 162aac8f049496e8b4dd411c1a9dcc2a9e80da9c Mon Sep 17 00:00:00 2001
From: Landon Smith
Date: Wed, 23 Oct 2019 15:08:23 -0700
Subject: [PATCH 044/189] [CDN] Add missing customHttpsParameters field of
CustomDomainProperties. (#7441)
* CDN: Add missing customHttpsParameters field of CustomDomainProperties.
* Add minimumTLSVersion field to CustomDomainHttpsParameters in latest CDN API
---
.../Microsoft.Cdn/stable/2019-04-15/cdn.json | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json
index ba7ec2ba875e..021d9f71e26d 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json
@@ -3917,6 +3917,10 @@
"modelAsString": true
}
},
+ "customHttpsParameters": {
+ "description": "Certificate parameters for securing custom HTTPS",
+ "$ref": "#/definitions/CustomDomainHttpsParameters"
+ },
"validationData": {
"description": "Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.",
"type": "string"
@@ -3981,6 +3985,19 @@
"name": "ProtocolType",
"modelAsString": true
}
+ },
+ "minimumTlsVersion": {
+ "description": "TLS protocol version that will be used for Https",
+ "enum": [
+ "None",
+ "TLS10",
+ "TLS12"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "minimumTlsVersion",
+ "modelAsString": false
+ }
}
}
},
From 4408b302ad35c58bb9c1ed50e0a60e2c2ffc598d Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Thu, 24 Oct 2019 09:31:36 +0800
Subject: [PATCH 045/189] added missing part from 2019-08-01 (#7614)
---
...agedClustersRotateClusterCertificates.json | 12 +++++
.../stable/2019-10-01/managedClusters.json | 44 +++++++++++++++++++
2 files changed, 56 insertions(+)
create mode 100644 specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersRotateClusterCertificates.json
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersRotateClusterCertificates.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersRotateClusterCertificates.json
new file mode 100644
index 000000000000..7c26aba90427
--- /dev/null
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/examples/ManagedClustersRotateClusterCertificates.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "subid1",
+ "resourceGroupName": "rg1",
+ "resourceName": "clustername1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/managedClusters.json
index 8dd47bb44137..7195255be966 100644
--- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/managedClusters.json
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/managedClusters.json
@@ -921,6 +921,50 @@
}
}
}
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates": {
+ "post": {
+ "tags": [
+ "ManagedClusters"
+ ],
+ "operationId": "ManagedClusters_RotateClusterCertificates",
+ "summary": "Rotate certificates of a managed cluster.",
+ "description": "Rotate certificates of a managed cluster.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceNameParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the cluster doesn't exist, 404 (Not found) is returned.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Rotate Cluster Certificates": {
+ "$ref": "./examples/ManagedClustersRotateClusterCertificates.json"
+ }
+ }
+ }
}
},
"definitions": {
From 89506d9a37cd9a36451bec0b54a766a404bd0040 Mon Sep 17 00:00:00 2001
From: Arcturus
Date: Thu, 24 Oct 2019 10:11:37 +0800
Subject: [PATCH 046/189] [READY TO MERGE] Add new composite version for sql
(#7590)
* Add new composite version for sql
* Changed to v3
---
specification/sql/resource-manager/readme.go.md | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/specification/sql/resource-manager/readme.go.md b/specification/sql/resource-manager/readme.go.md
index d3866294a7cb..e0129e525357 100644
--- a/specification/sql/resource-manager/readme.go.md
+++ b/specification/sql/resource-manager/readme.go.md
@@ -15,6 +15,7 @@ From api-version 2017-10 and onwards, only pure package versions should be used.
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-composite-v3
- tag: package-pure-2018-06-preview
- tag: package-pure-2017-10-preview
- tag: package-2017-03-preview
@@ -22,6 +23,15 @@ batch:
- tag: package-pure-2014-04
```
+#### Tag: package-composite-v3
+
+These settings apply only when `--tag=package-composite-v3 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-composite-v3' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-06-15-preview/$(namespace)
+```
+
#### Tag: package-pure-2018-06-preview and go
These settings apply only when `--tag=package-pure-2018-06-preview --go` is specified on the command line.
From 58a6ec713b75b62e93ef9960f930acd2bec40205 Mon Sep 17 00:00:00 2001
From: Anton Evseev
Date: Wed, 23 Oct 2019 19:38:15 -0700
Subject: [PATCH 047/189] Use node.js 10.16.3 in Network validation (#7607)
---
.azure-pipelines/NetworkValidation.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.azure-pipelines/NetworkValidation.yml b/.azure-pipelines/NetworkValidation.yml
index b62841ad85f7..17784464b8c9 100644
--- a/.azure-pipelines/NetworkValidation.yml
+++ b/.azure-pipelines/NetworkValidation.yml
@@ -14,7 +14,7 @@ jobs:
displayName: Bypass Strong Name validation
- task: NodeTool@0
inputs:
- versionSpec: 10.x
+ versionSpec: '10.16.3'
displayName: Install Node.js
- script: npm install autorest -g
displayName: Install autorest
From 6b30fe6be4f45724e8a135cd10196f0f18751399 Mon Sep 17 00:00:00 2001
From: fengzhou-msft <55177366+fengzhou-msft@users.noreply.github.com>
Date: Thu, 24 Oct 2019 11:07:57 +0800
Subject: [PATCH 048/189] add test for peering (#7618)
---
specification/peering/resource-manager/readme.cli.md | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/specification/peering/resource-manager/readme.cli.md b/specification/peering/resource-manager/readme.cli.md
index 41d6935be811..ecf564035626 100644
--- a/specification/peering/resource-manager/readme.cli.md
+++ b/specification/peering/resource-manager/readme.cli.md
@@ -25,5 +25,8 @@ cli:
"/properties/peercontactinfo": "*/"
test-setup:
- - name: Create or Update a service with all parameters
+ - name: Create a peering service
+ - name: Create or update a prefix for the peering service
+ - name: Delete a prefix associated with the peering service
+ - name: Delete a peering service
```
From 46a7831fe201ed236e14dcf10ae9524b3ba9297b Mon Sep 17 00:00:00 2001
From: Phoenix He
Date: Thu, 24 Oct 2019 11:17:08 +0800
Subject: [PATCH 049/189] Update PULL_REQUEST_TEMPLATE.md (#7619)
Fix #7522
---
.github/PULL_REQUEST_TEMPLATE.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index dd2afd20e710..345d8c92354c 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -2,7 +2,7 @@
MSFT employees can try out our new experience at [OpenAPI Hub](https://aka.ms/openapiportal) - one location for using our validation tools and finding your workflow.
### Contribution checklist:
-- [ ] I have reviewed the [documentation](https://github.com/Azure/azure-rest-api-specs#basics) for the workflow.
+- [ ] I have reviewed the [documentation](https://github.com/Azure/adx-documentation-pr/wiki/Overall-basic-flow) for the workflow.
- [ ] [Validation tools](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/swagger-checklist.md#validation-tools-for-swagger-checklist) were run on swagger spec(s) and have all been fixed in this PR.
- [ ] The [OpenAPI Hub](https://aka.ms/openapiportal) was used for checking validation status and next steps.
### ARM API Review Checklist
From 49ff81e824bd69605e033b28c14f8e8cc85e5924 Mon Sep 17 00:00:00 2001
From: LU WU
Date: Wed, 23 Oct 2019 21:31:26 -0700
Subject: [PATCH 050/189] Update ResourceIdentity to EncryptionSetIdentity
(#7617)
---
.../Microsoft.Compute/stable/2019-07-01/disk.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json
index cdf9b4c52e82..85990d2b960a 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json
@@ -1748,7 +1748,7 @@
],
"description": "The List Snapshots operation response."
},
- "ResourceIdentity": {
+ "EncryptionSetIdentity": {
"properties": {
"type": {
"type": "string",
@@ -1777,7 +1777,7 @@
"DiskEncryptionSet": {
"properties": {
"identity": {
- "$ref": "#/definitions/ResourceIdentity"
+ "$ref": "#/definitions/EncryptionSetIdentity"
},
"properties": {
"x-ms-client-flatten": true,
From 34c147cb690f23ca48868e49002fd489bcd26188 Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Thu, 24 Oct 2019 13:03:16 +0800
Subject: [PATCH 051/189] adding swagger-to-sdk section (#7601)
---
.../hybridcompute/resource-manager/readme.md | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/specification/hybridcompute/resource-manager/readme.md b/specification/hybridcompute/resource-manager/readme.md
index 786f8e16c53e..e74dea9d1a38 100644
--- a/specification/hybridcompute/resource-manager/readme.md
+++ b/specification/hybridcompute/resource-manager/readme.md
@@ -48,6 +48,19 @@ input-file:
---
# Code Generation
+## Swagger to SDK
+
+This section describes what SDK should be generated by the automatic system.
+This is not used by Autorest itself.
+
+``` yaml $(swagger-to-sdk)
+swagger-to-sdk:
+ - repo: azure-sdk-for-net
+ - repo: azure-sdk-for-python
+ - repo: azure-sdk-for-java
+ - repo: azure-sdk-for-go
+ - repo: azure-sdk-for-js
+```
---
## C#
From 5c3842446aae99158fb1e96ff4b59575afe2ba9a Mon Sep 17 00:00:00 2001
From: Chuang <54572251+xccc-msft@users.noreply.github.com>
Date: Wed, 23 Oct 2019 22:04:12 -0700
Subject: [PATCH 052/189] Storage: add package-2019-06 in readme.java.md
(#7575)
---
.../storage/resource-manager/readme.java.md | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/specification/storage/resource-manager/readme.java.md b/specification/storage/resource-manager/readme.java.md
index b5cfb1914bea..e6d4468e3224 100644
--- a/specification/storage/resource-manager/readme.java.md
+++ b/specification/storage/resource-manager/readme.java.md
@@ -16,6 +16,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-storage
``` yaml $(java) && $(multiapi)
batch:
+ - tag: package-2019-06
- tag: package-2019-04
- tag: package-2018-07
- tag: package-2018-03
@@ -24,6 +25,19 @@ batch:
- tag: package-2016-01
```
+### Tag: package-2019-06 and java
+
+These settings apply only when `--tag=package-2019-06 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2019-06' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.storage.v2019_06_01
+ output-folder: $(azure-libraries-for-java-folder)/storage/resource-manager/v2019_06_01
+regenerate-manager: true
+generate-interface: true
+```
+
### Tag: package-2019-04 and java
These settings apply only when `--tag=package-2019-04 --java` is specified on the command line.
From 565b2d02d092721a3f446a7100437b4f1130cec3 Mon Sep 17 00:00:00 2001
From: NNara <36491202+NNara@users.noreply.github.com>
Date: Wed, 23 Oct 2019 22:06:59 -0700
Subject: [PATCH 053/189] Changed WebActivity and webhook activity auth to
support both AKV and Secrets (#7554)
---
.../stable/2018-06-01/entityTypes/Pipeline.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
index f54aa0bbd14c..89a4e7f89304 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
@@ -4653,7 +4653,7 @@
},
"pfx": {
"description": "Base64-encoded contents of a PFX file.",
- "$ref": "../datafactory.json#/definitions/SecureString"
+ "$ref": "../datafactory.json#/definitions/SecretBase"
},
"username": {
"description": "Web activity authentication user name for basic authentication.",
@@ -4661,7 +4661,7 @@
},
"password": {
"description": "Password for the PFX file or basic authentication.",
- "$ref": "../datafactory.json#/definitions/SecureString"
+ "$ref": "../datafactory.json#/definitions/SecretBase"
},
"resource": {
"description": "Resource for which Azure Auth token will be requested when using MSI Authentication.",
From 1fd7099852f3222c9b9b0b6ee3194bc25f77bcd9 Mon Sep 17 00:00:00 2001
From: sarajang <37909871+sarajang@users.noreply.github.com>
Date: Wed, 23 Oct 2019 23:31:44 -0700
Subject: [PATCH 054/189] Update data set related documentation comments
(#7582)
---
.../preview/2018-11-01-preview/DataShare.json | 176 +++++++++---------
.../examples/DataSetMappings_Create.json | 4 +-
.../examples/DataSetMappings_Get.json | 3 +-
...taSetMappings_ListByShareSubscription.json | 4 +-
.../DataSetMappings_SqlDB_Create.json | 10 +-
...gs_SqlDWDataSetToAdlsGen2File_Create.json} | 4 +-
.../DataSetMappings_SqlDW_Create.json | 10 +-
.../examples/DataSets_Create.json | 2 +-
.../examples/DataSets_Get.json | 2 +-
.../examples/DataSets_ListByShare.json | 2 +-
.../examples/DataSets_SqlDBTable_Create.json | 2 +-
.../examples/DataSets_SqlDWTable_Create.json | 8 +-
...roviderShareSubscriptions_ListByShare.json | 2 +-
.../datashare/resource-manager/readme.md | 1 -
14 files changed, 124 insertions(+), 106 deletions(-)
rename specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/{DataSetMappings_AdlsGen2File_Create.json => DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json} (95%)
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json
index a92e0d96e8e5..ef2eb3b00daa 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json
@@ -784,7 +784,7 @@
{
"name": "dataSetMappingName",
"in": "path",
- "description": "The Id of the source data set being mapped.",
+ "description": "The name of the data set mapping to be created.",
"required": true,
"type": "string"
},
@@ -831,8 +831,8 @@
"DataSetMappings_SqlDB_Create": {
"$ref": "./examples/DataSetMappings_SqlDB_Create.json"
},
- "DataSetMappings_AdlsGen2File_Create": {
- "$ref": "./examples/DataSetMappings_AdlsGen2File_Create.json"
+ "DataSetMappings_SqlDWDataSetToAdlsGen2File_Create": {
+ "$ref": "./examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json"
}
}
},
@@ -3256,7 +3256,7 @@
],
"properties": {
"kind": {
- "description": "Kind of dataset.",
+ "description": "Kind of data set.",
"enum": [
"Blob",
"Container",
@@ -3300,7 +3300,7 @@
}
},
"DataSetMapping": {
- "description": "A dataset mapping data transfer object.",
+ "description": "A data set mapping data transfer object.",
"type": "object",
"allOf": [
{
@@ -3309,7 +3309,7 @@
],
"properties": {
"kind": {
- "description": "Kind of dataset mapping.",
+ "description": "Kind of data set mapping.",
"enum": [
"Blob",
"Container",
@@ -3807,7 +3807,7 @@
}
},
"SynchronizationDetails": {
- "description": "Synchronization details at dataset level",
+ "description": "Synchronization details at data set level",
"type": "object",
"properties": {
"dataSetId": {
@@ -3838,25 +3838,25 @@
},
"durationMs": {
"format": "int32",
- "description": "duration of dataset level copy",
+ "description": "duration of data set level copy",
"type": "integer",
"readOnly": true
},
"endTime": {
"format": "date-time",
- "description": "End time of dataset level copy",
+ "description": "End time of data set level copy",
"type": "string",
"readOnly": true
},
"filesRead": {
"format": "int64",
- "description": "The number of files read from the source dataset.",
+ "description": "The number of files read from the source data set.",
"type": "integer",
"readOnly": true
},
"filesWritten": {
"format": "int64",
- "description": "The number of files written into the sink dataset.",
+ "description": "The number of files written into the sink data set.",
"type": "integer",
"readOnly": true
},
@@ -3872,31 +3872,31 @@
},
"rowsCopied": {
"format": "int64",
- "description": "The number of files copied into the sink dataset.",
+ "description": "The number of files copied into the sink data set.",
"type": "integer",
"readOnly": true
},
"rowsRead": {
"format": "int64",
- "description": "The number of rows read from the source dataset.",
+ "description": "The number of rows read from the source data set.",
"type": "integer",
"readOnly": true
},
"sizeRead": {
"format": "int64",
- "description": "The size of the data read from the source dataset in bytes.",
+ "description": "The size of the data read from the source data set in bytes.",
"type": "integer",
"readOnly": true
},
"sizeWritten": {
"format": "int64",
- "description": "The size of the data written into the sink dataset in bytes.",
+ "description": "The size of the data written into the sink data set in bytes.",
"type": "integer",
"readOnly": true
},
"startTime": {
"format": "date-time",
- "description": "start time of dataset level copy",
+ "description": "start time of data set level copy",
"type": "string",
"readOnly": true
},
@@ -3907,7 +3907,7 @@
},
"vCore": {
"format": "int64",
- "description": "The vCore units consumed for the dataset synchronization.",
+ "description": "The vCore units consumed for the data set synchronization.",
"type": "integer",
"readOnly": true
}
@@ -4592,7 +4592,7 @@
}
},
"BlobDataSet": {
- "description": "An Azure storage blob dataset.",
+ "description": "An Azure storage blob data set.",
"required": [
"properties"
],
@@ -4605,7 +4605,7 @@
"properties": {
"properties": {
"$ref": "#/definitions/BlobProperties",
- "description": "Blob dataset properties.",
+ "description": "Blob data set properties.",
"x-ms-client-flatten": true
}
},
@@ -4650,7 +4650,7 @@
}
},
"BlobFolderDataSet": {
- "description": "An Azure storage blob folder dataset.",
+ "description": "An Azure storage blob folder data set.",
"required": [
"properties"
],
@@ -4663,7 +4663,7 @@
"properties": {
"properties": {
"$ref": "#/definitions/BlobFolderProperties",
- "description": "Blob folder dataset properties.",
+ "description": "Blob folder data set properties.",
"x-ms-client-flatten": true
}
},
@@ -4708,7 +4708,7 @@
}
},
"BlobContainerDataSet": {
- "description": "An Azure storage blob container dataset.",
+ "description": "An Azure storage blob container data set.",
"required": [
"properties"
],
@@ -4721,7 +4721,7 @@
"properties": {
"properties": {
"$ref": "#/definitions/BlobContainerProperties",
- "description": "Blob container dataset properties.",
+ "description": "Blob container data set properties.",
"x-ms-client-flatten": true
}
},
@@ -4761,7 +4761,7 @@
}
},
"ADLSGen2FileDataSet": {
- "description": "An ADLS Gen 2 file dataset.",
+ "description": "An ADLS Gen 2 file data set.",
"required": [
"properties"
],
@@ -4774,7 +4774,7 @@
"properties": {
"properties": {
"$ref": "#/definitions/ADLSGen2FileProperties",
- "description": "ADLS Gen 2 file dataset properties.",
+ "description": "ADLS Gen 2 file data set properties.",
"x-ms-client-flatten": true
}
},
@@ -4819,7 +4819,7 @@
}
},
"ADLSGen2FolderDataSet": {
- "description": "An ADLS Gen 2 folder dataset.",
+ "description": "An ADLS Gen 2 folder data set.",
"required": [
"properties"
],
@@ -4832,7 +4832,7 @@
"properties": {
"properties": {
"$ref": "#/definitions/ADLSGen2FolderProperties",
- "description": "ADLS Gen 2 folder dataset properties.",
+ "description": "ADLS Gen 2 folder data set properties.",
"x-ms-client-flatten": true
}
},
@@ -4877,7 +4877,7 @@
}
},
"ADLSGen2FileSystemDataSet": {
- "description": "An ADLS Gen 2 file system dataset.",
+ "description": "An ADLS Gen 2 file system data set.",
"required": [
"properties"
],
@@ -4890,7 +4890,7 @@
"properties": {
"properties": {
"$ref": "#/definitions/ADLSGen2FileSystemProperties",
- "description": "ADLS Gen 2 file system dataset properties.",
+ "description": "ADLS Gen 2 file system data set properties.",
"x-ms-client-flatten": true
}
},
@@ -4930,7 +4930,7 @@
}
},
"ADLSGen1FolderDataSet": {
- "description": "An ADLS Gen 1 folder dataset.",
+ "description": "An ADLS Gen 1 folder data set.",
"required": [
"properties"
],
@@ -4943,7 +4943,7 @@
"properties": {
"properties": {
"$ref": "#/definitions/ADLSGen1FolderProperties",
- "description": "ADLS Gen 1 folder dataset properties.",
+ "description": "ADLS Gen 1 folder data set properties.",
"x-ms-client-flatten": true
}
},
@@ -4983,7 +4983,7 @@
}
},
"ADLSGen1FileDataSet": {
- "description": "An ADLS Gen 1 file dataset.",
+ "description": "An ADLS Gen 1 file data set.",
"required": [
"properties"
],
@@ -4996,7 +4996,7 @@
"properties": {
"properties": {
"$ref": "#/definitions/ADLSGen1FileProperties",
- "description": "ADLS Gen 1 file dataset properties.",
+ "description": "ADLS Gen 1 file data set properties.",
"x-ms-client-flatten": true
}
},
@@ -5041,7 +5041,7 @@
}
},
"SqlDWTableDataSet": {
- "description": "A SQL DW table dataset.",
+ "description": "A SQL DW table data set.",
"type": "object",
"allOf": [
{
@@ -5051,7 +5051,7 @@
"properties": {
"properties": {
"$ref": "#/definitions/SqlDWTableProperties",
- "description": "SQL DW table dataset properties.",
+ "description": "SQL DW table data set properties.",
"x-ms-client-flatten": true
}
},
@@ -5081,7 +5081,7 @@
}
},
"SqlDBTableDataSet": {
- "description": "A SQL DB table dataset.",
+ "description": "A SQL DB table data set.",
"type": "object",
"allOf": [
{
@@ -5091,7 +5091,7 @@
"properties": {
"properties": {
"$ref": "#/definitions/SqlDBTableProperties",
- "description": "SQL DB table dataset properties.",
+ "description": "SQL DB table data set properties.",
"x-ms-client-flatten": true
}
},
@@ -5121,7 +5121,7 @@
}
},
"BlobDataSetMapping": {
- "description": "A Blob dataset mapping.",
+ "description": "A Blob data set mapping.",
"required": [
"properties"
],
@@ -5134,20 +5134,21 @@
"properties": {
"properties": {
"$ref": "#/definitions/BlobMappingProperties",
- "description": "Blob dataset mapping properties.",
+ "description": "Blob data set mapping properties.",
"x-ms-client-flatten": true
}
},
"x-ms-discriminator-value": "Blob"
},
"BlobMappingProperties": {
- "description": "Azure storage Blob dataset mapping property bag.",
+ "description": "Azure storage Blob data set mapping property bag.",
"required": [
"containerName",
"filePath",
"subscriptionId",
"resourceGroup",
- "storageAccountName"
+ "storageAccountName",
+ "dataSetId"
],
"type": "object",
"properties": {
@@ -5156,11 +5157,11 @@
"type": "string"
},
"dataSetId": {
- "description": "Gets the id of source dataset.",
+ "description": "The id of the source data set.",
"type": "string"
},
"dataSetMappingStatus": {
- "description": "Gets the status of the dataset mapping.",
+ "description": "Gets the status of the data set mapping.",
"enum": [
"Ok",
"Broken"
@@ -5202,7 +5203,7 @@
}
},
"BlobFolderDataSetMapping": {
- "description": "A Blob folder dataset mapping.",
+ "description": "A Blob folder data set mapping.",
"required": [
"properties"
],
@@ -5215,20 +5216,21 @@
"properties": {
"properties": {
"$ref": "#/definitions/BlobFolderMappingProperties",
- "description": "Blob folder dataset mapping properties.",
+ "description": "Blob folder data set mapping properties.",
"x-ms-client-flatten": true
}
},
"x-ms-discriminator-value": "BlobFolder"
},
"BlobFolderMappingProperties": {
- "description": "Azure storage Blob folder dataset mapping property bag.",
+ "description": "Azure storage Blob folder data set mapping property bag.",
"required": [
"containerName",
"prefix",
"subscriptionId",
"resourceGroup",
- "storageAccountName"
+ "storageAccountName",
+ "dataSetId"
],
"type": "object",
"properties": {
@@ -5237,11 +5239,11 @@
"type": "string"
},
"dataSetId": {
- "description": "Gets the id of source dataset.",
+ "description": "The id of the source data set.",
"type": "string"
},
"dataSetMappingStatus": {
- "description": "Gets the status of the dataset mapping.",
+ "description": "Gets the status of the data set mapping.",
"enum": [
"Ok",
"Broken"
@@ -5271,7 +5273,7 @@
}
},
"BlobContainerDataSetMapping": {
- "description": "A Blob container dataset mapping.",
+ "description": "A Blob container data set mapping.",
"required": [
"properties"
],
@@ -5284,19 +5286,20 @@
"properties": {
"properties": {
"$ref": "#/definitions/BlobContainerMappingProperties",
- "description": "Blob container dataset mapping properties.",
+ "description": "Blob container data set mapping properties.",
"x-ms-client-flatten": true
}
},
"x-ms-discriminator-value": "Container"
},
"BlobContainerMappingProperties": {
- "description": "Azure storage Blob container dataset mapping property bag.",
+ "description": "Azure storage Blob container data set mapping property bag.",
"required": [
"containerName",
"subscriptionId",
"resourceGroup",
- "storageAccountName"
+ "storageAccountName",
+ "dataSetId"
],
"type": "object",
"properties": {
@@ -5305,11 +5308,11 @@
"type": "string"
},
"dataSetId": {
- "description": "Gets the id of source dataset.",
+ "description": "The id of the source data set.",
"type": "string"
},
"dataSetMappingStatus": {
- "description": "Gets the status of the dataset mapping.",
+ "description": "Gets the status of the data set mapping.",
"enum": [
"Ok",
"Broken"
@@ -5335,7 +5338,7 @@
}
},
"ADLSGen2FileDataSetMapping": {
- "description": "An ADLS Gen2 file dataset mapping.",
+ "description": "An ADLS Gen2 file data set mapping.",
"required": [
"properties"
],
@@ -5348,29 +5351,30 @@
"properties": {
"properties": {
"$ref": "#/definitions/ADLSGen2FileDataSetMappingProperties",
- "description": "ADLS Gen2 file dataset mapping properties.",
+ "description": "ADLS Gen2 file data set mapping properties.",
"x-ms-client-flatten": true
}
},
"x-ms-discriminator-value": "AdlsGen2File"
},
"ADLSGen2FileDataSetMappingProperties": {
- "description": "ADLS Gen 2 file dataset mapping property bag.",
+ "description": "ADLS Gen 2 file data set mapping property bag.",
"required": [
"fileSystem",
"filePath",
"subscriptionId",
"resourceGroup",
- "storageAccountName"
+ "storageAccountName",
+ "dataSetId"
],
"type": "object",
"properties": {
"dataSetId": {
- "description": "Gets the id of source dataset.",
+ "description": "The id of the source data set.",
"type": "string"
},
"dataSetMappingStatus": {
- "description": "Gets the status of the dataset mapping.",
+ "description": "Gets the status of the data set mapping.",
"enum": [
"Ok",
"Broken"
@@ -5416,7 +5420,7 @@
}
},
"ADLSGen2FolderDataSetMapping": {
- "description": "An ADLS Gen2 folder dataset mapping.",
+ "description": "An ADLS Gen2 folder data set mapping.",
"required": [
"properties"
],
@@ -5429,29 +5433,30 @@
"properties": {
"properties": {
"$ref": "#/definitions/ADLSGen2FolderDataSetMappingProperties",
- "description": "ADLS Gen2 folder dataset mapping properties.",
+ "description": "ADLS Gen2 folder data set mapping properties.",
"x-ms-client-flatten": true
}
},
"x-ms-discriminator-value": "AdlsGen2Folder"
},
"ADLSGen2FolderDataSetMappingProperties": {
- "description": "ADLS Gen 2 folder dataset mapping property bag.",
+ "description": "ADLS Gen 2 folder data set mapping property bag.",
"required": [
"fileSystem",
"folderPath",
"subscriptionId",
"resourceGroup",
- "storageAccountName"
+ "storageAccountName",
+ "dataSetId"
],
"type": "object",
"properties": {
"dataSetId": {
- "description": "Gets the id of source dataset.",
+ "description": "The id of the source data set.",
"type": "string"
},
"dataSetMappingStatus": {
- "description": "Gets the status of the dataset mapping.",
+ "description": "Gets the status of the data set mapping.",
"enum": [
"Ok",
"Broken"
@@ -5485,7 +5490,7 @@
}
},
"ADLSGen2FileSystemDataSetMapping": {
- "description": "An ADLS Gen2 file system dataset mapping.",
+ "description": "An ADLS Gen2 file system data set mapping.",
"required": [
"properties"
],
@@ -5498,28 +5503,29 @@
"properties": {
"properties": {
"$ref": "#/definitions/ADLSGen2FileSystemDataSetMappingProperties",
- "description": "ADLS Gen2 file system dataset mapping properties.",
+ "description": "ADLS Gen2 file system data set mapping properties.",
"x-ms-client-flatten": true
}
},
"x-ms-discriminator-value": "AdlsGen2FileSystem"
},
"ADLSGen2FileSystemDataSetMappingProperties": {
- "description": "ADLS Gen 2 file system dataset mapping property bag.",
+ "description": "ADLS Gen 2 file system data set mapping property bag.",
"required": [
"fileSystem",
"subscriptionId",
"resourceGroup",
- "storageAccountName"
+ "storageAccountName",
+ "dataSetId"
],
"type": "object",
"properties": {
"dataSetId": {
- "description": "Gets the id of source dataset.",
+ "description": "The id of the source data set.",
"type": "string"
},
"dataSetMappingStatus": {
- "description": "Gets the status of the dataset mapping.",
+ "description": "Gets the status of the data set mapping.",
"enum": [
"Ok",
"Broken"
@@ -5549,7 +5555,7 @@
}
},
"SqlDWTableDataSetMapping": {
- "description": "A SQL DW Table dataset mapping.",
+ "description": "A SQL DW Table data set mapping.",
"required": [
"properties"
],
@@ -5562,7 +5568,7 @@
"properties": {
"properties": {
"$ref": "#/definitions/SqlDWTableDataSetMappingProperties",
- "description": "Sql DW dataset mapping properties.",
+ "description": "Sql DW data set mapping properties.",
"x-ms-client-flatten": true
}
},
@@ -5573,16 +5579,17 @@
"required": [
"dataWarehouseName",
"tableName",
- "sqlServerResourceId"
+ "sqlServerResourceId",
+ "dataSetId"
],
"type": "object",
"properties": {
"dataSetId": {
- "description": "Gets the id of source dataset.",
+ "description": "The id of the source data set.",
"type": "string"
},
"dataSetMappingStatus": {
- "description": "Gets the status of the dataset mapping.",
+ "description": "Gets the status of the data set mapping.",
"enum": [
"Ok",
"Broken"
@@ -5608,7 +5615,7 @@
}
},
"SqlDBTableDataSetMapping": {
- "description": "A SQL DB Table dataset mapping.",
+ "description": "A SQL DB Table data set mapping.",
"required": [
"properties"
],
@@ -5621,7 +5628,7 @@
"properties": {
"properties": {
"$ref": "#/definitions/SqlDBTableDataSetMappingProperties",
- "description": "Sql DB dataset mapping properties.",
+ "description": "Sql DB data set mapping properties.",
"x-ms-client-flatten": true
}
},
@@ -5632,7 +5639,8 @@
"required": [
"databaseName",
"tableName",
- "sqlServerResourceId"
+ "sqlServerResourceId",
+ "dataSetId"
],
"type": "object",
"properties": {
@@ -5641,11 +5649,11 @@
"type": "string"
},
"dataSetId": {
- "description": "Gets the id of source dataset.",
+ "description": "The id of the source data set.",
"type": "string"
},
"dataSetMappingStatus": {
- "description": "Gets the status of the dataset mapping.",
+ "description": "Gets the status of the data set mapping.",
"enum": [
"Ok",
"Broken"
@@ -5813,4 +5821,4 @@
}
],
"tags": []
-}
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Create.json
index bc26387cf309..7d5624e94759 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Create.json
@@ -9,6 +9,7 @@
"dataSetMapping": {
"kind": "Blob",
"properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
"storageAccountName": "storage2",
"filePath": "file21",
"containerName": "C1",
@@ -52,6 +53,7 @@
"body": {
"kind": "Blob",
"properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d227",
"storageAccountName": "storage2",
"filePath": "file21",
"containerName": "C1",
@@ -64,4 +66,4 @@
}
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Get.json
index ef410eac4cd0..042b82b80e9e 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Get.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Get.json
@@ -19,6 +19,7 @@
"body": {
"kind": "Blob",
"properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
"storageAccountName": "storage2",
"filePath": "file21",
"containerName": "C1",
@@ -31,4 +32,4 @@
}
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_ListByShareSubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_ListByShareSubscription.json
index bab66acde4ce..bafa2b3b3773 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_ListByShareSubscription.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_ListByShareSubscription.json
@@ -20,6 +20,7 @@
{
"kind": "Blob",
"properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
"storageAccountName": "storage2",
"filePath": "file21",
"containerName": "C1",
@@ -33,6 +34,7 @@
{
"kind": "Blob",
"properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d227",
"storageAccountName": "storage2",
"filePath": "file21",
"containerName": "C1",
@@ -47,4 +49,4 @@
}
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDB_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDB_Create.json
index ab622f7c7c1f..43eaa8fa5c7e 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDB_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDB_Create.json
@@ -9,7 +9,8 @@
"dataSetMapping": {
"kind": "SqlDBTable",
"properties": {
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"databaseName": "Database1",
"tableName": "Table1"
}
@@ -28,7 +29,7 @@
"kind": "SqlDBTable",
"properties": {
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"databaseName": "Database1",
"tableName": "Table1"
},
@@ -48,7 +49,8 @@
"body": {
"kind": "SqlDBTable",
"properties": {
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"databaseName": "Database1",
"tableName": "Table1"
},
@@ -58,4 +60,4 @@
}
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_AdlsGen2File_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json
similarity index 95%
rename from specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_AdlsGen2File_Create.json
rename to specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json
index e0dda92a81aa..d51bdd02a23a 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_AdlsGen2File_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json
@@ -9,6 +9,7 @@
"dataSetMapping": {
"kind": "AdlsGen2File",
"properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
"storageAccountName": "storage2",
"filePath": "file21",
"fileSystem": "fileSystem",
@@ -54,6 +55,7 @@
"body": {
"kind": "AdlsGen2File",
"properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
"storageAccountName": "storage2",
"filePath": "file21",
"fileSystem": "fileSystem",
@@ -67,4 +69,4 @@
}
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDW_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDW_Create.json
index 53febb414601..d7461ffdffee 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDW_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDW_Create.json
@@ -9,7 +9,8 @@
"dataSetMapping": {
"kind": "SqlDWTable",
"properties": {
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
"tableName": "Table1"
}
@@ -28,7 +29,7 @@
"kind": "SqlDWTable",
"properties": {
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
"tableName": "Table1"
},
@@ -48,7 +49,8 @@
"body": {
"kind": "SqlDWTable",
"properties": {
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
"tableName": "Table1"
},
@@ -58,4 +60,4 @@
}
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json
index 654f0e8d3194..9569da347267 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json
@@ -64,4 +64,4 @@
}
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Get.json
index 794ade8c14ef..e31bab0c773f 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Get.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Get.json
@@ -31,4 +31,4 @@
}
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_ListByShare.json
index 377709df3724..76ac50a8787c 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_ListByShare.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_ListByShare.json
@@ -47,4 +47,4 @@
}
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDBTable_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDBTable_Create.json
index a01248d5ae12..dfae36d27bc8 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDBTable_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDBTable_Create.json
@@ -59,4 +59,4 @@
}
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDWTable_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDWTable_Create.json
index 3560759e22f7..2758b144c390 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDWTable_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDWTable_Create.json
@@ -9,7 +9,7 @@
"dataSet": {
"kind": "SqlDWTable",
"properties": {
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
"tableName": "Table1"
}
@@ -28,7 +28,7 @@
"kind": "SqlDWTable",
"properties": {
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
"tableName": "Table1"
},
@@ -49,7 +49,7 @@
"kind": "SqlDWTable",
"properties": {
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
"tableName": "Table1"
},
@@ -59,4 +59,4 @@
}
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json
index 8ef6f9840cb6..ba84858c928d 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json
@@ -34,4 +34,4 @@
}
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/readme.md b/specification/datashare/resource-manager/readme.md
index ca584ab208dd..542497a94be1 100644
--- a/specification/datashare/resource-manager/readme.md
+++ b/specification/datashare/resource-manager/readme.md
@@ -125,4 +125,3 @@ uncomment the `exclude-file` section below and add the file paths.
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```
-
From 191aa6f4e91585f08acf453f47817a36f1db9c69 Mon Sep 17 00:00:00 2001
From: "[MSFT] Bowen Wan"
Date: Thu, 24 Oct 2019 16:57:38 +0800
Subject: [PATCH 055/189] 1. Make PUT and PATCH against App resource supports
async. (#7594)
2. Remove "Processing" enum from DeploymentResourceProperties's status property.
3. Rename "Processing" enum to "Updating" for DeploymentResourceProperties's provisioningState.
---
.../2019-05-01-preview/appplatform.json | 35 +++++++++++++++----
.../examples/Apps_CreateOrUpdate.json | 22 ++++++++++++
.../examples/Apps_Update.json | 22 ++++++++++++
.../examples/Deployments_CreateOrUpdate.json | 6 ++--
.../examples/Deployments_Get.json | 2 +-
.../examples/Deployments_List.json | 2 +-
...Deployments_ListClusterAllDeployments.json | 2 +-
.../examples/Deployments_Update.json | 4 +--
8 files changed, 80 insertions(+), 15 deletions(-)
diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json
index 9be220364c65..63c90804716b 100644
--- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json
+++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json
@@ -482,6 +482,12 @@
"$ref": "#/definitions/AppResource"
}
},
+ "201": {
+ "description": "Created. The response describes the new App and contains a Location header to query the operation result.",
+ "schema": {
+ "$ref": "#/definitions/AppResource"
+ }
+ },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
@@ -489,6 +495,10 @@
}
}
},
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
"x-ms-examples": {
"Apps_CreateOrUpdate": {
"$ref": "./examples/Apps_CreateOrUpdate.json"
@@ -577,6 +587,12 @@
"$ref": "#/definitions/AppResource"
}
},
+ "202": {
+ "description": "Accepted. The response indicates the exiting App is now updating and contains a Location header to query the operation result.",
+ "schema": {
+ "$ref": "#/definitions/AppResource"
+ }
+ },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
@@ -584,6 +600,10 @@
}
}
},
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
"x-ms-examples": {
"Apps_Update": {
"$ref": "./examples/Apps_Update.json"
@@ -2053,7 +2073,9 @@
"description": "Provisioning state of the App",
"enum": [
"Succeeded",
- "Failed"
+ "Failed",
+ "Creating",
+ "Updating"
],
"type": "string",
"readOnly": true,
@@ -2300,15 +2322,11 @@
"type": "string",
"readOnly": true
},
- "deploymentSettings": {
- "$ref": "#/definitions/DeploymentSettings",
- "description": "Deployment settings of the Deployment"
- },
"provisioningState": {
"description": "Provisioning state of the Deployment",
"enum": [
"Creating",
- "Processing",
+ "Updating",
"Succeeded",
"Failed"
],
@@ -2319,6 +2337,10 @@
"modelAsString": true
}
},
+ "deploymentSettings": {
+ "$ref": "#/definitions/DeploymentSettings",
+ "description": "Deployment settings of the Deployment"
+ },
"status": {
"description": "Status of the Deployment",
"enum": [
@@ -2326,7 +2348,6 @@
"Stopped",
"Running",
"Failed",
- "Processing",
"Allocating",
"Upgrading",
"Compiling"
diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_CreateOrUpdate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_CreateOrUpdate.json
index 83202ddf208f..b654b7914e0c 100644
--- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_CreateOrUpdate.json
+++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_CreateOrUpdate.json
@@ -44,6 +44,28 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp",
"name": "myapp"
}
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "public": true,
+ "url": "myapp.myservice.azureapps.io",
+ "provisioningState": "Creating",
+ "activeDeploymentName": "mydeployment1",
+ "temporaryDisk": {
+ "sizeInGB": 2,
+ "mountPath": "mytemporarydisk"
+ },
+ "persistentDisk": {
+ "sizeInGB": 2,
+ "usedInGB": 1,
+ "mountPath": "mypersistentdisk"
+ }
+ },
+ "type": "Microsoft.AppPlatform/Spring/apps",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp",
+ "name": "myapp"
+ }
}
}
}
diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_Update.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_Update.json
index 83202ddf208f..53b29adc0389 100644
--- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_Update.json
+++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Apps_Update.json
@@ -44,6 +44,28 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp",
"name": "myapp"
}
+ },
+ "202": {
+ "body": {
+ "properties": {
+ "public": true,
+ "url": "myapp.myservice.azureapps.io",
+ "provisioningState": "Updating",
+ "activeDeploymentName": "mydeployment1",
+ "temporaryDisk": {
+ "sizeInGB": 2,
+ "mountPath": "mytemporarydisk"
+ },
+ "persistentDisk": {
+ "sizeInGB": 2,
+ "usedInGB": 1,
+ "mountPath": "mypersistentdisk"
+ }
+ },
+ "type": "Microsoft.AppPlatform/Spring/apps",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp",
+ "name": "myapp"
+ }
}
}
}
diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_CreateOrUpdate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_CreateOrUpdate.json
index 624ca26bcd03..a5ee07e6b0cb 100644
--- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_CreateOrUpdate.json
+++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_CreateOrUpdate.json
@@ -40,6 +40,7 @@
"artifactSelector": "sub-module-1"
},
"appName": "myapp",
+ "provisioningState": "Updating",
"deploymentSettings": {
"cpu": 1,
"memoryInGB": 3,
@@ -50,8 +51,7 @@
},
"runtimeVersion": "Java_8"
},
- "provisioningState": "Processing",
- "status": "Processing",
+ "status": "Compiling",
"active": false,
"instances": [
{
@@ -76,6 +76,7 @@
"artifactSelector": "sub-module-1"
},
"appName": "myapp",
+ "provisioningState": "Succeeded",
"deploymentSettings": {
"cpu": 1,
"memoryInGB": 3,
@@ -86,7 +87,6 @@
},
"runtimeVersion": "Java_8"
},
- "provisioningState": "Succeeded",
"status": "Running",
"active": false,
"instances": [
diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Get.json
index e574a0dea582..62c9eb162cfe 100644
--- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Get.json
+++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Get.json
@@ -18,6 +18,7 @@
"artifactSelector": "sub-module-1"
},
"appName": "myapp",
+ "provisioningState": "Succeeded",
"deploymentSettings": {
"cpu": 1,
"memoryInGB": 3,
@@ -28,7 +29,6 @@
},
"runtimeVersion": "Java_8"
},
- "provisioningState": "Succeeded",
"status": "Running",
"active": false,
"instances": [
diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_List.json
index 221113ccf649..d5760260e674 100644
--- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_List.json
+++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_List.json
@@ -19,6 +19,7 @@
"artifactSelector": "sub-module-1"
},
"appName": "myapp",
+ "provisioningState": "Succeeded",
"deploymentSettings": {
"cpu": 1,
"memoryInGB": 3,
@@ -29,7 +30,6 @@
},
"runtimeVersion": "Java_8"
},
- "provisioningState": "Succeeded",
"status": "Running",
"active": false,
"instances": [
diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_ListClusterAllDeployments.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_ListClusterAllDeployments.json
index 221113ccf649..d5760260e674 100644
--- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_ListClusterAllDeployments.json
+++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_ListClusterAllDeployments.json
@@ -19,6 +19,7 @@
"artifactSelector": "sub-module-1"
},
"appName": "myapp",
+ "provisioningState": "Succeeded",
"deploymentSettings": {
"cpu": 1,
"memoryInGB": 3,
@@ -29,7 +30,6 @@
},
"runtimeVersion": "Java_8"
},
- "provisioningState": "Succeeded",
"status": "Running",
"active": false,
"instances": [
diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Update.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Update.json
index c967468f9f58..691671918341 100644
--- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Update.json
+++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Deployments_Update.json
@@ -30,6 +30,7 @@
"artifactSelector": "sub-module-1"
},
"appName": "myapp",
+ "provisioningState": "Succeeded",
"deploymentSettings": {
"cpu": 1,
"memoryInGB": 3,
@@ -40,7 +41,6 @@
},
"runtimeVersion": "Java_8"
},
- "provisioningState": "Succeeded",
"status": "Running",
"active": false,
"instances": [
@@ -66,6 +66,7 @@
"artifactSelector": "sub-module-1"
},
"appName": "myapp",
+ "provisioningState": "Updating",
"deploymentSettings": {
"cpu": 1,
"memoryInGB": 3,
@@ -76,7 +77,6 @@
},
"runtimeVersion": "Java_8"
},
- "provisioningState": "Processing",
"status": "Running",
"active": false,
"instances": [
From 4694cea3e56c5ce1a81ae244747d1b23358d11d2 Mon Sep 17 00:00:00 2001
From: mozehgir <32183061+mozehgir@users.noreply.github.com>
Date: Thu, 24 Oct 2019 14:17:29 -0700
Subject: [PATCH 056/189] Create SwaggerValidationTools.md
---
documentation/SwaggerValidationTools.md | 56 +++++++++++++++++++++++++
1 file changed, 56 insertions(+)
create mode 100644 documentation/SwaggerValidationTools.md
diff --git a/documentation/SwaggerValidationTools.md b/documentation/SwaggerValidationTools.md
new file mode 100644
index 000000000000..90188e486657
--- /dev/null
+++ b/documentation/SwaggerValidationTools.md
@@ -0,0 +1,56 @@
+There are some tools that can help you make sure your specifications conform to the accepted guidelines. Better upfront validation before the final pull request is sent will result in quicker turnaround time.
+
+## Validation tools available online (for MS FTEs)
+
+The [`OpenAPI Hub`](https://aka.ms/openapihub) is a great online website to find your workflow and get access to online validation tools.
+
+Available tools:
+- [**`OpenAPI Hub Linter validation tool`**](https://portal.azure-devex-tools.com/app/tools/linter)
+- [**`OpenAPI Hub Static validation tool`**](https://portal.azure-devex-tools.com/app/tools/static-validation/static/errors/default)
+- [**`OpenAPI Hub Swagger diff tool`**](https://portal.azure-devex-tools.com/app/tools/diff)
+
+## Swagger Authoring ##
+
+VS code extension is our recommendation for authoring swaggers. In addition to having a trivial GUI, it also provides the same functionalities as the Linter tool explained below.
+
+Installation instructions available [here](https://marketplace.visualstudio.com/items?itemName=ms-vscode.autorest).
+
+An alternative to this is the [OpenAPI Initiative Swagger editor](http://editor.swagger.io/#/). This will help find basic issues in a Swagger file. However, we apply a higher bar than this validator, if this site doesn't show errors doesn't mean that your specification is ready to merge.
+
+## Validation tools available locally
+
+The various tools mentioned above are also available for local download.
+
+- Install Node.js (7.10.0 or greater)
+
+
+**Linter Validator:**
+
+ - `npm install -g autorest`
+ - `autoRest --azure-validator=true`
+
+
+**Static Validator (Semantic):**
+
+ - `npm install -g oav`
+ - `bash-3.2$ oav validate-spec `
+
+**Static Validator (Model):**
+
+ - `npm install -g oav`
+ - `bash-3.2$ oav validate-example `
+
+**Swagger diff tool**
+
+ - `npm install -g oad@0.1.7`
+ - `bash-3.2$ oad compare `
+
+## I don't agree with the reported errors, how do I suppress them? ## (for MS FTEs)
+
+If you believe that the errors reported are false positives or don't apply for your specs, you might consider reviewing the validation errors [suppression process](https://github.com/Azure/adx-documentation-pr/wiki/Swagger-Validation-Errors-Suppression) and request suppression of these errors.
+
+
+
+
+
+
From 179fdf29dc65d6cf1471fde5160710aba36ffbee Mon Sep 17 00:00:00 2001
From: mozehgir <32183061+mozehgir@users.noreply.github.com>
Date: Thu, 24 Oct 2019 14:17:49 -0700
Subject: [PATCH 057/189] Update SwaggerValidationTools.md
---
documentation/SwaggerValidationTools.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/documentation/SwaggerValidationTools.md b/documentation/SwaggerValidationTools.md
index 90188e486657..7bfbf2b80272 100644
--- a/documentation/SwaggerValidationTools.md
+++ b/documentation/SwaggerValidationTools.md
@@ -45,7 +45,7 @@ The various tools mentioned above are also available for local download.
- `npm install -g oad@0.1.7`
- `bash-3.2$ oad compare `
-## I don't agree with the reported errors, how do I suppress them? ## (for MS FTEs)
+## I don't agree with the reported errors, how do I suppress them? (for MS FTEs)
If you believe that the errors reported are false positives or don't apply for your specs, you might consider reviewing the validation errors [suppression process](https://github.com/Azure/adx-documentation-pr/wiki/Swagger-Validation-Errors-Suppression) and request suppression of these errors.
From 7234ee9918f03970e04f7265c3ce0988ac35f84d Mon Sep 17 00:00:00 2001
From: mozehgir <32183061+mozehgir@users.noreply.github.com>
Date: Thu, 24 Oct 2019 14:19:09 -0700
Subject: [PATCH 058/189] Create Getting started with OpenAPI specifications.md
---
...ing started with OpenAPI specifications.md | 23 +++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 documentation/Getting started with OpenAPI specifications.md
diff --git a/documentation/Getting started with OpenAPI specifications.md b/documentation/Getting started with OpenAPI specifications.md
new file mode 100644
index 000000000000..e04f54f96b5c
--- /dev/null
+++ b/documentation/Getting started with OpenAPI specifications.md
@@ -0,0 +1,23 @@
+### What is an OpenAPI Specification?
+OpenAPI Specification (formerly known as Swagger Specification) is an API description format for REST APIs. An OpenAPI file allows you to describe your entire API, including:
+* Available endpoints (/users) and operations on each endpoint (GET /users, POST /users)
+* Operation parameters input and output for each operation
+* Authentication methods
+* Contact information, license, terms of use and other information
+
+Currently, we only support `OpenAPI Specification 2.0` or `Swagger V2.0`.
+
+### Helpful Resources
+* **[`Understanding the GitHub flow`](https://guides.github.com/introduction/flow/)**
+* **[`Microsft REST-API guidelines`](https://github.com/microsoft/api-guidelines/blob/vNext/Guidelines.md)**
+* **[`Structure of a Swagger specification`](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/creating-swagger.md)**
+* **[`Sample Swagger specification`](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/samplefiles/Microsoft.YourServiceName/stable/YYYY-MM-DD/YourServiceName.json)**
+* **[`Sample Readme.md`](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/samplefiles/samplereadme.md)**
+* **[`Swagger style guide`](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/swagger-style-cheatsheet.md)**
+* **[`Authoring good Swagger descriptions`](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/swagger-authoring-descriptions.md)**
+* **[`Validation tools`](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/SwaggerValidationTools.md)**
+ * [`Validation checks through automated tools`](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/openapi-authoring-automated-guidelines.md)
+ * [`Validation checks done manually`](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/openapi-authoring-manual-guidelines.md)
+ * [`OAV Validation checks`](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/Semantic-and-Model-Violations-Reference.md)
+* **[`Breaking Changes guidelines`](https://github.com/Azure/adx-documentation-pr/wiki/Breaking-changes-guidelines)**
+* **[`x-ms-examples`](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/x-ms-examples.md)**
From dca4e0c59c9c453267ef31a2417203ee35fc324d Mon Sep 17 00:00:00 2001
From: Arvind Krishnaa J
Date: Thu, 24 Oct 2019 15:50:33 -0700
Subject: [PATCH 059/189] Rename 'Azure search index' -> 'index' (#7628)
---
.../stable/2019-05-06/searchindex.json | 2 +-
.../track1/stable/2019-05-06/searchindex.json | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/searchindex.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/searchindex.json
index 15578ddb879e..89a21603827a 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/searchindex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/stable/2019-05-06/searchindex.json
@@ -45,7 +45,7 @@
"$ref": "./examples/SearchIndexCountDocuments.json"
}
},
- "description": "Queries the number of documents in the Azure Search index.",
+ "description": "Queries the number of documents in the index.",
"parameters": [
{
"$ref": "#/parameters/ClientRequestIdParameter"
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/stable/2019-05-06/searchindex.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/stable/2019-05-06/searchindex.json
index 15578ddb879e..89a21603827a 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/stable/2019-05-06/searchindex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/stable/2019-05-06/searchindex.json
@@ -45,7 +45,7 @@
"$ref": "./examples/SearchIndexCountDocuments.json"
}
},
- "description": "Queries the number of documents in the Azure Search index.",
+ "description": "Queries the number of documents in the index.",
"parameters": [
{
"$ref": "#/parameters/ClientRequestIdParameter"
From 1ceb5dcd7d7840182842b946c6c344cc2f7a50d5 Mon Sep 17 00:00:00 2001
From: j-so
Date: Thu, 24 Oct 2019 18:00:46 -0700
Subject: [PATCH 060/189] Add new EventGrid event type for Azure Machine
Learning Services (#7608)
---
.../2018-01-01/MachineLearningServices.json | 130 ++++++++++++++++++
specification/eventgrid/data-plane/readme.md | 1 +
2 files changed, 131 insertions(+)
create mode 100644 specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json
diff --git a/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json
new file mode 100644
index 000000000000..0934272be086
--- /dev/null
+++ b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json
@@ -0,0 +1,130 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2018-01-01",
+ "title": "Schema of Azure Machine Learning Services events published to Azure Event Grid",
+ "description": "Describes the schema of the Azure Machine Learning Services events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent."
+ },
+ "paths": {},
+ "definitions": {
+ "MachineLearningServicesModelRegisteredEventData": {
+ "description": "Schema of the Data property of an EventGridEvent for an Microsoft.MachineLearningServices.ModelRegistered event.",
+ "type": "object",
+ "properties": {
+ "modelName": {
+ "description": "The name of the model that was registered.",
+ "type": "string"
+ },
+ "modelVersion": {
+ "description": "The version of the model that was registered.",
+ "type": "integer"
+ },
+ "modelTags": {
+ "description": "The tags of the model that was registered.",
+ "type": "object"
+ },
+ "modelProperties": {
+ "description": "The properties of the model that was registered.",
+ "type": "object"
+ }
+ }
+ },
+ "MachineLearningServicesModelDeployedEventData": {
+ "description": "Schema of the Data property of an EventGridEvent for an Microsoft.MachineLearningServices.ModelDeployed event.",
+ "type": "object",
+ "properties": {
+ "serviceName": {
+ "description": "The name of the deployed service.",
+ "type": "string"
+ },
+ "serviceComputeType": {
+ "description": "The compute type (e.g. ACI, AKS) of the deployed service.",
+ "type": "string"
+ },
+ "modelIds": {
+ "description": "A common separated list of model IDs. The IDs of the models deployed in the service.",
+ "type": "string"
+ },
+ "serviceTags": {
+ "description": "The tags of the deployed service.",
+ "type": "object"
+ },
+ "serviceProperties": {
+ "description": "The properties of the deployed service.",
+ "type": "object"
+ }
+ }
+ },
+ "MachineLearningServicesRunCompletedEventData": {
+ "description": "Schema of the Data property of an EventGridEvent for an Microsoft.MachineLearningServices.RunCompleted event.",
+ "type": "object",
+ "properties": {
+ "experimentId": {
+ "description": "The ID of the experiment that the run belongs to.",
+ "type": "string"
+ },
+ "experimentName": {
+ "description": "The name of the experiment that the run belongs to.",
+ "type": "string"
+ },
+ "runId": {
+ "description": "The ID of the Run that was completed.",
+ "type": "string"
+ },
+ "runType": {
+ "description": "The Run Type of the completed Run.",
+ "type": "string"
+ },
+ "runTags": {
+ "description": "The tags of the completed Run.",
+ "type": "object"
+ },
+ "runProperties": {
+ "description": "The properties of the completed Run.",
+ "type": "object"
+ }
+ }
+ },
+ "MachineLearningServicesDatasetDriftDetectedEventData": {
+ "description": "Schema of the Data property of an EventGridEvent for an Microsoft.MachineLearningServices.DatasetDriftDetected event.",
+ "type": "object",
+ "properties": {
+ "dataDriftId": {
+ "description": "The ID of the data drift monitor that triggered the event.",
+ "type": "string"
+ },
+ "dataDriftName": {
+ "description": "The name of the data drift monitor that triggered the event.",
+ "type": "string"
+ },
+ "runId": {
+ "description": "The ID of the Run that detected data drift.",
+ "type": "string"
+ },
+ "baseDatasetId": {
+ "description": "The ID of the base Dataset used to detect drift.",
+ "type": "string"
+ },
+ "targetDatasetId": {
+ "description": "The ID of the target Dataset used to detect drift.",
+ "type": "string"
+ },
+ "driftCoefficient": {
+ "description": "The coefficient result that triggered the event.",
+ "type": "number",
+ "format": "double"
+ },
+ "startTime": {
+ "description": "The start time of the target dataset time series that resulted in drift detection.",
+ "type": "string",
+ "format": "date-time"
+ },
+ "endTime": {
+ "description": "The end time of the target dataset time series that resulted in drift detection.",
+ "type": "string",
+ "format": "date-time"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/eventgrid/data-plane/readme.md b/specification/eventgrid/data-plane/readme.md
index b530b170746f..9fc05b857233 100644
--- a/specification/eventgrid/data-plane/readme.md
+++ b/specification/eventgrid/data-plane/readme.md
@@ -56,6 +56,7 @@ input-file:
- Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json
- Microsoft.SignalRService/stable/2018-01-01/SignalRService.json
- Microsoft.KeyVault/stable/2018-01-01/KeyVault.json
+- Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json
```
---
From f64bd11676ab62cde186322d11fca7f5dda25f98 Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Fri, 25 Oct 2019 01:01:58 +0000
Subject: [PATCH 061/189] regenerated all-api-versions
---
specification/eventgrid/data-plane/readme.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/specification/eventgrid/data-plane/readme.md b/specification/eventgrid/data-plane/readme.md
index 9fc05b857233..9d7fa706249b 100644
--- a/specification/eventgrid/data-plane/readme.md
+++ b/specification/eventgrid/data-plane/readme.md
@@ -136,6 +136,7 @@ input-file:
- $(this-folder)/Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json
- $(this-folder)/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json
- $(this-folder)/Microsoft.KeyVault/stable/2018-01-01/KeyVault.json
+ - $(this-folder)/Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json
```
From c591bd71173bc427145365989240cff5c5e4316e Mon Sep 17 00:00:00 2001
From: Jingshu923 <52914166+Jingshu923@users.noreply.github.com>
Date: Fri, 25 Oct 2019 09:14:47 +0800
Subject: [PATCH 062/189] Update Db2LinkedServiceTypeProperties (#7546)
---
.../stable/2018-06-01/entityTypes/LinkedService.json | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json
index cac8e270da89..1a63a3fcebaf 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json
@@ -1270,6 +1270,14 @@
"description": "Password for authentication.",
"$ref": "../datafactory.json#/definitions/SecretBase"
},
+ "packageCollection": {
+ "type": "object",
+ "description": "Under where packages are created when querying database. Type: string (or Expression with resultType string)."
+ },
+ "certificateCommonName": {
+ "type": "object",
+ "description": "Certificate Common Name when TLS is enabled. Type: string (or Expression with resultType string)."
+ },
"encryptedCredential": {
"type": "object",
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
From 01cfd59417af8dbe0fa16aeda107eaf87a2775c9 Mon Sep 17 00:00:00 2001
From: Daniel Stack
Date: Thu, 24 Oct 2019 18:19:16 -0700
Subject: [PATCH 063/189] adding missing readonly property (#7428) (#7606)
---
.../2017-01-01-preview/examples/CreateAccount.json | 6 ++++++
.../2017-01-01-preview/examples/GetAccount.json | 3 +++
.../2017-01-01-preview/examples/UpdateAccount.json | 3 +++
.../stable/2017-01-01-preview/maps-management.json | 14 ++++++++++++++
.../stable/2018-05-01/examples/CreateAccount.json | 6 ++++++
.../stable/2018-05-01/examples/GetAccount.json | 3 +++
.../stable/2018-05-01/examples/UpdateAccount.json | 3 +++
7 files changed, 38 insertions(+)
diff --git a/specification/maps/resource-manager/Microsoft.Maps/stable/2017-01-01-preview/examples/CreateAccount.json b/specification/maps/resource-manager/Microsoft.Maps/stable/2017-01-01-preview/examples/CreateAccount.json
index 9a5e50f533fa..36ff16a28388 100644
--- a/specification/maps/resource-manager/Microsoft.Maps/stable/2017-01-01-preview/examples/CreateAccount.json
+++ b/specification/maps/resource-manager/Microsoft.Maps/stable/2017-01-01-preview/examples/CreateAccount.json
@@ -27,6 +27,9 @@
"sku": {
"name": "S0",
"tier": "Standard"
+ },
+ "properties": {
+ "x-ms-client-id": "string"
}
}
},
@@ -42,6 +45,9 @@
"sku": {
"name": "S0",
"tier": "Standard"
+ },
+ "properties": {
+ "x-ms-client-id": "string"
}
}
}
diff --git a/specification/maps/resource-manager/Microsoft.Maps/stable/2017-01-01-preview/examples/GetAccount.json b/specification/maps/resource-manager/Microsoft.Maps/stable/2017-01-01-preview/examples/GetAccount.json
index 1901bd642252..3ed5a0173460 100644
--- a/specification/maps/resource-manager/Microsoft.Maps/stable/2017-01-01-preview/examples/GetAccount.json
+++ b/specification/maps/resource-manager/Microsoft.Maps/stable/2017-01-01-preview/examples/GetAccount.json
@@ -18,6 +18,9 @@
"sku": {
"name": "S0",
"tier": "Standard"
+ },
+ "properties": {
+ "x-ms-client-id": "string"
}
}
},
diff --git a/specification/maps/resource-manager/Microsoft.Maps/stable/2017-01-01-preview/examples/UpdateAccount.json b/specification/maps/resource-manager/Microsoft.Maps/stable/2017-01-01-preview/examples/UpdateAccount.json
index 1f6fda9553a5..d03c90e5bce0 100644
--- a/specification/maps/resource-manager/Microsoft.Maps/stable/2017-01-01-preview/examples/UpdateAccount.json
+++ b/specification/maps/resource-manager/Microsoft.Maps/stable/2017-01-01-preview/examples/UpdateAccount.json
@@ -23,6 +23,9 @@
"sku": {
"name": "S0",
"tier": "Standard"
+ },
+ "properties": {
+ "x-ms-client-id": "string"
}
}
},
diff --git a/specification/maps/resource-manager/Microsoft.Maps/stable/2017-01-01-preview/maps-management.json b/specification/maps/resource-manager/Microsoft.Maps/stable/2017-01-01-preview/maps-management.json
index df159a8856bf..0ee185bf8f14 100644
--- a/specification/maps/resource-manager/Microsoft.Maps/stable/2017-01-01-preview/maps-management.json
+++ b/specification/maps/resource-manager/Microsoft.Maps/stable/2017-01-01-preview/maps-management.json
@@ -589,6 +589,11 @@
"readOnly": true,
"description": "The SKU of this account.",
"$ref": "#/definitions/Sku"
+ },
+ "properties": {
+ "readOnly": true,
+ "description": "The map account properties.",
+ "$ref": "#/definitions/MapsAccountProperties"
}
},
"allOf": [
@@ -784,6 +789,15 @@
}
}
}
+ },
+ "MapsAccountProperties": {
+ "description": "Additional Map account properties",
+ "properties": {
+ "x-ms-client-id": {
+ "description": "A unique identifier for the maps account",
+ "type": "string"
+ }
+ }
}
}
}
diff --git a/specification/maps/resource-manager/Microsoft.Maps/stable/2018-05-01/examples/CreateAccount.json b/specification/maps/resource-manager/Microsoft.Maps/stable/2018-05-01/examples/CreateAccount.json
index 2dbcc7a19085..ead879a2afe4 100644
--- a/specification/maps/resource-manager/Microsoft.Maps/stable/2018-05-01/examples/CreateAccount.json
+++ b/specification/maps/resource-manager/Microsoft.Maps/stable/2018-05-01/examples/CreateAccount.json
@@ -27,6 +27,9 @@
"sku": {
"name": "S0",
"tier": "Standard"
+ },
+ "properties": {
+ "x-ms-client-id": "string"
}
}
},
@@ -42,6 +45,9 @@
"sku": {
"name": "S0",
"tier": "Standard"
+ },
+ "properties": {
+ "x-ms-client-id": "string"
}
}
}
diff --git a/specification/maps/resource-manager/Microsoft.Maps/stable/2018-05-01/examples/GetAccount.json b/specification/maps/resource-manager/Microsoft.Maps/stable/2018-05-01/examples/GetAccount.json
index f1406936717a..b7898f9969e1 100644
--- a/specification/maps/resource-manager/Microsoft.Maps/stable/2018-05-01/examples/GetAccount.json
+++ b/specification/maps/resource-manager/Microsoft.Maps/stable/2018-05-01/examples/GetAccount.json
@@ -18,6 +18,9 @@
"sku": {
"name": "S0",
"tier": "Standard"
+ },
+ "properties": {
+ "x-ms-client-id": "string"
}
}
},
diff --git a/specification/maps/resource-manager/Microsoft.Maps/stable/2018-05-01/examples/UpdateAccount.json b/specification/maps/resource-manager/Microsoft.Maps/stable/2018-05-01/examples/UpdateAccount.json
index 97e96b0acb1d..56de4f4edcf9 100644
--- a/specification/maps/resource-manager/Microsoft.Maps/stable/2018-05-01/examples/UpdateAccount.json
+++ b/specification/maps/resource-manager/Microsoft.Maps/stable/2018-05-01/examples/UpdateAccount.json
@@ -23,6 +23,9 @@
"sku": {
"name": "S0",
"tier": "Standard"
+ },
+ "properties": {
+ "x-ms-client-id": "string"
}
}
},
From cd6f6d618759ba258fd4f15aa09d0aa18524531e Mon Sep 17 00:00:00 2001
From: shleiAmy <50385461+shleiAmy@users.noreply.github.com>
Date: Thu, 24 Oct 2019 18:20:30 -0700
Subject: [PATCH 064/189] add JSONWebKeySet in attestation.json file (#7490)
---
.../2018-09-01-preview/attestation.json | 10 +-
specification/common-types/rfcs/rfc7517.json | 104 ++++++++++++++++++
2 files changed, 110 insertions(+), 4 deletions(-)
create mode 100644 specification/common-types/rfcs/rfc7517.json
diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json
index 91497bfe111d..dee1500d26fa 100644
--- a/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json
+++ b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json
@@ -423,7 +423,11 @@
"attestationPolicy": {
"type": "string",
"description": "Name of attestation policy."
- }
+ },
+ "policySigningCertificates": {
+ "description": "JSON Web Key Set defining a set of X.509 Certificates that will represent the parent certificate for the signing certificate used for policy operations",
+ "$ref": "../../../../../common-types/rfcs/rfc7517.json#/definitions/JSONWebKeySet"
+ }
}
}
},
@@ -434,9 +438,7 @@
"required": true,
"type": "string",
"description": "Client API version.",
- "enum": [
- "2018-09-01-preview"
- ]
+ "enum": ["2018-09-01-preview"]
}
}
}
diff --git a/specification/common-types/rfcs/rfc7517.json b/specification/common-types/rfcs/rfc7517.json
new file mode 100644
index 000000000000..f856d152f368
--- /dev/null
+++ b/specification/common-types/rfcs/rfc7517.json
@@ -0,0 +1,104 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "1.0",
+ "title": "Common types"
+ },
+ "paths": {},
+ "definitions": {
+ "JSONWebKey": {
+ "type": "object",
+ "required": [
+ "use",
+ "kty",
+ "kid",
+ "alg"
+ ],
+ "properties": {
+ "alg": {
+ "description": "The \"alg\" (algorithm) parameter identifies the algorithm intended for\nuse with the key. The values used should either be registered in the\nIANA \"JSON Web Signature and Encryption Algorithms\" registry\nestablished by [JWA] or be a value that contains a Collision-\nResistant Name.",
+ "type": "string"
+ },
+ "crv": {
+ "description": "The \"crv\" (curve) parameter identifies the curve type",
+ "type": "string"
+ },
+ "d": {
+ "description": "RSA private exponent or ECC private key",
+ "type": "string"
+ },
+ "dp": {
+ "description": "RSA Private Key Parameter",
+ "type": "string"
+ },
+ "dq": {
+ "description": "RSA Private Key Parameter",
+ "type": "string"
+ },
+ "e": {
+ "description": "RSA public exponent, in Base64",
+ "type": "string"
+ },
+ "k": {
+ "description": "Symmetric key",
+ "type": "string"
+ },
+ "kid": {
+ "description": "The \"kid\" (key ID) parameter is used to match a specific key. This\nis used, for instance, to choose among a set of keys within a JWK Set\nduring key rollover. The structure of the \"kid\" value is\nunspecified. When \"kid\" values are used within a JWK Set, different\nkeys within the JWK Set SHOULD use distinct \"kid\" values. (One\nexample in which different keys might use the same \"kid\" value is if\nthey have different \"kty\" (key type) values but are considered to be\nequivalent alternatives by the application using them.) The \"kid\"\nvalue is a case-sensitive string.",
+ "type": "string"
+ },
+ "kty": {
+ "description": "The \"kty\" (key type) parameter identifies the cryptographic algorithm\nfamily used with the key, such as \"RSA\" or \"EC\". \"kty\" values should\neither be registered in the IANA \"JSON Web Key Types\" registry\nestablished by [JWA] or be a value that contains a Collision-\nResistant Name. The \"kty\" value is a case-sensitive string.",
+ "type": "string"
+ },
+ "n": {
+ "description": "RSA modulus, in Base64",
+ "type": "string"
+ },
+ "p": {
+ "description": "RSA secret prime",
+ "type": "string"
+ },
+ "q": {
+ "description": "RSA secret prime, with p < q",
+ "type": "string"
+ },
+ "qi": {
+ "description": "RSA Private Key Parameter",
+ "type": "string"
+ },
+ "use": {
+ "description": "Use (\"public key use\") identifies the intended use of\nthe public key. The \"use\" parameter is employed to indicate whether\na public key is used for encrypting data or verifying the signature\non data. Values are commonly \"sig\" (signature) or \"enc\" (encryption).",
+ "type": "string"
+ },
+ "x": {
+ "description": "X coordinate for the Elliptic Curve point",
+ "type": "string"
+ },
+ "x5c": {
+ "description": "The \"x5c\" (X.509 certificate chain) parameter contains a chain of one\nor more PKIX certificates [RFC5280]. The certificate chain is\nrepresented as a JSON array of certificate value strings. Each\nstring in the array is a base64-encoded (Section 4 of [RFC4648] --\nnot base64url-encoded) DER [ITU.X690.1994] PKIX certificate value.\nThe PKIX certificate containing the key value MUST be the first\ncertificate.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "y": {
+ "description": "Y coordinate for the Elliptic Curve point",
+ "type": "string"
+ }
+ }
+ },
+ "JSONWebKeySet": {
+ "type": "object",
+ "properties": {
+ "keys": {
+ "description": "The value of the \"keys\" parameter is an array of JWK values. By\ndefault, the order of the JWK values within the array does not imply\nan order of preference among them, although applications of JWK Sets\ncan choose to assign a meaning to the order for their purposes, if\ndesired.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/JSONWebKey"
+ }
+ }
+ }
+ }
+ }
+}
From c70c560a86853d4c83665550a8571202b46a3139 Mon Sep 17 00:00:00 2001
From: Yung-Shin Lin
Date: Thu, 24 Oct 2019 18:40:34 -0700
Subject: [PATCH 065/189] Layout API update in FormRecognzier 2.0-preview
(#7581)
* Adding FR v2.0 API updates
* PR Validation: Fix typo, missing file ref.
* PR Validation: Fix missed typo
* PR Validation: fixing model verification errors, doc string fixes.
* Fixing model verification, added Receipts endpoints, related examples.
* Fixing semantic validation error
* Update labelFile param
* fixing types
* Fixing model validation errors
* Fixing model verification errors, other fixes.
* Fixing mode verification error.
* Fixing typo.
* Fixing doc strings, Location header update, Change response code for Analyze calls
* Incorporating feedback from Paul.
* Feedback from Florian, verification fix.
* Fixing for merge verification.
* fixing for model verification tests
* fixing model verification errors.
* fixing example file to correct useLabelFile option.
* Update for Layout Analysis
* Update result for layout
* Update for OCRLanguage parameter
* Update from PR comment
* Remove language as a parameter
---
.../preview/v2.0/FormRecognizer.json | 84 +++++++++++++++++++
.../preview/v2.0/examples/LayoutBatch.json | 17 ++++
.../v2.0/examples/LayoutBatchResult.json | 24 ++++++
3 files changed, 125 insertions(+)
create mode 100644 specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/LayoutBatch.json
create mode 100644 specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/LayoutBatchResult.json
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/FormRecognizer.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/FormRecognizer.json
index b83cd6c5a204..c8d731724ddc 100644
--- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/FormRecognizer.json
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/FormRecognizer.json
@@ -395,6 +395,90 @@
}
}
}
+ },
+ "/layout/analyze": {
+ "post": {
+ "summary": "Analyze Layout",
+ "description": "Extract text and layout information from a given document. The input document must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png' or 'image/tiff'. Alternatively, use 'application/json' type to specify the location (Uri or local path) of the document to be analyzed.",
+ "operationId": "AnalyzeLayoutAsync",
+ "consumes": [
+ "application/pdf",
+ "application/json",
+ "image/jpeg",
+ "image/png",
+ "image/tiff"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/FileStream"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Request is queued successfully.",
+ "headers": {
+ "Operation-Location": {
+ "type": "string",
+ "description": "URL containing the resultId used to track the progress and obtain the result of the analyze operation."
+ }
+ }
+ },
+ "default": {
+ "description": "Response entity accompanying non-successful responses containing additional details about the error.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Analyze layout": {
+ "$ref": "./examples/LayoutBatch.json"
+ }
+ }
+ }
+ },
+ "/layout/analyzeResults/{resultId}": {
+ "get": {
+ "summary": "Get Analyze Layout Result",
+ "description": "Track the progress and obtain the result of the analyze layout operation",
+ "operationId": "GetAnalyzeLayoutResult",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "name": "resultId",
+ "in": "path",
+ "description": "Analyze operation result identifier.",
+ "required": true,
+ "type": "string",
+ "format": "uuid"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/AnalyzeOperationResult"
+ }
+ },
+ "default": {
+ "description": "Response entity accompanying non-successful responses containing additional details about the error.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get analyze layout result": {
+ "$ref": "./examples/LayoutBatchResult.json"
+ }
+ }
+ }
}
},
"definitions": {
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/LayoutBatch.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/LayoutBatch.json
new file mode 100644
index 000000000000..80a1ca6ad32a
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/LayoutBatch.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "endpoint": "{endpoint}",
+ "Content-Type": "application/json",
+ "Ocp-Apim-Subscription-Key": "{API key}",
+ "language": "en",
+ "body": {
+ }
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Operation-Location": "{endpoint}/formrecognizer/v2.0-preview/layout/analyzeResults/{resultId}"
+ }
+ }
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/LayoutBatchResult.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/LayoutBatchResult.json
new file mode 100644
index 000000000000..c694deac5388
--- /dev/null
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/LayoutBatchResult.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "endpoint": "{endpoint}",
+ "Content-Type": "application/json",
+ "Ocp-Apim-Subscription-Key": "{API key}",
+ "modelId": "{model Id}",
+ "resultId": "{result Id}",
+ "body": {}
+ },
+ "responses": {
+ "200": {
+ "body":{
+ "status": "succeeded",
+ "createdDateTime": "2019-05-01T10:53:21Z",
+ "lastUpdatedDateTime": "2019-05-01T10:53:23Z",
+ "analyzeResult": {
+ "version":"v2.0",
+ "readResults":[],
+ "pageResults":[]
+ }
+ }
+ }
+ }
+}
From c4dd4c9a657c0fdc9ad473177911e6f30e44cefe Mon Sep 17 00:00:00 2001
From: farehar
Date: Thu, 24 Oct 2019 18:52:55 -0700
Subject: [PATCH 066/189] Disable api generation for operations not supported
in public preview (#7625)
* Hybrid RP swagger
* Addressed feedback
* fix typo
* fix build issues
* fix validation issues
* fix validation errors
* fix errors
* fix errors
* fix errors
* remove 204 return codes
* updated examplese
* enable delete operation
* Hybrid RP swagger
* Addressed feedback
* fix errors
* fix errors
* fix errors
* updated examplese
* enable delete operation
* fix tyop
* fix spaces
* disable api generation for operations not supported for public preview
---
.../hybridcompute/resource-manager/readme.md | 25 +++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/specification/hybridcompute/resource-manager/readme.md b/specification/hybridcompute/resource-manager/readme.md
index e74dea9d1a38..d2b1f69b5566 100644
--- a/specification/hybridcompute/resource-manager/readme.md
+++ b/specification/hybridcompute/resource-manager/readme.md
@@ -80,6 +80,11 @@ directive:
- Machines_Reconnect
- Machines_CreateOrUpdate
- Machines_Update
+ - MachineExtensions_CreateOrUpdate
+ - MachineExtensions_Update
+ - MachineExtensions_Delete
+ - MachineExtensions_Get
+ - MachineExtensions_List
```
## PowerShell
@@ -94,6 +99,11 @@ directive:
- Machines_Reconnect
- Machines_CreateOrUpdate
- Machines_Update
+ - MachineExtensions_CreateOrUpdate
+ - MachineExtensions_Update
+ - MachineExtensions_Delete
+ - MachineExtensions_Get
+ - MachineExtensions_List
```
@@ -117,6 +127,16 @@ python:
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/hybridcompute/azure-mgmt-hybridcompute/azure/mgmt/hybridcompute
+directive:
+ - remove-operation:
+ - Machines_Reconnect
+ - Machines_CreateOrUpdate
+ - Machines_Update
+ - MachineExtensions_CreateOrUpdate
+ - MachineExtensions_Update
+ - MachineExtensions_Delete
+ - MachineExtensions_Get
+ - MachineExtensions_List
```
``` yaml $(python) && $(python-mode) == 'create'
python:
@@ -127,6 +147,11 @@ directive:
- Machines_Reconnect
- Machines_CreateOrUpdate
- Machines_Update
+ - MachineExtensions_CreateOrUpdate
+ - MachineExtensions_Update
+ - MachineExtensions_Delete
+ - MachineExtensions_Get
+ - MachineExtensions_List
```
## Go
From d2e355ce6eb5a8f568da096d011eb570563d2e49 Mon Sep 17 00:00:00 2001
From: Aditya Desai
Date: Thu, 24 Oct 2019 18:55:36 -0700
Subject: [PATCH 067/189] Remove resource group from allowed scopes for
usageDetails (#7630)
Changes to remove resource group from the list of allowed scopes for UCDD given it's not supported.
---
.../Microsoft.Consumption/stable/2019-10-01/consumption.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json
index 148bf0b5b0d2..37ce10522d0d 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json
@@ -4406,7 +4406,7 @@
"in": "path",
"required": true,
"type": "string",
- "description": "The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. Also, Modern Commerce Account scopes are '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for billingAccount scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.",
+ "description": "The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. Also, Modern Commerce Account scopes are '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for billingAccount scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.",
"x-ms-parameter-location": "method",
"x-ms-skip-url-encoding": true
},
@@ -4645,4 +4645,4 @@
}
}
}
-}
\ No newline at end of file
+}
From bb7f90b141119d34011b69889ea1f3d23149eed5 Mon Sep 17 00:00:00 2001
From: Jimmy Campbell
Date: Thu, 24 Oct 2019 23:01:28 -0400
Subject: [PATCH 068/189] Fixed misnamed sku in examples. (#7623)
---
.../2019-10-01/examples/ConfigurationStoresCreate.json | 6 +++---
.../examples/ConfigurationStoresCreateWithIdentity.json | 6 +++---
.../stable/2019-10-01/examples/ConfigurationStoresGet.json | 2 +-
.../stable/2019-10-01/examples/ConfigurationStoresList.json | 4 ++--
.../examples/ConfigurationStoresListByResourceGroup.json | 4 ++--
5 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2019-10-01/examples/ConfigurationStoresCreate.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2019-10-01/examples/ConfigurationStoresCreate.json
index deef65ee22cf..2920e1843a1d 100644
--- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2019-10-01/examples/ConfigurationStoresCreate.json
+++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2019-10-01/examples/ConfigurationStoresCreate.json
@@ -7,7 +7,7 @@
"configStoreCreationParameters": {
"location": "westus",
"sku": {
- "name": "Basic"
+ "name": "Free"
},
"tags": {
"myTag": "myTagValue"
@@ -24,7 +24,7 @@
"endpoint": "https://contoso.azconfig.io"
},
"sku": {
- "name": "Basic"
+ "name": "Free"
},
"id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso",
"name": "contoso",
@@ -43,7 +43,7 @@
"endpoint": "https://contoso.azconfig.io"
},
"sku": {
- "name": "Basic"
+ "name": "Free"
},
"id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso",
"name": "contoso",
diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2019-10-01/examples/ConfigurationStoresCreateWithIdentity.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2019-10-01/examples/ConfigurationStoresCreateWithIdentity.json
index 5f31753d44e7..3cbc337a1050 100644
--- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2019-10-01/examples/ConfigurationStoresCreateWithIdentity.json
+++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2019-10-01/examples/ConfigurationStoresCreateWithIdentity.json
@@ -7,7 +7,7 @@
"configStoreCreationParameters": {
"location": "westus",
"sku": {
- "name": "Basic"
+ "name": "Free"
},
"tags": {
"myTag": "myTagValue"
@@ -30,7 +30,7 @@
"endpoint": "https://contoso.azconfig.io"
},
"sku": {
- "name": "Basic"
+ "name": "Free"
},
"identity": {
"principalId": "AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA",
@@ -60,7 +60,7 @@
"endpoint": "https://contoso.azconfig.io"
},
"sku": {
- "name": "Basic"
+ "name": "Free"
},
"identity": {
"principalId": "AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA",
diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2019-10-01/examples/ConfigurationStoresGet.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2019-10-01/examples/ConfigurationStoresGet.json
index 5e1c22ec30b9..d7ebe442f94c 100644
--- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2019-10-01/examples/ConfigurationStoresGet.json
+++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2019-10-01/examples/ConfigurationStoresGet.json
@@ -15,7 +15,7 @@
"endpoint": "https://contoso.azconfig.io"
},
"sku": {
- "name": "Basic"
+ "name": "Free"
},
"identity": {
"principalId": "AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA",
diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2019-10-01/examples/ConfigurationStoresList.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2019-10-01/examples/ConfigurationStoresList.json
index a803a8e5218d..cf2acb8b5872 100644
--- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2019-10-01/examples/ConfigurationStoresList.json
+++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2019-10-01/examples/ConfigurationStoresList.json
@@ -15,7 +15,7 @@
"endpoint": "https://contoso.azconfig.io"
},
"sku": {
- "name": "Basic"
+ "name": "Free"
},
"identity": {
"principalId": "AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA",
@@ -35,7 +35,7 @@
"endpoint": "https://contoso2.azconfig.io"
},
"sku": {
- "name": "Basic"
+ "name": "Free"
},
"identity": {
"principalId": "CCCCCCCC-CCCC-CCCC-CCCC-CCCCCCCCCCCC",
diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2019-10-01/examples/ConfigurationStoresListByResourceGroup.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2019-10-01/examples/ConfigurationStoresListByResourceGroup.json
index 64e9eb2b6644..cbbcd48ce240 100644
--- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2019-10-01/examples/ConfigurationStoresListByResourceGroup.json
+++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2019-10-01/examples/ConfigurationStoresListByResourceGroup.json
@@ -16,7 +16,7 @@
"endpoint": "https://contoso.azconfig.io"
},
"sku": {
- "name": "Basic"
+ "name": "Free"
},
"id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso",
"name": "contoso",
@@ -31,7 +31,7 @@
"endpoint": "https://contoso2.azconfig.io"
},
"sku": {
- "name": "Basic"
+ "name": "Free"
},
"id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso2",
"name": "contoso2",
From 4644276dfebb98a05e2016261d62676e14f439b6 Mon Sep 17 00:00:00 2001
From: Aditya Desai
Date: Thu, 24 Oct 2019 22:37:45 -0700
Subject: [PATCH 069/189] Fix documentation (#7632)
---
.../preview/2019-04-01-preview/consumption.json | 2 +-
.../preview/2019-05-01-preview/consumption.json | 2 +-
.../Microsoft.Consumption/stable/2019-05-01/consumption.json | 2 +-
.../Microsoft.Consumption/stable/2019-06-01/consumption.json | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-04-01-preview/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-04-01-preview/consumption.json
index e07e81a2d38d..80fe4210874a 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-04-01-preview/consumption.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-04-01-preview/consumption.json
@@ -2969,7 +2969,7 @@
"in": "path",
"required": true,
"type": "string",
- "description": "The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'",
+ "description": "The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'",
"x-ms-parameter-location": "method",
"x-ms-skip-url-encoding": true
},
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/consumption.json
index 5bc21e118986..ca83ba70ef8a 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/consumption.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/consumption.json
@@ -2976,7 +2976,7 @@
"in": "path",
"required": true,
"type": "string",
- "description": "The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'",
+ "description": "The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'",
"x-ms-parameter-location": "method",
"x-ms-skip-url-encoding": true
},
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/consumption.json
index 7e11190e7dd8..cf4aa8cbfb30 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/consumption.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/consumption.json
@@ -3067,7 +3067,7 @@
"in": "path",
"required": true,
"type": "string",
- "description": "The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'",
+ "description": "The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'",
"x-ms-parameter-location": "method",
"x-ms-skip-url-encoding": true
},
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-06-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-06-01/consumption.json
index 45a5dacfbed0..78c4194a23fe 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-06-01/consumption.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-06-01/consumption.json
@@ -3317,7 +3317,7 @@
"in": "path",
"required": true,
"type": "string",
- "description": "The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'",
+ "description": "The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'",
"x-ms-parameter-location": "method",
"x-ms-skip-url-encoding": true
},
From a869319031c37adf4b08ac9fa5d0e328446f051a Mon Sep 17 00:00:00 2001
From: Feng Zhou <55177366+fengzhou-msft@users.noreply.github.com>
Date: Fri, 25 Oct 2019 15:28:27 +0800
Subject: [PATCH 070/189] add tag 2019-06 to python readme (#7634)
---
.../storage/resource-manager/readme.python.md | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/specification/storage/resource-manager/readme.python.md b/specification/storage/resource-manager/readme.python.md
index 44ff107cbe80..56bb191e919e 100644
--- a/specification/storage/resource-manager/readme.python.md
+++ b/specification/storage/resource-manager/readme.python.md
@@ -18,6 +18,7 @@ Generate all API versions currently shipped for this package
```yaml $(python) && $(multiapi)
batch:
+ - tag: package-2019-06
- tag: package-2019-04
- tag: package-2018-11
- tag: package-2018-07
@@ -30,6 +31,16 @@ batch:
- tag: package-2015-06
```
+### Tag: package-2019-06 and python
+
+These settings apply only when `--tag=package-2019-06 --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-06' && $(python)
+python:
+ namespace: azure.mgmt.storage.v2019_06_01
+ output-folder: $(python-sdks-folder)/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01
+```
### Tag: package-2019-04 and python
These settings apply only when `--tag=package-2019-04 --python` is specified on the command line.
From 681ee1c3179dfd724463e4cc3c17df8d63561f35 Mon Sep 17 00:00:00 2001
From: Ruoxuan Wang <52271048+ruowan@users.noreply.github.com>
Date: Fri, 25 Oct 2019 16:34:56 +0800
Subject: [PATCH 071/189] update send email to assignee config (#7636)
---
.github/sla.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/sla.yml b/.github/sla.yml
index 8e79d8c1d9a3..cb0be38b7751 100644
--- a/.github/sla.yml
+++ b/.github/sla.yml
@@ -4,7 +4,7 @@
repoWhitelist:
- Azure/azure-rest-api-specs
args:
- booleanFilterExpression: "!(WaitForARMFeedback||WaitingForAzureAPIBoard)"
+ booleanFilterExpression: "!(WaitForARMFeedback||WaitingForAzureAPIBoard||(DoNotMerge&&(ARMSignedOff||Approved)))"
limit: 48h
message: ' Dear Swagger reviewer,
Please response to the PR ${PR_URL}. The PR isn''t updated in 48 hours.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience '
subject: "Action Required: Please respond to PR ${PR_URL}"
@@ -16,7 +16,7 @@
repoWhitelist:
- Azure/azure-rest-api-specs-pr
args:
- booleanFilterExpression: "!(WaitForARMFeedback||WaitingForAzureAPIBoard||Approved-OkToMerge)"
+ booleanFilterExpression: "!(WaitForARMFeedback||WaitingForAzureAPIBoard||Approved-OkToMerge||(DoNotMerge&&(ARMSignedOff||Approved))"
limit: 48h
message: ' Dear Swagger reviewer,
Please response to the PR ${PR_URL}. The PR isn''t updated in 48 hours.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience '
subject: "Action Required: Please respond to PR ${PR_URL}"
From c7b0a6e3d9d8c86909ab795379b0d7efbd1cbf16 Mon Sep 17 00:00:00 2001
From: Arvind Krishnaa J
Date: Fri, 25 Oct 2019 10:22:06 -0700
Subject: [PATCH 072/189] [Azure Search] Introduce 2019-05-06-Preview swagger
(#7615)
* Add Microsoft.Azure.Search.Data 2019-05-06-Preview to track1 and 'track2'
* Add Microsoft.Azure.Search.Service 2019-05-06-Preview to track1 and 'track2'
* Add codegen tags
* Fix 'track2' directory casing
* Fix 'track1' directory casing
* Fix API versions
* Add encryption key to swagger
* Update branding changes
---
.../SearchIndexAutocompleteDocumentsGet.json | 39 +
.../SearchIndexAutocompleteDocumentsPost.json | 37 +
.../examples/SearchIndexCountDocuments.json | 13 +
.../examples/SearchIndexGetDocument.json | 23 +
.../examples/SearchIndexIndexDocuments.json | 94 +
.../SearchIndexSearchDocumentsGet.json | 85 +
.../SearchIndexSearchDocumentsPost.json | 98 +
.../SearchIndexSuggestDocumentsGet.json | 48 +
.../SearchIndexSuggestDocumentsPost.json | 39 +
.../2019-05-06-preview/searchindex.json | 1336 ++++
.../Microsoft.Azure.Search.Data/readme.md | 24 +-
.../SearchIndexAutocompleteDocumentsGet.json | 39 +
.../SearchIndexAutocompleteDocumentsPost.json | 37 +
.../examples/SearchIndexCountDocuments.json | 13 +
.../examples/SearchIndexGetDocument.json | 23 +
.../examples/SearchIndexIndexDocuments.json | 94 +
.../SearchIndexSearchDocumentsGet.json | 85 +
.../SearchIndexSearchDocumentsPost.json | 98 +
.../SearchIndexSuggestDocumentsGet.json | 48 +
.../SearchIndexSuggestDocumentsPost.json | 39 +
.../2019-05-06-preview/searchindex.json | 1336 ++++
.../SearchServiceCreateDataSource.json | 53 +
.../examples/SearchServiceCreateIndex.json | 364 ++
.../examples/SearchServiceCreateIndexer.json | 41 +
...SearchServiceCreateOrUpdateDataSource.json | 78 +
.../SearchServiceCreateOrUpdateIndex.json | 593 ++
.../SearchServiceCreateOrUpdateIndexer.json | 61 +
.../SearchServiceCreateOrUpdateSkillset.json | 370 ++
...SearchServiceCreateOrUpdateSynonymMap.json | 48 +
.../examples/SearchServiceCreateSkillset.json | 244 +
.../SearchServiceCreateSynonymMap.json | 39 +
.../SearchServiceDeleteDataSource.json | 12 +
.../examples/SearchServiceDeleteIndex.json | 12 +
.../examples/SearchServiceDeleteIndexer.json | 12 +
.../examples/SearchServiceDeleteSkillset.json | 12 +
.../SearchServiceDeleteSynonymMap.json | 12 +
.../examples/SearchServiceGetDataSource.json | 33 +
.../examples/SearchServiceGetIndex.json | 245 +
.../SearchServiceGetIndexStatistics.json | 16 +
.../examples/SearchServiceGetIndexer.json | 28 +
.../SearchServiceGetIndexerStatus.json | 90 +
.../SearchServiceGetServiceStatistics.json | 45 +
.../examples/SearchServiceGetSkillset.json | 136 +
.../examples/SearchServiceGetSynonymMap.json | 26 +
.../examples/SearchServiceIndexAnalyze.json | 38 +
.../SearchServiceListDataSources.json | 50 +
.../examples/SearchServiceListIndexers.json | 68 +
.../examples/SearchServiceListIndexes.json | 288 +
.../examples/SearchServiceListSkillsets.json | 140 +
.../SearchServiceListSynonymMaps.json | 32 +
.../examples/SearchServiceResetIndexer.json | 11 +
.../examples/SearchServiceRunIndexer.json | 11 +
.../2019-05-06-preview/searchservice.json | 5640 +++++++++++++++++
.../Microsoft.Azure.Search.Service/readme.md | 19 +
.../SearchServiceCreateDataSource.json | 53 +
.../examples/SearchServiceCreateIndex.json | 364 ++
.../examples/SearchServiceCreateIndexer.json | 41 +
...SearchServiceCreateOrUpdateDataSource.json | 78 +
.../SearchServiceCreateOrUpdateIndex.json | 593 ++
.../SearchServiceCreateOrUpdateIndexer.json | 61 +
.../SearchServiceCreateOrUpdateSkillset.json | 370 ++
...SearchServiceCreateOrUpdateSynonymMap.json | 48 +
.../examples/SearchServiceCreateSkillset.json | 244 +
.../SearchServiceCreateSynonymMap.json | 39 +
.../SearchServiceDeleteDataSource.json | 12 +
.../examples/SearchServiceDeleteIndex.json | 12 +
.../examples/SearchServiceDeleteIndexer.json | 12 +
.../examples/SearchServiceDeleteSkillset.json | 12 +
.../SearchServiceDeleteSynonymMap.json | 12 +
.../examples/SearchServiceGetDataSource.json | 33 +
.../examples/SearchServiceGetIndex.json | 245 +
.../SearchServiceGetIndexStatistics.json | 16 +
.../examples/SearchServiceGetIndexer.json | 28 +
.../SearchServiceGetIndexerStatus.json | 90 +
.../SearchServiceGetServiceStatistics.json | 45 +
.../examples/SearchServiceGetSkillset.json | 136 +
.../examples/SearchServiceGetSynonymMap.json | 26 +
.../examples/SearchServiceIndexAnalyze.json | 38 +
.../SearchServiceListDataSources.json | 50 +
.../examples/SearchServiceListIndexers.json | 68 +
.../examples/SearchServiceListIndexes.json | 288 +
.../examples/SearchServiceListSkillsets.json | 140 +
.../SearchServiceListSynonymMaps.json | 32 +
.../examples/SearchServiceResetIndexer.json | 11 +
.../examples/SearchServiceRunIndexer.json | 11 +
.../2019-05-06-preview/searchservice.json | 5640 +++++++++++++++++
86 files changed, 21360 insertions(+), 3 deletions(-)
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexAutocompleteDocumentsGet.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexAutocompleteDocumentsPost.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexCountDocuments.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexGetDocument.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexIndexDocuments.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexSearchDocumentsGet.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexSearchDocumentsPost.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexSuggestDocumentsGet.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexSuggestDocumentsPost.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/searchindex.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexAutocompleteDocumentsGet.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexAutocompleteDocumentsPost.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexCountDocuments.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexGetDocument.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexIndexDocuments.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexSearchDocumentsGet.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexSearchDocumentsPost.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexSuggestDocumentsGet.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexSuggestDocumentsPost.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/searchindex.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateDataSource.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateIndex.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateIndexer.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateDataSource.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndex.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndexer.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSkillset.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateSkillset.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateSynonymMap.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceDeleteDataSource.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceDeleteIndex.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceDeleteIndexer.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceDeleteSkillset.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceDeleteSynonymMap.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetDataSource.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetIndex.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetIndexStatistics.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetIndexer.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetIndexerStatus.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetServiceStatistics.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetSkillset.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetSynonymMap.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceIndexAnalyze.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListDataSources.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListIndexers.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListIndexes.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListSkillsets.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListSynonymMaps.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceResetIndexer.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceRunIndexer.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/searchservice.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateDataSource.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateIndex.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateIndexer.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateDataSource.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndex.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndexer.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSkillset.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateSkillset.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateSynonymMap.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceDeleteDataSource.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceDeleteIndex.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceDeleteIndexer.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceDeleteSkillset.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceDeleteSynonymMap.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetDataSource.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetIndex.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetIndexStatistics.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetIndexer.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetIndexerStatus.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetServiceStatistics.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetSkillset.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetSynonymMap.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceIndexAnalyze.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListDataSources.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListIndexers.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListIndexes.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListSkillsets.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListSynonymMaps.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceResetIndexer.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceRunIndexer.json
create mode 100644 specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/searchservice.json
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexAutocompleteDocumentsGet.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexAutocompleteDocumentsGet.json
new file mode 100644
index 000000000000..000082a08d9f
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexAutocompleteDocumentsGet.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06-Preview",
+ "autocompleteMode": "oneTerm",
+ "search": "washington medic",
+ "suggesterName": "sg",
+ "filter": "search.in(docId,'101,102,105')",
+ "fuzzy": false,
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": 80,
+ "searchFields": [
+ "title",
+ "description"
+ ],
+ "top": 10
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "text": "medicaid",
+ "queryPlusText": "washington medicaid"
+ },
+ {
+ "text": "medicare",
+ "queryPlusText": "washington medicare"
+ },
+ {
+ "text": "medicine",
+ "queryPlusText": "washington medicine"
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexAutocompleteDocumentsPost.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexAutocompleteDocumentsPost.json
new file mode 100644
index 000000000000..72c60d7cc1e4
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexAutocompleteDocumentsPost.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06-Preview",
+ "autocompleteRequest": {
+ "autocompleteMode": "oneTerm",
+ "search": "washington medic",
+ "suggesterName": "sg",
+ "filter": "search.in(docId,'101,102,105')",
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": 80,
+ "searchFields": "title,description",
+ "top": 10
+ }
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "text": "medicaid",
+ "queryPlusText": "washington medicaid"
+ },
+ {
+ "text": "medicare",
+ "queryPlusText": "washington medicare"
+ },
+ {
+ "text": "medicine",
+ "queryPlusText": "washington medicine"
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexCountDocuments.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexCountDocuments.json
new file mode 100644
index 000000000000..bc3c57632601
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexCountDocuments.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": 427
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexGetDocument.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexGetDocument.json
new file mode 100644
index 000000000000..c3270808a760
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexGetDocument.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06-Preview",
+ "key": "1",
+ "$select": [
+ "docId",
+ "title",
+ "description"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "description": "Cheapest hotel in town",
+ "docId": "1",
+ "title": "Nice Hotel"
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexIndexDocuments.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexIndexDocuments.json
new file mode 100644
index 000000000000..5c41bc8b2a89
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexIndexDocuments.json
@@ -0,0 +1,94 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06-Preview",
+ "batch": {
+ "value": [
+ {
+ "@search.action": "upload",
+ "docId": "1",
+ "title": "Fancy Stay",
+ "description": "Best hotel in town"
+ },
+ {
+ "@search.action": "merge",
+ "docId": "2",
+ "title": "Roach Motel"
+ },
+ {
+ "@search.action": "mergeOrUpload",
+ "docId": "3",
+ "title": "Econo Motel"
+ },
+ {
+ "@search.action": "delete",
+ "docId": "4"
+ }
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "key": "1",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 201
+ },
+ {
+ "key": "2",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ },
+ {
+ "key": "3",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ },
+ {
+ "key": "4",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ }
+ ]
+ }
+ },
+ "207": {
+ "body": {
+ "value": [
+ {
+ "key": "1",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ },
+ {
+ "key": "2",
+ "status": false,
+ "errorMessage": "Document not found.",
+ "statusCode": 404
+ },
+ {
+ "key": "3",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ },
+ {
+ "key": "4",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexSearchDocumentsGet.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexSearchDocumentsGet.json
new file mode 100644
index 000000000000..0bc9ad4e6522
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexSearchDocumentsGet.json
@@ -0,0 +1,85 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06-Preview",
+ "$count": true,
+ "facet": [
+ "category,count:10,sort:count"
+ ],
+ "$filter": "rating gt 10",
+ "highlight": [
+ "title"
+ ],
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": 80,
+ "$orderby": [
+ "search.score() desc",
+ "rating desc"
+ ],
+ "queryType": "simple",
+ "scoringParameters": [
+ "currentLocation--122.123,44.77233"
+ ],
+ "scoringProfile": "sp",
+ "search": "nice hotels",
+ "searchFields": [
+ "title",
+ "description"
+ ],
+ "searchMode": "any",
+ "$select": [
+ "docId",
+ "title",
+ "description"
+ ],
+ "$skip": 100,
+ "$top": 10
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "@odata.count": 25,
+ "@search.coverage": 80,
+ "@search.facets": {
+ "category": [
+ {
+ "count": 1,
+ "value": "Economy"
+ },
+ {
+ "count": 1,
+ "value": "Luxury"
+ }
+ ]
+ },
+ "value": [
+ {
+ "@search.score": 1.50,
+ "@search.highlights": {
+ "title": [
+ "Nice Hotel"
+ ]
+ },
+ "description": "Cheapest hotel in town",
+ "docId": "1",
+ "title": "Nice Hotel"
+ },
+ {
+ "@search.score": 0.70,
+ "@search.highlights": {
+ "title": [
+ "Fancy Hotel"
+ ]
+ },
+ "description": "Best hotel in town",
+ "docId": "2",
+ "title": "Fancy Hotel"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexSearchDocumentsPost.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexSearchDocumentsPost.json
new file mode 100644
index 000000000000..732a0a19680a
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexSearchDocumentsPost.json
@@ -0,0 +1,98 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06-Preview",
+ "searchRequest": {
+ "count": true,
+ "facets": [
+ "category,count:10,sort:count"
+ ],
+ "filter": "rating gt 4.0",
+ "highlight": "title",
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": null,
+ "orderby": "search.score() desc,rating desc",
+ "queryType": "simple",
+ "scoringParameters": [
+ "currentLocation--122.123,44.77233"
+ ],
+ "scoringProfile": "sp",
+ "search": "nice hotels",
+ "searchFields": "title,description",
+ "searchMode": "any",
+ "select": "docId,title,description",
+ "skip": 0,
+ "top": 10
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "@odata.count": 25,
+ "@search.facets": {
+ "category": [
+ {
+ "count": 1,
+ "value": "Economy"
+ },
+ {
+ "count": 1,
+ "value": "Luxury"
+ }
+ ]
+ },
+ "@search.nextPageParameters": {
+ "count": true,
+ "facets": [
+ "category,count:10,sort:count"
+ ],
+ "filter": "rating gt 4.0",
+ "highlight": "title",
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": null,
+ "orderby": "search.score() desc,rating desc",
+ "queryType": "simple",
+ "scoringParameters": [
+ "currentLocation--122.123,44.77233"
+ ],
+ "scoringProfile": "sp",
+ "search": "nice hotels",
+ "searchFields": "title,description",
+ "searchMode": "any",
+ "select": "docId,title,description",
+ "skip": 2,
+ "top": 8
+ },
+ "value": [
+ {
+ "@search.score": 1.50,
+ "@search.highlights": {
+ "title": [
+ "Nice Hotel"
+ ]
+ },
+ "description": "Cheapest hotel in town",
+ "docId": "1",
+ "title": "Nice Hotel"
+ },
+ {
+ "@search.score": 0.70,
+ "@search.highlights": {
+ "title": [
+ "Fancy Hotel"
+ ]
+ },
+ "description": "Best hotel in town",
+ "docId": "2",
+ "title": "Fancy Hotel"
+ }
+ ],
+ "@odata.nextLink": "https://myservice.search.windows.net/indexes('myindex')/docs/search.post.search?api-version=2019-05-06-Preview"
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexSuggestDocumentsGet.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexSuggestDocumentsGet.json
new file mode 100644
index 000000000000..465f75aa62ea
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexSuggestDocumentsGet.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06-Preview",
+ "$filter": "rating gt 10",
+ "fuzzy": false,
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": 80,
+ "$orderby": [
+ "search.score() desc",
+ "rating desc"
+ ],
+ "search": "hote",
+ "searchFields": [
+ "title"
+ ],
+ "suggesterName": "sg",
+ "$select": [
+ "docId",
+ "title",
+ "description"
+ ],
+ "$top": 10
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "@search.text": "Nice Hotel",
+ "description": "Cheapest hotel in town",
+ "docId": "1",
+ "title": "Nice Hotel"
+ },
+ {
+ "@search.text": "Fancy Hotel",
+ "description": "Best hotel in town",
+ "docId": "2",
+ "title": "Fancy Hotel"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexSuggestDocumentsPost.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexSuggestDocumentsPost.json
new file mode 100644
index 000000000000..a898e78f9fa8
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/examples/SearchIndexSuggestDocumentsPost.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06-Preview",
+ "suggestRequest": {
+ "filter": "rating gt 4.0",
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": 80,
+ "orderby": "rating desc",
+ "search": "hote",
+ "searchFields": "title",
+ "select": "docId,title,description",
+ "top": 10
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "@search.text": "Nice Hotel",
+ "description": "Cheapest hotel in town",
+ "docId": "1",
+ "title": "Nice Hotel"
+ },
+ {
+ "@search.text": "Fancy Hotel",
+ "description": "Best hotel in town",
+ "docId": "2",
+ "title": "Fancy Hotel"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/searchindex.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/searchindex.json
new file mode 100644
index 000000000000..b1cc8cbb9aac
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2019-05-06-preview/searchindex.json
@@ -0,0 +1,1336 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "SearchIndexClient",
+ "description": "Client that can be used to query an index and upload, merge, or delete documents.",
+ "version": "2019-05-06-Preview",
+ "x-ms-code-generation-settings": {
+ "useDateTimeOffset": true,
+ "syncMethods": "None"
+ }
+ },
+ "x-ms-parameterized-host": {
+ "hostTemplate": "https://{searchServiceName}.{searchDnsSuffix}/indexes('{indexName}')",
+ "useSchemePrefix": false,
+ "parameters": [
+ {
+ "$ref": "#/parameters/SearchServiceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SearchDnsSuffixParameter"
+ },
+ {
+ "$ref": "#/parameters/IndexNameParameter"
+ }
+ ]
+ },
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/docs/$count": {
+ "get": {
+ "tags": [
+ "Documents"
+ ],
+ "operationId": "Documents_Count",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Count-Documents"
+ },
+ "x-ms-examples": {
+ "SearchIndexCountDocuments": {
+ "$ref": "./examples/SearchIndexCountDocuments.json"
+ }
+ },
+ "description": "Queries the number of documents in the index.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "type": "integer",
+ "format": "int64"
+ }
+ }
+ }
+ }
+ },
+ "/docs": {
+ "get": {
+ "tags": [
+ "Documents"
+ ],
+ "operationId": "Documents_SearchGet",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Search-Documents"
+ },
+ "x-ms-examples": {
+ "SearchIndexSearchDocumentsGet": {
+ "$ref": "./examples/SearchIndexSearchDocumentsGet.json"
+ }
+ },
+ "description": "Searches for documents in the index.",
+ "parameters": [
+ {
+ "name": "search",
+ "in": "query",
+ "type": "string",
+ "description": "A full-text search query expression; Use \"*\" or omit this parameter to match all documents.",
+ "x-ms-client-name": "SearchText"
+ },
+ {
+ "name": "$count",
+ "in": "query",
+ "type": "boolean",
+ "description": "A value that specifies whether to fetch the total count of results. Default is false. Setting this value to true may have a performance impact. Note that the count returned is an approximation.",
+ "x-nullable": false,
+ "x-ms-client-name": "IncludeTotalResultCount",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "facet",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "collectionFormat": "multi",
+ "description": "The list of facet expressions to apply to the search query. Each facet expression contains a field name, optionally followed by a comma-separated list of name:value pairs.",
+ "x-ms-client-name": "Facets",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "type": "string",
+ "description": "The OData $filter expression to apply to the search query.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "highlight",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of field names to use for hit highlights. Only searchable fields can be used for hit highlighting.",
+ "x-ms-client-name": "HighlightFields",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "highlightPostTag",
+ "in": "query",
+ "type": "string",
+ "description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. Default is </em>.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "highlightPreTag",
+ "in": "query",
+ "type": "string",
+ "description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. Default is <em>.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "minimumCoverage",
+ "in": "query",
+ "type": "number",
+ "format": "double",
+ "description": "A number between 0 and 100 indicating the percentage of the index that must be covered by a search query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 100.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, and desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no OrderBy is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses.",
+ "x-ms-client-name": "OrderBy",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "queryType",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "simple",
+ "full"
+ ],
+ "x-ms-enum": {
+ "name": "QueryType",
+ "modelAsString": false
+ },
+ "x-nullable": false,
+ "description": "A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "scoringParameter",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "collectionFormat": "multi",
+ "x-ms-client-name": "ScoringParameters",
+ "description": "The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be \"mylocation--122.2,44.8\" (without the quotes).",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "scoringProfile",
+ "in": "query",
+ "type": "string",
+ "description": "The name of a scoring profile to evaluate match scores for matching documents in order to sort the results.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "searchFields",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of field names to which to scope the full-text search. When using fielded search (fieldName:searchExpression) in a full Lucene query, the field names of each fielded search expression take precedence over any field names listed in this parameter.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "searchMode",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "any",
+ "all"
+ ],
+ "x-ms-enum": {
+ "name": "SearchMode",
+ "modelAsString": false
+ },
+ "x-nullable": false,
+ "description": "A value that specifies whether any or all of the search terms must be matched in order to count the document as a match.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "$skip",
+ "in": "query",
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of search results to skip. This value cannot be greater than 100,000. If you need to scan documents in sequence, but cannot use $skip due to this limitation, consider using $orderby on a totally-ordered key and $filter with a range query instead.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of search results to retrieve. This can be used in conjunction with $skip to implement client-side paging of search results. If results are truncated due to server-side paging, the response will include a continuation token that can be used to issue another Search request for the next page of results.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "Response containing documents that match the search criteria.",
+ "schema": {
+ "$ref": "#/definitions/DocumentSearchResult"
+ }
+ }
+ }
+ }
+ },
+ "/docs/search.post.search": {
+ "post": {
+ "tags": [
+ "Documents"
+ ],
+ "operationId": "Documents_SearchPost",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Search-Documents"
+ },
+ "x-ms-examples": {
+ "SearchIndexSearchDocumentsPost": {
+ "$ref": "./examples/SearchIndexSearchDocumentsPost.json"
+ }
+ },
+ "description": "Searches for documents in the index.",
+ "parameters": [
+ {
+ "name": "searchRequest",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SearchRequest",
+ "description": "The Search request."
+ },
+ "description": "The definition of the Search request."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "Response containing documents that match the search criteria.",
+ "schema": {
+ "$ref": "#/definitions/DocumentSearchResult"
+ }
+ }
+ }
+ }
+ },
+ "/docs('{key}')": {
+ "get": {
+ "tags": [
+ "Documents"
+ ],
+ "operationId": "Documents_Get",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/lookup-document"
+ },
+ "x-ms-examples": {
+ "SearchIndexGetDocument": {
+ "$ref": "./examples/SearchIndexGetDocument.json"
+ }
+ },
+ "description": "Retrieves a document from the index.",
+ "parameters": [
+ {
+ "name": "key",
+ "in": "path",
+ "required": true,
+ "description": "The key of the document to retrieve.",
+ "type": "string"
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "List of field names to retrieve for the document; Any field not retrieved will be missing from the returned document.",
+ "x-ms-client-name": "SelectedFields"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Response containing the requested document.",
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "/docs/search.suggest": {
+ "get": {
+ "tags": [
+ "Documents"
+ ],
+ "operationId": "Documents_SuggestGet",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/suggestions"
+ },
+ "x-ms-examples": {
+ "SearchIndexSuggestDocumentsGet": {
+ "$ref": "./examples/SearchIndexSuggestDocumentsGet.json"
+ }
+ },
+ "description": "Suggests documents in the index that match the given partial query text.",
+ "parameters": [
+ {
+ "name": "search",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The search text to use to suggest documents. Must be at least 1 character, and no more than 100 characters.",
+ "x-ms-client-name": "SearchText"
+ },
+ {
+ "name": "suggesterName",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The name of the suggester as specified in the suggesters collection that's part of the index definition."
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "type": "string",
+ "description": "An OData expression that filters the documents considered for suggestions.",
+ "x-ms-parameter-grouping": {
+ "name": "SuggestParameters"
+ }
+ },
+ {
+ "name": "fuzzy",
+ "in": "query",
+ "type": "boolean",
+ "description": "A value indicating whether to use fuzzy matching for the suggestions query. Default is false. When set to true, the query will find terms even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy suggestions queries are slower and consume more resources.",
+ "x-ms-client-name": "UseFuzzyMatching",
+ "x-nullable": false,
+ "x-ms-parameter-grouping": {
+ "name": "SuggestParameters"
+ }
+ },
+ {
+ "name": "highlightPostTag",
+ "in": "query",
+ "type": "string",
+ "description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting of suggestions is disabled.",
+ "x-ms-parameter-grouping": {
+ "name": "SuggestParameters"
+ }
+ },
+ {
+ "name": "highlightPreTag",
+ "in": "query",
+ "type": "string",
+ "description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting of suggestions is disabled.",
+ "x-ms-parameter-grouping": {
+ "name": "SuggestParameters"
+ }
+ },
+ {
+ "name": "minimumCoverage",
+ "in": "query",
+ "type": "number",
+ "format": "double",
+ "description": "A number between 0 and 100 indicating the percentage of the index that must be covered by a suggestions query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80.",
+ "x-ms-parameter-grouping": {
+ "name": "SuggestParameters"
+ }
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "x-ms-client-name": "OrderBy",
+ "description": "The list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses.",
+ "x-ms-parameter-grouping": {
+ "name": "SuggestParameters"
+ }
+ },
+ {
+ "name": "searchFields",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of field names to search for the specified search text. Target fields must be included in the specified suggester.",
+ "x-ms-parameter-grouping": {
+ "name": "SuggestParameters"
+ }
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of fields to retrieve. If unspecified, only the key field will be included in the results.",
+ "x-ms-parameter-grouping": {
+ "name": "SuggestParameters"
+ }
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of suggestions to retrieve. The value must be a number between 1 and 100. The default is 5.",
+ "x-ms-parameter-grouping": {
+ "name": "SuggestParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "Response containing suggested documents that match the partial input.",
+ "schema": {
+ "$ref": "#/definitions/DocumentSuggestResult"
+ }
+ }
+ }
+ }
+ },
+ "/docs/search.post.suggest": {
+ "post": {
+ "tags": [
+ "Documents"
+ ],
+ "operationId": "Documents_SuggestPost",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/suggestions"
+ },
+ "x-ms-examples": {
+ "SearchIndexSuggestDocumentsPost": {
+ "$ref": "./examples/SearchIndexSuggestDocumentsPost.json"
+ }
+ },
+ "description": "Suggests documents in the index that match the given partial query text.",
+ "parameters": [
+ {
+ "name": "suggestRequest",
+ "in": "body",
+ "required": true,
+ "description": "The Suggest request.",
+ "schema": {
+ "$ref": "#/definitions/SuggestRequest"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "Response containing suggested documents that match the partial input.",
+ "schema": {
+ "$ref": "#/definitions/DocumentSuggestResult"
+ }
+ }
+ }
+ }
+ },
+ "/docs/search.index": {
+ "post": {
+ "tags": [
+ "Documents"
+ ],
+ "operationId": "Documents_Index",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/addupdate-or-delete-documents"
+ },
+ "x-ms-examples": {
+ "SearchIndexIndexDocuments": {
+ "$ref": "./examples/SearchIndexIndexDocuments.json"
+ }
+ },
+ "description": "Sends a batch of document write actions to the index.",
+ "parameters": [
+ {
+ "name": "batch",
+ "in": "body",
+ "description": "The batch of index actions.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/IndexBatch"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "Response containing the status of operations for all actions in the batch.",
+ "schema": {
+ "$ref": "#/definitions/DocumentIndexResult"
+ }
+ },
+ "207": {
+ "description": "Response containing the status of operations for all actions in the batch.",
+ "schema": {
+ "$ref": "#/definitions/DocumentIndexResult"
+ }
+ }
+ }
+ }
+ },
+ "/docs/search.autocomplete": {
+ "get": {
+ "tags": [
+ "Documents"
+ ],
+ "operationId": "Documents_AutocompleteGet",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/autocomplete"
+ },
+ "x-ms-examples": {
+ "SearchIndexAutocompleteDocumentsGet": {
+ "$ref": "./examples/SearchIndexAutocompleteDocumentsGet.json"
+ }
+ },
+ "description": "Autocompletes incomplete query terms based on input text and matching terms in the index.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "search",
+ "in": "query",
+ "type": "string",
+ "required": true,
+ "description": "The incomplete term which should be auto-completed.",
+ "x-ms-client-name": "SearchText"
+ },
+ {
+ "name": "suggesterName",
+ "in": "query",
+ "type": "string",
+ "required": true,
+ "description": "The name of the suggester as specified in the suggesters collection that's part of the index definition."
+ },
+ {
+ "name": "autocompleteMode",
+ "in": "query",
+ "type": "string",
+ "x-nullable": false,
+ "enum": [
+ "oneTerm",
+ "twoTerms",
+ "oneTermWithContext"
+ ],
+ "x-ms-enum": {
+ "name": "AutocompleteMode",
+ "modelAsString": false
+ },
+ "description": "Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing auto-completed terms.",
+ "x-ms-parameter-grouping": {
+ "name": "AutocompleteParameters"
+ }
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "type": "string",
+ "description": "An OData expression that filters the documents used to produce completed terms for the Autocomplete result.",
+ "x-ms-parameter-grouping": {
+ "name": "AutocompleteParameters"
+ }
+ },
+ {
+ "name": "fuzzy",
+ "in": "query",
+ "type": "boolean",
+ "description": "A value indicating whether to use fuzzy matching for the autocomplete query. Default is false. When set to true, the query will find terms even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy autocomplete queries are slower and consume more resources.",
+ "x-ms-client-name": "UseFuzzyMatching",
+ "x-ms-parameter-grouping": {
+ "name": "AutocompleteParameters"
+ }
+ },
+ {
+ "name": "highlightPostTag",
+ "in": "query",
+ "type": "string",
+ "description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting is disabled.",
+ "x-ms-parameter-grouping": {
+ "name": "AutocompleteParameters"
+ }
+ },
+ {
+ "name": "highlightPreTag",
+ "in": "query",
+ "type": "string",
+ "description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting is disabled.",
+ "x-ms-parameter-grouping": {
+ "name": "AutocompleteParameters"
+ }
+ },
+ {
+ "name": "minimumCoverage",
+ "in": "query",
+ "type": "number",
+ "format": "double",
+ "description": "A number between 0 and 100 indicating the percentage of the index that must be covered by an autocomplete query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80.",
+ "x-ms-parameter-grouping": {
+ "name": "AutocompleteParameters"
+ }
+ },
+ {
+ "name": "searchFields",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of field names to consider when querying for auto-completed terms. Target fields must be included in the specified suggester.",
+ "x-ms-parameter-grouping": {
+ "name": "AutocompleteParameters"
+ }
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of auto-completed terms to retrieve. This must be a value between 1 and 100. The default is 5.",
+ "x-ms-parameter-grouping": {
+ "name": "AutocompleteParameters"
+ }
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/AutocompleteResult",
+ "description": "The result of Autocomplete query."
+ }
+ }
+ }
+ }
+ },
+ "/docs/search.post.autocomplete": {
+ "post": {
+ "tags": [
+ "Documents"
+ ],
+ "operationId": "Documents_AutocompletePost",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/autocomplete"
+ },
+ "x-ms-examples": {
+ "SearchIndexAutocompleteDocumentsPost": {
+ "$ref": "./examples/SearchIndexAutocompleteDocumentsPost.json"
+ }
+ },
+ "description": "Autocompletes incomplete query terms based on input text and matching terms in the index.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "autocompleteRequest",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AutocompleteRequest"
+ },
+ "description": "The definition of the Autocomplete request."
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/AutocompleteResult",
+ "description": "The result of Autocomplete query."
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "DocumentSuggestResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SuggestResult"
+ },
+ "readOnly": true,
+ "x-ms-client-name": "Results",
+ "description": "The sequence of results returned by the query."
+ },
+ "@search.coverage": {
+ "type": "number",
+ "readOnly": true,
+ "format": "double",
+ "x-ms-client-name": "Coverage",
+ "description": "A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not set in the request."
+ }
+ },
+ "description": "Response containing suggestion query results from an index."
+ },
+ "SuggestResult": {
+ "properties": {
+ "@search.text": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The text of the suggestion result.",
+ "x-ms-client-name": "Text"
+ }
+ },
+ "additionalProperties": true,
+ "description": "A result containing a document found by a suggestion query, plus associated metadata."
+ },
+ "FacetResult": {
+ "properties": {
+ "count": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "The approximate count of documents falling within the bucket described by this facet."
+ }
+ },
+ "additionalProperties": true,
+ "description": "A single bucket of a facet query result. Reports the number of documents with a field value falling within a particular range or having a particular value or interval."
+ },
+ "DocumentSearchResult": {
+ "properties": {
+ "@odata.count": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "x-ms-client-name": "Count",
+ "description": "The total count of results found by the search operation, or null if the count was not requested. If present, the count may be greater than the number of results in this response. This can happen if you use the $top or $skip parameters, or if Azure Cognitive Search can't return all the requested documents in a single Search response."
+ },
+ "@search.coverage": {
+ "type": "number",
+ "format": "double",
+ "readOnly": true,
+ "x-ms-client-name": "Coverage",
+ "description": "A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not specified in the request."
+ },
+ "@search.facets": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FacetResult"
+ }
+ },
+ "readOnly": true,
+ "x-ms-client-name": "Facets",
+ "description": "The facet query results for the search operation, organized as a collection of buckets for each faceted field; null if the query did not include any facet expressions."
+ },
+ "@search.nextPageParameters": {
+ "$ref": "#/definitions/SearchRequest",
+ "readOnly": true,
+ "x-ms-client-name": "NextPageParameters",
+ "description": "Continuation JSON payload returned when Azure Cognitive Search can't return all the requested results in a single Search response. You can use this JSON along with @odata.nextLink to formulate another POST Search request to get the next part of the search response."
+ },
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SearchResult"
+ },
+ "readOnly": true,
+ "x-ms-client-name": "Results",
+ "description": "The sequence of results returned by the query."
+ },
+ "@odata.nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "x-ms-client-name": "NextLink",
+ "description": "Continuation URL returned when Azure Cognitive Search can't return all the requested results in a single Search response. You can use this URL to formulate another GET or POST Search request to get the next part of the search response. Make sure to use the same verb (GET or POST) as the request that produced this response."
+ }
+ },
+ "description": "Response containing search results from an index."
+ },
+ "SearchResult": {
+ "properties": {
+ "@search.score": {
+ "type": "number",
+ "format": "double",
+ "readOnly": true,
+ "x-ms-client-name": "Score",
+ "x-nullable": false,
+ "description": "The relevance score of the document compared to other documents returned by the query."
+ },
+ "@search.highlights": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "readOnly": true,
+ "x-ms-client-name": "Highlights",
+ "description": "Text fragments from the document that indicate the matching search terms, organized by each applicable field; null if hit highlighting was not enabled for the query."
+ }
+ },
+ "additionalProperties": true,
+ "description": "Contains a document found by a search query, plus associated metadata."
+ },
+ "IndexBatch": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IndexAction"
+ },
+ "description": "The actions in the batch.",
+ "x-ms-client-name": "Actions"
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "Contains a batch of document write actions to send to the index."
+ },
+ "IndexAction": {
+ "properties": {
+ "@search.action": {
+ "type": "string",
+ "enum": [
+ "upload",
+ "merge",
+ "mergeOrUpload",
+ "delete"
+ ],
+ "x-ms-enum": {
+ "name": "IndexActionType"
+ },
+ "x-ms-client-name": "ActionType",
+ "x-nullable": false,
+ "description": "The operation to perform on a document in an indexing batch."
+ }
+ },
+ "additionalProperties": true,
+ "description": "Represents an index action that operates on a document."
+ },
+ "IndexingResult": {
+ "properties": {
+ "key": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The key of a document that was in the indexing request."
+ },
+ "errorMessage": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The error message explaining why the indexing operation failed for the document identified by the key; null if indexing succeeded."
+ },
+ "status": {
+ "x-ms-client-name": "Succeeded",
+ "type": "boolean",
+ "x-nullable": false,
+ "readOnly": true,
+ "description": "A value indicating whether the indexing operation succeeded for the document identified by the key."
+ },
+ "statusCode": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": false,
+ "readOnly": true,
+ "description": "The status code of the indexing operation. Possible values include: 200 for a successful update or delete, 201 for successful document creation, 400 for a malformed input document, 404 for document not found, 409 for a version conflict, 422 when the index is temporarily unavailable, or 503 for when the service is too busy."
+ }
+ },
+ "description": "Status of an indexing operation for a single document."
+ },
+ "DocumentIndexResult": {
+ "properties": {
+ "value": {
+ "x-ms-client-name": "Results",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/IndexingResult"
+ },
+ "description": "The list of status information for each document in the indexing request."
+ }
+ },
+ "description": "Response containing the status of operations for all documents in the indexing request."
+ },
+ "SearchMode": {
+ "type": "string",
+ "enum": [
+ "any",
+ "all"
+ ],
+ "x-ms-enum": {
+ "name": "SearchMode",
+ "modelAsString": false
+ },
+ "description": "Specifies whether any or all of the search terms must be matched in order to count the document as a match."
+ },
+ "QueryType": {
+ "type": "string",
+ "enum": [
+ "simple",
+ "full"
+ ],
+ "x-ms-enum": {
+ "name": "QueryType",
+ "modelAsString": false
+ },
+ "description": "Specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax."
+ },
+ "AutocompleteMode": {
+ "type": "string",
+ "enum": [
+ "oneTerm",
+ "twoTerms",
+ "oneTermWithContext"
+ ],
+ "x-ms-enum": {
+ "name": "AutocompleteMode",
+ "modelAsString": false
+ },
+ "description": "Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context in producing autocomplete terms."
+ },
+ "SearchRequest": {
+ "properties": {
+ "count": {
+ "type": "boolean",
+ "description": "A value that specifies whether to fetch the total count of results. Default is false. Setting this value to true may have a performance impact. Note that the count returned is an approximation.",
+ "x-ms-client-name": "IncludeTotalResultCount"
+ },
+ "facets": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Search-Documents"
+ },
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of facet expressions to apply to the search query. Each facet expression contains a field name, optionally followed by a comma-separated list of name:value pairs."
+ },
+ "filter": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/OData-Expression-Syntax-for-Azure-Search"
+ },
+ "type": "string",
+ "description": "The OData $filter expression to apply to the search query."
+ },
+ "highlight": {
+ "type": "string",
+ "description": "The comma-separated list of field names to use for hit highlights. Only searchable fields can be used for hit highlighting.",
+ "x-ms-client-name": "HighlightFields"
+ },
+ "highlightPostTag": {
+ "type": "string",
+ "description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. Default is </em>."
+ },
+ "highlightPreTag": {
+ "type": "string",
+ "description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. Default is <em>."
+ },
+ "minimumCoverage": {
+ "type": "number",
+ "format": "double",
+ "description": "A number between 0 and 100 indicating the percentage of the index that must be covered by a search query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 100."
+ },
+ "orderby": {
+ "x-ms-client-name": "OrderBy",
+ "type": "string",
+ "description": "The comma-separated list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses."
+ },
+ "queryType": {
+ "$ref": "#/definitions/QueryType",
+ "description": "A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax."
+ },
+ "scoringParameters": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be \"mylocation--122.2,44.8\" (without the quotes)."
+ },
+ "scoringProfile": {
+ "type": "string",
+ "description": "The name of a scoring profile to evaluate match scores for matching documents in order to sort the results."
+ },
+ "search": {
+ "type": "string",
+ "description": "A full-text search query expression; Use \"*\" or omit this parameter to match all documents.",
+ "x-ms-client-name": "SearchText"
+ },
+ "searchFields": {
+ "type": "string",
+ "description": "The comma-separated list of field names to which to scope the full-text search. When using fielded search (fieldName:searchExpression) in a full Lucene query, the field names of each fielded search expression take precedence over any field names listed in this parameter."
+ },
+ "searchMode": {
+ "$ref": "#/definitions/SearchMode",
+ "description": "A value that specifies whether any or all of the search terms must be matched in order to count the document as a match."
+ },
+ "select": {
+ "type": "string",
+ "description": "The comma-separated list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included."
+ },
+ "skip": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of search results to skip. This value cannot be greater than 100,000. If you need to scan documents in sequence, but cannot use skip due to this limitation, consider using orderby on a totally-ordered key and filter with a range query instead."
+ },
+ "top": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of search results to retrieve. This can be used in conjunction with $skip to implement client-side paging of search results. If results are truncated due to server-side paging, the response will include a continuation token that can be used to issue another Search request for the next page of results."
+ }
+ },
+ "description": "Parameters for filtering, sorting, faceting, paging, and other search query behaviors."
+ },
+ "SuggestRequest": {
+ "properties": {
+ "filter": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/OData-Expression-Syntax-for-Azure-Search"
+ },
+ "type": "string",
+ "description": "An OData expression that filters the documents considered for suggestions."
+ },
+ "fuzzy": {
+ "type": "boolean",
+ "description": "A value indicating whether to use fuzzy matching for the suggestion query. Default is false. When set to true, the query will find suggestions even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy suggestion searches are slower and consume more resources.",
+ "x-ms-client-name": "UseFuzzyMatching"
+ },
+ "highlightPostTag": {
+ "type": "string",
+ "description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting of suggestions is disabled."
+ },
+ "highlightPreTag": {
+ "type": "string",
+ "description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting of suggestions is disabled."
+ },
+ "minimumCoverage": {
+ "type": "number",
+ "format": "double",
+ "description": "A number between 0 and 100 indicating the percentage of the index that must be covered by a suggestion query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80."
+ },
+ "orderby": {
+ "x-ms-client-name": "OrderBy",
+ "type": "string",
+ "description": "The comma-separated list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses."
+ },
+ "search": {
+ "type": "string",
+ "description": "The search text to use to suggest documents. Must be at least 1 character, and no more than 100 characters.",
+ "x-ms-client-name": "SearchText"
+ },
+ "searchFields": {
+ "type": "string",
+ "description": "The comma-separated list of field names to search for the specified search text. Target fields must be included in the specified suggester."
+ },
+ "select": {
+ "type": "string",
+ "description": "The comma-separated list of fields to retrieve. If unspecified, only the key field will be included in the results."
+ },
+ "suggesterName": {
+ "type": "string",
+ "description": "The name of the suggester as specified in the suggesters collection that's part of the index definition."
+ },
+ "top": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of suggestions to retrieve. This must be a value between 1 and 100. The default is 5."
+ }
+ },
+ "description": "Parameters for filtering, sorting, fuzzy matching, and other suggestions query behaviors."
+ },
+ "AutocompleteRequest": {
+ "properties": {
+ "search": {
+ "type": "string",
+ "description": "The search text on which to base autocomplete results.",
+ "x-ms-client-name": "SearchText"
+ },
+ "autocompleteMode": {
+ "$ref": "#/definitions/AutocompleteMode",
+ "description": "Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing auto-completed terms."
+ },
+ "filter": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/OData-Expression-Syntax-for-Azure-Search"
+ },
+ "type": "string",
+ "description": "An OData expression that filters the documents used to produce completed terms for the Autocomplete result."
+ },
+ "fuzzy": {
+ "type": "boolean",
+ "description": "A value indicating whether to use fuzzy matching for the autocomplete query. Default is false. When set to true, the query will autocomplete terms even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy autocomplete queries are slower and consume more resources.",
+ "x-ms-client-name": "UseFuzzyMatching"
+ },
+ "highlightPostTag": {
+ "type": "string",
+ "description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting is disabled."
+ },
+ "highlightPreTag": {
+ "type": "string",
+ "description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting is disabled."
+ },
+ "minimumCoverage": {
+ "type": "number",
+ "format": "double",
+ "description": "A number between 0 and 100 indicating the percentage of the index that must be covered by an autocomplete query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80."
+ },
+ "searchFields": {
+ "type": "string",
+ "description": "The comma-separated list of field names to consider when querying for auto-completed terms. Target fields must be included in the specified suggester."
+ },
+ "suggesterName": {
+ "type": "string",
+ "description": "The name of the suggester as specified in the suggesters collection that's part of the index definition."
+ },
+ "top": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of auto-completed terms to retrieve. This must be a value between 1 and 100. The default is 5."
+ }
+ },
+ "description": "Parameters for fuzzy matching, and other autocomplete query behaviors."
+ },
+ "AutocompleteResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/AutocompleteItem"
+ },
+ "description": "The list of returned Autocompleted items.",
+ "x-ms-client-name": "Results"
+ }
+ },
+ "description": "The result of Autocomplete query."
+ },
+ "AutocompleteItem": {
+ "properties": {
+ "text": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The completed term."
+ },
+ "queryPlusText": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The query along with the completed term."
+ }
+ },
+ "description": "The result of Autocomplete requests."
+ }
+ },
+ "parameters": {
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
+ },
+ "ClientRequestIdParameter": {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The tracking ID sent with the request to help with debugging.",
+ "x-ms-client-request-id": true,
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "SearchServiceNameParameter": {
+ "name": "searchServiceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-skip-url-encoding": true,
+ "description": "The name of the search service.",
+ "x-ms-parameter-location": "client"
+ },
+ "SearchDnsSuffixParameter": {
+ "name": "searchDnsSuffix",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "default": "search.windows.net",
+ "x-ms-skip-url-encoding": true,
+ "description": "The DNS suffix of the search service. The default is search.windows.net.",
+ "x-ms-parameter-location": "client"
+ },
+ "IndexNameParameter": {
+ "name": "indexName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-skip-url-encoding": false,
+ "description": "The name of the index.",
+ "x-ms-parameter-location": "client"
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/readme.md b/specification/search/data-plane/Microsoft.Azure.Search.Data/readme.md
index 67dd81075e88..72ec8d2b1f6a 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/readme.md
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/readme.md
@@ -27,6 +27,15 @@ openapi-type: data-plane
tag: package-2019-05
```
+### Tag: package-2019-05-preview
+
+These settings apply only when `--tag=package-2019-05-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-05-preview'
+input-file:
+- preview/2019-05-06-preview/searchindex.json
+```
+
### Tag: package-2019-05
These settings apply only when `--tag=package-2019-05` is specified on the command line.
@@ -89,17 +98,26 @@ input-file:
- preview/2015-02-28/searchindex.json
```
-
### Tag: track1-package-2019-05
-These settings apply only when `--tag=track1-package-2019-05` is specified on the command line. It is meant to be used for
-generating Track 1 .NET SDK only!
+These settings apply only when `--tag=track1-package-2019-05` is specified on the command line.
+It is meant to be used for generating Track 1 .NET SDK only!
``` yaml $(tag) == 'track1-package-2019-05'
input-file:
- track1/stable/2019-05-06/searchindex.json
```
+### Tag: track1-package-2019-05-preview
+
+These settings apply only when `--tag=track1-package-2019-05-preview` is specified on the command line.
+It is meant to be used for generating Track 1 .NET SDK only!
+
+``` yaml $(tag) == 'track1-package-2019-05-preview'
+input-file:
+- track1/preview/2019-05-06-preview/searchindex.json
+```
+
---
# Code Generation
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexAutocompleteDocumentsGet.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexAutocompleteDocumentsGet.json
new file mode 100644
index 000000000000..000082a08d9f
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexAutocompleteDocumentsGet.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06-Preview",
+ "autocompleteMode": "oneTerm",
+ "search": "washington medic",
+ "suggesterName": "sg",
+ "filter": "search.in(docId,'101,102,105')",
+ "fuzzy": false,
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": 80,
+ "searchFields": [
+ "title",
+ "description"
+ ],
+ "top": 10
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "text": "medicaid",
+ "queryPlusText": "washington medicaid"
+ },
+ {
+ "text": "medicare",
+ "queryPlusText": "washington medicare"
+ },
+ {
+ "text": "medicine",
+ "queryPlusText": "washington medicine"
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexAutocompleteDocumentsPost.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexAutocompleteDocumentsPost.json
new file mode 100644
index 000000000000..72c60d7cc1e4
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexAutocompleteDocumentsPost.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06-Preview",
+ "autocompleteRequest": {
+ "autocompleteMode": "oneTerm",
+ "search": "washington medic",
+ "suggesterName": "sg",
+ "filter": "search.in(docId,'101,102,105')",
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": 80,
+ "searchFields": "title,description",
+ "top": 10
+ }
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "text": "medicaid",
+ "queryPlusText": "washington medicaid"
+ },
+ {
+ "text": "medicare",
+ "queryPlusText": "washington medicare"
+ },
+ {
+ "text": "medicine",
+ "queryPlusText": "washington medicine"
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexCountDocuments.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexCountDocuments.json
new file mode 100644
index 000000000000..bc3c57632601
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexCountDocuments.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": 427
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexGetDocument.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexGetDocument.json
new file mode 100644
index 000000000000..c3270808a760
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexGetDocument.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06-Preview",
+ "key": "1",
+ "$select": [
+ "docId",
+ "title",
+ "description"
+ ]
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "description": "Cheapest hotel in town",
+ "docId": "1",
+ "title": "Nice Hotel"
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexIndexDocuments.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexIndexDocuments.json
new file mode 100644
index 000000000000..5c41bc8b2a89
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexIndexDocuments.json
@@ -0,0 +1,94 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06-Preview",
+ "batch": {
+ "value": [
+ {
+ "@search.action": "upload",
+ "docId": "1",
+ "title": "Fancy Stay",
+ "description": "Best hotel in town"
+ },
+ {
+ "@search.action": "merge",
+ "docId": "2",
+ "title": "Roach Motel"
+ },
+ {
+ "@search.action": "mergeOrUpload",
+ "docId": "3",
+ "title": "Econo Motel"
+ },
+ {
+ "@search.action": "delete",
+ "docId": "4"
+ }
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "key": "1",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 201
+ },
+ {
+ "key": "2",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ },
+ {
+ "key": "3",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ },
+ {
+ "key": "4",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ }
+ ]
+ }
+ },
+ "207": {
+ "body": {
+ "value": [
+ {
+ "key": "1",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ },
+ {
+ "key": "2",
+ "status": false,
+ "errorMessage": "Document not found.",
+ "statusCode": 404
+ },
+ {
+ "key": "3",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ },
+ {
+ "key": "4",
+ "status": true,
+ "errorMessage": null,
+ "statusCode": 200
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexSearchDocumentsGet.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexSearchDocumentsGet.json
new file mode 100644
index 000000000000..0bc9ad4e6522
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexSearchDocumentsGet.json
@@ -0,0 +1,85 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06-Preview",
+ "$count": true,
+ "facet": [
+ "category,count:10,sort:count"
+ ],
+ "$filter": "rating gt 10",
+ "highlight": [
+ "title"
+ ],
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": 80,
+ "$orderby": [
+ "search.score() desc",
+ "rating desc"
+ ],
+ "queryType": "simple",
+ "scoringParameters": [
+ "currentLocation--122.123,44.77233"
+ ],
+ "scoringProfile": "sp",
+ "search": "nice hotels",
+ "searchFields": [
+ "title",
+ "description"
+ ],
+ "searchMode": "any",
+ "$select": [
+ "docId",
+ "title",
+ "description"
+ ],
+ "$skip": 100,
+ "$top": 10
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "@odata.count": 25,
+ "@search.coverage": 80,
+ "@search.facets": {
+ "category": [
+ {
+ "count": 1,
+ "value": "Economy"
+ },
+ {
+ "count": 1,
+ "value": "Luxury"
+ }
+ ]
+ },
+ "value": [
+ {
+ "@search.score": 1.50,
+ "@search.highlights": {
+ "title": [
+ "Nice Hotel"
+ ]
+ },
+ "description": "Cheapest hotel in town",
+ "docId": "1",
+ "title": "Nice Hotel"
+ },
+ {
+ "@search.score": 0.70,
+ "@search.highlights": {
+ "title": [
+ "Fancy Hotel"
+ ]
+ },
+ "description": "Best hotel in town",
+ "docId": "2",
+ "title": "Fancy Hotel"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexSearchDocumentsPost.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexSearchDocumentsPost.json
new file mode 100644
index 000000000000..732a0a19680a
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexSearchDocumentsPost.json
@@ -0,0 +1,98 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06-Preview",
+ "searchRequest": {
+ "count": true,
+ "facets": [
+ "category,count:10,sort:count"
+ ],
+ "filter": "rating gt 4.0",
+ "highlight": "title",
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": null,
+ "orderby": "search.score() desc,rating desc",
+ "queryType": "simple",
+ "scoringParameters": [
+ "currentLocation--122.123,44.77233"
+ ],
+ "scoringProfile": "sp",
+ "search": "nice hotels",
+ "searchFields": "title,description",
+ "searchMode": "any",
+ "select": "docId,title,description",
+ "skip": 0,
+ "top": 10
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "@odata.count": 25,
+ "@search.facets": {
+ "category": [
+ {
+ "count": 1,
+ "value": "Economy"
+ },
+ {
+ "count": 1,
+ "value": "Luxury"
+ }
+ ]
+ },
+ "@search.nextPageParameters": {
+ "count": true,
+ "facets": [
+ "category,count:10,sort:count"
+ ],
+ "filter": "rating gt 4.0",
+ "highlight": "title",
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": null,
+ "orderby": "search.score() desc,rating desc",
+ "queryType": "simple",
+ "scoringParameters": [
+ "currentLocation--122.123,44.77233"
+ ],
+ "scoringProfile": "sp",
+ "search": "nice hotels",
+ "searchFields": "title,description",
+ "searchMode": "any",
+ "select": "docId,title,description",
+ "skip": 2,
+ "top": 8
+ },
+ "value": [
+ {
+ "@search.score": 1.50,
+ "@search.highlights": {
+ "title": [
+ "Nice Hotel"
+ ]
+ },
+ "description": "Cheapest hotel in town",
+ "docId": "1",
+ "title": "Nice Hotel"
+ },
+ {
+ "@search.score": 0.70,
+ "@search.highlights": {
+ "title": [
+ "Fancy Hotel"
+ ]
+ },
+ "description": "Best hotel in town",
+ "docId": "2",
+ "title": "Fancy Hotel"
+ }
+ ],
+ "@odata.nextLink": "https://myservice.search.windows.net/indexes('myindex')/docs/search.post.search?api-version=2019-05-06-Preview"
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexSuggestDocumentsGet.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexSuggestDocumentsGet.json
new file mode 100644
index 000000000000..465f75aa62ea
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexSuggestDocumentsGet.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06-Preview",
+ "$filter": "rating gt 10",
+ "fuzzy": false,
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": 80,
+ "$orderby": [
+ "search.score() desc",
+ "rating desc"
+ ],
+ "search": "hote",
+ "searchFields": [
+ "title"
+ ],
+ "suggesterName": "sg",
+ "$select": [
+ "docId",
+ "title",
+ "description"
+ ],
+ "$top": 10
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "@search.text": "Nice Hotel",
+ "description": "Cheapest hotel in town",
+ "docId": "1",
+ "title": "Nice Hotel"
+ },
+ {
+ "@search.text": "Fancy Hotel",
+ "description": "Best hotel in town",
+ "docId": "2",
+ "title": "Fancy Hotel"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexSuggestDocumentsPost.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexSuggestDocumentsPost.json
new file mode 100644
index 000000000000..a898e78f9fa8
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/examples/SearchIndexSuggestDocumentsPost.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06-Preview",
+ "suggestRequest": {
+ "filter": "rating gt 4.0",
+ "highlightPostTag": "",
+ "highlightPreTag": "",
+ "minimumCoverage": 80,
+ "orderby": "rating desc",
+ "search": "hote",
+ "searchFields": "title",
+ "select": "docId,title,description",
+ "top": 10
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "@search.text": "Nice Hotel",
+ "description": "Cheapest hotel in town",
+ "docId": "1",
+ "title": "Nice Hotel"
+ },
+ {
+ "@search.text": "Fancy Hotel",
+ "description": "Best hotel in town",
+ "docId": "2",
+ "title": "Fancy Hotel"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/searchindex.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/searchindex.json
new file mode 100644
index 000000000000..b1cc8cbb9aac
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/track1/preview/2019-05-06-preview/searchindex.json
@@ -0,0 +1,1336 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "SearchIndexClient",
+ "description": "Client that can be used to query an index and upload, merge, or delete documents.",
+ "version": "2019-05-06-Preview",
+ "x-ms-code-generation-settings": {
+ "useDateTimeOffset": true,
+ "syncMethods": "None"
+ }
+ },
+ "x-ms-parameterized-host": {
+ "hostTemplate": "https://{searchServiceName}.{searchDnsSuffix}/indexes('{indexName}')",
+ "useSchemePrefix": false,
+ "parameters": [
+ {
+ "$ref": "#/parameters/SearchServiceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SearchDnsSuffixParameter"
+ },
+ {
+ "$ref": "#/parameters/IndexNameParameter"
+ }
+ ]
+ },
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/docs/$count": {
+ "get": {
+ "tags": [
+ "Documents"
+ ],
+ "operationId": "Documents_Count",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Count-Documents"
+ },
+ "x-ms-examples": {
+ "SearchIndexCountDocuments": {
+ "$ref": "./examples/SearchIndexCountDocuments.json"
+ }
+ },
+ "description": "Queries the number of documents in the index.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "type": "integer",
+ "format": "int64"
+ }
+ }
+ }
+ }
+ },
+ "/docs": {
+ "get": {
+ "tags": [
+ "Documents"
+ ],
+ "operationId": "Documents_SearchGet",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Search-Documents"
+ },
+ "x-ms-examples": {
+ "SearchIndexSearchDocumentsGet": {
+ "$ref": "./examples/SearchIndexSearchDocumentsGet.json"
+ }
+ },
+ "description": "Searches for documents in the index.",
+ "parameters": [
+ {
+ "name": "search",
+ "in": "query",
+ "type": "string",
+ "description": "A full-text search query expression; Use \"*\" or omit this parameter to match all documents.",
+ "x-ms-client-name": "SearchText"
+ },
+ {
+ "name": "$count",
+ "in": "query",
+ "type": "boolean",
+ "description": "A value that specifies whether to fetch the total count of results. Default is false. Setting this value to true may have a performance impact. Note that the count returned is an approximation.",
+ "x-nullable": false,
+ "x-ms-client-name": "IncludeTotalResultCount",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "facet",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "collectionFormat": "multi",
+ "description": "The list of facet expressions to apply to the search query. Each facet expression contains a field name, optionally followed by a comma-separated list of name:value pairs.",
+ "x-ms-client-name": "Facets",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "type": "string",
+ "description": "The OData $filter expression to apply to the search query.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "highlight",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of field names to use for hit highlights. Only searchable fields can be used for hit highlighting.",
+ "x-ms-client-name": "HighlightFields",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "highlightPostTag",
+ "in": "query",
+ "type": "string",
+ "description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. Default is </em>.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "highlightPreTag",
+ "in": "query",
+ "type": "string",
+ "description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. Default is <em>.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "minimumCoverage",
+ "in": "query",
+ "type": "number",
+ "format": "double",
+ "description": "A number between 0 and 100 indicating the percentage of the index that must be covered by a search query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 100.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, and desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no OrderBy is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses.",
+ "x-ms-client-name": "OrderBy",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "queryType",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "simple",
+ "full"
+ ],
+ "x-ms-enum": {
+ "name": "QueryType",
+ "modelAsString": false
+ },
+ "x-nullable": false,
+ "description": "A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "scoringParameter",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "collectionFormat": "multi",
+ "x-ms-client-name": "ScoringParameters",
+ "description": "The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be \"mylocation--122.2,44.8\" (without the quotes).",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "scoringProfile",
+ "in": "query",
+ "type": "string",
+ "description": "The name of a scoring profile to evaluate match scores for matching documents in order to sort the results.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "searchFields",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of field names to which to scope the full-text search. When using fielded search (fieldName:searchExpression) in a full Lucene query, the field names of each fielded search expression take precedence over any field names listed in this parameter.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "searchMode",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "any",
+ "all"
+ ],
+ "x-ms-enum": {
+ "name": "SearchMode",
+ "modelAsString": false
+ },
+ "x-nullable": false,
+ "description": "A value that specifies whether any or all of the search terms must be matched in order to count the document as a match.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "$skip",
+ "in": "query",
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of search results to skip. This value cannot be greater than 100,000. If you need to scan documents in sequence, but cannot use $skip due to this limitation, consider using $orderby on a totally-ordered key and $filter with a range query instead.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of search results to retrieve. This can be used in conjunction with $skip to implement client-side paging of search results. If results are truncated due to server-side paging, the response will include a continuation token that can be used to issue another Search request for the next page of results.",
+ "x-ms-parameter-grouping": {
+ "name": "SearchParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "Response containing documents that match the search criteria.",
+ "schema": {
+ "$ref": "#/definitions/DocumentSearchResult"
+ }
+ }
+ }
+ }
+ },
+ "/docs/search.post.search": {
+ "post": {
+ "tags": [
+ "Documents"
+ ],
+ "operationId": "Documents_SearchPost",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Search-Documents"
+ },
+ "x-ms-examples": {
+ "SearchIndexSearchDocumentsPost": {
+ "$ref": "./examples/SearchIndexSearchDocumentsPost.json"
+ }
+ },
+ "description": "Searches for documents in the index.",
+ "parameters": [
+ {
+ "name": "searchRequest",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SearchRequest",
+ "description": "The Search request."
+ },
+ "description": "The definition of the Search request."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "Response containing documents that match the search criteria.",
+ "schema": {
+ "$ref": "#/definitions/DocumentSearchResult"
+ }
+ }
+ }
+ }
+ },
+ "/docs('{key}')": {
+ "get": {
+ "tags": [
+ "Documents"
+ ],
+ "operationId": "Documents_Get",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/lookup-document"
+ },
+ "x-ms-examples": {
+ "SearchIndexGetDocument": {
+ "$ref": "./examples/SearchIndexGetDocument.json"
+ }
+ },
+ "description": "Retrieves a document from the index.",
+ "parameters": [
+ {
+ "name": "key",
+ "in": "path",
+ "required": true,
+ "description": "The key of the document to retrieve.",
+ "type": "string"
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "List of field names to retrieve for the document; Any field not retrieved will be missing from the returned document.",
+ "x-ms-client-name": "SelectedFields"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Response containing the requested document.",
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "/docs/search.suggest": {
+ "get": {
+ "tags": [
+ "Documents"
+ ],
+ "operationId": "Documents_SuggestGet",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/suggestions"
+ },
+ "x-ms-examples": {
+ "SearchIndexSuggestDocumentsGet": {
+ "$ref": "./examples/SearchIndexSuggestDocumentsGet.json"
+ }
+ },
+ "description": "Suggests documents in the index that match the given partial query text.",
+ "parameters": [
+ {
+ "name": "search",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The search text to use to suggest documents. Must be at least 1 character, and no more than 100 characters.",
+ "x-ms-client-name": "SearchText"
+ },
+ {
+ "name": "suggesterName",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The name of the suggester as specified in the suggesters collection that's part of the index definition."
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "type": "string",
+ "description": "An OData expression that filters the documents considered for suggestions.",
+ "x-ms-parameter-grouping": {
+ "name": "SuggestParameters"
+ }
+ },
+ {
+ "name": "fuzzy",
+ "in": "query",
+ "type": "boolean",
+ "description": "A value indicating whether to use fuzzy matching for the suggestions query. Default is false. When set to true, the query will find terms even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy suggestions queries are slower and consume more resources.",
+ "x-ms-client-name": "UseFuzzyMatching",
+ "x-nullable": false,
+ "x-ms-parameter-grouping": {
+ "name": "SuggestParameters"
+ }
+ },
+ {
+ "name": "highlightPostTag",
+ "in": "query",
+ "type": "string",
+ "description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting of suggestions is disabled.",
+ "x-ms-parameter-grouping": {
+ "name": "SuggestParameters"
+ }
+ },
+ {
+ "name": "highlightPreTag",
+ "in": "query",
+ "type": "string",
+ "description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting of suggestions is disabled.",
+ "x-ms-parameter-grouping": {
+ "name": "SuggestParameters"
+ }
+ },
+ {
+ "name": "minimumCoverage",
+ "in": "query",
+ "type": "number",
+ "format": "double",
+ "description": "A number between 0 and 100 indicating the percentage of the index that must be covered by a suggestions query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80.",
+ "x-ms-parameter-grouping": {
+ "name": "SuggestParameters"
+ }
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "x-ms-client-name": "OrderBy",
+ "description": "The list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses.",
+ "x-ms-parameter-grouping": {
+ "name": "SuggestParameters"
+ }
+ },
+ {
+ "name": "searchFields",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of field names to search for the specified search text. Target fields must be included in the specified suggester.",
+ "x-ms-parameter-grouping": {
+ "name": "SuggestParameters"
+ }
+ },
+ {
+ "name": "$select",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of fields to retrieve. If unspecified, only the key field will be included in the results.",
+ "x-ms-parameter-grouping": {
+ "name": "SuggestParameters"
+ }
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of suggestions to retrieve. The value must be a number between 1 and 100. The default is 5.",
+ "x-ms-parameter-grouping": {
+ "name": "SuggestParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "Response containing suggested documents that match the partial input.",
+ "schema": {
+ "$ref": "#/definitions/DocumentSuggestResult"
+ }
+ }
+ }
+ }
+ },
+ "/docs/search.post.suggest": {
+ "post": {
+ "tags": [
+ "Documents"
+ ],
+ "operationId": "Documents_SuggestPost",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/suggestions"
+ },
+ "x-ms-examples": {
+ "SearchIndexSuggestDocumentsPost": {
+ "$ref": "./examples/SearchIndexSuggestDocumentsPost.json"
+ }
+ },
+ "description": "Suggests documents in the index that match the given partial query text.",
+ "parameters": [
+ {
+ "name": "suggestRequest",
+ "in": "body",
+ "required": true,
+ "description": "The Suggest request.",
+ "schema": {
+ "$ref": "#/definitions/SuggestRequest"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "Response containing suggested documents that match the partial input.",
+ "schema": {
+ "$ref": "#/definitions/DocumentSuggestResult"
+ }
+ }
+ }
+ }
+ },
+ "/docs/search.index": {
+ "post": {
+ "tags": [
+ "Documents"
+ ],
+ "operationId": "Documents_Index",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/addupdate-or-delete-documents"
+ },
+ "x-ms-examples": {
+ "SearchIndexIndexDocuments": {
+ "$ref": "./examples/SearchIndexIndexDocuments.json"
+ }
+ },
+ "description": "Sends a batch of document write actions to the index.",
+ "parameters": [
+ {
+ "name": "batch",
+ "in": "body",
+ "description": "The batch of index actions.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/IndexBatch"
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "Response containing the status of operations for all actions in the batch.",
+ "schema": {
+ "$ref": "#/definitions/DocumentIndexResult"
+ }
+ },
+ "207": {
+ "description": "Response containing the status of operations for all actions in the batch.",
+ "schema": {
+ "$ref": "#/definitions/DocumentIndexResult"
+ }
+ }
+ }
+ }
+ },
+ "/docs/search.autocomplete": {
+ "get": {
+ "tags": [
+ "Documents"
+ ],
+ "operationId": "Documents_AutocompleteGet",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/autocomplete"
+ },
+ "x-ms-examples": {
+ "SearchIndexAutocompleteDocumentsGet": {
+ "$ref": "./examples/SearchIndexAutocompleteDocumentsGet.json"
+ }
+ },
+ "description": "Autocompletes incomplete query terms based on input text and matching terms in the index.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "search",
+ "in": "query",
+ "type": "string",
+ "required": true,
+ "description": "The incomplete term which should be auto-completed.",
+ "x-ms-client-name": "SearchText"
+ },
+ {
+ "name": "suggesterName",
+ "in": "query",
+ "type": "string",
+ "required": true,
+ "description": "The name of the suggester as specified in the suggesters collection that's part of the index definition."
+ },
+ {
+ "name": "autocompleteMode",
+ "in": "query",
+ "type": "string",
+ "x-nullable": false,
+ "enum": [
+ "oneTerm",
+ "twoTerms",
+ "oneTermWithContext"
+ ],
+ "x-ms-enum": {
+ "name": "AutocompleteMode",
+ "modelAsString": false
+ },
+ "description": "Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing auto-completed terms.",
+ "x-ms-parameter-grouping": {
+ "name": "AutocompleteParameters"
+ }
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "type": "string",
+ "description": "An OData expression that filters the documents used to produce completed terms for the Autocomplete result.",
+ "x-ms-parameter-grouping": {
+ "name": "AutocompleteParameters"
+ }
+ },
+ {
+ "name": "fuzzy",
+ "in": "query",
+ "type": "boolean",
+ "description": "A value indicating whether to use fuzzy matching for the autocomplete query. Default is false. When set to true, the query will find terms even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy autocomplete queries are slower and consume more resources.",
+ "x-ms-client-name": "UseFuzzyMatching",
+ "x-ms-parameter-grouping": {
+ "name": "AutocompleteParameters"
+ }
+ },
+ {
+ "name": "highlightPostTag",
+ "in": "query",
+ "type": "string",
+ "description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting is disabled.",
+ "x-ms-parameter-grouping": {
+ "name": "AutocompleteParameters"
+ }
+ },
+ {
+ "name": "highlightPreTag",
+ "in": "query",
+ "type": "string",
+ "description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting is disabled.",
+ "x-ms-parameter-grouping": {
+ "name": "AutocompleteParameters"
+ }
+ },
+ {
+ "name": "minimumCoverage",
+ "in": "query",
+ "type": "number",
+ "format": "double",
+ "description": "A number between 0 and 100 indicating the percentage of the index that must be covered by an autocomplete query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80.",
+ "x-ms-parameter-grouping": {
+ "name": "AutocompleteParameters"
+ }
+ },
+ {
+ "name": "searchFields",
+ "in": "query",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of field names to consider when querying for auto-completed terms. Target fields must be included in the specified suggester.",
+ "x-ms-parameter-grouping": {
+ "name": "AutocompleteParameters"
+ }
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of auto-completed terms to retrieve. This must be a value between 1 and 100. The default is 5.",
+ "x-ms-parameter-grouping": {
+ "name": "AutocompleteParameters"
+ }
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/AutocompleteResult",
+ "description": "The result of Autocomplete query."
+ }
+ }
+ }
+ }
+ },
+ "/docs/search.post.autocomplete": {
+ "post": {
+ "tags": [
+ "Documents"
+ ],
+ "operationId": "Documents_AutocompletePost",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/autocomplete"
+ },
+ "x-ms-examples": {
+ "SearchIndexAutocompleteDocumentsPost": {
+ "$ref": "./examples/SearchIndexAutocompleteDocumentsPost.json"
+ }
+ },
+ "description": "Autocompletes incomplete query terms based on input text and matching terms in the index.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "autocompleteRequest",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AutocompleteRequest"
+ },
+ "description": "The definition of the Autocomplete request."
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/AutocompleteResult",
+ "description": "The result of Autocomplete query."
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "DocumentSuggestResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SuggestResult"
+ },
+ "readOnly": true,
+ "x-ms-client-name": "Results",
+ "description": "The sequence of results returned by the query."
+ },
+ "@search.coverage": {
+ "type": "number",
+ "readOnly": true,
+ "format": "double",
+ "x-ms-client-name": "Coverage",
+ "description": "A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not set in the request."
+ }
+ },
+ "description": "Response containing suggestion query results from an index."
+ },
+ "SuggestResult": {
+ "properties": {
+ "@search.text": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The text of the suggestion result.",
+ "x-ms-client-name": "Text"
+ }
+ },
+ "additionalProperties": true,
+ "description": "A result containing a document found by a suggestion query, plus associated metadata."
+ },
+ "FacetResult": {
+ "properties": {
+ "count": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "The approximate count of documents falling within the bucket described by this facet."
+ }
+ },
+ "additionalProperties": true,
+ "description": "A single bucket of a facet query result. Reports the number of documents with a field value falling within a particular range or having a particular value or interval."
+ },
+ "DocumentSearchResult": {
+ "properties": {
+ "@odata.count": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "x-ms-client-name": "Count",
+ "description": "The total count of results found by the search operation, or null if the count was not requested. If present, the count may be greater than the number of results in this response. This can happen if you use the $top or $skip parameters, or if Azure Cognitive Search can't return all the requested documents in a single Search response."
+ },
+ "@search.coverage": {
+ "type": "number",
+ "format": "double",
+ "readOnly": true,
+ "x-ms-client-name": "Coverage",
+ "description": "A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not specified in the request."
+ },
+ "@search.facets": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FacetResult"
+ }
+ },
+ "readOnly": true,
+ "x-ms-client-name": "Facets",
+ "description": "The facet query results for the search operation, organized as a collection of buckets for each faceted field; null if the query did not include any facet expressions."
+ },
+ "@search.nextPageParameters": {
+ "$ref": "#/definitions/SearchRequest",
+ "readOnly": true,
+ "x-ms-client-name": "NextPageParameters",
+ "description": "Continuation JSON payload returned when Azure Cognitive Search can't return all the requested results in a single Search response. You can use this JSON along with @odata.nextLink to formulate another POST Search request to get the next part of the search response."
+ },
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SearchResult"
+ },
+ "readOnly": true,
+ "x-ms-client-name": "Results",
+ "description": "The sequence of results returned by the query."
+ },
+ "@odata.nextLink": {
+ "type": "string",
+ "readOnly": true,
+ "x-ms-client-name": "NextLink",
+ "description": "Continuation URL returned when Azure Cognitive Search can't return all the requested results in a single Search response. You can use this URL to formulate another GET or POST Search request to get the next part of the search response. Make sure to use the same verb (GET or POST) as the request that produced this response."
+ }
+ },
+ "description": "Response containing search results from an index."
+ },
+ "SearchResult": {
+ "properties": {
+ "@search.score": {
+ "type": "number",
+ "format": "double",
+ "readOnly": true,
+ "x-ms-client-name": "Score",
+ "x-nullable": false,
+ "description": "The relevance score of the document compared to other documents returned by the query."
+ },
+ "@search.highlights": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "readOnly": true,
+ "x-ms-client-name": "Highlights",
+ "description": "Text fragments from the document that indicate the matching search terms, organized by each applicable field; null if hit highlighting was not enabled for the query."
+ }
+ },
+ "additionalProperties": true,
+ "description": "Contains a document found by a search query, plus associated metadata."
+ },
+ "IndexBatch": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IndexAction"
+ },
+ "description": "The actions in the batch.",
+ "x-ms-client-name": "Actions"
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "Contains a batch of document write actions to send to the index."
+ },
+ "IndexAction": {
+ "properties": {
+ "@search.action": {
+ "type": "string",
+ "enum": [
+ "upload",
+ "merge",
+ "mergeOrUpload",
+ "delete"
+ ],
+ "x-ms-enum": {
+ "name": "IndexActionType"
+ },
+ "x-ms-client-name": "ActionType",
+ "x-nullable": false,
+ "description": "The operation to perform on a document in an indexing batch."
+ }
+ },
+ "additionalProperties": true,
+ "description": "Represents an index action that operates on a document."
+ },
+ "IndexingResult": {
+ "properties": {
+ "key": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The key of a document that was in the indexing request."
+ },
+ "errorMessage": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The error message explaining why the indexing operation failed for the document identified by the key; null if indexing succeeded."
+ },
+ "status": {
+ "x-ms-client-name": "Succeeded",
+ "type": "boolean",
+ "x-nullable": false,
+ "readOnly": true,
+ "description": "A value indicating whether the indexing operation succeeded for the document identified by the key."
+ },
+ "statusCode": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": false,
+ "readOnly": true,
+ "description": "The status code of the indexing operation. Possible values include: 200 for a successful update or delete, 201 for successful document creation, 400 for a malformed input document, 404 for document not found, 409 for a version conflict, 422 when the index is temporarily unavailable, or 503 for when the service is too busy."
+ }
+ },
+ "description": "Status of an indexing operation for a single document."
+ },
+ "DocumentIndexResult": {
+ "properties": {
+ "value": {
+ "x-ms-client-name": "Results",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/IndexingResult"
+ },
+ "description": "The list of status information for each document in the indexing request."
+ }
+ },
+ "description": "Response containing the status of operations for all documents in the indexing request."
+ },
+ "SearchMode": {
+ "type": "string",
+ "enum": [
+ "any",
+ "all"
+ ],
+ "x-ms-enum": {
+ "name": "SearchMode",
+ "modelAsString": false
+ },
+ "description": "Specifies whether any or all of the search terms must be matched in order to count the document as a match."
+ },
+ "QueryType": {
+ "type": "string",
+ "enum": [
+ "simple",
+ "full"
+ ],
+ "x-ms-enum": {
+ "name": "QueryType",
+ "modelAsString": false
+ },
+ "description": "Specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax."
+ },
+ "AutocompleteMode": {
+ "type": "string",
+ "enum": [
+ "oneTerm",
+ "twoTerms",
+ "oneTermWithContext"
+ ],
+ "x-ms-enum": {
+ "name": "AutocompleteMode",
+ "modelAsString": false
+ },
+ "description": "Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context in producing autocomplete terms."
+ },
+ "SearchRequest": {
+ "properties": {
+ "count": {
+ "type": "boolean",
+ "description": "A value that specifies whether to fetch the total count of results. Default is false. Setting this value to true may have a performance impact. Note that the count returned is an approximation.",
+ "x-ms-client-name": "IncludeTotalResultCount"
+ },
+ "facets": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Search-Documents"
+ },
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of facet expressions to apply to the search query. Each facet expression contains a field name, optionally followed by a comma-separated list of name:value pairs."
+ },
+ "filter": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/OData-Expression-Syntax-for-Azure-Search"
+ },
+ "type": "string",
+ "description": "The OData $filter expression to apply to the search query."
+ },
+ "highlight": {
+ "type": "string",
+ "description": "The comma-separated list of field names to use for hit highlights. Only searchable fields can be used for hit highlighting.",
+ "x-ms-client-name": "HighlightFields"
+ },
+ "highlightPostTag": {
+ "type": "string",
+ "description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. Default is </em>."
+ },
+ "highlightPreTag": {
+ "type": "string",
+ "description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. Default is <em>."
+ },
+ "minimumCoverage": {
+ "type": "number",
+ "format": "double",
+ "description": "A number between 0 and 100 indicating the percentage of the index that must be covered by a search query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 100."
+ },
+ "orderby": {
+ "x-ms-client-name": "OrderBy",
+ "type": "string",
+ "description": "The comma-separated list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses."
+ },
+ "queryType": {
+ "$ref": "#/definitions/QueryType",
+ "description": "A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax."
+ },
+ "scoringParameters": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be \"mylocation--122.2,44.8\" (without the quotes)."
+ },
+ "scoringProfile": {
+ "type": "string",
+ "description": "The name of a scoring profile to evaluate match scores for matching documents in order to sort the results."
+ },
+ "search": {
+ "type": "string",
+ "description": "A full-text search query expression; Use \"*\" or omit this parameter to match all documents.",
+ "x-ms-client-name": "SearchText"
+ },
+ "searchFields": {
+ "type": "string",
+ "description": "The comma-separated list of field names to which to scope the full-text search. When using fielded search (fieldName:searchExpression) in a full Lucene query, the field names of each fielded search expression take precedence over any field names listed in this parameter."
+ },
+ "searchMode": {
+ "$ref": "#/definitions/SearchMode",
+ "description": "A value that specifies whether any or all of the search terms must be matched in order to count the document as a match."
+ },
+ "select": {
+ "type": "string",
+ "description": "The comma-separated list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included."
+ },
+ "skip": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of search results to skip. This value cannot be greater than 100,000. If you need to scan documents in sequence, but cannot use skip due to this limitation, consider using orderby on a totally-ordered key and filter with a range query instead."
+ },
+ "top": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of search results to retrieve. This can be used in conjunction with $skip to implement client-side paging of search results. If results are truncated due to server-side paging, the response will include a continuation token that can be used to issue another Search request for the next page of results."
+ }
+ },
+ "description": "Parameters for filtering, sorting, faceting, paging, and other search query behaviors."
+ },
+ "SuggestRequest": {
+ "properties": {
+ "filter": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/OData-Expression-Syntax-for-Azure-Search"
+ },
+ "type": "string",
+ "description": "An OData expression that filters the documents considered for suggestions."
+ },
+ "fuzzy": {
+ "type": "boolean",
+ "description": "A value indicating whether to use fuzzy matching for the suggestion query. Default is false. When set to true, the query will find suggestions even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy suggestion searches are slower and consume more resources.",
+ "x-ms-client-name": "UseFuzzyMatching"
+ },
+ "highlightPostTag": {
+ "type": "string",
+ "description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting of suggestions is disabled."
+ },
+ "highlightPreTag": {
+ "type": "string",
+ "description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting of suggestions is disabled."
+ },
+ "minimumCoverage": {
+ "type": "number",
+ "format": "double",
+ "description": "A number between 0 and 100 indicating the percentage of the index that must be covered by a suggestion query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80."
+ },
+ "orderby": {
+ "x-ms-client-name": "OrderBy",
+ "type": "string",
+ "description": "The comma-separated list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses."
+ },
+ "search": {
+ "type": "string",
+ "description": "The search text to use to suggest documents. Must be at least 1 character, and no more than 100 characters.",
+ "x-ms-client-name": "SearchText"
+ },
+ "searchFields": {
+ "type": "string",
+ "description": "The comma-separated list of field names to search for the specified search text. Target fields must be included in the specified suggester."
+ },
+ "select": {
+ "type": "string",
+ "description": "The comma-separated list of fields to retrieve. If unspecified, only the key field will be included in the results."
+ },
+ "suggesterName": {
+ "type": "string",
+ "description": "The name of the suggester as specified in the suggesters collection that's part of the index definition."
+ },
+ "top": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of suggestions to retrieve. This must be a value between 1 and 100. The default is 5."
+ }
+ },
+ "description": "Parameters for filtering, sorting, fuzzy matching, and other suggestions query behaviors."
+ },
+ "AutocompleteRequest": {
+ "properties": {
+ "search": {
+ "type": "string",
+ "description": "The search text on which to base autocomplete results.",
+ "x-ms-client-name": "SearchText"
+ },
+ "autocompleteMode": {
+ "$ref": "#/definitions/AutocompleteMode",
+ "description": "Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing auto-completed terms."
+ },
+ "filter": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/OData-Expression-Syntax-for-Azure-Search"
+ },
+ "type": "string",
+ "description": "An OData expression that filters the documents used to produce completed terms for the Autocomplete result."
+ },
+ "fuzzy": {
+ "type": "boolean",
+ "description": "A value indicating whether to use fuzzy matching for the autocomplete query. Default is false. When set to true, the query will autocomplete terms even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy autocomplete queries are slower and consume more resources.",
+ "x-ms-client-name": "UseFuzzyMatching"
+ },
+ "highlightPostTag": {
+ "type": "string",
+ "description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting is disabled."
+ },
+ "highlightPreTag": {
+ "type": "string",
+ "description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting is disabled."
+ },
+ "minimumCoverage": {
+ "type": "number",
+ "format": "double",
+ "description": "A number between 0 and 100 indicating the percentage of the index that must be covered by an autocomplete query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80."
+ },
+ "searchFields": {
+ "type": "string",
+ "description": "The comma-separated list of field names to consider when querying for auto-completed terms. Target fields must be included in the specified suggester."
+ },
+ "suggesterName": {
+ "type": "string",
+ "description": "The name of the suggester as specified in the suggesters collection that's part of the index definition."
+ },
+ "top": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of auto-completed terms to retrieve. This must be a value between 1 and 100. The default is 5."
+ }
+ },
+ "description": "Parameters for fuzzy matching, and other autocomplete query behaviors."
+ },
+ "AutocompleteResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/AutocompleteItem"
+ },
+ "description": "The list of returned Autocompleted items.",
+ "x-ms-client-name": "Results"
+ }
+ },
+ "description": "The result of Autocomplete query."
+ },
+ "AutocompleteItem": {
+ "properties": {
+ "text": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The completed term."
+ },
+ "queryPlusText": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The query along with the completed term."
+ }
+ },
+ "description": "The result of Autocomplete requests."
+ }
+ },
+ "parameters": {
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
+ },
+ "ClientRequestIdParameter": {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The tracking ID sent with the request to help with debugging.",
+ "x-ms-client-request-id": true,
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "SearchServiceNameParameter": {
+ "name": "searchServiceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-skip-url-encoding": true,
+ "description": "The name of the search service.",
+ "x-ms-parameter-location": "client"
+ },
+ "SearchDnsSuffixParameter": {
+ "name": "searchDnsSuffix",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "default": "search.windows.net",
+ "x-ms-skip-url-encoding": true,
+ "description": "The DNS suffix of the search service. The default is search.windows.net.",
+ "x-ms-parameter-location": "client"
+ },
+ "IndexNameParameter": {
+ "name": "indexName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-skip-url-encoding": false,
+ "description": "The name of the index.",
+ "x-ms-parameter-location": "client"
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateDataSource.json
new file mode 100644
index 000000000000..b9e678d0d59b
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateDataSource.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06-Preview",
+ "dataSource": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": "AccountEndpoint=https://myDocDbEndpoint.documents.azure.com;AccountKey=myDocDbAuthKey;Database=myDocDbDatabaseId"
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateIndex.json
new file mode 100644
index 000000000000..899a46d7e3a8
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateIndex.json
@@ -0,0 +1,364 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06-Preview",
+ "index": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "key": true,
+ "searchable": false
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double"
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false,
+ "analyzer": "fr.lucene"
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String"
+ },
+ {
+ "name": "category",
+ "type": "Edm.String"
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "analyzer": "tagsAnalyzer"
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset"
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32"
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint"
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ },
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": "myapplicationsecret"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ },
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": null
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateIndexer.json
new file mode 100644
index 000000000000..a48caf1ae64e
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateIndexer.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06-Preview",
+ "indexer": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateDataSource.json
new file mode 100644
index 000000000000..20632119f79b
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateDataSource.json
@@ -0,0 +1,78 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "dataSourceName": "mydatasource",
+ "api-version": "2019-05-06-Preview",
+ "Prefer": "return=representation",
+ "dataSource": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": "AccountEndpoint=https://myDocDbEndpoint.documents.azure.com;AccountKey=myDocDbAuthKey;Database=myDocDbDatabaseId"
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndex.json
new file mode 100644
index 000000000000..110718158428
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndex.json
@@ -0,0 +1,593 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "allowIndexDowntime": false,
+ "api-version": "2019-05-06-Preview",
+ "Prefer": "return=representation",
+ "index": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "key": true,
+ "searchable": false
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double"
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false,
+ "analyzer": "fr.lucene"
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String"
+ },
+ {
+ "name": "category",
+ "type": "Edm.String"
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "analyzer": "tagsAnalyzer"
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset"
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32"
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint"
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ },
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ },
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ },
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndexer.json
new file mode 100644
index 000000000000..0d6be7478c9b
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndexer.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2019-05-06-Preview",
+ "Prefer": "return=representation",
+ "indexer": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ }
+ },
+ "201": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSkillset.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSkillset.json
new file mode 100644
index 000000000000..882002b21eb3
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSkillset.json
@@ -0,0 +1,370 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "skillsetName": "demoskillset",
+ "api-version": "2019-05-06-Preview",
+ "Prefer": "return=representation",
+ "skillset": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill",
+ "name": "MyCustomWebApiSkill",
+ "uri": "https://contoso.example.org",
+ "httpMethod": "POST",
+ "timeout": "PT30S",
+ "batchSize": 1,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "customresult",
+ "targetName": "result"
+ }
+ ],
+ "httpHeaders": {}
+ }
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "name": "#1",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ],
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "name": "#2",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "name": "#3",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "name": "#4",
+ "description": null,
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "maxKeyPhraseCount": null
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill",
+ "name": "MyCustomWebApiSkill",
+ "description": null,
+ "context": "/document",
+ "uri": "https://contoso.example.org",
+ "httpMethod": "POST",
+ "timeout": "PT30S",
+ "batchSize": 1,
+ "degreeOfParallelism": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "customresult",
+ "targetName": "result"
+ }
+ ],
+ "httpHeaders": {}
+ }
+ ]
+ }
+ },
+ "201": {
+ "body": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "name": "#1",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ],
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "name": "#2",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "name": "#3",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "name": "#4",
+ "description": null,
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "maxKeyPhraseCount": null
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill",
+ "name": "MyCustomWebApiSkill",
+ "description": null,
+ "context": "/document",
+ "uri": "https://contoso.example.org",
+ "httpMethod": "POST",
+ "timeout": "PT30S",
+ "batchSize": 1,
+ "degreeOfParallelism": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "customresult",
+ "targetName": "result"
+ }
+ ],
+ "httpHeaders": {}
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json
new file mode 100644
index 000000000000..e03c3c7a3a81
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2019-5-06-Preview",
+ "Prefer": "return=representation",
+ "synonymMap": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateSkillset.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateSkillset.json
new file mode 100644
index 000000000000..345d170d4e6f
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateSkillset.json
@@ -0,0 +1,244 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "skillsetName": "demoskillset",
+ "api-version": "2019-05-06-Preview",
+ "Prefer": "return=representation",
+ "skillset": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill",
+ "name": "MyCustomWebApiSkill",
+ "uri": "https://contoso.example.org",
+ "httpMethod": "POST",
+ "timeout": "PT30S",
+ "batchSize": 1,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "customresult",
+ "targetName": "result"
+ }
+ ],
+ "httpHeaders": {}
+ }
+ ]
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "name": "#1",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ],
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "name": "#2",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "name": "#3",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "name": "#4",
+ "description": null,
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "maxKeyPhraseCount": null
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill",
+ "name": "MyCustomWebApiSkill",
+ "description": null,
+ "context": "/document",
+ "uri": "https://contoso.example.org",
+ "httpMethod": "POST",
+ "timeout": "PT30S",
+ "batchSize": 1,
+ "degreeOfParallelism": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "customresult",
+ "targetName": "result"
+ }
+ ],
+ "httpHeaders": {}
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateSynonymMap.json
new file mode 100644
index 000000000000..9f8c35581736
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateSynonymMap.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06-Preview",
+ "synonymMap": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": "myApplicationSecret"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": null
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceDeleteDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceDeleteDataSource.json
new file mode 100644
index 000000000000..485998c3b399
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceDeleteDataSource.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "dataSourceName": "mydatasource",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceDeleteIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceDeleteIndex.json
new file mode 100644
index 000000000000..7e2a4ab24ebb
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceDeleteIndex.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceDeleteIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceDeleteIndexer.json
new file mode 100644
index 000000000000..2d8d47a4aba9
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceDeleteIndexer.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceDeleteSkillset.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceDeleteSkillset.json
new file mode 100644
index 000000000000..a7ef21578409
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceDeleteSkillset.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "skillsetName": "demoskillset",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceDeleteSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceDeleteSynonymMap.json
new file mode 100644
index 000000000000..367a75c1fb2c
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceDeleteSynonymMap.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetDataSource.json
new file mode 100644
index 000000000000..764a9c1f0bae
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetDataSource.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "dataSourceName": "mydatasource",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetIndex.json
new file mode 100644
index 000000000000..b6eba6581225
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetIndex.json
@@ -0,0 +1,245 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ },
+ "encryptionKey": {
+ "keyVaultKeyName": "myKeyName",
+ "keyVaultKeyVersion": "myKeyVersion",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": null
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetIndexStatistics.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetIndexStatistics.json
new file mode 100644
index 000000000000..9392ddbbece6
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetIndexStatistics.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "documentCount": 239572,
+ "storageSize": 72375920
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetIndexer.json
new file mode 100644
index 000000000000..83cfe1c5c9e5
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetIndexer.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetIndexerStatus.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetIndexerStatus.json
new file mode 100644
index 000000000000..1f0fb1785cf8
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetIndexerStatus.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "status": "running",
+ "lastResult": {
+ "status": "success",
+ "errorMessage": null,
+ "startTime": "2014-11-26T03:37:18.853Z",
+ "endTime": "2014-11-26T03:37:19.012Z",
+ "errors": [],
+ "warnings": [],
+ "itemsProcessed": 11,
+ "itemsFailed": 0,
+ "initialTrackingState": null,
+ "finalTrackingState": null
+ },
+ "executionHistory": [
+ {
+ "status": "success",
+ "errorMessage": null,
+ "startTime": "2014-11-26T03:37:18.853Z",
+ "endTime": "2014-11-26T03:37:19.012Z",
+ "errors": [],
+ "warnings": [],
+ "itemsProcessed": 11,
+ "itemsFailed": 0,
+ "initialTrackingState": null,
+ "finalTrackingState": null
+ },
+ {
+ "status": "transientFailure",
+ "errorMessage": null,
+ "startTime": "2014-11-26T03:28:10.125Z",
+ "endTime": "2014-11-26T03:28:12.007Z",
+ "errors": [
+ {
+ "key": "",
+ "errorMessage": "Document key cannot be missing or empty.",
+ "statusCode": 400,
+ "name": null,
+ "details": null,
+ "documentationLink": null
+ },
+ {
+ "key": "document id 1",
+ "errorMessage": "Could not read the value of column 'foo' at index '0'.",
+ "statusCode": 400,
+ "name": "DocumentExtraction.AzureBlob.MyDataSource",
+ "details": "The file could not be parsed.",
+ "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2049388"
+ }
+ ],
+ "warnings": [
+ {
+ "key": "document id",
+ "message": "A warning doesn't stop indexing, and is intended to inform you of certain interesting situations, like when a blob indexer truncates the amount of text extracted from a blob.",
+ "name": null,
+ "details": null,
+ "documentationLink": null
+ },
+ {
+ "key": "document id 2",
+ "message": "Document was truncated to 50000 characters.",
+ "name": "Enrichment.LanguageDetectionSkill.#4",
+ "details": "The skill did something that didn't break anything, nonetheless something we didn't expect happened, so it might be worth double checking.",
+ "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2099692"
+ }
+ ],
+ "itemsProcessed": 1,
+ "itemsFailed": 2,
+ "initialTrackingState": null,
+ "finalTrackingState": null
+ }
+ ],
+ "limits": {
+ "maxRunTime": "22:00:00",
+ "maxDocumentExtractionSize": 256000000,
+ "maxDocumentContentCharactersToExtract": 4000000
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetServiceStatistics.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetServiceStatistics.json
new file mode 100644
index 000000000000..ef57c6530a12
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetServiceStatistics.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "counters": {
+ "documentCount": {
+ "usage": 7093,
+ "quota": 10000
+ },
+ "indexesCount": {
+ "usage": 3,
+ "quota": 3
+ },
+ "indexersCount": {
+ "usage": 3,
+ "quota": 3
+ },
+ "dataSourcesCount": {
+ "usage": 1,
+ "quota": 3
+ },
+ "storageSize": {
+ "usage": 914529,
+ "quota": 52428800
+ },
+ "synonymMaps": {
+ "usage": 2,
+ "quota": 3
+ }
+ },
+ "limits": {
+ "maxFieldsPerIndex": 1000,
+ "maxFieldNestingDepthPerIndex": 10,
+ "maxComplexCollectionFieldsPerIndex": 100,
+ "maxComplexObjectsInCollectionsPerDocument": 3000
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetSkillset.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetSkillset.json
new file mode 100644
index 000000000000..10e742ea9eee
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetSkillset.json
@@ -0,0 +1,136 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "skillsetName": "demoskillset",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "name": "#1",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ],
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "name": "#2",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "name": "#3",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "name": "#4",
+ "description": null,
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "maxKeyPhraseCount": null
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill",
+ "name": "MyCustomWebApiSkill",
+ "description": null,
+ "context": "/document",
+ "uri": "https://contoso.example.org",
+ "httpMethod": "POST",
+ "timeout": "PT30S",
+ "batchSize": 1,
+ "degreeOfParallelism": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "customresult",
+ "targetName": "result"
+ }
+ ],
+ "httpHeaders": {}
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetSynonymMap.json
new file mode 100644
index 000000000000..44c620c21af7
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetSynonymMap.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myKeyName",
+ "keyVaultKeyVersion": "myKeyVersion",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": null
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceIndexAnalyze.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceIndexAnalyze.json
new file mode 100644
index 000000000000..671beb130f40
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceIndexAnalyze.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "api-version": "2019-05-06-Preview",
+ "request": {
+ "text": "Text to analyze",
+ "analyzer": "standard.lucene"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tokens": [
+ {
+ "token": "text",
+ "startOffset": 0,
+ "endOffset": 4,
+ "position": 0
+ },
+ {
+ "token": "to",
+ "startOffset": 5,
+ "endOffset": 7,
+ "position": 1
+ },
+ {
+ "token": "analyze",
+ "startOffset": 8,
+ "endOffset": 15,
+ "position": 2
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListDataSources.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListDataSources.json
new file mode 100644
index 000000000000..64f8ecb6a22d
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListDataSources.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "$select": "*",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ },
+ {
+ "name": "myblobdatasource",
+ "description": "My Azure Blob data source.",
+ "type": "azureblob",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "mycontainer"
+ },
+ "dataChangeDetectionPolicy": null,
+ "dataDeletionDetectionPolicy": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListIndexers.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListIndexers.json
new file mode 100644
index 000000000000..6cade8adafd9
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListIndexers.json
@@ -0,0 +1,68 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "$select": "*",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydocdbdatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ },
+ {
+ "name": "myotherindexer",
+ "description": "another cool indexer",
+ "dataSourceName": "myblobdatasource",
+ "targetIndexName": "orders",
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5,
+ "batchSize": 15
+ },
+ "fieldMappings": [
+ {
+ "sourceFieldName": "PersonName",
+ "targetFieldName": "FirstName",
+ "mappingFunction": {
+ "name": "extractTokenAtPosition",
+ "parameters": {
+ "delimiter": " ",
+ "position": 0
+ }
+ }
+ },
+ {
+ "sourceFieldName": "PersonName",
+ "targetFieldName": "LastName",
+ "mappingFunction": {
+ "name": "extractTokenAtPosition",
+ "parameters": {
+ "delimiter": " ",
+ "position": 1
+ }
+ }
+ }
+ ],
+ "disabled": false
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListIndexes.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListIndexes.json
new file mode 100644
index 000000000000..40cad9454d59
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListIndexes.json
@@ -0,0 +1,288 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "$select": "*",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ },
+ "encryptionKey": {
+ "keyVaultKeyName": "myKeyName",
+ "keyVaultKeyVersion": "myKeyVersion",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ },
+ {
+ "name": "testindex",
+ "fields": [
+ {
+ "name": "id",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "hidden",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": false,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [],
+ "defaultScoringProfile": null,
+ "suggesters": [],
+ "analyzers": [],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": null,
+ "encryptionKey": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListSkillsets.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListSkillsets.json
new file mode 100644
index 000000000000..51d26b811db3
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListSkillsets.json
@@ -0,0 +1,140 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "$select": "*",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "name": "#1",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ],
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "name": "#2",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "name": "#3",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "name": "#4",
+ "description": null,
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "maxKeyPhraseCount": null
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill",
+ "name": "MyCustomWebApiSkill",
+ "description": null,
+ "context": "/document",
+ "uri": "https://contoso.example.org",
+ "httpMethod": "POST",
+ "timeout": "PT30S",
+ "batchSize": 1,
+ "degreeOfParallelism": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "customresult",
+ "targetName": "result"
+ }
+ ],
+ "httpHeaders": {}
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListSynonymMaps.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListSynonymMaps.json
new file mode 100644
index 000000000000..9fe7c633b7f1
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListSynonymMaps.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myKeyName",
+ "keyVaultKeyVersion": "myKeyVersion",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ },
+ {
+ "name": "myothersynonymmap",
+ "format": "solr",
+ "synonyms": "couch, sofa, chesterfield\npop, soda\ntoque, hat",
+ "encryptionKey": null
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceResetIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceResetIndexer.json
new file mode 100644
index 000000000000..6f3c5ec8ed27
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceResetIndexer.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceRunIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceRunIndexer.json
new file mode 100644
index 000000000000..0a59b91741a2
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceRunIndexer.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/searchservice.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/searchservice.json
new file mode 100644
index 000000000000..da4cbe1887e1
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/searchservice.json
@@ -0,0 +1,5640 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "SearchServiceClient",
+ "description": "Client that can be used to manage and query indexes and documents, as well as manage other resources, on a search service.",
+ "version": "2019-05-06-Preview",
+ "x-ms-code-generation-settings": {
+ "useDateTimeOffset": true
+ }
+ },
+ "x-ms-parameterized-host": {
+ "hostTemplate": "https://{searchServiceName}.{searchDnsSuffix}",
+ "useSchemePrefix": false,
+ "parameters": [
+ {
+ "$ref": "#/parameters/SearchServiceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SearchDnsSuffixParameter"
+ }
+ ]
+ },
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/datasources('{dataSourceName}')": {
+ "put": {
+ "tags": [
+ "DataSources"
+ ],
+ "operationId": "DataSources_CreateOrUpdate",
+ "x-ms-examples": {
+ "SearchServiceCreateOrUpdateDataSource": {
+ "$ref": "./examples/SearchServiceCreateOrUpdateDataSource.json"
+ }
+ },
+ "description": "Creates a new datasource or updates a datasource if it already exists.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Update-Data-Source"
+ },
+ "parameters": [
+ {
+ "name": "dataSourceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the datasource to create or update."
+ },
+ {
+ "name": "dataSource",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DataSource"
+ },
+ "description": "The definition of the datasource to create or update."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IfMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/IfNoneMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/PreferHeaderParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/DataSource"
+ }
+ },
+ "201": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/DataSource"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "DataSources"
+ ],
+ "operationId": "DataSources_Delete",
+ "x-ms-examples": {
+ "SearchServiceDeleteDataSource": {
+ "$ref": "./examples/SearchServiceDeleteDataSource.json"
+ }
+ },
+ "description": "Deletes a datasource.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Delete-Data-Source"
+ },
+ "parameters": [
+ {
+ "name": "dataSourceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the datasource to delete."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IfMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/IfNoneMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "204": {
+ "description": ""
+ },
+ "404": {
+ "description": ""
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "DataSources"
+ ],
+ "operationId": "DataSources_Get",
+ "x-ms-examples": {
+ "SearchServiceGetDataSource": {
+ "$ref": "./examples/SearchServiceGetDataSource.json"
+ }
+ },
+ "description": "Retrieves a datasource definition.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Get-Data-Source"
+ },
+ "parameters": [
+ {
+ "name": "dataSourceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the datasource to retrieve."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/DataSource"
+ }
+ }
+ }
+ }
+ },
+ "/datasources": {
+ "get": {
+ "tags": [
+ "DataSources"
+ ],
+ "operationId": "DataSources_List",
+ "x-ms-examples": {
+ "SearchServiceListDataSources": {
+ "$ref": "./examples/SearchServiceListDataSources.json"
+ }
+ },
+ "description": "Lists all datasources available for a search service.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/List-Data-Sources"
+ },
+ "parameters": [
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Selects which top-level properties of the data sources to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/DataSourceListResult"
+ }
+ }
+ }
+ },
+ "post": {
+ "tags": [
+ "DataSources"
+ ],
+ "operationId": "DataSources_Create",
+ "x-ms-examples": {
+ "SearchServiceCreateDataSource": {
+ "$ref": "./examples/SearchServiceCreateDataSource.json"
+ }
+ },
+ "description": "Creates a new datasource.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Create-Data-Source"
+ },
+ "parameters": [
+ {
+ "name": "dataSource",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DataSource"
+ },
+ "description": "The definition of the datasource to create."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "201": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/DataSource"
+ }
+ }
+ }
+ }
+ },
+ "/indexers('{indexerName}')/search.reset": {
+ "post": {
+ "tags": [
+ "Indexers"
+ ],
+ "operationId": "Indexers_Reset",
+ "x-ms-examples": {
+ "SearchServiceResetIndexer": {
+ "$ref": "./examples/SearchServiceResetIndexer.json"
+ }
+ },
+ "description": "Resets the change tracking state associated with an indexer.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Reset-Indexer"
+ },
+ "parameters": [
+ {
+ "name": "indexerName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the indexer to reset."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "204": {
+ "description": ""
+ }
+ }
+ }
+ },
+ "/indexers('{indexerName}')/search.run": {
+ "post": {
+ "tags": [
+ "Indexers"
+ ],
+ "operationId": "Indexers_Run",
+ "x-ms-examples": {
+ "SearchServiceRunIndexer": {
+ "$ref": "./examples/SearchServiceRunIndexer.json"
+ }
+ },
+ "description": "Runs an indexer on-demand.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Run-Indexer"
+ },
+ "parameters": [
+ {
+ "name": "indexerName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the indexer to run."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "202": {
+ "description": ""
+ }
+ }
+ }
+ },
+ "/indexers('{indexerName}')": {
+ "put": {
+ "tags": [
+ "Indexers"
+ ],
+ "operationId": "Indexers_CreateOrUpdate",
+ "x-ms-examples": {
+ "SearchServiceCreateOrUpdateIndexer": {
+ "$ref": "./examples/SearchServiceCreateOrUpdateIndexer.json"
+ }
+ },
+ "description": "Creates a new indexer or updates an indexer if it already exists.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Create-Indexer"
+ },
+ "parameters": [
+ {
+ "name": "indexerName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the indexer to create or update."
+ },
+ {
+ "name": "indexer",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Indexer"
+ },
+ "description": "The definition of the indexer to create or update."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IfMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/IfNoneMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/PreferHeaderParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "201": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/Indexer"
+ }
+ },
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/Indexer"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Indexers"
+ ],
+ "operationId": "Indexers_Delete",
+ "x-ms-examples": {
+ "SearchServiceDeleteIndexer": {
+ "$ref": "./examples/SearchServiceDeleteIndexer.json"
+ }
+ },
+ "description": "Deletes an indexer.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Delete-Indexer"
+ },
+ "parameters": [
+ {
+ "name": "indexerName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the indexer to delete."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IfMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/IfNoneMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "404": {
+ "description": ""
+ },
+ "204": {
+ "description": ""
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Indexers"
+ ],
+ "operationId": "Indexers_Get",
+ "x-ms-examples": {
+ "SearchServiceGetIndexer": {
+ "$ref": "./examples/SearchServiceGetIndexer.json"
+ }
+ },
+ "description": "Retrieves an indexer definition.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Get-Indexer"
+ },
+ "parameters": [
+ {
+ "name": "indexerName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the indexer to retrieve."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/Indexer"
+ }
+ }
+ }
+ }
+ },
+ "/indexers": {
+ "get": {
+ "tags": [
+ "Indexers"
+ ],
+ "operationId": "Indexers_List",
+ "x-ms-examples": {
+ "SearchServiceListIndexers": {
+ "$ref": "./examples/SearchServiceListIndexers.json"
+ }
+ },
+ "description": "Lists all indexers available for a search service.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/List-Indexers"
+ },
+ "parameters": [
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Selects which top-level properties of the indexers to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/IndexerListResult"
+ }
+ }
+ }
+ },
+ "post": {
+ "tags": [
+ "Indexers"
+ ],
+ "operationId": "Indexers_Create",
+ "x-ms-examples": {
+ "SearchServiceCreateIndexer": {
+ "$ref": "./examples/SearchServiceCreateIndexer.json"
+ }
+ },
+ "description": "Creates a new indexer.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Create-Indexer"
+ },
+ "parameters": [
+ {
+ "name": "indexer",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Indexer"
+ },
+ "description": "The definition of the indexer to create."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "201": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/Indexer"
+ }
+ }
+ }
+ }
+ },
+ "/indexers('{indexerName}')/search.status": {
+ "get": {
+ "tags": [
+ "Indexers"
+ ],
+ "operationId": "Indexers_GetStatus",
+ "x-ms-examples": {
+ "SearchServiceGetIndexerStatus": {
+ "$ref": "./examples/SearchServiceGetIndexerStatus.json"
+ }
+ },
+ "description": "Returns the current status and execution history of an indexer.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Get-Indexer-Status"
+ },
+ "parameters": [
+ {
+ "name": "indexerName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the indexer for which to retrieve status."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/IndexerExecutionInfo"
+ }
+ }
+ }
+ }
+ },
+ "/skillsets('{skillsetName}')": {
+ "put": {
+ "tags": [
+ "Skillsets"
+ ],
+ "operationId": "Skillsets_CreateOrUpdate",
+ "x-ms-examples": {
+ "SearchServiceCreateOrUpdateSkillset": {
+ "$ref": "./examples/SearchServiceCreateOrUpdateSkillset.json"
+ }
+ },
+ "description": "Creates a new skillset in a search service or updates the skillset if it already exists.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/update-skillset"
+ },
+ "parameters": [
+ {
+ "name": "skillsetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the skillset to create or update."
+ },
+ {
+ "name": "skillset",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Skillset"
+ },
+ "description": "The skillset containing one or more skills to create or update in a search service."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/PreferHeaderParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "The skillset is successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/Skillset"
+ }
+ },
+ "201": {
+ "description": "The skillset is successfully created.",
+ "schema": {
+ "$ref": "#/definitions/Skillset"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Skillsets"
+ ],
+ "operationId": "Skillsets_Delete",
+ "x-ms-examples": {
+ "SearchServiceDeleteSkillset": {
+ "$ref": "./examples/SearchServiceDeleteSkillset.json"
+ }
+ },
+ "description": "Deletes a skillset in a search service.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/delete-skillset"
+ },
+ "parameters": [
+ {
+ "name": "skillsetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the skillset to delete."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "204": {
+ "description": "The skillset is successfully deleted."
+ },
+ "404": {
+ "description": "The provided skillset name is not found."
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Skillsets"
+ ],
+ "operationId": "Skillsets_Get",
+ "x-ms-examples": {
+ "SearchServiceGetSkillset": {
+ "$ref": "./examples/SearchServiceGetSkillset.json"
+ }
+ },
+ "description": "Retrieves a skillset in a search service.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/get-skillset"
+ },
+ "parameters": [
+ {
+ "name": "skillsetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the skillset to retrieve."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "The skillset is successfully returned.",
+ "schema": {
+ "$ref": "#/definitions/Skillset"
+ }
+ }
+ }
+ }
+ },
+ "/skillsets": {
+ "get": {
+ "tags": [
+ "Skillsets"
+ ],
+ "operationId": "Skillsets_List",
+ "x-ms-examples": {
+ "SearchServiceListSkillsets": {
+ "$ref": "./examples/SearchServiceListSkillsets.json"
+ }
+ },
+ "description": "List all skillsets in a search service.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/list-skillset"
+ },
+ "parameters": [
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Selects which top-level properties of the skillsets to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "The list is successfully returned.",
+ "schema": {
+ "$ref": "#/definitions/SkillsetListResult"
+ }
+ }
+ }
+ },
+ "post": {
+ "tags": [
+ "Skillsets"
+ ],
+ "operationId": "Skillsets_Create",
+ "x-ms-examples": {
+ "SearchServiceCreateSkillset": {
+ "$ref": "./examples/SearchServiceCreateSkillset.json"
+ }
+ },
+ "description": "Creates a new skillset in a search service.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/create-skillset"
+ },
+ "parameters": [
+ {
+ "name": "skillset",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Skillset"
+ },
+ "description": "The skillset containing one or more skills to create in a search service."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "201": {
+ "description": "The skillset is successfully created.",
+ "schema": {
+ "$ref": "#/definitions/Skillset"
+ }
+ }
+ }
+ }
+ },
+ "/synonymmaps('{synonymMapName}')": {
+ "put": {
+ "tags": [
+ "SynonymMaps"
+ ],
+ "operationId": "SynonymMaps_CreateOrUpdate",
+ "x-ms-examples": {
+ "SearchServiceCreateOrUpdateSynonymMap": {
+ "$ref": "./examples/SearchServiceCreateOrUpdateSynonymMap.json"
+ }
+ },
+ "description": "Creates a new synonym map or updates a synonym map if it already exists.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Update-Synonym-Map"
+ },
+ "parameters": [
+ {
+ "name": "synonymMapName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the synonym map to create or update."
+ },
+ {
+ "name": "synonymMap",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SynonymMap"
+ },
+ "description": "The definition of the synonym map to create or update."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IfMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/IfNoneMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/PreferHeaderParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/SynonymMap"
+ }
+ },
+ "201": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/SynonymMap"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "SynonymMaps"
+ ],
+ "operationId": "SynonymMaps_Delete",
+ "x-ms-examples": {
+ "SearchServiceDeleteSynonymMap": {
+ "$ref": "./examples/SearchServiceDeleteSynonymMap.json"
+ }
+ },
+ "description": "Deletes a synonym map.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Delete-Synonym-Map"
+ },
+ "parameters": [
+ {
+ "name": "synonymMapName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the synonym map to delete."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IfMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/IfNoneMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "204": {
+ "description": ""
+ },
+ "404": {
+ "description": ""
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "SynonymMaps"
+ ],
+ "operationId": "SynonymMaps_Get",
+ "x-ms-examples": {
+ "SearchServiceGetSynonymMap": {
+ "$ref": "./examples/SearchServiceGetSynonymMap.json"
+ }
+ },
+ "description": "Retrieves a synonym map definition.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Get-Synonym-Map"
+ },
+ "parameters": [
+ {
+ "name": "synonymMapName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the synonym map to retrieve."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/SynonymMap"
+ }
+ }
+ }
+ }
+ },
+ "/synonymmaps": {
+ "get": {
+ "tags": [
+ "SynonymMaps"
+ ],
+ "operationId": "SynonymMaps_List",
+ "x-ms-examples": {
+ "SearchServiceListSynonymMaps": {
+ "$ref": "./examples/SearchServiceListSynonymMaps.json"
+ }
+ },
+ "description": "Lists all synonym maps available for a search service.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/List-Synonym-Maps"
+ },
+ "parameters": [
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Selects which top-level properties of the synonym maps to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/SynonymMapListResult"
+ }
+ }
+ }
+ },
+ "post": {
+ "tags": [
+ "SynonymMaps"
+ ],
+ "operationId": "SynonymMaps_Create",
+ "x-ms-examples": {
+ "SearchServiceCreateSynonymMap": {
+ "$ref": "./examples/SearchServiceCreateSynonymMap.json"
+ }
+ },
+ "description": "Creates a new synonym map.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Create-Synonym-Map"
+ },
+ "parameters": [
+ {
+ "name": "synonymMap",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SynonymMap"
+ },
+ "description": "The definition of the synonym map to create."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "201": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/SynonymMap"
+ }
+ }
+ }
+ }
+ },
+ "/indexes": {
+ "post": {
+ "tags": [
+ "Indexes"
+ ],
+ "operationId": "Indexes_Create",
+ "x-ms-examples": {
+ "SearchServiceCreateIndex": {
+ "$ref": "./examples/SearchServiceCreateIndex.json"
+ }
+ },
+ "description": "Creates a new search index.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Create-Index"
+ },
+ "parameters": [
+ {
+ "name": "index",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Index"
+ },
+ "description": "The definition of the index to create."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "201": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/Index"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Indexes"
+ ],
+ "operationId": "Indexes_List",
+ "x-ms-examples": {
+ "SearchServiceListIndexes": {
+ "$ref": "./examples/SearchServiceListIndexes.json"
+ }
+ },
+ "description": "Lists all indexes available for a search service.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/List-Indexes"
+ },
+ "parameters": [
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Selects which top-level properties of the index definitions to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/IndexListResult"
+ }
+ }
+ }
+ }
+ },
+ "/indexes('{indexName}')": {
+ "put": {
+ "tags": [
+ "Indexes"
+ ],
+ "operationId": "Indexes_CreateOrUpdate",
+ "x-ms-examples": {
+ "SearchServiceCreateOrUpdateIndex": {
+ "$ref": "./examples/SearchServiceCreateOrUpdateIndex.json"
+ }
+ },
+ "description": "Creates a new search index or updates an index if it already exists.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Update-Index"
+ },
+ "parameters": [
+ {
+ "name": "indexName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The definition of the index to create or update."
+ },
+ {
+ "name": "index",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Index"
+ },
+ "description": "The definition of the index to create or update."
+ },
+ {
+ "name": "allowIndexDowntime",
+ "in": "query",
+ "required": false,
+ "type": "boolean",
+ "description": "Allows new analyzers, tokenizers, token filters, or char filters to be added to an index by taking the index offline for at least a few seconds. This temporarily causes indexing and query requests to fail. Performance and write availability of the index can be impaired for several minutes after the index is updated, or longer for very large indexes."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IfMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/IfNoneMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/PreferHeaderParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/Index"
+ }
+ },
+ "201": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/Index"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Indexes"
+ ],
+ "operationId": "Indexes_Delete",
+ "x-ms-examples": {
+ "SearchServiceDeleteIndex": {
+ "$ref": "./examples/SearchServiceDeleteIndex.json"
+ }
+ },
+ "description": "Deletes a search index and all the documents it contains.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Delete-Index"
+ },
+ "parameters": [
+ {
+ "name": "indexName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the index to delete."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IfMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/IfNoneMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "204": {
+ "description": ""
+ },
+ "404": {
+ "description": ""
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Indexes"
+ ],
+ "operationId": "Indexes_Get",
+ "x-ms-examples": {
+ "SearchServiceGetIndex": {
+ "$ref": "./examples/SearchServiceGetIndex.json"
+ }
+ },
+ "description": "Retrieves an index definition.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Get-Index"
+ },
+ "parameters": [
+ {
+ "name": "indexName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the index to retrieve."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/Index"
+ }
+ }
+ }
+ }
+ },
+ "/indexes('{indexName}')/search.stats": {
+ "get": {
+ "tags": [
+ "Indexes"
+ ],
+ "operationId": "Indexes_GetStatistics",
+ "x-ms-examples": {
+ "SearchServiceGetIndexStatistics": {
+ "$ref": "./examples/SearchServiceGetIndexStatistics.json"
+ }
+ },
+ "description": "Returns statistics for the given index, including a document count and storage usage.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Get-Index-Statistics"
+ },
+ "parameters": [
+ {
+ "name": "indexName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the index for which to retrieve statistics."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/IndexGetStatisticsResult"
+ }
+ }
+ }
+ }
+ },
+ "/indexes('{indexName}')/search.analyze": {
+ "post": {
+ "tags": [
+ "Indexes"
+ ],
+ "operationId": "Indexes_Analyze",
+ "x-ms-examples": {
+ "SearchServiceIndexAnalyze": {
+ "$ref": "./examples/SearchServiceIndexAnalyze.json"
+ }
+ },
+ "description": "Shows how an analyzer breaks text into tokens.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/test-analyzer"
+ },
+ "parameters": [
+ {
+ "name": "indexName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the index for which to test an analyzer."
+ },
+ {
+ "name": "request",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AnalyzeRequest"
+ },
+ "description": "The text and analyzer or analysis components to test."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/AnalyzeResult"
+ }
+ }
+ }
+ }
+ },
+ "/servicestats": {
+ "get": {
+ "tags": [
+ "Service"
+ ],
+ "operationId": "GetServiceStatistics",
+ "x-ms-examples": {
+ "SearchServiceGetServiceStatistics": {
+ "$ref": "./examples/SearchServiceGetServiceStatistics.json"
+ }
+ },
+ "description": "Gets service level statistics for a search service.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/ServiceStatistics"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "AnalyzeRequest": {
+ "properties": {
+ "text": {
+ "type": "string",
+ "description": "The text to break into tokens."
+ },
+ "analyzer": {
+ "$ref": "#/definitions/AnalyzerName",
+ "description": "The name of the analyzer to use to break the given text. If this parameter is not specified, you must specify a tokenizer instead. The tokenizer and analyzer parameters are mutually exclusive."
+ },
+ "tokenizer": {
+ "$ref": "#/definitions/TokenizerName",
+ "description": "The name of the tokenizer to use to break the given text. If this parameter is not specified, you must specify an analyzer instead. The tokenizer and analyzer parameters are mutually exclusive."
+ },
+ "tokenFilters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TokenFilterName",
+ "x-nullable": false
+ },
+ "description": "An optional list of token filters to use when breaking the given text. This parameter can only be set when using the tokenizer parameter."
+ },
+ "charFilters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CharFilterName",
+ "x-nullable": false
+ },
+ "description": "An optional list of character filters to use when breaking the given text. This parameter can only be set when using the tokenizer parameter."
+ }
+ },
+ "required": [
+ "text"
+ ],
+ "description": "Specifies some text and analysis components used to break that text into tokens."
+ },
+ "AnalyzeResult": {
+ "properties": {
+ "tokens": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TokenInfo"
+ },
+ "description": "The list of tokens returned by the analyzer specified in the request."
+ }
+ },
+ "description": "The result of testing an analyzer on text."
+ },
+ "TokenInfo": {
+ "properties": {
+ "token": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The token returned by the analyzer."
+ },
+ "startOffset": {
+ "type": "integer",
+ "format": "int32",
+ "readOnly": true,
+ "description": "The index of the first character of the token in the input text."
+ },
+ "endOffset": {
+ "type": "integer",
+ "format": "int32",
+ "readOnly": true,
+ "description": "The index of the last character of the token in the input text."
+ },
+ "position": {
+ "type": "integer",
+ "format": "int32",
+ "readOnly": true,
+ "description": "The position of the token in the input text relative to other tokens. The first token in the input text has position 0, the next has position 1, and so on. Depending on the analyzer used, some tokens might have the same position, for example if they are synonyms of each other."
+ }
+ },
+ "description": "Information about a token returned by an analyzer."
+ },
+ "AnalyzerName": {
+ "type": "string",
+ "enum": [
+ "ar.microsoft",
+ "ar.lucene",
+ "hy.lucene",
+ "bn.microsoft",
+ "eu.lucene",
+ "bg.microsoft",
+ "bg.lucene",
+ "ca.microsoft",
+ "ca.lucene",
+ "zh-Hans.microsoft",
+ "zh-Hans.lucene",
+ "zh-Hant.microsoft",
+ "zh-Hant.lucene",
+ "hr.microsoft",
+ "cs.microsoft",
+ "cs.lucene",
+ "da.microsoft",
+ "da.lucene",
+ "nl.microsoft",
+ "nl.lucene",
+ "en.microsoft",
+ "en.lucene",
+ "et.microsoft",
+ "fi.microsoft",
+ "fi.lucene",
+ "fr.microsoft",
+ "fr.lucene",
+ "gl.lucene",
+ "de.microsoft",
+ "de.lucene",
+ "el.microsoft",
+ "el.lucene",
+ "gu.microsoft",
+ "he.microsoft",
+ "hi.microsoft",
+ "hi.lucene",
+ "hu.microsoft",
+ "hu.lucene",
+ "is.microsoft",
+ "id.microsoft",
+ "id.lucene",
+ "ga.lucene",
+ "it.microsoft",
+ "it.lucene",
+ "ja.microsoft",
+ "ja.lucene",
+ "kn.microsoft",
+ "ko.microsoft",
+ "ko.lucene",
+ "lv.microsoft",
+ "lv.lucene",
+ "lt.microsoft",
+ "ml.microsoft",
+ "ms.microsoft",
+ "mr.microsoft",
+ "nb.microsoft",
+ "no.lucene",
+ "fa.lucene",
+ "pl.microsoft",
+ "pl.lucene",
+ "pt-BR.microsoft",
+ "pt-BR.lucene",
+ "pt-PT.microsoft",
+ "pt-PT.lucene",
+ "pa.microsoft",
+ "ro.microsoft",
+ "ro.lucene",
+ "ru.microsoft",
+ "ru.lucene",
+ "sr-cyrillic.microsoft",
+ "sr-latin.microsoft",
+ "sk.microsoft",
+ "sl.microsoft",
+ "es.microsoft",
+ "es.lucene",
+ "sv.microsoft",
+ "sv.lucene",
+ "ta.microsoft",
+ "te.microsoft",
+ "th.microsoft",
+ "th.lucene",
+ "tr.microsoft",
+ "tr.lucene",
+ "uk.microsoft",
+ "ur.microsoft",
+ "vi.microsoft",
+ "standard.lucene",
+ "standardasciifolding.lucene",
+ "keyword",
+ "pattern",
+ "simple",
+ "stop",
+ "whitespace"
+ ],
+ "x-ms-enum": {
+ "name": "AnalyzerName",
+ "modelAsString": false
+ },
+ "description": "Defines the names of all text analyzers supported by Azure Cognitive Search.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Language-support"
+ }
+ },
+ "TokenizerName": {
+ "type": "string",
+ "enum": [
+ "classic",
+ "edgeNGram",
+ "keyword_v2",
+ "letter",
+ "lowercase",
+ "microsoft_language_tokenizer",
+ "microsoft_language_stemming_tokenizer",
+ "nGram",
+ "path_hierarchy_v2",
+ "pattern",
+ "standard_v2",
+ "uax_url_email",
+ "whitespace"
+ ],
+ "x-ms-enum": {
+ "name": "TokenizerName",
+ "modelAsString": false
+ },
+ "description": "Defines the names of all tokenizers supported by Azure Cognitive Search.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
+ }
+ },
+ "TokenFilterName": {
+ "type": "string",
+ "enum": [
+ "arabic_normalization",
+ "apostrophe",
+ "asciifolding",
+ "cjk_bigram",
+ "cjk_width",
+ "classic",
+ "common_grams",
+ "edgeNGram_v2",
+ "elision",
+ "german_normalization",
+ "hindi_normalization",
+ "indic_normalization",
+ "keyword_repeat",
+ "kstem",
+ "length",
+ "limit",
+ "lowercase",
+ "nGram_v2",
+ "persian_normalization",
+ "phonetic",
+ "porter_stem",
+ "reverse",
+ "scandinavian_normalization",
+ "scandinavian_folding",
+ "shingle",
+ "snowball",
+ "sorani_normalization",
+ "stemmer",
+ "stopwords",
+ "trim",
+ "truncate",
+ "unique",
+ "uppercase",
+ "word_delimiter"
+ ],
+ "x-ms-enum": {
+ "name": "TokenFilterName",
+ "modelAsString": false
+ },
+ "description": "Defines the names of all token filters supported by Azure Cognitive Search.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
+ }
+ },
+ "CharFilterName": {
+ "type": "string",
+ "enum": [
+ "html_strip"
+ ],
+ "x-ms-enum": {
+ "name": "CharFilterName",
+ "modelAsString": false
+ },
+ "description": "Defines the names of all character filters supported by Azure Cognitive Search.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
+ }
+ },
+ "RegexFlags": {
+ "type": "string",
+ "enum": [
+ "CANON_EQ",
+ "CASE_INSENSITIVE",
+ "COMMENTS",
+ "DOTALL",
+ "LITERAL",
+ "MULTILINE",
+ "UNICODE_CASE",
+ "UNIX_LINES"
+ ],
+ "x-ms-enum": {
+ "name": "RegexFlags",
+ "modelAsString": false
+ },
+ "description": "Defines flags that can be combined to control how regular expressions are used in the pattern analyzer and pattern tokenizer.",
+ "externalDocs": {
+ "url": "http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html#field_summary"
+ }
+ },
+ "DataType": {
+ "type": "string",
+ "enum": [
+ "Edm.String",
+ "Edm.Int32",
+ "Edm.Int64",
+ "Edm.Double",
+ "Edm.Boolean",
+ "Edm.DateTimeOffset",
+ "Edm.GeographyPoint",
+ "Edm.ComplexType"
+ ],
+ "x-ms-enum": {
+ "name": "DataType",
+ "modelAsString": false
+ },
+ "description": "Defines the data type of a field in a search index."
+ },
+ "Analyzer": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference"
+ },
+ "description": "The name of the analyzer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters."
+ }
+ },
+ "required": [
+ "@odata.type",
+ "name"
+ ],
+ "description": "Abstract base class for analyzers."
+ },
+ "CustomAnalyzer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Analyzer"
+ }
+ ],
+ "properties": {
+ "tokenizer": {
+ "$ref": "#/definitions/TokenizerName",
+ "description": "The name of the tokenizer to use to divide continuous text into a sequence of tokens, such as breaking a sentence into words."
+ },
+ "tokenFilters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TokenFilterName",
+ "x-nullable": false
+ },
+ "description": "A list of token filters used to filter out or modify the tokens generated by a tokenizer. For example, you can specify a lowercase filter that converts all characters to lowercase. The filters are run in the order in which they are listed."
+ },
+ "charFilters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CharFilterName",
+ "x-nullable": false
+ },
+ "description": "A list of character filters used to prepare input text before it is processed by the tokenizer. For instance, they can replace certain characters or symbols. The filters are run in the order in which they are listed."
+ }
+ },
+ "required": [
+ "tokenizer"
+ ],
+ "description": "Allows you to take control over the process of converting text into indexable/searchable tokens. It's a user-defined configuration consisting of a single predefined tokenizer and one or more filters. The tokenizer is responsible for breaking text into tokens, and the filters for modifying tokens emitted by the tokenizer."
+ },
+ "PatternAnalyzer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.PatternAnalyzer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Analyzer"
+ }
+ ],
+ "properties": {
+ "lowercase": {
+ "x-ms-client-name": "LowerCaseTerms",
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether terms should be lower-cased. Default is true."
+ },
+ "pattern": {
+ "type": "string",
+ "default": "\\W+",
+ "description": "A regular expression pattern to match token separators. Default is an expression that matches one or more whitespace characters."
+ },
+ "flags": {
+ "$ref": "#/definitions/RegexFlags",
+ "description": "Regular expression flags."
+ },
+ "stopwords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of stopwords."
+ }
+ },
+ "description": "Flexibly separates text into terms via a regular expression pattern. This analyzer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/PatternAnalyzer.html"
+ }
+ },
+ "StandardAnalyzer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.StandardAnalyzer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Analyzer"
+ }
+ ],
+ "properties": {
+ "maxTokenLength": {
+ "type": "integer",
+ "format": "int32",
+ "default": 255,
+ "maximum": 300,
+ "description": "The maximum token length. Default is 255. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters."
+ },
+ "stopwords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of stopwords."
+ }
+ },
+ "description": "Standard Apache Lucene analyzer; Composed of the standard tokenizer, lowercase filter and stop filter.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/StandardAnalyzer.html"
+ }
+ },
+ "StopAnalyzer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.StopAnalyzer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Analyzer"
+ }
+ ],
+ "properties": {
+ "stopwords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of stopwords."
+ }
+ },
+ "description": "Divides text at non-letters; Applies the lowercase and stopword token filters. This analyzer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/StopAnalyzer.html"
+ }
+ },
+ "Tokenizer": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference"
+ },
+ "description": "The name of the tokenizer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters."
+ }
+ },
+ "required": [
+ "@odata.type",
+ "name"
+ ],
+ "description": "Abstract base class for tokenizers.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
+ }
+ },
+ "ClassicTokenizer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.ClassicTokenizer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "maxTokenLength": {
+ "type": "integer",
+ "format": "int32",
+ "default": 255,
+ "maximum": 300,
+ "description": "The maximum token length. Default is 255. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters."
+ }
+ },
+ "description": "Grammar-based tokenizer that is suitable for processing most European-language documents. This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/ClassicTokenizer.html"
+ }
+ },
+ "TokenCharacterKind": {
+ "type": "string",
+ "enum": [
+ "letter",
+ "digit",
+ "whitespace",
+ "punctuation",
+ "symbol"
+ ],
+ "x-ms-enum": {
+ "name": "TokenCharacterKind",
+ "modelAsString": false
+ },
+ "description": "Represents classes of characters on which a token filter can operate."
+ },
+ "EdgeNGramTokenizer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.EdgeNGramTokenizer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "minGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 1,
+ "maximum": 300,
+ "description": "The minimum n-gram length. Default is 1. Maximum is 300. Must be less than the value of maxGram."
+ },
+ "maxGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 2,
+ "maximum": 300,
+ "description": "The maximum n-gram length. Default is 2. Maximum is 300."
+ },
+ "tokenChars": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TokenCharacterKind",
+ "x-nullable": false
+ },
+ "description": "Character classes to keep in the tokens."
+ }
+ },
+ "description": "Tokenizes the input from an edge into n-grams of the given size(s). This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "https://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/EdgeNGramTokenizer.html"
+ }
+ },
+ "KeywordTokenizer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.KeywordTokenizer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "bufferSize": {
+ "type": "integer",
+ "format": "int32",
+ "default": 256,
+ "description": "The read buffer size in bytes. Default is 256."
+ }
+ },
+ "description": "Emits the entire input as a single token. This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/KeywordTokenizer.html"
+ },
+ "x-ms-external": true
+ },
+ "KeywordTokenizerV2": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.KeywordTokenizerV2",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "maxTokenLength": {
+ "type": "integer",
+ "format": "int32",
+ "default": 256,
+ "maximum": 300,
+ "description": "The maximum token length. Default is 256. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters."
+ }
+ },
+ "description": "Emits the entire input as a single token. This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/KeywordTokenizer.html"
+ }
+ },
+ "MicrosoftTokenizerLanguage": {
+ "type": "string",
+ "enum": [
+ "bangla",
+ "bulgarian",
+ "catalan",
+ "chineseSimplified",
+ "chineseTraditional",
+ "croatian",
+ "czech",
+ "danish",
+ "dutch",
+ "english",
+ "french",
+ "german",
+ "greek",
+ "gujarati",
+ "hindi",
+ "icelandic",
+ "indonesian",
+ "italian",
+ "japanese",
+ "kannada",
+ "korean",
+ "malay",
+ "malayalam",
+ "marathi",
+ "norwegianBokmaal",
+ "polish",
+ "portuguese",
+ "portugueseBrazilian",
+ "punjabi",
+ "romanian",
+ "russian",
+ "serbianCyrillic",
+ "serbianLatin",
+ "slovenian",
+ "spanish",
+ "swedish",
+ "tamil",
+ "telugu",
+ "thai",
+ "ukrainian",
+ "urdu",
+ "vietnamese"
+ ],
+ "x-ms-enum": {
+ "name": "MicrosoftTokenizerLanguage",
+ "modelAsString": false
+ },
+ "description": "Lists the languages supported by the Microsoft language tokenizer."
+ },
+ "MicrosoftLanguageTokenizer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.MicrosoftLanguageTokenizer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "maxTokenLength": {
+ "type": "integer",
+ "format": "int32",
+ "default": 255,
+ "maximum": 300,
+ "description": "The maximum token length. Tokens longer than the maximum length are split. Maximum token length that can be used is 300 characters. Tokens longer than 300 characters are first split into tokens of length 300 and then each of those tokens is split based on the max token length set. Default is 255."
+ },
+ "isSearchTokenizer": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating how the tokenizer is used. Set to true if used as the search tokenizer, set to false if used as the indexing tokenizer. Default is false."
+ },
+ "language": {
+ "$ref": "#/definitions/MicrosoftTokenizerLanguage",
+ "description": "The language to use. The default is English."
+ }
+ },
+ "description": "Divides text using language-specific rules."
+ },
+ "MicrosoftStemmingTokenizerLanguage": {
+ "type": "string",
+ "enum": [
+ "arabic",
+ "bangla",
+ "bulgarian",
+ "catalan",
+ "croatian",
+ "czech",
+ "danish",
+ "dutch",
+ "english",
+ "estonian",
+ "finnish",
+ "french",
+ "german",
+ "greek",
+ "gujarati",
+ "hebrew",
+ "hindi",
+ "hungarian",
+ "icelandic",
+ "indonesian",
+ "italian",
+ "kannada",
+ "latvian",
+ "lithuanian",
+ "malay",
+ "malayalam",
+ "marathi",
+ "norwegianBokmaal",
+ "polish",
+ "portuguese",
+ "portugueseBrazilian",
+ "punjabi",
+ "romanian",
+ "russian",
+ "serbianCyrillic",
+ "serbianLatin",
+ "slovak",
+ "slovenian",
+ "spanish",
+ "swedish",
+ "tamil",
+ "telugu",
+ "turkish",
+ "ukrainian",
+ "urdu"
+ ],
+ "x-ms-enum": {
+ "name": "MicrosoftStemmingTokenizerLanguage",
+ "modelAsString": false
+ },
+ "description": "Lists the languages supported by the Microsoft language stemming tokenizer."
+ },
+ "MicrosoftLanguageStemmingTokenizer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.MicrosoftLanguageStemmingTokenizer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "maxTokenLength": {
+ "type": "integer",
+ "format": "int32",
+ "default": 255,
+ "maximum": 300,
+ "description": "The maximum token length. Tokens longer than the maximum length are split. Maximum token length that can be used is 300 characters. Tokens longer than 300 characters are first split into tokens of length 300 and then each of those tokens is split based on the max token length set. Default is 255."
+ },
+ "isSearchTokenizer": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating how the tokenizer is used. Set to true if used as the search tokenizer, set to false if used as the indexing tokenizer. Default is false."
+ },
+ "language": {
+ "$ref": "#/definitions/MicrosoftStemmingTokenizerLanguage",
+ "description": "The language to use. The default is English."
+ }
+ },
+ "description": "Divides text using language-specific rules and reduces words to their base forms."
+ },
+ "NGramTokenizer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.NGramTokenizer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "minGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 1,
+ "maximum": 300,
+ "description": "The minimum n-gram length. Default is 1. Maximum is 300. Must be less than the value of maxGram."
+ },
+ "maxGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 2,
+ "maximum": 300,
+ "description": "The maximum n-gram length. Default is 2. Maximum is 300."
+ },
+ "tokenChars": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TokenCharacterKind",
+ "x-nullable": false
+ },
+ "description": "Character classes to keep in the tokens."
+ }
+ },
+ "description": "Tokenizes the input into n-grams of the given size(s). This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/NGramTokenizer.html"
+ }
+ },
+ "PathHierarchyTokenizer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.PathHierarchyTokenizer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "delimiter": {
+ "type": "string",
+ "format": "char",
+ "default": "/",
+ "description": "The delimiter character to use. Default is \"/\"."
+ },
+ "replacement": {
+ "type": "string",
+ "format": "char",
+ "default": "/",
+ "description": "A value that, if set, replaces the delimiter character. Default is \"/\"."
+ },
+ "bufferSize": {
+ "type": "integer",
+ "format": "int32",
+ "default": 1024,
+ "description": "The buffer size. Default is 1024."
+ },
+ "reverse": {
+ "x-ms-client-name": "ReverseTokenOrder",
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether to generate tokens in reverse order. Default is false."
+ },
+ "skip": {
+ "x-ms-client-name": "NumberOfTokensToSkip",
+ "type": "integer",
+ "format": "int32",
+ "default": 0,
+ "description": "The number of initial tokens to skip. Default is 0."
+ }
+ },
+ "description": "Tokenizer for path-like hierarchies. This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/path/PathHierarchyTokenizer.html"
+ },
+ "x-ms-external": true
+ },
+ "PathHierarchyTokenizerV2": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.PathHierarchyTokenizerV2",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "delimiter": {
+ "type": "string",
+ "format": "char",
+ "default": "/",
+ "description": "The delimiter character to use. Default is \"/\"."
+ },
+ "replacement": {
+ "type": "string",
+ "format": "char",
+ "default": "/",
+ "description": "A value that, if set, replaces the delimiter character. Default is \"/\"."
+ },
+ "maxTokenLength": {
+ "type": "integer",
+ "format": "int32",
+ "default": 300,
+ "maximum": 300,
+ "description": "The maximum token length. Default and maximum is 300."
+ },
+ "reverse": {
+ "x-ms-client-name": "ReverseTokenOrder",
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether to generate tokens in reverse order. Default is false."
+ },
+ "skip": {
+ "x-ms-client-name": "NumberOfTokensToSkip",
+ "type": "integer",
+ "format": "int32",
+ "default": 0,
+ "description": "The number of initial tokens to skip. Default is 0."
+ }
+ },
+ "description": "Tokenizer for path-like hierarchies. This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/path/PathHierarchyTokenizer.html"
+ }
+ },
+ "PatternTokenizer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.PatternTokenizer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "pattern": {
+ "type": "string",
+ "default": "\\W+",
+ "description": "A regular expression pattern to match token separators. Default is an expression that matches one or more whitespace characters."
+ },
+ "flags": {
+ "$ref": "#/definitions/RegexFlags",
+ "description": "Regular expression flags."
+ },
+ "group": {
+ "type": "integer",
+ "format": "int32",
+ "default": -1,
+ "description": "The zero-based ordinal of the matching group in the regular expression pattern to extract into tokens. Use -1 if you want to use the entire pattern to split the input into tokens, irrespective of matching groups. Default is -1."
+ }
+ },
+ "description": "Tokenizer that uses regex pattern matching to construct distinct tokens. This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/pattern/PatternTokenizer.html"
+ }
+ },
+ "StandardTokenizer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.StandardTokenizer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "maxTokenLength": {
+ "type": "integer",
+ "format": "int32",
+ "default": 255,
+ "description": "The maximum token length. Default is 255. Tokens longer than the maximum length are split."
+ }
+ },
+ "description": "Breaks text following the Unicode Text Segmentation rules. This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/StandardTokenizer.html"
+ },
+ "x-ms-external": true
+ },
+ "StandardTokenizerV2": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.StandardTokenizerV2",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "maxTokenLength": {
+ "type": "integer",
+ "format": "int32",
+ "default": 255,
+ "maximum": 300,
+ "description": "The maximum token length. Default is 255. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters."
+ }
+ },
+ "description": "Breaks text following the Unicode Text Segmentation rules. This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/StandardTokenizer.html"
+ }
+ },
+ "UaxUrlEmailTokenizer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.UaxUrlEmailTokenizer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "maxTokenLength": {
+ "type": "integer",
+ "format": "int32",
+ "default": 255,
+ "maximum": 300,
+ "description": "The maximum token length. Default is 255. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters."
+ }
+ },
+ "description": "Tokenizes urls and emails as one token. This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/UAX29URLEmailTokenizer.html"
+ }
+ },
+ "TokenFilter": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference"
+ },
+ "description": "The name of the token filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters."
+ }
+ },
+ "required": [
+ "@odata.type",
+ "name"
+ ],
+ "description": "Abstract base class for token filters.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
+ }
+ },
+ "AsciiFoldingTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.AsciiFoldingTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "preserveOriginal": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether the original token will be kept. Default is false."
+ }
+ },
+ "description": "Converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the \"Basic Latin\" Unicode block) into their ASCII equivalents, if such equivalents exist. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/ASCIIFoldingFilter.html"
+ }
+ },
+ "CjkBigramTokenFilterScripts": {
+ "type": "string",
+ "enum": [
+ "han",
+ "hiragana",
+ "katakana",
+ "hangul"
+ ],
+ "x-ms-enum": {
+ "name": "CjkBigramTokenFilterScripts",
+ "modelAsString": false
+ },
+ "description": "Scripts that can be ignored by CjkBigramTokenFilter."
+ },
+ "CjkBigramTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.CjkBigramTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "ignoreScripts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CjkBigramTokenFilterScripts",
+ "x-nullable": false
+ },
+ "description": "The scripts to ignore."
+ },
+ "outputUnigrams": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether to output both unigrams and bigrams (if true), or just bigrams (if false). Default is false."
+ }
+ },
+ "description": "Forms bigrams of CJK terms that are generated from StandardTokenizer. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/cjk/CJKBigramFilter.html"
+ }
+ },
+ "CommonGramTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.CommonGramTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "commonWords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The set of common words."
+ },
+ "ignoreCase": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether common words matching will be case insensitive. Default is false."
+ },
+ "queryMode": {
+ "x-ms-client-name": "UseQueryMode",
+ "type": "boolean",
+ "default": false,
+ "description": "A value that indicates whether the token filter is in query mode. When in query mode, the token filter generates bigrams and then removes common words and single terms followed by a common word. Default is false."
+ }
+ },
+ "required": [
+ "commonWords"
+ ],
+ "description": "Construct bigrams for frequently occurring terms while indexing. Single terms are still indexed too, with bigrams overlaid. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/commongrams/CommonGramsFilter.html"
+ }
+ },
+ "DictionaryDecompounderTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.DictionaryDecompounderTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "wordList": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of words to match against."
+ },
+ "minWordSize": {
+ "type": "integer",
+ "format": "int32",
+ "default": 5,
+ "maximum": 300,
+ "description": "The minimum word size. Only words longer than this get processed. Default is 5. Maximum is 300."
+ },
+ "minSubwordSize": {
+ "type": "integer",
+ "format": "int32",
+ "default": 2,
+ "maximum": 300,
+ "description": "The minimum subword size. Only subwords longer than this are outputted. Default is 2. Maximum is 300."
+ },
+ "maxSubwordSize": {
+ "type": "integer",
+ "format": "int32",
+ "default": 15,
+ "maximum": 300,
+ "description": "The maximum subword size. Only subwords shorter than this are outputted. Default is 15. Maximum is 300."
+ },
+ "onlyLongestMatch": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether to add only the longest matching subword to the output. Default is false."
+ }
+ },
+ "required": [
+ "wordList"
+ ],
+ "description": "Decomposes compound words found in many Germanic languages. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/compound/DictionaryCompoundWordTokenFilter.html"
+ }
+ },
+ "EdgeNGramTokenFilterSide": {
+ "type": "string",
+ "enum": [
+ "front",
+ "back"
+ ],
+ "x-ms-enum": {
+ "name": "EdgeNGramTokenFilterSide",
+ "modelAsString": false
+ },
+ "description": "Specifies which side of the input an n-gram should be generated from."
+ },
+ "EdgeNGramTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.EdgeNGramTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "minGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 1,
+ "description": "The minimum n-gram length. Default is 1. Must be less than the value of maxGram."
+ },
+ "maxGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 2,
+ "description": "The maximum n-gram length. Default is 2."
+ },
+ "side": {
+ "$ref": "#/definitions/EdgeNGramTokenFilterSide",
+ "default": "front",
+ "description": "Specifies which side of the input the n-gram should be generated from. Default is \"front\"."
+ }
+ },
+ "description": "Generates n-grams of the given size(s) starting from the front or the back of an input token. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/EdgeNGramTokenFilter.html"
+ },
+ "x-ms-external": true
+ },
+ "EdgeNGramTokenFilterV2": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.EdgeNGramTokenFilterV2",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "minGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 1,
+ "maximum": 300,
+ "description": "The minimum n-gram length. Default is 1. Maximum is 300. Must be less than the value of maxGram."
+ },
+ "maxGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 2,
+ "maximum": 300,
+ "description": "The maximum n-gram length. Default is 2. Maximum is 300."
+ },
+ "side": {
+ "$ref": "#/definitions/EdgeNGramTokenFilterSide",
+ "default": "front",
+ "description": "Specifies which side of the input the n-gram should be generated from. Default is \"front\"."
+ }
+ },
+ "description": "Generates n-grams of the given size(s) starting from the front or the back of an input token. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/EdgeNGramTokenFilter.html"
+ }
+ },
+ "ElisionTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.ElisionTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "articles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The set of articles to remove."
+ }
+ },
+ "description": "Removes elisions. For example, \"l'avion\" (the plane) will be converted to \"avion\" (plane). This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/util/ElisionFilter.html"
+ }
+ },
+ "KeepTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.KeepTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "keepWords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of words to keep."
+ },
+ "keepWordsCase": {
+ "x-ms-client-name": "LowerCaseKeepWords",
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether to lower case all words first. Default is false."
+ }
+ },
+ "required": [
+ "keepWords"
+ ],
+ "description": "A token filter that only keeps tokens with text contained in a specified list of words. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/KeepWordFilter.html"
+ }
+ },
+ "KeywordMarkerTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.KeywordMarkerTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "keywords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of words to mark as keywords."
+ },
+ "ignoreCase": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether to ignore case. If true, all words are converted to lower case first. Default is false."
+ }
+ },
+ "required": [
+ "keywords"
+ ],
+ "description": "Marks terms as keywords. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/KeywordMarkerFilter.html"
+ }
+ },
+ "LengthTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.LengthTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "min": {
+ "type": "integer",
+ "format": "int32",
+ "default": 0,
+ "maximum": 300,
+ "description": "The minimum length in characters. Default is 0. Maximum is 300. Must be less than the value of max."
+ },
+ "max": {
+ "type": "integer",
+ "format": "int32",
+ "default": 300,
+ "maximum": 300,
+ "description": "The maximum length in characters. Default and maximum is 300."
+ }
+ },
+ "description": "Removes words that are too long or too short. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/LengthFilter.html"
+ }
+ },
+ "LimitTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.LimitTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "maxTokenCount": {
+ "type": "integer",
+ "format": "int32",
+ "default": 1,
+ "description": "The maximum number of tokens to produce. Default is 1."
+ },
+ "consumeAllTokens": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether all tokens from the input must be consumed even if maxTokenCount is reached. Default is false."
+ }
+ },
+ "description": "Limits the number of tokens while indexing. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/LimitTokenCountFilter.html"
+ }
+ },
+ "NGramTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.NGramTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "minGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 1,
+ "description": "The minimum n-gram length. Default is 1. Must be less than the value of maxGram."
+ },
+ "maxGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 2,
+ "description": "The maximum n-gram length. Default is 2."
+ }
+ },
+ "description": "Generates n-grams of the given size(s). This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/NGramTokenFilter.html"
+ },
+ "x-ms-external": true
+ },
+ "NGramTokenFilterV2": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.NGramTokenFilterV2",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "minGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 1,
+ "maximum": 300,
+ "description": "The minimum n-gram length. Default is 1. Maximum is 300. Must be less than the value of maxGram."
+ },
+ "maxGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 2,
+ "maximum": 300,
+ "description": "The maximum n-gram length. Default is 2. Maximum is 300."
+ }
+ },
+ "description": "Generates n-grams of the given size(s). This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/NGramTokenFilter.html"
+ }
+ },
+ "PatternCaptureTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.PatternCaptureTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "patterns": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of patterns to match against each token."
+ },
+ "preserveOriginal": {
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether to return the original token even if one of the patterns matches. Default is true."
+ }
+ },
+ "required": [
+ "patterns"
+ ],
+ "description": "Uses Java regexes to emit multiple tokens - one for each capture group in one or more patterns. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/pattern/PatternCaptureGroupTokenFilter.html"
+ }
+ },
+ "PatternReplaceTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.PatternReplaceTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "pattern": {
+ "type": "string",
+ "description": "A regular expression pattern."
+ },
+ "replacement": {
+ "type": "string",
+ "description": "The replacement text."
+ }
+ },
+ "required": [
+ "pattern",
+ "replacement"
+ ],
+ "description": "A character filter that replaces characters in the input string. It uses a regular expression to identify character sequences to preserve and a replacement pattern to identify characters to replace. For example, given the input text \"aa bb aa bb\", pattern \"(aa)\\s+(bb)\", and replacement \"$1#$2\", the result would be \"aa#bb aa#bb\". This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/pattern/PatternReplaceFilter.html"
+ }
+ },
+ "PhoneticEncoder": {
+ "type": "string",
+ "enum": [
+ "metaphone",
+ "doubleMetaphone",
+ "soundex",
+ "refinedSoundex",
+ "caverphone1",
+ "caverphone2",
+ "cologne",
+ "nysiis",
+ "koelnerPhonetik",
+ "haasePhonetik",
+ "beiderMorse"
+ ],
+ "x-ms-enum": {
+ "name": "PhoneticEncoder",
+ "modelAsString": false
+ },
+ "description": "Identifies the type of phonetic encoder to use with a PhoneticTokenFilter."
+ },
+ "PhoneticTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.PhoneticTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "encoder": {
+ "$ref": "#/definitions/PhoneticEncoder",
+ "default": "metaphone",
+ "description": "The phonetic encoder to use. Default is \"metaphone\"."
+ },
+ "replace": {
+ "x-ms-client-name": "ReplaceOriginalTokens",
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether encoded tokens should replace original tokens. If false, encoded tokens are added as synonyms. Default is true."
+ }
+ },
+ "description": "Create tokens for phonetic matches. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "https://lucene.apache.org/core/4_10_3/analyzers-phonetic/org/apache/lucene/analysis/phonetic/package-tree.html"
+ }
+ },
+ "ShingleTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.ShingleTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "maxShingleSize": {
+ "type": "integer",
+ "format": "int32",
+ "default": 2,
+ "minimum": 2,
+ "description": "The maximum shingle size. Default and minimum value is 2."
+ },
+ "minShingleSize": {
+ "type": "integer",
+ "format": "int32",
+ "default": 2,
+ "minimum": 2,
+ "description": "The minimum shingle size. Default and minimum value is 2. Must be less than the value of maxShingleSize."
+ },
+ "outputUnigrams": {
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether the output stream will contain the input tokens (unigrams) as well as shingles. Default is true."
+ },
+ "outputUnigramsIfNoShingles": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether to output unigrams for those times when no shingles are available. This property takes precedence when outputUnigrams is set to false. Default is false."
+ },
+ "tokenSeparator": {
+ "type": "string",
+ "default": " ",
+ "description": "The string to use when joining adjacent tokens to form a shingle. Default is a single space (\" \")."
+ },
+ "filterToken": {
+ "type": "string",
+ "default": "_",
+ "description": "The string to insert for each position at which there is no token. Default is an underscore (\"_\")."
+ }
+ },
+ "description": "Creates combinations of tokens as a single token. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/shingle/ShingleFilter.html"
+ }
+ },
+ "SnowballTokenFilterLanguage": {
+ "type": "string",
+ "enum": [
+ "armenian",
+ "basque",
+ "catalan",
+ "danish",
+ "dutch",
+ "english",
+ "finnish",
+ "french",
+ "german",
+ "german2",
+ "hungarian",
+ "italian",
+ "kp",
+ "lovins",
+ "norwegian",
+ "porter",
+ "portuguese",
+ "romanian",
+ "russian",
+ "spanish",
+ "swedish",
+ "turkish"
+ ],
+ "x-ms-enum": {
+ "name": "SnowballTokenFilterLanguage",
+ "modelAsString": false
+ },
+ "description": "The language to use for a Snowball token filter."
+ },
+ "SnowballTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.SnowballTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "language": {
+ "$ref": "#/definitions/SnowballTokenFilterLanguage",
+ "description": "The language to use."
+ }
+ },
+ "required": [
+ "language"
+ ],
+ "description": "A filter that stems words using a Snowball-generated stemmer. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/snowball/SnowballFilter.html"
+ }
+ },
+ "StemmerTokenFilterLanguage": {
+ "type": "string",
+ "enum": [
+ "arabic",
+ "armenian",
+ "basque",
+ "brazilian",
+ "bulgarian",
+ "catalan",
+ "czech",
+ "danish",
+ "dutch",
+ "dutchKp",
+ "english",
+ "lightEnglish",
+ "minimalEnglish",
+ "possessiveEnglish",
+ "porter2",
+ "lovins",
+ "finnish",
+ "lightFinnish",
+ "french",
+ "lightFrench",
+ "minimalFrench",
+ "galician",
+ "minimalGalician",
+ "german",
+ "german2",
+ "lightGerman",
+ "minimalGerman",
+ "greek",
+ "hindi",
+ "hungarian",
+ "lightHungarian",
+ "indonesian",
+ "irish",
+ "italian",
+ "lightItalian",
+ "sorani",
+ "latvian",
+ "norwegian",
+ "lightNorwegian",
+ "minimalNorwegian",
+ "lightNynorsk",
+ "minimalNynorsk",
+ "portuguese",
+ "lightPortuguese",
+ "minimalPortuguese",
+ "portugueseRslp",
+ "romanian",
+ "russian",
+ "lightRussian",
+ "spanish",
+ "lightSpanish",
+ "swedish",
+ "lightSwedish",
+ "turkish"
+ ],
+ "x-ms-enum": {
+ "name": "StemmerTokenFilterLanguage",
+ "modelAsString": false
+ },
+ "description": "The language to use for a stemmer token filter."
+ },
+ "StemmerTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.StemmerTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "language": {
+ "$ref": "#/definitions/StemmerTokenFilterLanguage",
+ "description": "The language to use."
+ }
+ },
+ "required": [
+ "language"
+ ],
+ "description": "Language specific stemming filter. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search#TokenFilters"
+ }
+ },
+ "StemmerOverrideTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.StemmerOverrideTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "rules": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of stemming rules in the following format: \"word => stem\", for example: \"ran => run\"."
+ }
+ },
+ "required": [
+ "rules"
+ ],
+ "description": "Provides the ability to override other stemming filters with custom dictionary-based stemming. Any dictionary-stemmed terms will be marked as keywords so that they will not be stemmed with stemmers down the chain. Must be placed before any stemming filters. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/StemmerOverrideFilter.html"
+ }
+ },
+ "StopwordsList": {
+ "type": "string",
+ "enum": [
+ "arabic",
+ "armenian",
+ "basque",
+ "brazilian",
+ "bulgarian",
+ "catalan",
+ "czech",
+ "danish",
+ "dutch",
+ "english",
+ "finnish",
+ "french",
+ "galician",
+ "german",
+ "greek",
+ "hindi",
+ "hungarian",
+ "indonesian",
+ "irish",
+ "italian",
+ "latvian",
+ "norwegian",
+ "persian",
+ "portuguese",
+ "romanian",
+ "russian",
+ "sorani",
+ "spanish",
+ "swedish",
+ "thai",
+ "turkish"
+ ],
+ "x-ms-enum": {
+ "name": "StopwordsList",
+ "modelAsString": false
+ },
+ "description": "Identifies a predefined list of language-specific stopwords."
+ },
+ "StopwordsTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.StopwordsTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "stopwords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of stopwords. This property and the stopwords list property cannot both be set."
+ },
+ "stopwordsList": {
+ "$ref": "#/definitions/StopwordsList",
+ "default": "english",
+ "description": "A predefined list of stopwords to use. This property and the stopwords property cannot both be set. Default is English."
+ },
+ "ignoreCase": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether to ignore case. If true, all words are converted to lower case first. Default is false."
+ },
+ "removeTrailing": {
+ "x-ms-client-name": "RemoveTrailingStopWords",
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether to ignore the last search term if it's a stop word. Default is true."
+ }
+ },
+ "description": "Removes stop words from a token stream. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/StopFilter.html"
+ }
+ },
+ "SynonymTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.SynonymTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "synonyms": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of synonyms in following one of two formats: 1. incredible, unbelievable, fabulous => amazing - all terms on the left side of => symbol will be replaced with all terms on its right side; 2. incredible, unbelievable, fabulous, amazing - comma separated list of equivalent words. Set the expand option to change how this list is interpreted."
+ },
+ "ignoreCase": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether to case-fold input for matching. Default is false."
+ },
+ "expand": {
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether all words in the list of synonyms (if => notation is not used) will map to one another. If true, all words in the list of synonyms (if => notation is not used) will map to one another. The following list: incredible, unbelievable, fabulous, amazing is equivalent to: incredible, unbelievable, fabulous, amazing => incredible, unbelievable, fabulous, amazing. If false, the following list: incredible, unbelievable, fabulous, amazing will be equivalent to: incredible, unbelievable, fabulous, amazing => incredible. Default is true."
+ }
+ },
+ "required": [
+ "synonyms"
+ ],
+ "description": "Matches single or multi-word synonyms in a token stream. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/synonym/SynonymFilter.html"
+ }
+ },
+ "TruncateTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.TruncateTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "length": {
+ "type": "integer",
+ "format": "int32",
+ "default": 300,
+ "maximum": 300,
+ "description": "The length at which terms will be truncated. Default and maximum is 300."
+ }
+ },
+ "description": "Truncates the terms to a specific length. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/TruncateTokenFilter.html"
+ }
+ },
+ "UniqueTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.UniqueTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "onlyOnSamePosition": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether to remove duplicates only at the same position. Default is false."
+ }
+ },
+ "description": "Filters out tokens with same text as the previous token. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/RemoveDuplicatesTokenFilter.html"
+ }
+ },
+ "WordDelimiterTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.WordDelimiterTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "generateWordParts": {
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether to generate part words. If set, causes parts of words to be generated; for example \"AzureSearch\" becomes \"Azure\" \"Search\". Default is true."
+ },
+ "generateNumberParts": {
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether to generate number subwords. Default is true."
+ },
+ "catenateWords": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether maximum runs of word parts will be catenated. For example, if this is set to true, \"Azure-Search\" becomes \"AzureSearch\". Default is false."
+ },
+ "catenateNumbers": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether maximum runs of number parts will be catenated. For example, if this is set to true, \"1-2\" becomes \"12\". Default is false."
+ },
+ "catenateAll": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether all subword parts will be catenated. For example, if this is set to true, \"Azure-Search-1\" becomes \"AzureSearch1\". Default is false."
+ },
+ "splitOnCaseChange": {
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether to split words on caseChange. For example, if this is set to true, \"AzureSearch\" becomes \"Azure\" \"Search\". Default is true."
+ },
+ "preserveOriginal": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether original words will be preserved and added to the subword list. Default is false."
+ },
+ "splitOnNumerics": {
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether to split on numbers. For example, if this is set to true, \"Azure1Search\" becomes \"Azure\" \"1\" \"Search\". Default is true."
+ },
+ "stemEnglishPossessive": {
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether to remove trailing \"'s\" for each subword. Default is true."
+ },
+ "protectedWords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of tokens to protect from being delimited."
+ }
+ },
+ "description": "Splits words into subwords and performs optional transformations on subword groups. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/WordDelimiterFilter.html"
+ }
+ },
+ "CharFilter": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference"
+ },
+ "description": "The name of the char filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters."
+ }
+ },
+ "required": [
+ "@odata.type",
+ "name"
+ ],
+ "description": "Abstract base class for character filters.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
+ }
+ },
+ "MappingCharFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.MappingCharFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CharFilter"
+ }
+ ],
+ "properties": {
+ "mappings": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of mappings of the following format: \"a=>b\" (all occurrences of the character \"a\" will be replaced with character \"b\")."
+ }
+ },
+ "required": [
+ "mappings"
+ ],
+ "description": "A character filter that applies mappings defined with the mappings option. Matching is greedy (longest pattern matching at a given point wins). Replacement is allowed to be the empty string. This character filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "https://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/charfilter/MappingCharFilter.html"
+ }
+ },
+ "PatternReplaceCharFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.PatternReplaceCharFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CharFilter"
+ }
+ ],
+ "properties": {
+ "pattern": {
+ "type": "string",
+ "description": "A regular expression pattern."
+ },
+ "replacement": {
+ "type": "string",
+ "description": "The replacement text."
+ }
+ },
+ "required": [
+ "pattern",
+ "replacement"
+ ],
+ "description": "A character filter that replaces characters in the input string. It uses a regular expression to identify character sequences to preserve and a replacement pattern to identify characters to replace. For example, given the input text \"aa bb aa bb\", pattern \"(aa)\\s+(bb)\", and replacement \"$1#$2\", the result would be \"aa#bb aa#bb\". This character filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "https://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/pattern/PatternReplaceCharFilter.html"
+ }
+ },
+ "DataSourceCredentials": {
+ "properties": {
+ "connectionString": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Create-Data-Source"
+ },
+ "type": "string",
+ "description": "The connection string for the datasource."
+ }
+ },
+ "description": "Represents credentials that can be used to connect to a datasource."
+ },
+ "DataContainer": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the table or view (for Azure SQL data source) or collection (for DocumentDB data source) that will be indexed."
+ },
+ "query": {
+ "type": "string",
+ "description": "A query that is applied to this data container. The syntax and meaning of this parameter is datasource-specific. Not supported by Azure SQL datasources."
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "description": "Represents information about the entity (such as Azure SQL table or DocumentDb collection) that will be indexed."
+ },
+ "DataChangeDetectionPolicy": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "@odata.type"
+ ],
+ "description": "Abstract base class for data change detection policies."
+ },
+ "HighWaterMarkChangeDetectionPolicy": {
+ "description": "Defines a data change detection policy that captures changes based on the value of a high water mark column.",
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataChangeDetectionPolicy"
+ }
+ ],
+ "properties": {
+ "highWaterMarkColumnName": {
+ "type": "string",
+ "description": "The name of the high water mark column."
+ }
+ },
+ "required": [
+ "highWaterMarkColumnName"
+ ]
+ },
+ "SqlIntegratedChangeTrackingPolicy": {
+ "description": "Defines a data change detection policy that captures changes using the Integrated Change Tracking feature of Azure SQL Database.",
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.SqlIntegratedChangeTrackingPolicy",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataChangeDetectionPolicy"
+ }
+ ]
+ },
+ "DataDeletionDetectionPolicy": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "@odata.type"
+ ],
+ "description": "Abstract base class for data deletion detection policies."
+ },
+ "SoftDeleteColumnDeletionDetectionPolicy": {
+ "description": "Defines a data deletion detection policy that implements a soft-deletion strategy. It determines whether an item should be deleted based on the value of a designated 'soft delete' column.",
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataDeletionDetectionPolicy"
+ }
+ ],
+ "properties": {
+ "softDeleteColumnName": {
+ "type": "string",
+ "description": "The name of the column to use for soft-deletion detection."
+ },
+ "softDeleteMarkerValue": {
+ "type": "string",
+ "description": "The marker value that identifies an item as deleted."
+ }
+ }
+ },
+ "DataSourceType": {
+ "type": "string",
+ "enum": [
+ "azuresql",
+ "cosmosdb",
+ "azureblob",
+ "azuretable"
+ ],
+ "x-ms-enum": {
+ "name": "DataSourceType",
+ "modelAsString": false
+ },
+ "description": "Defines the type of a datasource."
+ },
+ "DataSource": {
+ "properties": {
+ "name": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Naming-rules"
+ },
+ "type": "string",
+ "description": "The name of the datasource."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the datasource."
+ },
+ "type": {
+ "$ref": "#/definitions/DataSourceType",
+ "description": "The type of the datasource."
+ },
+ "credentials": {
+ "$ref": "#/definitions/DataSourceCredentials",
+ "description": "Credentials for the datasource."
+ },
+ "container": {
+ "$ref": "#/definitions/DataContainer",
+ "description": "The data container for the datasource."
+ },
+ "dataChangeDetectionPolicy": {
+ "$ref": "#/definitions/DataChangeDetectionPolicy",
+ "description": "The data change detection policy for the datasource."
+ },
+ "dataDeletionDetectionPolicy": {
+ "$ref": "#/definitions/DataDeletionDetectionPolicy",
+ "description": "The data deletion detection policy for the datasource."
+ },
+ "@odata.etag": {
+ "x-ms-client-name": "ETag",
+ "type": "string",
+ "description": "The ETag of the DataSource."
+ }
+ },
+ "required": [
+ "name",
+ "type",
+ "credentials",
+ "container"
+ ],
+ "description": "Represents a datasource definition, which can be used to configure an indexer."
+ },
+ "DataSourceListResult": {
+ "properties": {
+ "value": {
+ "x-ms-client-name": "DataSources",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/DataSource"
+ },
+ "description": "The datasources in the Search service."
+ }
+ },
+ "description": "Response from a List Datasources request. If successful, it includes the full definitions of all datasources."
+ },
+ "IndexingSchedule": {
+ "properties": {
+ "interval": {
+ "type": "string",
+ "format": "duration",
+ "description": "The interval of time between indexer executions."
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The time when an indexer should start running."
+ }
+ },
+ "required": [
+ "interval"
+ ],
+ "description": "Represents a schedule for indexer execution."
+ },
+ "IndexingParameters": {
+ "properties": {
+ "batchSize": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of items that are read from the data source and indexed as a single batch in order to improve performance. The default depends on the data source type."
+ },
+ "maxFailedItems": {
+ "type": "integer",
+ "format": "int32",
+ "default": 0,
+ "description": "The maximum number of items that can fail indexing for indexer execution to still be considered successful. -1 means no limit. Default is 0."
+ },
+ "maxFailedItemsPerBatch": {
+ "type": "integer",
+ "format": "int32",
+ "default": 0,
+ "description": "The maximum number of items in a single batch that can fail indexing for the batch to still be considered successful. -1 means no limit. Default is 0."
+ },
+ "base64EncodeKeys": {
+ "type": "boolean",
+ "default": false,
+ "description": "Whether indexer will base64-encode all values that are inserted into key field of the target index. This is needed if keys can contain characters that are invalid in keys (such as dot '.'). Default is false."
+ },
+ "configuration": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ },
+ "description": "A dictionary of indexer-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type."
+ }
+ },
+ "description": "Represents parameters for indexer execution.",
+ "x-ms-external": true
+ },
+ "FieldMappingFunction": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the field mapping function."
+ },
+ "parameters": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ },
+ "description": "A dictionary of parameter name/value pairs to pass to the function. Each value must be of a primitive type."
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "description": "Represents a function that transforms a value from a data source before indexing.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/search-indexer-field-mappings"
+ }
+ },
+ "FieldMapping": {
+ "properties": {
+ "sourceFieldName": {
+ "type": "string",
+ "description": "The name of the field in the data source."
+ },
+ "targetFieldName": {
+ "type": "string",
+ "description": "The name of the target field in the index. Same as the source field name by default."
+ },
+ "mappingFunction": {
+ "$ref": "#/definitions/FieldMappingFunction",
+ "description": "A function to apply to each source field value before indexing."
+ }
+ },
+ "required": [
+ "sourceFieldName"
+ ],
+ "description": "Defines a mapping between a field in a data source and a target field in an index.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/search-indexer-field-mappings"
+ }
+ },
+ "Indexer": {
+ "properties": {
+ "name": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Naming-rules"
+ },
+ "type": "string",
+ "description": "The name of the indexer."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the indexer."
+ },
+ "dataSourceName": {
+ "type": "string",
+ "description": "The name of the datasource from which this indexer reads data."
+ },
+ "skillsetName": {
+ "type": "string",
+ "description": "The name of the skillset executing with this indexer."
+ },
+ "targetIndexName": {
+ "type": "string",
+ "description": "The name of the index to which this indexer writes data."
+ },
+ "schedule": {
+ "$ref": "#/definitions/IndexingSchedule",
+ "description": "The schedule for this indexer."
+ },
+ "parameters": {
+ "$ref": "#/definitions/IndexingParameters",
+ "description": "Parameters for indexer execution."
+ },
+ "fieldMappings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FieldMapping"
+ },
+ "description": "Defines mappings between fields in the data source and corresponding target fields in the index.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/search-indexer-field-mappings"
+ }
+ },
+ "outputFieldMappings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FieldMapping"
+ },
+ "description": "Output field mappings are applied after enrichment and immediately before indexing.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/search-indexer-field-mappings"
+ }
+ },
+ "disabled": {
+ "x-ms-client-name": "IsDisabled",
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether the indexer is disabled. Default is false."
+ },
+ "@odata.etag": {
+ "x-ms-client-name": "ETag",
+ "type": "string",
+ "description": "The ETag of the Indexer."
+ }
+ },
+ "required": [
+ "name",
+ "dataSourceName",
+ "targetIndexName"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Indexer-operations"
+ },
+ "description": "Represents an indexer."
+ },
+ "IndexerListResult": {
+ "properties": {
+ "value": {
+ "x-ms-client-name": "Indexers",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Indexer"
+ },
+ "description": "The indexers in the Search service."
+ }
+ },
+ "description": "Response from a List Indexers request. If successful, it includes the full definitions of all indexers."
+ },
+ "ItemError": {
+ "properties": {
+ "key": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The key of the item for which indexing failed."
+ },
+ "errorMessage": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The message describing the error that occurred while processing the item."
+ },
+ "statusCode": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": false,
+ "readOnly": true,
+ "description": "The status code indicating why the indexing operation failed. Possible values include: 400 for a malformed input document, 404 for document not found, 409 for a version conflict, 422 when the index is temporarily unavailable, or 503 for when the service is too busy."
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the source at which the error originated. For example, this could refer to a particular skill in the attached skillset. This may not be always available."
+ },
+ "details": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Additional, verbose details about the error to assist in debugging the indexer. This may not be always available."
+ },
+ "documentationLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A link to a troubleshooting guide for these classes of errors. This may not be always available."
+ }
+ },
+ "description": "Represents an item- or document-level indexing error."
+ },
+ "ItemWarning": {
+ "properties": {
+ "key": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The key of the item which generated a warning."
+ },
+ "message": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The message describing the warning that occurred while processing the item."
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the source at which the warning originated. For example, this could refer to a particular skill in the attached skillset. This may not be always available."
+ },
+ "details": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Additional, verbose details about the warning to assist in debugging the indexer. This may not be always available."
+ },
+ "documentationLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A link to a troubleshooting guide for these classes of warnings. This may not be always available."
+ }
+ },
+ "description": "Represents an item-level warning."
+ },
+ "IndexerExecutionResult": {
+ "properties": {
+ "status": {
+ "$ref": "#/definitions/IndexerExecutionStatus",
+ "readOnly": true,
+ "description": "The outcome of this indexer execution."
+ },
+ "errorMessage": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The error message indicating the top-level error, if any."
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The start time of this indexer execution."
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The end time of this indexer execution, if the execution has already completed."
+ },
+ "errors": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ItemError"
+ },
+ "description": "The item-level indexing errors."
+ },
+ "warnings": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ItemWarning"
+ },
+ "description": "The item-level indexing warnings."
+ },
+ "itemsProcessed": {
+ "x-ms-client-name": "ItemCount",
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": false,
+ "readOnly": true,
+ "description": "The number of items that were processed during this indexer execution. This includes both successfully processed items and items where indexing was attempted but failed."
+ },
+ "itemsFailed": {
+ "x-ms-client-name": "FailedItemCount",
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": false,
+ "readOnly": true,
+ "description": "The number of items that failed to be indexed during this indexer execution."
+ },
+ "initialTrackingState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Change tracking state with which an indexer execution started."
+ },
+ "finalTrackingState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Change tracking state with which an indexer execution finished."
+ }
+ },
+ "description": "Represents the result of an individual indexer execution."
+ },
+ "IndexerExecutionStatus": {
+ "type": "string",
+ "enum": [
+ "transientFailure",
+ "success",
+ "inProgress",
+ "reset"
+ ],
+ "x-ms-enum": {
+ "name": "IndexerExecutionStatus"
+ },
+ "x-nullable": false,
+ "description": "Represents the status of an individual indexer execution."
+ },
+ "IndexerExecutionInfo": {
+ "properties": {
+ "status": {
+ "$ref": "#/definitions/IndexerStatus",
+ "readOnly": true,
+ "description": "Overall indexer status."
+ },
+ "lastResult": {
+ "$ref": "#/definitions/IndexerExecutionResult",
+ "readOnly": true,
+ "description": "The result of the most recent or an in-progress indexer execution."
+ },
+ "executionHistory": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/IndexerExecutionResult"
+ },
+ "description": "History of the recent indexer executions, sorted in reverse chronological order."
+ },
+ "limits": {
+ "$ref": "#/definitions/IndexerLimits",
+ "readOnly": true,
+ "description": "The execution limits for the indexer."
+ }
+ },
+ "description": "Represents the current status and execution history of an indexer."
+ },
+ "IndexerStatus": {
+ "type": "string",
+ "enum": [
+ "unknown",
+ "error",
+ "running"
+ ],
+ "x-ms-enum": {
+ "name": "IndexerStatus"
+ },
+ "x-nullable": false,
+ "description": "Represents the overall indexer status."
+ },
+ "IndexerLimits": {
+ "properties": {
+ "maxRunTime": {
+ "type": "string",
+ "format": "duration",
+ "readOnly": true,
+ "description": "The maximum duration that the indexer is permitted to run for one execution."
+ },
+ "maxDocumentExtractionSize": {
+ "type": "number",
+ "format": "int64",
+ "readOnly": true,
+ "description": "The maximum size of a document, in bytes, which will be considered valid for indexing."
+ },
+ "maxDocumentContentCharactersToExtract": {
+ "type": "number",
+ "format": "int64",
+ "readOnly": true,
+ "description": "The maximum number of characters that will be extracted from a document picked up for indexing."
+ }
+ }
+ },
+ "Field": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the field, which must be unique within the fields collection of the index or parent field.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Naming-rules"
+ }
+ },
+ "type": {
+ "$ref": "#/definitions/DataType",
+ "description": "The data type of the field.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/supported-data-types"
+ }
+ },
+ "key": {
+ "type": "boolean",
+ "description": "A value indicating whether the field uniquely identifies documents in the index. Exactly one top-level field in each index must be chosen as the key field and it must be of type Edm.String. Key fields can be used to look up documents directly and update or delete specific documents. Default is false for simple fields and null for complex fields."
+ },
+ "retrievable": {
+ "type": "boolean",
+ "description": "A value indicating whether the field can be returned in a search result. You can disable this option if you want to use a field (for example, margin) as a filter, sorting, or scoring mechanism but do not want the field to be visible to the end user. This property must be true for key fields, and it must be null for complex fields. This property can be changed on existing fields. Enabling this property does not cause any increase in index storage requirements. Default is true for simple fields and null for complex fields."
+ },
+ "searchable": {
+ "type": "boolean",
+ "description": "A value indicating whether the field is full-text searchable. This means it will undergo analysis such as word-breaking during indexing. If you set a searchable field to a value like \"sunny day\", internally it will be split into the individual tokens \"sunny\" and \"day\". This enables full-text searches for these terms. Fields of type Edm.String or Collection(Edm.String) are searchable by default. This property must be false for simple fields of other non-string data types, and it must be null for complex fields. Note: searchable fields consume extra space in your index since Azure Cognitive Search will store an additional tokenized version of the field value for full-text searches. If you want to save space in your index and you don't need a field to be included in searches, set searchable to false."
+ },
+ "filterable": {
+ "type": "boolean",
+ "description": "A value indicating whether to enable the field to be referenced in $filter queries. filterable differs from searchable in how strings are handled. Fields of type Edm.String or Collection(Edm.String) that are filterable do not undergo word-breaking, so comparisons are for exact matches only. For example, if you set such a field f to \"sunny day\", $filter=f eq 'sunny' will find no matches, but $filter=f eq 'sunny day' will. This property must be null for complex fields. Default is true for simple fields and null for complex fields."
+ },
+ "sortable": {
+ "type": "boolean",
+ "description": "A value indicating whether to enable the field to be referenced in $orderby expressions. By default Azure Cognitive Search sorts results by score, but in many experiences users will want to sort by fields in the documents. A simple field can be sortable only if it is single-valued (it has a single value in the scope of the parent document). Simple collection fields cannot be sortable, since they are multi-valued. Simple sub-fields of complex collections are also multi-valued, and therefore cannot be sortable. This is true whether it's an immediate parent field, or an ancestor field, that's the complex collection. Complex fields cannot be sortable and the sortable property must be null for such fields. The default for sortable is true for single-valued simple fields, false for multi-valued simple fields, and null for complex fields."
+ },
+ "facetable": {
+ "type": "boolean",
+ "description": "A value indicating whether to enable the field to be referenced in facet queries. Typically used in a presentation of search results that includes hit count by category (for example, search for digital cameras and see hits by brand, by megapixels, by price, and so on). This property must be null for complex fields. Fields of type Edm.GeographyPoint or Collection(Edm.GeographyPoint) cannot be facetable. Default is true for all other simple fields."
+ },
+ "analyzer": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Language-support"
+ },
+ "$ref": "#/definitions/AnalyzerName",
+ "description": "The name of the language analyzer to use for the field. This option can be used only with searchable fields and it can't be set together with either searchAnalyzer or indexAnalyzer. Once the analyzer is chosen, it cannot be changed for the field. Must be null for complex fields."
+ },
+ "searchAnalyzer": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Language-support"
+ },
+ "$ref": "#/definitions/AnalyzerName",
+ "description": "The name of the analyzer used at search time for the field. This option can be used only with searchable fields. It must be set together with indexAnalyzer and it cannot be set together with the analyzer option. This analyzer can be updated on an existing field. Must be null for complex fields."
+ },
+ "indexAnalyzer": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Language-support"
+ },
+ "$ref": "#/definitions/AnalyzerName",
+ "description": "The name of the analyzer used at indexing time for the field. This option can be used only with searchable fields. It must be set together with searchAnalyzer and it cannot be set together with the analyzer option. Once the analyzer is chosen, it cannot be changed for the field. Must be null for complex fields."
+ },
+ "synonymMaps": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Synonym-Map-operations"
+ },
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of the names of synonym maps to associate with this field. This option can be used only with searchable fields. Currently only one synonym map per field is supported. Assigning a synonym map to a field ensures that query terms targeting that field are expanded at query-time using the rules in the synonym map. This attribute can be changed on existing fields. Must be null or an empty collection for complex fields."
+ },
+ "fields": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Field"
+ },
+ "description": "A list of sub-fields if this is a field of type Edm.ComplexType or Collection(Edm.ComplexType). Must be null or empty for simple fields."
+ }
+ },
+ "required": [
+ "name",
+ "type"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Create-Index"
+ },
+ "description": "Represents a field in an index definition, which describes the name, data type, and search behavior of a field."
+ },
+ "TextWeights": {
+ "properties": {
+ "weights": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "number",
+ "format": "double",
+ "x-nullable": false
+ },
+ "description": "The dictionary of per-field weights to boost document scoring. The keys are field names and the values are the weights for each field."
+ }
+ },
+ "required": [
+ "weights"
+ ],
+ "description": "Defines weights on index fields for which matches should boost scoring in search queries."
+ },
+ "ScoringFunction": {
+ "discriminator": "type",
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "fieldName": {
+ "type": "string",
+ "description": "The name of the field used as input to the scoring function."
+ },
+ "boost": {
+ "type": "number",
+ "format": "double",
+ "description": "A multiplier for the raw score. Must be a positive number not equal to 1.0."
+ },
+ "interpolation": {
+ "$ref": "#/definitions/ScoringFunctionInterpolation",
+ "description": "A value indicating how boosting will be interpolated across document scores; defaults to \"Linear\"."
+ }
+ },
+ "required": [
+ "type",
+ "fieldName",
+ "boost"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index"
+ },
+ "description": "Abstract base class for functions that can modify document scores during ranking."
+ },
+ "DistanceScoringFunction": {
+ "x-ms-discriminator-value": "distance",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ScoringFunction"
+ }
+ ],
+ "properties": {
+ "distance": {
+ "x-ms-client-name": "Parameters",
+ "$ref": "#/definitions/DistanceScoringParameters",
+ "description": "Parameter values for the distance scoring function."
+ }
+ },
+ "required": [
+ "distance"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index"
+ },
+ "description": "Defines a function that boosts scores based on distance from a geographic location."
+ },
+ "DistanceScoringParameters": {
+ "properties": {
+ "referencePointParameter": {
+ "type": "string",
+ "description": "The name of the parameter passed in search queries to specify the reference location."
+ },
+ "boostingDistance": {
+ "type": "number",
+ "format": "double",
+ "description": "The distance in kilometers from the reference location where the boosting range ends."
+ }
+ },
+ "required": [
+ "referencePointParameter",
+ "boostingDistance"
+ ],
+ "description": "Provides parameter values to a distance scoring function."
+ },
+ "FreshnessScoringFunction": {
+ "x-ms-discriminator-value": "freshness",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ScoringFunction"
+ }
+ ],
+ "properties": {
+ "freshness": {
+ "x-ms-client-name": "Parameters",
+ "$ref": "#/definitions/FreshnessScoringParameters",
+ "description": "Parameter values for the freshness scoring function."
+ }
+ },
+ "required": [
+ "freshness"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index"
+ },
+ "description": "Defines a function that boosts scores based on the value of a date-time field."
+ },
+ "FreshnessScoringParameters": {
+ "properties": {
+ "boostingDuration": {
+ "type": "string",
+ "format": "duration",
+ "description": "The expiration period after which boosting will stop for a particular document."
+ }
+ },
+ "required": [
+ "boostingDuration"
+ ],
+ "description": "Provides parameter values to a freshness scoring function."
+ },
+ "MagnitudeScoringFunction": {
+ "x-ms-discriminator-value": "magnitude",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ScoringFunction"
+ }
+ ],
+ "properties": {
+ "magnitude": {
+ "x-ms-client-name": "Parameters",
+ "$ref": "#/definitions/MagnitudeScoringParameters",
+ "description": "Parameter values for the magnitude scoring function."
+ }
+ },
+ "required": [
+ "magnitude"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index"
+ },
+ "description": "Defines a function that boosts scores based on the magnitude of a numeric field."
+ },
+ "MagnitudeScoringParameters": {
+ "properties": {
+ "boostingRangeStart": {
+ "type": "number",
+ "format": "double",
+ "description": "The field value at which boosting starts."
+ },
+ "boostingRangeEnd": {
+ "type": "number",
+ "format": "double",
+ "description": "The field value at which boosting ends."
+ },
+ "constantBoostBeyondRange": {
+ "x-ms-client-name": "ShouldBoostBeyondRangeByConstant",
+ "type": "boolean",
+ "description": "A value indicating whether to apply a constant boost for field values beyond the range end value; default is false."
+ }
+ },
+ "required": [
+ "boostingRangeStart",
+ "boostingRangeEnd"
+ ],
+ "description": "Provides parameter values to a magnitude scoring function."
+ },
+ "TagScoringFunction": {
+ "x-ms-discriminator-value": "tag",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ScoringFunction"
+ }
+ ],
+ "properties": {
+ "tag": {
+ "x-ms-client-name": "Parameters",
+ "$ref": "#/definitions/TagScoringParameters",
+ "description": "Parameter values for the tag scoring function."
+ }
+ },
+ "required": [
+ "tag"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index"
+ },
+ "description": "Defines a function that boosts scores of documents with string values matching a given list of tags."
+ },
+ "TagScoringParameters": {
+ "properties": {
+ "tagsParameter": {
+ "type": "string",
+ "description": "The name of the parameter passed in search queries to specify the list of tags to compare against the target field."
+ }
+ },
+ "required": [
+ "tagsParameter"
+ ],
+ "description": "Provides parameter values to a tag scoring function."
+ },
+ "ScoringFunctionInterpolation": {
+ "type": "string",
+ "enum": [
+ "linear",
+ "constant",
+ "quadratic",
+ "logarithmic"
+ ],
+ "x-ms-enum": {
+ "name": "ScoringFunctionInterpolation"
+ },
+ "description": "Defines the function used to interpolate score boosting across a range of documents."
+ },
+ "ScoringProfile": {
+ "properties": {
+ "name": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Naming-rules"
+ },
+ "type": "string",
+ "description": "The name of the scoring profile."
+ },
+ "text": {
+ "x-ms-client-name": "TextWeights",
+ "$ref": "#/definitions/TextWeights",
+ "description": "Parameters that boost scoring based on text matches in certain index fields."
+ },
+ "functions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ScoringFunction"
+ },
+ "description": "The collection of functions that influence the scoring of documents."
+ },
+ "functionAggregation": {
+ "$ref": "#/definitions/ScoringFunctionAggregation",
+ "description": "A value indicating how the results of individual scoring functions should be combined. Defaults to \"Sum\". Ignored if there are no scoring functions."
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index"
+ },
+ "description": "Defines parameters for a search index that influence scoring in search queries."
+ },
+ "ScoringFunctionAggregation": {
+ "type": "string",
+ "enum": [
+ "sum",
+ "average",
+ "minimum",
+ "maximum",
+ "firstMatching"
+ ],
+ "x-ms-enum": {
+ "name": "ScoringFunctionAggregation"
+ },
+ "description": "Defines the aggregation function used to combine the results of all the scoring functions in a scoring profile."
+ },
+ "CorsOptions": {
+ "properties": {
+ "allowedOrigins": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of origins from which JavaScript code will be granted access to your index. Can contain a list of hosts of the form {protocol}://{fully-qualified-domain-name}[:{port#}], or a single '*' to allow all origins (not recommended)."
+ },
+ "maxAgeInSeconds": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The duration for which browsers should cache CORS preflight responses. Defaults to 5 minutes."
+ }
+ },
+ "required": [
+ "allowedOrigins"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Create-Index"
+ },
+ "description": "Defines options to control Cross-Origin Resource Sharing (CORS) for an index."
+ },
+ "Suggester": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the suggester."
+ },
+ "searchMode": {
+ "type": "string",
+ "enum": [
+ "analyzingInfixMatching"
+ ],
+ "x-ms-enum": {
+ "name": "searchMode",
+ "modelAsString": false
+ },
+ "description": "A value indicating the capabilities of the suggester."
+ },
+ "sourceFields": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of field names to which the suggester applies. Each field must be searchable."
+ }
+ },
+ "required": [
+ "name",
+ "searchMode",
+ "sourceFields"
+ ],
+ "description": "Defines how the Suggest API should apply to a group of fields in the index."
+ },
+ "Index": {
+ "properties": {
+ "name": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Naming-rules"
+ },
+ "type": "string",
+ "description": "The name of the index."
+ },
+ "fields": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Field"
+ },
+ "description": "The fields of the index."
+ },
+ "scoringProfiles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ScoringProfile"
+ },
+ "description": "The scoring profiles for the index."
+ },
+ "defaultScoringProfile": {
+ "type": "string",
+ "description": "The name of the scoring profile to use if none is specified in the query. If this property is not set and no scoring profile is specified in the query, then default scoring (tf-idf) will be used."
+ },
+ "corsOptions": {
+ "$ref": "#/definitions/CorsOptions",
+ "description": "Options to control Cross-Origin Resource Sharing (CORS) for the index."
+ },
+ "suggesters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Suggester"
+ },
+ "description": "The suggesters for the index."
+ },
+ "analyzers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Analyzer"
+ },
+ "description": "The analyzers for the index.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
+ }
+ },
+ "tokenizers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Tokenizer"
+ },
+ "description": "The tokenizers for the index.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
+ }
+ },
+ "tokenFilters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TokenFilter"
+ },
+ "description": "The token filters for the index.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
+ }
+ },
+ "charFilters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CharFilter"
+ },
+ "description": "The character filters for the index.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
+ }
+ },
+ "encryptionKey": {
+ "$ref": "#/definitions/EncryptionKey",
+ "description": "A description of an encryption key that you create in Azure Key Vault. This key is used to provide an additional level of encryption-at-rest for your data when you want full assurance that no one, not even Microsoft, can decrypt your data in Azure Cognitive Search. Once you have encrypted your data, it will always remain encrypted. Azure Cognitive Search will ignore attempts to set this property to null. You can change this property as needed if you want to rotate your encryption key; Your data will be unaffected. Encryption with customer-managed keys is not available for free search services, and is only available for paid services created on or after January 1, 2019.",
+ "externalDocs": {
+ "url": "https://aka.ms/azure-search-encryption-with-cmk"
+ }
+ },
+ "@odata.etag": {
+ "x-ms-client-name": "ETag",
+ "type": "string",
+ "description": "The ETag of the index."
+ }
+ },
+ "required": [
+ "name",
+ "fields"
+ ],
+ "description": "Represents a search index definition, which describes the fields and search behavior of an index."
+ },
+ "IndexGetStatisticsResult": {
+ "properties": {
+ "documentCount": {
+ "type": "integer",
+ "format": "int64",
+ "x-nullable": false,
+ "readOnly": true,
+ "description": "The number of documents in the index."
+ },
+ "storageSize": {
+ "type": "integer",
+ "format": "int64",
+ "x-nullable": false,
+ "readOnly": true,
+ "description": "The amount of storage in bytes consumed by the index."
+ }
+ },
+ "description": "Statistics for a given index. Statistics are collected periodically and are not guaranteed to always be up-to-date."
+ },
+ "IndexListResult": {
+ "properties": {
+ "value": {
+ "x-ms-client-name": "Indexes",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Index"
+ },
+ "description": "The indexes in the Search service."
+ }
+ },
+ "description": "Response from a List Indexes request. If successful, it includes the full definitions of all indexes."
+ },
+ "Skillset": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the skillset."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the skillset."
+ },
+ "skills": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Skill"
+ },
+ "description": "A list of skills in the skillset."
+ },
+ "cognitiveServices": {
+ "$ref": "#/definitions/CognitiveServices",
+ "description": "Details about cognitive services to be used when running skills."
+ },
+ "@odata.etag": {
+ "x-ms-client-name": "ETag",
+ "type": "string",
+ "description": "The ETag of the skillset."
+ }
+ },
+ "required": [
+ "name",
+ "description",
+ "skills"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-tutorial-blob"
+ },
+ "description": "A list of skills."
+ },
+ "CognitiveServices": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "@odata.type"
+ ],
+ "description": "Abstract base class for describing any cognitive service resource attached to the skillset."
+ },
+ "DefaultCognitiveServices": {
+ "description": "An empty object that represents the default cognitive service resource for a skillset.",
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.DefaultCognitiveServices",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CognitiveServices"
+ }
+ ]
+ },
+ "CognitiveServicesByKey": {
+ "description": "A cognitive service resource provisioned with a key that is attached to a skillset.",
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.CognitiveServicesByKey",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CognitiveServices"
+ }
+ ],
+ "properties": {
+ "key": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "key"
+ ]
+ },
+ "Skill": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the skill which uniquely identifies it within the skillset. A skill with no name defined will be given a default name of its 1-based index in the skills array, prefixed with the character '#'."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the skill which describes the inputs, outputs, and usage of the skill."
+ },
+ "context": {
+ "type": "string",
+ "description": "Represents the level at which operations take place, such as the document root or document content (for example, /document or /document/content). The default is /document."
+ },
+ "inputs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InputFieldMappingEntry"
+ },
+ "description": "Inputs of the skills could be a column in the source data set, or the output of an upstream skill."
+ },
+ "outputs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OutputFieldMappingEntry"
+ },
+ "description": "The output of a skill is either a field in a search index, or a value that can be consumed as an input by another skill."
+ }
+ },
+ "required": [
+ "@odata.type",
+ "inputs",
+ "outputs"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-predefined-skills"
+ },
+ "description": "Abstract base class for skills."
+ },
+ "InputFieldMappingEntry": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the input."
+ },
+ "source": {
+ "type": "string",
+ "description": "The source of the input."
+ },
+ "sourceContext": {
+ "type": "string",
+ "description": "The source context used for selecting recursive inputs."
+ },
+ "inputs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InputFieldMappingEntry"
+ },
+ "description": "The recursive inputs used when creating a complex type."
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "description": "Input field mapping for a skill."
+ },
+ "OutputFieldMappingEntry": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the output defined by the skill."
+ },
+ "targetName": {
+ "type": "string",
+ "description": "The target name of the output. It is optional and default to name."
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/naming-rules"
+ },
+ "description": "Output field mapping for a skill."
+ },
+ "ConditionalSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Util.ConditionalSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-conditional"
+ },
+ "description": "A skill that enables scenarios that require a Boolean operation to determine the data to assign to an output."
+ },
+ "KeyPhraseExtractionSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "properties": {
+ "defaultLanguageCode": {
+ "$ref": "#/definitions/KeyPhraseExtractionSkillLanguage",
+ "description": "A value indicating which language code to use. Default is en."
+ },
+ "maxKeyPhraseCount": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": true,
+ "description": "A number indicating how many key phrases to return. If absent, all identified key phrases will be returned."
+ }
+ },
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-keyphrases"
+ },
+ "description": "A skill that uses text analytics for key phrase extraction."
+ },
+ "OcrSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Vision.OcrSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "properties": {
+ "textExtractionAlgorithm": {
+ "$ref": "#/definitions/TextExtractionAlgorithm",
+ "description": "A value indicating which algorithm to use for extracting text. Default is printed."
+ },
+ "defaultLanguageCode": {
+ "$ref": "#/definitions/OcrSkillLanguage",
+ "description": "A value indicating which language code to use. Default is en."
+ },
+ "detectOrientation": {
+ "x-ms-client-name": "ShouldDetectOrientation",
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating to turn orientation detection on or not. Default is false."
+ }
+ },
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-ocr"
+ },
+ "description": "A skill that extracts text from image files."
+ },
+ "ImageAnalysisSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Vision.ImageAnalysisSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "properties": {
+ "defaultLanguageCode": {
+ "$ref": "#/definitions/ImageAnalysisSkillLanguage",
+ "description": "A value indicating which language code to use. Default is en."
+ },
+ "visualFeatures": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VisualFeature",
+ "x-nullable": false
+ },
+ "description": "A list of visual features."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ImageDetail",
+ "x-nullable": false
+ },
+ "description": "A string indicating which domain-specific details to return."
+ }
+ },
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-image-analysis"
+ },
+ "description": "A skill that analyzes image files. It extracts a rich set of visual features based on the image content."
+ },
+ "LanguageDetectionSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-language-detection"
+ },
+ "description": "A skill that detects the language of input text and reports a single language code for every document submitted on the request. The language code is paired with a score indicating the confidence of the analysis."
+ },
+ "ShaperSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Util.ShaperSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-shaper"
+ },
+ "description": "A skill for reshaping the outputs. It creates a complex type to support composite fields (also known as multipart fields)."
+ },
+ "MergeSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Text.MergeSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "properties": {
+ "insertPreTag": {
+ "type": "string",
+ "default": " ",
+ "description": "The tag indicates the start of the merged text. By default, the tag is an empty space."
+ },
+ "insertPostTag": {
+ "type": "string",
+ "default": " ",
+ "description": "The tag indicates the end of the merged text. By default, the tag is an empty space."
+ }
+ },
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-textmerger"
+ },
+ "description": "A skill for merging two or more strings into a single unified string, with an optional user-defined delimiter separating each component part."
+ },
+ "EntityRecognitionSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "properties": {
+ "categories": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EntityCategory",
+ "x-nullable": false
+ },
+ "description": "A list of entity categories that should be extracted."
+ },
+ "defaultLanguageCode": {
+ "$ref": "#/definitions/EntityRecognitionSkillLanguage",
+ "description": "A value indicating which language code to use. Default is en."
+ },
+ "includeTypelessEntities": {
+ "type": "boolean",
+ "x-nullable": true,
+ "description": "Determines whether or not to include entities which are well known but don't conform to a pre-defined type. If this configuration is not set (default), set to null or set to false, entities which don't conform to one of the pre-defined types will not be surfaced."
+ },
+ "minimumPrecision": {
+ "type": "number",
+ "format": "double",
+ "x-nullable": true,
+ "description": "A value between 0 and 1 that be used to only include entities whose confidence score is greater than the value specified. If not set (default), or if explicitly set to null, all entities will be included."
+ }
+ },
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-entity-recognition"
+ },
+ "description": "Text analytics entity recognition."
+ },
+ "NamedEntityRecognitionSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Text.NamedEntityRecognitionSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "properties": {
+ "categories": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NamedEntityCategory",
+ "x-nullable": false
+ },
+ "description": "A list of named entity categories."
+ },
+ "defaultLanguageCode": {
+ "$ref": "#/definitions/NamedEntityRecognitionSkillLanguage",
+ "description": "A value indicating which language code to use. Default is en."
+ },
+ "minimumPrecision": {
+ "type": "number",
+ "format": "double",
+ "x-nullable": true,
+ "description": "A value between 0 and 1 to indicate the confidence of the results."
+ }
+ },
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-named-entity-recognition"
+ },
+ "description": "Text analytics named entity recognition. This skill is deprecated in favor of EntityRecognitionSkill.",
+ "x-ms-external": true
+ },
+ "SentimentSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Text.SentimentSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "properties": {
+ "defaultLanguageCode": {
+ "$ref": "#/definitions/SentimentSkillLanguage",
+ "description": "A value indicating which language code to use. Default is en."
+ }
+ },
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-sentiment"
+ },
+ "description": "Text analytics positive-negative sentiment analysis, scored as a floating point value in a range of zero to 1."
+ },
+ "SplitSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Text.SplitSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "properties": {
+ "defaultLanguageCode": {
+ "$ref": "#/definitions/SplitSkillLanguage",
+ "description": "A value indicating which language code to use. Default is en."
+ },
+ "textSplitMode": {
+ "$ref": "#/definitions/TextSplitMode",
+ "x-nullable": false,
+ "description": "A value indicating which split mode to perform."
+ },
+ "maximumPageLength": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": true,
+ "description": "The desired maximum page length. Default is 10000."
+ }
+ },
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-textsplit"
+ },
+ "description": "A skill to split a string into chunks of text."
+ },
+ "TextTranslationSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Text.TranslationSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "properties": {
+ "defaultToLanguageCode": {
+ "$ref": "#/definitions/TextTranslationSkillLanguage",
+ "description": "The language code to translate documents into for documents that don't specify the to language explicitly. "
+ },
+ "defaultFromLanguageCode": {
+ "$ref": "#/definitions/TextTranslationSkillLanguage",
+ "description": "The language code to translate documents from for documents that don't specify the from language explicitly."
+ },
+ "suggestedFrom": {
+ "$ref": "#/definitions/TextTranslationSkillLanguage",
+ "description": "The language code to translate documents from when neither the fromLanguageCode input nor the defaultFromLanguageCode parameter are provided, and the automatic language detection is unsuccessful. Default is en."
+ }
+ },
+ "required": [
+ "defaultToLanguageCode"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-text-translation"
+ },
+ "description": "A skill to translate text from one language to another."
+ },
+ "WebApiSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Custom.WebApiSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "properties": {
+ "uri": {
+ "type": "string",
+ "description": "The url for the Web API."
+ },
+ "httpHeaders": {
+ "$ref": "#/definitions/WebApiHttpHeaders",
+ "description": "The headers required to make the http request."
+ },
+ "httpMethod": {
+ "type": "string",
+ "description": "The method for the http request."
+ },
+ "timeout": {
+ "type": "string",
+ "format": "duration",
+ "description": "The desired timeout for the request. Default is 30 seconds."
+ },
+ "batchSize": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": true,
+ "description": "The desired batch size which indicates number of documents."
+ },
+ "degreeOfParallelism": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": true,
+ "description": "If set, the number of parallel calls that can be made to the Web API."
+ }
+ },
+ "required": [
+ "uri"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-web-api"
+ },
+ "description": "A skill that can call a Web API endpoint, allowing you to extend a skillset by having it call your custom code."
+ },
+ "WebApiHttpHeaders": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "A dictionary of http request headers."
+ },
+ "SkillsetListResult": {
+ "properties": {
+ "value": {
+ "x-ms-client-name": "Skillsets",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Skillset"
+ },
+ "description": "The skillsets defined in the Search service."
+ }
+ },
+ "description": "Response from a list Skillset request. If successful, it includes the full definitions of all skillsets."
+ },
+ "TextExtractionAlgorithm": {
+ "type": "string",
+ "enum": [
+ "printed",
+ "handwritten"
+ ],
+ "x-ms-enum": {
+ "name": "TextExtractionAlgorithm",
+ "modelAsString": false
+ },
+ "description": "A value indicating which algorithm to use. Default is printed."
+ },
+ "TextSplitMode": {
+ "type": "string",
+ "enum": [
+ "pages",
+ "sentences"
+ ],
+ "x-ms-enum": {
+ "name": "TextSplitMode",
+ "modelAsString": false
+ },
+ "description": "A value indicating which split mode to perform."
+ },
+ "VisualFeature": {
+ "type": "string",
+ "enum": [
+ "categories",
+ "tags",
+ "description",
+ "faces",
+ "imageType",
+ "color"
+ ],
+ "x-ms-enum": {
+ "name": "VisualFeature",
+ "modelAsString": false
+ },
+ "description": "The strings indicating what visual feature types to return."
+ },
+ "ImageDetail": {
+ "type": "string",
+ "enum": [
+ "celebrities",
+ "landmarks"
+ ],
+ "x-ms-enum": {
+ "name": "ImageDetail",
+ "modelAsString": false
+ },
+ "description": "A string indicating which domain-specific details to return."
+ },
+ "EntityCategory": {
+ "type": "string",
+ "enum": [
+ "location",
+ "organization",
+ "person",
+ "quantity",
+ "datetime",
+ "url",
+ "email"
+ ],
+ "x-ms-enum": {
+ "name": "EntityCategory",
+ "modelAsString": false
+ },
+ "description": "A string indicating what entity categories to return."
+ },
+ "NamedEntityCategory": {
+ "type": "string",
+ "enum": [
+ "location",
+ "organization",
+ "person"
+ ],
+ "description": "A string indicating which named entity categories to return.",
+ "x-ms-external": true
+ },
+ "SentimentSkillLanguage": {
+ "type": "string",
+ "enum": [
+ "da",
+ "nl",
+ "en",
+ "fi",
+ "fr",
+ "de",
+ "el",
+ "it",
+ "no",
+ "pl",
+ "pt-PT",
+ "ru",
+ "es",
+ "sv",
+ "tr"
+ ],
+ "x-ms-enum": {
+ "name": "SentimentSkillLanguage",
+ "modelAsString": false
+ },
+ "description": "The language codes supported for input text by SentimentSkill."
+ },
+ "KeyPhraseExtractionSkillLanguage": {
+ "type": "string",
+ "enum": [
+ "da",
+ "nl",
+ "en",
+ "fi",
+ "fr",
+ "de",
+ "it",
+ "ja",
+ "ko",
+ "no",
+ "pl",
+ "pt-PT",
+ "pt-BR",
+ "ru",
+ "es",
+ "sv"
+ ],
+ "x-ms-enum": {
+ "name": "KeyPhraseExtractionSkillLanguage",
+ "modelAsString": false
+ },
+ "description": "The language codes supported for input text by KeyPhraseExtractionSkill."
+ },
+ "OcrSkillLanguage": {
+ "type": "string",
+ "enum": [
+ "zh-Hans",
+ "zh-Hant",
+ "cs",
+ "da",
+ "nl",
+ "en",
+ "fi",
+ "fr",
+ "de",
+ "el",
+ "hu",
+ "it",
+ "ja",
+ "ko",
+ "nb",
+ "pl",
+ "pt",
+ "ru",
+ "es",
+ "sv",
+ "tr",
+ "ar",
+ "ro",
+ "sr-Cyrl",
+ "sr-Latn",
+ "sk"
+ ],
+ "x-ms-enum": {
+ "name": "OcrSkillLanguage",
+ "modelAsString": false
+ },
+ "description": "The language codes supported for input by OcrSkill."
+ },
+ "SplitSkillLanguage": {
+ "type": "string",
+ "enum": [
+ "da",
+ "de",
+ "en",
+ "es",
+ "fi",
+ "fr",
+ "it",
+ "ko",
+ "pt"
+ ],
+ "x-ms-enum": {
+ "name": "SplitSkillLanguage",
+ "modelAsString": false
+ },
+ "description": "The language codes supported for input text by SplitSkill."
+ },
+ "EntityRecognitionSkillLanguage": {
+ "type": "string",
+ "enum": [
+ "de",
+ "en",
+ "es",
+ "fr",
+ "it"
+ ],
+ "x-ms-enum": {
+ "name": "EntityRecognitionSkillLanguage",
+ "modelAsString": false
+ },
+ "description": "The language codes supported for input text by EntityRecognitionSkill."
+ },
+ "NamedEntityRecognitionSkillLanguage": {
+ "type": "string",
+ "enum": [
+ "ar",
+ "cs",
+ "da",
+ "de",
+ "en",
+ "es",
+ "fi",
+ "fr",
+ "he",
+ "hu",
+ "it",
+ "ko",
+ "pt-br",
+ "pt"
+ ],
+ "x-ms-enum": {
+ "name": "NamedEntityRecognitionSkillLanguage",
+ "modelAsString": false
+ },
+ "description": "The language codes supported for input text by NamedEntityRecognitionSkill."
+ },
+ "TextTranslationSkillLanguage": {
+ "type": "string",
+ "enum": [
+ "af",
+ "ar",
+ "bn",
+ "bs",
+ "bg",
+ "yue",
+ "ca",
+ "zh-Hans",
+ "zh-Hant",
+ "hr",
+ "cs",
+ "da",
+ "nl",
+ "en",
+ "et",
+ "fj",
+ "fil",
+ "fi",
+ "fr",
+ "de",
+ "el",
+ "ht",
+ "he",
+ "hi",
+ "mww",
+ "hu",
+ "is",
+ "id",
+ "it",
+ "ja",
+ "sw",
+ "tlh",
+ "ko",
+ "lv",
+ "lt",
+ "mg",
+ "ms",
+ "mt",
+ "nb",
+ "fa",
+ "pl",
+ "pt",
+ "otq",
+ "ro",
+ "ru",
+ "sm",
+ "sr-Cyrl",
+ "sr-Latn",
+ "sk",
+ "sl",
+ "es",
+ "sv",
+ "ty",
+ "ta",
+ "te",
+ "th",
+ "to",
+ "tr",
+ "uk",
+ "ur",
+ "vi",
+ "cy",
+ "yua"
+ ],
+ "x-ms-enum": {
+ "name": "TextTranslationSkillLanguage",
+ "modelAsString": false
+ },
+ "description": "The language codes supported for input text by TextTranslationSkill."
+ },
+ "ImageAnalysisSkillLanguage": {
+ "type": "string",
+ "enum": [
+ "en",
+ "zh"
+ ],
+ "x-ms-enum": {
+ "name": "ImageAnalysisSkillLanguage",
+ "modelAsString": false
+ },
+ "description": "The language codes supported for input by ImageAnalysisSkill."
+ },
+ "SynonymMap": {
+ "properties": {
+ "name": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Naming-rules"
+ },
+ "type": "string",
+ "description": "The name of the synonym map."
+ },
+ "format": {
+ "type": "string",
+ "enum": [
+ "solr"
+ ],
+ "x-ms-enum": {
+ "name": "SynonymMapFormat",
+ "modelAsString": false
+ },
+ "description": "The format of the synonym map. Only the 'solr' format is currently supported."
+ },
+ "synonyms": {
+ "type": "string",
+ "description": "A series of synonym rules in the specified synonym map format. The rules must be separated by newlines.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Create-Synonym-Map#SynonymMapFormat"
+ }
+ },
+ "encryptionKey": {
+ "$ref": "#/definitions/EncryptionKey",
+ "description": "A description of an encryption key that you create in Azure Key Vault. This key is used to provide an additional level of encryption-at-rest for your data when you want full assurance that no one, not even Microsoft, can decrypt your data in Azure Cognitive Search. Once you have encrypted your data, it will always remain encrypted. Azure Cognitive Search will ignore attempts to set this property to null. You can change this property as needed if you want to rotate your encryption key; Your data will be unaffected. Encryption with customer-managed keys is not available for free search services, and is only available for paid services created on or after January 1, 2019.",
+ "externalDocs": {
+ "url": "https://aka.ms/azure-search-encryption-with-cmk"
+ }
+ },
+ "@odata.etag": {
+ "x-ms-client-name": "ETag",
+ "type": "string",
+ "description": "The ETag of the synonym map."
+ }
+ },
+ "required": [
+ "name",
+ "format",
+ "synonyms"
+ ],
+ "description": "Represents a synonym map definition."
+ },
+ "SynonymMapListResult": {
+ "properties": {
+ "value": {
+ "x-ms-client-name": "SynonymMaps",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/SynonymMap"
+ },
+ "description": "The synonym maps in the Search service."
+ }
+ },
+ "description": "Response from a List SynonymMaps request. If successful, it includes the full definitions of all synonym maps."
+ },
+ "EncryptionKey": {
+ "properties": {
+ "keyVaultKeyName": {
+ "type": "string",
+ "description": "The name of your Azure Key Vault key to be used to encrypt your data at rest."
+ },
+ "keyVaultKeyVersion": {
+ "type": "string",
+ "description": "The version of your Azure Key Vault key to be used to encrypt your data at rest."
+ },
+ "keyVaultUri": {
+ "type": "string",
+ "description": "The URI of your Azure Key Vault, also referred to as DNS name, that contains the key to be used to encrypt your data at rest. An example URI might be https://my-keyvault-name.vault.azure.net."
+ },
+ "accessCredentials": {
+ "$ref": "#/definitions/AzureActiveDirectoryApplicationCredentials",
+ "description": "Optional Azure Active Directory credentials used for accessing your Azure Key Vault. Not required if using managed identity instead.",
+ "externalDocs": {
+ "url": "https://aka.ms/azure-search-msi"
+ }
+ }
+ },
+ "required": [
+ "keyVaultKeyName",
+ "keyVaultKeyVersion",
+ "keyVaultUri"
+ ],
+ "description": "A customer-managed encryption key in Azure Key Vault. Keys that you create and manage can be used to encrypt or decrypt data-at-rest in Azure Cognitive Search, such as indexes and synonym maps."
+ },
+ "AzureActiveDirectoryApplicationCredentials": {
+ "properties": {
+ "applicationId": {
+ "type": "string",
+ "description": "An AAD Application ID that was granted the required access permissions to the Azure Key Vault that is to be used when encrypting your data at rest. The Application ID should not be confused with the Object ID for your AAD Application."
+ },
+ "applicationSecret": {
+ "type": "string",
+ "description": "The authentication key of the specified AAD application."
+ }
+ },
+ "required": [
+ "applicationId"
+ ],
+ "description": "Credentials of a registered application created for your search service, used for authenticated access to the encryption keys stored in Azure Key Vault."
+ },
+ "ServiceStatistics": {
+ "properties": {
+ "counters": {
+ "$ref": "#/definitions/ServiceCounters",
+ "description": "Service level resource counters."
+ },
+ "limits": {
+ "$ref": "#/definitions/ServiceLimits",
+ "description": "Service level general limits."
+ }
+ },
+ "description": "Response from a get service statistics request. If successful, it includes service level counters and limits."
+ },
+ "ServiceCounters": {
+ "properties": {
+ "documentCount": {
+ "x-ms-client-name": "documentCounter",
+ "$ref": "#/definitions/ResourceCounter",
+ "description": "Total number of documents across all indexes in the service."
+ },
+ "indexesCount": {
+ "x-ms-client-name": "indexCounter",
+ "$ref": "#/definitions/ResourceCounter",
+ "description": "Total number of indexes."
+ },
+ "indexersCount": {
+ "x-ms-client-name": "indexerCounter",
+ "$ref": "#/definitions/ResourceCounter",
+ "description": "Total number of indexers."
+ },
+ "dataSourcesCount": {
+ "x-ms-client-name": "dataSourceCounter",
+ "$ref": "#/definitions/ResourceCounter",
+ "description": "Total number of data sources."
+ },
+ "storageSize": {
+ "x-ms-client-name": "storageSizeCounter",
+ "$ref": "#/definitions/ResourceCounter",
+ "description": "Total size of used storage in bytes."
+ },
+ "synonymMaps": {
+ "x-ms-client-name": "synonymMapCounter",
+ "$ref": "#/definitions/ResourceCounter",
+ "description": "Total number of synonym maps."
+ }
+ },
+ "description": "Represents service-level resource counters and quotas."
+ },
+ "ServiceLimits": {
+ "properties": {
+ "maxFieldsPerIndex": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": true,
+ "description": "The maximum allowed fields per index."
+ },
+ "maxFieldNestingDepthPerIndex": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": true,
+ "description": "The maximum depth which you can nest sub-fields in an index, including the top-level complex field. For example, a/b/c has a nesting depth of 3."
+ },
+ "maxComplexCollectionFieldsPerIndex": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": true,
+ "description": "The maximum number of fields of type Collection(Edm.ComplexType) allowed in an index."
+ },
+ "maxComplexObjectsInCollectionsPerDocument": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": true,
+ "description": "The maximum number of objects in complex collections allowed per document."
+ }
+ },
+ "description": "Represents various service level limits."
+ },
+ "ResourceCounter": {
+ "properties": {
+ "usage": {
+ "type": "integer",
+ "format": "int64",
+ "x-nullable": false,
+ "description": "The resource usage amount."
+ },
+ "quota": {
+ "type": "integer",
+ "format": "int64",
+ "x-nullable": true,
+ "description": "The resource amount quota."
+ }
+ },
+ "description": "Represents a resource's usage and quota."
+ }
+ },
+ "parameters": {
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
+ },
+ "ClientRequestIdParameter": {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The tracking ID sent with the request to help with debugging.",
+ "x-ms-client-request-id": true,
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "IfMatchParameter": {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value.",
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "IfNoneMatchParameter": {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value.",
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "PreferHeaderParameter": {
+ "name": "Prefer",
+ "in": "header",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "return=representation"
+ ],
+ "description": "For HTTP PUT requests, instructs the service to return the created/updated resource on success.",
+ "x-ms-parameter-location": "method"
+ },
+ "SearchServiceNameParameter": {
+ "name": "searchServiceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-skip-url-encoding": true,
+ "description": "The name of the search service.",
+ "x-ms-parameter-location": "client"
+ },
+ "SearchDnsSuffixParameter": {
+ "name": "searchDnsSuffix",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "default": "search.windows.net",
+ "x-ms-skip-url-encoding": true,
+ "description": "The DNS suffix of the search service. The default is search.windows.net.",
+ "x-ms-parameter-location": "client"
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md b/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md
index fde7e9de2b43..ed8ca3c096a3 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md
@@ -27,6 +27,15 @@ openapi-type: data-plane
tag: package-2019-05
```
+### Tag: package-2019-05-preview
+
+These settings apply only when `--tag=package-2019-05-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-05-preview'
+input-file:
+- preview/2019-05-06-preview/searchservice.json
+```
+
### Tag: package-2019-05
These settings apply only when `--tag=package-2019-05` is specified on the command line.
@@ -90,6 +99,16 @@ input-file:
- preview/2015-02-28/searchservice.json
```
+### Tag: track1-package-2019-05-preview
+
+These settings apply only when `--tag=track1-package-2019-05-preview` is specified on the command line.
+It is meant to be used for generating Track 1 .NET SDK only!
+
+``` yaml $(tag) == 'track1-package-2019-05-preview'
+input-file:
+- track1/preview/2019-05-06-preview/searchservice.json
+```
+
### Tag: track1-package-2019-05
These settings apply only when `--tag=track1-package-2019-05` is specified on the command line.
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateDataSource.json
new file mode 100644
index 000000000000..b9e678d0d59b
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateDataSource.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06-Preview",
+ "dataSource": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": "AccountEndpoint=https://myDocDbEndpoint.documents.azure.com;AccountKey=myDocDbAuthKey;Database=myDocDbDatabaseId"
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateIndex.json
new file mode 100644
index 000000000000..899a46d7e3a8
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateIndex.json
@@ -0,0 +1,364 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06-Preview",
+ "index": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "key": true,
+ "searchable": false
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double"
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false,
+ "analyzer": "fr.lucene"
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String"
+ },
+ {
+ "name": "category",
+ "type": "Edm.String"
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "analyzer": "tagsAnalyzer"
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset"
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32"
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint"
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ },
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": "myapplicationsecret"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ },
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": null
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateIndexer.json
new file mode 100644
index 000000000000..a48caf1ae64e
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateIndexer.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06-Preview",
+ "indexer": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateDataSource.json
new file mode 100644
index 000000000000..20632119f79b
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateDataSource.json
@@ -0,0 +1,78 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "dataSourceName": "mydatasource",
+ "api-version": "2019-05-06-Preview",
+ "Prefer": "return=representation",
+ "dataSource": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": "AccountEndpoint=https://myDocDbEndpoint.documents.azure.com;AccountKey=myDocDbAuthKey;Database=myDocDbDatabaseId"
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndex.json
new file mode 100644
index 000000000000..110718158428
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndex.json
@@ -0,0 +1,593 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "allowIndexDowntime": false,
+ "api-version": "2019-05-06-Preview",
+ "Prefer": "return=representation",
+ "index": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "key": true,
+ "searchable": false
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double"
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "filterable": false,
+ "sortable": false,
+ "facetable": false,
+ "analyzer": "fr.lucene"
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String"
+ },
+ {
+ "name": "category",
+ "type": "Edm.String"
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "analyzer": "tagsAnalyzer"
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean"
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset"
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32"
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint"
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ },
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ },
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ },
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndexer.json
new file mode 100644
index 000000000000..0d6be7478c9b
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndexer.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2019-05-06-Preview",
+ "Prefer": "return=representation",
+ "indexer": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ }
+ },
+ "201": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSkillset.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSkillset.json
new file mode 100644
index 000000000000..882002b21eb3
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSkillset.json
@@ -0,0 +1,370 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "skillsetName": "demoskillset",
+ "api-version": "2019-05-06-Preview",
+ "Prefer": "return=representation",
+ "skillset": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill",
+ "name": "MyCustomWebApiSkill",
+ "uri": "https://contoso.example.org",
+ "httpMethod": "POST",
+ "timeout": "PT30S",
+ "batchSize": 1,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "customresult",
+ "targetName": "result"
+ }
+ ],
+ "httpHeaders": {}
+ }
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "name": "#1",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ],
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "name": "#2",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "name": "#3",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "name": "#4",
+ "description": null,
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "maxKeyPhraseCount": null
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill",
+ "name": "MyCustomWebApiSkill",
+ "description": null,
+ "context": "/document",
+ "uri": "https://contoso.example.org",
+ "httpMethod": "POST",
+ "timeout": "PT30S",
+ "batchSize": 1,
+ "degreeOfParallelism": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "customresult",
+ "targetName": "result"
+ }
+ ],
+ "httpHeaders": {}
+ }
+ ]
+ }
+ },
+ "201": {
+ "body": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "name": "#1",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ],
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "name": "#2",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "name": "#3",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "name": "#4",
+ "description": null,
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "maxKeyPhraseCount": null
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill",
+ "name": "MyCustomWebApiSkill",
+ "description": null,
+ "context": "/document",
+ "uri": "https://contoso.example.org",
+ "httpMethod": "POST",
+ "timeout": "PT30S",
+ "batchSize": 1,
+ "degreeOfParallelism": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "customresult",
+ "targetName": "result"
+ }
+ ],
+ "httpHeaders": {}
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json
new file mode 100644
index 000000000000..e03c3c7a3a81
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2019-5-06-Preview",
+ "Prefer": "return=representation",
+ "synonymMap": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateSkillset.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateSkillset.json
new file mode 100644
index 000000000000..345d170d4e6f
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateSkillset.json
@@ -0,0 +1,244 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "skillsetName": "demoskillset",
+ "api-version": "2019-05-06-Preview",
+ "Prefer": "return=representation",
+ "skillset": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill",
+ "name": "MyCustomWebApiSkill",
+ "uri": "https://contoso.example.org",
+ "httpMethod": "POST",
+ "timeout": "PT30S",
+ "batchSize": 1,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "customresult",
+ "targetName": "result"
+ }
+ ],
+ "httpHeaders": {}
+ }
+ ]
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "name": "#1",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ],
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "name": "#2",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "name": "#3",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "name": "#4",
+ "description": null,
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "maxKeyPhraseCount": null
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill",
+ "name": "MyCustomWebApiSkill",
+ "description": null,
+ "context": "/document",
+ "uri": "https://contoso.example.org",
+ "httpMethod": "POST",
+ "timeout": "PT30S",
+ "batchSize": 1,
+ "degreeOfParallelism": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "customresult",
+ "targetName": "result"
+ }
+ ],
+ "httpHeaders": {}
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateSynonymMap.json
new file mode 100644
index 000000000000..9f8c35581736
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateSynonymMap.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06-Preview",
+ "synonymMap": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": "myApplicationSecret"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": null
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceDeleteDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceDeleteDataSource.json
new file mode 100644
index 000000000000..485998c3b399
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceDeleteDataSource.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "dataSourceName": "mydatasource",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceDeleteIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceDeleteIndex.json
new file mode 100644
index 000000000000..7e2a4ab24ebb
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceDeleteIndex.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "myindex",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceDeleteIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceDeleteIndexer.json
new file mode 100644
index 000000000000..2d8d47a4aba9
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceDeleteIndexer.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceDeleteSkillset.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceDeleteSkillset.json
new file mode 100644
index 000000000000..a7ef21578409
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceDeleteSkillset.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "skillsetName": "demoskillset",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceDeleteSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceDeleteSynonymMap.json
new file mode 100644
index 000000000000..367a75c1fb2c
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceDeleteSynonymMap.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "204": {},
+ "404": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetDataSource.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetDataSource.json
new file mode 100644
index 000000000000..764a9c1f0bae
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetDataSource.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "dataSourceName": "mydatasource",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetIndex.json
new file mode 100644
index 000000000000..b6eba6581225
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetIndex.json
@@ -0,0 +1,245 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ },
+ "encryptionKey": {
+ "keyVaultKeyName": "myKeyName",
+ "keyVaultKeyVersion": "myKeyVersion",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": null
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetIndexStatistics.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetIndexStatistics.json
new file mode 100644
index 000000000000..9392ddbbece6
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetIndexStatistics.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "documentCount": 239572,
+ "storageSize": 72375920
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetIndexer.json
new file mode 100644
index 000000000000..83cfe1c5c9e5
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetIndexer.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetIndexerStatus.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetIndexerStatus.json
new file mode 100644
index 000000000000..1f0fb1785cf8
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetIndexerStatus.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "status": "running",
+ "lastResult": {
+ "status": "success",
+ "errorMessage": null,
+ "startTime": "2014-11-26T03:37:18.853Z",
+ "endTime": "2014-11-26T03:37:19.012Z",
+ "errors": [],
+ "warnings": [],
+ "itemsProcessed": 11,
+ "itemsFailed": 0,
+ "initialTrackingState": null,
+ "finalTrackingState": null
+ },
+ "executionHistory": [
+ {
+ "status": "success",
+ "errorMessage": null,
+ "startTime": "2014-11-26T03:37:18.853Z",
+ "endTime": "2014-11-26T03:37:19.012Z",
+ "errors": [],
+ "warnings": [],
+ "itemsProcessed": 11,
+ "itemsFailed": 0,
+ "initialTrackingState": null,
+ "finalTrackingState": null
+ },
+ {
+ "status": "transientFailure",
+ "errorMessage": null,
+ "startTime": "2014-11-26T03:28:10.125Z",
+ "endTime": "2014-11-26T03:28:12.007Z",
+ "errors": [
+ {
+ "key": "",
+ "errorMessage": "Document key cannot be missing or empty.",
+ "statusCode": 400,
+ "name": null,
+ "details": null,
+ "documentationLink": null
+ },
+ {
+ "key": "document id 1",
+ "errorMessage": "Could not read the value of column 'foo' at index '0'.",
+ "statusCode": 400,
+ "name": "DocumentExtraction.AzureBlob.MyDataSource",
+ "details": "The file could not be parsed.",
+ "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2049388"
+ }
+ ],
+ "warnings": [
+ {
+ "key": "document id",
+ "message": "A warning doesn't stop indexing, and is intended to inform you of certain interesting situations, like when a blob indexer truncates the amount of text extracted from a blob.",
+ "name": null,
+ "details": null,
+ "documentationLink": null
+ },
+ {
+ "key": "document id 2",
+ "message": "Document was truncated to 50000 characters.",
+ "name": "Enrichment.LanguageDetectionSkill.#4",
+ "details": "The skill did something that didn't break anything, nonetheless something we didn't expect happened, so it might be worth double checking.",
+ "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2099692"
+ }
+ ],
+ "itemsProcessed": 1,
+ "itemsFailed": 2,
+ "initialTrackingState": null,
+ "finalTrackingState": null
+ }
+ ],
+ "limits": {
+ "maxRunTime": "22:00:00",
+ "maxDocumentExtractionSize": 256000000,
+ "maxDocumentContentCharactersToExtract": 4000000
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetServiceStatistics.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetServiceStatistics.json
new file mode 100644
index 000000000000..ef57c6530a12
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetServiceStatistics.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "counters": {
+ "documentCount": {
+ "usage": 7093,
+ "quota": 10000
+ },
+ "indexesCount": {
+ "usage": 3,
+ "quota": 3
+ },
+ "indexersCount": {
+ "usage": 3,
+ "quota": 3
+ },
+ "dataSourcesCount": {
+ "usage": 1,
+ "quota": 3
+ },
+ "storageSize": {
+ "usage": 914529,
+ "quota": 52428800
+ },
+ "synonymMaps": {
+ "usage": 2,
+ "quota": 3
+ }
+ },
+ "limits": {
+ "maxFieldsPerIndex": 1000,
+ "maxFieldNestingDepthPerIndex": 10,
+ "maxComplexCollectionFieldsPerIndex": 100,
+ "maxComplexObjectsInCollectionsPerDocument": 3000
+ }
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetSkillset.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetSkillset.json
new file mode 100644
index 000000000000..10e742ea9eee
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetSkillset.json
@@ -0,0 +1,136 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "skillsetName": "demoskillset",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "name": "#1",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ],
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "name": "#2",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "name": "#3",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "name": "#4",
+ "description": null,
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "maxKeyPhraseCount": null
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill",
+ "name": "MyCustomWebApiSkill",
+ "description": null,
+ "context": "/document",
+ "uri": "https://contoso.example.org",
+ "httpMethod": "POST",
+ "timeout": "PT30S",
+ "batchSize": 1,
+ "degreeOfParallelism": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "customresult",
+ "targetName": "result"
+ }
+ ],
+ "httpHeaders": {}
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetSynonymMap.json
new file mode 100644
index 000000000000..44c620c21af7
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetSynonymMap.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myKeyName",
+ "keyVaultKeyVersion": "myKeyVersion",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": null
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceIndexAnalyze.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceIndexAnalyze.json
new file mode 100644
index 000000000000..671beb130f40
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceIndexAnalyze.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexName": "hotels",
+ "api-version": "2019-05-06-Preview",
+ "request": {
+ "text": "Text to analyze",
+ "analyzer": "standard.lucene"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tokens": [
+ {
+ "token": "text",
+ "startOffset": 0,
+ "endOffset": 4,
+ "position": 0
+ },
+ {
+ "token": "to",
+ "startOffset": 5,
+ "endOffset": 7,
+ "position": 1
+ },
+ {
+ "token": "analyze",
+ "startOffset": 8,
+ "endOffset": 15,
+ "position": 2
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListDataSources.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListDataSources.json
new file mode 100644
index 000000000000..64f8ecb6a22d
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListDataSources.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "$select": "*",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "mydocdbdatasource",
+ "description": "My Cosmos DB data source.",
+ "type": "cosmosdb",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "myDocDbCollectionId",
+ "query": "SELECT c.id, c.userId, tag, c._ts FROM c JOIN tag IN c.tags WHERE c._ts >= @HighWaterMark ORDER BY c._ts"
+ },
+ "dataChangeDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "highWaterMarkColumnName": "_ts"
+ },
+ "dataDeletionDetectionPolicy": {
+ "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "softDeleteColumnName": "isDeleted",
+ "softDeleteMarkerValue": "true"
+ }
+ },
+ {
+ "name": "myblobdatasource",
+ "description": "My Azure Blob data source.",
+ "type": "azureblob",
+ "credentials": {
+ "connectionString": null
+ },
+ "container": {
+ "name": "mycontainer"
+ },
+ "dataChangeDetectionPolicy": null,
+ "dataDeletionDetectionPolicy": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListIndexers.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListIndexers.json
new file mode 100644
index 000000000000..6cade8adafd9
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListIndexers.json
@@ -0,0 +1,68 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "$select": "*",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "myindexer",
+ "description": "a cool indexer",
+ "dataSourceName": "mydocdbdatasource",
+ "targetIndexName": "orders",
+ "schedule": {
+ "interval": "PT1H",
+ "startTime": "2015-01-01T00:00:00Z"
+ },
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5
+ },
+ "fieldMappings": [],
+ "disabled": false
+ },
+ {
+ "name": "myotherindexer",
+ "description": "another cool indexer",
+ "dataSourceName": "myblobdatasource",
+ "targetIndexName": "orders",
+ "parameters": {
+ "maxFailedItems": 10,
+ "maxFailedItemsPerBatch": 5,
+ "batchSize": 15
+ },
+ "fieldMappings": [
+ {
+ "sourceFieldName": "PersonName",
+ "targetFieldName": "FirstName",
+ "mappingFunction": {
+ "name": "extractTokenAtPosition",
+ "parameters": {
+ "delimiter": " ",
+ "position": 0
+ }
+ }
+ },
+ {
+ "sourceFieldName": "PersonName",
+ "targetFieldName": "LastName",
+ "mappingFunction": {
+ "name": "extractTokenAtPosition",
+ "parameters": {
+ "delimiter": " ",
+ "position": 1
+ }
+ }
+ }
+ ],
+ "disabled": false
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListIndexes.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListIndexes.json
new file mode 100644
index 000000000000..40cad9454d59
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListIndexes.json
@@ -0,0 +1,288 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "$select": "*",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "hotels",
+ "fields": [
+ {
+ "name": "hotelId",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "baseRate",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "description_fr",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "fr.lucene",
+ "synonymMaps": []
+ },
+ {
+ "name": "hotelName",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "category",
+ "type": "Edm.String",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "tags",
+ "type": "Collection(Edm.String)",
+ "searchable": true,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": "tagsAnalyzer",
+ "synonymMaps": []
+ },
+ {
+ "name": "parkingIncluded",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "smokingAllowed",
+ "type": "Edm.Boolean",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "lastRenovationDate",
+ "type": "Edm.DateTimeOffset",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "rating",
+ "type": "Edm.Int32",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": true,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "location",
+ "type": "Edm.GeographyPoint",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": true,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [
+ {
+ "name": "geo",
+ "text": {
+ "weights": {
+ "hotelName": 5
+ }
+ },
+ "functions": [
+ {
+ "type": "distance",
+ "boost": 5,
+ "fieldName": "location",
+ "interpolation": "logarithmic",
+ "distance": {
+ "referencePointParameter": "currentLocation",
+ "boostingDistance": 10
+ }
+ }
+ ]
+ }
+ ],
+ "defaultScoringProfile": "geo",
+ "suggesters": [
+ {
+ "name": "sg",
+ "searchMode": "analyzingInfixMatching",
+ "sourceFields": [
+ "hotelName"
+ ]
+ }
+ ],
+ "analyzers": [
+ {
+ "name": "tagsAnalyzer",
+ "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "charFilters": [
+ "html_strip"
+ ],
+ "tokenizer": "standard_v2"
+ }
+ ],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": {
+ "allowedOrigins": [
+ "tempuri.org"
+ ],
+ "maxAgeInSeconds": 60
+ },
+ "encryptionKey": {
+ "keyVaultKeyName": "myKeyName",
+ "keyVaultKeyVersion": "myKeyVersion",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ },
+ {
+ "name": "testindex",
+ "fields": [
+ {
+ "name": "id",
+ "type": "Edm.String",
+ "searchable": false,
+ "filterable": false,
+ "retrievable": true,
+ "sortable": false,
+ "facetable": false,
+ "key": true,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ },
+ {
+ "name": "hidden",
+ "type": "Edm.Double",
+ "searchable": false,
+ "filterable": true,
+ "retrievable": false,
+ "sortable": true,
+ "facetable": false,
+ "key": false,
+ "indexAnalyzer": null,
+ "searchAnalyzer": null,
+ "analyzer": null,
+ "synonymMaps": []
+ }
+ ],
+ "scoringProfiles": [],
+ "defaultScoringProfile": null,
+ "suggesters": [],
+ "analyzers": [],
+ "tokenizers": [],
+ "tokenFilters": [],
+ "charFilters": [],
+ "corsOptions": null,
+ "encryptionKey": null
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListSkillsets.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListSkillsets.json
new file mode 100644
index 000000000000..51d26b811db3
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListSkillsets.json
@@ -0,0 +1,140 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "$select": "*",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "demoskillset",
+ "description": "Extract entities, detect language and extract key-phrases",
+ "skills": [
+ {
+ "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "name": "#1",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "organizations",
+ "targetName": "organizations"
+ }
+ ],
+ "categories": [
+ "organization"
+ ],
+ "defaultLanguageCode": "en",
+ "minimumPrecision": 0.7
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "name": "#2",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "languageCode",
+ "targetName": "languageCode"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
+ "name": "#3",
+ "description": null,
+ "context": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/content"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "textItems",
+ "targetName": "pages"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "textSplitMode": "pages",
+ "maximumPageLength": 4000
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "name": "#4",
+ "description": null,
+ "context": "/document/pages/*",
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "keyPhrases",
+ "targetName": "keyPhrases"
+ }
+ ],
+ "defaultLanguageCode": null,
+ "maxKeyPhraseCount": null
+ },
+ {
+ "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill",
+ "name": "MyCustomWebApiSkill",
+ "description": null,
+ "context": "/document",
+ "uri": "https://contoso.example.org",
+ "httpMethod": "POST",
+ "timeout": "PT30S",
+ "batchSize": 1,
+ "degreeOfParallelism": null,
+ "inputs": [
+ {
+ "name": "text",
+ "source": "/document/pages/*"
+ },
+ {
+ "name": "languageCode",
+ "source": "/document/languageCode"
+ }
+ ],
+ "outputs": [
+ {
+ "name": "customresult",
+ "targetName": "result"
+ }
+ ],
+ "httpHeaders": {}
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListSynonymMaps.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListSynonymMaps.json
new file mode 100644
index 000000000000..9fe7c633b7f1
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListSynonymMaps.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myKeyName",
+ "keyVaultKeyVersion": "myKeyVersion",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ },
+ {
+ "name": "myothersynonymmap",
+ "format": "solr",
+ "synonyms": "couch, sofa, chesterfield\npop, soda\ntoque, hat",
+ "encryptionKey": null
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceResetIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceResetIndexer.json
new file mode 100644
index 000000000000..6f3c5ec8ed27
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceResetIndexer.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceRunIndexer.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceRunIndexer.json
new file mode 100644
index 000000000000..0a59b91741a2
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceRunIndexer.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "indexerName": "myindexer",
+ "api-version": "2019-05-06-Preview"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/searchservice.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/searchservice.json
new file mode 100644
index 000000000000..da4cbe1887e1
--- /dev/null
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/searchservice.json
@@ -0,0 +1,5640 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "SearchServiceClient",
+ "description": "Client that can be used to manage and query indexes and documents, as well as manage other resources, on a search service.",
+ "version": "2019-05-06-Preview",
+ "x-ms-code-generation-settings": {
+ "useDateTimeOffset": true
+ }
+ },
+ "x-ms-parameterized-host": {
+ "hostTemplate": "https://{searchServiceName}.{searchDnsSuffix}",
+ "useSchemePrefix": false,
+ "parameters": [
+ {
+ "$ref": "#/parameters/SearchServiceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SearchDnsSuffixParameter"
+ }
+ ]
+ },
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/datasources('{dataSourceName}')": {
+ "put": {
+ "tags": [
+ "DataSources"
+ ],
+ "operationId": "DataSources_CreateOrUpdate",
+ "x-ms-examples": {
+ "SearchServiceCreateOrUpdateDataSource": {
+ "$ref": "./examples/SearchServiceCreateOrUpdateDataSource.json"
+ }
+ },
+ "description": "Creates a new datasource or updates a datasource if it already exists.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Update-Data-Source"
+ },
+ "parameters": [
+ {
+ "name": "dataSourceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the datasource to create or update."
+ },
+ {
+ "name": "dataSource",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DataSource"
+ },
+ "description": "The definition of the datasource to create or update."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IfMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/IfNoneMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/PreferHeaderParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/DataSource"
+ }
+ },
+ "201": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/DataSource"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "DataSources"
+ ],
+ "operationId": "DataSources_Delete",
+ "x-ms-examples": {
+ "SearchServiceDeleteDataSource": {
+ "$ref": "./examples/SearchServiceDeleteDataSource.json"
+ }
+ },
+ "description": "Deletes a datasource.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Delete-Data-Source"
+ },
+ "parameters": [
+ {
+ "name": "dataSourceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the datasource to delete."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IfMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/IfNoneMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "204": {
+ "description": ""
+ },
+ "404": {
+ "description": ""
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "DataSources"
+ ],
+ "operationId": "DataSources_Get",
+ "x-ms-examples": {
+ "SearchServiceGetDataSource": {
+ "$ref": "./examples/SearchServiceGetDataSource.json"
+ }
+ },
+ "description": "Retrieves a datasource definition.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Get-Data-Source"
+ },
+ "parameters": [
+ {
+ "name": "dataSourceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the datasource to retrieve."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/DataSource"
+ }
+ }
+ }
+ }
+ },
+ "/datasources": {
+ "get": {
+ "tags": [
+ "DataSources"
+ ],
+ "operationId": "DataSources_List",
+ "x-ms-examples": {
+ "SearchServiceListDataSources": {
+ "$ref": "./examples/SearchServiceListDataSources.json"
+ }
+ },
+ "description": "Lists all datasources available for a search service.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/List-Data-Sources"
+ },
+ "parameters": [
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Selects which top-level properties of the data sources to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/DataSourceListResult"
+ }
+ }
+ }
+ },
+ "post": {
+ "tags": [
+ "DataSources"
+ ],
+ "operationId": "DataSources_Create",
+ "x-ms-examples": {
+ "SearchServiceCreateDataSource": {
+ "$ref": "./examples/SearchServiceCreateDataSource.json"
+ }
+ },
+ "description": "Creates a new datasource.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Create-Data-Source"
+ },
+ "parameters": [
+ {
+ "name": "dataSource",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DataSource"
+ },
+ "description": "The definition of the datasource to create."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "201": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/DataSource"
+ }
+ }
+ }
+ }
+ },
+ "/indexers('{indexerName}')/search.reset": {
+ "post": {
+ "tags": [
+ "Indexers"
+ ],
+ "operationId": "Indexers_Reset",
+ "x-ms-examples": {
+ "SearchServiceResetIndexer": {
+ "$ref": "./examples/SearchServiceResetIndexer.json"
+ }
+ },
+ "description": "Resets the change tracking state associated with an indexer.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Reset-Indexer"
+ },
+ "parameters": [
+ {
+ "name": "indexerName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the indexer to reset."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "204": {
+ "description": ""
+ }
+ }
+ }
+ },
+ "/indexers('{indexerName}')/search.run": {
+ "post": {
+ "tags": [
+ "Indexers"
+ ],
+ "operationId": "Indexers_Run",
+ "x-ms-examples": {
+ "SearchServiceRunIndexer": {
+ "$ref": "./examples/SearchServiceRunIndexer.json"
+ }
+ },
+ "description": "Runs an indexer on-demand.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Run-Indexer"
+ },
+ "parameters": [
+ {
+ "name": "indexerName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the indexer to run."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "202": {
+ "description": ""
+ }
+ }
+ }
+ },
+ "/indexers('{indexerName}')": {
+ "put": {
+ "tags": [
+ "Indexers"
+ ],
+ "operationId": "Indexers_CreateOrUpdate",
+ "x-ms-examples": {
+ "SearchServiceCreateOrUpdateIndexer": {
+ "$ref": "./examples/SearchServiceCreateOrUpdateIndexer.json"
+ }
+ },
+ "description": "Creates a new indexer or updates an indexer if it already exists.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Create-Indexer"
+ },
+ "parameters": [
+ {
+ "name": "indexerName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the indexer to create or update."
+ },
+ {
+ "name": "indexer",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Indexer"
+ },
+ "description": "The definition of the indexer to create or update."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IfMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/IfNoneMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/PreferHeaderParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "201": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/Indexer"
+ }
+ },
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/Indexer"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Indexers"
+ ],
+ "operationId": "Indexers_Delete",
+ "x-ms-examples": {
+ "SearchServiceDeleteIndexer": {
+ "$ref": "./examples/SearchServiceDeleteIndexer.json"
+ }
+ },
+ "description": "Deletes an indexer.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Delete-Indexer"
+ },
+ "parameters": [
+ {
+ "name": "indexerName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the indexer to delete."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IfMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/IfNoneMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "404": {
+ "description": ""
+ },
+ "204": {
+ "description": ""
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Indexers"
+ ],
+ "operationId": "Indexers_Get",
+ "x-ms-examples": {
+ "SearchServiceGetIndexer": {
+ "$ref": "./examples/SearchServiceGetIndexer.json"
+ }
+ },
+ "description": "Retrieves an indexer definition.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Get-Indexer"
+ },
+ "parameters": [
+ {
+ "name": "indexerName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the indexer to retrieve."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/Indexer"
+ }
+ }
+ }
+ }
+ },
+ "/indexers": {
+ "get": {
+ "tags": [
+ "Indexers"
+ ],
+ "operationId": "Indexers_List",
+ "x-ms-examples": {
+ "SearchServiceListIndexers": {
+ "$ref": "./examples/SearchServiceListIndexers.json"
+ }
+ },
+ "description": "Lists all indexers available for a search service.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/List-Indexers"
+ },
+ "parameters": [
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Selects which top-level properties of the indexers to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/IndexerListResult"
+ }
+ }
+ }
+ },
+ "post": {
+ "tags": [
+ "Indexers"
+ ],
+ "operationId": "Indexers_Create",
+ "x-ms-examples": {
+ "SearchServiceCreateIndexer": {
+ "$ref": "./examples/SearchServiceCreateIndexer.json"
+ }
+ },
+ "description": "Creates a new indexer.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Create-Indexer"
+ },
+ "parameters": [
+ {
+ "name": "indexer",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Indexer"
+ },
+ "description": "The definition of the indexer to create."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "201": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/Indexer"
+ }
+ }
+ }
+ }
+ },
+ "/indexers('{indexerName}')/search.status": {
+ "get": {
+ "tags": [
+ "Indexers"
+ ],
+ "operationId": "Indexers_GetStatus",
+ "x-ms-examples": {
+ "SearchServiceGetIndexerStatus": {
+ "$ref": "./examples/SearchServiceGetIndexerStatus.json"
+ }
+ },
+ "description": "Returns the current status and execution history of an indexer.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Get-Indexer-Status"
+ },
+ "parameters": [
+ {
+ "name": "indexerName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the indexer for which to retrieve status."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/IndexerExecutionInfo"
+ }
+ }
+ }
+ }
+ },
+ "/skillsets('{skillsetName}')": {
+ "put": {
+ "tags": [
+ "Skillsets"
+ ],
+ "operationId": "Skillsets_CreateOrUpdate",
+ "x-ms-examples": {
+ "SearchServiceCreateOrUpdateSkillset": {
+ "$ref": "./examples/SearchServiceCreateOrUpdateSkillset.json"
+ }
+ },
+ "description": "Creates a new skillset in a search service or updates the skillset if it already exists.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/update-skillset"
+ },
+ "parameters": [
+ {
+ "name": "skillsetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the skillset to create or update."
+ },
+ {
+ "name": "skillset",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Skillset"
+ },
+ "description": "The skillset containing one or more skills to create or update in a search service."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/PreferHeaderParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "The skillset is successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/Skillset"
+ }
+ },
+ "201": {
+ "description": "The skillset is successfully created.",
+ "schema": {
+ "$ref": "#/definitions/Skillset"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Skillsets"
+ ],
+ "operationId": "Skillsets_Delete",
+ "x-ms-examples": {
+ "SearchServiceDeleteSkillset": {
+ "$ref": "./examples/SearchServiceDeleteSkillset.json"
+ }
+ },
+ "description": "Deletes a skillset in a search service.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/delete-skillset"
+ },
+ "parameters": [
+ {
+ "name": "skillsetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the skillset to delete."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "204": {
+ "description": "The skillset is successfully deleted."
+ },
+ "404": {
+ "description": "The provided skillset name is not found."
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Skillsets"
+ ],
+ "operationId": "Skillsets_Get",
+ "x-ms-examples": {
+ "SearchServiceGetSkillset": {
+ "$ref": "./examples/SearchServiceGetSkillset.json"
+ }
+ },
+ "description": "Retrieves a skillset in a search service.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/get-skillset"
+ },
+ "parameters": [
+ {
+ "name": "skillsetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the skillset to retrieve."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "The skillset is successfully returned.",
+ "schema": {
+ "$ref": "#/definitions/Skillset"
+ }
+ }
+ }
+ }
+ },
+ "/skillsets": {
+ "get": {
+ "tags": [
+ "Skillsets"
+ ],
+ "operationId": "Skillsets_List",
+ "x-ms-examples": {
+ "SearchServiceListSkillsets": {
+ "$ref": "./examples/SearchServiceListSkillsets.json"
+ }
+ },
+ "description": "List all skillsets in a search service.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/list-skillset"
+ },
+ "parameters": [
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Selects which top-level properties of the skillsets to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "The list is successfully returned.",
+ "schema": {
+ "$ref": "#/definitions/SkillsetListResult"
+ }
+ }
+ }
+ },
+ "post": {
+ "tags": [
+ "Skillsets"
+ ],
+ "operationId": "Skillsets_Create",
+ "x-ms-examples": {
+ "SearchServiceCreateSkillset": {
+ "$ref": "./examples/SearchServiceCreateSkillset.json"
+ }
+ },
+ "description": "Creates a new skillset in a search service.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/create-skillset"
+ },
+ "parameters": [
+ {
+ "name": "skillset",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Skillset"
+ },
+ "description": "The skillset containing one or more skills to create in a search service."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "201": {
+ "description": "The skillset is successfully created.",
+ "schema": {
+ "$ref": "#/definitions/Skillset"
+ }
+ }
+ }
+ }
+ },
+ "/synonymmaps('{synonymMapName}')": {
+ "put": {
+ "tags": [
+ "SynonymMaps"
+ ],
+ "operationId": "SynonymMaps_CreateOrUpdate",
+ "x-ms-examples": {
+ "SearchServiceCreateOrUpdateSynonymMap": {
+ "$ref": "./examples/SearchServiceCreateOrUpdateSynonymMap.json"
+ }
+ },
+ "description": "Creates a new synonym map or updates a synonym map if it already exists.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Update-Synonym-Map"
+ },
+ "parameters": [
+ {
+ "name": "synonymMapName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the synonym map to create or update."
+ },
+ {
+ "name": "synonymMap",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SynonymMap"
+ },
+ "description": "The definition of the synonym map to create or update."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IfMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/IfNoneMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/PreferHeaderParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/SynonymMap"
+ }
+ },
+ "201": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/SynonymMap"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "SynonymMaps"
+ ],
+ "operationId": "SynonymMaps_Delete",
+ "x-ms-examples": {
+ "SearchServiceDeleteSynonymMap": {
+ "$ref": "./examples/SearchServiceDeleteSynonymMap.json"
+ }
+ },
+ "description": "Deletes a synonym map.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Delete-Synonym-Map"
+ },
+ "parameters": [
+ {
+ "name": "synonymMapName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the synonym map to delete."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IfMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/IfNoneMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "204": {
+ "description": ""
+ },
+ "404": {
+ "description": ""
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "SynonymMaps"
+ ],
+ "operationId": "SynonymMaps_Get",
+ "x-ms-examples": {
+ "SearchServiceGetSynonymMap": {
+ "$ref": "./examples/SearchServiceGetSynonymMap.json"
+ }
+ },
+ "description": "Retrieves a synonym map definition.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Get-Synonym-Map"
+ },
+ "parameters": [
+ {
+ "name": "synonymMapName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the synonym map to retrieve."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/SynonymMap"
+ }
+ }
+ }
+ }
+ },
+ "/synonymmaps": {
+ "get": {
+ "tags": [
+ "SynonymMaps"
+ ],
+ "operationId": "SynonymMaps_List",
+ "x-ms-examples": {
+ "SearchServiceListSynonymMaps": {
+ "$ref": "./examples/SearchServiceListSynonymMaps.json"
+ }
+ },
+ "description": "Lists all synonym maps available for a search service.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/List-Synonym-Maps"
+ },
+ "parameters": [
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Selects which top-level properties of the synonym maps to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/SynonymMapListResult"
+ }
+ }
+ }
+ },
+ "post": {
+ "tags": [
+ "SynonymMaps"
+ ],
+ "operationId": "SynonymMaps_Create",
+ "x-ms-examples": {
+ "SearchServiceCreateSynonymMap": {
+ "$ref": "./examples/SearchServiceCreateSynonymMap.json"
+ }
+ },
+ "description": "Creates a new synonym map.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Create-Synonym-Map"
+ },
+ "parameters": [
+ {
+ "name": "synonymMap",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SynonymMap"
+ },
+ "description": "The definition of the synonym map to create."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "201": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/SynonymMap"
+ }
+ }
+ }
+ }
+ },
+ "/indexes": {
+ "post": {
+ "tags": [
+ "Indexes"
+ ],
+ "operationId": "Indexes_Create",
+ "x-ms-examples": {
+ "SearchServiceCreateIndex": {
+ "$ref": "./examples/SearchServiceCreateIndex.json"
+ }
+ },
+ "description": "Creates a new search index.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Create-Index"
+ },
+ "parameters": [
+ {
+ "name": "index",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Index"
+ },
+ "description": "The definition of the index to create."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "201": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/Index"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Indexes"
+ ],
+ "operationId": "Indexes_List",
+ "x-ms-examples": {
+ "SearchServiceListIndexes": {
+ "$ref": "./examples/SearchServiceListIndexes.json"
+ }
+ },
+ "description": "Lists all indexes available for a search service.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/List-Indexes"
+ },
+ "parameters": [
+ {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Selects which top-level properties of the index definitions to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/IndexListResult"
+ }
+ }
+ }
+ }
+ },
+ "/indexes('{indexName}')": {
+ "put": {
+ "tags": [
+ "Indexes"
+ ],
+ "operationId": "Indexes_CreateOrUpdate",
+ "x-ms-examples": {
+ "SearchServiceCreateOrUpdateIndex": {
+ "$ref": "./examples/SearchServiceCreateOrUpdateIndex.json"
+ }
+ },
+ "description": "Creates a new search index or updates an index if it already exists.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Update-Index"
+ },
+ "parameters": [
+ {
+ "name": "indexName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The definition of the index to create or update."
+ },
+ {
+ "name": "index",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Index"
+ },
+ "description": "The definition of the index to create or update."
+ },
+ {
+ "name": "allowIndexDowntime",
+ "in": "query",
+ "required": false,
+ "type": "boolean",
+ "description": "Allows new analyzers, tokenizers, token filters, or char filters to be added to an index by taking the index offline for at least a few seconds. This temporarily causes indexing and query requests to fail. Performance and write availability of the index can be impaired for several minutes after the index is updated, or longer for very large indexes."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IfMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/IfNoneMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/PreferHeaderParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/Index"
+ }
+ },
+ "201": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/Index"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Indexes"
+ ],
+ "operationId": "Indexes_Delete",
+ "x-ms-examples": {
+ "SearchServiceDeleteIndex": {
+ "$ref": "./examples/SearchServiceDeleteIndex.json"
+ }
+ },
+ "description": "Deletes a search index and all the documents it contains.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Delete-Index"
+ },
+ "parameters": [
+ {
+ "name": "indexName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the index to delete."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IfMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/IfNoneMatchParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "204": {
+ "description": ""
+ },
+ "404": {
+ "description": ""
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Indexes"
+ ],
+ "operationId": "Indexes_Get",
+ "x-ms-examples": {
+ "SearchServiceGetIndex": {
+ "$ref": "./examples/SearchServiceGetIndex.json"
+ }
+ },
+ "description": "Retrieves an index definition.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Get-Index"
+ },
+ "parameters": [
+ {
+ "name": "indexName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the index to retrieve."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/Index"
+ }
+ }
+ }
+ }
+ },
+ "/indexes('{indexName}')/search.stats": {
+ "get": {
+ "tags": [
+ "Indexes"
+ ],
+ "operationId": "Indexes_GetStatistics",
+ "x-ms-examples": {
+ "SearchServiceGetIndexStatistics": {
+ "$ref": "./examples/SearchServiceGetIndexStatistics.json"
+ }
+ },
+ "description": "Returns statistics for the given index, including a document count and storage usage.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Get-Index-Statistics"
+ },
+ "parameters": [
+ {
+ "name": "indexName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the index for which to retrieve statistics."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/IndexGetStatisticsResult"
+ }
+ }
+ }
+ }
+ },
+ "/indexes('{indexName}')/search.analyze": {
+ "post": {
+ "tags": [
+ "Indexes"
+ ],
+ "operationId": "Indexes_Analyze",
+ "x-ms-examples": {
+ "SearchServiceIndexAnalyze": {
+ "$ref": "./examples/SearchServiceIndexAnalyze.json"
+ }
+ },
+ "description": "Shows how an analyzer breaks text into tokens.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/test-analyzer"
+ },
+ "parameters": [
+ {
+ "name": "indexName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the index for which to test an analyzer."
+ },
+ {
+ "name": "request",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AnalyzeRequest"
+ },
+ "description": "The text and analyzer or analysis components to test."
+ },
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/AnalyzeResult"
+ }
+ }
+ }
+ }
+ },
+ "/servicestats": {
+ "get": {
+ "tags": [
+ "Service"
+ ],
+ "operationId": "GetServiceStatistics",
+ "x-ms-examples": {
+ "SearchServiceGetServiceStatistics": {
+ "$ref": "./examples/SearchServiceGetServiceStatistics.json"
+ }
+ },
+ "description": "Gets service level statistics for a search service.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ClientRequestIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-request-id": "request-id",
+ "responses": {
+ "200": {
+ "description": "",
+ "schema": {
+ "$ref": "#/definitions/ServiceStatistics"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "AnalyzeRequest": {
+ "properties": {
+ "text": {
+ "type": "string",
+ "description": "The text to break into tokens."
+ },
+ "analyzer": {
+ "$ref": "#/definitions/AnalyzerName",
+ "description": "The name of the analyzer to use to break the given text. If this parameter is not specified, you must specify a tokenizer instead. The tokenizer and analyzer parameters are mutually exclusive."
+ },
+ "tokenizer": {
+ "$ref": "#/definitions/TokenizerName",
+ "description": "The name of the tokenizer to use to break the given text. If this parameter is not specified, you must specify an analyzer instead. The tokenizer and analyzer parameters are mutually exclusive."
+ },
+ "tokenFilters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TokenFilterName",
+ "x-nullable": false
+ },
+ "description": "An optional list of token filters to use when breaking the given text. This parameter can only be set when using the tokenizer parameter."
+ },
+ "charFilters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CharFilterName",
+ "x-nullable": false
+ },
+ "description": "An optional list of character filters to use when breaking the given text. This parameter can only be set when using the tokenizer parameter."
+ }
+ },
+ "required": [
+ "text"
+ ],
+ "description": "Specifies some text and analysis components used to break that text into tokens."
+ },
+ "AnalyzeResult": {
+ "properties": {
+ "tokens": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TokenInfo"
+ },
+ "description": "The list of tokens returned by the analyzer specified in the request."
+ }
+ },
+ "description": "The result of testing an analyzer on text."
+ },
+ "TokenInfo": {
+ "properties": {
+ "token": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The token returned by the analyzer."
+ },
+ "startOffset": {
+ "type": "integer",
+ "format": "int32",
+ "readOnly": true,
+ "description": "The index of the first character of the token in the input text."
+ },
+ "endOffset": {
+ "type": "integer",
+ "format": "int32",
+ "readOnly": true,
+ "description": "The index of the last character of the token in the input text."
+ },
+ "position": {
+ "type": "integer",
+ "format": "int32",
+ "readOnly": true,
+ "description": "The position of the token in the input text relative to other tokens. The first token in the input text has position 0, the next has position 1, and so on. Depending on the analyzer used, some tokens might have the same position, for example if they are synonyms of each other."
+ }
+ },
+ "description": "Information about a token returned by an analyzer."
+ },
+ "AnalyzerName": {
+ "type": "string",
+ "enum": [
+ "ar.microsoft",
+ "ar.lucene",
+ "hy.lucene",
+ "bn.microsoft",
+ "eu.lucene",
+ "bg.microsoft",
+ "bg.lucene",
+ "ca.microsoft",
+ "ca.lucene",
+ "zh-Hans.microsoft",
+ "zh-Hans.lucene",
+ "zh-Hant.microsoft",
+ "zh-Hant.lucene",
+ "hr.microsoft",
+ "cs.microsoft",
+ "cs.lucene",
+ "da.microsoft",
+ "da.lucene",
+ "nl.microsoft",
+ "nl.lucene",
+ "en.microsoft",
+ "en.lucene",
+ "et.microsoft",
+ "fi.microsoft",
+ "fi.lucene",
+ "fr.microsoft",
+ "fr.lucene",
+ "gl.lucene",
+ "de.microsoft",
+ "de.lucene",
+ "el.microsoft",
+ "el.lucene",
+ "gu.microsoft",
+ "he.microsoft",
+ "hi.microsoft",
+ "hi.lucene",
+ "hu.microsoft",
+ "hu.lucene",
+ "is.microsoft",
+ "id.microsoft",
+ "id.lucene",
+ "ga.lucene",
+ "it.microsoft",
+ "it.lucene",
+ "ja.microsoft",
+ "ja.lucene",
+ "kn.microsoft",
+ "ko.microsoft",
+ "ko.lucene",
+ "lv.microsoft",
+ "lv.lucene",
+ "lt.microsoft",
+ "ml.microsoft",
+ "ms.microsoft",
+ "mr.microsoft",
+ "nb.microsoft",
+ "no.lucene",
+ "fa.lucene",
+ "pl.microsoft",
+ "pl.lucene",
+ "pt-BR.microsoft",
+ "pt-BR.lucene",
+ "pt-PT.microsoft",
+ "pt-PT.lucene",
+ "pa.microsoft",
+ "ro.microsoft",
+ "ro.lucene",
+ "ru.microsoft",
+ "ru.lucene",
+ "sr-cyrillic.microsoft",
+ "sr-latin.microsoft",
+ "sk.microsoft",
+ "sl.microsoft",
+ "es.microsoft",
+ "es.lucene",
+ "sv.microsoft",
+ "sv.lucene",
+ "ta.microsoft",
+ "te.microsoft",
+ "th.microsoft",
+ "th.lucene",
+ "tr.microsoft",
+ "tr.lucene",
+ "uk.microsoft",
+ "ur.microsoft",
+ "vi.microsoft",
+ "standard.lucene",
+ "standardasciifolding.lucene",
+ "keyword",
+ "pattern",
+ "simple",
+ "stop",
+ "whitespace"
+ ],
+ "x-ms-enum": {
+ "name": "AnalyzerName",
+ "modelAsString": false
+ },
+ "description": "Defines the names of all text analyzers supported by Azure Cognitive Search.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Language-support"
+ }
+ },
+ "TokenizerName": {
+ "type": "string",
+ "enum": [
+ "classic",
+ "edgeNGram",
+ "keyword_v2",
+ "letter",
+ "lowercase",
+ "microsoft_language_tokenizer",
+ "microsoft_language_stemming_tokenizer",
+ "nGram",
+ "path_hierarchy_v2",
+ "pattern",
+ "standard_v2",
+ "uax_url_email",
+ "whitespace"
+ ],
+ "x-ms-enum": {
+ "name": "TokenizerName",
+ "modelAsString": false
+ },
+ "description": "Defines the names of all tokenizers supported by Azure Cognitive Search.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
+ }
+ },
+ "TokenFilterName": {
+ "type": "string",
+ "enum": [
+ "arabic_normalization",
+ "apostrophe",
+ "asciifolding",
+ "cjk_bigram",
+ "cjk_width",
+ "classic",
+ "common_grams",
+ "edgeNGram_v2",
+ "elision",
+ "german_normalization",
+ "hindi_normalization",
+ "indic_normalization",
+ "keyword_repeat",
+ "kstem",
+ "length",
+ "limit",
+ "lowercase",
+ "nGram_v2",
+ "persian_normalization",
+ "phonetic",
+ "porter_stem",
+ "reverse",
+ "scandinavian_normalization",
+ "scandinavian_folding",
+ "shingle",
+ "snowball",
+ "sorani_normalization",
+ "stemmer",
+ "stopwords",
+ "trim",
+ "truncate",
+ "unique",
+ "uppercase",
+ "word_delimiter"
+ ],
+ "x-ms-enum": {
+ "name": "TokenFilterName",
+ "modelAsString": false
+ },
+ "description": "Defines the names of all token filters supported by Azure Cognitive Search.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
+ }
+ },
+ "CharFilterName": {
+ "type": "string",
+ "enum": [
+ "html_strip"
+ ],
+ "x-ms-enum": {
+ "name": "CharFilterName",
+ "modelAsString": false
+ },
+ "description": "Defines the names of all character filters supported by Azure Cognitive Search.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
+ }
+ },
+ "RegexFlags": {
+ "type": "string",
+ "enum": [
+ "CANON_EQ",
+ "CASE_INSENSITIVE",
+ "COMMENTS",
+ "DOTALL",
+ "LITERAL",
+ "MULTILINE",
+ "UNICODE_CASE",
+ "UNIX_LINES"
+ ],
+ "x-ms-enum": {
+ "name": "RegexFlags",
+ "modelAsString": false
+ },
+ "description": "Defines flags that can be combined to control how regular expressions are used in the pattern analyzer and pattern tokenizer.",
+ "externalDocs": {
+ "url": "http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html#field_summary"
+ }
+ },
+ "DataType": {
+ "type": "string",
+ "enum": [
+ "Edm.String",
+ "Edm.Int32",
+ "Edm.Int64",
+ "Edm.Double",
+ "Edm.Boolean",
+ "Edm.DateTimeOffset",
+ "Edm.GeographyPoint",
+ "Edm.ComplexType"
+ ],
+ "x-ms-enum": {
+ "name": "DataType",
+ "modelAsString": false
+ },
+ "description": "Defines the data type of a field in a search index."
+ },
+ "Analyzer": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference"
+ },
+ "description": "The name of the analyzer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters."
+ }
+ },
+ "required": [
+ "@odata.type",
+ "name"
+ ],
+ "description": "Abstract base class for analyzers."
+ },
+ "CustomAnalyzer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.CustomAnalyzer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Analyzer"
+ }
+ ],
+ "properties": {
+ "tokenizer": {
+ "$ref": "#/definitions/TokenizerName",
+ "description": "The name of the tokenizer to use to divide continuous text into a sequence of tokens, such as breaking a sentence into words."
+ },
+ "tokenFilters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TokenFilterName",
+ "x-nullable": false
+ },
+ "description": "A list of token filters used to filter out or modify the tokens generated by a tokenizer. For example, you can specify a lowercase filter that converts all characters to lowercase. The filters are run in the order in which they are listed."
+ },
+ "charFilters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CharFilterName",
+ "x-nullable": false
+ },
+ "description": "A list of character filters used to prepare input text before it is processed by the tokenizer. For instance, they can replace certain characters or symbols. The filters are run in the order in which they are listed."
+ }
+ },
+ "required": [
+ "tokenizer"
+ ],
+ "description": "Allows you to take control over the process of converting text into indexable/searchable tokens. It's a user-defined configuration consisting of a single predefined tokenizer and one or more filters. The tokenizer is responsible for breaking text into tokens, and the filters for modifying tokens emitted by the tokenizer."
+ },
+ "PatternAnalyzer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.PatternAnalyzer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Analyzer"
+ }
+ ],
+ "properties": {
+ "lowercase": {
+ "x-ms-client-name": "LowerCaseTerms",
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether terms should be lower-cased. Default is true."
+ },
+ "pattern": {
+ "type": "string",
+ "default": "\\W+",
+ "description": "A regular expression pattern to match token separators. Default is an expression that matches one or more whitespace characters."
+ },
+ "flags": {
+ "$ref": "#/definitions/RegexFlags",
+ "description": "Regular expression flags."
+ },
+ "stopwords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of stopwords."
+ }
+ },
+ "description": "Flexibly separates text into terms via a regular expression pattern. This analyzer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/PatternAnalyzer.html"
+ }
+ },
+ "StandardAnalyzer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.StandardAnalyzer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Analyzer"
+ }
+ ],
+ "properties": {
+ "maxTokenLength": {
+ "type": "integer",
+ "format": "int32",
+ "default": 255,
+ "maximum": 300,
+ "description": "The maximum token length. Default is 255. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters."
+ },
+ "stopwords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of stopwords."
+ }
+ },
+ "description": "Standard Apache Lucene analyzer; Composed of the standard tokenizer, lowercase filter and stop filter.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/StandardAnalyzer.html"
+ }
+ },
+ "StopAnalyzer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.StopAnalyzer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Analyzer"
+ }
+ ],
+ "properties": {
+ "stopwords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of stopwords."
+ }
+ },
+ "description": "Divides text at non-letters; Applies the lowercase and stopword token filters. This analyzer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/StopAnalyzer.html"
+ }
+ },
+ "Tokenizer": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference"
+ },
+ "description": "The name of the tokenizer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters."
+ }
+ },
+ "required": [
+ "@odata.type",
+ "name"
+ ],
+ "description": "Abstract base class for tokenizers.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
+ }
+ },
+ "ClassicTokenizer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.ClassicTokenizer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "maxTokenLength": {
+ "type": "integer",
+ "format": "int32",
+ "default": 255,
+ "maximum": 300,
+ "description": "The maximum token length. Default is 255. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters."
+ }
+ },
+ "description": "Grammar-based tokenizer that is suitable for processing most European-language documents. This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/ClassicTokenizer.html"
+ }
+ },
+ "TokenCharacterKind": {
+ "type": "string",
+ "enum": [
+ "letter",
+ "digit",
+ "whitespace",
+ "punctuation",
+ "symbol"
+ ],
+ "x-ms-enum": {
+ "name": "TokenCharacterKind",
+ "modelAsString": false
+ },
+ "description": "Represents classes of characters on which a token filter can operate."
+ },
+ "EdgeNGramTokenizer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.EdgeNGramTokenizer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "minGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 1,
+ "maximum": 300,
+ "description": "The minimum n-gram length. Default is 1. Maximum is 300. Must be less than the value of maxGram."
+ },
+ "maxGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 2,
+ "maximum": 300,
+ "description": "The maximum n-gram length. Default is 2. Maximum is 300."
+ },
+ "tokenChars": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TokenCharacterKind",
+ "x-nullable": false
+ },
+ "description": "Character classes to keep in the tokens."
+ }
+ },
+ "description": "Tokenizes the input from an edge into n-grams of the given size(s). This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "https://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/EdgeNGramTokenizer.html"
+ }
+ },
+ "KeywordTokenizer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.KeywordTokenizer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "bufferSize": {
+ "type": "integer",
+ "format": "int32",
+ "default": 256,
+ "description": "The read buffer size in bytes. Default is 256."
+ }
+ },
+ "description": "Emits the entire input as a single token. This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/KeywordTokenizer.html"
+ },
+ "x-ms-external": true
+ },
+ "KeywordTokenizerV2": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.KeywordTokenizerV2",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "maxTokenLength": {
+ "type": "integer",
+ "format": "int32",
+ "default": 256,
+ "maximum": 300,
+ "description": "The maximum token length. Default is 256. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters."
+ }
+ },
+ "description": "Emits the entire input as a single token. This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/KeywordTokenizer.html"
+ }
+ },
+ "MicrosoftTokenizerLanguage": {
+ "type": "string",
+ "enum": [
+ "bangla",
+ "bulgarian",
+ "catalan",
+ "chineseSimplified",
+ "chineseTraditional",
+ "croatian",
+ "czech",
+ "danish",
+ "dutch",
+ "english",
+ "french",
+ "german",
+ "greek",
+ "gujarati",
+ "hindi",
+ "icelandic",
+ "indonesian",
+ "italian",
+ "japanese",
+ "kannada",
+ "korean",
+ "malay",
+ "malayalam",
+ "marathi",
+ "norwegianBokmaal",
+ "polish",
+ "portuguese",
+ "portugueseBrazilian",
+ "punjabi",
+ "romanian",
+ "russian",
+ "serbianCyrillic",
+ "serbianLatin",
+ "slovenian",
+ "spanish",
+ "swedish",
+ "tamil",
+ "telugu",
+ "thai",
+ "ukrainian",
+ "urdu",
+ "vietnamese"
+ ],
+ "x-ms-enum": {
+ "name": "MicrosoftTokenizerLanguage",
+ "modelAsString": false
+ },
+ "description": "Lists the languages supported by the Microsoft language tokenizer."
+ },
+ "MicrosoftLanguageTokenizer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.MicrosoftLanguageTokenizer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "maxTokenLength": {
+ "type": "integer",
+ "format": "int32",
+ "default": 255,
+ "maximum": 300,
+ "description": "The maximum token length. Tokens longer than the maximum length are split. Maximum token length that can be used is 300 characters. Tokens longer than 300 characters are first split into tokens of length 300 and then each of those tokens is split based on the max token length set. Default is 255."
+ },
+ "isSearchTokenizer": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating how the tokenizer is used. Set to true if used as the search tokenizer, set to false if used as the indexing tokenizer. Default is false."
+ },
+ "language": {
+ "$ref": "#/definitions/MicrosoftTokenizerLanguage",
+ "description": "The language to use. The default is English."
+ }
+ },
+ "description": "Divides text using language-specific rules."
+ },
+ "MicrosoftStemmingTokenizerLanguage": {
+ "type": "string",
+ "enum": [
+ "arabic",
+ "bangla",
+ "bulgarian",
+ "catalan",
+ "croatian",
+ "czech",
+ "danish",
+ "dutch",
+ "english",
+ "estonian",
+ "finnish",
+ "french",
+ "german",
+ "greek",
+ "gujarati",
+ "hebrew",
+ "hindi",
+ "hungarian",
+ "icelandic",
+ "indonesian",
+ "italian",
+ "kannada",
+ "latvian",
+ "lithuanian",
+ "malay",
+ "malayalam",
+ "marathi",
+ "norwegianBokmaal",
+ "polish",
+ "portuguese",
+ "portugueseBrazilian",
+ "punjabi",
+ "romanian",
+ "russian",
+ "serbianCyrillic",
+ "serbianLatin",
+ "slovak",
+ "slovenian",
+ "spanish",
+ "swedish",
+ "tamil",
+ "telugu",
+ "turkish",
+ "ukrainian",
+ "urdu"
+ ],
+ "x-ms-enum": {
+ "name": "MicrosoftStemmingTokenizerLanguage",
+ "modelAsString": false
+ },
+ "description": "Lists the languages supported by the Microsoft language stemming tokenizer."
+ },
+ "MicrosoftLanguageStemmingTokenizer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.MicrosoftLanguageStemmingTokenizer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "maxTokenLength": {
+ "type": "integer",
+ "format": "int32",
+ "default": 255,
+ "maximum": 300,
+ "description": "The maximum token length. Tokens longer than the maximum length are split. Maximum token length that can be used is 300 characters. Tokens longer than 300 characters are first split into tokens of length 300 and then each of those tokens is split based on the max token length set. Default is 255."
+ },
+ "isSearchTokenizer": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating how the tokenizer is used. Set to true if used as the search tokenizer, set to false if used as the indexing tokenizer. Default is false."
+ },
+ "language": {
+ "$ref": "#/definitions/MicrosoftStemmingTokenizerLanguage",
+ "description": "The language to use. The default is English."
+ }
+ },
+ "description": "Divides text using language-specific rules and reduces words to their base forms."
+ },
+ "NGramTokenizer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.NGramTokenizer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "minGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 1,
+ "maximum": 300,
+ "description": "The minimum n-gram length. Default is 1. Maximum is 300. Must be less than the value of maxGram."
+ },
+ "maxGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 2,
+ "maximum": 300,
+ "description": "The maximum n-gram length. Default is 2. Maximum is 300."
+ },
+ "tokenChars": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TokenCharacterKind",
+ "x-nullable": false
+ },
+ "description": "Character classes to keep in the tokens."
+ }
+ },
+ "description": "Tokenizes the input into n-grams of the given size(s). This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/NGramTokenizer.html"
+ }
+ },
+ "PathHierarchyTokenizer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.PathHierarchyTokenizer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "delimiter": {
+ "type": "string",
+ "format": "char",
+ "default": "/",
+ "description": "The delimiter character to use. Default is \"/\"."
+ },
+ "replacement": {
+ "type": "string",
+ "format": "char",
+ "default": "/",
+ "description": "A value that, if set, replaces the delimiter character. Default is \"/\"."
+ },
+ "bufferSize": {
+ "type": "integer",
+ "format": "int32",
+ "default": 1024,
+ "description": "The buffer size. Default is 1024."
+ },
+ "reverse": {
+ "x-ms-client-name": "ReverseTokenOrder",
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether to generate tokens in reverse order. Default is false."
+ },
+ "skip": {
+ "x-ms-client-name": "NumberOfTokensToSkip",
+ "type": "integer",
+ "format": "int32",
+ "default": 0,
+ "description": "The number of initial tokens to skip. Default is 0."
+ }
+ },
+ "description": "Tokenizer for path-like hierarchies. This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/path/PathHierarchyTokenizer.html"
+ },
+ "x-ms-external": true
+ },
+ "PathHierarchyTokenizerV2": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.PathHierarchyTokenizerV2",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "delimiter": {
+ "type": "string",
+ "format": "char",
+ "default": "/",
+ "description": "The delimiter character to use. Default is \"/\"."
+ },
+ "replacement": {
+ "type": "string",
+ "format": "char",
+ "default": "/",
+ "description": "A value that, if set, replaces the delimiter character. Default is \"/\"."
+ },
+ "maxTokenLength": {
+ "type": "integer",
+ "format": "int32",
+ "default": 300,
+ "maximum": 300,
+ "description": "The maximum token length. Default and maximum is 300."
+ },
+ "reverse": {
+ "x-ms-client-name": "ReverseTokenOrder",
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether to generate tokens in reverse order. Default is false."
+ },
+ "skip": {
+ "x-ms-client-name": "NumberOfTokensToSkip",
+ "type": "integer",
+ "format": "int32",
+ "default": 0,
+ "description": "The number of initial tokens to skip. Default is 0."
+ }
+ },
+ "description": "Tokenizer for path-like hierarchies. This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/path/PathHierarchyTokenizer.html"
+ }
+ },
+ "PatternTokenizer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.PatternTokenizer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "pattern": {
+ "type": "string",
+ "default": "\\W+",
+ "description": "A regular expression pattern to match token separators. Default is an expression that matches one or more whitespace characters."
+ },
+ "flags": {
+ "$ref": "#/definitions/RegexFlags",
+ "description": "Regular expression flags."
+ },
+ "group": {
+ "type": "integer",
+ "format": "int32",
+ "default": -1,
+ "description": "The zero-based ordinal of the matching group in the regular expression pattern to extract into tokens. Use -1 if you want to use the entire pattern to split the input into tokens, irrespective of matching groups. Default is -1."
+ }
+ },
+ "description": "Tokenizer that uses regex pattern matching to construct distinct tokens. This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/pattern/PatternTokenizer.html"
+ }
+ },
+ "StandardTokenizer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.StandardTokenizer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "maxTokenLength": {
+ "type": "integer",
+ "format": "int32",
+ "default": 255,
+ "description": "The maximum token length. Default is 255. Tokens longer than the maximum length are split."
+ }
+ },
+ "description": "Breaks text following the Unicode Text Segmentation rules. This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/StandardTokenizer.html"
+ },
+ "x-ms-external": true
+ },
+ "StandardTokenizerV2": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.StandardTokenizerV2",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "maxTokenLength": {
+ "type": "integer",
+ "format": "int32",
+ "default": 255,
+ "maximum": 300,
+ "description": "The maximum token length. Default is 255. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters."
+ }
+ },
+ "description": "Breaks text following the Unicode Text Segmentation rules. This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/StandardTokenizer.html"
+ }
+ },
+ "UaxUrlEmailTokenizer": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.UaxUrlEmailTokenizer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Tokenizer"
+ }
+ ],
+ "properties": {
+ "maxTokenLength": {
+ "type": "integer",
+ "format": "int32",
+ "default": 255,
+ "maximum": 300,
+ "description": "The maximum token length. Default is 255. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters."
+ }
+ },
+ "description": "Tokenizes urls and emails as one token. This tokenizer is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/UAX29URLEmailTokenizer.html"
+ }
+ },
+ "TokenFilter": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference"
+ },
+ "description": "The name of the token filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters."
+ }
+ },
+ "required": [
+ "@odata.type",
+ "name"
+ ],
+ "description": "Abstract base class for token filters.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
+ }
+ },
+ "AsciiFoldingTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.AsciiFoldingTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "preserveOriginal": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether the original token will be kept. Default is false."
+ }
+ },
+ "description": "Converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the \"Basic Latin\" Unicode block) into their ASCII equivalents, if such equivalents exist. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/ASCIIFoldingFilter.html"
+ }
+ },
+ "CjkBigramTokenFilterScripts": {
+ "type": "string",
+ "enum": [
+ "han",
+ "hiragana",
+ "katakana",
+ "hangul"
+ ],
+ "x-ms-enum": {
+ "name": "CjkBigramTokenFilterScripts",
+ "modelAsString": false
+ },
+ "description": "Scripts that can be ignored by CjkBigramTokenFilter."
+ },
+ "CjkBigramTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.CjkBigramTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "ignoreScripts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CjkBigramTokenFilterScripts",
+ "x-nullable": false
+ },
+ "description": "The scripts to ignore."
+ },
+ "outputUnigrams": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether to output both unigrams and bigrams (if true), or just bigrams (if false). Default is false."
+ }
+ },
+ "description": "Forms bigrams of CJK terms that are generated from StandardTokenizer. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/cjk/CJKBigramFilter.html"
+ }
+ },
+ "CommonGramTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.CommonGramTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "commonWords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The set of common words."
+ },
+ "ignoreCase": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether common words matching will be case insensitive. Default is false."
+ },
+ "queryMode": {
+ "x-ms-client-name": "UseQueryMode",
+ "type": "boolean",
+ "default": false,
+ "description": "A value that indicates whether the token filter is in query mode. When in query mode, the token filter generates bigrams and then removes common words and single terms followed by a common word. Default is false."
+ }
+ },
+ "required": [
+ "commonWords"
+ ],
+ "description": "Construct bigrams for frequently occurring terms while indexing. Single terms are still indexed too, with bigrams overlaid. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/commongrams/CommonGramsFilter.html"
+ }
+ },
+ "DictionaryDecompounderTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.DictionaryDecompounderTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "wordList": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of words to match against."
+ },
+ "minWordSize": {
+ "type": "integer",
+ "format": "int32",
+ "default": 5,
+ "maximum": 300,
+ "description": "The minimum word size. Only words longer than this get processed. Default is 5. Maximum is 300."
+ },
+ "minSubwordSize": {
+ "type": "integer",
+ "format": "int32",
+ "default": 2,
+ "maximum": 300,
+ "description": "The minimum subword size. Only subwords longer than this are outputted. Default is 2. Maximum is 300."
+ },
+ "maxSubwordSize": {
+ "type": "integer",
+ "format": "int32",
+ "default": 15,
+ "maximum": 300,
+ "description": "The maximum subword size. Only subwords shorter than this are outputted. Default is 15. Maximum is 300."
+ },
+ "onlyLongestMatch": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether to add only the longest matching subword to the output. Default is false."
+ }
+ },
+ "required": [
+ "wordList"
+ ],
+ "description": "Decomposes compound words found in many Germanic languages. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/compound/DictionaryCompoundWordTokenFilter.html"
+ }
+ },
+ "EdgeNGramTokenFilterSide": {
+ "type": "string",
+ "enum": [
+ "front",
+ "back"
+ ],
+ "x-ms-enum": {
+ "name": "EdgeNGramTokenFilterSide",
+ "modelAsString": false
+ },
+ "description": "Specifies which side of the input an n-gram should be generated from."
+ },
+ "EdgeNGramTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.EdgeNGramTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "minGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 1,
+ "description": "The minimum n-gram length. Default is 1. Must be less than the value of maxGram."
+ },
+ "maxGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 2,
+ "description": "The maximum n-gram length. Default is 2."
+ },
+ "side": {
+ "$ref": "#/definitions/EdgeNGramTokenFilterSide",
+ "default": "front",
+ "description": "Specifies which side of the input the n-gram should be generated from. Default is \"front\"."
+ }
+ },
+ "description": "Generates n-grams of the given size(s) starting from the front or the back of an input token. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/EdgeNGramTokenFilter.html"
+ },
+ "x-ms-external": true
+ },
+ "EdgeNGramTokenFilterV2": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.EdgeNGramTokenFilterV2",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "minGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 1,
+ "maximum": 300,
+ "description": "The minimum n-gram length. Default is 1. Maximum is 300. Must be less than the value of maxGram."
+ },
+ "maxGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 2,
+ "maximum": 300,
+ "description": "The maximum n-gram length. Default is 2. Maximum is 300."
+ },
+ "side": {
+ "$ref": "#/definitions/EdgeNGramTokenFilterSide",
+ "default": "front",
+ "description": "Specifies which side of the input the n-gram should be generated from. Default is \"front\"."
+ }
+ },
+ "description": "Generates n-grams of the given size(s) starting from the front or the back of an input token. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/EdgeNGramTokenFilter.html"
+ }
+ },
+ "ElisionTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.ElisionTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "articles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The set of articles to remove."
+ }
+ },
+ "description": "Removes elisions. For example, \"l'avion\" (the plane) will be converted to \"avion\" (plane). This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/util/ElisionFilter.html"
+ }
+ },
+ "KeepTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.KeepTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "keepWords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of words to keep."
+ },
+ "keepWordsCase": {
+ "x-ms-client-name": "LowerCaseKeepWords",
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether to lower case all words first. Default is false."
+ }
+ },
+ "required": [
+ "keepWords"
+ ],
+ "description": "A token filter that only keeps tokens with text contained in a specified list of words. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/KeepWordFilter.html"
+ }
+ },
+ "KeywordMarkerTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.KeywordMarkerTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "keywords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of words to mark as keywords."
+ },
+ "ignoreCase": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether to ignore case. If true, all words are converted to lower case first. Default is false."
+ }
+ },
+ "required": [
+ "keywords"
+ ],
+ "description": "Marks terms as keywords. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/KeywordMarkerFilter.html"
+ }
+ },
+ "LengthTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.LengthTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "min": {
+ "type": "integer",
+ "format": "int32",
+ "default": 0,
+ "maximum": 300,
+ "description": "The minimum length in characters. Default is 0. Maximum is 300. Must be less than the value of max."
+ },
+ "max": {
+ "type": "integer",
+ "format": "int32",
+ "default": 300,
+ "maximum": 300,
+ "description": "The maximum length in characters. Default and maximum is 300."
+ }
+ },
+ "description": "Removes words that are too long or too short. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/LengthFilter.html"
+ }
+ },
+ "LimitTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.LimitTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "maxTokenCount": {
+ "type": "integer",
+ "format": "int32",
+ "default": 1,
+ "description": "The maximum number of tokens to produce. Default is 1."
+ },
+ "consumeAllTokens": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether all tokens from the input must be consumed even if maxTokenCount is reached. Default is false."
+ }
+ },
+ "description": "Limits the number of tokens while indexing. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/LimitTokenCountFilter.html"
+ }
+ },
+ "NGramTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.NGramTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "minGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 1,
+ "description": "The minimum n-gram length. Default is 1. Must be less than the value of maxGram."
+ },
+ "maxGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 2,
+ "description": "The maximum n-gram length. Default is 2."
+ }
+ },
+ "description": "Generates n-grams of the given size(s). This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/NGramTokenFilter.html"
+ },
+ "x-ms-external": true
+ },
+ "NGramTokenFilterV2": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.NGramTokenFilterV2",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "minGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 1,
+ "maximum": 300,
+ "description": "The minimum n-gram length. Default is 1. Maximum is 300. Must be less than the value of maxGram."
+ },
+ "maxGram": {
+ "type": "integer",
+ "format": "int32",
+ "default": 2,
+ "maximum": 300,
+ "description": "The maximum n-gram length. Default is 2. Maximum is 300."
+ }
+ },
+ "description": "Generates n-grams of the given size(s). This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/NGramTokenFilter.html"
+ }
+ },
+ "PatternCaptureTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.PatternCaptureTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "patterns": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of patterns to match against each token."
+ },
+ "preserveOriginal": {
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether to return the original token even if one of the patterns matches. Default is true."
+ }
+ },
+ "required": [
+ "patterns"
+ ],
+ "description": "Uses Java regexes to emit multiple tokens - one for each capture group in one or more patterns. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/pattern/PatternCaptureGroupTokenFilter.html"
+ }
+ },
+ "PatternReplaceTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.PatternReplaceTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "pattern": {
+ "type": "string",
+ "description": "A regular expression pattern."
+ },
+ "replacement": {
+ "type": "string",
+ "description": "The replacement text."
+ }
+ },
+ "required": [
+ "pattern",
+ "replacement"
+ ],
+ "description": "A character filter that replaces characters in the input string. It uses a regular expression to identify character sequences to preserve and a replacement pattern to identify characters to replace. For example, given the input text \"aa bb aa bb\", pattern \"(aa)\\s+(bb)\", and replacement \"$1#$2\", the result would be \"aa#bb aa#bb\". This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/pattern/PatternReplaceFilter.html"
+ }
+ },
+ "PhoneticEncoder": {
+ "type": "string",
+ "enum": [
+ "metaphone",
+ "doubleMetaphone",
+ "soundex",
+ "refinedSoundex",
+ "caverphone1",
+ "caverphone2",
+ "cologne",
+ "nysiis",
+ "koelnerPhonetik",
+ "haasePhonetik",
+ "beiderMorse"
+ ],
+ "x-ms-enum": {
+ "name": "PhoneticEncoder",
+ "modelAsString": false
+ },
+ "description": "Identifies the type of phonetic encoder to use with a PhoneticTokenFilter."
+ },
+ "PhoneticTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.PhoneticTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "encoder": {
+ "$ref": "#/definitions/PhoneticEncoder",
+ "default": "metaphone",
+ "description": "The phonetic encoder to use. Default is \"metaphone\"."
+ },
+ "replace": {
+ "x-ms-client-name": "ReplaceOriginalTokens",
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether encoded tokens should replace original tokens. If false, encoded tokens are added as synonyms. Default is true."
+ }
+ },
+ "description": "Create tokens for phonetic matches. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "https://lucene.apache.org/core/4_10_3/analyzers-phonetic/org/apache/lucene/analysis/phonetic/package-tree.html"
+ }
+ },
+ "ShingleTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.ShingleTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "maxShingleSize": {
+ "type": "integer",
+ "format": "int32",
+ "default": 2,
+ "minimum": 2,
+ "description": "The maximum shingle size. Default and minimum value is 2."
+ },
+ "minShingleSize": {
+ "type": "integer",
+ "format": "int32",
+ "default": 2,
+ "minimum": 2,
+ "description": "The minimum shingle size. Default and minimum value is 2. Must be less than the value of maxShingleSize."
+ },
+ "outputUnigrams": {
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether the output stream will contain the input tokens (unigrams) as well as shingles. Default is true."
+ },
+ "outputUnigramsIfNoShingles": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether to output unigrams for those times when no shingles are available. This property takes precedence when outputUnigrams is set to false. Default is false."
+ },
+ "tokenSeparator": {
+ "type": "string",
+ "default": " ",
+ "description": "The string to use when joining adjacent tokens to form a shingle. Default is a single space (\" \")."
+ },
+ "filterToken": {
+ "type": "string",
+ "default": "_",
+ "description": "The string to insert for each position at which there is no token. Default is an underscore (\"_\")."
+ }
+ },
+ "description": "Creates combinations of tokens as a single token. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/shingle/ShingleFilter.html"
+ }
+ },
+ "SnowballTokenFilterLanguage": {
+ "type": "string",
+ "enum": [
+ "armenian",
+ "basque",
+ "catalan",
+ "danish",
+ "dutch",
+ "english",
+ "finnish",
+ "french",
+ "german",
+ "german2",
+ "hungarian",
+ "italian",
+ "kp",
+ "lovins",
+ "norwegian",
+ "porter",
+ "portuguese",
+ "romanian",
+ "russian",
+ "spanish",
+ "swedish",
+ "turkish"
+ ],
+ "x-ms-enum": {
+ "name": "SnowballTokenFilterLanguage",
+ "modelAsString": false
+ },
+ "description": "The language to use for a Snowball token filter."
+ },
+ "SnowballTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.SnowballTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "language": {
+ "$ref": "#/definitions/SnowballTokenFilterLanguage",
+ "description": "The language to use."
+ }
+ },
+ "required": [
+ "language"
+ ],
+ "description": "A filter that stems words using a Snowball-generated stemmer. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/snowball/SnowballFilter.html"
+ }
+ },
+ "StemmerTokenFilterLanguage": {
+ "type": "string",
+ "enum": [
+ "arabic",
+ "armenian",
+ "basque",
+ "brazilian",
+ "bulgarian",
+ "catalan",
+ "czech",
+ "danish",
+ "dutch",
+ "dutchKp",
+ "english",
+ "lightEnglish",
+ "minimalEnglish",
+ "possessiveEnglish",
+ "porter2",
+ "lovins",
+ "finnish",
+ "lightFinnish",
+ "french",
+ "lightFrench",
+ "minimalFrench",
+ "galician",
+ "minimalGalician",
+ "german",
+ "german2",
+ "lightGerman",
+ "minimalGerman",
+ "greek",
+ "hindi",
+ "hungarian",
+ "lightHungarian",
+ "indonesian",
+ "irish",
+ "italian",
+ "lightItalian",
+ "sorani",
+ "latvian",
+ "norwegian",
+ "lightNorwegian",
+ "minimalNorwegian",
+ "lightNynorsk",
+ "minimalNynorsk",
+ "portuguese",
+ "lightPortuguese",
+ "minimalPortuguese",
+ "portugueseRslp",
+ "romanian",
+ "russian",
+ "lightRussian",
+ "spanish",
+ "lightSpanish",
+ "swedish",
+ "lightSwedish",
+ "turkish"
+ ],
+ "x-ms-enum": {
+ "name": "StemmerTokenFilterLanguage",
+ "modelAsString": false
+ },
+ "description": "The language to use for a stemmer token filter."
+ },
+ "StemmerTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.StemmerTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "language": {
+ "$ref": "#/definitions/StemmerTokenFilterLanguage",
+ "description": "The language to use."
+ }
+ },
+ "required": [
+ "language"
+ ],
+ "description": "Language specific stemming filter. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search#TokenFilters"
+ }
+ },
+ "StemmerOverrideTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.StemmerOverrideTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "rules": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of stemming rules in the following format: \"word => stem\", for example: \"ran => run\"."
+ }
+ },
+ "required": [
+ "rules"
+ ],
+ "description": "Provides the ability to override other stemming filters with custom dictionary-based stemming. Any dictionary-stemmed terms will be marked as keywords so that they will not be stemmed with stemmers down the chain. Must be placed before any stemming filters. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/StemmerOverrideFilter.html"
+ }
+ },
+ "StopwordsList": {
+ "type": "string",
+ "enum": [
+ "arabic",
+ "armenian",
+ "basque",
+ "brazilian",
+ "bulgarian",
+ "catalan",
+ "czech",
+ "danish",
+ "dutch",
+ "english",
+ "finnish",
+ "french",
+ "galician",
+ "german",
+ "greek",
+ "hindi",
+ "hungarian",
+ "indonesian",
+ "irish",
+ "italian",
+ "latvian",
+ "norwegian",
+ "persian",
+ "portuguese",
+ "romanian",
+ "russian",
+ "sorani",
+ "spanish",
+ "swedish",
+ "thai",
+ "turkish"
+ ],
+ "x-ms-enum": {
+ "name": "StopwordsList",
+ "modelAsString": false
+ },
+ "description": "Identifies a predefined list of language-specific stopwords."
+ },
+ "StopwordsTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.StopwordsTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "stopwords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of stopwords. This property and the stopwords list property cannot both be set."
+ },
+ "stopwordsList": {
+ "$ref": "#/definitions/StopwordsList",
+ "default": "english",
+ "description": "A predefined list of stopwords to use. This property and the stopwords property cannot both be set. Default is English."
+ },
+ "ignoreCase": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether to ignore case. If true, all words are converted to lower case first. Default is false."
+ },
+ "removeTrailing": {
+ "x-ms-client-name": "RemoveTrailingStopWords",
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether to ignore the last search term if it's a stop word. Default is true."
+ }
+ },
+ "description": "Removes stop words from a token stream. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/StopFilter.html"
+ }
+ },
+ "SynonymTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.SynonymTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "synonyms": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of synonyms in following one of two formats: 1. incredible, unbelievable, fabulous => amazing - all terms on the left side of => symbol will be replaced with all terms on its right side; 2. incredible, unbelievable, fabulous, amazing - comma separated list of equivalent words. Set the expand option to change how this list is interpreted."
+ },
+ "ignoreCase": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether to case-fold input for matching. Default is false."
+ },
+ "expand": {
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether all words in the list of synonyms (if => notation is not used) will map to one another. If true, all words in the list of synonyms (if => notation is not used) will map to one another. The following list: incredible, unbelievable, fabulous, amazing is equivalent to: incredible, unbelievable, fabulous, amazing => incredible, unbelievable, fabulous, amazing. If false, the following list: incredible, unbelievable, fabulous, amazing will be equivalent to: incredible, unbelievable, fabulous, amazing => incredible. Default is true."
+ }
+ },
+ "required": [
+ "synonyms"
+ ],
+ "description": "Matches single or multi-word synonyms in a token stream. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/synonym/SynonymFilter.html"
+ }
+ },
+ "TruncateTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.TruncateTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "length": {
+ "type": "integer",
+ "format": "int32",
+ "default": 300,
+ "maximum": 300,
+ "description": "The length at which terms will be truncated. Default and maximum is 300."
+ }
+ },
+ "description": "Truncates the terms to a specific length. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/TruncateTokenFilter.html"
+ }
+ },
+ "UniqueTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.UniqueTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "onlyOnSamePosition": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether to remove duplicates only at the same position. Default is false."
+ }
+ },
+ "description": "Filters out tokens with same text as the previous token. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/RemoveDuplicatesTokenFilter.html"
+ }
+ },
+ "WordDelimiterTokenFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.WordDelimiterTokenFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TokenFilter"
+ }
+ ],
+ "properties": {
+ "generateWordParts": {
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether to generate part words. If set, causes parts of words to be generated; for example \"AzureSearch\" becomes \"Azure\" \"Search\". Default is true."
+ },
+ "generateNumberParts": {
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether to generate number subwords. Default is true."
+ },
+ "catenateWords": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether maximum runs of word parts will be catenated. For example, if this is set to true, \"Azure-Search\" becomes \"AzureSearch\". Default is false."
+ },
+ "catenateNumbers": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether maximum runs of number parts will be catenated. For example, if this is set to true, \"1-2\" becomes \"12\". Default is false."
+ },
+ "catenateAll": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether all subword parts will be catenated. For example, if this is set to true, \"Azure-Search-1\" becomes \"AzureSearch1\". Default is false."
+ },
+ "splitOnCaseChange": {
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether to split words on caseChange. For example, if this is set to true, \"AzureSearch\" becomes \"Azure\" \"Search\". Default is true."
+ },
+ "preserveOriginal": {
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether original words will be preserved and added to the subword list. Default is false."
+ },
+ "splitOnNumerics": {
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether to split on numbers. For example, if this is set to true, \"Azure1Search\" becomes \"Azure\" \"1\" \"Search\". Default is true."
+ },
+ "stemEnglishPossessive": {
+ "type": "boolean",
+ "default": true,
+ "description": "A value indicating whether to remove trailing \"'s\" for each subword. Default is true."
+ },
+ "protectedWords": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of tokens to protect from being delimited."
+ }
+ },
+ "description": "Splits words into subwords and performs optional transformations on subword groups. This token filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/WordDelimiterFilter.html"
+ }
+ },
+ "CharFilter": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference"
+ },
+ "description": "The name of the char filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters."
+ }
+ },
+ "required": [
+ "@odata.type",
+ "name"
+ ],
+ "description": "Abstract base class for character filters.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
+ }
+ },
+ "MappingCharFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.MappingCharFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CharFilter"
+ }
+ ],
+ "properties": {
+ "mappings": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of mappings of the following format: \"a=>b\" (all occurrences of the character \"a\" will be replaced with character \"b\")."
+ }
+ },
+ "required": [
+ "mappings"
+ ],
+ "description": "A character filter that applies mappings defined with the mappings option. Matching is greedy (longest pattern matching at a given point wins). Replacement is allowed to be the empty string. This character filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "https://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/charfilter/MappingCharFilter.html"
+ }
+ },
+ "PatternReplaceCharFilter": {
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.PatternReplaceCharFilter",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CharFilter"
+ }
+ ],
+ "properties": {
+ "pattern": {
+ "type": "string",
+ "description": "A regular expression pattern."
+ },
+ "replacement": {
+ "type": "string",
+ "description": "The replacement text."
+ }
+ },
+ "required": [
+ "pattern",
+ "replacement"
+ ],
+ "description": "A character filter that replaces characters in the input string. It uses a regular expression to identify character sequences to preserve and a replacement pattern to identify characters to replace. For example, given the input text \"aa bb aa bb\", pattern \"(aa)\\s+(bb)\", and replacement \"$1#$2\", the result would be \"aa#bb aa#bb\". This character filter is implemented using Apache Lucene.",
+ "externalDocs": {
+ "url": "https://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/pattern/PatternReplaceCharFilter.html"
+ }
+ },
+ "DataSourceCredentials": {
+ "properties": {
+ "connectionString": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Create-Data-Source"
+ },
+ "type": "string",
+ "description": "The connection string for the datasource."
+ }
+ },
+ "description": "Represents credentials that can be used to connect to a datasource."
+ },
+ "DataContainer": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the table or view (for Azure SQL data source) or collection (for DocumentDB data source) that will be indexed."
+ },
+ "query": {
+ "type": "string",
+ "description": "A query that is applied to this data container. The syntax and meaning of this parameter is datasource-specific. Not supported by Azure SQL datasources."
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "description": "Represents information about the entity (such as Azure SQL table or DocumentDb collection) that will be indexed."
+ },
+ "DataChangeDetectionPolicy": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "@odata.type"
+ ],
+ "description": "Abstract base class for data change detection policies."
+ },
+ "HighWaterMarkChangeDetectionPolicy": {
+ "description": "Defines a data change detection policy that captures changes based on the value of a high water mark column.",
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataChangeDetectionPolicy"
+ }
+ ],
+ "properties": {
+ "highWaterMarkColumnName": {
+ "type": "string",
+ "description": "The name of the high water mark column."
+ }
+ },
+ "required": [
+ "highWaterMarkColumnName"
+ ]
+ },
+ "SqlIntegratedChangeTrackingPolicy": {
+ "description": "Defines a data change detection policy that captures changes using the Integrated Change Tracking feature of Azure SQL Database.",
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.SqlIntegratedChangeTrackingPolicy",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataChangeDetectionPolicy"
+ }
+ ]
+ },
+ "DataDeletionDetectionPolicy": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "@odata.type"
+ ],
+ "description": "Abstract base class for data deletion detection policies."
+ },
+ "SoftDeleteColumnDeletionDetectionPolicy": {
+ "description": "Defines a data deletion detection policy that implements a soft-deletion strategy. It determines whether an item should be deleted based on the value of a designated 'soft delete' column.",
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataDeletionDetectionPolicy"
+ }
+ ],
+ "properties": {
+ "softDeleteColumnName": {
+ "type": "string",
+ "description": "The name of the column to use for soft-deletion detection."
+ },
+ "softDeleteMarkerValue": {
+ "type": "string",
+ "description": "The marker value that identifies an item as deleted."
+ }
+ }
+ },
+ "DataSourceType": {
+ "type": "string",
+ "enum": [
+ "azuresql",
+ "cosmosdb",
+ "azureblob",
+ "azuretable"
+ ],
+ "x-ms-enum": {
+ "name": "DataSourceType",
+ "modelAsString": false
+ },
+ "description": "Defines the type of a datasource."
+ },
+ "DataSource": {
+ "properties": {
+ "name": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Naming-rules"
+ },
+ "type": "string",
+ "description": "The name of the datasource."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the datasource."
+ },
+ "type": {
+ "$ref": "#/definitions/DataSourceType",
+ "description": "The type of the datasource."
+ },
+ "credentials": {
+ "$ref": "#/definitions/DataSourceCredentials",
+ "description": "Credentials for the datasource."
+ },
+ "container": {
+ "$ref": "#/definitions/DataContainer",
+ "description": "The data container for the datasource."
+ },
+ "dataChangeDetectionPolicy": {
+ "$ref": "#/definitions/DataChangeDetectionPolicy",
+ "description": "The data change detection policy for the datasource."
+ },
+ "dataDeletionDetectionPolicy": {
+ "$ref": "#/definitions/DataDeletionDetectionPolicy",
+ "description": "The data deletion detection policy for the datasource."
+ },
+ "@odata.etag": {
+ "x-ms-client-name": "ETag",
+ "type": "string",
+ "description": "The ETag of the DataSource."
+ }
+ },
+ "required": [
+ "name",
+ "type",
+ "credentials",
+ "container"
+ ],
+ "description": "Represents a datasource definition, which can be used to configure an indexer."
+ },
+ "DataSourceListResult": {
+ "properties": {
+ "value": {
+ "x-ms-client-name": "DataSources",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/DataSource"
+ },
+ "description": "The datasources in the Search service."
+ }
+ },
+ "description": "Response from a List Datasources request. If successful, it includes the full definitions of all datasources."
+ },
+ "IndexingSchedule": {
+ "properties": {
+ "interval": {
+ "type": "string",
+ "format": "duration",
+ "description": "The interval of time between indexer executions."
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The time when an indexer should start running."
+ }
+ },
+ "required": [
+ "interval"
+ ],
+ "description": "Represents a schedule for indexer execution."
+ },
+ "IndexingParameters": {
+ "properties": {
+ "batchSize": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of items that are read from the data source and indexed as a single batch in order to improve performance. The default depends on the data source type."
+ },
+ "maxFailedItems": {
+ "type": "integer",
+ "format": "int32",
+ "default": 0,
+ "description": "The maximum number of items that can fail indexing for indexer execution to still be considered successful. -1 means no limit. Default is 0."
+ },
+ "maxFailedItemsPerBatch": {
+ "type": "integer",
+ "format": "int32",
+ "default": 0,
+ "description": "The maximum number of items in a single batch that can fail indexing for the batch to still be considered successful. -1 means no limit. Default is 0."
+ },
+ "base64EncodeKeys": {
+ "type": "boolean",
+ "default": false,
+ "description": "Whether indexer will base64-encode all values that are inserted into key field of the target index. This is needed if keys can contain characters that are invalid in keys (such as dot '.'). Default is false."
+ },
+ "configuration": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ },
+ "description": "A dictionary of indexer-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type."
+ }
+ },
+ "description": "Represents parameters for indexer execution.",
+ "x-ms-external": true
+ },
+ "FieldMappingFunction": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the field mapping function."
+ },
+ "parameters": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ },
+ "description": "A dictionary of parameter name/value pairs to pass to the function. Each value must be of a primitive type."
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "description": "Represents a function that transforms a value from a data source before indexing.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/search-indexer-field-mappings"
+ }
+ },
+ "FieldMapping": {
+ "properties": {
+ "sourceFieldName": {
+ "type": "string",
+ "description": "The name of the field in the data source."
+ },
+ "targetFieldName": {
+ "type": "string",
+ "description": "The name of the target field in the index. Same as the source field name by default."
+ },
+ "mappingFunction": {
+ "$ref": "#/definitions/FieldMappingFunction",
+ "description": "A function to apply to each source field value before indexing."
+ }
+ },
+ "required": [
+ "sourceFieldName"
+ ],
+ "description": "Defines a mapping between a field in a data source and a target field in an index.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/search-indexer-field-mappings"
+ }
+ },
+ "Indexer": {
+ "properties": {
+ "name": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Naming-rules"
+ },
+ "type": "string",
+ "description": "The name of the indexer."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the indexer."
+ },
+ "dataSourceName": {
+ "type": "string",
+ "description": "The name of the datasource from which this indexer reads data."
+ },
+ "skillsetName": {
+ "type": "string",
+ "description": "The name of the skillset executing with this indexer."
+ },
+ "targetIndexName": {
+ "type": "string",
+ "description": "The name of the index to which this indexer writes data."
+ },
+ "schedule": {
+ "$ref": "#/definitions/IndexingSchedule",
+ "description": "The schedule for this indexer."
+ },
+ "parameters": {
+ "$ref": "#/definitions/IndexingParameters",
+ "description": "Parameters for indexer execution."
+ },
+ "fieldMappings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FieldMapping"
+ },
+ "description": "Defines mappings between fields in the data source and corresponding target fields in the index.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/search-indexer-field-mappings"
+ }
+ },
+ "outputFieldMappings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FieldMapping"
+ },
+ "description": "Output field mappings are applied after enrichment and immediately before indexing.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/search-indexer-field-mappings"
+ }
+ },
+ "disabled": {
+ "x-ms-client-name": "IsDisabled",
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating whether the indexer is disabled. Default is false."
+ },
+ "@odata.etag": {
+ "x-ms-client-name": "ETag",
+ "type": "string",
+ "description": "The ETag of the Indexer."
+ }
+ },
+ "required": [
+ "name",
+ "dataSourceName",
+ "targetIndexName"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Indexer-operations"
+ },
+ "description": "Represents an indexer."
+ },
+ "IndexerListResult": {
+ "properties": {
+ "value": {
+ "x-ms-client-name": "Indexers",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Indexer"
+ },
+ "description": "The indexers in the Search service."
+ }
+ },
+ "description": "Response from a List Indexers request. If successful, it includes the full definitions of all indexers."
+ },
+ "ItemError": {
+ "properties": {
+ "key": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The key of the item for which indexing failed."
+ },
+ "errorMessage": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The message describing the error that occurred while processing the item."
+ },
+ "statusCode": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": false,
+ "readOnly": true,
+ "description": "The status code indicating why the indexing operation failed. Possible values include: 400 for a malformed input document, 404 for document not found, 409 for a version conflict, 422 when the index is temporarily unavailable, or 503 for when the service is too busy."
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the source at which the error originated. For example, this could refer to a particular skill in the attached skillset. This may not be always available."
+ },
+ "details": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Additional, verbose details about the error to assist in debugging the indexer. This may not be always available."
+ },
+ "documentationLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A link to a troubleshooting guide for these classes of errors. This may not be always available."
+ }
+ },
+ "description": "Represents an item- or document-level indexing error."
+ },
+ "ItemWarning": {
+ "properties": {
+ "key": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The key of the item which generated a warning."
+ },
+ "message": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The message describing the warning that occurred while processing the item."
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the source at which the warning originated. For example, this could refer to a particular skill in the attached skillset. This may not be always available."
+ },
+ "details": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Additional, verbose details about the warning to assist in debugging the indexer. This may not be always available."
+ },
+ "documentationLink": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A link to a troubleshooting guide for these classes of warnings. This may not be always available."
+ }
+ },
+ "description": "Represents an item-level warning."
+ },
+ "IndexerExecutionResult": {
+ "properties": {
+ "status": {
+ "$ref": "#/definitions/IndexerExecutionStatus",
+ "readOnly": true,
+ "description": "The outcome of this indexer execution."
+ },
+ "errorMessage": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The error message indicating the top-level error, if any."
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The start time of this indexer execution."
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The end time of this indexer execution, if the execution has already completed."
+ },
+ "errors": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ItemError"
+ },
+ "description": "The item-level indexing errors."
+ },
+ "warnings": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ItemWarning"
+ },
+ "description": "The item-level indexing warnings."
+ },
+ "itemsProcessed": {
+ "x-ms-client-name": "ItemCount",
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": false,
+ "readOnly": true,
+ "description": "The number of items that were processed during this indexer execution. This includes both successfully processed items and items where indexing was attempted but failed."
+ },
+ "itemsFailed": {
+ "x-ms-client-name": "FailedItemCount",
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": false,
+ "readOnly": true,
+ "description": "The number of items that failed to be indexed during this indexer execution."
+ },
+ "initialTrackingState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Change tracking state with which an indexer execution started."
+ },
+ "finalTrackingState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Change tracking state with which an indexer execution finished."
+ }
+ },
+ "description": "Represents the result of an individual indexer execution."
+ },
+ "IndexerExecutionStatus": {
+ "type": "string",
+ "enum": [
+ "transientFailure",
+ "success",
+ "inProgress",
+ "reset"
+ ],
+ "x-ms-enum": {
+ "name": "IndexerExecutionStatus"
+ },
+ "x-nullable": false,
+ "description": "Represents the status of an individual indexer execution."
+ },
+ "IndexerExecutionInfo": {
+ "properties": {
+ "status": {
+ "$ref": "#/definitions/IndexerStatus",
+ "readOnly": true,
+ "description": "Overall indexer status."
+ },
+ "lastResult": {
+ "$ref": "#/definitions/IndexerExecutionResult",
+ "readOnly": true,
+ "description": "The result of the most recent or an in-progress indexer execution."
+ },
+ "executionHistory": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/IndexerExecutionResult"
+ },
+ "description": "History of the recent indexer executions, sorted in reverse chronological order."
+ },
+ "limits": {
+ "$ref": "#/definitions/IndexerLimits",
+ "readOnly": true,
+ "description": "The execution limits for the indexer."
+ }
+ },
+ "description": "Represents the current status and execution history of an indexer."
+ },
+ "IndexerStatus": {
+ "type": "string",
+ "enum": [
+ "unknown",
+ "error",
+ "running"
+ ],
+ "x-ms-enum": {
+ "name": "IndexerStatus"
+ },
+ "x-nullable": false,
+ "description": "Represents the overall indexer status."
+ },
+ "IndexerLimits": {
+ "properties": {
+ "maxRunTime": {
+ "type": "string",
+ "format": "duration",
+ "readOnly": true,
+ "description": "The maximum duration that the indexer is permitted to run for one execution."
+ },
+ "maxDocumentExtractionSize": {
+ "type": "number",
+ "format": "int64",
+ "readOnly": true,
+ "description": "The maximum size of a document, in bytes, which will be considered valid for indexing."
+ },
+ "maxDocumentContentCharactersToExtract": {
+ "type": "number",
+ "format": "int64",
+ "readOnly": true,
+ "description": "The maximum number of characters that will be extracted from a document picked up for indexing."
+ }
+ }
+ },
+ "Field": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the field, which must be unique within the fields collection of the index or parent field.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Naming-rules"
+ }
+ },
+ "type": {
+ "$ref": "#/definitions/DataType",
+ "description": "The data type of the field.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/supported-data-types"
+ }
+ },
+ "key": {
+ "type": "boolean",
+ "description": "A value indicating whether the field uniquely identifies documents in the index. Exactly one top-level field in each index must be chosen as the key field and it must be of type Edm.String. Key fields can be used to look up documents directly and update or delete specific documents. Default is false for simple fields and null for complex fields."
+ },
+ "retrievable": {
+ "type": "boolean",
+ "description": "A value indicating whether the field can be returned in a search result. You can disable this option if you want to use a field (for example, margin) as a filter, sorting, or scoring mechanism but do not want the field to be visible to the end user. This property must be true for key fields, and it must be null for complex fields. This property can be changed on existing fields. Enabling this property does not cause any increase in index storage requirements. Default is true for simple fields and null for complex fields."
+ },
+ "searchable": {
+ "type": "boolean",
+ "description": "A value indicating whether the field is full-text searchable. This means it will undergo analysis such as word-breaking during indexing. If you set a searchable field to a value like \"sunny day\", internally it will be split into the individual tokens \"sunny\" and \"day\". This enables full-text searches for these terms. Fields of type Edm.String or Collection(Edm.String) are searchable by default. This property must be false for simple fields of other non-string data types, and it must be null for complex fields. Note: searchable fields consume extra space in your index since Azure Cognitive Search will store an additional tokenized version of the field value for full-text searches. If you want to save space in your index and you don't need a field to be included in searches, set searchable to false."
+ },
+ "filterable": {
+ "type": "boolean",
+ "description": "A value indicating whether to enable the field to be referenced in $filter queries. filterable differs from searchable in how strings are handled. Fields of type Edm.String or Collection(Edm.String) that are filterable do not undergo word-breaking, so comparisons are for exact matches only. For example, if you set such a field f to \"sunny day\", $filter=f eq 'sunny' will find no matches, but $filter=f eq 'sunny day' will. This property must be null for complex fields. Default is true for simple fields and null for complex fields."
+ },
+ "sortable": {
+ "type": "boolean",
+ "description": "A value indicating whether to enable the field to be referenced in $orderby expressions. By default Azure Cognitive Search sorts results by score, but in many experiences users will want to sort by fields in the documents. A simple field can be sortable only if it is single-valued (it has a single value in the scope of the parent document). Simple collection fields cannot be sortable, since they are multi-valued. Simple sub-fields of complex collections are also multi-valued, and therefore cannot be sortable. This is true whether it's an immediate parent field, or an ancestor field, that's the complex collection. Complex fields cannot be sortable and the sortable property must be null for such fields. The default for sortable is true for single-valued simple fields, false for multi-valued simple fields, and null for complex fields."
+ },
+ "facetable": {
+ "type": "boolean",
+ "description": "A value indicating whether to enable the field to be referenced in facet queries. Typically used in a presentation of search results that includes hit count by category (for example, search for digital cameras and see hits by brand, by megapixels, by price, and so on). This property must be null for complex fields. Fields of type Edm.GeographyPoint or Collection(Edm.GeographyPoint) cannot be facetable. Default is true for all other simple fields."
+ },
+ "analyzer": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Language-support"
+ },
+ "$ref": "#/definitions/AnalyzerName",
+ "description": "The name of the language analyzer to use for the field. This option can be used only with searchable fields and it can't be set together with either searchAnalyzer or indexAnalyzer. Once the analyzer is chosen, it cannot be changed for the field. Must be null for complex fields."
+ },
+ "searchAnalyzer": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Language-support"
+ },
+ "$ref": "#/definitions/AnalyzerName",
+ "description": "The name of the analyzer used at search time for the field. This option can be used only with searchable fields. It must be set together with indexAnalyzer and it cannot be set together with the analyzer option. This analyzer can be updated on an existing field. Must be null for complex fields."
+ },
+ "indexAnalyzer": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Language-support"
+ },
+ "$ref": "#/definitions/AnalyzerName",
+ "description": "The name of the analyzer used at indexing time for the field. This option can be used only with searchable fields. It must be set together with searchAnalyzer and it cannot be set together with the analyzer option. Once the analyzer is chosen, it cannot be changed for the field. Must be null for complex fields."
+ },
+ "synonymMaps": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Synonym-Map-operations"
+ },
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of the names of synonym maps to associate with this field. This option can be used only with searchable fields. Currently only one synonym map per field is supported. Assigning a synonym map to a field ensures that query terms targeting that field are expanded at query-time using the rules in the synonym map. This attribute can be changed on existing fields. Must be null or an empty collection for complex fields."
+ },
+ "fields": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Field"
+ },
+ "description": "A list of sub-fields if this is a field of type Edm.ComplexType or Collection(Edm.ComplexType). Must be null or empty for simple fields."
+ }
+ },
+ "required": [
+ "name",
+ "type"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Create-Index"
+ },
+ "description": "Represents a field in an index definition, which describes the name, data type, and search behavior of a field."
+ },
+ "TextWeights": {
+ "properties": {
+ "weights": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "number",
+ "format": "double",
+ "x-nullable": false
+ },
+ "description": "The dictionary of per-field weights to boost document scoring. The keys are field names and the values are the weights for each field."
+ }
+ },
+ "required": [
+ "weights"
+ ],
+ "description": "Defines weights on index fields for which matches should boost scoring in search queries."
+ },
+ "ScoringFunction": {
+ "discriminator": "type",
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "fieldName": {
+ "type": "string",
+ "description": "The name of the field used as input to the scoring function."
+ },
+ "boost": {
+ "type": "number",
+ "format": "double",
+ "description": "A multiplier for the raw score. Must be a positive number not equal to 1.0."
+ },
+ "interpolation": {
+ "$ref": "#/definitions/ScoringFunctionInterpolation",
+ "description": "A value indicating how boosting will be interpolated across document scores; defaults to \"Linear\"."
+ }
+ },
+ "required": [
+ "type",
+ "fieldName",
+ "boost"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index"
+ },
+ "description": "Abstract base class for functions that can modify document scores during ranking."
+ },
+ "DistanceScoringFunction": {
+ "x-ms-discriminator-value": "distance",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ScoringFunction"
+ }
+ ],
+ "properties": {
+ "distance": {
+ "x-ms-client-name": "Parameters",
+ "$ref": "#/definitions/DistanceScoringParameters",
+ "description": "Parameter values for the distance scoring function."
+ }
+ },
+ "required": [
+ "distance"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index"
+ },
+ "description": "Defines a function that boosts scores based on distance from a geographic location."
+ },
+ "DistanceScoringParameters": {
+ "properties": {
+ "referencePointParameter": {
+ "type": "string",
+ "description": "The name of the parameter passed in search queries to specify the reference location."
+ },
+ "boostingDistance": {
+ "type": "number",
+ "format": "double",
+ "description": "The distance in kilometers from the reference location where the boosting range ends."
+ }
+ },
+ "required": [
+ "referencePointParameter",
+ "boostingDistance"
+ ],
+ "description": "Provides parameter values to a distance scoring function."
+ },
+ "FreshnessScoringFunction": {
+ "x-ms-discriminator-value": "freshness",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ScoringFunction"
+ }
+ ],
+ "properties": {
+ "freshness": {
+ "x-ms-client-name": "Parameters",
+ "$ref": "#/definitions/FreshnessScoringParameters",
+ "description": "Parameter values for the freshness scoring function."
+ }
+ },
+ "required": [
+ "freshness"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index"
+ },
+ "description": "Defines a function that boosts scores based on the value of a date-time field."
+ },
+ "FreshnessScoringParameters": {
+ "properties": {
+ "boostingDuration": {
+ "type": "string",
+ "format": "duration",
+ "description": "The expiration period after which boosting will stop for a particular document."
+ }
+ },
+ "required": [
+ "boostingDuration"
+ ],
+ "description": "Provides parameter values to a freshness scoring function."
+ },
+ "MagnitudeScoringFunction": {
+ "x-ms-discriminator-value": "magnitude",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ScoringFunction"
+ }
+ ],
+ "properties": {
+ "magnitude": {
+ "x-ms-client-name": "Parameters",
+ "$ref": "#/definitions/MagnitudeScoringParameters",
+ "description": "Parameter values for the magnitude scoring function."
+ }
+ },
+ "required": [
+ "magnitude"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index"
+ },
+ "description": "Defines a function that boosts scores based on the magnitude of a numeric field."
+ },
+ "MagnitudeScoringParameters": {
+ "properties": {
+ "boostingRangeStart": {
+ "type": "number",
+ "format": "double",
+ "description": "The field value at which boosting starts."
+ },
+ "boostingRangeEnd": {
+ "type": "number",
+ "format": "double",
+ "description": "The field value at which boosting ends."
+ },
+ "constantBoostBeyondRange": {
+ "x-ms-client-name": "ShouldBoostBeyondRangeByConstant",
+ "type": "boolean",
+ "description": "A value indicating whether to apply a constant boost for field values beyond the range end value; default is false."
+ }
+ },
+ "required": [
+ "boostingRangeStart",
+ "boostingRangeEnd"
+ ],
+ "description": "Provides parameter values to a magnitude scoring function."
+ },
+ "TagScoringFunction": {
+ "x-ms-discriminator-value": "tag",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ScoringFunction"
+ }
+ ],
+ "properties": {
+ "tag": {
+ "x-ms-client-name": "Parameters",
+ "$ref": "#/definitions/TagScoringParameters",
+ "description": "Parameter values for the tag scoring function."
+ }
+ },
+ "required": [
+ "tag"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index"
+ },
+ "description": "Defines a function that boosts scores of documents with string values matching a given list of tags."
+ },
+ "TagScoringParameters": {
+ "properties": {
+ "tagsParameter": {
+ "type": "string",
+ "description": "The name of the parameter passed in search queries to specify the list of tags to compare against the target field."
+ }
+ },
+ "required": [
+ "tagsParameter"
+ ],
+ "description": "Provides parameter values to a tag scoring function."
+ },
+ "ScoringFunctionInterpolation": {
+ "type": "string",
+ "enum": [
+ "linear",
+ "constant",
+ "quadratic",
+ "logarithmic"
+ ],
+ "x-ms-enum": {
+ "name": "ScoringFunctionInterpolation"
+ },
+ "description": "Defines the function used to interpolate score boosting across a range of documents."
+ },
+ "ScoringProfile": {
+ "properties": {
+ "name": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Naming-rules"
+ },
+ "type": "string",
+ "description": "The name of the scoring profile."
+ },
+ "text": {
+ "x-ms-client-name": "TextWeights",
+ "$ref": "#/definitions/TextWeights",
+ "description": "Parameters that boost scoring based on text matches in certain index fields."
+ },
+ "functions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ScoringFunction"
+ },
+ "description": "The collection of functions that influence the scoring of documents."
+ },
+ "functionAggregation": {
+ "$ref": "#/definitions/ScoringFunctionAggregation",
+ "description": "A value indicating how the results of individual scoring functions should be combined. Defaults to \"Sum\". Ignored if there are no scoring functions."
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index"
+ },
+ "description": "Defines parameters for a search index that influence scoring in search queries."
+ },
+ "ScoringFunctionAggregation": {
+ "type": "string",
+ "enum": [
+ "sum",
+ "average",
+ "minimum",
+ "maximum",
+ "firstMatching"
+ ],
+ "x-ms-enum": {
+ "name": "ScoringFunctionAggregation"
+ },
+ "description": "Defines the aggregation function used to combine the results of all the scoring functions in a scoring profile."
+ },
+ "CorsOptions": {
+ "properties": {
+ "allowedOrigins": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of origins from which JavaScript code will be granted access to your index. Can contain a list of hosts of the form {protocol}://{fully-qualified-domain-name}[:{port#}], or a single '*' to allow all origins (not recommended)."
+ },
+ "maxAgeInSeconds": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The duration for which browsers should cache CORS preflight responses. Defaults to 5 minutes."
+ }
+ },
+ "required": [
+ "allowedOrigins"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Create-Index"
+ },
+ "description": "Defines options to control Cross-Origin Resource Sharing (CORS) for an index."
+ },
+ "Suggester": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the suggester."
+ },
+ "searchMode": {
+ "type": "string",
+ "enum": [
+ "analyzingInfixMatching"
+ ],
+ "x-ms-enum": {
+ "name": "searchMode",
+ "modelAsString": false
+ },
+ "description": "A value indicating the capabilities of the suggester."
+ },
+ "sourceFields": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of field names to which the suggester applies. Each field must be searchable."
+ }
+ },
+ "required": [
+ "name",
+ "searchMode",
+ "sourceFields"
+ ],
+ "description": "Defines how the Suggest API should apply to a group of fields in the index."
+ },
+ "Index": {
+ "properties": {
+ "name": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Naming-rules"
+ },
+ "type": "string",
+ "description": "The name of the index."
+ },
+ "fields": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Field"
+ },
+ "description": "The fields of the index."
+ },
+ "scoringProfiles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ScoringProfile"
+ },
+ "description": "The scoring profiles for the index."
+ },
+ "defaultScoringProfile": {
+ "type": "string",
+ "description": "The name of the scoring profile to use if none is specified in the query. If this property is not set and no scoring profile is specified in the query, then default scoring (tf-idf) will be used."
+ },
+ "corsOptions": {
+ "$ref": "#/definitions/CorsOptions",
+ "description": "Options to control Cross-Origin Resource Sharing (CORS) for the index."
+ },
+ "suggesters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Suggester"
+ },
+ "description": "The suggesters for the index."
+ },
+ "analyzers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Analyzer"
+ },
+ "description": "The analyzers for the index.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
+ }
+ },
+ "tokenizers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Tokenizer"
+ },
+ "description": "The tokenizers for the index.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
+ }
+ },
+ "tokenFilters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TokenFilter"
+ },
+ "description": "The token filters for the index.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
+ }
+ },
+ "charFilters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CharFilter"
+ },
+ "description": "The character filters for the index.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search"
+ }
+ },
+ "encryptionKey": {
+ "$ref": "#/definitions/EncryptionKey",
+ "description": "A description of an encryption key that you create in Azure Key Vault. This key is used to provide an additional level of encryption-at-rest for your data when you want full assurance that no one, not even Microsoft, can decrypt your data in Azure Cognitive Search. Once you have encrypted your data, it will always remain encrypted. Azure Cognitive Search will ignore attempts to set this property to null. You can change this property as needed if you want to rotate your encryption key; Your data will be unaffected. Encryption with customer-managed keys is not available for free search services, and is only available for paid services created on or after January 1, 2019.",
+ "externalDocs": {
+ "url": "https://aka.ms/azure-search-encryption-with-cmk"
+ }
+ },
+ "@odata.etag": {
+ "x-ms-client-name": "ETag",
+ "type": "string",
+ "description": "The ETag of the index."
+ }
+ },
+ "required": [
+ "name",
+ "fields"
+ ],
+ "description": "Represents a search index definition, which describes the fields and search behavior of an index."
+ },
+ "IndexGetStatisticsResult": {
+ "properties": {
+ "documentCount": {
+ "type": "integer",
+ "format": "int64",
+ "x-nullable": false,
+ "readOnly": true,
+ "description": "The number of documents in the index."
+ },
+ "storageSize": {
+ "type": "integer",
+ "format": "int64",
+ "x-nullable": false,
+ "readOnly": true,
+ "description": "The amount of storage in bytes consumed by the index."
+ }
+ },
+ "description": "Statistics for a given index. Statistics are collected periodically and are not guaranteed to always be up-to-date."
+ },
+ "IndexListResult": {
+ "properties": {
+ "value": {
+ "x-ms-client-name": "Indexes",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Index"
+ },
+ "description": "The indexes in the Search service."
+ }
+ },
+ "description": "Response from a List Indexes request. If successful, it includes the full definitions of all indexes."
+ },
+ "Skillset": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the skillset."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the skillset."
+ },
+ "skills": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Skill"
+ },
+ "description": "A list of skills in the skillset."
+ },
+ "cognitiveServices": {
+ "$ref": "#/definitions/CognitiveServices",
+ "description": "Details about cognitive services to be used when running skills."
+ },
+ "@odata.etag": {
+ "x-ms-client-name": "ETag",
+ "type": "string",
+ "description": "The ETag of the skillset."
+ }
+ },
+ "required": [
+ "name",
+ "description",
+ "skills"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-tutorial-blob"
+ },
+ "description": "A list of skills."
+ },
+ "CognitiveServices": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "@odata.type"
+ ],
+ "description": "Abstract base class for describing any cognitive service resource attached to the skillset."
+ },
+ "DefaultCognitiveServices": {
+ "description": "An empty object that represents the default cognitive service resource for a skillset.",
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.DefaultCognitiveServices",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CognitiveServices"
+ }
+ ]
+ },
+ "CognitiveServicesByKey": {
+ "description": "A cognitive service resource provisioned with a key that is attached to a skillset.",
+ "x-ms-discriminator-value": "#Microsoft.Azure.Search.CognitiveServicesByKey",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CognitiveServices"
+ }
+ ],
+ "properties": {
+ "key": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "key"
+ ]
+ },
+ "Skill": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the skill which uniquely identifies it within the skillset. A skill with no name defined will be given a default name of its 1-based index in the skills array, prefixed with the character '#'."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the skill which describes the inputs, outputs, and usage of the skill."
+ },
+ "context": {
+ "type": "string",
+ "description": "Represents the level at which operations take place, such as the document root or document content (for example, /document or /document/content). The default is /document."
+ },
+ "inputs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InputFieldMappingEntry"
+ },
+ "description": "Inputs of the skills could be a column in the source data set, or the output of an upstream skill."
+ },
+ "outputs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OutputFieldMappingEntry"
+ },
+ "description": "The output of a skill is either a field in a search index, or a value that can be consumed as an input by another skill."
+ }
+ },
+ "required": [
+ "@odata.type",
+ "inputs",
+ "outputs"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-predefined-skills"
+ },
+ "description": "Abstract base class for skills."
+ },
+ "InputFieldMappingEntry": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the input."
+ },
+ "source": {
+ "type": "string",
+ "description": "The source of the input."
+ },
+ "sourceContext": {
+ "type": "string",
+ "description": "The source context used for selecting recursive inputs."
+ },
+ "inputs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InputFieldMappingEntry"
+ },
+ "description": "The recursive inputs used when creating a complex type."
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "description": "Input field mapping for a skill."
+ },
+ "OutputFieldMappingEntry": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the output defined by the skill."
+ },
+ "targetName": {
+ "type": "string",
+ "description": "The target name of the output. It is optional and default to name."
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/naming-rules"
+ },
+ "description": "Output field mapping for a skill."
+ },
+ "ConditionalSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Util.ConditionalSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-conditional"
+ },
+ "description": "A skill that enables scenarios that require a Boolean operation to determine the data to assign to an output."
+ },
+ "KeyPhraseExtractionSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "properties": {
+ "defaultLanguageCode": {
+ "$ref": "#/definitions/KeyPhraseExtractionSkillLanguage",
+ "description": "A value indicating which language code to use. Default is en."
+ },
+ "maxKeyPhraseCount": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": true,
+ "description": "A number indicating how many key phrases to return. If absent, all identified key phrases will be returned."
+ }
+ },
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-keyphrases"
+ },
+ "description": "A skill that uses text analytics for key phrase extraction."
+ },
+ "OcrSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Vision.OcrSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "properties": {
+ "textExtractionAlgorithm": {
+ "$ref": "#/definitions/TextExtractionAlgorithm",
+ "description": "A value indicating which algorithm to use for extracting text. Default is printed."
+ },
+ "defaultLanguageCode": {
+ "$ref": "#/definitions/OcrSkillLanguage",
+ "description": "A value indicating which language code to use. Default is en."
+ },
+ "detectOrientation": {
+ "x-ms-client-name": "ShouldDetectOrientation",
+ "type": "boolean",
+ "default": false,
+ "description": "A value indicating to turn orientation detection on or not. Default is false."
+ }
+ },
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-ocr"
+ },
+ "description": "A skill that extracts text from image files."
+ },
+ "ImageAnalysisSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Vision.ImageAnalysisSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "properties": {
+ "defaultLanguageCode": {
+ "$ref": "#/definitions/ImageAnalysisSkillLanguage",
+ "description": "A value indicating which language code to use. Default is en."
+ },
+ "visualFeatures": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VisualFeature",
+ "x-nullable": false
+ },
+ "description": "A list of visual features."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ImageDetail",
+ "x-nullable": false
+ },
+ "description": "A string indicating which domain-specific details to return."
+ }
+ },
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-image-analysis"
+ },
+ "description": "A skill that analyzes image files. It extracts a rich set of visual features based on the image content."
+ },
+ "LanguageDetectionSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Text.LanguageDetectionSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-language-detection"
+ },
+ "description": "A skill that detects the language of input text and reports a single language code for every document submitted on the request. The language code is paired with a score indicating the confidence of the analysis."
+ },
+ "ShaperSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Util.ShaperSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-shaper"
+ },
+ "description": "A skill for reshaping the outputs. It creates a complex type to support composite fields (also known as multipart fields)."
+ },
+ "MergeSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Text.MergeSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "properties": {
+ "insertPreTag": {
+ "type": "string",
+ "default": " ",
+ "description": "The tag indicates the start of the merged text. By default, the tag is an empty space."
+ },
+ "insertPostTag": {
+ "type": "string",
+ "default": " ",
+ "description": "The tag indicates the end of the merged text. By default, the tag is an empty space."
+ }
+ },
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-textmerger"
+ },
+ "description": "A skill for merging two or more strings into a single unified string, with an optional user-defined delimiter separating each component part."
+ },
+ "EntityRecognitionSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Text.EntityRecognitionSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "properties": {
+ "categories": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EntityCategory",
+ "x-nullable": false
+ },
+ "description": "A list of entity categories that should be extracted."
+ },
+ "defaultLanguageCode": {
+ "$ref": "#/definitions/EntityRecognitionSkillLanguage",
+ "description": "A value indicating which language code to use. Default is en."
+ },
+ "includeTypelessEntities": {
+ "type": "boolean",
+ "x-nullable": true,
+ "description": "Determines whether or not to include entities which are well known but don't conform to a pre-defined type. If this configuration is not set (default), set to null or set to false, entities which don't conform to one of the pre-defined types will not be surfaced."
+ },
+ "minimumPrecision": {
+ "type": "number",
+ "format": "double",
+ "x-nullable": true,
+ "description": "A value between 0 and 1 that be used to only include entities whose confidence score is greater than the value specified. If not set (default), or if explicitly set to null, all entities will be included."
+ }
+ },
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-entity-recognition"
+ },
+ "description": "Text analytics entity recognition."
+ },
+ "NamedEntityRecognitionSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Text.NamedEntityRecognitionSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "properties": {
+ "categories": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NamedEntityCategory",
+ "x-nullable": false
+ },
+ "description": "A list of named entity categories."
+ },
+ "defaultLanguageCode": {
+ "$ref": "#/definitions/NamedEntityRecognitionSkillLanguage",
+ "description": "A value indicating which language code to use. Default is en."
+ },
+ "minimumPrecision": {
+ "type": "number",
+ "format": "double",
+ "x-nullable": true,
+ "description": "A value between 0 and 1 to indicate the confidence of the results."
+ }
+ },
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-named-entity-recognition"
+ },
+ "description": "Text analytics named entity recognition. This skill is deprecated in favor of EntityRecognitionSkill.",
+ "x-ms-external": true
+ },
+ "SentimentSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Text.SentimentSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "properties": {
+ "defaultLanguageCode": {
+ "$ref": "#/definitions/SentimentSkillLanguage",
+ "description": "A value indicating which language code to use. Default is en."
+ }
+ },
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-sentiment"
+ },
+ "description": "Text analytics positive-negative sentiment analysis, scored as a floating point value in a range of zero to 1."
+ },
+ "SplitSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Text.SplitSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "properties": {
+ "defaultLanguageCode": {
+ "$ref": "#/definitions/SplitSkillLanguage",
+ "description": "A value indicating which language code to use. Default is en."
+ },
+ "textSplitMode": {
+ "$ref": "#/definitions/TextSplitMode",
+ "x-nullable": false,
+ "description": "A value indicating which split mode to perform."
+ },
+ "maximumPageLength": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": true,
+ "description": "The desired maximum page length. Default is 10000."
+ }
+ },
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-textsplit"
+ },
+ "description": "A skill to split a string into chunks of text."
+ },
+ "TextTranslationSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Text.TranslationSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "properties": {
+ "defaultToLanguageCode": {
+ "$ref": "#/definitions/TextTranslationSkillLanguage",
+ "description": "The language code to translate documents into for documents that don't specify the to language explicitly. "
+ },
+ "defaultFromLanguageCode": {
+ "$ref": "#/definitions/TextTranslationSkillLanguage",
+ "description": "The language code to translate documents from for documents that don't specify the from language explicitly."
+ },
+ "suggestedFrom": {
+ "$ref": "#/definitions/TextTranslationSkillLanguage",
+ "description": "The language code to translate documents from when neither the fromLanguageCode input nor the defaultFromLanguageCode parameter are provided, and the automatic language detection is unsuccessful. Default is en."
+ }
+ },
+ "required": [
+ "defaultToLanguageCode"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-skill-text-translation"
+ },
+ "description": "A skill to translate text from one language to another."
+ },
+ "WebApiSkill": {
+ "x-ms-discriminator-value": "#Microsoft.Skills.Custom.WebApiSkill",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Skill"
+ }
+ ],
+ "properties": {
+ "uri": {
+ "type": "string",
+ "description": "The url for the Web API."
+ },
+ "httpHeaders": {
+ "$ref": "#/definitions/WebApiHttpHeaders",
+ "description": "The headers required to make the http request."
+ },
+ "httpMethod": {
+ "type": "string",
+ "description": "The method for the http request."
+ },
+ "timeout": {
+ "type": "string",
+ "format": "duration",
+ "description": "The desired timeout for the request. Default is 30 seconds."
+ },
+ "batchSize": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": true,
+ "description": "The desired batch size which indicates number of documents."
+ },
+ "degreeOfParallelism": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": true,
+ "description": "If set, the number of parallel calls that can be made to the Web API."
+ }
+ },
+ "required": [
+ "uri"
+ ],
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/azure/search/cognitive-search-custom-skill-web-api"
+ },
+ "description": "A skill that can call a Web API endpoint, allowing you to extend a skillset by having it call your custom code."
+ },
+ "WebApiHttpHeaders": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "A dictionary of http request headers."
+ },
+ "SkillsetListResult": {
+ "properties": {
+ "value": {
+ "x-ms-client-name": "Skillsets",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Skillset"
+ },
+ "description": "The skillsets defined in the Search service."
+ }
+ },
+ "description": "Response from a list Skillset request. If successful, it includes the full definitions of all skillsets."
+ },
+ "TextExtractionAlgorithm": {
+ "type": "string",
+ "enum": [
+ "printed",
+ "handwritten"
+ ],
+ "x-ms-enum": {
+ "name": "TextExtractionAlgorithm",
+ "modelAsString": false
+ },
+ "description": "A value indicating which algorithm to use. Default is printed."
+ },
+ "TextSplitMode": {
+ "type": "string",
+ "enum": [
+ "pages",
+ "sentences"
+ ],
+ "x-ms-enum": {
+ "name": "TextSplitMode",
+ "modelAsString": false
+ },
+ "description": "A value indicating which split mode to perform."
+ },
+ "VisualFeature": {
+ "type": "string",
+ "enum": [
+ "categories",
+ "tags",
+ "description",
+ "faces",
+ "imageType",
+ "color"
+ ],
+ "x-ms-enum": {
+ "name": "VisualFeature",
+ "modelAsString": false
+ },
+ "description": "The strings indicating what visual feature types to return."
+ },
+ "ImageDetail": {
+ "type": "string",
+ "enum": [
+ "celebrities",
+ "landmarks"
+ ],
+ "x-ms-enum": {
+ "name": "ImageDetail",
+ "modelAsString": false
+ },
+ "description": "A string indicating which domain-specific details to return."
+ },
+ "EntityCategory": {
+ "type": "string",
+ "enum": [
+ "location",
+ "organization",
+ "person",
+ "quantity",
+ "datetime",
+ "url",
+ "email"
+ ],
+ "x-ms-enum": {
+ "name": "EntityCategory",
+ "modelAsString": false
+ },
+ "description": "A string indicating what entity categories to return."
+ },
+ "NamedEntityCategory": {
+ "type": "string",
+ "enum": [
+ "location",
+ "organization",
+ "person"
+ ],
+ "description": "A string indicating which named entity categories to return.",
+ "x-ms-external": true
+ },
+ "SentimentSkillLanguage": {
+ "type": "string",
+ "enum": [
+ "da",
+ "nl",
+ "en",
+ "fi",
+ "fr",
+ "de",
+ "el",
+ "it",
+ "no",
+ "pl",
+ "pt-PT",
+ "ru",
+ "es",
+ "sv",
+ "tr"
+ ],
+ "x-ms-enum": {
+ "name": "SentimentSkillLanguage",
+ "modelAsString": false
+ },
+ "description": "The language codes supported for input text by SentimentSkill."
+ },
+ "KeyPhraseExtractionSkillLanguage": {
+ "type": "string",
+ "enum": [
+ "da",
+ "nl",
+ "en",
+ "fi",
+ "fr",
+ "de",
+ "it",
+ "ja",
+ "ko",
+ "no",
+ "pl",
+ "pt-PT",
+ "pt-BR",
+ "ru",
+ "es",
+ "sv"
+ ],
+ "x-ms-enum": {
+ "name": "KeyPhraseExtractionSkillLanguage",
+ "modelAsString": false
+ },
+ "description": "The language codes supported for input text by KeyPhraseExtractionSkill."
+ },
+ "OcrSkillLanguage": {
+ "type": "string",
+ "enum": [
+ "zh-Hans",
+ "zh-Hant",
+ "cs",
+ "da",
+ "nl",
+ "en",
+ "fi",
+ "fr",
+ "de",
+ "el",
+ "hu",
+ "it",
+ "ja",
+ "ko",
+ "nb",
+ "pl",
+ "pt",
+ "ru",
+ "es",
+ "sv",
+ "tr",
+ "ar",
+ "ro",
+ "sr-Cyrl",
+ "sr-Latn",
+ "sk"
+ ],
+ "x-ms-enum": {
+ "name": "OcrSkillLanguage",
+ "modelAsString": false
+ },
+ "description": "The language codes supported for input by OcrSkill."
+ },
+ "SplitSkillLanguage": {
+ "type": "string",
+ "enum": [
+ "da",
+ "de",
+ "en",
+ "es",
+ "fi",
+ "fr",
+ "it",
+ "ko",
+ "pt"
+ ],
+ "x-ms-enum": {
+ "name": "SplitSkillLanguage",
+ "modelAsString": false
+ },
+ "description": "The language codes supported for input text by SplitSkill."
+ },
+ "EntityRecognitionSkillLanguage": {
+ "type": "string",
+ "enum": [
+ "de",
+ "en",
+ "es",
+ "fr",
+ "it"
+ ],
+ "x-ms-enum": {
+ "name": "EntityRecognitionSkillLanguage",
+ "modelAsString": false
+ },
+ "description": "The language codes supported for input text by EntityRecognitionSkill."
+ },
+ "NamedEntityRecognitionSkillLanguage": {
+ "type": "string",
+ "enum": [
+ "ar",
+ "cs",
+ "da",
+ "de",
+ "en",
+ "es",
+ "fi",
+ "fr",
+ "he",
+ "hu",
+ "it",
+ "ko",
+ "pt-br",
+ "pt"
+ ],
+ "x-ms-enum": {
+ "name": "NamedEntityRecognitionSkillLanguage",
+ "modelAsString": false
+ },
+ "description": "The language codes supported for input text by NamedEntityRecognitionSkill."
+ },
+ "TextTranslationSkillLanguage": {
+ "type": "string",
+ "enum": [
+ "af",
+ "ar",
+ "bn",
+ "bs",
+ "bg",
+ "yue",
+ "ca",
+ "zh-Hans",
+ "zh-Hant",
+ "hr",
+ "cs",
+ "da",
+ "nl",
+ "en",
+ "et",
+ "fj",
+ "fil",
+ "fi",
+ "fr",
+ "de",
+ "el",
+ "ht",
+ "he",
+ "hi",
+ "mww",
+ "hu",
+ "is",
+ "id",
+ "it",
+ "ja",
+ "sw",
+ "tlh",
+ "ko",
+ "lv",
+ "lt",
+ "mg",
+ "ms",
+ "mt",
+ "nb",
+ "fa",
+ "pl",
+ "pt",
+ "otq",
+ "ro",
+ "ru",
+ "sm",
+ "sr-Cyrl",
+ "sr-Latn",
+ "sk",
+ "sl",
+ "es",
+ "sv",
+ "ty",
+ "ta",
+ "te",
+ "th",
+ "to",
+ "tr",
+ "uk",
+ "ur",
+ "vi",
+ "cy",
+ "yua"
+ ],
+ "x-ms-enum": {
+ "name": "TextTranslationSkillLanguage",
+ "modelAsString": false
+ },
+ "description": "The language codes supported for input text by TextTranslationSkill."
+ },
+ "ImageAnalysisSkillLanguage": {
+ "type": "string",
+ "enum": [
+ "en",
+ "zh"
+ ],
+ "x-ms-enum": {
+ "name": "ImageAnalysisSkillLanguage",
+ "modelAsString": false
+ },
+ "description": "The language codes supported for input by ImageAnalysisSkill."
+ },
+ "SynonymMap": {
+ "properties": {
+ "name": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Naming-rules"
+ },
+ "type": "string",
+ "description": "The name of the synonym map."
+ },
+ "format": {
+ "type": "string",
+ "enum": [
+ "solr"
+ ],
+ "x-ms-enum": {
+ "name": "SynonymMapFormat",
+ "modelAsString": false
+ },
+ "description": "The format of the synonym map. Only the 'solr' format is currently supported."
+ },
+ "synonyms": {
+ "type": "string",
+ "description": "A series of synonym rules in the specified synonym map format. The rules must be separated by newlines.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Create-Synonym-Map#SynonymMapFormat"
+ }
+ },
+ "encryptionKey": {
+ "$ref": "#/definitions/EncryptionKey",
+ "description": "A description of an encryption key that you create in Azure Key Vault. This key is used to provide an additional level of encryption-at-rest for your data when you want full assurance that no one, not even Microsoft, can decrypt your data in Azure Cognitive Search. Once you have encrypted your data, it will always remain encrypted. Azure Cognitive Search will ignore attempts to set this property to null. You can change this property as needed if you want to rotate your encryption key; Your data will be unaffected. Encryption with customer-managed keys is not available for free search services, and is only available for paid services created on or after January 1, 2019.",
+ "externalDocs": {
+ "url": "https://aka.ms/azure-search-encryption-with-cmk"
+ }
+ },
+ "@odata.etag": {
+ "x-ms-client-name": "ETag",
+ "type": "string",
+ "description": "The ETag of the synonym map."
+ }
+ },
+ "required": [
+ "name",
+ "format",
+ "synonyms"
+ ],
+ "description": "Represents a synonym map definition."
+ },
+ "SynonymMapListResult": {
+ "properties": {
+ "value": {
+ "x-ms-client-name": "SynonymMaps",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/SynonymMap"
+ },
+ "description": "The synonym maps in the Search service."
+ }
+ },
+ "description": "Response from a List SynonymMaps request. If successful, it includes the full definitions of all synonym maps."
+ },
+ "EncryptionKey": {
+ "properties": {
+ "keyVaultKeyName": {
+ "type": "string",
+ "description": "The name of your Azure Key Vault key to be used to encrypt your data at rest."
+ },
+ "keyVaultKeyVersion": {
+ "type": "string",
+ "description": "The version of your Azure Key Vault key to be used to encrypt your data at rest."
+ },
+ "keyVaultUri": {
+ "type": "string",
+ "description": "The URI of your Azure Key Vault, also referred to as DNS name, that contains the key to be used to encrypt your data at rest. An example URI might be https://my-keyvault-name.vault.azure.net."
+ },
+ "accessCredentials": {
+ "$ref": "#/definitions/AzureActiveDirectoryApplicationCredentials",
+ "description": "Optional Azure Active Directory credentials used for accessing your Azure Key Vault. Not required if using managed identity instead.",
+ "externalDocs": {
+ "url": "https://aka.ms/azure-search-msi"
+ }
+ }
+ },
+ "required": [
+ "keyVaultKeyName",
+ "keyVaultKeyVersion",
+ "keyVaultUri"
+ ],
+ "description": "A customer-managed encryption key in Azure Key Vault. Keys that you create and manage can be used to encrypt or decrypt data-at-rest in Azure Cognitive Search, such as indexes and synonym maps."
+ },
+ "AzureActiveDirectoryApplicationCredentials": {
+ "properties": {
+ "applicationId": {
+ "type": "string",
+ "description": "An AAD Application ID that was granted the required access permissions to the Azure Key Vault that is to be used when encrypting your data at rest. The Application ID should not be confused with the Object ID for your AAD Application."
+ },
+ "applicationSecret": {
+ "type": "string",
+ "description": "The authentication key of the specified AAD application."
+ }
+ },
+ "required": [
+ "applicationId"
+ ],
+ "description": "Credentials of a registered application created for your search service, used for authenticated access to the encryption keys stored in Azure Key Vault."
+ },
+ "ServiceStatistics": {
+ "properties": {
+ "counters": {
+ "$ref": "#/definitions/ServiceCounters",
+ "description": "Service level resource counters."
+ },
+ "limits": {
+ "$ref": "#/definitions/ServiceLimits",
+ "description": "Service level general limits."
+ }
+ },
+ "description": "Response from a get service statistics request. If successful, it includes service level counters and limits."
+ },
+ "ServiceCounters": {
+ "properties": {
+ "documentCount": {
+ "x-ms-client-name": "documentCounter",
+ "$ref": "#/definitions/ResourceCounter",
+ "description": "Total number of documents across all indexes in the service."
+ },
+ "indexesCount": {
+ "x-ms-client-name": "indexCounter",
+ "$ref": "#/definitions/ResourceCounter",
+ "description": "Total number of indexes."
+ },
+ "indexersCount": {
+ "x-ms-client-name": "indexerCounter",
+ "$ref": "#/definitions/ResourceCounter",
+ "description": "Total number of indexers."
+ },
+ "dataSourcesCount": {
+ "x-ms-client-name": "dataSourceCounter",
+ "$ref": "#/definitions/ResourceCounter",
+ "description": "Total number of data sources."
+ },
+ "storageSize": {
+ "x-ms-client-name": "storageSizeCounter",
+ "$ref": "#/definitions/ResourceCounter",
+ "description": "Total size of used storage in bytes."
+ },
+ "synonymMaps": {
+ "x-ms-client-name": "synonymMapCounter",
+ "$ref": "#/definitions/ResourceCounter",
+ "description": "Total number of synonym maps."
+ }
+ },
+ "description": "Represents service-level resource counters and quotas."
+ },
+ "ServiceLimits": {
+ "properties": {
+ "maxFieldsPerIndex": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": true,
+ "description": "The maximum allowed fields per index."
+ },
+ "maxFieldNestingDepthPerIndex": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": true,
+ "description": "The maximum depth which you can nest sub-fields in an index, including the top-level complex field. For example, a/b/c has a nesting depth of 3."
+ },
+ "maxComplexCollectionFieldsPerIndex": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": true,
+ "description": "The maximum number of fields of type Collection(Edm.ComplexType) allowed in an index."
+ },
+ "maxComplexObjectsInCollectionsPerDocument": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": true,
+ "description": "The maximum number of objects in complex collections allowed per document."
+ }
+ },
+ "description": "Represents various service level limits."
+ },
+ "ResourceCounter": {
+ "properties": {
+ "usage": {
+ "type": "integer",
+ "format": "int64",
+ "x-nullable": false,
+ "description": "The resource usage amount."
+ },
+ "quota": {
+ "type": "integer",
+ "format": "int64",
+ "x-nullable": true,
+ "description": "The resource amount quota."
+ }
+ },
+ "description": "Represents a resource's usage and quota."
+ }
+ },
+ "parameters": {
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
+ },
+ "ClientRequestIdParameter": {
+ "name": "client-request-id",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "format": "uuid",
+ "description": "The tracking ID sent with the request to help with debugging.",
+ "x-ms-client-request-id": true,
+ "x-ms-parameter-grouping": {
+ "name": "search-request-options"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "IfMatchParameter": {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value.",
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "IfNoneMatchParameter": {
+ "name": "If-None-Match",
+ "in": "header",
+ "required": false,
+ "type": "string",
+ "description": "Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value.",
+ "x-ms-parameter-grouping": {
+ "name": "access-condition"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "PreferHeaderParameter": {
+ "name": "Prefer",
+ "in": "header",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "return=representation"
+ ],
+ "description": "For HTTP PUT requests, instructs the service to return the created/updated resource on success.",
+ "x-ms-parameter-location": "method"
+ },
+ "SearchServiceNameParameter": {
+ "name": "searchServiceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-skip-url-encoding": true,
+ "description": "The name of the search service.",
+ "x-ms-parameter-location": "client"
+ },
+ "SearchDnsSuffixParameter": {
+ "name": "searchDnsSuffix",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "default": "search.windows.net",
+ "x-ms-skip-url-encoding": true,
+ "description": "The DNS suffix of the search service. The default is search.windows.net.",
+ "x-ms-parameter-location": "client"
+ }
+ }
+}
From 864e09fad28d69f624950e2b9d0c9f8fa7fb5ec8 Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Fri, 25 Oct 2019 17:23:18 +0000
Subject: [PATCH 073/189] regenerated all-api-versions
---
.../search/data-plane/Microsoft.Azure.Search.Data/readme.md | 2 ++
.../search/data-plane/Microsoft.Azure.Search.Service/readme.md | 2 ++
2 files changed, 4 insertions(+)
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/readme.md b/specification/search/data-plane/Microsoft.Azure.Search.Data/readme.md
index 72ec8d2b1f6a..94d68ab6fe7d 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/readme.md
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/readme.md
@@ -325,6 +325,7 @@ require: $(this-folder)/../../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/preview/2019-05-06-preview/searchindex.json
- $(this-folder)/stable/2019-05-06/searchindex.json
- $(this-folder)/preview/2017-11-11-preview/searchindex.json
- $(this-folder)/preview/2017-11-11/searchindex.json
@@ -333,6 +334,7 @@ input-file:
- $(this-folder)/preview/2015-02-28-preview/searchindex.json
- $(this-folder)/preview/2015-02-28/searchindex.json
- $(this-folder)/track1/stable/2019-05-06/searchindex.json
+ - $(this-folder)/track1/preview/2019-05-06-preview/searchindex.json
```
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md b/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md
index ed8ca3c096a3..bf94e04cce47 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/readme.md
@@ -187,6 +187,7 @@ require: $(this-folder)/../../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/preview/2019-05-06-preview/searchservice.json
- $(this-folder)/stable/2019-05-06/searchservice.json
- $(this-folder)/preview/2017-11-11-preview/searchservice.json
- $(this-folder)/preview/2017-11-11/searchservice.json
@@ -194,6 +195,7 @@ input-file:
- $(this-folder)/preview/2016-09-01/searchservice.json
- $(this-folder)/preview/2015-02-28-preview/searchservice.json
- $(this-folder)/preview/2015-02-28/searchservice.json
+ - $(this-folder)/track1/preview/2019-05-06-preview/searchservice.json
- $(this-folder)/track1/stable/2019-05-06/searchservice.json
```
From ef6a3f335eba86b21863693de292e3e36c20c683 Mon Sep 17 00:00:00 2001
From: mozehgir <32183061+mozehgir@users.noreply.github.com>
Date: Fri, 25 Oct 2019 15:52:03 -0700
Subject: [PATCH 074/189] Create Breaking changes guidelines.md
---
documentation/Breaking changes guidelines.md | 56 ++++++++++++++++++++
1 file changed, 56 insertions(+)
create mode 100644 documentation/Breaking changes guidelines.md
diff --git a/documentation/Breaking changes guidelines.md b/documentation/Breaking changes guidelines.md
new file mode 100644
index 000000000000..fb5369c8b7d0
--- /dev/null
+++ b/documentation/Breaking changes guidelines.md
@@ -0,0 +1,56 @@
+# Azure REST API version change guide
+
+## Overview
+This specification is aimed at providing guidance to Azure Service teams when making changes to the REST APIs. It is aimed at helping teams understand what kind changes to API requires updating the API version. The official Microsoft REST API guidelines can be found [here](https://github.com/Microsoft/api-guidelines). This document is meant to supplement the official guidance.
+It will be also used as a reference by SDK teams and API reviewers when reviewing APIs
+
+## Breaking Changes
+At a high level, changes to the contract of an API constitute a breaking change. Changes that impact backwards compatibility of an API is also considered a breaking change. Teams MAY define backwards compatibility as their business needs require. For example, Azure defines the addition of a new JSON field in a response to be not backwards compatible. Anything that would violate the _**Principle of Least Astonishment**_ is considered a breaking change in Azure. Below are some concrete examples of what constitutes a breaking change. In the below breaking change scenarios, the API version **must** be changed.
+
+### Existing property is removed
+If a property called "foo" was present in v1 of the API need to be removed, it should be done in a newer api-version
+Property name has changed
+
+### Property name has changed
+If a property was called “foo” in v1 of API and the name will be changed to “bar”, this requires an API-version change since this will result in a breaking change for the client.
+
+### Property type has changed
+Property “foo” was a “boolean” in v1 but is changed to a string. A client using the existing api-version tries to set it as a bool, but the service will fail since its now expecting a string. So, the api-version must be updated.
+
+### Allowed values for an enum have changed
+Enum “foo” had allowed values as “val1” and “val2” in v1 of API. If now, the values allowed/accepted by the service are “val1”, “val2” and “val3”, client will fail to de-serialize if “val3” comes back in the response.
+
+### API has been removed or renamed
+V1 of API contract supported PUT /resourceType1/{resourceType1_name} but the service no longer supports this method. This scenario should follow the proper Azure API deprecation policy and must be done in an updated api-version.
+
+### Behavior of existing API has changed
+There is a functional change in what the API was doing. This will need to be determined on a case by case basis.
+
+### Error contracts have changed
+
+### Property is made required (from optional)
+If property “foo” was optional in the request body of v1 and now it is required, this should result in an api-version change. If not changed, clients relying on older api-version will fail if this property is not passed.
+
+### URL format has changed
+Resource parameter names change from /resourceType1/{resourceType1_name} to /resourceType1/{resourceType1_id}. This will impact code generation.
+
+### New property added to response
+If a new property/field is added to the response an API, the GET-PUT pipeline will be broken. Consider the case where from portal a customer updates the value of a new property "A". Another customer does a GET of this resource using the SDK. The SDK will ignore the property since it does not understand it. From the SDK, the customer does a PUT using the model that was returned from the GET. This will overwrite the change made by the first customer from the portal.
+
+### New required property added to request
+If a new property is made required in the request body, clients will have no way to set this and the request will fail.
+
+### Resource naming rules should not change
+This could result in failures which would have earlier succeeded. Even if the rules become less strict, clients relying on earlier name constraints to perform local validation will fail.
+
+## Non-Breaking Changes
+The following changes are considered backwards compatible and hence non-breaking.
+
+### Adding new APIs to an existing service
+When a new resource types is added, it does not require API version to be updated for existing types.
+
+### Adding read-only field to response
+New property which can only be set by the server can be added to the response.
+
+### Bug fixes to existing API
+Bug fixes to existing API which don’t fall into one of the above categories of breaking changes as described above are fine
From 1258da3aeecb0f99b798f4e12a2e633c864f71ae Mon Sep 17 00:00:00 2001
From: mozehgir <32183061+mozehgir@users.noreply.github.com>
Date: Fri, 25 Oct 2019 15:52:25 -0700
Subject: [PATCH 075/189] Update Getting started with OpenAPI specifications.md
---
documentation/Getting started with OpenAPI specifications.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/documentation/Getting started with OpenAPI specifications.md b/documentation/Getting started with OpenAPI specifications.md
index e04f54f96b5c..d7e8f7449dab 100644
--- a/documentation/Getting started with OpenAPI specifications.md
+++ b/documentation/Getting started with OpenAPI specifications.md
@@ -19,5 +19,5 @@ Currently, we only support `OpenAPI Specification 2.0` or `Swagger V2.0`.
* [`Validation checks through automated tools`](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/openapi-authoring-automated-guidelines.md)
* [`Validation checks done manually`](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/openapi-authoring-manual-guidelines.md)
* [`OAV Validation checks`](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/Semantic-and-Model-Violations-Reference.md)
-* **[`Breaking Changes guidelines`](https://github.com/Azure/adx-documentation-pr/wiki/Breaking-changes-guidelines)**
+* **[`Breaking Changes guidelines`](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/Breaking%20changes%20guidelines.md)**
* **[`x-ms-examples`](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/x-ms-examples.md)**
From 68f5da55ba23770f8d7b698b1dea29934583b6cb Mon Sep 17 00:00:00 2001
From: mozehgir <32183061+mozehgir@users.noreply.github.com>
Date: Fri, 25 Oct 2019 16:03:42 -0700
Subject: [PATCH 076/189] Update README.md
---
README.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 9a164ec81fe5..b7eca6bedcdc 100644
--- a/README.md
+++ b/README.md
@@ -5,10 +5,12 @@
This repository is the canonical source for REST API specifications for Microsoft Azure.
## Getting started
-If you're a spec author looking for information about all of the repositories and steps in the pipeline, go to our [documentation](https://github.com/Azure/adx-documentation-pr/wiki) repository. Make sure to [join the Github Azure organization](http://aka.ms/azuregithub) to get access to that repo.
+If you're a Microsoft employee looking for information about all of the repositories and steps in the pipeline, go to our [documentation](https://github.com/Azure/adx-documentation-pr/wiki) repository. Make sure to [join the Github Azure organization](http://aka.ms/azuregithub) to get access to that repo.
Latest improvement: Microsoft employees can try out our new experience at [OpenAPI Hub](https://aka.ms/openapihub) - online experience for using our validation tools and finding your workflow.
+External Contributors can get started [here](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/Getting%20started%20with%20OpenAPI%20specifications.md)
+
Please check the [announcements page](https://github.com/Azure/azure-rest-api-specs/wiki/Announcements) for any new updates since your last visit.
## Directory Structure
From 9aaa9fad39dcfc40b214a07b5f51b4da4e5709a9 Mon Sep 17 00:00:00 2001
From: Vivian Liu
Date: Fri, 25 Oct 2019 16:56:40 -0700
Subject: [PATCH 077/189] Viviali iotcentral new API onboarding (#7570)
* Adding new API surface
* With examples
* addressing validation errors1
* Updated examples
* Fixes to IoTCentral Swagger and Examples - Example Validation Passing
* added cde changes
* Adding readme.md autorest section and continuos data export
* adding iotcentral customwords
* iotcentral custom words
* Add Data Planse Parent Folder Structure
* Fix readme.md input files pathing
* Updating API token create
* update readme for avocado
* readme.md remove unused example files
* remove uncessary files
* Changed instance to component
* updated swagger
* Fixed swagger
* Adding getapplication/listpplication calls
* remove conflicting host
* Testout parameter Change
* inline common parameters to methods to pass pipeline tooling swagger parsing bug
---
custom-words.txt | 7 +
.../examples/apitoken_create.json | 26 +
.../examples/apitoken_delete.json | 12 +
.../examples/apitoken_get.json | 20 +
.../examples/apitoken_list.json | 23 +
.../examples/application_get.json | 21 +
.../examples/application_list.json | 28 +
.../continuousdataexports_delete.json | 12 +
.../examples/continuousdataexports_get.json | 30 +
.../examples/continuousdataexports_list.json | 50 +
.../examples/continuousdataexports_set.json | 44 +
.../examples/devicecredentials_get.json | 20 +
.../examples/devices_cloudproperties_get.json | 16 +
.../devices_cloudproperties_update.json | 19 +
.../examples/devices_commands_send.json | 15 +
.../examples/devices_commandshistory_get.json | 25 +
.../examples/devices_create.json | 28 +
.../examples/devices_delete.json | 12 +
.../examples/devices_get.json | 22 +
.../examples/devices_list.json | 52 +
.../examples/devices_list_by_template.json | 44 +
.../devices_properties_components_get.json | 54 +
.../devices_properties_components_set.json | 36 +
.../examples/devices_properties_get.json | 25 +
.../examples/devices_properties_update.json | 36 +
.../examples/devices_telemetry_get.json | 18 +
.../examples/devicetemplates_create.json | 250 +++
.../examples/devicetemplates_delete.json | 12 +
.../examples/devicetemplates_get.json | 177 ++
.../examples/devicetemplates_get_merged.json | 171 ++
.../examples/devicetemplates_list.json | 180 ++
.../examples/roles_get.json | 17 +
.../examples/roles_list.json | 28 +
.../2019-10-28-preview/iotcentral.json | 1545 +++++++++++++++++
.../2019-10-28-preview/iotcentralapps.json | 137 ++
specification/iotcentral/data-plane/readme.md | 58 +
36 files changed, 3270 insertions(+)
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_create.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_delete.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_get.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_list.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/application_get.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/application_list.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_delete.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_get.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_list.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_set.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicecredentials_get.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_cloudproperties_get.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_cloudproperties_update.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_commands_send.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_commandshistory_get.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_create.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_delete.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_get.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_list.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_list_by_template.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_components_get.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_components_set.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_get.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_update.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_telemetry_get.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_create.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_delete.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_get.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_get_merged.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_list.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/roles_get.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/roles_list.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/iotcentral.json
create mode 100644 specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/iotcentralapps.json
create mode 100644 specification/iotcentral/data-plane/readme.md
diff --git a/custom-words.txt b/custom-words.txt
index d08cc9670127..0780db99c807 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -86,6 +86,7 @@ apimtags
apimtenant
apimusers
apimversionsets
+apitoken
APNS
appinsights
applynetworkconfigurationupdates
@@ -145,6 +146,7 @@ azuredatalakestore
azuredeploy
azureedge
azurefiles
+azureiotcentral
azuremigrate
azureml
azuresql
@@ -260,6 +262,7 @@ closedlist
closedlists
Cloudamize
cloudapp
+cloudproperties
cloudsimple
clustermonitoring
Cmdkey
@@ -272,6 +275,7 @@ codegeneration
cognitiveservices
colls
COLUMNSTORE
+commandshistory
commitmentplans
Compat
compilationjobs
@@ -291,6 +295,7 @@ containersas
containerservice
contentmoderator
continuationtoken
+continuousdataexports
continuouswebjobs
contoso
contosodataset
@@ -403,7 +408,9 @@ deserializer
deserializing
destinationshares
deterministically
+devicecredentials
deviceprovisioningservices
+devicetemplates
devspaces
devtestlab
devtestlabs
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_create.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_create.json
new file mode 100644
index 000000000000..cdf8169186f8
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_create.json
@@ -0,0 +1,26 @@
+{
+ "title": "Get API tokens in your application",
+ "description": "Get a list of API tokens in your application.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "token_id": "testtoken",
+ "body": {
+ "roles": [
+ "c7be2c6b-797e-4551-bb24-33709f6b2e20"
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "testtoken",
+ "roles": [
+ "ca310b8d-2f4a-44e0-a36e-957c202cd8d4"
+ ],
+ "expiry": "2020-10-18T18:30:40.227Z",
+ "token": "SharedAccessSignature sr=..."
+ }
+ }
+ }
+ }
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_delete.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_delete.json
new file mode 100644
index 000000000000..a8d426de665e
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_delete.json
@@ -0,0 +1,12 @@
+{
+ "title": "Delete API token",
+ "description": "Delete an API token using its name.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "token_id": "testtoken"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_get.json
new file mode 100644
index 000000000000..403d331a9a9b
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_get.json
@@ -0,0 +1,20 @@
+{
+ "title": "Get API tokens in your application",
+ "description": "Get a list of API tokens in your application.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "token_id": "testtoken"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "testtoken",
+ "roles": [
+ "ca310b8d-2f4a-44e0-a36e-957c202cd8d4"
+ ],
+ "expiry": "2020-10-18T18:30:40.227Z"
+ }
+ }
+ }
+ }
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_list.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_list.json
new file mode 100644
index 000000000000..3bbec634ab9e
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_list.json
@@ -0,0 +1,23 @@
+{
+ "title": "List API tokens in your application",
+ "description": "Get a list of API tokens in your application.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "testtoken",
+ "roles": [
+ "ca310b8d-2f4a-44e0-a36e-957c202cd8d4"
+ ],
+ "expiry": "2020-10-18T18:30:40.227Z"
+ }
+ ]
+ }
+ }
+ }
+ }
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/application_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/application_get.json
new file mode 100644
index 000000000000..247e78a23574
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/application_get.json
@@ -0,0 +1,21 @@
+{
+ "title": "Get an application by Id",
+ "description": "Get an application by Id.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "application_id":"194e282c-290a-4858-b68f-4274690697fc"
+ },
+ "responses": {
+ "200": {
+ "body": {
+
+ "id": "194e282c-290a-4858-b68f-4274690697fc",
+ "displayName": "x - Store Analytics Checkout - PnP",
+ "subdomain": "store-analytics-checkout---pnp",
+ "host": "store-analytics-checkout---pnp.azureiotcentral.com"
+
+ }
+ }
+ }
+ }
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/application_list.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/application_list.json
new file mode 100644
index 000000000000..b55079257955
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/application_list.json
@@ -0,0 +1,28 @@
+{
+ "title": "List applications",
+ "description": "List applications that are accessible to the signed-in user.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "194e282c-290a-4858-b68f-4274690697fc",
+ "displayName": "x - Store Analytics Checkout - PnP",
+ "subdomain": "store-analytics-checkout---pnp",
+ "host": "store-analytics-checkout---pnp.azureiotcentral.com"
+ },
+ {
+ "id": "ca517ec7-234e-4cbb-9d83-424f8a1d1809",
+ "displayName": "Custom 2gskl57ibaw",
+ "subdomain": "contoso",
+ "host": "contoso.azureiotcentral.com"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_delete.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_delete.json
new file mode 100644
index 000000000000..119879c7b094
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_delete.json
@@ -0,0 +1,12 @@
+{
+ "title": "Delete export",
+ "description": "Delete an export using its Id.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "export_id": "abc"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_get.json
new file mode 100644
index 000000000000..702c6ee42e2e
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_get.json
@@ -0,0 +1,30 @@
+{
+ "title": "Get export",
+ "description": "Get an export using its Id.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "export_id": "16cad42a-bd47-4684-b106-9f9b4d2d02e9"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "16cad42a-bd47-4684-b106-9f9b4d2d02e9",
+ "etag": "076f201d-e9c3-4bef-af0a-608420ba4526",
+ "displayName": "Export to Storage 1",
+ "endpoint": {
+ "type": "StorageEndpoint",
+ "connectionString": "DefaultEndpointsProtocol=https;AccountName=jeffscratchppe;AccountKey=*****;EndpointSuffix=core.windows.net",
+ "name": "cde"
+ },
+ "status": "running",
+ "enabled": true,
+ "sources": [
+ "devices",
+ "deviceTemplates",
+ "telemetry"
+ ]
+ }
+ }
+ }
+ }
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_list.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_list.json
new file mode 100644
index 000000000000..9c4de398a267
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_list.json
@@ -0,0 +1,50 @@
+{
+ "title": "List exports",
+ "description": "Get a list of all exports in your application",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "16cad42a-bd47-4684-b106-9f9b4d2d02e9",
+ "etag": "076f201d-e9c3-4bef-af0a-608420ba4526",
+ "displayName": "Export to Storage 1",
+ "endpoint": {
+ "type": "StorageEndpoint",
+ "connectionString": "DefaultEndpointsProtocol=https;AccountName=jeffscratchppe;AccountKey=*****;EndpointSuffix=core.windows.net",
+ "name": "cde"
+ },
+ "status": "starting",
+ "enabled": true,
+ "sources": [
+ "devices",
+ "deviceTemplates",
+ "telemetry"
+ ]
+ },
+ {
+ "id": "9dce0282-751d-4121-aed3-b316d658f17a",
+ "etag": "3398c6b5-de40-44ad-bf4a-0c216e2b4d88",
+ "displayName": "Export to Event Hubs 1",
+ "endpoint": {
+ "type": "EventHubsEndpoint",
+ "connectionString": "Endpoint=sb://roommonitoring.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=*****",
+ "name": "roommonitoring-ehout"
+ },
+ "status": "stopping",
+ "enabled": false,
+ "sources": [
+ "devices",
+ "deviceTemplates",
+ "telemetry"
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_set.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_set.json
new file mode 100644
index 000000000000..a94e0dc109e2
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_set.json
@@ -0,0 +1,44 @@
+{
+ "title": "Create or update export",
+ "description": "Create a new export or update an existing export, specifying its Id.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "export_id": "abc",
+ "body": {
+ "displayName": "Export to Storage 2",
+ "endpoint": {
+ "type": "StorageEndpoint",
+ "connectionString": "{Connection-string-to-blob-storage}",
+ "name": "container"
+ },
+ "enabled": true,
+ "sources": [
+ "devices",
+ "deviceTemplates",
+ "telemetry"
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "abc",
+ "etag": "7e02c03e-25cb-4d1c-9f6b-019506283872",
+ "displayName": "Export to Storage 2",
+ "endpoint": {
+ "type": "StorageEndpoint",
+ "connectionString": "DefaultEndpointsProtocol=https;AccountName=contosoiotcstorage;AccountKey=*****;EndpointSuffix=core.windows.net",
+ "name": "container"
+ },
+ "status": "starting",
+ "enabled": true,
+ "sources": [
+ "devices",
+ "deviceTemplates",
+ "telemetry"
+ ]
+ }
+ }
+ }
+ }
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicecredentials_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicecredentials_get.json
new file mode 100644
index 000000000000..79306f555b31
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicecredentials_get.json
@@ -0,0 +1,20 @@
+{
+ "title": "Get device credentials",
+ "description": "Get the device credentials of a created device. Returns the app's scope Id and device SAS key",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "Checkout4"
+ },
+ "responses": {
+ "200": {
+ "body":{
+ "scopeId": "0ne0005F266",
+ "symmetricKey": {
+ "primaryKey": "XaMfV3vryCQw963L2IALf1SdApQRzSIBQd13/fassqM=",
+ "secondaryKey": "s+4uT31TRZJcTSGxZUPZb1yznjTicu4jr9tXNrg+xIQ="
+ }
+ }
+ }
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_cloudproperties_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_cloudproperties_get.json
new file mode 100644
index 000000000000..507ac667d74b
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_cloudproperties_get.json
@@ -0,0 +1,16 @@
+{
+ "title": "Get cloud property values of a device",
+ "description": "Get the current values of all cloud properties of a device.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "mx1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "AssetID": "123abc"
+ }
+ }
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_cloudproperties_update.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_cloudproperties_update.json
new file mode 100644
index 000000000000..999d46fb6b49
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_cloudproperties_update.json
@@ -0,0 +1,19 @@
+{
+ "title": "Update cloud properties of a device",
+ "description": "Update cloud properties of a device.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "body": {
+ "AssetID": "123abc"
+ },
+ "device_id": "mx1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "AssetID": "123abc"
+ }
+ }
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_commands_send.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_commands_send.json
new file mode 100644
index 000000000000..f1181d825a03
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_commands_send.json
@@ -0,0 +1,15 @@
+{
+ "title": "Send command",
+ "description": "Send a command to a device.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "mx1",
+ "component_name": "Thermostat_1o",
+ "command_name": "CoolDown",
+ "body":{ "request":{"tempVal": 30}}
+ },
+ "responses": {
+ "201": {"body":{}}
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_commandshistory_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_commandshistory_get.json
new file mode 100644
index 000000000000..cfbbec4852e9
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_commandshistory_get.json
@@ -0,0 +1,25 @@
+{
+ "title": "Get command history",
+ "description": "Get the most recent invocation of a command of a device.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "mx1",
+ "component_name": "Thermostat_1o",
+ "command_name": "CoolDown"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "request": 20,
+ "id": "4e17dd2e-7bf2-458d-8466-19bc6fc9b642",
+ "response": 58.795679629034694,
+ "responseCode": 200
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_create.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_create.json
new file mode 100644
index 000000000000..fc3a60805a2c
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_create.json
@@ -0,0 +1,28 @@
+{
+ "title": "Create a device",
+ "description": "Create a device with an Id.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "ccc",
+ "body":{
+ "displayName": "CheckoutThermostatccc",
+ "instanceOf": "urn:kmwga2re7:modelDefinition:t_cj5wspyv",
+ "simulated": true,
+ "approved": true
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "ccc",
+ "etag": "eyJoZWFkZXIiOiJcIjE1MDE2ZDFiLTAwMDAtMGQwMC0wMDAwLTVkYWNkNDIxMDAwMFwiIiwiZGF0YSI6IlwiMTUwMTZhMWItMDAwMC0wZDAwLTAwMDAtNWRhY2Q0MjEwMDAwXCIifQ",
+ "displayName": "CheckoutThermostatccc",
+ "instanceOf": "urn:kmwga2re7:modelDefinition:t_cj5wspyv",
+ "simulated": true,
+ "provisioned": false,
+ "approved": true
+ }
+ }
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_delete.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_delete.json
new file mode 100644
index 000000000000..516955d4b761
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_delete.json
@@ -0,0 +1,12 @@
+{
+ "title": "Delete device",
+ "description": "Delete a device by Id.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "ccc"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_get.json
new file mode 100644
index 000000000000..4f240615c859
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_get.json
@@ -0,0 +1,22 @@
+{
+ "title": "Get a device by Id",
+ "description": "Get a device by Id",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "CheckoutThermostat"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "CheckoutThermostat",
+ "etag": "eyJoZWFkZXIiOiJcIjAyMDA4YzMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4YjdhMDAwMFwiIn0",
+ "displayName": "CheckoutThermostat",
+ "instanceOf": "urn:kmwga2re7:modelDefinition:t_cj5wspyv",
+ "simulated": true,
+ "provisioned": true,
+ "approved": true
+ }
+ }
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_list.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_list.json
new file mode 100644
index 000000000000..ce52b0783ec1
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_list.json
@@ -0,0 +1,52 @@
+{
+ "title": "List devices",
+ "description": "List all devices in your application.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "CheckoutThermostat",
+ "etag": "eyJoZWFkZXIiOiJcIjAyMDA4YzMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4YjdhMDAwMFwiIn0",
+ "displayName": "CheckoutThermostat",
+ "instanceOf": "urn:kmwga2re7:modelDefinition:t_cj5wspyv",
+ "simulated": true,
+ "provisioned": true,
+ "approved": true
+ },
+ {
+ "id": "Checkout1",
+ "etag": "eyJoZWFkZXIiOiJcIjAyMDA4ZDMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4Yjg3MDAwMFwiIn0",
+ "displayName": "Checkout1",
+ "instanceOf": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
+ "simulated": true,
+ "provisioned": true,
+ "approved": true
+ },
+ {
+ "id": "Checkout2",
+ "etag": "eyJoZWFkZXIiOiJcIjAyMDA5MDMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4Yjg3MDAwMFwiIn0",
+ "displayName": "Checkout2",
+ "instanceOf": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
+ "simulated": true,
+ "provisioned": true,
+ "approved": true
+ },
+ {
+ "id": "Checkout3",
+ "etag": "eyJoZWFkZXIiOiJcIjAyMDA4ZTMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4Yjg3MDAwMFwiIn0",
+ "displayName": "Checkout3",
+ "instanceOf": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
+ "simulated": true,
+ "provisioned": true,
+ "approved": true
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_list_by_template.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_list_by_template.json
new file mode 100644
index 000000000000..bb1f8cd4ba87
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_list_by_template.json
@@ -0,0 +1,44 @@
+{
+ "title": "List devices associated to a device template.",
+ "description": "List all devices associated to a device template.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_template_id": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "Checkout1",
+ "etag": "eyJoZWFkZXIiOiJcIjAyMDA4ZDMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4Yjg3MDAwMFwiIn0",
+ "displayName": "Checkout1",
+ "instanceOf": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
+ "simulated": true,
+ "provisioned": true,
+ "approved": true
+ },
+ {
+ "id": "Checkout2",
+ "etag": "eyJoZWFkZXIiOiJcIjAyMDA5MDMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4Yjg3MDAwMFwiIn0",
+ "displayName": "Checkout2",
+ "instanceOf": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
+ "simulated": true,
+ "provisioned": true,
+ "approved": true
+ },
+ {
+ "id": "Checkout3",
+ "etag": "eyJoZWFkZXIiOiJcIjAyMDA4ZTMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4Yjg3MDAwMFwiIn0",
+ "displayName": "Checkout3",
+ "instanceOf": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
+ "simulated": true,
+ "provisioned": true,
+ "approved": true
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_components_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_components_get.json
new file mode 100644
index 000000000000..28531f7b74b0
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_components_get.json
@@ -0,0 +1,54 @@
+{
+ "title": "Get device properties in component",
+ "description": "Get the read-write property values within a component of a device.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "mx1",
+ "component_name": "settings"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "fanSpeed": 35,
+ "voltage": 5,
+ "current": 2,
+ "irSwitch": true,
+ "$metadata": {
+ "fanSpeed": {
+ "desiredValue": 35,
+ "ackDesiredState": {
+ "code": 200,
+ "version": 2,
+ "description": "Processed"
+ }
+ },
+ "voltage": {
+ "desiredValue": 5,
+ "ackDesiredState": {
+ "code": 200,
+ "version": 2,
+ "description": "Processed"
+ }
+ },
+ "current": {
+ "desiredValue": 2,
+ "ackDesiredState": {
+ "code": 200,
+ "version": 2,
+ "description": "Processed"
+ }
+ },
+ "irSwitch": {
+ "desiredValue": true,
+ "ackDesiredState": {
+ "code": 200,
+ "version": 2,
+ "description": "Processed"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_components_set.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_components_set.json
new file mode 100644
index 000000000000..14bb244a1434
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_components_set.json
@@ -0,0 +1,36 @@
+{
+ "title": "Set device properties in component",
+ "description": "Set the read-write property values within a component of a device.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "mx1",
+ "component_name": "settings",
+ "body":{
+ "fanSpeed": 35,
+ "voltage": 5,
+ "current": 2,
+ "irSwitch": true
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "$metadata": {
+ "fanSpeed": {
+ "desiredValue": 35
+ },
+ "voltage": {
+ "desiredValue": 5
+ },
+ "current": {
+ "desiredValue": 2
+ },
+ "irSwitch": {
+ "desiredValue": true
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_get.json
new file mode 100644
index 000000000000..98681b1c1837
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_get.json
@@ -0,0 +1,25 @@
+{
+ "title": "Get device properties",
+ "description": "Get the current values of all device properties.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "mx1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "deviceinfo": {
+ "manufacturer": "manufacturer",
+ "model": "model",
+ "swVersion": "swVersion",
+ "osName": "osName",
+ "processorArchitecture": "processorArchitecture",
+ "processorManufacturer": "processorManufacturer",
+ "totalStorage": 41,
+ "totalMemory": 49
+ }
+ }
+ }
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_update.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_update.json
new file mode 100644
index 000000000000..2efe07fab90e
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_update.json
@@ -0,0 +1,36 @@
+{
+ "title": "Update device properties",
+ "description": "Update the values of read-write properties of a device",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "mx1",
+ "body":{
+ "device_info": {
+ "manufacturer": "manufacturer",
+ "model": "model",
+ "swVersion": "swVersion",
+ "osName": "osName",
+ "processorArchitecture": "processorArchitecture",
+ "processorManufacturer": "processorManufacturer",
+ "totalStorage": 24,
+ "totalMemory": 18
+ }}
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "deviceinfo": {
+ "manufacturer": "TODO",
+ "model": "model",
+ "swVersion": "swVersion",
+ "osName": "osName",
+ "processorArchitecture": "processorArchitecture",
+ "processorManufacturer": "processorManufacturer",
+ "totalStorage": 41,
+ "totalMemory": 49
+ }
+ }
+ }
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_telemetry_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_telemetry_get.json
new file mode 100644
index 000000000000..c6c42407b1fc
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_telemetry_get.json
@@ -0,0 +1,18 @@
+{
+ "title": "Get telemetry",
+ "description": "Get the last known value of a telemetry stream of a device.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "mx1",
+ "component_name": "sensors",
+ "telemetry_name": "temperature"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": 32
+ }
+ }
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_create.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_create.json
new file mode 100644
index 000000000000..792cdfed212f
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_create.json
@@ -0,0 +1,250 @@
+{
+ "title": "Create a device template",
+ "description": "Creates and publishes a device template. In the body, specify the full device template object.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_template_id": "environmentstemplateid",
+ "body": {
+ "types": [
+ "DeviceModel"
+ ],
+ "displayName": "Environment sensor 1",
+ "capabilityModel": {
+ "@id": "urn:storeAnalyticsCheckoutPnp:capabilityModel:1",
+ "@type": [
+ "CapabilityModel"
+ ],
+ "implements": [
+ {
+ "@id": "urn:storeAnalyticsCheckoutPnp:capabilityModel:fyy5xn_y:1",
+ "@type": [
+ "InterfaceInstance"
+ ],
+ "displayName": "Interface",
+ "name": "Interface",
+ "schema": {
+ "@id": "urn:storeAnalyticsCheckoutPnp:Interface:1",
+ "@type": [
+ "Interface"
+ ],
+ "displayName": "Interface",
+ "contents": [
+ {
+ "@id": "urn:storeAnalyticsCheckoutPnp:Interface:Temperature:1",
+ "@type": [
+ "Telemetry",
+ "SemanticType/Temperature"
+ ],
+ "displayName": "Temperature",
+ "name": "Temperature",
+ "schema": "double",
+ "unit": "Units/Temperature/celsius"
+ },
+ {
+ "@id": "urn:storeAnalyticsCheckoutPnp:Interface:Humidity:1",
+ "@type": [
+ "Telemetry",
+ "SemanticType/Humidity"
+ ],
+ "displayName": "Humidity",
+ "name": "Humidity",
+ "schema": "double",
+ "unit": "Units/Humidity/percent"
+ },
+ {
+ "@id": "urn:storeAnalyticsCheckoutPnp:Interface:Occupancy:1",
+ "@type": [
+ "Telemetry"
+ ],
+ "displayName": "Occupancy",
+ "name": "Occupancy",
+ "schema": "double"
+ }
+ ]
+ }
+ }
+ ],
+ "displayName": "Motion detector",
+ "contents": [],
+ "@context": [
+ "http://azureiot.com/v1/contexts/IoTModel.json"
+ ]
+ },
+ "solutionModel": {
+ "@id": "urn:1dsfbt7i:modelDefinition:zadjfmgvh",
+ "@type": [
+ "SolutionModel"
+ ],
+ "cloudProperties": [
+ {
+ "@id": "urn:1dsfbt7i:modelDefinition:AssetId",
+ "@type": [
+ "CloudProperty"
+ ],
+ "displayName": "Asset Id",
+ "name": "AssetId",
+ "schema": "string",
+ "valueDetail": {
+ "@id": "urn:1dsfbt7i:modelDefinition:AssetId:valueDetail",
+ "@type": [
+ "ValueDetail/StringValueDetail"
+ ]
+ }
+ }
+ ],
+ "initialValues": [],
+ "overrides": [
+ {
+ "@id": "urn:1dsfbt7i:modelDefinition:1qehkys5",
+ "@type": [
+ "Override"
+ ],
+ "capability": {
+ "@type": [
+ "CapabilityReference"
+ ],
+ "component": "urn:storeAnalyticsCheckoutPnp:capabilityModel:fyy5xn_y:1",
+ "reference": "urn:storeAnalyticsCheckoutPnp:Interface:Occupancy:1"
+ },
+ "valueDetail": {
+ "@type": [
+ "ValueDetail/NumberValueDetail"
+ ],
+ "maxValue": {
+ "@value": "50"
+ },
+ "minValue": {
+ "@value": "0"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body":{
+ "id": "environmentstemplateid",
+ "types": [
+ "DeviceModel"
+ ],
+ "displayName": "Environment sensor 1",
+ "capabilityModel": {
+ "@id": "urn:storeAnalyticsCheckoutPnp:capabilityModel:1",
+ "@type": [
+ "CapabilityModel"
+ ],
+ "implements": [
+ {
+ "@id": "urn:storeAnalyticsCheckoutPnp:capabilityModel:fyy5xn_y:1",
+ "@type": [
+ "InterfaceInstance"
+ ],
+ "displayName": "Interface",
+ "name": "Interface",
+ "schema": {
+ "@id": "urn:storeAnalyticsCheckoutPnp:Interface:1",
+ "@type": [
+ "Interface"
+ ],
+ "displayName": "Interface",
+ "contents": [
+ {
+ "@id": "urn:storeAnalyticsCheckoutPnp:Interface:Temperature:1",
+ "@type": [
+ "Telemetry",
+ "SemanticType/Temperature"
+ ],
+ "displayName": "Temperature",
+ "name": "Temperature",
+ "schema": "double",
+ "unit": "Units/Temperature/celsius"
+ },
+ {
+ "@id": "urn:storeAnalyticsCheckoutPnp:Interface:Humidity:1",
+ "@type": [
+ "Telemetry",
+ "SemanticType/Humidity"
+ ],
+ "displayName": "Humidity",
+ "name": "Humidity",
+ "schema": "double",
+ "unit": "Units/Humidity/percent"
+ },
+ {
+ "@id": "urn:storeAnalyticsCheckoutPnp:Interface:Occupancy:1",
+ "@type": [
+ "Telemetry"
+ ],
+ "displayName": "Occupancy",
+ "name": "Occupancy",
+ "schema": "double"
+ }
+ ]
+ }
+ }
+ ],
+ "displayName": "Motion detector",
+ "contents": [],
+ "@context": [
+ "http://azureiot.com/v1/contexts/IoTModel.json"
+ ]
+ },
+ "solutionModel": {
+ "@id": "urn:1dsfbt7i:modelDefinition:zadjfmgvh",
+ "@type": [
+ "SolutionModel"
+ ],
+ "cloudProperties": [
+ {
+ "@id": "urn:1dsfbt7i:modelDefinition:AssetId",
+ "@type": [
+ "CloudProperty"
+ ],
+ "displayName": "Asset Id",
+ "name": "AssetId",
+ "schema": "string",
+ "valueDetail": {
+ "@id": "urn:1dsfbt7i:modelDefinition:AssetId:valueDetail",
+ "@type": [
+ "ValueDetail/StringValueDetail"
+ ]
+ }
+ }
+ ],
+ "initialValues": [],
+ "overrides": [
+ {
+ "@id": "urn:1dsfbt7i:modelDefinition:1qehkys5",
+ "@type": [
+ "Override"
+ ],
+ "capability": {
+ "@id": "urn:1dsfbt7i:modelDefinition:1qehkys5:6wq2v5i7j",
+ "@type": [
+ "CapabilityReference"
+ ],
+ "component": "urn:storeAnalyticsCheckoutPnp:capabilityModel:fyy5xn_y:1",
+ "reference": "urn:storeAnalyticsCheckoutPnp:Interface:Occupancy:1"
+ },
+ "valueDetail": {
+ "@id": "urn:1dsfbt7i:modelDefinition:1qehkys5:_covclwk_",
+ "@type": [
+ "ValueDetail/NumberValueDetail"
+ ],
+ "maxValue": {
+ "@value": "50"
+ },
+ "minValue": {
+ "@value": "0"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_delete.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_delete.json
new file mode 100644
index 000000000000..ba18b554cd58
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_delete.json
@@ -0,0 +1,12 @@
+{
+ "title": "Delete a device template by Id",
+ "description": "Delete a published device template that has no devices currently associated to it. This operation does not operate on device templates in draft state.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_template_id": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_get.json
new file mode 100644
index 000000000000..ec1b186c2c33
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_get.json
@@ -0,0 +1,177 @@
+{
+ "title": "Get a device template by Id",
+ "description": "Get a published device template by Id. This operation does not return device templates in draft state.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_template_id": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
+ "types": [
+ "DeviceModel"
+ ],
+ "displayName": "RS40 Occupancy Sensor",
+ "capabilityModel": {
+ "@id": "urn:rigado:RS40_Occupancy_Sensor:1",
+ "@type": [
+ "CapabilityModel"
+ ],
+ "implements": [
+ {
+ "@id": "urn:rigado:RS40_Occupancy_Sensor:Device_information_RS40_Occupancy_Sensor:1",
+ "@type": [
+ "InterfaceInstance"
+ ],
+ "name": "Device_information_RS40_Occupancy_Sensor",
+ "schema": {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:1",
+ "@type": [
+ "Interface"
+ ],
+ "displayName": "Device Information",
+ "contents": [
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:manufacturer:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Company name of the device manufacturer. This could be the same as the name of the original equipment manufacturer (OEM). Ex. Contoso.",
+ "displayName": "Manufacturer",
+ "name": "manufacturer",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:model:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Device model name or ID. Ex. Surface Book 2.",
+ "displayName": "Device model",
+ "name": "model",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:swVersion:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Version of the software on your device. This could be the version of your firmware. Ex. 1.3.45",
+ "displayName": "Software version",
+ "name": "swVersion",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:osName:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Name of the operating system on the device. Ex. Windows 10 IoT Core.",
+ "displayName": "Operating system name",
+ "name": "osName",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:processorArchitecture:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Architecture of the processor on the device. Ex. x64 or ARM.",
+ "displayName": "Processor architecture",
+ "name": "processorArchitecture",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:processorManufacturer:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Name of the manufacturer of the processor on the device. Ex. Intel.",
+ "displayName": "Processor manufacturer",
+ "name": "processorManufacturer",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:totalStorage:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Total available storage on the device in kilobytes. Ex. 2048000 kilobytes.",
+ "displayName": "Total storage",
+ "name": "totalStorage",
+ "displayUnit": "kilobytes",
+ "schema": "long"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:totalMemory:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Total available memory on the device in kilobytes. Ex. 256000 kilobytes.",
+ "displayName": "Total memory",
+ "name": "totalMemory",
+ "displayUnit": "kilobytes",
+ "schema": "long"
+ }
+ ]
+ }
+ },
+ {
+ "@id": "urn:rigado:RS40_Occupancy_Sensor:RS40_Occupancy_Sensor:1",
+ "@type": [
+ "InterfaceInstance"
+ ],
+ "name": "RS40_Occupancy_Sensor",
+ "schema": {
+ "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:1",
+ "@type": [
+ "Interface"
+ ],
+ "displayName": "Interface",
+ "contents": [
+ {
+ "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:count:1",
+ "@type": [
+ "Telemetry"
+ ],
+ "comment": "",
+ "description": "Count of motion events seen in the previous interval",
+ "displayName": "count",
+ "name": "count",
+ "schema": "integer"
+ },
+ {
+ "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:state:1",
+ "@type": [
+ "Telemetry"
+ ],
+ "description": "Occupancy State",
+ "displayName": "state",
+ "name": "state",
+ "schema": "boolean"
+ }
+ ]
+ }
+ }
+ ],
+ "displayName": "RS40 Occupancy Sensor",
+ "contents": [],
+ "@context": [
+ "http://azureiot.com/v1/contexts/IoTModel.json"
+ ]
+ },
+ "solutionModel": {
+ "@id": "urn:sbk9sd6sl:modelDefinition:rxyaituqzz",
+ "@type": [
+ "SolutionModel"
+ ],
+ "cloudProperties": [],
+ "initialValues": [],
+ "overrides": []
+ }
+ }
+ }
+ }
+ }
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_get_merged.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_get_merged.json
new file mode 100644
index 000000000000..d88e63c5527d
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_get_merged.json
@@ -0,0 +1,171 @@
+{
+ "title": "Get a merged device template by Id",
+ "description": "Get a single merged view of a device template by Id. The merged view of a device template contains the overrides and initial values from the solutionModel merged into the capabilityModel. This operation does not return device templates in draft state.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_template_id": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
+ "etag": "\"1800bfd5-0000-0d00-0000-5d96df080000\"",
+ "types": [
+ "DeviceModel"
+ ],
+ "displayName": "RS40 Occupancy Sensor",
+ "capabilityModel": {
+ "@id": "urn:rigado:RS40_Occupancy_Sensor:1",
+ "@type": [
+ "CapabilityModel"
+ ],
+ "implements": [
+ {
+ "@id": "urn:rigado:RS40_Occupancy_Sensor:Device_information_RS40_Occupancy_Sensor:1",
+ "@type": [
+ "InterfaceInstance"
+ ],
+ "name": "Device_information_RS40_Occupancy_Sensor",
+ "schema": {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:1",
+ "@type": [
+ "Interface"
+ ],
+ "displayName": "Device Information",
+ "contents": [
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:manufacturer:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Company name of the device manufacturer. This could be the same as the name of the original equipment manufacturer (OEM). Ex. Contoso.",
+ "displayName": "Manufacturer",
+ "name": "manufacturer",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:model:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Device model name or ID. Ex. Surface Book 2.",
+ "displayName": "Device model",
+ "name": "model",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:swVersion:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Version of the software on your device. This could be the version of your firmware. Ex. 1.3.45",
+ "displayName": "Software version",
+ "name": "swVersion",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:osName:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Name of the operating system on the device. Ex. Windows 10 IoT Core.",
+ "displayName": "Operating system name",
+ "name": "osName",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:processorArchitecture:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Architecture of the processor on the device. Ex. x64 or ARM.",
+ "displayName": "Processor architecture",
+ "name": "processorArchitecture",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:processorManufacturer:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Name of the manufacturer of the processor on the device. Ex. Intel.",
+ "displayName": "Processor manufacturer",
+ "name": "processorManufacturer",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:totalStorage:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Total available storage on the device in kilobytes. Ex. 2048000 kilobytes.",
+ "displayName": "Total storage",
+ "name": "totalStorage",
+ "displayUnit": "kilobytes",
+ "schema": "long"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:totalMemory:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Total available memory on the device in kilobytes. Ex. 256000 kilobytes.",
+ "displayName": "Total memory",
+ "name": "totalMemory",
+ "displayUnit": "kilobytes",
+ "schema": "long"
+ }
+ ]
+ }
+ },
+ {
+ "@id": "urn:rigado:RS40_Occupancy_Sensor:RS40_Occupancy_Sensor:1",
+ "@type": [
+ "InterfaceInstance"
+ ],
+ "name": "RS40_Occupancy_Sensor",
+ "schema": {
+ "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:1",
+ "@type": [
+ "Interface"
+ ],
+ "displayName": "Interface",
+ "contents": [
+ {
+ "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:count:1",
+ "@type": [
+ "Telemetry"
+ ],
+ "comment": "",
+ "description": "Count of motion events seen in the previous interval",
+ "displayName": "count",
+ "name": "count",
+ "schema": "integer"
+ },
+ {
+ "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:state:1",
+ "@type": [
+ "Telemetry"
+ ],
+ "description": "Occupancy State",
+ "displayName": "state",
+ "name": "state",
+ "schema": "boolean"
+ }
+ ]
+ }
+ }
+ ],
+ "displayName": "RS40 Occupancy Sensor"
+ },
+ "solutionModel": {
+ "@id": "urn:sbk9sd6sl:modelDefinition:rxyaituqzz",
+ "@type": [
+ "SolutionModel"
+ ]
+ }
+ }
+ }
+ }
+ }
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_list.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_list.json
new file mode 100644
index 000000000000..e4763760ca1e
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_list.json
@@ -0,0 +1,180 @@
+{
+ "title": "List device templates",
+ "description": "List device templates that are currently published in the application. This operation does not return device templates in draft state.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
+ "types": [
+ "DeviceModel"
+ ],
+ "displayName": "RS40 Occupancy Sensor",
+ "capabilityModel": {
+ "@id": "urn:rigado:RS40_Occupancy_Sensor:1",
+ "@type": [
+ "CapabilityModel"
+ ],
+ "implements": [
+ {
+ "@id": "urn:rigado:RS40_Occupancy_Sensor:Device_information_RS40_Occupancy_Sensor:1",
+ "@type": [
+ "InterfaceInstance"
+ ],
+ "name": "Device_information_RS40_Occupancy_Sensor",
+ "schema": {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:1",
+ "@type": [
+ "Interface"
+ ],
+ "displayName": "Device Information",
+ "contents": [
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:manufacturer:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Company name of the device manufacturer. This could be the same as the name of the original equipment manufacturer (OEM). Ex. Contoso.",
+ "displayName": "Manufacturer",
+ "name": "manufacturer",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:model:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Device model name or ID. Ex. Surface Book 2.",
+ "displayName": "Device model",
+ "name": "model",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:swVersion:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Version of the software on your device. This could be the version of your firmware. Ex. 1.3.45",
+ "displayName": "Software version",
+ "name": "swVersion",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:osName:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Name of the operating system on the device. Ex. Windows 10 IoT Core.",
+ "displayName": "Operating system name",
+ "name": "osName",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:processorArchitecture:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Architecture of the processor on the device. Ex. x64 or ARM.",
+ "displayName": "Processor architecture",
+ "name": "processorArchitecture",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:processorManufacturer:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Name of the manufacturer of the processor on the device. Ex. Intel.",
+ "displayName": "Processor manufacturer",
+ "name": "processorManufacturer",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:totalStorage:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Total available storage on the device in kilobytes. Ex. 2048000 kilobytes.",
+ "displayName": "Total storage",
+ "name": "totalStorage",
+ "displayUnit": "kilobytes",
+ "schema": "long"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:totalMemory:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Total available memory on the device in kilobytes. Ex. 256000 kilobytes.",
+ "displayName": "Total memory",
+ "name": "totalMemory",
+ "displayUnit": "kilobytes",
+ "schema": "long"
+ }
+ ]
+ }
+ },
+ {
+ "@id": "urn:rigado:RS40_Occupancy_Sensor:RS40_Occupancy_Sensor:1",
+ "@type": [
+ "InterfaceInstance"
+ ],
+ "name": "RS40_Occupancy_Sensor",
+ "schema": {
+ "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:1",
+ "@type": [
+ "Interface"
+ ],
+ "displayName": "Interface",
+ "contents": [
+ {
+ "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:count:1",
+ "@type": [
+ "Telemetry"
+ ],
+ "comment": "",
+ "description": "Count of motion events seen in the previous interval",
+ "displayName": "count",
+ "name": "count",
+ "schema": "integer"
+ },
+ {
+ "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:state:1",
+ "@type": [
+ "Telemetry"
+ ],
+ "description": "Occupancy State",
+ "displayName": "state",
+ "name": "state",
+ "schema": "boolean"
+ }
+ ]
+ }
+ }
+ ],
+ "displayName": "RS40 Occupancy Sensor",
+ "contents": [],
+ "@context": [
+ "http://azureiot.com/v1/contexts/IoTModel.json"
+ ]
+ },
+ "solutionModel": {
+ "@id": "urn:sbk9sd6sl:modelDefinition:rxyaituqzz",
+ "@type": [
+ "SolutionModel"
+ ],
+ "cloudProperties": [],
+ "initialValues": [],
+ "overrides": []
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/roles_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/roles_get.json
new file mode 100644
index 000000000000..d3f68826e146
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/roles_get.json
@@ -0,0 +1,17 @@
+{
+ "title": "Get role by Id",
+ "description": "Get a role by Id.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "role_id":"ca310b8d-2f4a-44e0-a36e-957c202cd8d4"
+ },
+ "responses": {
+ "200": {
+ "body":{
+ "id": "ca310b8d-2f4a-44e0-a36e-957c202cd8d4",
+ "displayName": "Administrator"
+ }
+ }
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/roles_list.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/roles_list.json
new file mode 100644
index 000000000000..4a3c1471cf2a
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/roles_list.json
@@ -0,0 +1,28 @@
+{
+ "title": "List roles",
+ "description": "List roles in your application.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "ca310b8d-2f4a-44e0-a36e-957c202cd8d4",
+ "displayName": "Administrator"
+ },
+ {
+ "id": "344138e9-8de4-4497-8c54-5237e96d6aaf",
+ "displayName": "Builder"
+ },
+ {
+ "id": "ae2c9854-393b-4f97-8c42-479d70ce626e",
+ "displayName": "Operator"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/iotcentral.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/iotcentral.json
new file mode 100644
index 000000000000..b0d5c37600a5
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/iotcentral.json
@@ -0,0 +1,1545 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "1.0.0",
+ "title": "Azure IoT Central",
+ "description": "Azure IoT Central is a service that makes it easy to connect, monitor, and manage your IoT devices at scale."
+ },
+ "basePath": "/api/preview",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "definitions": {
+ "ApiToken": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Permission"
+ },
+ {
+ "properties": {
+ "id": {
+ "description": "Unique ID of the api token.",
+ "type": "string",
+ "readOnly": true
+ },
+ "token": {
+ "description": "Value of the api token.",
+ "type": "string",
+ "readOnly": true
+ },
+ "expiry": {
+ "description": "String-formatted date representing the time when the token expires",
+ "type": "string",
+ "format": "date-time"
+ }
+ }
+ }
+ ],
+ "additionalProperties": true
+ },
+ "ApiTokenCollection": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The collection of api tokens.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApiToken"
+ }
+ }
+ },
+ "required": [
+ "value"
+ ]
+ },
+ "Interface": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Entity"
+ },
+ {
+ "properties": {
+ "contents": {
+ "description": "The data definitions contained by the interface.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NamedEntity"
+ }
+ }
+ }
+ }
+ ]
+ },
+ "Component": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/NamedEntity"
+ },
+ {
+ "properties": {
+ "schema": {
+ "description": "The interface used by this component.",
+ "$ref": "#/definitions/Interface"
+ }
+ }
+ }
+ ]
+ },
+ "CapabilityModel": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Entity"
+ },
+ {
+ "properties": {
+ "implements": {
+ "description": "The component implemented by the capability model.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Component"
+ }
+ },
+ "contents": {
+ "description": "The relationships contained by the capability model.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NamedEntity"
+ }
+ }
+ }
+ }
+ ],
+ "additionalProperties": true
+ },
+ "Endpoint":{
+ "type":"object",
+ "properties":{
+ "type":{
+ "description":"Type of the endpoint.",
+ "type":"string"
+ },
+ "connectionString":{
+ "description":"Information for connecting to the endpoint.",
+ "type":"string"
+ },
+ "name":{
+ "description":"Name of the entity to send data to.",
+ "type":"string"
+ }
+ },
+ "required":[
+ "type",
+ "connectionString",
+ "name"
+ ],
+ "discriminator":"type"
+ },
+ "StorageEndpoint":{
+ "allOf":[
+ {
+ "$ref":"#/definitions/Endpoint"
+ }
+ ]
+ },
+ "EventHubsEndpoint":{
+ "allOf":[
+ {
+ "$ref":"#/definitions/Endpoint"
+ }
+ ]
+ },
+ "ServiceBusQueueEndpoint":{
+ "allOf":[
+ {
+ "$ref":"#/definitions/Endpoint"
+ }
+ ]
+ },
+ "ServiceBusTopicEndpoint":{
+ "allOf":[
+ {
+ "$ref":"#/definitions/Endpoint"
+ }
+ ]
+ },
+ "ContinuousDataExport":{
+ "type":"object",
+ "properties":{
+ "id":{
+ "description":"Unique ID of the continuous data export.",
+ "type":"string",
+ "readOnly":true
+ },
+ "etag":{
+ "description":"ETag used to prevent conflict in continuous data export updates.",
+ "type":"string"
+ },
+ "displayName":{
+ "description":"Display name of the continuous data export.",
+ "type":"string"
+ },
+ "endpoint":{
+ "description":"Location where exported data should be sent.",
+ "$ref":"#/definitions/Endpoint"
+ },
+ "status":{
+ "description":"Indicates whether the continuous data export is starting, running, etc.",
+ "type":"string",
+ "readOnly":true
+ },
+ "enabled":{
+ "description":"Boolean indicating whether the continuous data export should be running or not.",
+ "type":"boolean"
+ },
+ "sources":{
+ "description":"Data sources to export to the endpoint.",
+ "type":"array",
+ "items":{
+ "type":"string",
+ "enum":[
+ "devices",
+ "deviceTemplates",
+ "telemetry"
+ ]
+ },
+ "minItems":1
+ }
+ },
+ "required":[
+ "endpoint",
+ "enabled",
+ "sources"
+ ]
+ },
+ "ContinuousDataExportCollection":{
+ "type":"object",
+ "properties":{
+ "value":{
+ "description":"The collection of continuous data exports.",
+ "type":"array",
+ "items":{
+ "$ref":"#/definitions/ContinuousDataExport"
+ }
+ },
+ "nextLink":{
+ "description":"URL to get the next page of continuous data exports.",
+ "type":"string"
+ }
+ },
+ "required":[
+ "value"
+ ]
+ },
+ "Device": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique ID of the device.",
+ "type": "string",
+ "readOnly": true
+ },
+ "etag": {
+ "description": "ETag used to prevent conflict in device updates.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Display name of the device.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Detailed description of the device.",
+ "type": "string"
+ },
+ "instanceOf": {
+ "description": "The model definition for the device.",
+ "type": "string"
+ },
+ "simulated": {
+ "description": "Whether the device is simulated.",
+ "type": "boolean"
+ },
+ "approved": {
+ "description": "Whether the device has been approved to connect to IoT Central.",
+ "type": "boolean"
+ },
+ "provisioned": {
+ "description": "Whether resources have been allocated for the device.",
+ "type": "boolean",
+ "readOnly": true
+ }
+ },
+ "required": [
+ "instanceOf"
+ ]
+ },
+ "DeviceCollection": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The collection of devices.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Device"
+ }
+ },
+ "nextLink": {
+ "description": "URL to get the next page of devices.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "value"
+ ]
+ },
+ "DeviceCommand": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The request ID of the device command execution.",
+ "type": "string",
+ "readOnly": true
+ },
+ "request": {
+ "description": "The payload for the device command."
+ },
+ "response": {
+ "description": "The payload of the device command response.",
+ "readOnly": true
+ },
+ "responseCode": {
+ "description": "The status code of the device command response.",
+ "type": "number",
+ "readOnly": true
+ }
+ }
+ },
+ "DeviceCommandCollection": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The collection of device command executions.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DeviceCommand"
+ }
+ }
+ },
+ "required": [
+ "value"
+ ]
+ },
+ "DeviceCloudProperties": {
+ "description": "Cloud property values associated with the device.",
+ "type": "object",
+ "additionalProperties": true
+ },
+ "SymmetricKey": {
+ "type": "object",
+ "properties": {
+ "primaryKey": {
+ "description": "The primary key for the credential.",
+ "type": "string"
+ },
+ "secondaryKey": {
+ "description": "The secondary key for the credential.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "primaryKey",
+ "secondaryKey"
+ ]
+ },
+ "DeviceCredentials": {
+ "type": "object",
+ "properties": {
+ "scopeId": {
+ "description": "Scope id for connecting to device provisioning service.",
+ "type": "string"
+ },
+ "symmetricKey": {
+ "description": "The symmetric key credentials for the device.",
+ "$ref": "#/definitions/SymmetricKey"
+ }
+ },
+ "required": [
+ "scopeId",
+ "symmetricKey"
+ ]
+ },
+ "DeviceProperties": {
+ "description": "Property values associated with the device.",
+ "type": "object",
+ "additionalProperties": true
+ },
+ "DeviceTemplate": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique ID of the device template.",
+ "type": "string",
+ "readOnly": true
+ },
+ "etag": {
+ "description": "ETag used to prevent conflict in device template updates.",
+ "type": "string"
+ },
+ "types": {
+ "description": "The types of device to which this template applies.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "displayName": {
+ "description": "Display name of the device template.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Detailed description of the device template.",
+ "type": "string"
+ },
+ "capabilityModel": {
+ "$ref": "#/definitions/CapabilityModel"
+ },
+ "solutionModel": {
+ "$ref": "#/definitions/SolutionModel"
+ }
+ },
+ "required": [
+ "types",
+ "capabilityModel"
+ ]
+ },
+ "DeviceTemplateCollection": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The collection of device templates.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DeviceTemplate"
+ }
+ },
+ "nextLink": {
+ "description": "URL to get the next page of device templates.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "value"
+ ]
+ },
+ "Entity": {
+ "type": "object",
+ "properties": {
+ "@id": {
+ "description": "Unique ID of the entity.",
+ "type": "string"
+ },
+ "@type": {
+ "description": "Type of the entity.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "displayName": {
+ "description": "Display name of the entity.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Detailed description of the entity.",
+ "type": "string"
+ },
+ "comment": {
+ "description": "Developer comment about the entity.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "@type"
+ ]
+ },
+ "NamedEntity": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Entity"
+ },
+ {
+ "properties": {
+ "name": {
+ "description": "The programmatic name of the named entity.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ]
+ }
+ ],
+ "additionalProperties": true
+ },
+ "Permission": {
+ "type": "object",
+ "properties": {
+ "roles": {
+ "description": "Roles that the permission has been granted permission to.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "maxItems": 1
+ }
+ },
+ "required": [
+ "roles"
+ ]
+ },
+ "Value": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The value of this API response."
+ }
+ }
+ },
+ "Role": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique ID of the role.",
+ "type": "string",
+ "readOnly": true
+ },
+ "displayName": {
+ "description": "Display name of the role.",
+ "type": "string"
+ }
+ }
+ },
+ "RoleCollection": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The collection of roles.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ }
+ },
+ "required": [
+ "value"
+ ]
+ },
+ "SolutionModel": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Entity"
+ },
+ {
+ "properties": {
+ "cloudProperties": {
+ "description": "The cloud properties defined by the solution model.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NamedEntity"
+ }
+ },
+ "initialValues": {
+ "description": "The initial values defined by the solution model.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InitialValue"
+ }
+ },
+ "overrides": {
+ "description": "The overrides defined by the solution model.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Override"
+ }
+ }
+ }
+ }
+ ]
+ },
+ "InitialValue": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Entity"
+ },
+ {
+ "properties": {
+ "capability": {
+ "$ref": "#/definitions/CapabilityReference"
+ },
+ "value": {
+ "description": "The initial value of the capability."
+ }
+ }
+ }
+ ]
+ },
+ "Override": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Entity"
+ },
+ {
+ "properties": {
+ "capability": {
+ "$ref": "#/definitions/CapabilityReference"
+ },
+ "displayUnit": {
+ "description": "The overridden display unit.",
+ "type": "string"
+ },
+ "semanticType": {
+ "description": "The overridden semantic type.",
+ "type": "string"
+ },
+ "unit": {
+ "description": "The overridden unit.",
+ "type": "string"
+ }
+ }
+ }
+ ],
+ "additionalProperties": true
+ },
+ "CapabilityReference": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Entity"
+ },
+ {
+ "properties": {
+ "component": {
+ "description": "The name of the component being referenced.",
+ "type": "string"
+ },
+ "reference": {
+ "description": "The name of the capability being referenced.",
+ "type": "string"
+ }
+ }
+ }
+ ]
+ }
+ },
+ "paths": {
+ "/apiTokens": {
+ "get": {
+ "operationId": "ApiTokens_List",
+ "summary": "Get the list of API tokens in an application.",
+ "x-ms-examples": {
+ "List API tokens": {
+ "$ref": "./examples/apitoken_list.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ApiTokenCollection"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/apiTokens/{token_id}": {
+ "get": {
+ "operationId": "ApiTokens_Get",
+ "summary": "Get an API token by ID.",
+ "x-ms-examples": {
+ "Get API token by ID": {
+ "$ref": "./examples/apitoken_get.json"
+ }
+ },
+ "parameters": [
+ {
+ "in": "path",
+ "name": "token_id",
+ "description": "Unique ID for the API token.",
+ "type": "string",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ApiToken"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "ApiTokens_Set",
+ "summary": "Create a new API token in the application.",
+ "x-ms-examples": {
+ "Create API token": {
+ "$ref": "./examples/apitoken_create.json"
+ }
+ },
+ "parameters": [
+ {
+ "in": "path",
+ "name": "token_id",
+ "description": "Unique ID for the API token.",
+ "type": "string",
+ "required": true
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "description": "API token body.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ApiToken"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ApiToken"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "ApiTokens_Remove",
+ "summary": "Delete an API token.",
+ "parameters": [
+ {
+ "in": "path",
+ "name": "token_id",
+ "description": "Unique ID for the API token.",
+ "type": "string",
+ "required": true
+ }
+ ],
+ "x-ms-examples": {
+ "Delete API token": {
+ "$ref": "./examples/apitoken_delete.json"
+ }
+ },
+ "responses": {
+ "204": {
+ "description": "Success"
+ }
+ }
+ }
+ },
+ "/devices": {
+ "get": {
+ "operationId": "Devices_List",
+ "summary": "Get the list of devices in an application",
+ "x-ms-examples": {
+ "List devices": {
+ "$ref": "./examples/devices_list.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DeviceCollection"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/devices/{device_id}": {
+ "get": {
+ "operationId": "Devices_Get",
+ "summary": "Get a device by ID",
+ "description": "Get details about an existing device by device ID.",
+
+ "parameters": [
+ {
+ "$ref": "#/parameters/DeviceId"
+ }
+ ],
+ "x-ms-examples": {
+ "Get device by Id": {
+ "$ref": "./examples/devices_get.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Device"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "Devices_Set",
+ "summary": "Create or update a device",
+ "description": "Create a new device or update an existing one by device ID.",
+ "x-ms-examples": {
+ "Create device": {
+ "$ref": "./examples/devices_create.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/DeviceId"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Device body.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Device"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Device"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "Devices_Remove",
+ "summary": "Delete a device",
+ "description": "Delete an existing device by device ID.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/DeviceId"
+ }
+ ],
+ "x-ms-examples": {
+ "Delete device": {
+ "$ref": "./examples/devices_delete.json"
+ }
+ },
+ "responses": {
+ "204": {
+ "description": "Success"
+ }
+ }
+ }
+ },
+ "/continuousDataExports":{
+ "get":{
+ "operationId":"ContinuousDataExports_List",
+ "summary":"Get the list of continuous data exports in an application.",
+ "x-ms-examples": {
+ "List exports": {
+ "$ref": "./examples/continuousdataexports_list.json"
+ }
+ },
+ "responses":{
+ "200":{
+ "description":"Success",
+ "schema":{
+ "$ref":"#/definitions/ContinuousDataExportCollection"
+ }
+ }
+ },
+ "x-ms-pageable":{
+ "nextLinkName":"nextLink"
+ }
+ }
+ },
+ "/continuousDataExports/{export_id}":{
+ "get":{
+ "operationId":"ContinuousDataExports_Get",
+ "summary":"Get a continuous data export by ID.",
+ "parameters":[
+ {
+ "in":"path",
+ "name":"export_id",
+ "description":"Unique ID for the continuous data export.",
+ "type":"string",
+ "required":true
+ }
+ ],
+ "x-ms-examples": {
+ "Get export": {
+ "$ref": "./examples/continuousdataexports_get.json"
+ }
+ },
+ "responses":{
+ "200":{
+ "description":"Success",
+ "schema":{
+ "$ref":"#/definitions/ContinuousDataExport"
+ }
+ }
+ }
+ },
+ "put":{
+ "operationId":"ContinuousDataExports_Set",
+ "summary":"Create a new continuous data export or update an existing one by ID.",
+ "x-ms-examples": {
+ "Create or update export": {
+ "$ref": "./examples/continuousdataexports_set.json"
+ }
+ },
+ "parameters":[
+ {
+ "in":"path",
+ "name":"export_id",
+ "description":"Unique ID for the continuous data export.",
+ "type":"string",
+ "required":true
+ },
+ {
+ "name":"body",
+ "in":"body",
+ "description":"Data export body.",
+ "required":true,
+ "schema":{
+ "$ref":"#/definitions/ContinuousDataExport"
+ }
+ }
+ ],
+ "responses":{
+ "200":{
+ "description":"Success",
+ "schema":{
+ "$ref":"#/definitions/ContinuousDataExport"
+ }
+ }
+ }
+ },
+ "delete":{
+ "operationId":"ContinuousDataExports_Remove",
+ "summary":"Delete a continuous data export.",
+ "parameters":[
+ {
+ "in":"path",
+ "name":"export_id",
+ "description":"Unique ID for the continuous data export.",
+ "type":"string",
+ "required":true
+ }
+ ],
+ "x-ms-examples": {
+ "Delete export": {
+ "$ref": "./examples/continuousdataexports_delete.json"
+ }
+ },
+ "responses":{
+ "204":{
+ "description":"Success"
+ }
+ }
+ }
+ },
+ "/deviceTemplates": {
+ "get": {
+ "operationId": "DeviceTemplates_List",
+ "summary": "Get the list of device templates in an application",
+ "x-ms-examples": {
+ "List device templates": {
+ "$ref": "./examples/devicetemplates_list.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DeviceTemplateCollection"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/deviceTemplates/{device_template_id}": {
+ "get": {
+ "operationId": "DeviceTemplates_Get",
+ "summary": "Get a device template by ID",
+ "parameters": [
+ {
+ "$ref": "#/parameters/DeviceTemplateId"
+ }
+ ],
+ "x-ms-examples": {
+ "Get a device template by Id": {
+ "$ref": "./examples/devicetemplates_get.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DeviceTemplate"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "DeviceTemplates_Remove",
+ "summary": "Delete a device template",
+ "description": "Delete an existing device template by device ID.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/DeviceTemplateId"
+ }
+ ],
+ "x-ms-examples": {
+ "Delete a device template by Id": {
+ "$ref": "./examples/devicetemplates_delete.json"
+ }
+ },
+ "responses": {
+ "204": {
+ "description": "Success"
+ }
+ }
+ },
+ "put": {
+ "operationId": "DeviceTemplates_Set",
+ "summary": "Create or update a device template by ID",
+ "x-ms-examples": {
+ "Create a device template": {
+ "$ref": "./examples/devicetemplates_create.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/DeviceTemplateId"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Device template body.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DeviceTemplate"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DeviceTemplate"
+ }
+ }
+ }
+ }
+ },
+ "/deviceTemplates/{device_template_id}/merged": {
+ "get": {
+ "operationId": "DeviceTemplates_GetMerged",
+ "summary": "Get a merged device template by ID",
+ "parameters": [
+ {
+ "$ref": "#/parameters/DeviceTemplateId"
+ }
+ ],
+ "x-ms-examples": {
+ "Get a merged device template by Id": {
+ "$ref": "./examples/devicetemplates_get_merged.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DeviceTemplate"
+ }
+ }
+ }
+ }
+ },
+ "/deviceTemplates/{device_template_id}/devices": {
+ "get": {
+ "operationId": "DeviceTemplates_ListDevices",
+ "summary": "Get devices for a template",
+ "parameters": [
+ {
+ "$ref": "#/parameters/DeviceTemplateId"
+ }
+ ],
+ "x-ms-examples": {
+ "List devices associated to a device template": {
+ "$ref": "./examples/devices_list_by_template.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DeviceCollection"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/roles": {
+ "get": {
+ "operationId": "Roles_List",
+ "summary": "Get the list of roles in an application.",
+ "x-ms-examples": {
+ "List roles": {
+ "$ref": "./examples/roles_list.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/RoleCollection"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/roles/{role_id}": {
+ "get": {
+ "operationId": "Roles_Get",
+ "summary": "Get a role by ID.",
+ "parameters": [
+ {
+ "in": "path",
+ "name": "role_id",
+ "description": "Unique ID for the role.",
+ "type": "string",
+ "required": true
+ }
+ ],
+ "x-ms-examples": {
+ "Get role by Id": {
+ "$ref": "./examples/roles_get.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Role"
+ }
+ }
+ }
+ }
+ },
+ "/devices/{device_id}/cloudProperties": {
+ "get": {
+ "operationId": "Devices_GetCloudProperties",
+ "summary": "Get device cloud properties",
+ "description": "Get all cloud property values of a device by device ID.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/DeviceId"
+ }
+ ],
+ "x-ms-examples": {
+ "Get cloud properties": {
+ "$ref": "./examples/devices_cloudproperties_get.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DeviceCloudProperties"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "Devices_UpdateCloudProperties",
+ "summary": "Update device cloud properties",
+ "description": "Update all cloud property values of a device by device ID.",
+ "x-ms-examples": {
+ "Update cloud properties": {
+ "$ref": "./examples/devices_cloudproperties_update.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/DeviceId"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Device properties.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DeviceCloudProperties"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DeviceCloudProperties"
+ }
+ }
+ }
+ }
+ },
+ "/devices/{device_id}/components/{component_name}/commands/{command_name}": {
+ "get": {
+ "operationId": "Devices_GetCommandHistory",
+ "summary": "Get device command history",
+ "parameters": [
+ {
+ "$ref": "#/parameters/DeviceId"
+ },
+ {
+ "$ref": "#/parameters/ComponentName"
+ },
+ {
+ "in": "path",
+ "name": "command_name",
+ "description": "Name of this device command.",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true
+ }
+ ],
+ "x-ms-examples": {
+ "Get command history": {
+ "$ref": "./examples/devices_commandshistory_get.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DeviceCommandCollection"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ },
+ "post": {
+ "operationId": "Devices_ExecuteCommand",
+ "summary": "Execute a device command",
+ "description": "Execute a command on a device.",
+ "x-ms-examples": {
+ "Send command": {
+ "$ref": "./examples/devices_commands_send.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/DeviceId"
+ },
+ {
+ "$ref": "#/parameters/ComponentName"
+ },
+ {
+ "in": "path",
+ "name": "command_name",
+ "description": "Name of this device command.",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Device command body.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DeviceCommand"
+ }
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DeviceCommand"
+ }
+ }
+ }
+ }
+ },
+ "/devices/{device_id}/properties": {
+ "get": {
+ "operationId": "Devices_GetProperties",
+ "summary": "Get device properties",
+ "description": "Get all property values of a device by device ID.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/DeviceId"
+ }
+ ],
+ "x-ms-examples": {
+ "Get properties": {
+ "$ref": "./examples/devices_properties_get.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DeviceProperties"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "Devices_UpdateProperties",
+ "summary": "Update device properties",
+ "description": "Update all property values of a device by device ID.",
+ "x-ms-examples": {
+ "Update properties": {
+ "$ref": "./examples/devices_properties_update.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/DeviceId"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Device properties.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DeviceProperties"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DeviceProperties"
+ }
+ }
+ }
+ }
+ },
+ "/devices/{device_id}/components/{component_name}/properties": {
+ "get": {
+ "operationId": "Devices_GetComponentProperties",
+ "summary": "Get device properties for a specific component",
+ "parameters": [
+ {
+ "$ref": "#/parameters/DeviceId"
+ },
+ {
+ "$ref": "#/parameters/ComponentName"
+ }
+ ],
+ "x-ms-examples": {
+ "Get properties on components": {
+ "$ref": "./examples/devices_properties_components_get.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DeviceProperties"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "Devices_UpdateComponentProperties",
+ "summary": "Update device properties for a specific component",
+ "x-ms-examples": {
+ "Update properties on components": {
+ "$ref": "./examples/devices_properties_components_set.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/DeviceId"
+ },
+ {
+ "$ref": "#/parameters/ComponentName"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Device properties.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DeviceProperties"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DeviceProperties"
+ }
+ }
+ }
+ }
+ },
+ "/devices/{device_id}/credentials": {
+ "get": {
+ "operationId": "Devices_GetCredentials",
+ "summary": "Get device credentials",
+ "parameters": [
+ {
+ "$ref": "#/parameters/DeviceId"
+ }
+ ],
+ "x-ms-examples": {
+ "Get device credentials": {
+ "$ref": "./examples/devicecredentials_get.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DeviceCredentials"
+ }
+ }
+ }
+ }
+ },
+ "/devices/{device_id}/components/{component_name}/telemetry/{telemetry_name}": {
+ "get": {
+ "operationId": "Devices_GetTelemetryValue",
+ "summary": "Get device telemetry value",
+ "parameters": [
+ {
+ "$ref": "#/parameters/DeviceId"
+ },
+ {
+ "$ref": "#/parameters/ComponentName"
+ },
+ {
+ "in": "path",
+ "name": "telemetry_name",
+ "description": "Name of this device telemetry.",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true
+ }
+ ],
+ "x-ms-examples": {
+ "Get telemetry": {
+ "$ref": "./examples/devices_telemetry_get.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Value"
+ }
+ }
+ }
+ }
+ }
+ },
+ "parameters": {
+ "DeviceId": {
+ "in": "path",
+ "name": "device_id",
+ "description": "Unique ID of the device.",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true
+ },
+ "ComponentName": {
+ "in": "path",
+ "name": "component_name",
+ "description": "Name of the device component.",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true
+ },
+ "DeviceTemplateId": {
+ "in": "path",
+ "name": "device_template_id",
+ "description": "Unique ID of the device template.",
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "required": true
+ },
+ "Subdomain": {
+ "in": "path",
+ "name": "subdomain",
+ "description": "Application subdomain.",
+ "x-ms-parameter-location": "client",
+ "type": "string",
+ "required": true
+ },
+ "CentralDnsSuffixInPath": {
+ "name": "centralDnsSuffixInPath",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "default": "azureiotcentral.com",
+ "x-ms-skip-url-encoding": true,
+ "description": "The DNS suffix used as the base for all Azure Data Lake Analytics Job service requests.",
+ "x-ms-parameter-location": "client"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "x-ms-parameterized-host": {
+ "hostTemplate": "{subdomain}.{centralDnsSuffixInPath}",
+ "parameters": [
+ {
+ "$ref": "#/parameters/Subdomain"
+ },
+ {
+ "$ref": "#/parameters/CentralDnsSuffixInPath"
+ }
+ ]
+ }
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/iotcentralapps.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/iotcentralapps.json
new file mode 100644
index 000000000000..9c75c69e2873
--- /dev/null
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/iotcentralapps.json
@@ -0,0 +1,137 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "1.0.0",
+ "title": "Azure IoT Central",
+ "description": "Azure IoT Central is a service that makes it easy to connect, monitor, and manage your IoT devices at scale."
+ },
+ "host": "apps.azureiotcentral.com",
+ "basePath": "/api/preview",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "definitions": {
+ "Application": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique ID of the application.",
+ "type": "string",
+ "readOnly": true
+ },
+ "displayName": {
+ "description": "Display name of the application.",
+ "type": "string"
+ },
+ "subdomain": {
+ "description": "The URL subdomain of the application.",
+ "type": "string"
+ },
+ "host": {
+ "description": "The URL host of the application.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "subdomain",
+ "host"
+ ]
+ },
+ "ApplicationCollection": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The collection of applications.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Application"
+ }
+ }
+ },
+ "required": [
+ "value"
+ ]
+ }
+ },
+ "paths": {
+ "/applications": {
+ "get": {
+ "operationId": "Applications_List",
+ "summary": "Get the list of applications accessible to the signed-in user",
+
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ApplicationCollection"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "x-ms-examples": {
+ "List applications": {
+ "$ref": "./examples/application_list.json"
+ }
+ }
+ }
+ },
+ "/applications/{application_id}": {
+ "get": {
+ "operationId": "Applications_Get",
+ "summary": "Get an application by ID",
+ "parameters": [
+ {
+ "in": "path",
+ "name": "application_id",
+ "description": "Unique ID of the application.",
+ "type": "string",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Application"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get application": {
+ "$ref": "./examples/application_get.json"
+ }
+ }
+
+ }
+ }
+ },
+ "parameters": {
+ "Subdomain": {
+ "in": "path",
+ "name": "subdomain",
+ "description": "Application subdomain.",
+ "x-ms-parameter-location": "client",
+ "type": "string",
+ "required": true
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ }
+}
diff --git a/specification/iotcentral/data-plane/readme.md b/specification/iotcentral/data-plane/readme.md
new file mode 100644
index 000000000000..bbda97709416
--- /dev/null
+++ b/specification/iotcentral/data-plane/readme.md
@@ -0,0 +1,58 @@
+# IoT Central - API client generation
+
+> see https://aka.ms/autorest
+
+This is the AutoRest configuration file for MonitorClient.
+
+
+
+---
+## Getting Started
+To build the SDK for MonitorClient, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
+
+> `autorest`
+
+To see additional help and options, run:
+
+> `autorest --help`
+---
+
+## Configuration
+These are the global settings for the IoT Central API.
+
+``` yaml
+openapi-type: data-plane
+tag: package-2019-10-28-preview
+```
+
+### Tag: package-2019-10-28-preview
+
+These settings apply only when `--tag=package-2019-10-28-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-10-28-preview'
+input-file:
+- Microsoft.IoTCentral/preview/2019-10-28-preview/iotcentral.json
+- Microsoft.IoTCentral/preview/2019-10-28-preview/iotcentralapps.json
+```
+
+```yaml
+version: latest
+clear-output-folder: true
+
+# azure-validator: true
+semantic-validator: true
+
+azure-arm: true
+add-credentials: true
+generate-metadata: true
+license-header: MICROSOFT_MIT_NO_VERSION
+
+csharp:
+ namespace: Microsoft.Azure.IotCentral
+ output-folder: client/csharp/Microsoft.Azure.IotCentral
+
+nodejs:
+ package-name: azure-iotcentral
+ package-version: 1.0.0
+ output-folder: client/nodejs
+```
\ No newline at end of file
From a441faaf5bc9f5f73cbdeae4ebb55b830cd53da4 Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Fri, 25 Oct 2019 23:57:55 +0000
Subject: [PATCH 078/189] regenerated all-api-versions
---
specification/iotcentral/data-plane/readme.md | 27 ++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/specification/iotcentral/data-plane/readme.md b/specification/iotcentral/data-plane/readme.md
index bbda97709416..3927cea53f3b 100644
--- a/specification/iotcentral/data-plane/readme.md
+++ b/specification/iotcentral/data-plane/readme.md
@@ -55,4 +55,29 @@ nodejs:
package-name: azure-iotcentral
package-version: 1.0.0
output-folder: client/nodejs
-```
\ No newline at end of file
+```
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.IoTCentral/preview/2019-10-28-preview/iotcentral.json
+ - $(this-folder)/Microsoft.IoTCentral/preview/2019-10-28-preview/iotcentralapps.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
From 08800e55784acd375627f6f2f3ecaddbbbc41c3c Mon Sep 17 00:00:00 2001
From: Rohit Mahamuni <44378577+romahamu@users.noreply.github.com>
Date: Sun, 27 Oct 2019 09:18:48 -0400
Subject: [PATCH 079/189] Microsoft Azure StorageCache - Add 204 response code
to cache flush, start, stop and upgrade operation. (#7584)
---
.../stable/2019-11-01/examples/Caches_Flush.json | 3 +++
.../stable/2019-11-01/examples/Caches_Start.json | 3 +++
.../stable/2019-11-01/examples/Caches_Stop.json | 3 +++
.../examples/Caches_UpgradeFirmware.json | 3 +++
.../stable/2019-11-01/storagecache.json | 16 ++++++++++++++++
5 files changed, 28 insertions(+)
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Flush.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Flush.json
index 2e8aa3d9dd6c..b65bea0defb3 100644
--- a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Flush.json
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Flush.json
@@ -11,6 +11,9 @@
},
"202": {
"body": ""
+ },
+ "204": {
+ "body": ""
}
}
}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Start.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Start.json
index 2e8aa3d9dd6c..b65bea0defb3 100644
--- a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Start.json
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Start.json
@@ -11,6 +11,9 @@
},
"202": {
"body": ""
+ },
+ "204": {
+ "body": ""
}
}
}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Stop.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Stop.json
index 2e8aa3d9dd6c..b65bea0defb3 100644
--- a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Stop.json
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_Stop.json
@@ -11,6 +11,9 @@
},
"202": {
"body": ""
+ },
+ "204": {
+ "body": ""
}
}
}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_UpgradeFirmware.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_UpgradeFirmware.json
index 0845633156e3..52762cf6358c 100644
--- a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_UpgradeFirmware.json
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/examples/Caches_UpgradeFirmware.json
@@ -11,6 +11,9 @@
},
"202": {
"body": ""
+ },
+ "204": {
+ "body": ""
}
}
}
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/storagecache.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/storagecache.json
index a9ba627bbd52..c2be5dd6a877 100644
--- a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/storagecache.json
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/storagecache.json
@@ -532,6 +532,10 @@
"description": "Cache has started flushing to its Storage Target(s). Poll the Cache's state field to monitor.",
"schema": {}
},
+ "204": {
+ "description": "Cache flushed.",
+ "schema": {}
+ },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
@@ -589,6 +593,10 @@
"description": "Cache has started the transition to Active. Poll the Cache's state field to monitor.",
"schema": {}
},
+ "204": {
+ "description": "Restarted VMs associated with the cache.",
+ "schema": {}
+ },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
@@ -646,6 +654,10 @@
"description": "Cache has started the transition to Stopped. Poll the Cache's state field to monitor.",
"schema": {}
},
+ "204": {
+ "description": "Stopped VMs associated with the cache.",
+ "schema": {}
+ },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
@@ -967,6 +979,10 @@
"description": "Cache has started the upgrade. Poll the Cache's state field to monitor.",
"schema": {}
},
+ "204": {
+ "description": "Cache firmware is up to date.",
+ "schema": {}
+ },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
From 49756f5c09cefcf004edba05f07757ebfea83593 Mon Sep 17 00:00:00 2001
From: olterner <53471777+olterner@users.noreply.github.com>
Date: Mon, 28 Oct 2019 17:07:08 +0200
Subject: [PATCH 080/189] Add support for None for MSI RP (#7600)
* Add support for None for MSI RP
* Fix comment
---
.../preview/2019-08-01-preview/Clusters.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/Clusters.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/Clusters.json
index 19d29fd98e50..80c78abf7074 100644
--- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/Clusters.json
+++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2019-08-01-preview/Clusters.json
@@ -486,7 +486,8 @@
"type": "string",
"description": "The identity type.",
"enum": [
- "SystemAssigned"
+ "SystemAssigned",
+ "None"
],
"x-ms-enum": {
"name": "IdentityType",
From b703e8893d49f7b2e5d4851c0e1d84f44585f526 Mon Sep 17 00:00:00 2001
From: misha
Date: Mon, 28 Oct 2019 17:08:49 +0200
Subject: [PATCH 081/189] Update Microsoft.VMwareCloudSimple provider schema to
44 release of Cloudsimple (#7497)
---
custom-words.txt | 1 +
.../examples/GetCustomizationPolicy.json | 45 ++
.../examples/ListCustomizationPolicies.json | 80 +++
.../stable/2019-04-01/vmwarecloudsimple.json | 486 ++++++++++++++++--
4 files changed, 568 insertions(+), 44 deletions(-)
create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetCustomizationPolicy.json
create mode 100644 specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListCustomizationPolicies.json
diff --git a/custom-words.txt b/custom-words.txt
index 0780db99c807..174f489a97d3 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -983,6 +983,7 @@ osdisk
osdiskforlinuxsimple
osdiskforwindowssimple
OSMAM
+OSNIC
outputdirectoryid
overprovision
overprovisioned
diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetCustomizationPolicy.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetCustomizationPolicy.json
new file mode 100644
index 000000000000..b7a1db92aa33
--- /dev/null
+++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetCustomizationPolicy.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2019-04-01",
+ "subscriptionId": "{subscription-id}",
+ "regionId": "myResourceGroup",
+ "pcName": "myPrivateCloud",
+ "customizationPolicyName": "Linux1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/b85c4986-56ae-4ebd-b5c5-a1595ca3dab1/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/foobar/customizationpolicies/Linux1",
+ "location": "westus2",
+ "name": "Linux1",
+ "properties": {
+ "privateCloudId": "/subscriptions/b85c4986-56ae-4ebd-b5c5-a1595ca3dab1/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/foobar",
+ "specification": {
+ "identity": {
+ "hostName": {
+ "type": "USER_DEFINED"
+ },
+ "type": "LINUX",
+ "userData": {
+ "isPasswordPredefined": false
+ }
+ },
+ "nicSettings": [
+ {
+ "adapter": {
+ "gateway": null,
+ "ip": {
+ "type": "USER_DEFINED"
+ }
+ }
+ }
+ ]
+ },
+ "type": "LINUX",
+ "version": "1568102823"
+ },
+ "type": "Microsoft.VMwareCloudSimple/customizationPolicies"
+ }
+ }
+ }
+}
diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListCustomizationPolicies.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListCustomizationPolicies.json
new file mode 100644
index 000000000000..1819483e03f5
--- /dev/null
+++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListCustomizationPolicies.json
@@ -0,0 +1,80 @@
+{
+ "parameters": {
+ "api-version": "2019-04-01",
+ "subscriptionId": "{subscription-id}",
+ "regionId": "myResourceGroup",
+ "pcName": "myPrivateCloud"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/b85c4986-56ae-4ebd-b5c5-a1595ca3dab1/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/foobar/customizationpolicies/Linux1",
+ "location": "westus2",
+ "name": "Linux1",
+ "properties": {
+ "privateCloudId": "/subscriptions/b85c4986-56ae-4ebd-b5c5-a1595ca3dab1/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/foobar",
+ "specification": {
+ "identity": {
+ "hostName": {
+ "type": "USER_DEFINED"
+ },
+ "type": "LINUX",
+ "userData": {
+ "isPasswordPredefined": false
+ }
+ },
+ "nicSettings": [
+ {
+ "adapter": {
+ "gateway": null,
+ "ip": {
+ "type": "USER_DEFINED"
+ }
+ }
+ }
+ ]
+ },
+ "type": "LINUX",
+ "version": "1568102823"
+ },
+ "type": "Microsoft.VMwareCloudSimple/customizationPolicies"
+ },
+ {
+ "id": "/subscriptions/b85c4986-56ae-4ebd-b5c5-a1595ca3dab1/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/foobar/customizationpolicies/Linux2",
+ "location": "westus2",
+ "name": "Linux2",
+ "properties": {
+ "privateCloudId": "/subscriptions/b85c4986-56ae-4ebd-b5c5-a1595ca3dab1/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/foobar",
+ "specification": {
+ "identity": {
+ "hostName": {
+ "type": "VIRTUAL_MACHINE_NAME"
+ },
+ "type": "LINUX",
+ "userData": {
+ "isPasswordPredefined": false
+ }
+ },
+ "nicSettings": [
+ {
+ "adapter": {
+ "gateway": null,
+ "ip": {
+ "type": "DHCP_IP"
+ }
+ }
+ }
+ ]
+ },
+ "type": "LINUX",
+ "version": "1568102846"
+ },
+ "type": "Microsoft.VMwareCloudSimple/customizationPolicies"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/vmwarecloudsimple.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/vmwarecloudsimple.json
index 787249b005df..9c3d4d70da4b 100644
--- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/vmwarecloudsimple.json
+++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/vmwarecloudsimple.json
@@ -64,7 +64,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -129,7 +129,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -194,7 +194,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -246,7 +246,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -313,7 +313,7 @@
"description": "No Content"
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
},
@@ -368,7 +368,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -420,7 +420,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -433,6 +433,114 @@
}
}
},
+ "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/customizationPolicies": {
+ "get": {
+ "description": "Returns list of customization policies in region for private cloud",
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "customizationPolicies"
+ ],
+ "summary": "Implements get of customization policies list",
+ "operationId": "customizationPolicies_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/regionId"
+ },
+ {
+ "$ref": "#/parameters/pcName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "type": "string",
+ "description": "The filter to apply on the list operation. only type is allowed here as a filter e.g. $filter=type eq 'xxxx'",
+ "name": "$filter",
+ "in": "query"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "successful operation",
+ "schema": {
+ "$ref": "#/definitions/CustomizationPoliciesListResponse"
+ }
+ },
+ "default": {
+ "description": "General Error",
+ "schema": {
+ "$ref": "#/definitions/CSRPError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ListCustomizationPolicies": {
+ "$ref": "./examples/ListCustomizationPolicies.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/customizationPolicies/{customizationPolicyName}": {
+ "get": {
+ "description": "Returns customization policy by its name",
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "customizationPolicies"
+ ],
+ "summary": "Implements get of customization policy",
+ "operationId": "customizationPolicies_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/regionId"
+ },
+ {
+ "$ref": "#/parameters/pcName"
+ },
+ {
+ "type": "string",
+ "description": "customization policy name",
+ "name": "customizationPolicyName",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "successful operation",
+ "schema": {
+ "$ref": "#/definitions/CustomizationPolicy"
+ }
+ },
+ "default": {
+ "description": "General Error",
+ "schema": {
+ "$ref": "#/definitions/CSRPError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetCustomizationPolicy": {
+ "$ref": "./examples/GetCustomizationPolicy.json"
+ }
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/resourcePools": {
"get": {
"description": "Returns list of resource pools in region for private cloud",
@@ -466,7 +574,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -522,7 +630,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -575,7 +683,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -634,7 +742,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -687,7 +795,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -746,7 +854,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -795,7 +903,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -860,7 +968,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -928,7 +1036,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -966,7 +1074,7 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "pattern": "^[-a-zA-Z0-9]+$",
+ "pattern": "^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$",
"type": "string",
"description": "dedicated cloud node name",
"name": "dedicatedCloudNodeName",
@@ -985,7 +1093,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -1021,7 +1129,7 @@
"$ref": "#/parameters/referer"
},
{
- "pattern": "^[-a-zA-Z0-9]+$",
+ "pattern": "^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$",
"type": "string",
"description": "dedicated cloud node name",
"name": "dedicatedCloudNodeName",
@@ -1060,7 +1168,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -1091,7 +1199,7 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "pattern": "^[-a-zA-Z0-9]+$",
+ "pattern": "^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$",
"type": "string",
"description": "dedicated cloud node name",
"name": "dedicatedCloudNodeName",
@@ -1107,7 +1215,7 @@
"description": "no content. resource does not exist and the request is well formed"
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
},
@@ -1146,7 +1254,7 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "pattern": "^[-a-zA-Z0-9]+$",
+ "pattern": "^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$",
"type": "string",
"description": "dedicated cloud node name",
"name": "dedicatedCloudNodeName",
@@ -1174,7 +1282,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -1239,7 +1347,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -1295,7 +1403,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -1328,7 +1436,7 @@
"$ref": "#/parameters/resourceGroupName"
},
{
- "pattern": "^[-a-zA-Z0-9]+$",
+ "pattern": "^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$",
"type": "string",
"description": "dedicated cloud Service name",
"name": "dedicatedCloudServiceName",
@@ -1356,7 +1464,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -1401,7 +1509,7 @@
"description": "no content. resource does not exist and the request is well formed"
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
},
@@ -1468,7 +1576,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -1533,7 +1641,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -1589,7 +1697,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -1625,7 +1733,7 @@
"$ref": "#/parameters/referer"
},
{
- "pattern": "^[-a-zA-Z0-9]+$",
+ "pattern": "^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$",
"type": "string",
"description": "virtual machine name",
"name": "virtualMachineName",
@@ -1669,7 +1777,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -1732,7 +1840,7 @@
"description": "no content. resource does not exist and the request is well formed"
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
},
@@ -1799,7 +1907,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
}
@@ -1864,7 +1972,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
},
@@ -1959,7 +2067,7 @@
}
},
"default": {
- "description": "BadRequest",
+ "description": "General Error",
"schema": {
"$ref": "#/definitions/CSRPError"
},
@@ -2160,6 +2268,207 @@
}
}
},
+ "CustomizationHostName": {
+ "description": "Host name model",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Hostname",
+ "type": "string"
+ },
+ "type": {
+ "description": "Type of host name",
+ "type": "string",
+ "enum": [
+ "USER_DEFINED",
+ "PREFIX_BASED",
+ "FIXED",
+ "VIRTUAL_MACHINE_NAME",
+ "CUSTOM_NAME"
+ ]
+ }
+ }
+ },
+ "CustomizationIPAddress": {
+ "type": "object",
+ "properties": {
+ "argument": {
+ "description": "Argument when Custom ip type is selected",
+ "type": "string"
+ },
+ "ipAddress": {
+ "description": "Defined Ip Address when Fixed ip type is selected",
+ "type": "string"
+ },
+ "type": {
+ "description": "Customization Specification ip type",
+ "type": "string",
+ "enum": [
+ "CUSTOM",
+ "DHCP_IP",
+ "FIXED_IP",
+ "USER_DEFINED"
+ ]
+ }
+ }
+ },
+ "CustomizationIPSettings": {
+ "type": "object",
+ "properties": {
+ "gateway": {
+ "description": "The list of gateways",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "ip": {
+ "description": "Ip address customization settings",
+ "$ref": "#/definitions/CustomizationIPAddress"
+ },
+ "subnetMask": {
+ "description": "Adapter subnet mask",
+ "type": "string"
+ }
+ }
+ },
+ "CustomizationIdentity": {
+ "type": "object",
+ "properties": {
+ "data": {
+ "description": "Windows Text Identity. Prepared data",
+ "type": "string"
+ },
+ "hostName": {
+ "description": "Virtual machine host name settings",
+ "$ref": "#/definitions/CustomizationHostName"
+ },
+ "type": {
+ "description": "Identity type",
+ "type": "string",
+ "enum": [
+ "WINDOWS_TEXT",
+ "WINDOWS",
+ "LINUX"
+ ]
+ },
+ "userData": {
+ "description": "Windows Identity. User data customization",
+ "type": "object",
+ "properties": {
+ "isPasswordPredefined": {
+ "description": "Is password predefined in customization policy",
+ "type": "boolean",
+ "default": false
+ }
+ }
+ }
+ }
+ },
+ "CustomizationNicSetting": {
+ "type": "object",
+ "properties": {
+ "adapter": {
+ "description": "The list of adapters' settings",
+ "$ref": "#/definitions/CustomizationIPSettings"
+ },
+ "macAddress": {
+ "description": "NIC mac address",
+ "type": "string"
+ }
+ }
+ },
+ "CustomizationPoliciesListResponse": {
+ "description": "List of customization polices response model",
+ "properties": {
+ "nextLink": {
+ "description": "Link for next list of the Customization policy",
+ "type": "string"
+ },
+ "value": {
+ "description": "List of the customization policies",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CustomizationPolicy"
+ }
+ }
+ }
+ },
+ "CustomizationPolicy": {
+ "description": "The virtual machine customization policy",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Customization policy azure id",
+ "type": "string"
+ },
+ "location": {
+ "description": "Azure region",
+ "type": "string"
+ },
+ "name": {
+ "description": "Customization policy name",
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "description": "Customization Policy properties",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/CustomizationPolicyProperties"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "CustomizationPolicyProperties": {
+ "description": "The properties of Customization policy",
+ "type": "object",
+ "properties": {
+ "description": {
+ "description": "Policy description",
+ "type": "string"
+ },
+ "privateCloudId": {
+ "description": "The Private cloud id",
+ "type": "string"
+ },
+ "specification": {
+ "description": "Detailed customization policy specification",
+ "$ref": "#/definitions/CustomizationSpecification"
+ },
+ "type": {
+ "description": "The type of customization (Linux or Windows)",
+ "type": "string",
+ "enum": [
+ "LINUX",
+ "WINDOWS"
+ ]
+ },
+ "version": {
+ "description": "Policy version",
+ "type": "string"
+ }
+ }
+ },
+ "CustomizationSpecification": {
+ "description": "The specification for Customization Policy",
+ "type": "object",
+ "properties": {
+ "identity": {
+ "description": "Customization Identity. It contains data about user and hostname",
+ "$ref": "#/definitions/CustomizationIdentity"
+ },
+ "nicSettings": {
+ "description": "Network interface settings",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CustomizationNicSetting"
+ }
+ }
+ }
+ },
"DedicatedCloudNode": {
"description": "Dedicated cloud node model",
"required": [
@@ -2182,7 +2491,7 @@
"name": {
"description": "{dedicatedCloudNodeName}",
"type": "string",
- "pattern": "^[-a-zA-Z0-9]+$",
+ "pattern": "^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$",
"readOnly": true
},
"properties": {
@@ -2330,7 +2639,7 @@
"name": {
"description": "{dedicatedCloudServiceName}",
"type": "string",
- "pattern": "^[-a-zA-Z0-9]+$",
+ "pattern": "^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$",
"readOnly": true
},
"properties": {
@@ -2393,14 +2702,91 @@
},
"nodes": {
"description": "total nodes purchased",
- "type": "integer"
+ "type": "integer",
+ "readOnly": true
},
"serviceURL": {
"description": "link to a service management web portal",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "GuestOSCustomization": {
+ "description": "Guest OS Customization properties",
+ "properties": {
+ "dnsServers": {
+ "description": "List of dns servers to use",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IPV4Address"
+ }
+ },
+ "hostName": {
+ "description": "Virtual Machine hostname",
+ "type": "string"
+ },
+ "password": {
+ "description": "Password for login",
+ "type": "string"
+ },
+ "policyId": {
+ "description": "id of customization policy",
"type": "string"
+ },
+ "username": {
+ "description": "Username for login",
+ "type": "string"
+ }
+ }
+ },
+ "GuestOSNICCustomization": {
+ "description": "Guest OS nic customization",
+ "properties": {
+ "allocation": {
+ "description": "IP address allocation method",
+ "type": "string",
+ "enum": [
+ "static",
+ "dynamic"
+ ]
+ },
+ "dnsServers": {
+ "description": "List of dns servers to use",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IPV4Address"
+ }
+ },
+ "gateway": {
+ "description": "Gateway addresses assigned to nic",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IPV4Address"
+ }
+ },
+ "ipAddress": {
+ "description": "Static ip address for nic",
+ "$ref": "#/definitions/IPV4Address"
+ },
+ "mask": {
+ "description": "Network mask for nic",
+ "$ref": "#/definitions/IPV4Address"
+ },
+ "primaryWinsServer": {
+ "description": "primary WINS server for Windows",
+ "$ref": "#/definitions/IPV4Address"
+ },
+ "secondaryWinsServer": {
+ "description": "secondary WINS server for Windows",
+ "$ref": "#/definitions/IPV4Address"
}
}
},
+ "IPV4Address": {
+ "type": "string",
+ "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])[.]){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"
+ },
"OperationError": {
"description": "Operation error model",
"properties": {
@@ -2949,7 +3335,7 @@
"name": {
"description": "{virtualMachineName}",
"type": "string",
- "pattern": "^[-a-zA-Z0-9]+$",
+ "pattern": "^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$",
"readOnly": true
},
"properties": {
@@ -3005,6 +3391,10 @@
},
"readOnly": true
},
+ "customization": {
+ "description": "Virtual machine properties",
+ "$ref": "#/definitions/GuestOSCustomization"
+ },
"disks": {
"description": "The list of Virtual Disks",
"type": "array",
@@ -3057,7 +3447,7 @@
"type": "integer"
},
"password": {
- "description": "Password for login",
+ "description": "Password for login. Deprecated - use customization property",
"type": "string"
},
"privateCloudId": {
@@ -3100,7 +3490,7 @@
"type": "string"
},
"username": {
- "description": "Username for login",
+ "description": "Username for login. Deprecated - use customization property",
"type": "string"
},
"vSphereNetworks": {
@@ -3339,6 +3729,10 @@
"network"
],
"properties": {
+ "customization": {
+ "description": "guest OS customization for nic",
+ "$ref": "#/definitions/GuestOSNICCustomization"
+ },
"ipAddresses": {
"description": "NIC ip address",
"type": "array",
@@ -3470,6 +3864,10 @@
{
"description": "operations related to availability and usage",
"name": "AvailabilityUsages"
+ },
+ {
+ "description": "Customization policies operations",
+ "name": "CustomizationPolicies"
}
]
}
From 6ba8e6e60bd1873c672b7994c0a5dc028d6b8eb5 Mon Sep 17 00:00:00 2001
From: nachakra <40373275+nachakra@users.noreply.github.com>
Date: Mon, 28 Oct 2019 13:38:01 -0700
Subject: [PATCH 082/189] Multi-origin support for CDN (#7604)
* Publish 2019-04-15 API version to make reviewing new API changes easier
* Changes for new API version 2019-12-31
* Update readme.md
* Correct spellCheck errors
---
.../Microsoft.Cdn/stable/2019-12-31/cdn.json | 5360 +++++++++++++++++
.../examples/CheckNameAvailability.json | 18 +
...CheckNameAvailabilityWithSubscription.json | 19 +
.../examples/CustomDomains_Create.json | 62 +
.../examples/CustomDomains_Delete.json | 29 +
.../CustomDomains_DisableCustomHttps.json | 28 +
...tomDomains_EnableCustomHttpsUsingBYOC.json | 43 +
...CustomHttpsUsingCDNManagedCertificate.json | 38 +
.../examples/CustomDomains_Get.json | 27 +
.../CustomDomains_ListByEndpoint.json | 30 +
.../2019-12-31/examples/EdgeNodes_List.json | 107 +
.../2019-12-31/examples/Endpoints_Create.json | 551 ++
.../2019-12-31/examples/Endpoints_Delete.json | 13 +
.../2019-12-31/examples/Endpoints_Get.json | 72 +
.../examples/Endpoints_ListByProfile.json | 79 +
.../examples/Endpoints_ListResourceUsage.json | 29 +
.../examples/Endpoints_LoadContent.json | 18 +
.../examples/Endpoints_PurgeContent.json | 18 +
.../2019-12-31/examples/Endpoints_Start.json | 83 +
.../2019-12-31/examples/Endpoints_Stop.json | 83 +
.../2019-12-31/examples/Endpoints_Update.json | 142 +
.../Endpoints_ValidateCustomDomain.json | 21 +
.../2019-12-31/examples/Operations_List.json | 93 +
.../examples/OriginGroups_Create.json | 113 +
.../examples/OriginGroups_Delete.json | 14 +
.../2019-12-31/examples/OriginGroups_Get.json | 45 +
.../examples/OriginGroups_ListByEndpoint.json | 42 +
.../examples/OriginGroups_Update.json | 74 +
.../2019-12-31/examples/Origins_Create.json | 93 +
.../2019-12-31/examples/Origins_Delete.json | 14 +
.../2019-12-31/examples/Origins_Get.json | 34 +
.../examples/Origins_ListByEndpoint.json | 37 +
.../2019-12-31/examples/Origins_Update.json | 69 +
.../2019-12-31/examples/Profiles_Create.json | 64 +
.../2019-12-31/examples/Profiles_Delete.json | 12 +
.../examples/Profiles_GenerateSsoUri.json | 15 +
.../2019-12-31/examples/Profiles_Get.json | 26 +
.../2019-12-31/examples/Profiles_List.json | 42 +
.../Profiles_ListByResourceGroup.json | 43 +
.../examples/Profiles_ListResourceUsage.json | 22 +
...ofiles_ListSupportedOptimizationTypes.json | 18 +
.../2019-12-31/examples/Profiles_Update.json | 51 +
.../examples/ResourceUsage_List.json | 20 +
.../2019-12-31/examples/ValidateProbe.json | 18 +
specification/cdn/resource-manager/readme.md | 11 +-
45 files changed, 7839 insertions(+), 1 deletion(-)
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/cdn.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CheckNameAvailability.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CheckNameAvailabilityWithSubscription.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_Create.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_Delete.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_DisableCustomHttps.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_Get.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_ListByEndpoint.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/EdgeNodes_List.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Create.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Delete.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Get.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_ListByProfile.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_ListResourceUsage.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_LoadContent.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_PurgeContent.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Start.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Stop.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Update.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_ValidateCustomDomain.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Operations_List.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Create.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Delete.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Get.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_ListByEndpoint.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Update.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Create.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Delete.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Get.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_ListByEndpoint.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Update.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_Create.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_Delete.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_GenerateSsoUri.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_Get.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_List.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_ListByResourceGroup.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_ListResourceUsage.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_ListSupportedOptimizationTypes.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_Update.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/ResourceUsage_List.json
create mode 100644 specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/ValidateProbe.json
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/cdn.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/cdn.json
new file mode 100644
index 000000000000..32c1c764eb85
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/cdn.json
@@ -0,0 +1,5360 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-12-31",
+ "title": "CdnManagementClient",
+ "description": "Use these APIs to manage Azure CDN resources through the Azure Resource Manager. You must make sure that requests made to these resources are secure."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Cdn/profiles": {
+ "get": {
+ "tags": [
+ "Profiles"
+ ],
+ "description": "Lists all of the CDN profiles within an Azure subscription.",
+ "operationId": "Profiles_List",
+ "x-ms-examples": {
+ "Profiles_List": {
+ "$ref": "./examples/Profiles_List.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ProfileListResult"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles": {
+ "get": {
+ "tags": [
+ "Profiles"
+ ],
+ "description": "Lists all of the CDN profiles within a resource group.",
+ "operationId": "Profiles_ListByResourceGroup",
+ "x-ms-examples": {
+ "Profiles_ListByResourceGroup": {
+ "$ref": "./examples/Profiles_ListByResourceGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ProfileListResult"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}": {
+ "get": {
+ "tags": [
+ "Profiles"
+ ],
+ "description": "Gets a CDN profile with the specified profile name under the specified subscription and resource group.",
+ "operationId": "Profiles_Get",
+ "x-ms-examples": {
+ "Profiles_Get": {
+ "$ref": "./examples/Profiles_Get.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Profile"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Profiles"
+ ],
+ "description": "Creates a new CDN profile with a profile name under the specified subscription and resource group.",
+ "operationId": "Profiles_Create",
+ "x-ms-examples": {
+ "Profiles_Create": {
+ "$ref": "./examples/Profiles_Create.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "description": "Profile properties needed to create a new profile.",
+ "in": "body",
+ "name": "profile",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Profile"
+ }
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Profile"
+ }
+ },
+ "201": {
+ "description": "Created. The request has been fulfilled and a new profile has been created.",
+ "schema": {
+ "$ref": "#/definitions/Profile"
+ }
+ },
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/Profile"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Profiles"
+ ],
+ "description": "Updates an existing CDN profile with the specified profile name under the specified subscription and resource group.",
+ "operationId": "Profiles_Update",
+ "x-ms-examples": {
+ "Profiles_Update": {
+ "$ref": "./examples/Profiles_Update.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "profileUpdateParameters",
+ "in": "body",
+ "description": "Profile properties needed to update an existing profile.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ProfileUpdateParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Profile"
+ }
+ },
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/Profile"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "Profiles"
+ ],
+ "description": "Deletes an existing CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom domains.",
+ "operationId": "Profiles_Delete",
+ "x-ms-examples": {
+ "Profiles_Delete": {
+ "$ref": "./examples/Profiles_Delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "No Content. The request has been accepted but the profile was not found."
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/generateSsoUri": {
+ "post": {
+ "tags": [
+ "Profiles"
+ ],
+ "description": "Generates a dynamic SSO URI used to sign in to the CDN supplemental portal. Supplemental portal is used to configure advanced feature capabilities that are not yet available in the Azure portal, such as core reports in a standard profile; rules engine, advanced HTTP reports, and real-time stats and alerts in a premium profile. The SSO URI changes approximately every 10 minutes.",
+ "operationId": "Profiles_GenerateSsoUri",
+ "x-ms-examples": {
+ "Profiles_GenerateSsoUri": {
+ "$ref": "./examples/Profiles_GenerateSsoUri.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/SsoUri"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getSupportedOptimizationTypes": {
+ "post": {
+ "tags": [
+ "Profiles"
+ ],
+ "description": "Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values.",
+ "operationId": "Profiles_ListSupportedOptimizationTypes",
+ "x-ms-examples": {
+ "Profiles_ListSupportedOptimizationTypes": {
+ "$ref": "./examples/Profiles_ListSupportedOptimizationTypes.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/SupportedOptimizationTypesListResult"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/checkResourceUsage": {
+ "post": {
+ "tags": [
+ "Profiles"
+ ],
+ "description": "Checks the quota and actual usage of endpoints under the given CDN profile.",
+ "operationId": "Profiles_ListResourceUsage",
+ "x-ms-examples": {
+ "Profiles_ListResourceUsage": {
+ "$ref": "./examples/Profiles_ListResourceUsage.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ResourceUsageListResult"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints": {
+ "get": {
+ "tags": [
+ "Endpoints"
+ ],
+ "description": "Lists existing CDN endpoints.",
+ "operationId": "Endpoints_ListByProfile",
+ "x-ms-examples": {
+ "Endpoints_ListByProfile": {
+ "$ref": "./examples/Endpoints_ListByProfile.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/EndpointListResult"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}": {
+ "get": {
+ "tags": [
+ "Endpoints"
+ ],
+ "description": "Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.",
+ "operationId": "Endpoints_Get",
+ "x-ms-examples": {
+ "Endpoints_Get": {
+ "$ref": "./examples/Endpoints_Get.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Endpoint"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Endpoints"
+ ],
+ "description": "Creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.",
+ "operationId": "Endpoints_Create",
+ "x-ms-examples": {
+ "Endpoints_Create": {
+ "$ref": "./examples/Endpoints_Create.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpoint",
+ "in": "body",
+ "description": "Endpoint properties",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Endpoint"
+ }
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Endpoint"
+ }
+ },
+ "201": {
+ "description": "Created. The request has been fulfilled and a new endpoint has been created.",
+ "schema": {
+ "$ref": "#/definitions/Endpoint"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/Endpoint"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Endpoints"
+ ],
+ "description": "Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update custom domains, use the Update Custom Domain operation.",
+ "operationId": "Endpoints_Update",
+ "x-ms-examples": {
+ "Endpoints_Update": {
+ "$ref": "./examples/Endpoints_Update.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointUpdateProperties",
+ "in": "body",
+ "description": "Endpoint update properties",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/EndpointUpdateParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Endpoint"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously",
+ "schema": {
+ "$ref": "#/definitions/Endpoint"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "Endpoints"
+ ],
+ "description": "Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.",
+ "operationId": "Endpoints_Delete",
+ "x-ms-examples": {
+ "Endpoints_Delete": {
+ "$ref": "./examples/Endpoints_Delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "No Content. The request has been accepted but the endpoint was not found."
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/start": {
+ "post": {
+ "tags": [
+ "Endpoints"
+ ],
+ "description": "Starts an existing CDN endpoint that is on a stopped state.",
+ "operationId": "Endpoints_Start",
+ "x-ms-examples": {
+ "Endpoints_Start": {
+ "$ref": "./examples/Endpoints_Start.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Endpoint"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/Endpoint"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/stop": {
+ "post": {
+ "tags": [
+ "Endpoints"
+ ],
+ "description": "Stops an existing running CDN endpoint.",
+ "operationId": "Endpoints_Stop",
+ "x-ms-examples": {
+ "Endpoints_Stop": {
+ "$ref": "./examples/Endpoints_Stop.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Endpoint"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/Endpoint"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/purge": {
+ "post": {
+ "tags": [
+ "Endpoints"
+ ],
+ "description": "Removes a content from CDN.",
+ "operationId": "Endpoints_PurgeContent",
+ "x-ms-examples": {
+ "Endpoints_PurgeContent": {
+ "$ref": "./examples/Endpoints_PurgeContent.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "contentFilePaths",
+ "in": "body",
+ "description": "The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and files in the directory.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PurgeParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/load": {
+ "post": {
+ "tags": [
+ "Endpoints"
+ ],
+ "description": "Pre-loads a content to CDN. Available for Verizon Profiles.",
+ "operationId": "Endpoints_LoadContent",
+ "x-ms-examples": {
+ "Endpoints_LoadContent": {
+ "$ref": "./examples/Endpoints_LoadContent.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "contentFilePaths",
+ "in": "body",
+ "description": "The path to the content to be loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a single file ",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/LoadParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/validateCustomDomain": {
+ "post": {
+ "tags": [
+ "Endpoints"
+ ],
+ "description": "Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.",
+ "operationId": "Endpoints_ValidateCustomDomain",
+ "x-ms-examples": {
+ "Endpoints_ValidateCustomDomain": {
+ "$ref": "./examples/Endpoints_ValidateCustomDomain.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "customDomainProperties",
+ "in": "body",
+ "description": "Custom domain to be validated.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ValidateCustomDomainInput"
+ }
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ValidateCustomDomainOutput"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/checkResourceUsage": {
+ "post": {
+ "tags": [
+ "Endpoints"
+ ],
+ "description": "Checks the quota and usage of geo filters and custom domains under the given endpoint.",
+ "operationId": "Endpoints_ListResourceUsage",
+ "x-ms-examples": {
+ "Endpoints_ListResourceUsage": {
+ "$ref": "./examples/Endpoints_ListResourceUsage.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ResourceUsageListResult"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins": {
+ "get": {
+ "tags": [
+ "Origins"
+ ],
+ "description": "Lists all of the existing origins within an endpoint.",
+ "operationId": "Origins_ListByEndpoint",
+ "x-ms-examples": {
+ "Origins_ListByEndpoint": {
+ "$ref": "./examples/Origins_ListByEndpoint.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/OriginListResult"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/origins/{originName}": {
+ "get": {
+ "tags": [
+ "Origins"
+ ],
+ "description": "Gets an existing origin within an endpoint.",
+ "operationId": "Origins_Get",
+ "x-ms-examples": {
+ "Origins_Get": {
+ "$ref": "./examples/Origins_Get.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "originName",
+ "in": "path",
+ "description": "Name of the origin which is unique within the endpoint.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Origin"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Origins"
+ ],
+ "description": "Creates a new origin within the specified endpoint.",
+ "operationId": "Origins_Create",
+ "x-ms-examples": {
+ "Origins_Create": {
+ "$ref": "./examples/Origins_Create.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "originName",
+ "in": "path",
+ "description": "Name of the origin that is unique within the endpoint.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "origin",
+ "in": "body",
+ "description": "Origin properties",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Origin"
+ }
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Origin"
+ }
+ },
+ "201": {
+ "description": "Created. The request has been fulfilled and a new origin has been created.",
+ "schema": {
+ "$ref": "#/definitions/Origin"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/Origin"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Origins"
+ ],
+ "description": "Updates an existing origin within an endpoint.",
+ "operationId": "Origins_Update",
+ "x-ms-examples": {
+ "Origins_Update": {
+ "$ref": "./examples/Origins_Update.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "originName",
+ "in": "path",
+ "description": "Name of the origin which is unique within the endpoint.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "originUpdateProperties",
+ "in": "body",
+ "description": "Origin properties",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/OriginUpdateParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Origin"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/Origin"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "Origins"
+ ],
+ "description": "Deletes an existing origin within an endpoint.",
+ "operationId": "Origins_Delete",
+ "x-ms-examples": {
+ "Origins_Delete": {
+ "$ref": "./examples/Origins_Delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "originName",
+ "in": "path",
+ "description": "Name of the origin which is unique within the endpoint.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "No Content. The request has been accepted but the origin was not found."
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups": {
+ "get": {
+ "tags": [
+ "OriginGroups"
+ ],
+ "description": "Lists all of the existing origin groups within an endpoint.",
+ "operationId": "OriginGroups_ListByEndpoint",
+ "x-ms-examples": {
+ "OriginsGroups_ListByEndpoint": {
+ "$ref": "./examples/OriginGroups_ListByEndpoint.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/OriginGroupListResult"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups/{originGroupName}": {
+ "get": {
+ "tags": [
+ "OriginGroups"
+ ],
+ "description": "Gets an existing origin group within an endpoint.",
+ "operationId": "OriginGroups_Get",
+ "x-ms-examples": {
+ "OriginGroups_Get": {
+ "$ref": "./examples/OriginGroups_Get.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "originGroupName",
+ "in": "path",
+ "description": "Name of the origin group which is unique within the endpoint.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/OriginGroup"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "OriginGroups"
+ ],
+ "description": "Creates a new origin group within the specified endpoint.",
+ "operationId": "OriginGroups_Create",
+ "x-ms-examples": {
+ "OriginGroups_Create": {
+ "$ref": "./examples/OriginGroups_Create.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "originGroupName",
+ "in": "path",
+ "description": "Name of the origin group which is unique within the endpoint.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "originGroup",
+ "in": "body",
+ "description": "Origin group properties",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/OriginGroup"
+ }
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/OriginGroup"
+ }
+ },
+ "201": {
+ "description": "Created. The request has been fulfilled and a new origin group has been created.",
+ "schema": {
+ "$ref": "#/definitions/OriginGroup"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/OriginGroup"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "OriginGroups"
+ ],
+ "description": "Updates an existing origin group within an endpoint.",
+ "operationId": "OriginGroups_Update",
+ "x-ms-examples": {
+ "OriginGroups_Update": {
+ "$ref": "./examples/OriginGroups_Update.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "originGroupName",
+ "in": "path",
+ "description": "Name of the origin group which is unique within the endpoint.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "originGroupUpdateProperties",
+ "in": "body",
+ "description": "Origin group properties",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/OriginGroupUpdateParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/OriginGroup"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/OriginGroup"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "OriginGroups"
+ ],
+ "description": "Deletes an existing origin group within an endpoint.",
+ "operationId": "OriginGroups_Delete",
+ "x-ms-examples": {
+ "OriginGroups_Delete": {
+ "$ref": "./examples/OriginGroups_Delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "originGroupName",
+ "in": "path",
+ "description": "Name of the origin group which is unique within the endpoint.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "No Content. The request has been accepted but the origin was not found."
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains": {
+ "get": {
+ "tags": [
+ "CustomDomains"
+ ],
+ "description": "Lists all of the existing custom domains within an endpoint.",
+ "operationId": "CustomDomains_ListByEndpoint",
+ "x-ms-examples": {
+ "CustomDomains_ListByEndpoint": {
+ "$ref": "./examples/CustomDomains_ListByEndpoint.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/CustomDomainListResult"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}": {
+ "get": {
+ "tags": [
+ "CustomDomains"
+ ],
+ "description": "Gets an existing custom domain within an endpoint.",
+ "operationId": "CustomDomains_Get",
+ "x-ms-examples": {
+ "CustomDomains_Get": {
+ "$ref": "./examples/CustomDomains_Get.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "customDomainName",
+ "in": "path",
+ "description": "Name of the custom domain within an endpoint.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/CustomDomain"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "CustomDomains"
+ ],
+ "description": "Creates a new custom domain within an endpoint.",
+ "operationId": "CustomDomains_Create",
+ "x-ms-examples": {
+ "CustomDomains_Create": {
+ "$ref": "./examples/CustomDomains_Create.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "customDomainName",
+ "in": "path",
+ "description": "Name of the custom domain within an endpoint.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "customDomainProperties",
+ "in": "body",
+ "description": "Properties required to create a new custom domain.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CustomDomainParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/CustomDomain"
+ }
+ },
+ "201": {
+ "description": "Created. The request has been fulfilled and a new custom domain has been created.",
+ "schema": {
+ "$ref": "#/definitions/CustomDomain"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/CustomDomain"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "CustomDomains"
+ ],
+ "description": "Deletes an existing custom domain within an endpoint.",
+ "operationId": "CustomDomains_Delete",
+ "x-ms-examples": {
+ "CustomDomains_Delete": {
+ "$ref": "./examples/CustomDomains_Delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "customDomainName",
+ "in": "path",
+ "description": "Name of the custom domain within an endpoint.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/CustomDomain"
+ }
+ },
+ "204": {
+ "description": "No Content. The request has been accepted but the custom domain was not found"
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/disableCustomHttps": {
+ "post": {
+ "tags": [
+ "CustomDomains"
+ ],
+ "description": "Disable https delivery of the custom domain.",
+ "operationId": "CustomDomains_DisableCustomHttps",
+ "x-ms-examples": {
+ "CustomDomains_DisableCustomHttps": {
+ "$ref": "./examples/CustomDomains_DisableCustomHttps.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "customDomainName",
+ "in": "path",
+ "description": "Name of the custom domain within an endpoint.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/CustomDomain"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/enableCustomHttps": {
+ "post": {
+ "tags": [
+ "CustomDomains"
+ ],
+ "description": "Enable https delivery of the custom domain.",
+ "operationId": "CustomDomains_EnableCustomHttps",
+ "x-ms-examples": {
+ "CustomDomains_EnableCustomHttpsUsingYourOwnCertificate": {
+ "$ref": "./examples/CustomDomains_EnableCustomHttpsUsingBYOC.json"
+ },
+ "CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate": {
+ "$ref": "./examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "customDomainName",
+ "in": "path",
+ "description": "Name of the custom domain within an endpoint.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "customDomainHttpsParameters",
+ "in": "body",
+ "description": "The configuration specifying how to enable HTTPS for the custom domain - using CDN managed certificate or user's own certificate. If not specified, enabling ssl uses CDN managed certificate by default.",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/CustomDomainHttpsParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/CustomDomain"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Cdn/checkNameAvailability": {
+ "post": {
+ "tags": [
+ "CheckNameAvailability"
+ ],
+ "description": "Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.",
+ "operationId": "CheckNameAvailability",
+ "x-ms-examples": {
+ "CheckNameAvailability": {
+ "$ref": "./examples/CheckNameAvailability.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "checkNameAvailabilityInput",
+ "in": "body",
+ "description": "Input to check.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CheckNameAvailabilityInput"
+ }
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/CheckNameAvailabilityOutput"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Cdn/checkNameAvailability": {
+ "post": {
+ "tags": [
+ "CheckNameAvailabilityWithSubscription"
+ ],
+ "description": "Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.",
+ "operationId": "CheckNameAvailabilityWithSubscription",
+ "x-ms-examples": {
+ "CheckNameAvailabilityWithSubscription": {
+ "$ref": "./examples/CheckNameAvailabilityWithSubscription.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "checkNameAvailabilityInput",
+ "in": "body",
+ "description": "Input to check.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CheckNameAvailabilityInput"
+ }
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/CheckNameAvailabilityOutput"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Cdn/validateProbe": {
+ "post": {
+ "tags": [
+ "ValidateProbe"
+ ],
+ "description": "Check if the probe path is a valid path and the file can be accessed. Probe path is the path to a file hosted on the origin server to help accelerate the delivery of dynamic content via the CDN endpoint. This path is relative to the origin path specified in the endpoint configuration.",
+ "operationId": "ValidateProbe",
+ "x-ms-examples": {
+ "ValidateProbe": {
+ "$ref": "./examples/ValidateProbe.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "validateProbeInput",
+ "in": "body",
+ "description": "Input to check.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ValidateProbeInput"
+ }
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ValidateProbeOutput"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Cdn/checkResourceUsage": {
+ "post": {
+ "tags": [
+ "CheckResourceUsage"
+ ],
+ "description": "Check the quota and actual usage of the CDN profiles under the given subscription.",
+ "operationId": "ResourceUsage_List",
+ "x-ms-examples": {
+ "ResourceUsage_List": {
+ "$ref": "./examples/ResourceUsage_List.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ResourceUsageListResult"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Cdn/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "description": "Lists all of the available CDN REST API operations.",
+ "operationId": "Operations_List",
+ "x-ms-examples": {
+ "Operations_List": {
+ "$ref": "./examples/Operations_List.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/OperationsListResult"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Cdn/edgenodes": {
+ "get": {
+ "tags": [
+ "Edgenodes"
+ ],
+ "description": "Edgenodes are the global Point of Presence (POP) locations used to deliver CDN content to end users.",
+ "operationId": "EdgeNodes_List",
+ "x-ms-examples": {
+ "EdgeNodes_List": {
+ "$ref": "./examples/EdgeNodes_List.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/EdgenodeResult"
+ }
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Profile": {
+ "description": "CDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "sku": {
+ "description": "The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.",
+ "$ref": "#/definitions/Sku"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ProfileProperties"
+ }
+ },
+ "required": [
+ "sku"
+ ]
+ },
+ "ProfileProperties": {
+ "description": "The JSON object that contains the properties required to create a profile.",
+ "properties": {
+ "resourceState": {
+ "description": "Resource status of the profile.",
+ "readOnly": true,
+ "enum": [
+ "Creating",
+ "Active",
+ "Deleting",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ProfileResourceState",
+ "modelAsString": true
+ }
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "description": "Provisioning status of the profile.",
+ "type": "string"
+ }
+ }
+ },
+ "ProfileListResult": {
+ "description": "Result of the request to list profiles. It contains a list of profile objects and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Profile"
+ },
+ "description": "List of CDN profiles within a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of profile objects if there are any."
+ }
+ }
+ },
+ "ProfileUpdateParameters": {
+ "type": "object",
+ "description": "Properties required to update a profile.",
+ "properties": {
+ "tags": {
+ "description": "Profile tags",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "SsoUri": {
+ "description": "The URI required to login to the supplemental portal from the Azure portal.",
+ "type": "object",
+ "properties": {
+ "ssoUriValue": {
+ "description": "The URI used to login to the supplemental portal.",
+ "readOnly": true,
+ "type": "string"
+ }
+ }
+ },
+ "SupportedOptimizationTypesListResult": {
+ "description": "The result of the GetSupportedOptimizationTypes API",
+ "type": "object",
+ "properties": {
+ "supportedOptimizationTypes": {
+ "description": "Supported optimization types for a profile.",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/OptimizationType"
+ },
+ "type": "array"
+ }
+ }
+ },
+ "Endpoint": {
+ "description": "CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The CDN endpoint uses the URL format .azureedge.net.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/EndpointProperties"
+ }
+ }
+ },
+ "EndpointProperties": {
+ "description": "The JSON object that contains the properties required to create an endpoint.",
+ "required": [
+ "origins"
+ ],
+ "allOf": [
+ {
+ "$ref": "#/definitions/EndpointPropertiesUpdateParameters"
+ }
+ ],
+ "properties": {
+ "hostName": {
+ "description": "The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net",
+ "type": "string",
+ "readOnly": true
+ },
+ "origins": {
+ "description": "The source of the content being delivered via CDN.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DeepCreatedOrigin"
+ }
+ },
+ "originGroups": {
+ "description": "The origin groups comprising of origins that are used for load balancing the traffic based on availability.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DeepCreatedOriginGroup"
+ }
+ },
+ "resourceState": {
+ "description": "Resource status of the endpoint.",
+ "readOnly": true,
+ "enum": [
+ "Creating",
+ "Deleting",
+ "Running",
+ "Starting",
+ "Stopped",
+ "Stopping"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "EndpointResourceState",
+ "modelAsString": true
+ }
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "description": "Provisioning status of the endpoint.",
+ "type": "string"
+ }
+ }
+ },
+ "EndpointListResult": {
+ "description": "Result of the request to list endpoints. It contains a list of endpoint objects and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Endpoint"
+ },
+ "description": "List of CDN endpoints within a profile"
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of endpoint objects if there is any."
+ }
+ }
+ },
+ "EndpointUpdateParameters": {
+ "type": "object",
+ "description": "Properties required to create or update an endpoint.",
+ "properties": {
+ "tags": {
+ "description": "Endpoint tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/EndpointPropertiesUpdateParameters"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "EndpointPropertiesUpdateParameters": {
+ "description": "The JSON object containing endpoint update parameters.",
+ "properties": {
+ "originPath": {
+ "description": "A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.",
+ "type": "string"
+ },
+ "contentTypesToCompress": {
+ "description": "List of content types on which compression applies. The value should be a valid MIME type.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "originHostHeader": {
+ "description": "The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default.",
+ "type": "string"
+ },
+ "isCompressionEnabled": {
+ "description": "Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB.",
+ "type": "boolean"
+ },
+ "isHttpAllowed": {
+ "description": "Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.",
+ "type": "boolean"
+ },
+ "isHttpsAllowed": {
+ "description": "Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.",
+ "type": "boolean"
+ },
+ "queryStringCachingBehavior": {
+ "description": "Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL.",
+ "$ref": "#/definitions/QueryStringCachingBehavior"
+ },
+ "optimizationType": {
+ "description": "Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization.",
+ "$ref": "#/definitions/OptimizationType"
+ },
+ "probePath": {
+ "description": "Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. This property is only relevant when using a single origin.",
+ "type": "string"
+ },
+ "geoFilters": {
+ "description": "List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GeoFilter"
+ }
+ },
+ "defaultOriginGroup":{
+ "description": "A reference to the origin group.",
+ "type": "object",
+ "$ref": "#/definitions/ResourceReference"
+ },
+ "deliveryPolicy": {
+ "description": "A policy that specifies the delivery rules to be used for an endpoint.",
+ "type": "object",
+ "required": [
+ "rules"
+ ],
+ "properties": {
+ "description": {
+ "description": "User-friendly description of the policy.",
+ "type": "string"
+ },
+ "rules": {
+ "description": "A list of the delivery rules.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DeliveryRule"
+ }
+ }
+ }
+ }
+ }
+ },
+ "DeliveryRule": {
+ "description": "A rule that specifies a set of actions and conditions",
+ "type": "object",
+ "required": [
+ "order",
+ "actions"
+ ],
+ "properties": {
+ "name": {
+ "description": "Name of the rule",
+ "type": "string"
+ },
+ "order": {
+ "description": "The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied.",
+ "type": "integer"
+ },
+ "conditions": {
+ "description": "A list of conditions that must be matched for the actions to be executed",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DeliveryRuleCondition"
+ }
+ },
+ "actions": {
+ "description": "A list of actions that are executed when all the conditions of a rule are satisfied.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DeliveryRuleAction"
+ }
+ }
+ }
+ },
+ "DeliveryRuleCondition": {
+ "description": "A condition for the delivery rule.",
+ "discriminator": "name",
+ "required": [
+ "name"
+ ],
+ "properties": {
+ "name": {
+ "description": "The name of the condition for the delivery rule.",
+ "type": "string",
+ "enum": [
+ "RemoteAddress",
+ "RequestMethod",
+ "QueryString",
+ "PostArgs",
+ "RequestUri",
+ "RequestHeader",
+ "RequestBody",
+ "RequestScheme",
+ "UrlPath",
+ "UrlFileExtension",
+ "UrlFileName",
+ "HttpVersion",
+ "Cookies",
+ "IsDevice"
+ ],
+ "x-ms-enum": {
+ "name": "MatchVariable",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "DeliveryRuleRemoteAddressCondition": {
+ "description": "Defines the RemoteAddress condition for the delivery rule.",
+ "x-ms-discriminator-value": "RemoteAddress",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleCondition"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the condition.",
+ "$ref": "#/definitions/RemoteAddressMatchConditionParameters"
+ }
+ }
+ },
+ "DeliveryRuleRequestMethodCondition": {
+ "description": "Defines the RequestMethod condition for the delivery rule.",
+ "x-ms-discriminator-value": "RequestMethod",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleCondition"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the condition.",
+ "$ref": "#/definitions/RequestMethodMatchConditionParameters"
+ }
+ }
+ },
+ "DeliveryRuleQueryStringCondition": {
+ "description": "Defines the QueryString condition for the delivery rule.",
+ "x-ms-discriminator-value": "QueryString",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleCondition"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the condition.",
+ "$ref": "#/definitions/QueryStringMatchConditionParameters"
+ }
+ }
+ },
+ "DeliveryRulePostArgsCondition": {
+ "description": "Defines the PostArgs condition for the delivery rule.",
+ "x-ms-discriminator-value": "PostArgs",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleCondition"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the condition.",
+ "$ref": "#/definitions/PostArgsMatchConditionParameters"
+ }
+ }
+ },
+ "DeliveryRuleRequestUriCondition": {
+ "description": "Defines the RequestUri condition for the delivery rule.",
+ "x-ms-discriminator-value": "RequestUri",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleCondition"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the condition.",
+ "$ref": "#/definitions/RequestUriMatchConditionParameters"
+ }
+ }
+ },
+ "DeliveryRuleRequestHeaderCondition": {
+ "description": "Defines the RequestHeader condition for the delivery rule.",
+ "x-ms-discriminator-value": "RequestHeader",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleCondition"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the condition.",
+ "$ref": "#/definitions/RequestHeaderMatchConditionParameters"
+ }
+ }
+ },
+ "DeliveryRuleRequestBodyCondition": {
+ "description": "Defines the RequestBody condition for the delivery rule.",
+ "x-ms-discriminator-value": "RequestBody",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleCondition"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the condition.",
+ "$ref": "#/definitions/RequestBodyMatchConditionParameters"
+ }
+ }
+ },
+ "DeliveryRuleRequestSchemeCondition": {
+ "description": "Defines the RequestScheme condition for the delivery rule.",
+ "x-ms-discriminator-value": "RequestScheme",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleCondition"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the condition.",
+ "$ref": "#/definitions/RequestSchemeMatchConditionParameters"
+ }
+ }
+ },
+ "DeliveryRuleUrlPathCondition": {
+ "description": "Defines the UrlPath condition for the delivery rule.",
+ "x-ms-discriminator-value": "UrlPath",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleCondition"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the condition.",
+ "$ref": "#/definitions/UrlPathMatchConditionParameters"
+ }
+ }
+ },
+ "DeliveryRuleUrlFileExtensionCondition": {
+ "description": "Defines the UrlFileExtension condition for the delivery rule.",
+ "x-ms-discriminator-value": "UrlFileExtension",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleCondition"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the condition.",
+ "$ref": "#/definitions/UrlFileExtensionMatchConditionParameters"
+ }
+ }
+ },
+ "DeliveryRuleUrlFileNameCondition": {
+ "description": "Defines the UrlFileName condition for the delivery rule.",
+ "x-ms-discriminator-value": "UrlFileName",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleCondition"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the condition.",
+ "$ref": "#/definitions/UrlFileNameMatchConditionParameters"
+ }
+ }
+ },
+ "DeliveryRuleHttpVersionCondition": {
+ "description": "Defines the HttpVersion condition for the delivery rule.",
+ "x-ms-discriminator-value": "HttpVersion",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleCondition"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the condition.",
+ "$ref": "#/definitions/HttpVersionMatchConditionParameters"
+ }
+ }
+ },
+ "DeliveryRuleCookiesCondition": {
+ "description": "Defines the Cookies condition for the delivery rule.",
+ "x-ms-discriminator-value": "Cookies",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleCondition"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the condition.",
+ "$ref": "#/definitions/CookiesMatchConditionParameters"
+ }
+ }
+ },
+ "DeliveryRuleIsDeviceCondition": {
+ "description": "Defines the IsDevice condition for the delivery rule.",
+ "x-ms-discriminator-value": "IsDevice",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleCondition"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the condition.",
+ "$ref": "#/definitions/IsDeviceMatchConditionParameters"
+ }
+ }
+ },
+ "RemoteAddressMatchConditionParameters": {
+ "description": "Defines the parameters for RemoteAddress match conditions",
+ "required": [
+ "operator",
+ "matchValues",
+ "@odata.type"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters"
+ ]
+ },
+ "operator": {
+ "description": "Describes operator to be matched",
+ "type": "string",
+ "enum": [
+ "Any",
+ "IPMatch",
+ "GeoMatch"
+ ],
+ "x-ms-enum": {
+ "name": "RemoteAddressOperator",
+ "modelAsString": true
+ }
+ },
+ "negateCondition": {
+ "description": "Describes if this is negate condition or not",
+ "type": "boolean"
+ },
+ "matchValues": {
+ "description": "Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "transforms": {
+ "description": "List of transforms",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/transform"
+ }
+ }
+ }
+ },
+ "RequestMethodMatchConditionParameters": {
+ "description": "Defines the parameters for RequestMethod match conditions",
+ "required": [
+ "operator",
+ "matchValues",
+ "@odata.type"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestMethodConditionParameters"
+ ]
+ },
+ "operator": {
+ "description": "Describes operator to be matched",
+ "type": "string",
+ "enum": [
+ "Equal"
+ ],
+ "x-ms-enum": {
+ "name": "RequestMethodOperator",
+ "modelAsString": true
+ }
+ },
+ "negateCondition": {
+ "description": "Describes if this is negate condition or not",
+ "type": "boolean"
+ },
+ "matchValues": {
+ "description": "The match value for the condition of the delivery rule",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "GET",
+ "HEAD",
+ "POST",
+ "PUT",
+ "DELETE",
+ "OPTIONS",
+ "TRACE"
+ ]
+ }
+ }
+ }
+ },
+ "QueryStringMatchConditionParameters": {
+ "description": "Defines the parameters for QueryString match conditions",
+ "required": [
+ "operator",
+ "matchValues",
+ "@odata.type"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.DeliveryRuleQueryStringConditionParameters"
+ ]
+ },
+ "operator": {
+ "description": "Describes operator to be matched",
+ "type": "string",
+ "enum": [
+ "Any",
+ "Equal",
+ "Contains",
+ "BeginsWith",
+ "EndsWith",
+ "LessThan",
+ "LessThanOrEqual",
+ "GreaterThan",
+ "GreaterThanOrEqual"
+ ],
+ "x-ms-enum": {
+ "name": "QueryStringOperator",
+ "modelAsString": true
+ }
+ },
+ "negateCondition": {
+ "description": "Describes if this is negate condition or not",
+ "type": "boolean"
+ },
+ "matchValues": {
+ "description": "The match value for the condition of the delivery rule",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "transforms": {
+ "description": "List of transforms",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/transform"
+ }
+ }
+ }
+ },
+ "PostArgsMatchConditionParameters": {
+ "description": "Defines the parameters for PostArgs match conditions",
+ "required": [
+ "operator",
+ "matchValues",
+ "selector",
+ "@odata.type"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.DeliveryRulePostArgsConditionParameters"
+ ]
+ },
+ "selector": {
+ "description": "Name of PostArg to be matched",
+ "type": "string"
+ },
+ "operator": {
+ "description": "Describes operator to be matched",
+ "type": "string",
+ "enum": [
+ "Any",
+ "Equal",
+ "Contains",
+ "BeginsWith",
+ "EndsWith",
+ "LessThan",
+ "LessThanOrEqual",
+ "GreaterThan",
+ "GreaterThanOrEqual"
+ ],
+ "x-ms-enum": {
+ "name": "PostArgsOperator",
+ "modelAsString": true
+ }
+ },
+ "negateCondition": {
+ "description": "Describes if this is negate condition or not",
+ "type": "boolean"
+ },
+ "matchValues": {
+ "description": "The match value for the condition of the delivery rule",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "transforms": {
+ "description": "List of transforms",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/transform"
+ }
+ }
+ }
+ },
+ "RequestUriMatchConditionParameters": {
+ "description": "Defines the parameters for RequestUri match conditions",
+ "required": [
+ "operator",
+ "matchValues",
+ "@odata.type"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestUriConditionParameters"
+ ]
+ },
+ "operator": {
+ "description": "Describes operator to be matched",
+ "type": "string",
+ "enum": [
+ "Any",
+ "Equal",
+ "Contains",
+ "BeginsWith",
+ "EndsWith",
+ "LessThan",
+ "LessThanOrEqual",
+ "GreaterThan",
+ "GreaterThanOrEqual"
+ ],
+ "x-ms-enum": {
+ "name": "RequestUriOperator",
+ "modelAsString": true
+ }
+ },
+ "negateCondition": {
+ "description": "Describes if this is negate condition or not",
+ "type": "boolean"
+ },
+ "matchValues": {
+ "description": "The match value for the condition of the delivery rule",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "transforms": {
+ "description": "List of transforms",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/transform"
+ }
+ }
+ }
+ },
+ "RequestHeaderMatchConditionParameters": {
+ "description": "Defines the parameters for RequestHeader match conditions",
+ "required": [
+ "operator",
+ "matchValues",
+ "selector",
+ "@odata.type"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestHeaderConditionParameters"
+ ]
+ },
+ "selector": {
+ "description": "Name of Header to be matched",
+ "type": "string"
+ },
+ "operator": {
+ "description": "Describes operator to be matched",
+ "type": "string",
+ "enum": [
+ "Any",
+ "Equal",
+ "Contains",
+ "BeginsWith",
+ "EndsWith",
+ "LessThan",
+ "LessThanOrEqual",
+ "GreaterThan",
+ "GreaterThanOrEqual"
+ ],
+ "x-ms-enum": {
+ "name": "RequestHeaderOperator",
+ "modelAsString": true
+ }
+ },
+ "negateCondition": {
+ "description": "Describes if this is negate condition or not",
+ "type": "boolean"
+ },
+ "matchValues": {
+ "description": "The match value for the condition of the delivery rule",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "transforms": {
+ "description": "List of transforms",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/transform"
+ }
+ }
+ }
+ },
+ "RequestBodyMatchConditionParameters": {
+ "description": "Defines the parameters for RequestBody match conditions",
+ "required": [
+ "operator",
+ "matchValues",
+ "@odata.type"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestBodyConditionParameters"
+ ]
+ },
+ "operator": {
+ "description": "Describes operator to be matched",
+ "type": "string",
+ "enum": [
+ "Any",
+ "Equal",
+ "Contains",
+ "BeginsWith",
+ "EndsWith",
+ "LessThan",
+ "LessThanOrEqual",
+ "GreaterThan",
+ "GreaterThanOrEqual"
+ ],
+ "x-ms-enum": {
+ "name": "RequestBodyOperator",
+ "modelAsString": true
+ }
+ },
+ "negateCondition": {
+ "description": "Describes if this is negate condition or not",
+ "type": "boolean"
+ },
+ "matchValues": {
+ "description": "The match value for the condition of the delivery rule",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "transforms": {
+ "description": "List of transforms",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/transform"
+ }
+ }
+ }
+ },
+ "RequestSchemeMatchConditionParameters": {
+ "description": "Defines the parameters for RequestScheme match conditions ",
+ "required": [
+ "operator",
+ "matchValues",
+ "@odata.type"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestSchemeConditionParameters"
+ ]
+ },
+ "operator": {
+ "description": "Describes operator to be matched",
+ "type": "string",
+ "enum": [
+ "Equal"
+ ]
+ },
+ "negateCondition": {
+ "description": "Describes if this is negate condition or not",
+ "type": "boolean"
+ },
+ "matchValues": {
+ "description": "The match value for the condition of the delivery rule",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "HTTP",
+ "HTTPS"
+ ]
+ }
+ }
+ }
+ },
+ "UrlPathMatchConditionParameters": {
+ "description": "Defines the parameters for UrlPath match conditions",
+ "required": [
+ "operator",
+ "matchValues",
+ "@odata.type"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlPathMatchConditionParameters"
+ ]
+ },
+ "operator": {
+ "description": "Describes operator to be matched",
+ "type": "string",
+ "enum": [
+ "Any",
+ "Equal",
+ "Contains",
+ "BeginsWith",
+ "EndsWith",
+ "LessThan",
+ "LessThanOrEqual",
+ "GreaterThan",
+ "GreaterThanOrEqual",
+ "Wildcard"
+ ],
+ "x-ms-enum": {
+ "name": "UrlPathOperator",
+ "modelAsString": true
+ }
+ },
+ "negateCondition": {
+ "description": "Describes if this is negate condition or not",
+ "type": "boolean"
+ },
+ "matchValues": {
+ "description": "The match value for the condition of the delivery rule",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "transforms": {
+ "description": "List of transforms",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/transform"
+ }
+ }
+ }
+ },
+ "UrlFileExtensionMatchConditionParameters": {
+ "description": "Defines the parameters for UrlFileExtension match conditions",
+ "required": [
+ "operator",
+ "matchValues",
+ "@odata.type"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlFileExtensionMatchConditionParameters"
+ ]
+ },
+ "operator": {
+ "description": "Describes operator to be matched",
+ "type": "string",
+ "enum": [
+ "Any",
+ "Equal",
+ "Contains",
+ "BeginsWith",
+ "EndsWith",
+ "LessThan",
+ "LessThanOrEqual",
+ "GreaterThan",
+ "GreaterThanOrEqual"
+ ],
+ "x-ms-enum": {
+ "name": "UrlFileExtensionOperator",
+ "modelAsString": true
+ }
+ },
+ "negateCondition": {
+ "description": "Describes if this is negate condition or not",
+ "type": "boolean"
+ },
+ "matchValues": {
+ "description": "The match value for the condition of the delivery rule",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "transforms": {
+ "description": "List of transforms",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/transform"
+ }
+ }
+ }
+ },
+ "UrlFileNameMatchConditionParameters": {
+ "description": "Defines the parameters for UrlFilename match conditions",
+ "required": [
+ "operator",
+ "matchValues",
+ "@odata.type"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlFilenameConditionParameters"
+ ]
+ },
+ "operator": {
+ "description": "Describes operator to be matched",
+ "type": "string",
+ "enum": [
+ "Any",
+ "Equal",
+ "Contains",
+ "BeginsWith",
+ "EndsWith",
+ "LessThan",
+ "LessThanOrEqual",
+ "GreaterThan",
+ "GreaterThanOrEqual"
+ ],
+ "x-ms-enum": {
+ "name": "UrlFileNameOperator",
+ "modelAsString": true
+ }
+ },
+ "negateCondition": {
+ "description": "Describes if this is negate condition or not",
+ "type": "boolean"
+ },
+ "matchValues": {
+ "description": "The match value for the condition of the delivery rule",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "transforms": {
+ "description": "List of transforms",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/transform"
+ }
+ }
+ }
+ },
+ "HttpVersionMatchConditionParameters": {
+ "description": "Defines the parameters for HttpVersion match conditions",
+ "required": [
+ "operator",
+ "matchValues",
+ "@odata.type"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.DeliveryRuleHttpVersionConditionParameters"
+ ]
+ },
+ "operator": {
+ "description": "Describes operator to be matched",
+ "type": "string",
+ "enum": [
+ "Equal"
+ ],
+ "x-ms-enum": {
+ "name": "HttpVersionOperator",
+ "modelAsString": true
+ }
+ },
+ "negateCondition": {
+ "description": "Describes if this is negate condition or not",
+ "type": "boolean"
+ },
+ "matchValues": {
+ "description": "The match value for the condition of the delivery rule",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "CookiesMatchConditionParameters": {
+ "description": "Defines the parameters for Cookies match conditions",
+ "required": [
+ "operator",
+ "matchValues",
+ "selector",
+ "@odata.type"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.DeliveryRuleCookiesConditionParameters"
+ ]
+ },
+ "selector": {
+ "description": "Name of Cookies to be matched",
+ "type": "string"
+ },
+ "operator": {
+ "description": "Describes operator to be matched",
+ "type": "string",
+ "enum": [
+ "Any",
+ "Equal",
+ "Contains",
+ "BeginsWith",
+ "EndsWith",
+ "LessThan",
+ "LessThanOrEqual",
+ "GreaterThan",
+ "GreaterThanOrEqual"
+ ],
+ "x-ms-enum": {
+ "name": "CookiesOperator",
+ "modelAsString": true
+ }
+ },
+ "negateCondition": {
+ "description": "Describes if this is negate condition or not",
+ "type": "boolean"
+ },
+ "matchValues": {
+ "description": "The match value for the condition of the delivery rule",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "transforms": {
+ "description": "List of transforms",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/transform"
+ }
+ }
+ }
+ },
+ "IsDeviceMatchConditionParameters": {
+ "description": "Defines the parameters for IsDevice match conditions",
+ "required": [
+ "operator",
+ "matchValues",
+ "@odata.type"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.DeliveryRuleIsDeviceConditionParameters"
+ ]
+ },
+ "operator": {
+ "description": "Describes operator to be matched",
+ "type": "string",
+ "enum": [
+ "Equal"
+ ],
+ "x-ms-enum": {
+ "name": "IsDeviceOperator",
+ "modelAsString": true
+ }
+ },
+ "negateCondition": {
+ "description": "Describes if this is negate condition or not",
+ "type": "boolean"
+ },
+ "matchValues": {
+ "description": "The match value for the condition of the delivery rule",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "Mobile",
+ "Desktop"
+ ]
+ }
+ },
+ "transforms": {
+ "description": "List of transforms",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/transform"
+ }
+ }
+ }
+ },
+ "DeliveryRuleAction": {
+ "description": "An action for the delivery rule.",
+ "discriminator": "name",
+ "required": [
+ "name"
+ ],
+ "properties": {
+ "name": {
+ "description": "The name of the action for the delivery rule.",
+ "type": "string",
+ "enum": [
+ "CacheExpiration",
+ "CacheKeyQueryString",
+ "ModifyRequestHeader",
+ "ModifyResponseHeader",
+ "UrlRedirect",
+ "UrlRewrite"
+ ],
+ "x-ms-enum": {
+ "name": "DeliveryRuleAction",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "UrlRedirectAction": {
+ "description": "Defines the url redirect action for the delivery rule.",
+ "x-ms-discriminator-value": "UrlRedirect",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleAction"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the action.",
+ "$ref": "#/definitions/UrlRedirectActionParameters"
+ }
+ }
+ },
+ "UrlRedirectActionParameters": {
+ "description": "Defines the parameters for the url redirect action.",
+ "required": [
+ "redirectType",
+ "@odata.type"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRedirectActionParameters"
+ ]
+ },
+ "redirectType": {
+ "description": "The redirect type the rule will use when redirecting traffic.",
+ "type": "string",
+ "enum": [
+ "Moved",
+ "Found",
+ "TemporaryRedirect",
+ "PermanentRedirect"
+ ],
+ "x-ms-enum": {
+ "name": "RedirectType",
+ "modelAsString": true
+ }
+ },
+ "destinationProtocol": {
+ "description": "Protocol to use for the redirect. The default value is MatchRequest",
+ "type": "string",
+ "enum": [
+ "MatchRequest",
+ "Http",
+ "Https"
+ ],
+ "x-ms-enum": {
+ "name": "DestinationProtocol",
+ "modelAsString": true
+ }
+ },
+ "customPath": {
+ "description": "The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.",
+ "type": "string"
+ },
+ "customHostname": {
+ "description": "Host to redirect. Leave empty to use the incoming host as the destination host.",
+ "type": "string"
+ },
+ "customQueryString": {
+ "description": "The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. ? and & will be added automatically so do not include them.",
+ "type": "string"
+ },
+ "customFragment": {
+ "type": "string",
+ "description": "Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #."
+ }
+ }
+ },
+ "UrlRewriteAction": {
+ "description": "Defines the url rewrite action for the delivery rule.",
+ "x-ms-discriminator-value": "UrlRewrite",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleAction"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the action.",
+ "$ref": "#/definitions/UrlRewriteActionParameters"
+ }
+ }
+ },
+ "UrlRewriteActionParameters": {
+ "description": "Defines the parameters for the url rewrite action.",
+ "required": [
+ "sourcePattern",
+ "destination",
+ "@odata.type"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRewriteActionParameters"
+ ]
+ },
+ "sourcePattern": {
+ "description": "define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched.",
+ "type": "string"
+ },
+ "destination": {
+ "description": "Define the relative URL to which the above requests will be rewritten by.",
+ "type": "string"
+ },
+ "preserveUnmatchedPath": {
+ "description": "Whether to preserve unmatched path. Default value is true.",
+ "type": "boolean"
+ }
+ }
+ },
+ "DeliveryRuleRequestHeaderAction": {
+ "description": "Defines the request header action for the delivery rule.",
+ "x-ms-discriminator-value": "ModifyRequestHeader",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleAction"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the action.",
+ "$ref": "#/definitions/HeaderActionParameters"
+ }
+ }
+ },
+ "DeliveryRuleResponseHeaderAction": {
+ "description": "Defines the response header action for the delivery rule.",
+ "x-ms-discriminator-value": "ModifyResponseHeader",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleAction"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the action.",
+ "$ref": "#/definitions/HeaderActionParameters"
+ }
+ }
+ },
+ "HeaderActionParameters": {
+ "description": "Defines the parameters for the request header action.",
+ "required": [
+ "headerAction",
+ "headerName",
+ "@odata.type"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters"
+ ]
+ },
+ "headerAction": {
+ "description": "Action to perform",
+ "type": "string",
+ "enum": [
+ "Append",
+ "Overwrite",
+ "Delete"
+ ],
+ "x-ms-enum": {
+ "name": "HeaderAction",
+ "modelAsString": true
+ }
+ },
+ "headerName": {
+ "description": "Name of the header to modify",
+ "type": "string"
+ },
+ "value": {
+ "description": "Value for the specified action",
+ "type": "string"
+ }
+ }
+ },
+ "DeliveryRuleCacheExpirationAction": {
+ "description": "Defines the cache expiration action for the delivery rule.",
+ "x-ms-discriminator-value": "CacheExpiration",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleAction"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the action.",
+ "$ref": "#/definitions/CacheExpirationActionParameters"
+ }
+ }
+ },
+ "CacheExpirationActionParameters": {
+ "description": "Defines the parameters for the cache expiration action.",
+ "required": [
+ "cacheBehavior",
+ "cacheType",
+ "@odata.type"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters"
+ ]
+ },
+ "cacheBehavior": {
+ "description": "Caching behavior for the requests",
+ "type": "string",
+ "enum": [
+ "BypassCache",
+ "Override",
+ "SetIfMissing"
+ ],
+ "x-ms-enum": {
+ "name": "cacheBehavior",
+ "modelAsString": true
+ }
+ },
+ "cacheType": {
+ "description": "The level at which the content needs to be cached.",
+ "type": "string",
+ "enum": [
+ "All"
+ ],
+ "x-ms-enum": {
+ "name": "CacheType",
+ "modelAsString": true
+ }
+ },
+ "cacheDuration": {
+ "description": "The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss",
+ "type": "string",
+ "x-nullable": true
+ }
+ }
+ },
+ "DeliveryRuleCacheKeyQueryStringAction": {
+ "description": "Defines the cache-key query string action for the delivery rule.",
+ "x-ms-discriminator-value": "CacheKeyQueryString",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleAction"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the action.",
+ "$ref": "#/definitions/CacheKeyQueryStringActionParameters"
+ }
+ }
+ },
+ "CacheKeyQueryStringActionParameters": {
+ "description": "Defines the parameters for the cache-key query string action.",
+ "required": [
+ "queryStringBehavior",
+ "@odata.type"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheKeyQueryStringBehaviorActionParameters"
+ ]
+ },
+ "queryStringBehavior": {
+ "description": "Caching behavior for the requests",
+ "type": "string",
+ "enum": [
+ "Include",
+ "IncludeAll",
+ "Exclude",
+ "ExcludeAll"
+ ],
+ "x-ms-enum": {
+ "name": "queryStringBehavior",
+ "modelAsString": true
+ }
+ },
+ "queryParameters": {
+ "description": "query parameters to include or exclude (comma separated).",
+ "type": "string",
+ "x-nullable": true
+ }
+ }
+ },
+ "transform": {
+ "description": "Describes what transforms are applied before matching",
+ "type": "string",
+ "enum": [
+ "Lowercase",
+ "Uppercase"
+ ],
+ "x-ms-enum": {
+ "name": "transform",
+ "modelAsString": true
+ }
+ },
+ "DeepCreatedOrigin": {
+ "description": "The main origin of CDN content which is added when creating a CDN endpoint.",
+ "type": "object",
+ "required": [
+ "name"
+ ],
+ "properties": {
+ "name": {
+ "description": "Origin name which must be unique within the endpoint. ",
+ "type": "string"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DeepCreatedOriginProperties"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "DeepCreatedOriginProperties": {
+ "description": "Properties of the origin created on the CDN endpoint.",
+ "type": "object",
+ "required": [
+ "hostName"
+ ],
+ "properties": {
+ "hostName": {
+ "description": "The address of the origin. It can be a domain name, IPv4 address, or IPv6 address. This should be unique across all origins in an endpoint.",
+ "type": "string"
+ },
+ "httpPort": {
+ "description": "The value of the HTTP port. Must be between 1 and 65535.",
+ "type": "integer",
+ "maximum": 65535,
+ "exclusiveMaximum": false,
+ "minimum": 1,
+ "exclusiveMinimum": false
+ },
+ "httpsPort": {
+ "description": "The value of the HTTPS port. Must be between 1 and 65535.",
+ "type": "integer",
+ "maximum": 65535,
+ "exclusiveMaximum": false,
+ "minimum": 1,
+ "exclusiveMinimum": false
+ },
+ "originHostHeader": {
+ "description": "The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default.",
+ "type": "string"
+ },
+ "priority": {
+ "description": "Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5.",
+ "type": "integer",
+ "maximum": 5,
+ "minimum": 1
+ },
+ "weight": {
+ "description": "Weight of the origin in given origin group for load balancing. Must be between 1 and 1000",
+ "type": "integer",
+ "maximum": 1000,
+ "minimum": 1
+ },
+ "enabled": {
+ "description": "Origin is enabled for load balancing or not. By default, origin is always enabled.",
+ "type": "boolean"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "DeepCreatedOriginGroup": {
+ "description": "The origin group for CDN content which is added when creating a CDN endpoint. Traffic is sent to the origins within the origin group based on origin health.",
+ "type": "object",
+ "required": [
+ "name"
+ ],
+ "properties": {
+ "name": {
+ "description": "Origin group name which must be unique within the endpoint.",
+ "type": "string"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DeepCreatedOriginGroupProperties"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "DeepCreatedOriginGroupProperties": {
+ "description": "Properties of the origin group created on the CDN endpoint.",
+ "type": "object",
+ "required": [
+ "origins"
+ ],
+ "properties": {
+ "healthProbeSettings": {
+ "description": "Health probe settings to the origin that is used to determine the health of the origin.",
+ "type": "object",
+ "$ref": "#/definitions/HealthProbeParameters"
+ },
+ "origins": {
+ "description": "The source of the content being delivered via CDN within given origin group.",
+ "type": "array",
+ "items": {
+ "description": "A reference to a origin.",
+ "$ref": "#/definitions/ResourceReference"
+ }
+ },
+ "trafficRestorationTimeToHealedOrNewEndpointsInMinutes": {
+ "description": "Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.",
+ "type": "integer",
+ "maximum": 50,
+ "minimum": 0
+ },
+ "responseBasedOriginErrorDetectionSettings":{
+ "description": "The JSON object that contains the properties to determine origin health using real requests/responses.This property is currently not supported.",
+ "type": "object",
+ "$ref": "#/definitions/ResponseBasedOriginErrorDetectionParameters"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ResourceReference": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Resource ID."
+ }
+ },
+ "description": "Reference to another resource.",
+ "x-ms-azure-resource": true
+ },
+ "GeoFilter": {
+ "description": "Rules defining user's geo access within a CDN endpoint.",
+ "type": "object",
+ "required": [
+ "relativePath",
+ "action",
+ "countryCodes"
+ ],
+ "properties": {
+ "relativePath": {
+ "description": "Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.)",
+ "type": "string"
+ },
+ "action": {
+ "description": "Action of the geo filter, i.e. allow or block access.",
+ "enum": [
+ "Block",
+ "Allow"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "GeoFilterActions",
+ "modelAsString": false
+ }
+ },
+ "countryCodes": {
+ "description": "Two letter country codes defining user country access in a geo filter, e.g. AU, MX, US.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "PurgeParameters": {
+ "type": "object",
+ "description": "Parameters required for content purge.",
+ "required": [
+ "contentPaths"
+ ],
+ "properties": {
+ "contentPaths": {
+ "description": "The path to the content to be purged. Can describe a file path or a wild card directory.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "LoadParameters": {
+ "type": "object",
+ "description": "Parameters required for content load.",
+ "required": [
+ "contentPaths"
+ ],
+ "properties": {
+ "contentPaths": {
+ "description": "The path to the content to be loaded. Path should be a relative file URL of the origin.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "Origin": {
+ "description": "CDN origin is the source of the content being delivered via CDN. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/OriginProperties"
+ }
+ }
+ },
+ "OriginProperties": {
+ "description": "The JSON object that contains the properties of the origin.",
+ "required": [
+ "hostName"
+ ],
+ "allOf": [
+ {
+ "$ref": "#/definitions/OriginUpdatePropertiesParameters"
+ }
+ ],
+ "properties": {
+ "resourceState": {
+ "description": "Resource status of the origin.",
+ "readOnly": true,
+ "enum": [
+ "Creating",
+ "Active",
+ "Deleting"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "OriginResourceState",
+ "modelAsString": true
+ }
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "description": "Provisioning status of the origin.",
+ "type": "string"
+ }
+ }
+ },
+ "OriginUpdateParameters": {
+ "type": "object",
+ "description": "Origin properties needed for origin update.",
+ "properties": {
+ "tags": {
+ "description": "Origin tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/OriginUpdatePropertiesParameters"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "OriginUpdatePropertiesParameters": {
+ "description": "The JSON object that contains the properties of the origin.",
+ "properties": {
+ "hostName": {
+ "description": "The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint.",
+ "type": "string"
+ },
+ "httpPort": {
+ "description": "The value of the HTTP port. Must be between 1 and 65535.",
+ "type": "integer",
+ "maximum": 65535,
+ "exclusiveMaximum": false,
+ "minimum": 1,
+ "exclusiveMinimum": false
+ },
+ "httpsPort": {
+ "description": "The value of the HTTPS port. Must be between 1 and 65535.",
+ "type": "integer",
+ "maximum": 65535,
+ "exclusiveMaximum": false,
+ "minimum": 1,
+ "exclusiveMinimum": false
+ },
+ "originHostHeader": {
+ "description": "The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint",
+ "type": "string"
+ },
+ "priority": {
+ "description": "Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5",
+ "type": "integer",
+ "maximum": 5,
+ "minimum": 1
+ },
+ "weight": {
+ "description": "Weight of the origin in given origin group for load balancing. Must be between 1 and 1000",
+ "type": "integer",
+ "maximum": 1000,
+ "minimum": 1
+ },
+ "enabled": {
+ "description": "Origin is enabled for load balancing or not",
+ "type": "boolean"
+ }
+ }
+ },
+ "OriginListResult": {
+ "description": "Result of the request to list origins. It contains a list of origin objects and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Origin"
+ },
+ "description": "List of CDN origins within an endpoint"
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of origin objects if there are any."
+ }
+ }
+ },
+ "OriginGroup": {
+ "description": "Origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/OriginGroupProperties"
+ }
+ }
+ },
+ "OriginGroupProperties": {
+ "description": "The JSON object that contains the properties of the origin group.",
+ "type": "object",
+ "required": [
+ "origins"
+ ],
+ "allOf": [
+ {
+ "$ref": "#/definitions/OriginGroupUpdatePropertiesParameters"
+ }
+ ],
+ "properties": {
+ "resourceState": {
+ "description": "Resource status of the origin group.",
+ "readOnly": true,
+ "enum": [
+ "Creating",
+ "Active",
+ "Deleting"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "OriginGroupResourceState",
+ "modelAsString": true
+ }
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "description": "Provisioning status of the origin group.",
+ "type": "string"
+ }
+ }
+ },
+ "OriginGroupUpdateParameters": {
+ "type": "object",
+ "description": "Origin group properties needed for origin group creation or update.",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/OriginGroupUpdatePropertiesParameters"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "OriginGroupUpdatePropertiesParameters": {
+ "description": "The JSON object that contains the properties of the origin group.",
+ "properties": {
+ "healthProbeSettings": {
+ "description": "Health probe settings to the origin that is used to determine the health of the origin.",
+ "type": "object",
+ "$ref": "#/definitions/HealthProbeParameters"
+ },
+ "origins": {
+ "description": "The source of the content being delivered via CDN within given origin group.",
+ "type": "array",
+ "items": {
+ "description": "A reference to a origin.",
+ "$ref": "#/definitions/ResourceReference"
+ }
+ },
+ "trafficRestorationTimeToHealedOrNewEndpointsInMinutes": {
+ "description": "Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.",
+ "type": "integer",
+ "maximum": 50,
+ "minimum": 0
+ },
+ "responseBasedOriginErrorDetectionSettings":{
+ "description": "The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.",
+ "type": "object",
+ "$ref": "#/definitions/ResponseBasedOriginErrorDetectionParameters"
+ }
+ }
+ },
+ "HealthProbeParameters": {
+ "description": "The JSON object that contains the properties to send health probes to origin.",
+ "properties": {
+ "probePath": {
+ "description": "The path relative to the origin that is used to determine the health of the origin.",
+ "type": "string"
+ },
+ "probeRequestType": {
+ "description": "The type of health probe request that is made.",
+ "enum": [
+ "NotSet",
+ "GET",
+ "HEAD"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "HealthProbeRequestType",
+ "modelAsString": false
+ }
+ },
+ "probeProtocol": {
+ "description": "Protocol to use for health probe.",
+ "type": "string",
+ "enum": [
+ "NotSet",
+ "Http",
+ "Https"
+ ],
+ "x-ms-enum": {
+ "name": "ProbeProtocol",
+ "modelAsString": false
+ }
+ },
+ "probeIntervalInSeconds": {
+ "description": "The number of seconds between health probes.Default is 240sec.",
+ "type": "integer",
+ "maximum": 255,
+ "minimum": 1
+ }
+ }
+ },
+ "ResponseBasedOriginErrorDetectionParameters": {
+ "description": "The JSON object that contains the properties to determine origin health using real requests/responses.",
+ "properties": {
+ "responseBasedDetectedErrorTypes": {
+ "description": "Type of response errors for real user requests for which origin will be deemed unhealthy",
+ "type": "string",
+ "enum": [
+ "None",
+ "TcpErrorsOnly",
+ "TcpAndHttpErrors"
+ ],
+ "x-ms-enum": {
+ "name": "ResponseBasedDetectedErrorTypes",
+ "modelAsString": false
+ }
+ },
+ "responseBasedFailoverThresholdPercentage": {
+ "description": "The percentage of failed requests in the sample where failover should trigger.",
+ "type": "integer",
+ "maximum": 100,
+ "minimum": 0
+ },
+ "httpErrorRanges" : {
+ "description": "The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/HttpErrorRangeParameters"
+ }
+ }
+ }
+ },
+ "HttpErrorRangeParameters": {
+ "description": "The JSON object that represents the range for http status codes",
+ "properties": {
+ "begin": {
+ "description": "The inclusive start of the http status code range.",
+ "type": "integer",
+ "maximum": 999,
+ "minimum": 100
+ },
+ "end": {
+ "description": "The inclusive end of the http status code range.",
+ "type": "integer",
+ "maximum": 999,
+ "minimum": 100
+ }
+ }
+ },
+ "OriginGroupListResult": {
+ "description": "Result of the request to list origin groups. It contains a list of origin groups objects and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/OriginGroup"
+ },
+ "description": "List of CDN origin groups within an endpoint"
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of origin objects if there are any."
+ }
+ }
+ },
+ "CustomDomain": {
+ "description": "Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/CustomDomainProperties"
+ }
+ }
+ },
+ "CustomDomainProperties": {
+ "description": "The JSON object that contains the properties of the custom domain to create.",
+ "required": [
+ "hostName"
+ ],
+ "properties": {
+ "hostName": {
+ "description": "The host name of the custom domain. Must be a domain name.",
+ "type": "string"
+ },
+ "resourceState": {
+ "description": "Resource status of the custom domain.",
+ "readOnly": true,
+ "enum": [
+ "Creating",
+ "Active",
+ "Deleting"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CustomDomainResourceState",
+ "modelAsString": true
+ }
+ },
+ "customHttpsProvisioningState": {
+ "description": "Provisioning status of Custom Https of the custom domain.",
+ "readOnly": true,
+ "enum": [
+ "Enabling",
+ "Enabled",
+ "Disabling",
+ "Disabled",
+ "Failed"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CustomHttpsProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "customHttpsProvisioningSubstate": {
+ "description": "Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.",
+ "readOnly": true,
+ "enum": [
+ "SubmittingDomainControlValidationRequest",
+ "PendingDomainControlValidationREquestApproval",
+ "DomainControlValidationRequestApproved",
+ "DomainControlValidationRequestRejected",
+ "DomainControlValidationRequestTimedOut",
+ "IssuingCertificate",
+ "DeployingCertificate",
+ "CertificateDeployed",
+ "DeletingCertificate",
+ "CertificateDeleted"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CustomHttpsProvisioningSubstate",
+ "modelAsString": true
+ }
+ },
+ "validationData": {
+ "description": "Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.",
+ "type": "string"
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "description": "Provisioning status of the custom domain.",
+ "type": "string"
+ }
+ }
+ },
+ "CustomDomainParameters": {
+ "description": "The customDomain JSON object required for custom domain creation or update.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/CustomDomainPropertiesParameters"
+ }
+ }
+ },
+ "CustomDomainPropertiesParameters": {
+ "description": "The JSON object that contains the properties of the custom domain to create.",
+ "required": [
+ "hostName"
+ ],
+ "properties": {
+ "hostName": {
+ "description": "The host name of the custom domain. Must be a domain name.",
+ "type": "string"
+ }
+ }
+ },
+ "CustomDomainHttpsParameters": {
+ "description": "The JSON object that contains the properties to secure a custom domain.",
+ "discriminator": "certificateSource",
+ "required": [
+ "certificateSource",
+ "protocolType"
+ ],
+ "properties": {
+ "certificateSource": {
+ "description": "Defines the source of the SSL certificate.",
+ "enum": [
+ "AzureKeyVault",
+ "Cdn"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CertificateSource",
+ "modelAsString": true
+ }
+ },
+ "protocolType": {
+ "description": "Defines the TLS extension protocol that is used for secure delivery.",
+ "enum": [
+ "ServerNameIndication",
+ "IPBased"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ProtocolType",
+ "modelAsString": true
+ }
+ },
+ "minimumTlsVersion": {
+ "description": "TLS protocol version that will be used for Https",
+ "enum": [
+ "None",
+ "TLS10",
+ "TLS12"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "MinimumTlsVersion",
+ "modelAsString": false
+ }
+ }
+ }
+ },
+ "CdnManagedHttpsParameters": {
+ "description": "Defines the certificate source parameters using CDN managed certificate for enabling SSL.",
+ "x-ms-discriminator-value": "Cdn",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CustomDomainHttpsParameters"
+ }
+ ],
+ "required": [
+ "certificateSourceParameters"
+ ],
+ "properties": {
+ "certificateSourceParameters": {
+ "description": "Defines the certificate source parameters using CDN managed certificate for enabling SSL.",
+ "$ref": "#/definitions/CdnCertificateSourceParameters"
+ }
+ }
+ },
+ "CdnCertificateSourceParameters": {
+ "description": "Defines the parameters for using CDN managed certificate for securing custom domain.",
+ "required": [
+ "@odata.type",
+ "certificateType"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters"
+ ]
+ },
+ "certificateType": {
+ "description": "Type of certificate used",
+ "enum": [
+ "Shared",
+ "Dedicated"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CertificateType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "UserManagedHttpsParameters": {
+ "description": "Defines the certificate source parameters using user's keyvault certificate for enabling SSL.",
+ "x-ms-discriminator-value": "AzureKeyVault",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CustomDomainHttpsParameters"
+ }
+ ],
+ "required": [
+ "certificateSourceParameters"
+ ],
+ "properties": {
+ "certificateSourceParameters": {
+ "description": "Defines the certificate source parameters using user's keyvault certificate for enabling SSL.",
+ "$ref": "#/definitions/KeyVaultCertificateSourceParameters"
+ }
+ }
+ },
+ "KeyVaultCertificateSourceParameters": {
+ "description": "Describes the parameters for using a user's KeyVault certificate for securing custom domain.",
+ "required": [
+ "@odata.type",
+ "subscriptionId",
+ "resourceGroupName",
+ "vaultName",
+ "secretName",
+ "secretVersion",
+ "updateRule",
+ "deleteRule"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters"
+ ]
+ },
+ "subscriptionId": {
+ "description": "Subscription Id of the user's Key Vault containing the SSL certificate",
+ "type": "string"
+ },
+ "resourceGroupName": {
+ "description": "Resource group of the user's Key Vault containing the SSL certificate",
+ "type": "string"
+ },
+ "vaultName": {
+ "description": "The name of the user's Key Vault containing the SSL certificate",
+ "type": "string"
+ },
+ "secretName": {
+ "description": "The name of Key Vault Secret (representing the full certificate PFX) in Key Vault.",
+ "type": "string"
+ },
+ "secretVersion": {
+ "description": "The version(GUID) of Key Vault Secret in Key Vault.",
+ "type": "string"
+ },
+ "updateRule": {
+ "description": "Describes the action that shall be taken when the certificate is updated in Key Vault.",
+ "type": "string",
+ "enum": [
+ "NoAction"
+ ],
+ "x-ms-enum": {
+ "name": "UpdateRule",
+ "modelAsString": true
+ }
+ },
+ "deleteRule": {
+ "description": "Describes the action that shall be taken when the certificate is removed from Key Vault.",
+ "type": "string",
+ "enum": [
+ "NoAction"
+ ],
+ "x-ms-enum": {
+ "name": "DeleteRule",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "CustomDomainListResult": {
+ "description": "Result of the request to list custom domains. It contains a list of custom domain objects and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/CustomDomain"
+ },
+ "description": "List of CDN CustomDomains within an endpoint."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of custom domain objects if there are any."
+ }
+ }
+ },
+ "ValidateCustomDomainInput": {
+ "description": "Input of the custom domain to be validated for DNS mapping.",
+ "type": "object",
+ "required": [
+ "hostName"
+ ],
+ "properties": {
+ "hostName": {
+ "description": "The host name of the custom domain. Must be a domain name.",
+ "type": "string"
+ }
+ }
+ },
+ "ValidateCustomDomainOutput": {
+ "description": "Output of custom domain validation.",
+ "type": "object",
+ "properties": {
+ "customDomainValidated": {
+ "description": "Indicates whether the custom domain is valid or not.",
+ "readOnly": true,
+ "type": "boolean"
+ },
+ "reason": {
+ "description": "The reason why the custom domain is not valid.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message describing why the custom domain is not valid.",
+ "readOnly": true,
+ "type": "string"
+ }
+ }
+ },
+ "CheckNameAvailabilityInput": {
+ "description": "Input of CheckNameAvailability API.",
+ "type": "object",
+ "required": [
+ "name",
+ "type"
+ ],
+ "properties": {
+ "name": {
+ "description": "The resource name to validate.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The type of the resource whose name is to be validated.",
+ "$ref": "#/definitions/ResourceType"
+ }
+ }
+ },
+ "CheckNameAvailabilityOutput": {
+ "description": "Output of check name availability API.",
+ "type": "object",
+ "properties": {
+ "nameAvailable": {
+ "description": "Indicates whether the name is available.",
+ "readOnly": true,
+ "type": "boolean"
+ },
+ "reason": {
+ "description": "The reason why the name is not available.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "message": {
+ "description": "The detailed error message describing why the name is not available.",
+ "readOnly": true,
+ "type": "string"
+ }
+ }
+ },
+ "ValidateProbeInput": {
+ "description": "Input of the validate probe API.",
+ "properties": {
+ "probeURL": {
+ "description": "The probe URL to validate.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "probeURL"
+ ],
+ "type": "object"
+ },
+ "ValidateProbeOutput": {
+ "description": "Output of the validate probe API.",
+ "properties": {
+ "isValid": {
+ "description": "Indicates whether the probe URL is accepted or not.",
+ "readOnly": true,
+ "type": "boolean"
+ },
+ "errorCode": {
+ "description": "Specifies the error code when the probe url is not accepted.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "message": {
+ "description": "The detailed error message describing why the probe URL is not accepted.",
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ResourceUsageListResult": {
+ "description": "Output of check resource usage API.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ResourceUsage"
+ },
+ "description": "List of resource usages."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of custom domain objects if there are any."
+ }
+ }
+ },
+ "ResourceUsage": {
+ "description": "Output of check resource usage API.",
+ "type": "object",
+ "properties": {
+ "resourceType": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type for which the usage is provided."
+ },
+ "unit": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Unit of the usage. e.g. Count."
+ },
+ "currentValue": {
+ "type": "integer",
+ "readOnly": true,
+ "description": "Actual value of usage on the specified resource type."
+ },
+ "limit": {
+ "type": "integer",
+ "readOnly": true,
+ "description": "Quota of the specified resource type."
+ }
+ }
+ },
+ "ResourceType": {
+ "description": "Type of CDN resource used in CheckNameAvailability.",
+ "enum": [
+ "Microsoft.Cdn/Profiles/Endpoints"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ResourceType",
+ "modelAsString": false
+ }
+ },
+ "Operation": {
+ "description": "CDN REST API operation",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}",
+ "readOnly": true,
+ "type": "string"
+ },
+ "display": {
+ "description": "The object that represents the operation.",
+ "properties": {
+ "provider": {
+ "description": "Service provider: Microsoft.Cdn",
+ "readOnly": true,
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed: Profile, endpoint, etc.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "operation": {
+ "description": "Operation type: Read, write, delete, etc.",
+ "readOnly": true,
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "OperationsListResult": {
+ "description": "Result of the request to list CDN operations. It contains a list of operations and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of CDN operations supported by the CDN resource provider."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of operation list results if there are any."
+ }
+ }
+ },
+ "EdgenodeResult": {
+ "description": "Result of the request to list CDN edgenodes. It contains a list of ip address group and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/EdgeNode"
+ },
+ "description": "Edge node of CDN service."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of edgenode list results if there are any."
+ }
+ }
+ },
+ "EdgeNode": {
+ "description": "Edgenode is a global Point of Presence (POP) location used to deliver CDN content to end users.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/EdgeNodeProperties"
+ }
+ }
+ },
+ "EdgeNodeProperties": {
+ "description": "The JSON object that contains the properties required to create an edgenode.",
+ "required": [
+ "ipAddressGroups"
+ ],
+ "properties": {
+ "ipAddressGroups": {
+ "description": "List of ip address groups.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IpAddressGroup"
+ }
+ }
+ }
+ },
+ "IpAddressGroup": {
+ "description": "CDN Ip address group",
+ "type": "object",
+ "properties": {
+ "deliveryRegion": {
+ "description": "The delivery region of the ip address group",
+ "type": "string"
+ },
+ "ipv4Addresses": {
+ "description": "The list of ip v4 addresses.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/cidrIpAddress"
+ }
+ },
+ "ipv6Addresses": {
+ "description": "The list of ip v6 addresses.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/cidrIpAddress"
+ }
+ }
+ }
+ },
+ "cidrIpAddress": {
+ "description": "CIDR Ip address",
+ "type": "object",
+ "properties": {
+ "baseIpAddress": {
+ "description": "Ip address itself.",
+ "type": "string"
+ },
+ "prefixLength": {
+ "description": "The length of the prefix of the ip address.",
+ "type": "integer"
+ }
+ }
+ },
+ "Resource": {
+ "description": "The core properties of ARM resources",
+ "properties": {
+ "id": {
+ "description": "Resource ID.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "name": {
+ "description": "Resource name.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "type": {
+ "description": "Resource type.",
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "TrackedResource": {
+ "description": "The resource model definition for a ARM tracked top level resource.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location."
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create",
+ "update"
+ ],
+ "description": "Resource tags."
+ }
+ },
+ "required": [
+ "location"
+ ]
+ },
+ "ProxyResource": {
+ "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ]
+ },
+ "QueryStringCachingBehavior": {
+ "description": "Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL.",
+ "enum": [
+ "IgnoreQueryString",
+ "BypassCaching",
+ "UseQueryString",
+ "NotSet"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "QueryStringCachingBehavior",
+ "modelAsString": false
+ }
+ },
+ "Sku": {
+ "description": "The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.",
+ "properties": {
+ "name": {
+ "description": "Name of the pricing tier.",
+ "enum": [
+ "Standard_Verizon",
+ "Premium_Verizon",
+ "Custom_Verizon",
+ "Standard_Akamai",
+ "Standard_ChinaCdn",
+ "Standard_Microsoft",
+ "Premium_ChinaCdn"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SkuName",
+ "modelAsString": true
+ }
+ }
+ },
+ "type": "object"
+ },
+ "OptimizationType": {
+ "description": "Specifies what scenario the customer wants this CDN endpoint to optimize, e.g. Download, Media services. With this information we can apply scenario driven optimization.",
+ "enum": [
+ "GeneralWebDelivery",
+ "GeneralMediaStreaming",
+ "VideoOnDemandMediaStreaming",
+ "LargeFileDownload",
+ "DynamicSiteAcceleration"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "OptimizationType",
+ "modelAsString": true
+ }
+ },
+ "ErrorResponse": {
+ "description": "Error response indicates CDN service is not able to process the incoming request. The reason is provided in the error message.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "readOnly": true,
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "subscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "Azure Subscription ID.",
+ "required": true,
+ "type": "string"
+ },
+ "apiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Version of the API to be used with the client request. Current version is 2017-04-02."
+ },
+ "resourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[-\\w\\._\\(\\)]+$",
+ "minLength": 1,
+ "maxLength": 90,
+ "x-ms-parameter-location": "method",
+ "description": "Name of the Resource group within the Azure subscription."
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CheckNameAvailability.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CheckNameAvailability.json
new file mode 100644
index 000000000000..0ed21fe81461
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CheckNameAvailability.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "checkNameAvailabilityInput": {
+ "name": "sampleName",
+ "type": "Microsoft.Cdn/Profiles/Endpoints"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nameAvailable": false,
+ "reason": "Name is already in use",
+ "message": "Name not available"
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CheckNameAvailabilityWithSubscription.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CheckNameAvailabilityWithSubscription.json
new file mode 100644
index 000000000000..407de083415c
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CheckNameAvailabilityWithSubscription.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "checkNameAvailabilityInput": {
+ "name": "sampleName",
+ "type": "Microsoft.Cdn/Profiles/Endpoints"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nameAvailable": false,
+ "reason": "Name is already in use",
+ "message": "Name not available"
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_Create.json
new file mode 100644
index 000000000000..3b1aecc6fe44
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_Create.json
@@ -0,0 +1,62 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1",
+ "customDomainName": "www-someDomain-net",
+ "customDomainProperties": {
+ "properties": {
+ "hostName": "www.someDomain.net"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "www-someDomain-net",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/customdomains",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "customHttpsProvisioningState": "Enabling",
+ "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
+ "validationData": null
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "www-someDomain-net",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/customdomains",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "customHttpsProvisioningState": "Enabling",
+ "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
+ "validationData": null
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "name": "www-someDomain-net",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/customdomains",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "customHttpsProvisioningState": "Enabling",
+ "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
+ "validationData": null
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_Delete.json
new file mode 100644
index 000000000000..49c7fde06312
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_Delete.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1",
+ "customDomainName": "www-someDomain-net"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "body": {
+ "name": "www-someDomain-net",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/customdomains",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "customHttpsProvisioningState": "Enabling",
+ "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
+ "validationData": null
+ }
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_DisableCustomHttps.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_DisableCustomHttps.json
new file mode 100644
index 000000000000..07e4ac17b862
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_DisableCustomHttps.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1",
+ "customDomainName": "www-someDomain-net"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "body": {
+ "name": "www-someDomain-net",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/customdomains",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "customHttpsProvisioningState": "Enabling",
+ "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
+ "validationData": null
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json
new file mode 100644
index 000000000000..eb995fc91627
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1",
+ "customDomainName": "www-someDomain-net",
+ "customHttpsParameters": {
+ "MinimumTLSVersion": "TLS12",
+ "certificateSource": "AzureKeyVault",
+ "protocolType": "ServerNameIndication",
+ "certificateSourceParameters": {
+ "OData.type": "#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "vaultName": "kv",
+ "secretName": "secret1",
+ "secretVersion": "00000000-0000-0000-0000-000000000000",
+ "updateRule": "NoAction",
+ "deleteRule": "NoAction"
+ }
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "body": {
+ "name": "www-someDomain-net",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/customdomains",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "customHttpsProvisioningState": "Enabling",
+ "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
+ "validationData": "validationdata"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json
new file mode 100644
index 000000000000..05dabcb7a16d
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1",
+ "customDomainName": "www-someDomain-net",
+ "customHttpsParameters": {
+ "MinimumTLSVersion": "TLS12",
+ "certificateSource": "Cdn",
+ "protocolType": "ServerNameIndication",
+ "certificateSourceParameters": {
+ "OData.type": "#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters",
+ "certificateType": "Shared"
+ }
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "body": {
+ "name": "www-someDomain-net",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/customdomains",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "customHttpsProvisioningState": "Enabling",
+ "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
+ "validationData": "validationdata"
+ }
+ }
+ }
+ }
+}
+
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_Get.json
new file mode 100644
index 000000000000..6a1f50675afa
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_Get.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1",
+ "customDomainName": "www-someDomain-net"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "www-someDomain-net",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/customdomains",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "customHttpsProvisioningState": "Disabled",
+ "customHttpsProvisioningSubstate": "None",
+ "validationData": null
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_ListByEndpoint.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_ListByEndpoint.json
new file mode 100644
index 000000000000..071dc287bd7b
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_ListByEndpoint.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "www-someDomain-net",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/customdomains",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "customHttpsProvisioningState": "Disabled",
+ "customHttpsProvisioningSubstate": "None",
+ "validationData": null
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/EdgeNodes_List.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/EdgeNodes_List.json
new file mode 100644
index 000000000000..4273ff8d8efa
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/EdgeNodes_List.json
@@ -0,0 +1,107 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Standard_Verizon",
+ "id": "/providers/Microsoft.Cdn/edgenodes/Standard_Verizon",
+ "type": "Microsoft.Cdn/edgenodes",
+ "properties": {
+ "ipAddressGroups": [
+ {
+ "deliveryRegion": "All",
+ "ipv4Addresses": [
+ {
+ "baseIpAddress": "192.229.176.0",
+ "prefixLength": 24
+ },
+ {
+ "baseIpAddress": "180.240.184.128",
+ "prefixLength": 25
+ },
+ {
+ "baseIpAddress": "152.195.27.0",
+ "prefixLength": 24
+ }
+ ],
+ "ipv6Addresses": [
+ {
+ "baseIpAddress": "2606:2800:60f2::",
+ "prefixLength": 48
+ },
+ {
+ "baseIpAddress": "2606:2800:700c::",
+ "prefixLength": 48
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "name": "Premium_Verizon",
+ "id": "/providers/Microsoft.Cdn/edgenodes/Premium_Verizon",
+ "type": "Microsoft.Cdn/edgenodes",
+ "properties": {
+ "ipAddressGroups": [
+ {
+ "deliveryRegion": "All",
+ "ipv4Addresses": [
+ {
+ "baseIpAddress": "192.229.176.0",
+ "prefixLength": 24
+ },
+ {
+ "baseIpAddress": "152.195.27.0",
+ "prefixLength": 24
+ }
+ ],
+ "ipv6Addresses": [
+ {
+ "baseIpAddress": "2606:2800:60f2::",
+ "prefixLength": 48
+ },
+ {
+ "baseIpAddress": "2606:2800:700c::",
+ "prefixLength": 48
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "name": "Custom_Verizon",
+ "id": "/providers/Microsoft.Cdn/edgenodes/Custom_Verizon",
+ "type": "Microsoft.Cdn/edgenodes",
+ "properties": {
+ "ipAddressGroups": [
+ {
+ "deliveryRegion": "All",
+ "ipv4Addresses": [
+ {
+ "baseIpAddress": "192.229.176.0",
+ "prefixLength": 24
+ },
+ {
+ "baseIpAddress": "2606:2800:420b::",
+ "prefixLength": 48
+ },
+ {
+ "baseIpAddress": "2606:2800:700c::",
+ "prefixLength": 48
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Create.json
new file mode 100644
index 000000000000..4bf186ccbce7
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Create.json
@@ -0,0 +1,551 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1",
+ "endpoint": {
+ "location": "WestUs",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "originHostHeader": "www.bing.com",
+ "originPath": "/photos",
+ "contentTypesToCompress": [
+ "text/html",
+ "application/octet-stream"
+ ],
+ "isCompressionEnabled": true,
+ "isHttpAllowed": true,
+ "isHttpsAllowed": true,
+ "queryStringCachingBehavior": "BypassCaching",
+ "defaultOriginGroup":
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1"
+ },
+ "deliveryPolicy": {
+ "description": "Test description for a policy.",
+ "rules": [
+ {
+ "name": "rule1",
+ "order": 1,
+ "conditions": [
+ {
+ "name": "RemoteAddress",
+ "parameters": {
+ "operator": "IPMatch",
+ "negateCondition": true,
+ "matchValues": [
+ "192.168.1.0/24",
+ "10.0.0.0/24"
+ ],
+ "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters"
+ }
+ }
+ ],
+ "actions": [
+ {
+ "name": "CacheExpiration",
+ "parameters": {
+ "cacheBehavior": "Override",
+ "cacheDuration": "10:10:09",
+ "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters",
+ "cacheType": "All"
+ }
+ },
+ {
+ "name": "ModifyResponseHeader",
+ "parameters": {
+ "headerAction": "Overwrite",
+ "headerName": "Access-Control-Allow-Origin",
+ "value": "*",
+ "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters"
+ }
+ },
+ {
+ "name": "ModifyRequestHeader",
+ "parameters": {
+ "headerAction": "Overwrite",
+ "headerName": "Accept-Encoding",
+ "value": "gzip",
+ "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "origins": [
+ {
+ "name": "origin1",
+ "properties": {
+ "hostName": "www.someDomain1.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain1.net",
+ "priority": 1,
+ "weight": 50,
+ "enabled": true
+ }
+ },
+ {
+ "name": "origin2",
+ "properties": {
+ "hostName": "www.someDomain2.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain2.net",
+ "priority": 2,
+ "weight": 50,
+ "enabled": true
+ }
+ }
+ ],
+ "originGroups": [
+ {
+ "name": "originGroup1",
+ "properties": {
+ "healthProbeSettings":
+ {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin2"
+ }
+ ],
+ "responseBasedOriginErrorDetectionSettings":{
+ "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
+ "responseBasedFailoverThresholdPercentage" : 10
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "endpoint4899",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1",
+ "type": "Microsoft.Cdn/profiles/endpoints",
+ "tags": {
+ "kay1": "value1"
+ },
+ "location": "WestUs",
+ "properties": {
+ "hostName": "endpoint4899.azureedge-test.net",
+ "originHostHeader": "www.bing.com",
+ "provisioningState": "Creating",
+ "resourceState": "Creating",
+ "isHttpAllowed": true,
+ "isHttpsAllowed": true,
+ "queryStringCachingBehavior": "BypassCaching",
+ "originPath": "/photos",
+ "defaultOriginGroup":
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1"
+ },
+ "origins": [
+ {
+ "name": "origin1",
+ "properties": {
+ "hostName": "www.someDomain1.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain1.net",
+ "priority": 1,
+ "weight": 50,
+ "enabled": true
+ }
+ },
+ {
+ "name": "origin2",
+ "properties": {
+ "hostName": "www.someDomain2.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain2.net",
+ "priority": 2,
+ "weight": 50,
+ "enabled": true
+ }
+ }
+ ],
+ "originGroups": [
+ {
+ "name": "originGroup1",
+ "properties": {
+ "healthProbeSettings":
+ {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin2"
+ }
+ ],
+ "responseBasedOriginErrorDetectionSettings":{
+ "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
+ "responseBasedFailoverThresholdPercentage" : 10
+ }
+ }
+ }
+ ],
+ "contentTypesToCompress": [
+ "text/html",
+ "application/octet-stream"
+ ],
+ "isCompressionEnabled": true,
+ "optimizationType": null,
+ "probePath": null,
+ "geoFilters": [],
+ "deliveryPolicy": {
+ "description": "Test description for a policy.",
+ "rules": [
+ {
+ "name": "rule1",
+ "order": 1,
+ "conditions": [
+ {
+ "name": "RemoteAddress",
+ "parameters": {
+ "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters",
+ "operator": "IPMatch",
+ "negateCondition": true,
+ "matchValues": [
+ "192.168.1.0/24",
+ "10.0.0.0/24"
+ ],
+ "transforms": []
+ }
+ }
+ ],
+ "actions": [
+ {
+ "name": "CacheExpiration",
+ "parameters": {
+ "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters",
+ "cacheBehavior": "Override",
+ "cacheDuration": "10:10:09",
+ "cacheType": "All"
+ }
+ },
+ {
+ "name": "ModifyResponseHeader",
+ "parameters": {
+ "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters",
+ "headerAction": "Overwrite",
+ "headerName": "Access-Control-Allow-Origin",
+ "value": "*"
+ }
+ },
+ {
+ "name": "ModifyRequestHeader",
+ "parameters": {
+ "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters",
+ "headerAction": "Overwrite",
+ "headerName": "Accept-Encoding",
+ "value": "gzip"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "endpoint4899",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1",
+ "type": "Microsoft.Cdn/profiles/endpoints",
+ "tags": {
+ "kay1": "value1"
+ },
+ "location": "WestUs",
+ "properties": {
+ "hostName": "endpoint4899.azureedge-test.net",
+ "originHostHeader": "www.bing.com",
+ "provisioningState": "Creating",
+ "resourceState": "Creating",
+ "isHttpAllowed": true,
+ "isHttpsAllowed": true,
+ "queryStringCachingBehavior": "BypassCaching",
+ "originPath": "/photos",
+ "defaultOriginGroup":
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1"
+ },
+ "origins": [
+ {
+ "name": "origin1",
+ "properties": {
+ "hostName": "www.someDomain1.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain1.net",
+ "priority": 1,
+ "weight": 50,
+ "enabled": true
+ }
+ },
+ {
+ "name": "origin2",
+ "properties": {
+ "hostName": "www.someDomain2.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain2.net",
+ "priority": 2,
+ "weight": 50,
+ "enabled": true
+ }
+ }
+ ],
+ "originGroups": [
+ {
+ "name": "originGroup1",
+ "properties": {
+ "healthProbeSettings":
+ {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin2"
+ }
+ ],
+ "responseBasedOriginErrorDetectionSettings":{
+ "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
+ "responseBasedFailoverThresholdPercentage" : 10
+ }
+ }
+ }
+ ],
+ "contentTypesToCompress": [
+ "text/html",
+ "application/octet-stream"
+ ],
+ "isCompressionEnabled": true,
+ "optimizationType": null,
+ "probePath": null,
+ "geoFilters": [],
+ "deliveryPolicy": {
+ "description": "Test description for a policy.",
+ "rules": [
+ {
+ "name": "rule1",
+ "order": 1,
+ "conditions": [
+ {
+ "name": "RemoteAddress",
+ "parameters": {
+ "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters",
+ "operator": "IPMatch",
+ "negateCondition": true,
+ "matchValues": [
+ "192.168.1.0/24",
+ "10.0.0.0/24"
+ ],
+ "transforms": []
+ }
+ }
+ ],
+ "actions": [
+ {
+ "name": "CacheExpiration",
+ "parameters": {
+ "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters",
+ "cacheBehavior": "Override",
+ "cacheDuration": "10:10:09",
+ "cacheType": "All"
+ }
+ },
+ {
+ "name": "ModifyResponseHeader",
+ "parameters": {
+ "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters",
+ "headerAction": "Overwrite",
+ "headerName": "Access-Control-Allow-Origin",
+ "value": "*"
+ }
+ },
+ {
+ "name": "ModifyRequestHeader",
+ "parameters": {
+ "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters",
+ "headerAction": "Overwrite",
+ "headerName": "Accept-Encoding",
+ "value": "gzip"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "name": "endpoint4899",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1",
+ "type": "Microsoft.Cdn/profiles/endpoints",
+ "tags": {
+ "kay1": "value1"
+ },
+ "location": "WestUs",
+ "properties": {
+ "hostName": "endpoint4899.azureedge-test.net",
+ "originHostHeader": "www.bing.com",
+ "provisioningState": "Creating",
+ "resourceState": "Creating",
+ "isHttpAllowed": true,
+ "isHttpsAllowed": true,
+ "queryStringCachingBehavior": "BypassCaching",
+ "originPath": "/photos",
+ "defaultOriginGroup":
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1"
+ },
+ "origins": [
+ {
+ "name": "origin1",
+ "properties": {
+ "hostName": "www.someDomain1.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain1.net",
+ "priority": 1,
+ "weight": 50,
+ "enabled": true
+ }
+ },
+ {
+ "name": "origin2",
+ "properties": {
+ "hostName": "www.someDomain2.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain2.net",
+ "priority": 2,
+ "weight": 50,
+ "enabled": true
+ }
+ }
+ ],
+ "originGroups": [
+ {
+ "name": "originGroup1",
+ "properties": {
+ "healthProbeSettings":
+ {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin2"
+ }
+ ],
+ "responseBasedOriginErrorDetectionSettings":{
+ "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
+ "responseBasedFailoverThresholdPercentage" : 10
+ }
+ }
+ }
+ ],
+ "contentTypesToCompress": [
+ "text/html",
+ "application/octet-stream"
+ ],
+ "isCompressionEnabled": true,
+ "optimizationType": null,
+ "probePath": null,
+ "geoFilters": [],
+ "deliveryPolicy": {
+ "description": "Test description for a policy.",
+ "rules": [
+ {
+ "name": "rule1",
+ "order": 1,
+ "conditions": [
+ {
+ "name": "RemoteAddress",
+ "parameters": {
+ "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters",
+ "operator": "IPMatch",
+ "negateCondition": true,
+ "matchValues": [
+ "192.168.1.0/24",
+ "10.0.0.0/24"
+ ],
+ "transforms": []
+ }
+ }
+ ],
+ "actions": [
+ {
+ "name": "CacheExpiration",
+ "parameters": {
+ "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters",
+ "cacheBehavior": "Override",
+ "cacheDuration": "10:10:09",
+ "cacheType": "All"
+ }
+ },
+ {
+ "name": "ModifyResponseHeader",
+ "parameters": {
+ "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters",
+ "headerAction": "Overwrite",
+ "headerName": "Access-Control-Allow-Origin",
+ "value": "*"
+ }
+ },
+ {
+ "name": "ModifyRequestHeader",
+ "parameters": {
+ "@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters",
+ "headerAction": "Overwrite",
+ "headerName": "Accept-Encoding",
+ "value": "gzip"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Delete.json
new file mode 100644
index 000000000000..61f240eece45
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Get.json
new file mode 100644
index 000000000000..caf52f2fe9c6
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Get.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "endpoint1",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1",
+ "type": "Microsoft.Cdn/profiles/endpoints",
+ "tags": {},
+ "location": "CentralUs",
+ "properties": {
+ "hostName": "endpoint1.azureedge.net",
+ "originHostHeader": "www.bing.com",
+ "provisioningState": "Succeeded",
+ "resourceState": "Running",
+ "isHttpAllowed": true,
+ "isHttpsAllowed": true,
+ "queryStringCachingBehavior": "NotSet",
+ "originPath": null,
+ "origins": [
+ {
+ "name": "www-bing-com",
+ "properties": {
+ "hostName": "www.bing.com",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain2.net",
+ "priority": 2,
+ "weight": 50,
+ "enabled": true
+ }
+ }
+ ],
+ "originGroups": [
+ {
+ "name": "originGroup1",
+ "properties": {
+ "healthProbeSettings":
+ {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-bing-com"
+ }
+ ]
+ }
+ }
+ ],
+ "contentTypesToCompress": [],
+ "isCompressionEnabled": false,
+ "optimizationType": "DynamicSiteAcceleration",
+ "probePath": "/image",
+ "geoFilters": [],
+ "defaultOriginGroup":
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_ListByProfile.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_ListByProfile.json
new file mode 100644
index 000000000000..6b2fac6099c3
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_ListByProfile.json
@@ -0,0 +1,79 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "endpoint1",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1",
+ "type": "Microsoft.Cdn/profiles/endpoints",
+ "tags": {},
+ "location": "CentralUs",
+ "properties": {
+ "hostName": "endpoint1.azureedge.net",
+ "originHostHeader": "www.bing.com",
+ "provisioningState": "Succeeded",
+ "resourceState": "Running",
+ "isHttpAllowed": true,
+ "isHttpsAllowed": true,
+ "queryStringCachingBehavior": "NotSet",
+ "originPath": null,
+ "origins": [
+ {
+ "name": "www-bing-com",
+ "properties": {
+ "hostName": "www.bing.com",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain2.net",
+ "priority": 2,
+ "weight": 50,
+ "enabled": true
+ }
+ }
+ ],
+ "originGroups": [
+ {
+ "name": "originGroup1",
+ "properties": {
+ "healthProbeSettings":
+ {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-bing-com"
+ }
+ ],
+ "responseBasedOriginErrorDetectionSettings":{
+ "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
+ "responseBasedFailoverThresholdPercentage" : 10
+ }
+ }
+ }
+ ],
+ "contentTypesToCompress": [],
+ "isCompressionEnabled": false,
+ "optimizationType": "DynamicSiteAcceleration",
+ "probePath": "/image",
+ "geoFilters": [],
+ "defaultOriginGroup":
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_ListResourceUsage.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_ListResourceUsage.json
new file mode 100644
index 000000000000..94be14cf7278
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_ListResourceUsage.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "resourceType": "customdomain",
+ "unit": "count",
+ "currentValue": 1,
+ "limit": 20
+ },
+ {
+ "resourceType": "geofilter",
+ "unit": "count",
+ "currentValue": 0,
+ "limit": 25
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_LoadContent.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_LoadContent.json
new file mode 100644
index 000000000000..d8a3b7dc0ee4
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_LoadContent.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1",
+ "contentFilePaths": {
+ "contentPaths": [
+ "/folder1"
+ ]
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_PurgeContent.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_PurgeContent.json
new file mode 100644
index 000000000000..d8a3b7dc0ee4
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_PurgeContent.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1",
+ "contentFilePaths": {
+ "contentPaths": [
+ "/folder1"
+ ]
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Start.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Start.json
new file mode 100644
index 000000000000..d5bda6e24110
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Start.json
@@ -0,0 +1,83 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "endpoint4899",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1",
+ "type": "Microsoft.Cdn/profiles/endpoints",
+ "tags": {
+ "kay1": "value1"
+ },
+ "location": "WestUs",
+ "properties": {
+ "hostName": "endpoint1.azureedge.net",
+ "originHostHeader": "www.bing.com",
+ "provisioningState": "Succeeded",
+ "resourceState": "Starting",
+ "isHttpAllowed": true,
+ "isHttpsAllowed": true,
+ "queryStringCachingBehavior": "NotSet",
+ "originPath": null,
+ "origins": [
+ {
+ "name": "www-bing-com",
+ "properties": {
+ "hostName": "www.bing.com",
+ "httpPort": 80,
+ "httpsPort": 443
+ }
+ }
+ ],
+ "contentTypesToCompress": [],
+ "isCompressionEnabled": false,
+ "optimizationType": "DynamicSiteAcceleration",
+ "probePath": "/image",
+ "geoFilters": []
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "name": "endpoint4899",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1",
+ "type": "Microsoft.Cdn/profiles/endpoints",
+ "tags": {
+ "kay1": "value1"
+ },
+ "location": "WestUs",
+ "properties": {
+ "hostName": "endpoint1.azureedge.net",
+ "originHostHeader": "www.bing.com",
+ "provisioningState": "Succeeded",
+ "resourceState": "Starting",
+ "isHttpAllowed": true,
+ "isHttpsAllowed": true,
+ "queryStringCachingBehavior": "NotSet",
+ "originPath": null,
+ "origins": [
+ {
+ "name": "www-bing-com",
+ "properties": {
+ "hostName": "www.bing.com",
+ "httpPort": 80,
+ "httpsPort": 443
+ }
+ }
+ ],
+ "contentTypesToCompress": [],
+ "isCompressionEnabled": false,
+ "optimizationType": "DynamicSiteAcceleration",
+ "probePath": "/image",
+ "geoFilters": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Stop.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Stop.json
new file mode 100644
index 000000000000..fbe18fd3e8b2
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Stop.json
@@ -0,0 +1,83 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "endpoint4899",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1",
+ "type": "Microsoft.Cdn/profiles/endpoints",
+ "tags": {
+ "kay1": "value1"
+ },
+ "location": "WestUs",
+ "properties": {
+ "hostName": "endpoint1.azureedge.net",
+ "originHostHeader": "www.bing.com",
+ "provisioningState": "Succeeded",
+ "resourceState": "Stopping",
+ "isHttpAllowed": true,
+ "isHttpsAllowed": true,
+ "queryStringCachingBehavior": "NotSet",
+ "originPath": null,
+ "origins": [
+ {
+ "name": "www-bing-com",
+ "properties": {
+ "hostName": "www.bing.com",
+ "httpPort": 80,
+ "httpsPort": 443
+ }
+ }
+ ],
+ "contentTypesToCompress": [],
+ "isCompressionEnabled": false,
+ "optimizationType": "DynamicSiteAcceleration",
+ "probePath": "/image",
+ "geoFilters": []
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "name": "endpoint4899",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1",
+ "type": "Microsoft.Cdn/profiles/endpoints",
+ "tags": {
+ "kay1": "value1"
+ },
+ "location": "WestUs",
+ "properties": {
+ "hostName": "endpoint1.azureedge.net",
+ "originHostHeader": "www.bing.com",
+ "provisioningState": "Succeeded",
+ "resourceState": "Stopping",
+ "isHttpAllowed": true,
+ "isHttpsAllowed": true,
+ "queryStringCachingBehavior": "NotSet",
+ "originPath": null,
+ "origins": [
+ {
+ "name": "www-bing-com",
+ "properties": {
+ "hostName": "www.bing.com",
+ "httpPort": 80,
+ "httpsPort": 443
+ }
+ }
+ ],
+ "contentTypesToCompress": [],
+ "isCompressionEnabled": false,
+ "optimizationType": "DynamicSiteAcceleration",
+ "probePath": "/image",
+ "geoFilters": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Update.json
new file mode 100644
index 000000000000..6edad1d0499c
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Update.json
@@ -0,0 +1,142 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1",
+ "endpointUpdateProperties": {
+ "tags": {
+ "additionalProperties": "Tag1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "endpoint1",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1",
+ "type": "Microsoft.Cdn/profiles/endpoints",
+ "tags": {
+ "additionalProperties": "Tag1"
+ },
+ "location": "WestCentralUs",
+ "properties": {
+ "hostName": "endpoint1.azureedge.net",
+ "originHostHeader": null,
+ "provisioningState": "Creating",
+ "resourceState": "Creating",
+ "isHttpAllowed": true,
+ "isHttpsAllowed": true,
+ "queryStringCachingBehavior": "IgnoreQueryString",
+ "originPath": null,
+ "origins": [
+ {
+ "name": "www-bing-com",
+ "properties": {
+ "hostName": "www.bing.com",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain2.net",
+ "priority": 2,
+ "weight": 50,
+ "enabled": true
+ }
+ }
+ ],
+ "originGroups": [
+ {
+ "name": "originGroup1",
+ "properties": {
+ "healthProbeSettings":
+ {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-bing-com"
+ }
+ ]
+ }
+ }
+ ],
+ "defaultOriginGroup":
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1"
+ },
+ "contentTypesToCompress": [],
+ "isCompressionEnabled": false,
+ "optimizationType": null,
+ "probePath": null,
+ "geoFilters": []
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "name": "endpoint1",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1",
+ "type": "Microsoft.Cdn/profiles/endpoints",
+ "tags": {
+ "additionalProperties": "Tag1"
+ },
+ "location": "WestCentralUs",
+ "properties": {
+ "hostName": "endpoint1.azureedge.net",
+ "originHostHeader": null,
+ "provisioningState": "Creating",
+ "resourceState": "Creating",
+ "isHttpAllowed": true,
+ "isHttpsAllowed": true,
+ "queryStringCachingBehavior": "IgnoreQueryString",
+ "originPath": null,
+ "origins": [
+ {
+ "name": "www-bing-com",
+ "properties": {
+ "hostName": "www.bing.com",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain2.net",
+ "priority": 2,
+ "weight": 50,
+ "enabled": true
+ }
+ }
+ ],
+ "originGroups": [
+ {
+ "name": "originGroup1",
+ "properties": {
+ "healthProbeSettings":
+ {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-bing-com"
+ }
+ ]
+ }
+ }
+ ],
+ "contentTypesToCompress": [],
+ "isCompressionEnabled": false,
+ "optimizationType": null,
+ "probePath": null,
+ "geoFilters": [],
+ "defaultOriginGroup":
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_ValidateCustomDomain.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_ValidateCustomDomain.json
new file mode 100644
index 000000000000..88c6897f6e7d
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_ValidateCustomDomain.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1",
+ "customDomainProperties": {
+ "hostName": "www.someDomain.com"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "customDomainValidated": true,
+ "message": null,
+ "reason": null
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Operations_List.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Operations_List.json
new file mode 100644
index 000000000000..37e682864297
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Operations_List.json
@@ -0,0 +1,93 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Cdn/register/action",
+ "display": {
+ "provider": "Microsoft.Cdn",
+ "resource": "Microsoft.Cdn Resource Provider",
+ "operation": "Registers the Microsoft.Cdn Resource Provider"
+ }
+ },
+ {
+ "name": "Microsoft.Cdn/edgenodes/read",
+ "display": {
+ "provider": "Microsoft.Cdn",
+ "resource": "EdgeNode",
+ "operation": "read"
+ }
+ },
+ {
+ "name": "Microsoft.Cdn/edgenodes/write",
+ "display": {
+ "provider": "Microsoft.Cdn",
+ "resource": "EdgeNode",
+ "operation": "write"
+ }
+ },
+ {
+ "name": "Microsoft.Cdn/edgenodes/delete",
+ "display": {
+ "provider": "Microsoft.Cdn",
+ "resource": "EdgeNode",
+ "operation": "delete"
+ }
+ },
+ {
+ "name": "Microsoft.Cdn/profiles/read",
+ "display": {
+ "provider": "Microsoft.Cdn",
+ "resource": "Profile",
+ "operation": "read"
+ }
+ },
+ {
+ "name": "Microsoft.Cdn/profiles/write",
+ "display": {
+ "provider": "Microsoft.Cdn",
+ "resource": "Profile",
+ "operation": "write"
+ }
+ },
+ {
+ "name": "Microsoft.Cdn/operationresults/profileresults/write",
+ "display": {
+ "provider": "Microsoft.Cdn",
+ "resource": "Profile",
+ "operation": "write"
+ }
+ },
+ {
+ "name": "Microsoft.Cdn/operationresults/profileresults/delete",
+ "display": {
+ "provider": "Microsoft.Cdn",
+ "resource": "Profile",
+ "operation": "delete"
+ }
+ },
+ {
+ "name": "Microsoft.Cdn/operationresults/profileresults/CheckResourceUsage/action",
+ "display": {
+ "provider": "Microsoft.Cdn",
+ "resource": "Profile",
+ "operation": "CheckResourceUsage"
+ }
+ },
+ {
+ "name": "Microsoft.Cdn/operationresults/profileresults/GenerateSsoUri/action",
+ "display": {
+ "provider": "Microsoft.Cdn",
+ "resource": "Profile",
+ "operation": "GenerateSsoUri"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Create.json
new file mode 100644
index 000000000000..89527e565ae0
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Create.json
@@ -0,0 +1,113 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1",
+ "originGroupName": "origingroup1",
+ "originGroup": {
+ "properties": {
+ "healthProbeSettings":
+ {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
+ }
+ ],
+ "responseBasedOriginErrorDetectionSettings":{
+ "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
+ "responseBasedFailoverThresholdPercentage" : 10
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "origingroup1",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1",
+ "type": "Microsoft.Cdn/profiles/endpoints/origingroups",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "healthProbeSettings":
+ {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
+ }
+ ],
+ "responseBasedOriginErrorDetectionSettings":{
+ "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
+ "responseBasedFailoverThresholdPercentage" : 10
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "origingroup1",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1",
+ "type": "Microsoft.Cdn/profiles/endpoints/origingroups",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "healthProbeSettings":
+ {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
+ }
+ ],
+ "responseBasedOriginErrorDetectionSettings":{
+ "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
+ "responseBasedFailoverThresholdPercentage" : 10
+ }
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "name": "originGroup1",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1",
+ "type": "Microsoft.Cdn/profiles/endpoints/origingroups",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "healthProbeSettings":
+ {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
+ }
+ ],
+ "responseBasedOriginErrorDetectionSettings":{
+ "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
+ "responseBasedFailoverThresholdPercentage" : 10
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Delete.json
new file mode 100644
index 000000000000..a077a01ecb3c
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Delete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1",
+ "originGroupName": "originGroup1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Get.json
new file mode 100644
index 000000000000..5f4d343bcd95
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Get.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1",
+ "originGroupName": "originGroup1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "origingroup1",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1",
+ "type": "Microsoft.Cdn/profiles/endpoints/origingroups",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "healthProbeSettings":
+ {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
+ }
+ ],
+ "responseBasedOriginErrorDetectionSettings":{
+ "responseBasedDetectedErrorTypes": "TcpAndHttpErrors",
+ "responseBasedFailoverThresholdPercentage" : 10,
+ "httpErrorRanges": [
+ {
+ "begin": 500,
+ "end": 505
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_ListByEndpoint.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_ListByEndpoint.json
new file mode 100644
index 000000000000..8968df51f610
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_ListByEndpoint.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "origingroup1",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1",
+ "type": "Microsoft.Cdn/profiles/endpoints/origingroups",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "healthProbeSettings":
+ {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
+ }
+ ],
+ "responseBasedOriginErrorDetectionSettings":{
+ "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
+ "responseBasedFailoverThresholdPercentage" : 10
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Update.json
new file mode 100644
index 000000000000..5953d0650306
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Update.json
@@ -0,0 +1,74 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1",
+ "originGroupName": "originGroup1",
+ "originGroupUpdateProperties": {
+ "properties": {
+ "healthProbeSettings":
+ {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin2"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "www-someDomain-net",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/origins",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "healthProbeSettings":
+ {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin2"
+ }
+ ]
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "name": "www-someDomain-net",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/origins",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "healthProbeSettings":
+ {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin2"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Create.json
new file mode 100644
index 000000000000..c07ba15b24fc
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Create.json
@@ -0,0 +1,93 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1",
+ "originName": "www-someDomain-net",
+ "origin": {
+ "location": "WestUs",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "hostName": "www.someDomain.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain.net",
+ "priority": 1,
+ "weight": 50,
+ "enabled": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "www-someDomain-net",
+ "location": "WestUs",
+ "tags": {
+ "key1": "value1"
+ },
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/origins",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain.net",
+ "priority": 1,
+ "weight": 50,
+ "enabled": true
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "www-someDomain-net",
+ "location": "WestUs",
+ "tags": {
+ "key1": "value1"
+ },
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/origins",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain.net",
+ "priority": 1,
+ "weight": 50,
+ "enabled": true
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "name": "www-someDomain-net",
+ "location": "WestUs",
+ "tags": {
+ "key1": "value1"
+ },
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/origins",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain.net",
+ "priority": 1,
+ "weight": 50,
+ "enabled": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Delete.json
new file mode 100644
index 000000000000..6aa3a2d53dde
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Delete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1",
+ "originName": "origin1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Get.json
new file mode 100644
index 000000000000..1dcacc1e17d5
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Get.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1",
+ "originName": "www-someDomain-net"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "www-someDomain-net",
+ "location": "WestUs",
+ "tags": {
+ "key1": "value1"
+ },
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/origins",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "httpPort": null,
+ "httpsPort": null,
+ "originHostHeader": "www.someDomain.net",
+ "priority": 1,
+ "weight": 50,
+ "enabled": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_ListByEndpoint.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_ListByEndpoint.json
new file mode 100644
index 000000000000..31019276116b
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_ListByEndpoint.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "www-someDomain-net",
+ "location": "WestUs",
+ "tags": {
+ "key1": "value1"
+ },
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/origins",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "httpPort": null,
+ "httpsPort": null,
+ "originHostHeader": "www.someDomain.net",
+ "priority": 1,
+ "weight": 50,
+ "enabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Update.json
new file mode 100644
index 000000000000..6d2897ec3ec6
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Update.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1",
+ "originName": "www-someDomain-net",
+ "originUpdateProperties": {
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "httpPort": 42,
+ "httpsPort": 43,
+ "originHostHeader": "www.someDomain2.net",
+ "priority": 1,
+ "weight": 50,
+ "enabled": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "www-someDomain-net",
+ "location": "WestUs",
+ "tags": {
+ "key1": "value1"
+ },
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/origins",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "httpPort": 42,
+ "httpsPort": 43,
+ "originHostHeader": "www.someDomain2.net",
+ "priority": 1,
+ "weight": 50,
+ "enabled": true
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "name": "www-someDomain-net",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net",
+ "location": "WestUs",
+ "tags": {
+ "key1": "value1"
+ },
+ "type": "Microsoft.Cdn/profiles/endpoints/origins",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "httpPort": 42,
+ "httpsPort": 43,
+ "originHostHeader": "www.someDomain2.net",
+ "priority": 1,
+ "weight": 50,
+ "enabled": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_Create.json
new file mode 100644
index 000000000000..0be6ca9ceed5
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_Create.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "profile": {
+ "location": "WestCentralUs",
+ "sku": {
+ "name": "Standard_Verizon"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "profile1",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1",
+ "type": "Microsoft.Cdn/profiles",
+ "tags": {},
+ "location": "WestCentralUs",
+ "sku": {
+ "name": "Standard_Verizon"
+ },
+ "properties": {
+ "provisioningState": "Creating",
+ "resourceState": "Creating"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "profile1",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1",
+ "type": "Microsoft.Cdn/profiles",
+ "tags": {},
+ "location": "WestCentralUs",
+ "sku": {
+ "name": "Standard_Verizon"
+ },
+ "properties": {
+ "provisioningState": "Creating",
+ "resourceState": "Creating"
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "name": "profile1",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1",
+ "type": "Microsoft.Cdn/profiles",
+ "tags": {},
+ "location": "WestCentralUs",
+ "sku": {
+ "name": "Standard_Verizon"
+ },
+ "properties": {
+ "provisioningState": "Creating",
+ "resourceState": "Creating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_Delete.json
new file mode 100644
index 000000000000..9d4891b28a55
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_Delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_GenerateSsoUri.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_GenerateSsoUri.json
new file mode 100644
index 000000000000..29a368137e06
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_GenerateSsoUri.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "ssoUriValue": "https://someuri.com"
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_Get.json
new file mode 100644
index 000000000000..514a0a46bbf1
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_Get.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "profile1",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1",
+ "type": "Microsoft.Cdn/profiles",
+ "tags": {},
+ "location": "WestCentralUs",
+ "sku": {
+ "name": "Standard_Akamai"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_List.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_List.json
new file mode 100644
index 000000000000..3c8685636552
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_List.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "profile1",
+ "id": "/subscriptions/subid/resourcegroups/RG1/providers/Microsoft.Cdn/profiles/profile1",
+ "type": "Microsoft.Cdn/profiles",
+ "tags": {},
+ "location": "WestCentralUs",
+ "sku": {
+ "name": "Standard_Akamai"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active"
+ }
+ },
+ {
+ "name": "profile2",
+ "id": "/subscriptions/subid/resourcegroups/RG1/providers/Microsoft.Cdn/profiles/profile2",
+ "type": "Microsoft.Cdn/profiles",
+ "tags": {},
+ "location": "WestCentralUs",
+ "sku": {
+ "name": "Standard_Akamai"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_ListByResourceGroup.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_ListByResourceGroup.json
new file mode 100644
index 000000000000..dc4144a9ee91
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_ListByResourceGroup.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "profile1",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1",
+ "type": "Microsoft.Cdn/profiles",
+ "tags": {},
+ "location": "WestCentralUs",
+ "sku": {
+ "name": "Standard_Akamai"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active"
+ }
+ },
+ {
+ "name": "profile2",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile2",
+ "type": "Microsoft.Cdn/profiles",
+ "tags": {},
+ "location": "WestCentralUs",
+ "sku": {
+ "name": "Standard_Akamai"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_ListResourceUsage.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_ListResourceUsage.json
new file mode 100644
index 000000000000..5e7061ca7644
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_ListResourceUsage.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "resourceType": "endpoint",
+ "unit": "count",
+ "currentValue": 0,
+ "limit": 25
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_ListSupportedOptimizationTypes.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_ListSupportedOptimizationTypes.json
new file mode 100644
index 000000000000..4940c90d7574
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_ListSupportedOptimizationTypes.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "supportedOptimizationTypes": [
+ "GeneralWebDelivery",
+ "DynamicSiteAcceleration"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_Update.json
new file mode 100644
index 000000000000..9105c3e8c397
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Profiles_Update.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "profileUpdateParameters": {
+ "tags": {
+ "additionalProperties": "Tag1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "profile1",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1",
+ "type": "Microsoft.Cdn/profiles",
+ "tags": {
+ "additionalProperties": "Tag1"
+ },
+ "location": "WestCentralUs",
+ "sku": {
+ "name": "Standard_Verizon"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active"
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "name": "profile1",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1",
+ "type": "Microsoft.Cdn/profiles",
+ "tags": {
+ "additionalProperties": "Tag1"
+ },
+ "location": "WestCentralUs",
+ "sku": {
+ "name": "Standard_Verizon"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/ResourceUsage_List.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/ResourceUsage_List.json
new file mode 100644
index 000000000000..56dfe8243c9a
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/ResourceUsage_List.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "resourceType": "profile",
+ "unit": "count",
+ "currentValue": 31,
+ "limit": 200
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/ValidateProbe.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/ValidateProbe.json
new file mode 100644
index 000000000000..c26c47d0469d
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/ValidateProbe.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2019-12-31",
+ "subscriptionId": "subid",
+ "validateProbeInput": {
+ "probeURL": "https://www.bing.com/image"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "isValid": true,
+ "errorCode": "None",
+ "message": null
+ }
+ }
+ }
+}
diff --git a/specification/cdn/resource-manager/readme.md b/specification/cdn/resource-manager/readme.md
index 52a58cae05d2..7cc3ed999e97 100644
--- a/specification/cdn/resource-manager/readme.md
+++ b/specification/cdn/resource-manager/readme.md
@@ -28,7 +28,16 @@ These are the global settings for the Cdn API.
title: CdnManagementClient
description: Cdn Management Client
openapi-type: arm
-tag: package-2019-04
+tag: package-2019-12
+```
+
+### Tag: package-2019-12
+
+These settings apply only when `--tag=package-2019-12` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-12'
+input-file:
+- Microsoft.Cdn/stable/2019-12-31/cdn.json
```
### Tag: package-2019-06
From fce822ccb299378acb04fbf62697af3f499e4bb7 Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Mon, 28 Oct 2019 20:39:22 +0000
Subject: [PATCH 083/189] regenerated all-api-versions
---
specification/cdn/resource-manager/readme.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/specification/cdn/resource-manager/readme.md b/specification/cdn/resource-manager/readme.md
index 7cc3ed999e97..044d481524b2 100644
--- a/specification/cdn/resource-manager/readme.md
+++ b/specification/cdn/resource-manager/readme.md
@@ -167,6 +167,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.Cdn/stable/2019-12-31/cdn.json
- $(this-folder)/Microsoft.Cdn/preview/2019-06-15-preview/cdn.json
- $(this-folder)/Microsoft.Cdn/preview/2019-06-15-preview/cdnwebapplicationfirewall.json
- $(this-folder)/Microsoft.Cdn/stable/2019-04-15/cdn.json
From f36ceea658d9ef8163c738272c672bb277651aad Mon Sep 17 00:00:00 2001
From: Scott White
Date: Mon, 28 Oct 2019 18:59:28 -0700
Subject: [PATCH 084/189] Adding EU compliance not to description (#7610)
---
.../data-plane/VisualSearch/preview/v1.0/VisualSearch.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/cognitiveservices/data-plane/VisualSearch/preview/v1.0/VisualSearch.json b/specification/cognitiveservices/data-plane/VisualSearch/preview/v1.0/VisualSearch.json
index 43fd4a58d169..c916063a70e5 100644
--- a/specification/cognitiveservices/data-plane/VisualSearch/preview/v1.0/VisualSearch.json
+++ b/specification/cognitiveservices/data-plane/VisualSearch/preview/v1.0/VisualSearch.json
@@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "Visual Search Client",
- "description": "Visual Search API lets you discover insights about an image such as visually similar images, shopping sources, and related searches. The API can also perform text recognition, identify entities (people, places, things), return other topical content for the user to explore, and more. For more information, see [Visual Search Overview](https://docs.microsoft.com/azure/cognitive-services/bing-visual-search/overview).",
+ "description": "Visual Search API lets you discover insights about an image such as visually similar images, shopping sources, and related searches. The API can also perform text recognition, identify entities (people, places, things), return other topical content for the user to explore, and more. For more information, see [Visual Search Overview](https://docs.microsoft.com/azure/cognitive-services/bing-visual-search/overview). **NOTE:** To comply with the new EU Copyright Directive in France, the Bing Visual Search API must omit some content from certain EU News sources for French users. The removed content may include thumbnail images and videos, video previews, and snippets which accompany search results from these sources. As a consequence, the Bing APIs may serve fewer results with thumbnail images and videos, video previews, and snippets to French users.",
"version": "1.0"
},
"parameters": {
From 7f1524dc4f9dc43ada479c5d9e4070f2921f575a Mon Sep 17 00:00:00 2001
From: LingyunSu <33764806+LingyunSu@users.noreply.github.com>
Date: Mon, 28 Oct 2019 19:15:14 -0700
Subject: [PATCH 085/189] Fix miss spelling property name and case sensitive
(#7616)
---
custom-words.txt | 2 ++
.../preview/2016-05-01/FabricLocation.json | 4 ++--
.../azsadmin/resource-manager/fabric/readme.md | 13 +++++++++++++
3 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/custom-words.txt b/custom-words.txt
index 174f489a97d3..4d81dba6c665 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -492,6 +492,8 @@ exportdevices
exporterrors
exportstatus
externaldatasources
+externalDNSIPAddress01
+externalDNSIPAddress02
EYWQ
faceapi
facelists
diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/FabricLocation.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/FabricLocation.json
index e7bbe1223547..d38b6a95054d 100644
--- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/FabricLocation.json
+++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/FabricLocation.json
@@ -132,11 +132,11 @@
"description": "The deployment id of the stamp.",
"type": "string"
},
- "externalDnsIPAddress01": {
+ "externalDNSIPAddress01": {
"description": "First external IP address of the DNS server.",
"type": "string"
},
- "externalDnsIPAddress02": {
+ "externalDNSIPAddress02": {
"description": "Second external IP Address of the DNS server.",
"type": "string"
},
diff --git a/specification/azsadmin/resource-manager/fabric/readme.md b/specification/azsadmin/resource-manager/fabric/readme.md
index 5d8cf9d15d0d..606cf1b9bb7b 100644
--- a/specification/azsadmin/resource-manager/fabric/readme.md
+++ b/specification/azsadmin/resource-manager/fabric/readme.md
@@ -116,6 +116,19 @@ input-file:
- "Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json"
```
+## Suppression
+``` yaml
+directive:
+ - suppress: DefinitionsPropertiesNamesCamelCase
+ from: FabricLocation.json
+ where: $.definitions.FabricLocationModel.properties.externalDNSIPAddress01
+ reason: externalDNSIPAddress01 is a customized name, no camel case restriction needed.
+ - suppress: DefinitionsPropertiesNamesCamelCase
+ from: FabricLocation.json
+ where: $.definitions.FabricLocationModel.properties.externalDNSIPAddress02
+ reason: externalDNSIPAddress02 is a customized name, no camel case restriction needed.
+```
+
---
# Code Generation
From d1fa4061530e05bb3b5b20f73e3de6f1eaefbb97 Mon Sep 17 00:00:00 2001
From: Arcturus
Date: Tue, 29 Oct 2019 10:18:05 +0800
Subject: [PATCH 086/189] Add 2019-10-01 (#7657)
---
.../appconfiguration/resource-manager/readme.go.md | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/specification/appconfiguration/resource-manager/readme.go.md b/specification/appconfiguration/resource-manager/readme.go.md
index e68fddb79019..41fb855cee50 100644
--- a/specification/appconfiguration/resource-manager/readme.go.md
+++ b/specification/appconfiguration/resource-manager/readme.go.md
@@ -13,9 +13,19 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-2019-10-01
- tag: package-2019-02-01-preview
```
+### Tag: package-2019-10-01 and go
+
+These settings apply only when `--tag=package-2019-10-01 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-10-01' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-10-01/$(namespace)
+```
+
### Tag: package-2019-02-01-preview and go
These settings apply only when `--tag=package-2019-02-01-preview --go` is specified on the command line.
From 775f2f9580212bd058d98179edf2e784627150c9 Mon Sep 17 00:00:00 2001
From: Arcturus
Date: Tue, 29 Oct 2019 10:34:37 +0800
Subject: [PATCH 087/189] Remove api-version for composite-v3 (#7658)
---
specification/sql/resource-manager/readme.go.md | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/specification/sql/resource-manager/readme.go.md b/specification/sql/resource-manager/readme.go.md
index e0129e525357..d3866294a7cb 100644
--- a/specification/sql/resource-manager/readme.go.md
+++ b/specification/sql/resource-manager/readme.go.md
@@ -15,7 +15,6 @@ From api-version 2017-10 and onwards, only pure package versions should be used.
``` yaml $(go) && $(multiapi)
batch:
- - tag: package-composite-v3
- tag: package-pure-2018-06-preview
- tag: package-pure-2017-10-preview
- tag: package-2017-03-preview
@@ -23,15 +22,6 @@ batch:
- tag: package-pure-2014-04
```
-#### Tag: package-composite-v3
-
-These settings apply only when `--tag=package-composite-v3 --go` is specified on the command line.
-Please also specify `--go-sdk-folder=`.
-
-``` yaml $(tag) == 'package-composite-v3' && $(go)
-output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-06-15-preview/$(namespace)
-```
-
#### Tag: package-pure-2018-06-preview and go
These settings apply only when `--tag=package-pure-2018-06-preview --go` is specified on the command line.
From 1b4349a7bc85e6d525ce8cb16b67f580ab15b19d Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Tue, 29 Oct 2019 10:38:30 +0800
Subject: [PATCH 088/189] Attestation integration tests and cli module (#7648)
* updated readme
* fixed too many replacements
* additional example update
---
.../examples/Create_AttestationProvider.json | 13 ++++++-------
.../examples/Delete_AttestationProvider.json | 5 ++---
.../examples/Get_AttestationProvider.json | 9 ++++-----
.../examples/Get_AttestationProvidersList.json | 4 ++--
...AttestationProvidersListByResourceGroup.json | 4 ++--
.../attestation/resource-manager/readme.cli.md | 17 +++++++++++++++++
6 files changed, 33 insertions(+), 19 deletions(-)
create mode 100644 specification/attestation/resource-manager/readme.cli.md
diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Create_AttestationProvider.json b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Create_AttestationProvider.json
index b3e4b9d1fc53..e222f28aa981 100644
--- a/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Create_AttestationProvider.json
+++ b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Create_AttestationProvider.json
@@ -1,17 +1,16 @@
{
"parameters": {
- "resourceGroupName": "sample-resource-group",
- "serviceName": "sampleservicename",
+ "resourceGroupName": "MyResourceGroup",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2018-09-01-preview",
- "providerName": "providername1",
+ "providerName": "MyAttestationProvider",
"creationParams": "test"
},
"responses": {
"200": {
"body": {
- "id": "subscriptions/subscriptionID/resourceGroups/resourceGroupID/providers/Microsoft.Attestation/attestationProviders/codes1",
- "name": "codes1",
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/MyAttestationProvider",
+ "name": "MyAttestationProvider",
"type": "Microsoft.Attestation/attestationProviders",
"properties": {
"status": "Ready",
@@ -21,8 +20,8 @@
},
"201": {
"body": {
- "id": "subscriptions/subscriptionID/resourceGroups/resourceGroupID/providers/Microsoft.Attestation/attestationProviders/codes1",
- "name": "codes1",
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/MyAttestationProvider",
+ "name": "MyAttestationProvider",
"type": "Microsoft.Attestation/attestationProviders",
"properties": {
"status": "Ready",
diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Delete_AttestationProvider.json b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Delete_AttestationProvider.json
index 2b4a5c9d7fe5..3659e54a0f78 100644
--- a/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Delete_AttestationProvider.json
+++ b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Delete_AttestationProvider.json
@@ -1,10 +1,9 @@
{
"parameters": {
- "resourceGroupName": "sample-resource-group",
- "serviceName": "sampleservicename",
+ "resourceGroupName": "MyResourceGroup",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2018-09-01-preview",
- "providerName": "providername1"
+ "providerName": "MyAttestationProvider"
},
"responses": {
"202": {
diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvider.json b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvider.json
index 946007d64975..4df31a7c93e9 100644
--- a/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvider.json
+++ b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvider.json
@@ -1,16 +1,15 @@
{
"parameters": {
- "resourceGroupName": "sample-resource-group",
- "serviceName": "sampleservicename",
+ "resourceGroupName": "MyResourceGroup",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2018-09-01-preview",
- "providerName": "providername1"
+ "providerName": "MyAttestationProvider"
},
"responses": {
"200": {
"body": {
- "id": "subscriptions/subscriptionID/resourceGroups/resourceGroupID/providers/Microsoft.Attestation/attestationProviders/codes1",
- "name": "codes1",
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/MyAttestationProvider",
+ "name": "MyAttestationProvider",
"type": "Microsoft.Attestation/attestationProviders",
"properties": {
"status": "Ready"
diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvidersList.json b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvidersList.json
index f1ebf8dc62e3..4ab27be179e5 100644
--- a/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvidersList.json
+++ b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvidersList.json
@@ -8,8 +8,8 @@
"body": {
"value": [
{
- "id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/codes1",
- "name": "codes1",
+ "id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/MyAttestationProvider",
+ "name": "MyAttestationProvider",
"type": "Microsoft.Attestation/attestationProviders",
"properties": {
"status": "Ready"
diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json
index de5c9261b48d..7e19bb3bcb1b 100644
--- a/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json
+++ b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json
@@ -9,8 +9,8 @@
"body": {
"value": [
{
- "id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/codes1",
- "name": "codes1",
+ "id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/MyAttestationProvider",
+ "name": "MyAttestationProvider",
"type": "Microsoft.Attestation/attestationProviders",
"properties": {
"status": "Ready"
diff --git a/specification/attestation/resource-manager/readme.cli.md b/specification/attestation/resource-manager/readme.cli.md
new file mode 100644
index 000000000000..c1990d90a9d8
--- /dev/null
+++ b/specification/attestation/resource-manager/readme.cli.md
@@ -0,0 +1,17 @@
+## CLI
+
+These settings apply only when `--cli` is specified on the command line.
+
+``` yaml $(cli)
+cli:
+ cli-name: attestation
+ package-name: azure-mgmt-attestation
+ namespace: azure.mgmt.attestation
+ test-setup:
+ - name: Operations_List
+ - name: AttestationProviders_Create
+ - name: AttestationProviders_Get
+ - name: AttestationProviders_List
+ - name: AttestationProviders_ListByResourceGroup
+ - name: AttestationProviders_Delete
+```
From 194d8a86919cedf9116237692226a7950f0125fe Mon Sep 17 00:00:00 2001
From: rafarhat
Date: Mon, 28 Oct 2019 19:56:51 -0700
Subject: [PATCH 089/189] iot central minor swagger changes and description
fixes (#7656)
* minor swagger changes and description fixes
* linter fix trial
* linter fix trial 2
* Capability Definition Linter Final Fix
---
.../2019-10-28-preview/iotcentral.json | 451 ++++++++++--------
1 file changed, 240 insertions(+), 211 deletions(-)
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/iotcentral.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/iotcentral.json
index b0d5c37600a5..f7f799c7cd66 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/iotcentral.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/iotcentral.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "1.0.0",
+ "version": "preview",
"title": "Azure IoT Central",
"description": "Azure IoT Central is a service that makes it easy to connect, monitor, and manage your IoT devices at scale."
},
@@ -41,8 +41,7 @@
}
}
}
- ],
- "additionalProperties": true
+ ]
},
"ApiTokenCollection": {
"type": "object",
@@ -59,6 +58,23 @@
"value"
]
},
+ "Capability": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/NamedEntity"
+ },
+ {
+ "properties": {
+ "name": {
+ "description": "The programmatic name of the named entity.",
+ "type": "string"
+ }
+ }
+ }
+ ],
+ "additionalProperties": true
+ },
"Interface": {
"type": "object",
"allOf": [
@@ -71,7 +87,7 @@
"description": "The data definitions contained by the interface.",
"type": "array",
"items": {
- "$ref": "#/definitions/NamedEntity"
+ "$ref": "#/definitions/Capability"
}
}
}
@@ -118,128 +134,127 @@
}
}
}
- ],
- "additionalProperties": true
+ ]
},
- "Endpoint":{
- "type":"object",
- "properties":{
- "type":{
- "description":"Type of the endpoint.",
- "type":"string"
- },
- "connectionString":{
- "description":"Information for connecting to the endpoint.",
- "type":"string"
- },
- "name":{
- "description":"Name of the entity to send data to.",
- "type":"string"
- }
+ "Endpoint": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "Type of the endpoint.",
+ "type": "string"
+ },
+ "connectionString": {
+ "description": "Information for connecting to the endpoint.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of the entity to send data to.",
+ "type": "string"
+ }
},
- "required":[
- "type",
- "connectionString",
- "name"
+ "required": [
+ "type",
+ "connectionString",
+ "name"
],
- "discriminator":"type"
- },
- "StorageEndpoint":{
- "allOf":[
- {
- "$ref":"#/definitions/Endpoint"
- }
+ "discriminator": "type"
+ },
+ "StorageEndpoint": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/Endpoint"
+ }
]
- },
- "EventHubsEndpoint":{
- "allOf":[
- {
- "$ref":"#/definitions/Endpoint"
- }
+ },
+ "EventHubsEndpoint": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/Endpoint"
+ }
]
- },
- "ServiceBusQueueEndpoint":{
- "allOf":[
- {
- "$ref":"#/definitions/Endpoint"
- }
+ },
+ "ServiceBusQueueEndpoint": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/Endpoint"
+ }
]
- },
- "ServiceBusTopicEndpoint":{
- "allOf":[
- {
- "$ref":"#/definitions/Endpoint"
- }
+ },
+ "ServiceBusTopicEndpoint": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/Endpoint"
+ }
]
- },
- "ContinuousDataExport":{
- "type":"object",
- "properties":{
- "id":{
- "description":"Unique ID of the continuous data export.",
- "type":"string",
- "readOnly":true
- },
- "etag":{
- "description":"ETag used to prevent conflict in continuous data export updates.",
- "type":"string"
- },
- "displayName":{
- "description":"Display name of the continuous data export.",
- "type":"string"
- },
- "endpoint":{
- "description":"Location where exported data should be sent.",
- "$ref":"#/definitions/Endpoint"
- },
- "status":{
- "description":"Indicates whether the continuous data export is starting, running, etc.",
- "type":"string",
- "readOnly":true
- },
- "enabled":{
- "description":"Boolean indicating whether the continuous data export should be running or not.",
- "type":"boolean"
- },
- "sources":{
- "description":"Data sources to export to the endpoint.",
- "type":"array",
- "items":{
- "type":"string",
- "enum":[
- "devices",
- "deviceTemplates",
- "telemetry"
- ]
- },
- "minItems":1
- }
+ },
+ "ContinuousDataExport": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique ID of the continuous data export.",
+ "type": "string",
+ "readOnly": true
+ },
+ "etag": {
+ "description": "ETag used to prevent conflict in continuous data export updates.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Display name of the continuous data export.",
+ "type": "string"
+ },
+ "endpoint": {
+ "description": "Location where exported data should be sent.",
+ "$ref": "#/definitions/Endpoint"
+ },
+ "status": {
+ "description": "Indicates whether the continuous data export is starting, running, etc.",
+ "type": "string",
+ "readOnly": true
+ },
+ "enabled": {
+ "description": "Boolean indicating whether the continuous data export should be running or not.",
+ "type": "boolean"
+ },
+ "sources": {
+ "description": "Data sources to export to the endpoint.",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "devices",
+ "deviceTemplates",
+ "telemetry"
+ ]
+ },
+ "minItems": 1
+ }
},
- "required":[
- "endpoint",
- "enabled",
- "sources"
+ "required": [
+ "endpoint",
+ "enabled",
+ "sources"
]
- },
- "ContinuousDataExportCollection":{
- "type":"object",
- "properties":{
- "value":{
- "description":"The collection of continuous data exports.",
- "type":"array",
- "items":{
- "$ref":"#/definitions/ContinuousDataExport"
- }
- },
- "nextLink":{
- "description":"URL to get the next page of continuous data exports.",
- "type":"string"
- }
+ },
+ "ContinuousDataExportCollection": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The collection of continuous data exports.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ContinuousDataExport"
+ }
+ },
+ "nextLink": {
+ "description": "URL to get the next page of continuous data exports.",
+ "type": "string"
+ }
},
- "required":[
- "value"
+ "required": [
+ "value"
]
- },
+ },
"Device": {
"type": "object",
"properties": {
@@ -443,6 +458,9 @@
"Entity": {
"type": "object",
"properties": {
+ "@context": {
+ "description": "JSON-LD context for the entity."
+ },
"@id": {
"description": "Unique ID of the entity.",
"type": "string"
@@ -452,7 +470,8 @@
"type": "array",
"items": {
"type": "string"
- }
+ },
+ "minItems": 1
},
"displayName": {
"description": "Display name of the entity.",
@@ -488,8 +507,7 @@
"name"
]
}
- ],
- "additionalProperties": true
+ ]
},
"Permission": {
"type": "object",
@@ -557,7 +575,7 @@
"description": "The cloud properties defined by the solution model.",
"type": "array",
"items": {
- "$ref": "#/definitions/NamedEntity"
+ "$ref": "#/definitions/Capability"
}
},
"initialValues": {
@@ -618,9 +636,21 @@
"unit": {
"description": "The overridden unit.",
"type": "string"
+ },
+ "valueDetail": {
+ "$ref": "#/definitions/ValueDetail"
}
}
}
+ ]
+ },
+ "ValueDetail": {
+ "description": "Visualization details for the referenced capability.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Entity"
+ }
],
"additionalProperties": true
},
@@ -781,12 +811,11 @@
"operationId": "Devices_Get",
"summary": "Get a device by ID",
"description": "Get details about an existing device by device ID.",
-
- "parameters": [
- {
- "$ref": "#/parameters/DeviceId"
- }
- ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/DeviceId"
+ }
+ ],
"x-ms-examples": {
"Get device by Id": {
"$ref": "./examples/devices_get.json"
@@ -854,114 +883,114 @@
}
}
},
- "/continuousDataExports":{
- "get":{
- "operationId":"ContinuousDataExports_List",
- "summary":"Get the list of continuous data exports in an application.",
- "x-ms-examples": {
+ "/continuousDataExports": {
+ "get": {
+ "operationId": "ContinuousDataExports_List",
+ "summary": "Get the list of continuous data exports in an application.",
+ "x-ms-examples": {
"List exports": {
"$ref": "./examples/continuousdataexports_list.json"
}
},
- "responses":{
- "200":{
- "description":"Success",
- "schema":{
- "$ref":"#/definitions/ContinuousDataExportCollection"
- }
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ContinuousDataExportCollection"
}
- },
- "x-ms-pageable":{
- "nextLinkName":"nextLink"
- }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
}
- },
- "/continuousDataExports/{export_id}":{
- "get":{
- "operationId":"ContinuousDataExports_Get",
- "summary":"Get a continuous data export by ID.",
- "parameters":[
- {
- "in":"path",
- "name":"export_id",
- "description":"Unique ID for the continuous data export.",
- "type":"string",
- "required":true
- }
- ],
- "x-ms-examples": {
+ },
+ "/continuousDataExports/{export_id}": {
+ "get": {
+ "operationId": "ContinuousDataExports_Get",
+ "summary": "Get a continuous data export by ID.",
+ "parameters": [
+ {
+ "in": "path",
+ "name": "export_id",
+ "description": "Unique ID for the continuous data export.",
+ "type": "string",
+ "required": true
+ }
+ ],
+ "x-ms-examples": {
"Get export": {
"$ref": "./examples/continuousdataexports_get.json"
}
},
- "responses":{
- "200":{
- "description":"Success",
- "schema":{
- "$ref":"#/definitions/ContinuousDataExport"
- }
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ContinuousDataExport"
}
- }
+ }
+ }
},
- "put":{
- "operationId":"ContinuousDataExports_Set",
- "summary":"Create a new continuous data export or update an existing one by ID.",
- "x-ms-examples": {
+ "put": {
+ "operationId": "ContinuousDataExports_Set",
+ "summary": "Create a new continuous data export or update an existing one by ID.",
+ "x-ms-examples": {
"Create or update export": {
"$ref": "./examples/continuousdataexports_set.json"
}
},
- "parameters":[
+ "parameters": [
+ {
+ "in": "path",
+ "name": "export_id",
+ "description": "Unique ID for the continuous data export.",
+ "type": "string",
+ "required": true
+ },
{
- "in":"path",
- "name":"export_id",
- "description":"Unique ID for the continuous data export.",
- "type":"string",
- "required":true
- },
- {
- "name":"body",
- "in":"body",
- "description":"Data export body.",
- "required":true,
- "schema":{
- "$ref":"#/definitions/ContinuousDataExport"
- }
+ "name": "body",
+ "in": "body",
+ "description": "Data export body.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ContinuousDataExport"
}
- ],
- "responses":{
- "200":{
- "description":"Success",
- "schema":{
- "$ref":"#/definitions/ContinuousDataExport"
- }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ContinuousDataExport"
}
- }
+ }
+ }
},
- "delete":{
- "operationId":"ContinuousDataExports_Remove",
- "summary":"Delete a continuous data export.",
- "parameters":[
+ "delete": {
+ "operationId": "ContinuousDataExports_Remove",
+ "summary": "Delete a continuous data export.",
+ "parameters": [
{
- "in":"path",
- "name":"export_id",
- "description":"Unique ID for the continuous data export.",
- "type":"string",
- "required":true
- }
- ],
- "x-ms-examples": {
- "Delete export": {
- "$ref": "./examples/continuousdataexports_delete.json"
+ "in": "path",
+ "name": "export_id",
+ "description": "Unique ID for the continuous data export.",
+ "type": "string",
+ "required": true
+ }
+ ],
+ "x-ms-examples": {
+ "Delete export": {
+ "$ref": "./examples/continuousdataexports_delete.json"
+ }
+ },
+ "responses": {
+ "204": {
+ "description": "Success"
+ }
}
- },
- "responses":{
- "204":{
- "description":"Success"
- }
- }
}
- },
+ },
"/deviceTemplates": {
"get": {
"operationId": "DeviceTemplates_List",
@@ -1516,7 +1545,7 @@
"type": "string",
"default": "azureiotcentral.com",
"x-ms-skip-url-encoding": true,
- "description": "The DNS suffix used as the base for all Azure Data Lake Analytics Job service requests.",
+ "description": "The DNS suffix used as the base for all Azure IoT Central service requests.",
"x-ms-parameter-location": "client"
}
},
From d438fffb4825cdde2e2b05bc1d35772306e4f583 Mon Sep 17 00:00:00 2001
From: jihochang
Date: Mon, 28 Oct 2019 20:01:21 -0700
Subject: [PATCH 090/189] Remove ReplicaSet Nested Resource (#7627)
* Remove ReplicaSet Nested Resource
* Fix readyonly properties
---
.../stable/2017-01-01/domainservices.json | 5 +-
.../examples/CreateDomainService.json | 2 -
.../examples/UpdateDomainService.json | 2 -
.../stable/2017-06-01/domainservices.json | 343 +-----------------
.../examples/CreateDomainService.json | 2 -
.../2017-06-01/examples/CreateReplicaSet.json | 79 ----
.../2017-06-01/examples/DeleteReplicaSet.json | 17 -
.../2017-06-01/examples/GetReplicaSet.json | 58 ---
.../ListReplicaSetsByDomainService.json | 34 --
.../examples/UpdateDomainService.json | 2 -
.../2017-06-01/examples/UpdateReplicaSet.json | 62 ----
11 files changed, 2 insertions(+), 604 deletions(-)
delete mode 100644 specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/CreateReplicaSet.json
delete mode 100644 specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/DeleteReplicaSet.json
delete mode 100644 specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/GetReplicaSet.json
delete mode 100644 specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/ListReplicaSetsByDomainService.json
delete mode 100644 specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/UpdateReplicaSet.json
diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-01-01/domainservices.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-01-01/domainservices.json
index f071729a0100..a5b0b3dbd478 100644
--- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-01-01/domainservices.json
+++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-01-01/domainservices.json
@@ -244,10 +244,7 @@
],
"responses": {
"202": {
- "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.",
- "schema": {
- "$ref": "#/definitions/DomainService"
- }
+ "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously."
},
"204": {
"description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed."
diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-01-01/examples/CreateDomainService.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-01-01/examples/CreateDomainService.json
index dfc12420abc1..808e3c7b9418 100644
--- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-01-01/examples/CreateDomainService.json
+++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-01-01/examples/CreateDomainService.json
@@ -5,9 +5,7 @@
"resourceGroupName": "sva-tt-WUS",
"domainServiceName": "zdomain.zforest.com",
"domainService": {
- "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/sva-tt-WUS/providers/Microsoft.AAD/domainServices/zdomain.zforest.com",
"location": "westus",
- "name": "zdomain.zforest.com",
"properties": {
"domainName": "zdomain.zforest.com",
"subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/Default-Networking/providers/Microsoft.ClassicNetwork/virtualNetworks/DCIaasTmpWusNet/subnets/Subnet-1",
diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-01-01/examples/UpdateDomainService.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-01-01/examples/UpdateDomainService.json
index 6ccf4066df74..f7f07ab8f778 100644
--- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-01-01/examples/UpdateDomainService.json
+++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-01-01/examples/UpdateDomainService.json
@@ -5,9 +5,7 @@
"resourceGroupName": "sva-tt-WUS",
"domainServiceName": "zdomain.zforest.com",
"domainService": {
- "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/sva-tt-WUS/providers/Microsoft.AAD/domainServices/zdomain.zforest.com",
"location": "westus",
- "name": "zdomain.zforest.com",
"properties": {
"domainSecuritySettings": {
"ntlmV1": "Enabled",
diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/domainservices.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/domainservices.json
index 25978d3d8889..13a151d5ea2a 100644
--- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/domainservices.json
+++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/domainservices.json
@@ -244,10 +244,7 @@
],
"responses": {
"202": {
- "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.",
- "schema": {
- "$ref": "#/definitions/DomainService"
- }
+ "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously."
},
"204": {
"description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed."
@@ -311,242 +308,6 @@
}
}
}
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}/replicaSets": {
- "get": {
- "tags": [
- "ReplicaSets"
- ],
- "operationId": "ReplicaSets_ListByResourceGroup",
- "summary": "List ReplicaSets in Resource Group",
- "description": "The List ReplicaSets in Resource Group operation lists all the domain services available under the given resource group.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/DomainServiceNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "HTTP 200 (OK) if the operation was successful.",
- "schema": {
- "$ref": "#/definitions/ReplicaSetListResult"
- }
- }
- },
- "x-ms-examples": {
- "List ReplicaSet": {
- "$ref": "./examples/ListReplicaSetsByDomainService.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}/replicaSets/{replicaSetName}": {
- "put": {
- "tags": [
- "ReplicaSets"
- ],
- "operationId": "ReplicaSets_CreateOrUpdate",
- "summary": "Create or Update ReplicaSet (PUT Resource)",
- "description": "The Create ReplicaSet operation creates a new domain service with the specified parameters.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/DomainServiceNameParameter"
- },
- {
- "$ref": "#/parameters/ReplicaSetNameParameter"
- },
- {
- "name": "replicaSet",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ReplicaSet"
- },
- "description": "Properties supplied to the Create ReplicaSet operation."
- }
- ],
- "responses": {
- "200": {
- "description": "HTTP 200 (OK) if the operation was successful.",
- "schema": {
- "$ref": "#/definitions/ReplicaSet"
- }
- },
- "201": {
- "description": "HTTP 201 (Created) if the operation completed successfully.",
- "schema": {
- "$ref": "#/definitions/ReplicaSet"
- }
- },
- "202": {
- "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.",
- "schema": {
- "$ref": "#/definitions/ReplicaSet"
- }
- }
- },
- "x-ms-examples": {
- "Create ReplicaSet": {
- "$ref": "./examples/CreateReplicaSet.json"
- }
- },
- "x-ms-long-running-operation": true
- },
- "get": {
- "tags": [
- "ReplicaSets"
- ],
- "operationId": "ReplicaSets_Get",
- "summary": "Get ReplicaSet",
- "description": "The Get ReplicaSet operation retrieves a json representation of the ReplicaSet.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/DomainServiceNameParameter"
- },
- {
- "$ref": "#/parameters/ReplicaSetNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "HTTP 200 (OK) if the operation was successful.",
- "schema": {
- "$ref": "#/definitions/ReplicaSet"
- }
- }
- },
- "x-ms-examples": {
- "Get ReplicaSet": {
- "$ref": "./examples/GetReplicaSet.json"
- }
- }
- },
- "delete": {
- "tags": [
- "ReplicaSets"
- ],
- "operationId": "ReplicaSets_Delete",
- "summary": "Delete ReplicaSet (DELETE Resource)",
- "description": "The Delete ReplicaSet operation deletes an existing ReplicaSet.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/DomainServiceNameParameter"
- },
- {
- "$ref": "#/parameters/ReplicaSetNameParameter"
- }
- ],
- "responses": {
- "202": {
- "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.",
- "schema": {
- "$ref": "#/definitions/ReplicaSet"
- }
- },
- "204": {
- "description": "HTTP 204 (Not Content) if resource does not exist."
- }
- },
- "x-ms-examples": {
- "Delete ReplicaSet": {
- "$ref": "./examples/DeleteReplicaSet.json"
- }
- },
- "x-ms-long-running-operation": true
- },
- "patch": {
- "tags": [
- "ReplicaSets"
- ],
- "operationId": "ReplicaSets_Update",
- "summary": "Update ReplicaSet (PATCH Resource)",
- "description": "The Update ReplicaSet operation can be used to update the existing deployment. The update call only supports the properties listed in the PATCH body.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/DomainServiceNameParameter"
- },
- {
- "$ref": "#/parameters/ReplicaSetNameParameter"
- },
- {
- "name": "replicaSet",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ReplicaSet"
- },
- "description": "Properties supplied to the Update a ReplicaSet operation."
- }
- ],
- "responses": {
- "200": {
- "description": "HTTP 200 (OK) if the operation was successful.",
- "schema": {
- "$ref": "#/definitions/ReplicaSet"
- }
- },
- "202": {
- "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.",
- "schema": {
- "$ref": "#/definitions/ReplicaSet"
- }
- }
- },
- "x-ms-examples": {
- "Update ReplicaSet": {
- "$ref": "./examples/UpdateReplicaSet.json"
- }
- },
- "x-ms-long-running-operation": true
- }
}
},
"definitions": {
@@ -622,38 +383,6 @@
},
"description": "The response from the List Domain Services operation."
},
- "ReplicaSet": {
- "description": "Replica Set.",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ReplicaSetProperties",
- "description": "ReplicaSet properties"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ]
- },
- "ReplicaSetListResult": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ReplicaSet"
- },
- "description": "the list of ReplicaSet."
- },
- "nextLink": {
- "type": "string",
- "description": "The continuation token for the next page of results.",
- "readOnly": true
- }
- },
- "description": "The response from the List ReplicaSets operation."
- },
"DomainServiceProperties": {
"description": "Properties of the Domain Service.",
"properties": {
@@ -744,68 +473,6 @@
}
}
},
- "ReplicaSetProperties": {
- "description": "Properties of the ReplicaSet.",
- "properties": {
- "replicaSetId": {
- "readOnly": true,
- "type": "string",
- "description": "ReplicaSet Id"
- },
- "subnetId": {
- "type": "string",
- "description": "The name of the virtual network that ReplicaSets will be deployed on. /virtualNetwork/vnetName/subnets/subnetName."
- },
- "healthLastEvaluated": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "Last domain evaluation run DateTime"
- },
- "healthMonitors": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/HealthMonitor",
- "description": "Domain Health Monitors"
- },
- "description": "List of Domain Health Monitors"
- },
- "healthAlerts": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/HealthAlert",
- "description": "Domain Health Alerts"
- },
- "description": "List of Domain Health Alerts"
- },
- "domainControllerIpAddress": {
- "readOnly": true,
- "type": "array",
- "items": {
- "type": "string",
- "description": "Domain Controller IP Address"
- },
- "description": "List of Domain Controller IP Address"
- },
- "serviceStatus": {
- "readOnly": true,
- "type": "string",
- "description": "Status of Domain Service instance"
- },
- "provisioningState": {
- "readOnly": true,
- "type": "string",
- "description": "the current deployment or provisioning state, which only appears in the response."
- },
- "externalAccessIpAddress": {
- "readOnly": true,
- "type": "string",
- "description": "External access ip address."
- }
- }
- },
"LdapsSettings": {
"description": "Secure LDAP Settings",
"properties": {
@@ -1096,14 +763,6 @@
"type": "string",
"description": "The name of the domain service.",
"x-ms-parameter-location": "method"
- },
- "ReplicaSetNameParameter": {
- "name": "replicaSetName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the replica set.",
- "x-ms-parameter-location": "method"
}
}
}
diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/CreateDomainService.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/CreateDomainService.json
index 37dd6dcb7cde..04640147a53f 100644
--- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/CreateDomainService.json
+++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/CreateDomainService.json
@@ -5,9 +5,7 @@
"resourceGroupName": "sva-tt-WUS",
"domainServiceName": "zdomain.zforest.com",
"domainService": {
- "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/sva-tt-WUS/providers/Microsoft.AAD/domainServices/zdomain.zforest.com",
"location": "westus",
- "name": "zdomain.zforest.com",
"properties": {
"domainName": "zdomain.zforest.com",
"subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/Default-Networking/providers/Microsoft.Network/virtualNetworks/DCIaasTmpWusNet/subnets/Subnet-1",
diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/CreateReplicaSet.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/CreateReplicaSet.json
deleted file mode 100644
index c34ca98c1bc5..000000000000
--- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/CreateReplicaSet.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "parameters": {
- "api-version": "2017-06-01",
- "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d",
- "resourceGroupName": "sva-tt-WUS",
- "domainServiceName": "zdomain.zforest.com",
- "replicaSetName": "additionalSite",
- "replicaSet": {
- "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/sva-tt-WUS/providers/Microsoft.AAD/domainServices/zdomain.zforest.com/replicaSets/additionalSite",
- "location": "westus",
- "name": "additionalSite",
- "properties": {
- "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/Default-Networking/providers/Microsoft.Network/virtualNetworks/DCIaasTmpWusNet/subnets/Subnet-1"
- }
- }
- },
- "responses": {
- "200": {
- "description": "HTTP 200 (OK) if the operation was successful.",
- "body": {
- "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/sva-tt-WUS/providers/Microsoft.AAD/domainServices/zdomain.zforest.com/replicaSets/additionalSite",
- "name": "additionalSite",
- "type": "Microsoft.AAD/domainServices/replicaSets",
- "location": "westus",
- "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
- "properties": {
- "replicaSetId": "99083198-a39c-469f-972d-59017e7f078c",
- "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/Default-Networking/providers/Microsoft.Network/virtualNetworks/DCIaasTmpWusNet/subnets/Subnet-1",
- "domainControllerIpAddress": [
- "10.0.0.5",
- "10.0.0.8"
- ],
- "serviceStatus": "Running",
- "provisioningState": "Succeeded"
- }
- }
- },
- "201": {
- "description": "HTTP 201 (Created) if the operation completed successfully.",
- "body": {
- "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/sva-tt-WUS/providers/Microsoft.AAD/domainServices/zdomain.zforest.com/replicaSets/additionalSite",
- "name": "additionalSite",
- "type": "Microsoft.AAD/domainServices/replicaSets",
- "location": "westus",
- "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
- "properties": {
- "replicaSetId": "99083198-a39c-469f-972d-59017e7f078c",
- "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/Default-Networking/providers/Microsoft.Network/virtualNetworks/DCIaasTmpWusNet/subnets/Subnet-1",
- "domainControllerIpAddress": [
- "10.0.0.5",
- "10.0.0.8"
- ],
- "serviceStatus": "Running",
- "provisioningState": "Succeeded"
- }
- }
- },
- "202": {
- "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.",
- "body": {
- "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/sva-tt-WUS/providers/Microsoft.AAD/domainServices/zdomain.zforest.com/replicaSets/additionalSite",
- "name": "additionalSite",
- "type": "Microsoft.AAD/domainServices/replicaSets",
- "location": "westus",
- "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
- "properties": {
- "replicaSetId": "99083198-a39c-469f-972d-59017e7f078c",
- "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/Default-Networking/providers/Microsoft.Network/virtualNetworks/DCIaasTmpWusNet/subnets/Subnet-1",
- "domainControllerIpAddress": [
- "10.0.0.5",
- "10.0.0.8"
- ],
- "serviceStatus": "Running",
- "provisioningState": "Succeeded"
- }
- }
- }
- }
-}
diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/DeleteReplicaSet.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/DeleteReplicaSet.json
deleted file mode 100644
index a899165a12b6..000000000000
--- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/DeleteReplicaSet.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2017-06-01",
- "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d",
- "resourceGroupName": "sva-tt-WUS",
- "domainServiceName": "zdomain.zforest.com",
- "replicaSetName": "additionalSite"
- },
- "responses": {
- "202": {
- "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously."
- },
- "204": {
- "description": "HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed."
- }
- }
-}
diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/GetReplicaSet.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/GetReplicaSet.json
deleted file mode 100644
index 5eac7bda00c4..000000000000
--- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/GetReplicaSet.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "parameters": {
- "api-version": "2017-06-01",
- "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d",
- "resourceGroupName": "sva-tt-WUS",
- "domainServiceName": "zdomain.zforest.com",
- "replicaSetName": "additionalSite"
- },
- "responses": {
- "200": {
- "description": "HTTP 200 (OK) if the operation was successful.",
- "body": {
- "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/sva-tt-WUS/providers/Microsoft.AAD/domainServices/zdomain.zforest.com/replicaSets/additionalSite",
- "name": "additionalSite",
- "type": "Microsoft.AAD/domainServices/replicaSets",
- "location": "westus",
- "tags": {
- "Owner": "jicha"
- },
- "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
- "properties": {
- "replicaSetId": "99083198-a39c-469f-972d-59017e7f078c",
- "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/Default-Networking/providers/Microsoft.Network/virtualNetworks/DCIaasTmpWusNet/subnets/Subnet-1",
- "healthLastEvaluated": "2018-02-15T21:43:21Z",
- "healthMonitors": [
- {
- "id": "AADDS501",
- "name": "Backup",
- "details": "Last backed up on Tue, 18 Sep 2018 03:37:04 GMT"
- },
- {
- "id": "AADDS500",
- "name": "Synchronization with Azure AD",
- "details": "Synchronized on Tue, 18 Sep 2018 16:47:57 GMT."
- }
- ],
- "healthAlerts": [
- {
- "id": "AADDS104",
- "name": "The managed domain is experiencing a network error",
- "issue": "Microsoft is unable to reach the domain controllers for this managed domain. This may happen if a network security group (NSG) configured on your virtual network blocks access to the managed domain. Another possible reason is if there is a user defined route that blocks incoming traffic from the internet.",
- "severity": "2",
- "raised": "2018-09-18T01:55:40.7834289Z",
- "lastDetected": "2018-09-18T17:46:39.2697888Z",
- "resolutionUri": "https://aka.ms/aadds-neterr"
- }
- ],
- "domainControllerIpAddress": [
- "10.0.0.5",
- "10.0.0.8"
- ],
- "serviceStatus": "Running",
- "provisioningState": "Succeeded"
- }
- }
- }
- }
-}
diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/ListReplicaSetsByDomainService.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/ListReplicaSetsByDomainService.json
deleted file mode 100644
index c06ea7525768..000000000000
--- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/ListReplicaSetsByDomainService.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "parameters": {
- "api-version": "2017-06-01",
- "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d",
- "resourceGroupName": "sva-tt-WUS",
- "domainServiceName": "zdomain.zforest.com"
- },
- "responses": {
- "200": {
- "description": "HTTP 200 (OK) if the operation was successful.",
- "body": {
- "value": [
- {
- "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/sva-tt-WUS/providers/Microsoft.AAD/domainServices/zdomain.zforest.com/replicaSets/additionalSite",
- "name": "additionalSite",
- "type": "Microsoft.AAD/domainServices/replicaSets",
- "location": "westus",
- "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
- "properties": {
- "replicaSetId": "99083198-a39c-469f-972d-59017e7f078c",
- "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/Default-Networking/providers/Microsoft.Network/virtualNetworks/DCIaasTmpWusNet/subnets/Subnet-1",
- "domainControllerIpAddress": [
- "10.0.0.5",
- "10.0.0.8"
- ],
- "serviceStatus": "Running",
- "provisioningState": "Succeeded"
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/UpdateDomainService.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/UpdateDomainService.json
index 1297422ea22f..715f3b454b65 100644
--- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/UpdateDomainService.json
+++ b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/UpdateDomainService.json
@@ -5,9 +5,7 @@
"resourceGroupName": "sva-tt-WUS",
"domainServiceName": "zdomain.zforest.com",
"domainService": {
- "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/sva-tt-WUS/providers/Microsoft.AAD/domainServices/zdomain.zforest.com",
"location": "westus",
- "name": "zdomain.zforest.com",
"properties": {
"domainSecuritySettings": {
"ntlmV1": "Enabled",
diff --git a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/UpdateReplicaSet.json b/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/UpdateReplicaSet.json
deleted file mode 100644
index 4b7f67c8b7a9..000000000000
--- a/specification/domainservices/resource-manager/Microsoft.AAD/stable/2017-06-01/examples/UpdateReplicaSet.json
+++ /dev/null
@@ -1,62 +0,0 @@
-{
- "parameters": {
- "api-version": "2017-06-01",
- "subscriptionId": "1639790a-76a2-4ac4-98d9-8562f5dfcb4d",
- "resourceGroupName": "sva-tt-WUS",
- "domainServiceName": "zdomain.zforest.com",
- "replicaSetName": "additionalSite",
- "replicaSet": {
- "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/sva-tt-WUS/providers/Microsoft.AAD/domainServices/zdomain.zforest.com/replicaSets/additionalSite",
- "location": "westus",
- "name": "additionalSite",
- "properties": {
- "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/Default-Networking/providers/Microsoft.Network/virtualNetworks/DCIaasTmpWusNet/subnets/Subnet-1"
- }
- }
- },
- "responses": {
- "200": {
- "description": "HTTP 200 (OK) if the operation was successful.",
- "body": {
- "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/sva-tt-WUS/providers/Microsoft.AAD/domainServices/zdomain.zforest.com/replicaSets/additionalSite",
- "name": "additionalSite",
- "type": "Microsoft.AAD/domainServices/replicaSets",
- "location": "westus",
- "tags": {
- "Owner": "jicha"
- },
- "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
- "properties": {
- "replicaSetId": "99083198-a39c-469f-972d-59017e7f078c",
- "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/Default-Networking/providers/Microsoft.Network/virtualNetworks/DCIaasTmpWusNet/subnets/Subnet-1",
- "domainControllerIpAddress": [
- "10.0.0.5",
- "10.0.0.8"
- ],
- "serviceStatus": "Running",
- "provisioningState": "Succeeded"
- }
- }
- },
- "202": {
- "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.",
- "body": {
- "id": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/sva-tt-WUS/providers/Microsoft.AAD/domainServices/zdomain.zforest.com/replicaSets/additionalSite",
- "name": "additionalSite",
- "type": "Microsoft.AAD/domainServices/replicaSets",
- "location": "westus",
- "etag": "W/\"datetime'2017-04-10T04%3A42%3A19.7067387Z'\"",
- "properties": {
- "replicaSetId": "99083198-a39c-469f-972d-59017e7f078c",
- "subnetId": "/subscriptions/1639790a-76a2-4ac4-98d9-8562f5dfcb4d/resourceGroups/Default-Networking/providers/Microsoft.Network/virtualNetworks/DCIaasTmpWusNet/subnets/Subnet-1",
- "domainControllerIpAddress": [
- "10.0.0.5",
- "10.0.0.8"
- ],
- "serviceStatus": "Running",
- "provisioningState": "Succeeded"
- }
- }
- }
- }
-}
From 46214dca3de60e2904ce47bc41b8b54af9d6356f Mon Sep 17 00:00:00 2001
From: Tanyi Chen
Date: Tue, 29 Oct 2019 11:24:23 +0800
Subject: [PATCH 091/189] App Configuration: add java readme (#7659)
---
.../resource-manager/readme.java.md | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/specification/appconfiguration/resource-manager/readme.java.md b/specification/appconfiguration/resource-manager/readme.java.md
index 930e52f3b904..7a73d067cfec 100644
--- a/specification/appconfiguration/resource-manager/readme.java.md
+++ b/specification/appconfiguration/resource-manager/readme.java.md
@@ -16,9 +16,23 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-appconfiguration
``` yaml $(java) && $(multiapi)
batch:
+ - tag: package-2019-10-01
- tag: package-2019-02-01-preview
```
+### Tag: package-2019-10-01 and java
+
+These settings apply only when `--tag=package-2019-10-01 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag)=='package-2019-10-01' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.appconfiguration.v2019_10_01
+ output-folder: $(azure-libraries-for-java-folder)/appconfiguration/resource-manager/v2019_10_01
+regenerate-manager: true
+generate-interface: true
+```
+
### Tag: package-2019-02-01-preview and java
These settings apply only when `--tag=package-2019-02-01-preview --java` is specified on the command line.
From fc4b77b023d1bf338b241452ff5de744929f8e55 Mon Sep 17 00:00:00 2001
From: sarajang <37909871+sarajang@users.noreply.github.com>
Date: Mon, 28 Oct 2019 21:31:08 -0700
Subject: [PATCH 092/189] Add stable version for Data Share and in place
sharing support for Kusto (#7641)
* Update data set related documentation comments
* Add inplace data sharing support for Kusto
* Add shell stable version
* Update stable version for easy diff
* fix readme files
* update path for readme.go.md
---
.../preview/2018-11-01-preview/DataShare.json | 687 +-
.../examples/Accounts_Create.json | 10 +-
.../examples/Accounts_Delete.json | 2 +-
.../examples/Accounts_Get.json | 5 +-
.../Accounts_ListByResourceGroup.json | 10 +-
.../examples/Accounts_ListBySubscription.json | 10 +-
.../examples/Accounts_Update.json | 5 +-
.../examples/ConsumerInvitations_Get.json | 4 +-
.../ConsumerInvitations_ListInvitations.json | 5 +-
.../ConsumerInvitations_RejectInvitation.json | 4 +-
...ourceDataSets_ListByShareSubscription.json | 3 +-
.../DataSetMappings_SqlDB_Create.json | 9 +-
.../DataSetMappings_SqlDW_Create.json | 9 +-
.../examples/DataSets_Create.json | 2 +-
.../examples/DataSets_Delete.json | 11 +
.../DataSets_KustoCluster_Create.json | 58 +
.../DataSets_KustoDatabase_Create.json | 58 +
.../examples/DataSets_SqlDBTable_Create.json | 9 +-
.../examples/DataSets_SqlDWTable_Create.json | 9 +-
.../examples/Invitations_Create.json | 10 +-
.../examples/Invitations_Get.json | 5 +-
.../examples/Invitations_ListByShare.json | 5 +-
...ProviderShareSubscriptions_GetByShare.json | 7 +-
...roviderShareSubscriptions_ListByShare.json | 7 +-
.../ProviderShareSubscriptions_Reinstate.json | 7 +-
.../ProviderShareSubscriptions_Revoke.json | 14 +-
.../examples/ShareSubscriptions_Create.json | 16 +-
.../examples/ShareSubscriptions_Get.json | 7 +-
.../ShareSubscriptions_ListByAccount.json | 22 +-
...areSubscriptions_ListSynchronizations.json | 3 +-
.../examples/Shares_Create.json | 10 +-
.../examples/Shares_Get.json | 5 +-
.../examples/Shares_ListByAccount.json | 10 +-
.../examples/Shares_ListSynchronizations.json | 7 +-
.../SynchronizationSettings_Create.json | 6 +-
.../examples/SynchronizationSettings_Get.json | 3 +-
.../SynchronizationSettings_ListByShare.json | 3 +-
.../examples/Triggers_Create.json | 6 +-
.../examples/Triggers_Get.json | 3 +-
.../Triggers_ListByShareSubscription.json | 3 +-
.../stable/2019-11-01/DataShare.json | 6362 +++++++++++++++++
.../2019-11-01/examples/Accounts_Create.json | 74 +
.../2019-11-01/examples/Accounts_Delete.json | 42 +
.../2019-11-01/examples/Accounts_Get.json | 38 +
.../Accounts_ListByResourceGroup.json | 54 +
.../examples/Accounts_ListBySubscription.json | 53 +
.../2019-11-01/examples/Accounts_Update.json | 43 +
.../examples/ConsumerInvitations_Get.json | 37 +
.../ConsumerInvitations_ListInvitations.json | 39 +
.../ConsumerInvitations_RejectInvitation.json | 41 +
...ourceDataSets_ListByShareSubscription.json | 35 +
.../examples/DataSetMappings_Create.json | 69 +
.../examples/DataSetMappings_Delete.json | 30 +
.../examples/DataSetMappings_Get.json | 35 +
...taSetMappings_ListByShareSubscription.json | 52 +
.../DataSetMappings_SqlDB_Create.json | 66 +
...ngs_SqlDWDataSetToAdlsGen2File_Create.json | 72 +
.../DataSetMappings_SqlDW_Create.json | 66 +
.../2019-11-01/examples/DataSets_Create.json | 67 +
.../2019-11-01/examples/DataSets_Delete.json | 41 +
.../2019-11-01/examples/DataSets_Get.json | 34 +
.../DataSets_KustoCluster_Create.json | 58 +
.../DataSets_KustoDatabase_Create.json | 58 +
.../examples/DataSets_ListByShare.json | 50 +
.../examples/DataSets_SqlDBTable_Create.json | 65 +
.../examples/DataSets_SqlDWTable_Create.json | 65 +
.../examples/Invitations_Create.json | 61 +
.../examples/Invitations_Delete.json | 30 +
.../2019-11-01/examples/Invitations_Get.json | 34 +
.../examples/Invitations_ListByShare.json | 36 +
.../2019-11-01/examples/Operations_List.json | 48 +
...ProviderShareSubscriptions_GetByShare.json | 35 +
...roviderShareSubscriptions_ListByShare.json | 38 +
.../ProviderShareSubscriptions_Reinstate.json | 35 +
.../ProviderShareSubscriptions_Revoke.json | 60 +
...reSubscriptions_CancelSynchronization.json | 44 +
.../examples/ShareSubscriptions_Create.json | 75 +
.../examples/ShareSubscriptions_Delete.json | 43 +
.../examples/ShareSubscriptions_Get.json | 41 +
.../ShareSubscriptions_ListByAccount.json | 63 +
...istSourceShareSynchronizationSettings.json | 31 +
...scriptions_ListSynchronizationDetails.json | 36 +
...areSubscriptions_ListSynchronizations.json | 33 +
.../ShareSubscriptions_Synchronize.json | 44 +
.../2019-11-01/examples/Shares_Create.json | 63 +
.../2019-11-01/examples/Shares_Delete.json | 43 +
.../2019-11-01/examples/Shares_Get.json | 33 +
.../examples/Shares_ListByAccount.json | 50 +
.../Shares_ListSynchronizationDetails.json | 36 +
.../examples/Shares_ListSynchronizations.json | 35 +
.../SynchronizationSettings_Create.json | 62 +
.../SynchronizationSettings_Delete.json | 44 +
.../examples/SynchronizationSettings_Get.json | 33 +
.../SynchronizationSettings_ListByShare.json | 35 +
.../2019-11-01/examples/Triggers_Create.json | 67 +
.../2019-11-01/examples/Triggers_Delete.json | 44 +
.../2019-11-01/examples/Triggers_Get.json | 35 +
.../Triggers_ListByShareSubscription.json | 38 +
.../datashare/resource-manager/readme.go.md | 10 +
.../datashare/resource-manager/readme.md | 12 +-
100 files changed, 9973 insertions(+), 169 deletions(-)
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_KustoCluster_Create.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_KustoDatabase_Create.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/DataShare.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_Create.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_Delete.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_Get.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_ListByResourceGroup.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_ListBySubscription.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_Update.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ConsumerInvitations_Get.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ConsumerInvitations_ListInvitations.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ConsumerInvitations_RejectInvitation.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ConsumerSourceDataSets_ListByShareSubscription.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_Create.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_Delete.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_Get.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_ListByShareSubscription.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDB_Create.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDW_Create.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_Create.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_Delete.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_Get.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_KustoCluster_Create.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_KustoDatabase_Create.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_ListByShare.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_SqlDBTable_Create.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_SqlDWTable_Create.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Invitations_Create.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Invitations_Delete.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Invitations_Get.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Invitations_ListByShare.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Operations_List.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ProviderShareSubscriptions_GetByShare.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ProviderShareSubscriptions_ListByShare.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ProviderShareSubscriptions_Reinstate.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ProviderShareSubscriptions_Revoke.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_CancelSynchronization.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_Create.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_Delete.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_Get.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_ListByAccount.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_ListSourceShareSynchronizationSettings.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_ListSynchronizationDetails.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_ListSynchronizations.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_Synchronize.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_Create.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_Delete.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_Get.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_ListByAccount.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_ListSynchronizationDetails.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_ListSynchronizations.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/SynchronizationSettings_Create.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/SynchronizationSettings_Delete.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/SynchronizationSettings_Get.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/SynchronizationSettings_ListByShare.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Triggers_Create.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Triggers_Delete.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Triggers_Get.json
create mode 100644 specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Triggers_ListByShareSubscription.json
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json
index ef2eb3b00daa..79a4920e9a3b 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json
@@ -577,6 +577,12 @@
"DataSets_Create": {
"$ref": "./examples/DataSets_Create.json"
},
+ "DataSets_KustoCluster_Create": {
+ "$ref": "./examples/DataSets_KustoCluster_Create.json"
+ },
+ "DataSets_KustoDatabase_Create": {
+ "$ref": "./examples/DataSets_KustoDatabase_Create.json"
+ },
"DataSets_SqlDWTable_Create": {
"$ref": "./examples/DataSets_SqlDWTable_Create.json"
},
@@ -624,6 +630,9 @@
"200": {
"description": "Success"
},
+ "202": {
+ "description": "Accepted"
+ },
"204": {
"description": "Success"
},
@@ -634,6 +643,7 @@
}
}
},
+ "x-ms-long-running-operation": true,
"x-ms-examples": {
"DataSets_Delete": {
"$ref": "./examples/DataSets_Delete.json"
@@ -2991,11 +3001,6 @@
"type": "string",
"readOnly": true
},
- "createdBy": {
- "description": "Name of the user who created the account.",
- "type": "string",
- "readOnly": true
- },
"provisioningState": {
"description": "Provisioning state of the Account",
"enum": [
@@ -3011,6 +3016,16 @@
"name": "provisioningState",
"modelAsString": true
}
+ },
+ "userEmail": {
+ "description": "Email of the user who created the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "userName": {
+ "description": "Name of the user who created the resource",
+ "type": "string",
+ "readOnly": true
}
}
},
@@ -3191,19 +3206,24 @@
"type": "string",
"readOnly": true
},
- "respondedAt": {
- "format": "date-time",
- "description": "The time the recipient responded to the invitation.",
+ "providerEmail": {
+ "description": "Email of the provider who created the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "providerName": {
+ "description": "Name of the provider who created the resource",
"type": "string",
"readOnly": true
},
- "sender": {
- "description": "Gets the name of the sender.",
+ "providerTenantName": {
+ "description": "Tenant name of the provider who created the resource",
"type": "string",
"readOnly": true
},
- "senderCompanyName": {
- "description": "Gets the company name of the sender.",
+ "respondedAt": {
+ "format": "date-time",
+ "description": "The time the recipient responded to the invitation.",
"type": "string",
"readOnly": true
},
@@ -3222,6 +3242,16 @@
"description": "Terms of use shared when the invitation was created",
"type": "string",
"readOnly": true
+ },
+ "userEmail": {
+ "description": "Email of the user who created the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "userName": {
+ "description": "Name of the user who created the resource",
+ "type": "string",
+ "readOnly": true
}
}
},
@@ -3266,6 +3296,8 @@
"AdlsGen2File",
"AdlsGen1Folder",
"AdlsGen1File",
+ "KustoCluster",
+ "KustoDatabase",
"SqlDBTable",
"SqlDWTable"
],
@@ -3317,6 +3349,8 @@
"AdlsGen2FileSystem",
"AdlsGen2Folder",
"AdlsGen2File",
+ "KustoCluster",
+ "KustoDatabase",
"SqlDBTable",
"SqlDWTable"
],
@@ -3396,11 +3430,6 @@
"type": "string",
"readOnly": true
},
- "sender": {
- "description": "Gets the name of the sender.",
- "type": "string",
- "readOnly": true
- },
"sentAt": {
"format": "date-time",
"description": "Gets the time at which the invitation was sent.",
@@ -3418,6 +3447,16 @@
"targetObjectId": {
"description": "The target user or application Id that invitation is being sent to.\r\nMust be specified along TargetActiveDirectoryId. This enables sending\r\ninvitations to specific users or applications in an AD tenant.",
"type": "string"
+ },
+ "userEmail": {
+ "description": "Email of the user who created the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "userName": {
+ "description": "Name of the user who created the resource",
+ "type": "string",
+ "readOnly": true
}
}
},
@@ -3660,11 +3699,6 @@
"type": "string",
"readOnly": true
},
- "createdBy": {
- "description": "Name of the user who created the share.",
- "type": "string",
- "readOnly": true
- },
"description": {
"description": "Share description.",
"type": "string"
@@ -3688,7 +3722,8 @@
"shareKind": {
"description": "Share kind.",
"enum": [
- "CopyBased"
+ "CopyBased",
+ "InPlace"
],
"type": "string",
"x-ms-enum": {
@@ -3699,6 +3734,16 @@
"terms": {
"description": "Share terms.",
"type": "string"
+ },
+ "userEmail": {
+ "description": "Email of the user who created the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "userName": {
+ "description": "Name of the user who created the resource",
+ "type": "string",
+ "readOnly": true
}
}
},
@@ -3748,8 +3793,16 @@
"description": "A ShareSynchronization data transfer object.",
"type": "object",
"properties": {
- "company": {
- "description": "Company name",
+ "consumerEmail": {
+ "description": "Email of the user who created the synchronization",
+ "type": "string"
+ },
+ "consumerName": {
+ "description": "Name of the user who created the synchronization",
+ "type": "string"
+ },
+ "consumerTenantName": {
+ "description": "Tenant name of the consumer who created the synchronization",
"type": "string"
},
"durationMs": {
@@ -3766,10 +3819,6 @@
"description": "message of synchronization",
"type": "string"
},
- "recipient": {
- "description": "Recipient id",
- "type": "string"
- },
"startTime": {
"format": "date-time",
"description": "start time of synchronization",
@@ -3782,6 +3831,19 @@
"synchronizationId": {
"description": "Synchronization id",
"type": "string"
+ },
+ "synchronizationMode": {
+ "description": "Synchronization mode",
+ "enum": [
+ "Incremental",
+ "FullSync"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "synchronizationMode",
+ "modelAsString": true
+ }
}
}
},
@@ -3811,12 +3873,12 @@
"type": "object",
"properties": {
"dataSetId": {
- "description": "id of dataSet",
+ "description": "Id of data set",
"type": "string",
"readOnly": true
},
"dataSetType": {
- "description": "type of DataSet",
+ "description": "Type of the data set",
"enum": [
"Blob",
"Container",
@@ -3826,6 +3888,8 @@
"AdlsGen2File",
"AdlsGen1Folder",
"AdlsGen1File",
+ "KustoCluster",
+ "KustoDatabase",
"SqlDBTable",
"SqlDWTable"
],
@@ -3838,7 +3902,7 @@
},
"durationMs": {
"format": "int32",
- "description": "duration of data set level copy",
+ "description": "Duration of data set level copy",
"type": "integer",
"readOnly": true
},
@@ -3850,29 +3914,29 @@
},
"filesRead": {
"format": "int64",
- "description": "The number of files read from the source data set.",
+ "description": "The number of files read from the source data set",
"type": "integer",
"readOnly": true
},
"filesWritten": {
"format": "int64",
- "description": "The number of files written into the sink data set.",
+ "description": "The number of files written into the sink data set",
"type": "integer",
"readOnly": true
},
"message": {
- "description": "Error Message if any",
+ "description": "Error message if any",
"type": "string",
"readOnly": true
},
"name": {
- "description": "name of dataSet",
+ "description": "Name of the data set",
"type": "string",
"readOnly": true
},
"rowsCopied": {
"format": "int64",
- "description": "The number of files copied into the sink data set.",
+ "description": "The number of files copied into the sink data set",
"type": "integer",
"readOnly": true
},
@@ -3884,19 +3948,19 @@
},
"sizeRead": {
"format": "int64",
- "description": "The size of the data read from the source data set in bytes.",
+ "description": "The size of the data read from the source data set in bytes",
"type": "integer",
"readOnly": true
},
"sizeWritten": {
"format": "int64",
- "description": "The size of the data written into the sink data set in bytes.",
+ "description": "The size of the data written into the sink data set in bytes",
"type": "integer",
"readOnly": true
},
"startTime": {
"format": "date-time",
- "description": "start time of data set level copy",
+ "description": "Start time of data set level copy",
"type": "string",
"readOnly": true
},
@@ -3907,7 +3971,7 @@
},
"vCore": {
"format": "int64",
- "description": "The vCore units consumed for the data set synchronization.",
+ "description": "The vCore units consumed for the data set synchronization",
"type": "integer",
"readOnly": true
}
@@ -3933,8 +3997,18 @@
"description": "Provider share subscription properties",
"type": "object",
"properties": {
- "company": {
- "description": "Company name",
+ "consumerEmail": {
+ "description": "Email of the consumer who created the share subscription",
+ "type": "string",
+ "readOnly": true
+ },
+ "consumerName": {
+ "description": "Name of the consumer who created the share subscription",
+ "type": "string",
+ "readOnly": true
+ },
+ "consumerTenantName": {
+ "description": "Tenant name of the consumer who created the share subscription",
"type": "string",
"readOnly": true
},
@@ -3944,8 +4018,8 @@
"type": "string",
"readOnly": true
},
- "createdBy": {
- "description": "Created by",
+ "providerName": {
+ "description": "Name of the provider who created the share",
"type": "string",
"readOnly": true
},
@@ -3955,11 +4029,6 @@
"type": "string",
"readOnly": true
},
- "sharedBy": {
- "description": "Shared by",
- "type": "string",
- "readOnly": true
- },
"shareSubscriptionObjectId": {
"description": "share Subscription Object Id",
"type": "string",
@@ -4035,15 +4104,25 @@
"type": "string",
"readOnly": true
},
- "createdBy": {
- "description": "The user who created the share subscription.",
- "type": "string",
- "readOnly": true
- },
"invitationId": {
"description": "The invitation id.",
"type": "string"
},
+ "providerEmail": {
+ "description": "Email of the provider who created the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "providerName": {
+ "description": "Name of the provider who created the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "providerTenantName": {
+ "description": "Tenant name of the provider who created the resource",
+ "type": "string",
+ "readOnly": true
+ },
"provisioningState": {
"description": "Provisioning state of the share subscription",
"enum": [
@@ -4068,7 +4147,8 @@
"shareKind": {
"description": "Kind of share",
"enum": [
- "CopyBased"
+ "CopyBased",
+ "InPlace"
],
"type": "string",
"readOnly": true,
@@ -4082,16 +4162,6 @@
"type": "string",
"readOnly": true
},
- "shareSender": {
- "description": "Sender of the share",
- "type": "string",
- "readOnly": true
- },
- "shareSenderCompanyName": {
- "description": "Company name of the share sender",
- "type": "string",
- "readOnly": true
- },
"shareSubscriptionStatus": {
"description": "Gets the current status of share subscription.",
"enum": [
@@ -4111,6 +4181,16 @@
"description": "Terms of a share",
"type": "string",
"readOnly": true
+ },
+ "userEmail": {
+ "description": "Email of the user who created the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "userName": {
+ "description": "Name of the user who created the resource",
+ "type": "string",
+ "readOnly": true
}
}
},
@@ -4160,13 +4240,23 @@
"type": "string",
"readOnly": true
},
+ "dataSetLocation": {
+ "description": "Location of the data set.",
+ "type": "string",
+ "readOnly": true
+ },
"dataSetName": {
"description": "DataSet name",
"type": "string",
"readOnly": true
},
+ "dataSetPath": {
+ "description": "DataSet path",
+ "type": "string",
+ "readOnly": true
+ },
"dataSetType": {
- "description": "Type of dataSet",
+ "description": "Type of data set",
"enum": [
"Blob",
"Container",
@@ -4176,6 +4266,8 @@
"AdlsGen2File",
"AdlsGen1Folder",
"AdlsGen1File",
+ "KustoCluster",
+ "KustoDatabase",
"SqlDBTable",
"SqlDWTable"
],
@@ -4287,6 +4379,19 @@
"synchronizationId": {
"description": "Synchronization id",
"type": "string"
+ },
+ "synchronizationMode": {
+ "description": "Synchronization Mode",
+ "enum": [
+ "Incremental",
+ "FullSync"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "synchronizationMode",
+ "modelAsString": true
+ }
}
}
},
@@ -4451,11 +4556,6 @@
"type": "string",
"readOnly": true
},
- "createdBy": {
- "description": "Name of the user who created the synchronization setting.",
- "type": "string",
- "readOnly": true
- },
"provisioningState": {
"description": "Gets or sets the provisioning state",
"enum": [
@@ -4488,6 +4588,11 @@
"format": "date-time",
"description": "Synchronization time",
"type": "string"
+ },
+ "userName": {
+ "description": "Name of the user who created the synchronization setting.",
+ "type": "string",
+ "readOnly": true
}
}
},
@@ -4525,11 +4630,6 @@
"type": "string",
"readOnly": true
},
- "createdBy": {
- "description": "Name of the user who created the trigger.",
- "type": "string",
- "readOnly": true
- },
"provisioningState": {
"description": "Gets the provisioning state",
"enum": [
@@ -4588,6 +4688,11 @@
"name": "triggerStatus",
"modelAsString": true
}
+ },
+ "userName": {
+ "description": "Name of the user who created the trigger.",
+ "type": "string",
+ "readOnly": true
}
}
},
@@ -5040,6 +5145,124 @@
}
}
},
+ "KustoClusterDataSet": {
+ "description": "A kusto cluster data set.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/KustoClusterDataSetProperties",
+ "description": "Kusto cluster data set properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "KustoCluster"
+ },
+ "KustoClusterDataSetProperties": {
+ "description": "Properties of the kusto cluster data set.",
+ "required": [
+ "kustoClusterResourceId"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "Unique id for identifying a data set resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "kustoClusterResourceId": {
+ "description": "Resource id of the kusto cluster.",
+ "type": "string"
+ },
+ "location": {
+ "description": "Location of the kusto cluster.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the kusto cluster data set.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "KustoDatabaseDataSet": {
+ "description": "A kusto database data set.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/KustoDatabaseDataSetProperties",
+ "description": "Kusto database data set properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "KustoDatabase"
+ },
+ "KustoDatabaseDataSetProperties": {
+ "description": "Properties of the kusto database data set.",
+ "required": [
+ "kustoDatabaseResourceId"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "Unique id for identifying a data set resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "kustoDatabaseResourceId": {
+ "description": "Resource id of the kusto database.",
+ "type": "string"
+ },
+ "location": {
+ "description": "Location of the kusto cluster.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the kusto database data set.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ }
+ }
+ },
"SqlDWTableDataSet": {
"description": "A SQL DW table data set.",
"type": "object",
@@ -5059,6 +5282,12 @@
},
"SqlDWTableProperties": {
"description": "Properties of the SQL DW table data set.",
+ "required": [
+ "dataWarehouseName",
+ "tableName",
+ "schemaName",
+ "sqlServerResourceId"
+ ],
"type": "object",
"properties": {
"dataSetId": {
@@ -5070,6 +5299,10 @@
"description": "DataWarehouse name of the source data set",
"type": "string"
},
+ "schemaName": {
+ "description": "Schema of the table. Default value is dbo.",
+ "type": "string"
+ },
"sqlServerResourceId": {
"description": "Resource id of SQL server",
"type": "string"
@@ -5099,6 +5332,12 @@
},
"SqlDBTableProperties": {
"description": "Properties of the SQL DB table data set.",
+ "required": [
+ "databaseName",
+ "tableName",
+ "schemaName",
+ "sqlServerResourceId"
+ ],
"type": "object",
"properties": {
"databaseName": {
@@ -5110,6 +5349,10 @@
"type": "string",
"readOnly": true
},
+ "schemaName": {
+ "description": "Schema of the table. Default value is dbo.",
+ "type": "string"
+ },
"sqlServerResourceId": {
"description": "Resource id of SQL server",
"type": "string"
@@ -5167,6 +5410,7 @@
"Broken"
],
"type": "string",
+ "readOnly": true,
"x-ms-enum": {
"name": "dataSetMappingStatus",
"modelAsString": true
@@ -5188,6 +5432,22 @@
"modelAsString": true
}
},
+ "provisioningState": {
+ "description": "Provisioning state of the data set mapping.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
"resourceGroup": {
"description": "Resource group of storage account.",
"type": "string"
@@ -5249,6 +5509,7 @@
"Broken"
],
"type": "string",
+ "readOnly": true,
"x-ms-enum": {
"name": "dataSetMappingStatus",
"modelAsString": true
@@ -5258,6 +5519,22 @@
"description": "Prefix for blob folder",
"type": "string"
},
+ "provisioningState": {
+ "description": "Provisioning state of the data set mapping.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
"resourceGroup": {
"description": "Resource group of storage account.",
"type": "string"
@@ -5318,11 +5595,28 @@
"Broken"
],
"type": "string",
+ "readOnly": true,
"x-ms-enum": {
"name": "dataSetMappingStatus",
"modelAsString": true
}
},
+ "provisioningState": {
+ "description": "Provisioning state of the data set mapping.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
"resourceGroup": {
"description": "Resource group of storage account.",
"type": "string"
@@ -5380,6 +5674,7 @@
"Broken"
],
"type": "string",
+ "readOnly": true,
"x-ms-enum": {
"name": "dataSetMappingStatus",
"modelAsString": true
@@ -5405,6 +5700,22 @@
"modelAsString": true
}
},
+ "provisioningState": {
+ "description": "Provisioning state of the data set mapping.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
"resourceGroup": {
"description": "Resource group of storage account.",
"type": "string"
@@ -5462,6 +5773,7 @@
"Broken"
],
"type": "string",
+ "readOnly": true,
"x-ms-enum": {
"name": "dataSetMappingStatus",
"modelAsString": true
@@ -5475,6 +5787,22 @@
"description": "Folder path within the file system.",
"type": "string"
},
+ "provisioningState": {
+ "description": "Provisioning state of the data set mapping.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
"resourceGroup": {
"description": "Resource group of storage account.",
"type": "string"
@@ -5531,6 +5859,7 @@
"Broken"
],
"type": "string",
+ "readOnly": true,
"x-ms-enum": {
"name": "dataSetMappingStatus",
"modelAsString": true
@@ -5540,6 +5869,22 @@
"description": "The file system name.",
"type": "string"
},
+ "provisioningState": {
+ "description": "Provisioning state of the data set mapping.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
"resourceGroup": {
"description": "Resource group of storage account.",
"type": "string"
@@ -5554,6 +5899,150 @@
}
}
},
+ "KustoClusterDataSetMapping": {
+ "description": "A Kusto cluster data set mapping",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/KustoClusterDataSetMappingProperties",
+ "description": "Kusto cluster data set mapping properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "KustoCluster"
+ },
+ "KustoClusterDataSetMappingProperties": {
+ "description": "Properties of the Kusto cluster data set mapping",
+ "required": [
+ "kustoClusterResourceId",
+ "dataSetId"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "The id of the source data set.",
+ "type": "string"
+ },
+ "dataSetMappingStatus": {
+ "description": "Gets the status of the data set mapping.",
+ "enum": [
+ "Ok",
+ "Broken"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "dataSetMappingStatus",
+ "modelAsString": true
+ }
+ },
+ "kustoClusterResourceId": {
+ "description": "Resource id of the sink kusto cluster.",
+ "type": "string"
+ },
+ "location": {
+ "description": "Location of the sink kusto cluster.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the data set mapping.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "KustoDatabaseDataSetMapping": {
+ "description": "A Kusto database data set mapping",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/KustoDatabaseDataSetMappingProperties",
+ "description": "Kusto database data set mapping properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "KustoDatabase"
+ },
+ "KustoDatabaseDataSetMappingProperties": {
+ "description": "Properties of the Kusto database data set mapping",
+ "required": [
+ "kustoClusterResourceId",
+ "dataSetId"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "The id of the source data set.",
+ "type": "string"
+ },
+ "dataSetMappingStatus": {
+ "description": "Gets the status of the data set mapping.",
+ "enum": [
+ "Ok",
+ "Broken"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "dataSetMappingStatus",
+ "modelAsString": true
+ }
+ },
+ "kustoClusterResourceId": {
+ "description": "Resource id of the sink kusto cluster.",
+ "type": "string"
+ },
+ "location": {
+ "description": "Location of the sink kusto cluster.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the data set mapping.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ }
+ }
+ },
"SqlDWTableDataSetMapping": {
"description": "A SQL DW Table data set mapping.",
"required": [
@@ -5579,6 +6068,7 @@
"required": [
"dataWarehouseName",
"tableName",
+ "schemaName",
"sqlServerResourceId",
"dataSetId"
],
@@ -5595,6 +6085,7 @@
"Broken"
],
"type": "string",
+ "readOnly": true,
"x-ms-enum": {
"name": "dataSetMappingStatus",
"modelAsString": true
@@ -5604,6 +6095,26 @@
"description": "DataWarehouse name of the source data set",
"type": "string"
},
+ "provisioningState": {
+ "description": "Provisioning state of the data set mapping.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
+ "schemaName": {
+ "description": "Schema of the table. Default value is dbo.",
+ "type": "string"
+ },
"sqlServerResourceId": {
"description": "Resource id of SQL server",
"type": "string"
@@ -5639,6 +6150,7 @@
"required": [
"databaseName",
"tableName",
+ "schemaName",
"sqlServerResourceId",
"dataSetId"
],
@@ -5659,11 +6171,32 @@
"Broken"
],
"type": "string",
+ "readOnly": true,
"x-ms-enum": {
"name": "dataSetMappingStatus",
"modelAsString": true
}
},
+ "provisioningState": {
+ "description": "Provisioning state of the data set mapping.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
+ "schemaName": {
+ "description": "Schema of the table. Default value is dbo.",
+ "type": "string"
+ },
"sqlServerResourceId": {
"description": "Resource id of SQL server",
"type": "string"
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Create.json
index c0dd7d364a88..0905c4bb6565 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Create.json
@@ -26,8 +26,9 @@
},
"body": {
"properties": {
- "createdBy": "johnsmith@microsoft.com",
- "createdAt": "2018-11-14T04:47:52.9614956Z"
+ "userName": "John Smith",
+ "createdAt": "2018-11-14T04:47:52.9614956Z",
+ "userEmail": "johnsmith@microsoft.com"
},
"location": "West US 2",
"tags": {
@@ -52,8 +53,9 @@
},
"body": {
"properties": {
- "createdBy": "johnsmith@microsoft.com",
- "createdAt": "2018-11-14T04:47:52.9614956Z"
+ "userName": "John Smith",
+ "createdAt": "2018-11-14T04:47:52.9614956Z",
+ "userEmail": "johnsmith@microsoft.com"
},
"location": "West US 2",
"tags": {
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Delete.json
index cb35cf00a5a7..099a6ad33673 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Delete.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Delete.json
@@ -26,7 +26,7 @@
"x-ms-ratelimit-remaining-tenant-reads": "14999",
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
"x-ms-long-running-operation": true,
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/sourceAccount/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview"
+ "Azure-AsyncOperation": "https://management.azure.com/locations/eastus2/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview"
}
},
"204": {
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Get.json
index e4c3236ed773..0fe56c1bf837 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Get.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Get.json
@@ -16,9 +16,10 @@
},
"body": {
"properties": {
- "createdBy": "johnsmith@microsoft.com",
+ "userName": "John Smith",
"createdAt": "2018-11-14T04:47:52.9614956Z",
- "provisioningState": "Succeeded"
+ "provisioningState": "Succeeded",
+ "userEmail": "john.smith@microsoft.com"
},
"location": "West US 2",
"tags": {
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListByResourceGroup.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListByResourceGroup.json
index fb1801e39f23..39fbfc19eed0 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListByResourceGroup.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListByResourceGroup.json
@@ -17,8 +17,9 @@
"value": [
{
"properties": {
- "createdBy": "johnsmith@microsoft.com",
- "createdAt": "2018-11-14T04:47:52.9614956Z"
+ "userName": "John Smith",
+ "createdAt": "2018-11-14T04:47:52.9614956Z",
+ "userEmail": "johnsmith@microsoft.com"
},
"location": "West US 2",
"tags": {
@@ -34,8 +35,9 @@
},
{
"properties": {
- "createdBy": "johnsmith@microsoft.com",
- "createdAt": "2018-11-14T04:47:52.9614956Z"
+ "userName": "John Smith",
+ "createdAt": "2018-11-14T04:47:52.9614956Z",
+ "userEmail": "johnsmith@microsoft.com"
},
"location": "East US 2",
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account2",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListBySubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListBySubscription.json
index cd5c56e0c155..c892235cdbbc 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListBySubscription.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListBySubscription.json
@@ -16,8 +16,9 @@
"value": [
{
"properties": {
- "createdBy": "johnsmith@microsoft.com",
- "createdAt": "2018-11-14T04:47:52.9614956Z"
+ "userName": "johnsmith@microsoft.com",
+ "createdAt": "2018-11-14T04:47:52.9614956Z",
+ "userEmail": "johnsmith@microsoft.com"
},
"location": "West US 2",
"tags": {
@@ -33,8 +34,9 @@
},
{
"properties": {
- "createdBy": "johnsmith@microsoft.com",
- "createdAt": "2018-11-14T04:47:52.9614956Z"
+ "userName": "johnsmith@microsoft.com",
+ "createdAt": "2018-11-14T04:47:52.9614956Z",
+ "userEmail": "johnsmith@microsoft.com"
},
"identity": {
"type": "SystemAssigned"
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Update.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Update.json
index 1916a8fd4347..868ccc83581e 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Update.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Update.json
@@ -22,8 +22,9 @@
},
"body": {
"properties": {
- "createdBy": "johnsmith@microsoft.com",
- "createdAt": "2018-11-14T04:47:52.9614956Z"
+ "userName": "John Smith",
+ "createdAt": "2018-11-14T04:47:52.9614956Z",
+ "userEmail": "johnsmith@microsoft.com"
},
"location": "West US 2",
"tags": {
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_Get.json
index 23774eb86354..b96b9eda962e 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_Get.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_Get.json
@@ -17,7 +17,9 @@
"properties": {
"location": "eastus2",
"invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
- "sender": "John Smith",
+ "providerName": "John Smith",
+ "providerEmail": "john.smith@microsoft.com",
+ "providerTenantName": "Microsoft",
"sentAt": "2019-01-15T01:45:25.6226946Z",
"respondedAt": "2019-01-15T02:01:51.8953054Z",
"invitationStatus": "Accepted",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_ListInvitations.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_ListInvitations.json
index 7d294af33170..6e888dff3a47 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_ListInvitations.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_ListInvitations.json
@@ -17,14 +17,15 @@
"properties": {
"location": "eastus2",
"invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
- "sender": "John Smith",
+ "providerName": "John Smith",
+ "providerEmail": "john.smith@microsoft.com",
"sentAt": "2019-01-15T01:45:25.6226946Z",
"respondedAt": "2019-01-15T02:01:51.8953054Z",
"invitationStatus": "Accepted",
"description": "Some share",
"termsOfUse": "Confidential",
"dataSetCount": 1,
- "senderCompanyName": "microsoft",
+ "providerTenantName": "microsoft",
"shareName": "share1"
},
"id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_RejectInvitation.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_RejectInvitation.json
index bd99bc119208..e0c2b2087285 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_RejectInvitation.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_RejectInvitation.json
@@ -21,7 +21,9 @@
"properties": {
"location": "eastus2",
"invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
- "sender": "John Smith",
+ "providerName": "John Smith",
+ "providerEmail": "john.smith@microsoft.com",
+ "providerTenantName": "microsoft",
"sentAt": "2019-01-15T01:45:25.6226946Z",
"respondedAt": "2019-01-15T02:01:51.8953054Z",
"invitationStatus": "Rejected",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerSourceDataSets_ListByShareSubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerSourceDataSets_ListByShareSubscription.json
index e465b8f71b88..18b7349e8355 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerSourceDataSets_ListByShareSubscription.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerSourceDataSets_ListByShareSubscription.json
@@ -21,7 +21,8 @@
"properties": {
"dataSetId": "0b9d4394-8bb3-49a1-aa4f-4be49cd10375",
"dataSetType": "Blob",
- "dataSetName": "input.text"
+ "dataSetName": "input.text",
+ "dataSetPath": "cars.text"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1/consumerSourceDataSets/4256e2cf-0f82-4865-961b-12f83333f487",
"name": "invitation1",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDB_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDB_Create.json
index 43eaa8fa5c7e..30ceae83958c 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDB_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDB_Create.json
@@ -12,7 +12,8 @@
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
"sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"databaseName": "Database1",
- "tableName": "Table1"
+ "tableName": "Table1",
+ "schemaName": "dbo"
}
}
},
@@ -31,7 +32,8 @@
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
"sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"databaseName": "Database1",
- "tableName": "Table1"
+ "tableName": "Table1",
+ "schemaName": "dbo"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1",
"name": "DatasetMapping1",
@@ -52,7 +54,8 @@
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
"sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"databaseName": "Database1",
- "tableName": "Table1"
+ "tableName": "Table1",
+ "schemaName": "dbo"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1",
"name": "DatasetMapping1",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDW_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDW_Create.json
index d7461ffdffee..860ca3336400 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDW_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDW_Create.json
@@ -12,7 +12,8 @@
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
"sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
- "tableName": "Table1"
+ "tableName": "Table1",
+ "schemaName": "dbo"
}
}
},
@@ -31,7 +32,8 @@
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
"sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
- "tableName": "Table1"
+ "tableName": "Table1",
+ "schemaName": "dbo"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1",
"name": "DatasetMapping1",
@@ -52,7 +54,8 @@
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
"sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
- "tableName": "Table1"
+ "tableName": "Table1",
+ "schemaName": "dbo"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1",
"name": "DatasetMapping1",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json
index 9569da347267..0a9a7d9429ca 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json
@@ -36,7 +36,7 @@
"subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
"resourceGroup": "SampleResourceGroup"
},
- "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/{{accountName}}/shares/share1/datasets/dataset1new",
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
"name": null,
"type": "Microsoft.DataShare/DataSets"
}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Delete.json
index 65c2c333c7ff..641ad9cf412d 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Delete.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Delete.json
@@ -17,6 +17,17 @@
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
}
},
+ "202": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-long-running-operation": true,
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview"
+ }
+ },
"204": {
"headers": {
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_KustoCluster_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_KustoCluster_Create.json
new file mode 100644
index 000000000000..f9ff50cdd12d
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_KustoCluster_Create.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "dataSetName": "Dataset1",
+ "api-version": "2018-11-01-preview",
+ "dataSet": {
+ "kind": "KustoCluster",
+ "properties": {
+ "kustoClusterResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Kusto/clusters/Cluster1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "KustoCluster",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "kustoClusterResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Kusto/clusters/Cluster1",
+ "location": "West US 2"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
+ "name": null,
+ "type": "Microsoft.DataShare/DataSets"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "KustoCluster",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "kustoClusterResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Kusto/clusters/Cluster1",
+ "location": "West US 2"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
+ "name": "Dataset1",
+ "type": "Microsoft.DataShare/DataSet"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_KustoDatabase_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_KustoDatabase_Create.json
new file mode 100644
index 000000000000..088f8dc7f3d5
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_KustoDatabase_Create.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "dataSetName": "Dataset1",
+ "api-version": "2018-11-01-preview",
+ "dataSet": {
+ "kind": "KustoDatabase",
+ "properties": {
+ "kustoDatabaseResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Kusto/clusters/Cluster1/databases/Database1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "KustoDatabase",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "kustoDatabaseResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Kusto/clusters/Cluster1/databases/Database1",
+ "location": "West US 2"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
+ "name": null,
+ "type": "Microsoft.DataShare/DataSets"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "KustoDatabase",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "kustoDatabaseResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Kusto/clusters/Cluster1/databases/Database1",
+ "location": "West US 2"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
+ "name": "Dataset1",
+ "type": "Microsoft.DataShare/DataSet"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDBTable_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDBTable_Create.json
index dfae36d27bc8..39882aacc7f2 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDBTable_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDBTable_Create.json
@@ -11,7 +11,8 @@
"properties": {
"sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"databaseName": "SqlDB1",
- "tableName": "Table1"
+ "tableName": "Table1",
+ "schemaName": "dbo"
}
}
},
@@ -30,7 +31,8 @@
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
"sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"databaseName": "SqlDB1",
- "tableName": "Table1"
+ "tableName": "Table1",
+ "schemaName": "dbo"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
"name": null,
@@ -51,7 +53,8 @@
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
"sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"databaseName": "SqlDB1",
- "tableName": "Table1"
+ "tableName": "Table1",
+ "schemaName": "dbo"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
"name": "Dataset1",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDWTable_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDWTable_Create.json
index 2758b144c390..8ff8af11b916 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDWTable_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDWTable_Create.json
@@ -11,7 +11,8 @@
"properties": {
"sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
- "tableName": "Table1"
+ "tableName": "Table1",
+ "schemaName": "dbo"
}
}
},
@@ -30,7 +31,8 @@
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
"sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
- "tableName": "Table1"
+ "tableName": "Table1",
+ "schemaName": "dbo"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
"name": null,
@@ -51,7 +53,8 @@
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
"sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
- "tableName": "Table1"
+ "tableName": "Table1",
+ "schemaName": "dbo"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
"name": "Dataset1",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Create.json
index 074f97413aaa..e5d7b58a9e75 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Create.json
@@ -23,11 +23,12 @@
},
"body": {
"properties": {
- "sender": "John Smith",
+ "userName": "John Smith",
"sentAt": "2018-11-26T22:33:24.5785265Z",
"targetEmail": "receiver@microsoft.com",
"respondedAt": null,
- "invitationStatus": "Pending"
+ "invitationStatus": "Pending",
+ "userEmail": "johnsmith@microsoft.com"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/invitations/Invitation1",
"name": "Invitation1",
@@ -44,11 +45,12 @@
},
"body": {
"properties": {
- "sender": "John Smith",
+ "userName": "John Smith",
"sentAt": "2018-11-26T22:33:24.5785265Z",
"targetEmail": "receiver@microsoft.com",
"respondedAt": null,
- "invitationStatus": "Pending"
+ "invitationStatus": "Pending",
+ "userEmail": "johnsmith@microsoft.com"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/invitations/Invitation1",
"name": "Invitation1",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Get.json
index 5f0f34180969..b6df091e045b 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Get.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Get.json
@@ -18,11 +18,12 @@
},
"body": {
"properties": {
- "sender": "John Smith",
+ "userName": "John Smith",
"sentAt": "2018-11-26T22:33:24.5785265Z",
"targetEmail": "receiver@microsoft.com",
"respondedAt": null,
- "invitationStatus": "Pending"
+ "invitationStatus": "Pending",
+ "userEmail": "johnsmith@microsoft.com"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/invitations/Invitation1",
"name": "Invitation1",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_ListByShare.json
index 69c8d228b5a5..ddcc24d8ef51 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_ListByShare.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_ListByShare.json
@@ -19,10 +19,11 @@
"value": [
{
"properties": {
- "sender": "John Smith",
+ "userName": "John Smith",
"sentAt": "2018-11-26T22:33:24.5785265Z",
"targetEmail": "johnsmith@microsoft.com",
- "invitationStatus": "Accepted"
+ "invitationStatus": "Accepted",
+ "userEmail": "johnsmith@microsoft.com"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/account1/shares/share1/invitations/ancd",
"name": "ancd",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_GetByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_GetByShare.json
index 1774cdc73959..f3862af0430d 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_GetByShare.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_GetByShare.json
@@ -18,11 +18,12 @@
},
"body": {
"properties": {
- "createdBy": "John Smith",
+ "consumerName": "John Smith",
+ "consumerEmail": "john.smith@microsoft.com",
"createdAt": "2018-12-13T08:52:42.6224087Z",
- "sharedBy": "John Smith",
+ "providerName": "John Smith",
"sharedAt": "2018-12-13T08:45:40.9005877Z",
- "company": "Microsoft",
+ "consumerTenantName": "Microsoft",
"shareSubscriptionStatus": "Active"
},
"id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json
index ba84858c928d..954ed069b22c 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json
@@ -19,11 +19,12 @@
"value": [
{
"properties": {
- "createdBy": "John Smith",
+ "consumerName": "John Smith",
+ "consumerEmail": "john.smith@microsoft.com",
"createdAt": "2018-12-13T08:52:42.6224087Z",
- "sharedBy": "John Smith",
+ "providerName": "John Smith",
"sharedAt": "2018-12-13T08:45:40.9005877Z",
- "company": "Microsoft",
+ "consumerTenantName": "Microsoft",
"shareSubscriptionStatus": "Active"
},
"id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Reinstate.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Reinstate.json
index 1774cdc73959..f3862af0430d 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Reinstate.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Reinstate.json
@@ -18,11 +18,12 @@
},
"body": {
"properties": {
- "createdBy": "John Smith",
+ "consumerName": "John Smith",
+ "consumerEmail": "john.smith@microsoft.com",
"createdAt": "2018-12-13T08:52:42.6224087Z",
- "sharedBy": "John Smith",
+ "providerName": "John Smith",
"sharedAt": "2018-12-13T08:45:40.9005877Z",
- "company": "Microsoft",
+ "consumerTenantName": "Microsoft",
"shareSubscriptionStatus": "Active"
},
"id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Revoke.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Revoke.json
index 82609f34a773..8ac6fb25b4ad 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Revoke.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Revoke.json
@@ -18,11 +18,12 @@
},
"body": {
"properties": {
- "createdBy": "John Smith",
+ "consumerName": "John Smith",
+ "consumerEmail": "john.smith@microsoft.com",
"createdAt": "2018-12-13T08:52:42.6224087Z",
- "sharedBy": "John Smith",
+ "providerName": "John Smith",
"sharedAt": "2018-12-13T08:45:40.9005877Z",
- "company": "Microsoft",
+ "consumerTenantName": "Microsoft",
"shareSubscriptionStatus": "Revoked"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/account1/shares/share1/providerShareSubscripitons/4256e2cf-0f82-4865-961b-12f83333f487",
@@ -42,11 +43,12 @@
},
"body": {
"properties": {
- "createdBy": "John Smith",
+ "consumerName": "John Smith",
+ "consumerEmail": "john.smith@microsoft.com",
"createdAt": "2018-12-13T08:52:42.6224087Z",
- "sharedBy": "John Smith",
+ "providerName": "John Smith",
"sharedAt": "2018-12-13T08:45:40.9005877Z",
- "company": "Microsoft",
+ "consumerTenantName": "Microsoft",
"shareSubscriptionStatus": "Revoked"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/account1/shares/share1/providerShareSubscripitons/4256e2cf-0f82-4865-961b-12f83333f487",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Create.json
index 5e993ae882ce..8d70d9490428 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Create.json
@@ -22,14 +22,18 @@
},
"body": {
"properties": {
- "createdBy": "John Smith",
+ "userName": "John Smith",
"createdAt": "2019-01-17T22:32:36.8185016Z",
"shareSubscriptionStatus": "Active",
"invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
"shareName": "share1",
"shareDescription": "Some share",
"shareTerms": "Confidential",
- "shareKind": "CopyBased"
+ "shareKind": "CopyBased",
+ "userEmail": "john.smith@microsoft.com",
+ "providerName": "Jack Rose",
+ "providerEmail": "jack.rose@microsoft.com",
+ "providerTenantName": "Microsoft"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1",
"name": "ShareSubscription1",
@@ -46,14 +50,18 @@
},
"body": {
"properties": {
- "createdBy": "John Smith",
+ "userName": "John Smith",
"createdAt": "2019-01-17T22:32:36.8185016Z",
"shareSubscriptionStatus": "Active",
"invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
"shareName": "share1",
"shareDescription": "Some share",
"shareTerms": "Confidential",
- "shareKind": "CopyBased"
+ "shareKind": "CopyBased",
+ "userEmail": "john.smith@microsoft.com",
+ "providerName": "Jack Rose",
+ "providerEmail": "jack.rose@microsoft.com",
+ "providerTenantName": "Microsoft"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1",
"name": "ShareSubscription1",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Get.json
index 916455ef8ca6..7765431322eb 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Get.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Get.json
@@ -17,7 +17,8 @@
},
"body": {
"properties": {
- "createdBy": "John Smith",
+ "userName": "John Smith",
+ "userEmail": "john.smith@microsoft.com",
"createdAt": "2019-01-17T22:32:36.8185016Z",
"shareSubscriptionStatus": "Active",
"invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
@@ -26,7 +27,9 @@
"shareTerms": "Confidential",
"shareKind": "CopyBased",
"provisioningState": "Succeeded",
- "shareSenderCompanyName": "ShareSenderCompanyName"
+ "providerTenantName": "Microsoft",
+ "providerName": "Jack Rose",
+ "providerEmail": "jack.rose@microsoft.com"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1",
"name": "ShareSubscription1",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListByAccount.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListByAccount.json
index 4b61d7f3a98c..dc9c84579419 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListByAccount.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListByAccount.json
@@ -18,10 +18,18 @@
"value": [
{
"properties": {
- "invitationId": "12345678-1234-1234-12345678abd",
+ "userName": "John Smith",
+ "userEmail": "john.smith@microsoft.com",
+ "createdAt": "2019-01-17T22:32:36.8185016Z",
"shareSubscriptionStatus": "Active",
- "createdBy": "johnsmith@microsoft.com",
- "createdAt": "2018-11-14T06:15:15.6818898Z"
+ "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
+ "shareName": "share1",
+ "shareDescription": "Some share",
+ "shareTerms": "Confidential",
+ "shareKind": "CopyBased",
+ "providerTenantName": "Microsoft",
+ "providerName": "Jack Rose",
+ "providerEmail": "jack.rose@microsoft.com"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1",
"name": "ShareSubscription1",
@@ -29,14 +37,18 @@
},
{
"properties": {
- "createdBy": "John Smith",
+ "userName": "John Smith",
+ "userEmail": "john.smith@microsoft.com",
"createdAt": "2019-01-17T22:32:36.8185016Z",
"shareSubscriptionStatus": "Active",
"invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
"shareName": "share1",
"shareDescription": "Some share",
"shareTerms": "Confidential",
- "shareKind": "CopyBased"
+ "shareKind": "CopyBased",
+ "providerTenantName": "Microsoft",
+ "providerName": "Jack Rose",
+ "providerEmail": "jack.rose@microsoft.com"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1",
"name": "ShareSubscription1",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizations.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizations.json
index b96005d5edaf..4977df1c9813 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizations.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizations.json
@@ -23,7 +23,8 @@
"durationMs": 2000,
"status": "Completed",
"message": "nda",
- "synchronizationId": "runId"
+ "synchronizationId": "runId",
+ "synchronizationMode": "Incremental"
}
]
}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Create.json
index f806aad72812..466e0b7844fb 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Create.json
@@ -27,8 +27,9 @@
"description": "share description",
"terms": "Confidential",
"shareKind": "CopyBased",
- "createdBy": "johnsmith@microsoft.com",
- "createdAt": "2018-11-14T06:15:15.6818898Z"
+ "userName": "John Smith",
+ "createdAt": "2018-11-14T06:15:15.6818898Z",
+ "userEmail": "johnsmith@microsoft.com"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1",
"name": "Share1",
@@ -48,8 +49,9 @@
"description": "share description",
"terms": "Confidential",
"shareKind": "CopyBased",
- "createdBy": "johnsmith@microsoft.com",
- "createdAt": "2018-11-14T06:15:15.6818898Z"
+ "userName": "John Smith",
+ "createdAt": "2018-11-14T06:15:15.6818898Z",
+ "userEmail": "johnsmith@microsoft.com"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1",
"name": "Share1",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Get.json
index 0db27ccec7ae..1fd59b1deeb7 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Get.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Get.json
@@ -20,8 +20,9 @@
"description": "share description",
"terms": "Confidential",
"shareKind": "CopyBased",
- "createdBy": "johnsmith@microsoft.com",
- "createdAt": "2018-11-14T06:15:15.6818898Z"
+ "userName": "John Smith",
+ "createdAt": "2018-11-14T06:15:15.6818898Z",
+ "userEmail": "johnsmith@microsoft.com"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1",
"name": "Share1",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListByAccount.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListByAccount.json
index e93a5544eb97..69eb8b0341ee 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListByAccount.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListByAccount.json
@@ -21,8 +21,9 @@
"description": "share description",
"terms": "Confidential",
"shareKind": "CopyBased",
- "createdBy": "johnsmith@microsoft.com",
- "createdAt": "2018-11-14T06:15:15.6818898Z"
+ "userName": "John Smith",
+ "createdAt": "2018-11-14T06:15:15.6818898Z",
+ "userEmail": "johnsmith@microsoft.com"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1",
"name": "Share1",
@@ -33,8 +34,9 @@
"description": "share description",
"terms": "Confidential",
"shareKind": "CopyBased",
- "createdBy": "johnsmith@microsoft.com",
- "createdAt": "2018-11-14T06:15:15.6818898Z"
+ "userName": "John Smith",
+ "createdAt": "2018-11-14T06:15:15.6818898Z",
+ "userEmail": "johnsmith@microsoft.com"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1",
"name": "Share1",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizations.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizations.json
index f99fa5437cb9..2f7f0c095005 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizations.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizations.json
@@ -23,9 +23,10 @@
"durationMs": 2000,
"status": "Completed",
"message": "nda",
- "company": "nda",
- "recipient": "abc@yahoo.com",
- "synchronizationId": "runId"
+ "consumerTenantName": "nda",
+ "consumerName": "abc@yahoo.com",
+ "synchronizationId": "runId",
+ "synchronizationMode": "Incremental"
}
]
}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Create.json
index f9e5a8f9235b..b6f9c45b1473 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Create.json
@@ -28,7 +28,8 @@
"properties": {
"synchronizationTime": "2018-11-14T04:47:52.9614956Z",
"recurrenceInterval": "Day",
- "provisioningState": "Succeeded"
+ "provisioningState": "Succeeded",
+ "userName": "John Smith"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1",
"name": "SyncrhonizationSetting1",
@@ -49,7 +50,8 @@
"properties": {
"synchronizationTime": "2018-11-14T04:47:52.9614956Z",
"recurrenceInterval": "Day",
- "provisioningState": "Succeeded"
+ "provisioningState": "Succeeded",
+ "userName": "John Smith"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1",
"name": "SyncrhonizationSetting1",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Get.json
index 2d8f5255dc89..74f050d5296b 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Get.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Get.json
@@ -21,7 +21,8 @@
"properties": {
"synchronizationTime": "2018-11-14T04:47:52.9614956Z",
"recurrenceInterval": "Day",
- "provisioningState": "Succeeded"
+ "provisioningState": "Succeeded",
+ "userName": "John Smith"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1",
"name": "SyncrhonizationSetting1",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_ListByShare.json
index 313fee0067e7..92d8cf728bb0 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_ListByShare.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_ListByShare.json
@@ -21,7 +21,8 @@
"kind": "ScheduleBased",
"properties": {
"synchronizationTime": "2018-11-14T04:47:52.9614956Z",
- "recurrenceInterval": "Day"
+ "recurrenceInterval": "Day",
+ "userName": "John Smith"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1",
"name": "SyncrhonizationSetting1",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Create.json
index b0ea314c5e14..649bcb42afaa 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Create.json
@@ -31,7 +31,8 @@
"recurrenceInterval": "Day",
"provisioningState": "Succeeded",
"triggerStatus": "Active",
- "synchronizationMode": "Incremental"
+ "synchronizationMode": "Incremental",
+ "userName": "John Smith"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1",
"name": "Trigger1",
@@ -54,7 +55,8 @@
"recurrenceInterval": "Day",
"provisioningState": "Creating",
"triggerStatus": "Active",
- "synchronizationMode": "Incremental"
+ "synchronizationMode": "Incremental",
+ "userName": "John Smith"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1",
"name": "Trigger1",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Get.json
index 73df1d338617..6f97c42c1c4f 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Get.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Get.json
@@ -23,7 +23,8 @@
"recurrenceInterval": "Day",
"provisioningState": "Succeeded",
"triggerStatus": "Active",
- "synchronizationMode": "Incremental"
+ "synchronizationMode": "Incremental",
+ "userName": "John Smith"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1",
"name": "Trigger1",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_ListByShareSubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_ListByShareSubscription.json
index 15f0ca0a1ef8..a11bad4a8eee 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_ListByShareSubscription.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_ListByShareSubscription.json
@@ -24,7 +24,8 @@
"synchronizationTime": "2018-11-14T04:47:52.9614956Z",
"recurrenceInterval": "Day",
"provisioningState": "Succeeded",
- "synchronizationMode": "Incremental"
+ "synchronizationMode": "Incremental",
+ "userName": "John Smith"
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1",
"name": "Trigger1",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/DataShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/DataShare.json
new file mode 100644
index 000000000000..e30e0ef3b265
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/DataShare.json
@@ -0,0 +1,6362 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-11-01",
+ "title": "DataShareManagementClient",
+ "description": "Creates a Microsoft.DataShare management client."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}": {
+ "get": {
+ "tags": [
+ "Account"
+ ],
+ "summary": "Get an account under a resource group",
+ "description": "Get an account",
+ "operationId": "Accounts_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Account"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Accounts_Get": {
+ "$ref": "./examples/Accounts_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Account"
+ ],
+ "summary": "Create an account in the given resource group",
+ "description": "Create an account",
+ "operationId": "Accounts_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "account",
+ "in": "body",
+ "description": "The account payload.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Account"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Account"
+ }
+ },
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Account"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Accounts_Create": {
+ "$ref": "./examples/Accounts_Create.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Account"
+ ],
+ "summary": "Delete an account",
+ "description": "DeleteAccount",
+ "operationId": "Accounts_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/OperationResponse"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Accounts_Delete": {
+ "$ref": "./examples/Accounts_Delete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Account"
+ ],
+ "summary": "Patch a given account",
+ "description": "Patch an account",
+ "operationId": "Accounts_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "accountUpdateParameters",
+ "in": "body",
+ "description": "The account update parameters.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AccountUpdateParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Account"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Accounts_Update": {
+ "$ref": "./examples/Accounts_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.DataShare/accounts": {
+ "get": {
+ "tags": [
+ "Account"
+ ],
+ "summary": "List Accounts in a subscription",
+ "description": "List Accounts in Subscription",
+ "operationId": "Accounts_ListBySubscription",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/AccountList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Accounts_ListBySubscription": {
+ "$ref": "./examples/Accounts_ListBySubscription.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts": {
+ "get": {
+ "tags": [
+ "Account"
+ ],
+ "summary": "List Accounts in a resource group",
+ "description": "List Accounts in ResourceGroup",
+ "operationId": "Accounts_ListByResourceGroup",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/AccountList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Accounts_ListByResourceGroup": {
+ "$ref": "./examples/Accounts_ListByResourceGroup.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.DataShare/locations/{location}/RejectInvitation": {
+ "post": {
+ "tags": [
+ "ConsumerInvitation"
+ ],
+ "summary": "Rejects the invitation identified by invitationId",
+ "description": "Reject an invitation",
+ "operationId": "ConsumerInvitations_RejectInvitation",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "description": "Location of the invitation",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "invitation",
+ "in": "body",
+ "description": "An invitation payload",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ConsumerInvitation"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ConsumerInvitation"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ConsumerInvitations_RejectInvitation": {
+ "$ref": "./examples/ConsumerInvitations_RejectInvitation.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.DataShare/locations/{location}/consumerInvitations/{invitationId}": {
+ "get": {
+ "tags": [
+ "ConsumerInvitation"
+ ],
+ "summary": "Gets the invitation identified by invitationId",
+ "description": "Get an invitation",
+ "operationId": "ConsumerInvitations_Get",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "description": "Location of the invitation",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "invitationId",
+ "in": "path",
+ "description": "An invitation id",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ConsumerInvitation"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ConsumerInvitations_Get": {
+ "$ref": "./examples/ConsumerInvitations_Get.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.DataShare/ListInvitations": {
+ "get": {
+ "tags": [
+ "ConsumerInvitation"
+ ],
+ "summary": "List the invitations",
+ "description": "Lists invitations",
+ "operationId": "ConsumerInvitations_ListInvitations",
+ "parameters": [
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "The continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ConsumerInvitationList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ConsumerInvitations_ListInvitations": {
+ "$ref": "./examples/ConsumerInvitations_ListInvitations.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/dataSets/{dataSetName}": {
+ "get": {
+ "tags": [
+ "DataSet"
+ ],
+ "summary": "Get DataSet in a share.",
+ "description": "Get a DataSet in a share",
+ "operationId": "DataSets_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "dataSetName",
+ "in": "path",
+ "description": "The name of the dataSet.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DataSet"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DataSets_Get": {
+ "$ref": "./examples/DataSets_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "DataSet"
+ ],
+ "summary": "Adds a new data set to an existing share or updates it if existing.",
+ "description": "Create a DataSet ",
+ "operationId": "DataSets_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share to add the data set to.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "dataSetName",
+ "in": "path",
+ "description": "The name of the dataSet.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "dataSet",
+ "in": "body",
+ "description": "The new data set information.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DataSet"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DataSet"
+ }
+ },
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DataSet"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DataSets_Create": {
+ "$ref": "./examples/DataSets_Create.json"
+ },
+ "DataSets_KustoCluster_Create": {
+ "$ref": "./examples/DataSets_KustoCluster_Create.json"
+ },
+ "DataSets_KustoDatabase_Create": {
+ "$ref": "./examples/DataSets_KustoDatabase_Create.json"
+ },
+ "DataSets_SqlDWTable_Create": {
+ "$ref": "./examples/DataSets_SqlDWTable_Create.json"
+ },
+ "DataSets_SqlDBTable_Create": {
+ "$ref": "./examples/DataSets_SqlDBTable_Create.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "DataSet"
+ ],
+ "summary": "Delete DataSet in a share.",
+ "description": "Delete a DataSet in a share",
+ "operationId": "DataSets_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "dataSetName",
+ "in": "path",
+ "description": "The name of the dataSet.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "DataSets_Delete": {
+ "$ref": "./examples/DataSets_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/dataSets": {
+ "get": {
+ "tags": [
+ "DataSet"
+ ],
+ "summary": "List DataSets in a share.",
+ "description": "List DataSets in a share",
+ "operationId": "DataSets_ListByShare",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DataSetList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "DataSets_ListByShare": {
+ "$ref": "./examples/DataSets_ListByShare.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/dataSetMappings/{dataSetMappingName}": {
+ "get": {
+ "tags": [
+ "DataSetMapping"
+ ],
+ "summary": "Get DataSetMapping in a shareSubscription.",
+ "description": "Get a DataSetMapping in a shareSubscription",
+ "operationId": "DataSetMappings_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the shareSubscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "dataSetMappingName",
+ "in": "path",
+ "description": "The name of the dataSetMapping.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DataSetMappings_Get": {
+ "$ref": "./examples/DataSetMappings_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "DataSetMapping"
+ ],
+ "summary": "Maps a source data set in the source share to a sink data set in the share subscription.\r\nEnables copying the data set from source to destination.",
+ "description": "Create a DataSetMapping ",
+ "operationId": "DataSetMappings_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the share subscription which will hold the data set sink.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "dataSetMappingName",
+ "in": "path",
+ "description": "The name of the data set mapping to be created.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "dataSetMapping",
+ "in": "body",
+ "description": "Destination data set configuration details.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ },
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DataSetMappings_Create": {
+ "$ref": "./examples/DataSetMappings_Create.json"
+ },
+ "DataSetMappings_SqlDW_Create": {
+ "$ref": "./examples/DataSetMappings_SqlDW_Create.json"
+ },
+ "DataSetMappings_SqlDB_Create": {
+ "$ref": "./examples/DataSetMappings_SqlDB_Create.json"
+ },
+ "DataSetMappings_SqlDWDataSetToAdlsGen2File_Create": {
+ "$ref": "./examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "DataSetMapping"
+ ],
+ "summary": "Delete DataSetMapping in a shareSubscription.",
+ "description": "Delete a DataSetMapping in a shareSubscription",
+ "operationId": "DataSetMappings_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the shareSubscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "dataSetMappingName",
+ "in": "path",
+ "description": "The name of the dataSetMapping.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DataSetMappings_Delete": {
+ "$ref": "./examples/DataSetMappings_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/dataSetMappings": {
+ "get": {
+ "tags": [
+ "DataSetMapping"
+ ],
+ "summary": "List DataSetMappings in a share subscription.",
+ "description": "List DataSetMappings in a share subscription",
+ "operationId": "DataSetMappings_ListByShareSubscription",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the share subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DataSetMappingList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "DataSetMappings_ListByShareSubscription": {
+ "$ref": "./examples/DataSetMappings_ListByShareSubscription.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/invitations/{invitationName}": {
+ "get": {
+ "tags": [
+ "Invitation"
+ ],
+ "summary": "Get Invitation in a share.",
+ "description": "Get an invitation in a share",
+ "operationId": "Invitations_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "invitationName",
+ "in": "path",
+ "description": "The name of the invitation.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Invitation"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Invitations_Get": {
+ "$ref": "./examples/Invitations_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Invitation"
+ ],
+ "summary": "Sends a new invitation to a recipient to access a share.",
+ "description": "Create an invitation ",
+ "operationId": "Invitations_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share to send the invitation for.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "invitationName",
+ "in": "path",
+ "description": "The name of the invitation.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "invitation",
+ "in": "body",
+ "description": "Invitation details.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Invitation"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Invitation"
+ }
+ },
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Invitation"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Invitations_Create": {
+ "$ref": "./examples/Invitations_Create.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Invitation"
+ ],
+ "summary": "Delete Invitation in a share.",
+ "description": "Delete an invitation in a share",
+ "operationId": "Invitations_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "invitationName",
+ "in": "path",
+ "description": "The name of the invitation.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Invitations_Delete": {
+ "$ref": "./examples/Invitations_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/invitations": {
+ "get": {
+ "tags": [
+ "Invitation"
+ ],
+ "summary": "List all Invitations in a share.",
+ "description": "List invitations in a share",
+ "operationId": "Invitations_ListByShare",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "The continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/InvitationList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Invitations_ListByShare": {
+ "$ref": "./examples/Invitations_ListByShare.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.DataShare/operations": {
+ "get": {
+ "tags": [
+ "Operation"
+ ],
+ "summary": "Lists the available operations",
+ "description": "List of available operations",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/OperationList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Operations_List": {
+ "$ref": "./examples/Operations_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}": {
+ "get": {
+ "tags": [
+ "Share"
+ ],
+ "summary": "Get a specified share",
+ "description": "Get a share ",
+ "operationId": "Shares_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share to retrieve.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Share"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Shares_Get": {
+ "$ref": "./examples/Shares_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Share"
+ ],
+ "summary": "Create a share in the given account.",
+ "description": "Create a share ",
+ "operationId": "Shares_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "share",
+ "in": "body",
+ "description": "The share payload",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Share"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Share"
+ }
+ },
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Share"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Shares_Create": {
+ "$ref": "./examples/Shares_Create.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Share"
+ ],
+ "summary": "Deletes a share",
+ "description": "Delete a share ",
+ "operationId": "Shares_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/OperationResponse"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Shares_Delete": {
+ "$ref": "./examples/Shares_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares": {
+ "get": {
+ "tags": [
+ "Share"
+ ],
+ "summary": "List of available shares under an account.",
+ "description": "List shares in an account",
+ "operationId": "Shares_ListByAccount",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation Token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ShareList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Shares_ListByAccount": {
+ "$ref": "./examples/Shares_ListByAccount.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/listSynchronizations": {
+ "post": {
+ "tags": [
+ "Share"
+ ],
+ "summary": "List Synchronizations in a share",
+ "description": "List synchronizations of a share",
+ "operationId": "Shares_ListSynchronizations",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ShareSynchronizationList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Shares_ListSynchronizations": {
+ "$ref": "./examples/Shares_ListSynchronizations.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/listSynchronizationDetails": {
+ "post": {
+ "tags": [
+ "Share"
+ ],
+ "summary": "List data set level details for a share synchronization",
+ "description": "List synchronization details",
+ "operationId": "Shares_ListSynchronizationDetails",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "shareSynchronization",
+ "in": "body",
+ "description": "Share Synchronization payload.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ShareSynchronization"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/SynchronizationDetailsList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Shares_ListSynchronizationDetails": {
+ "$ref": "./examples/Shares_ListSynchronizationDetails.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions/{providerShareSubscriptionId}": {
+ "get": {
+ "tags": [
+ "Share"
+ ],
+ "summary": "Get share subscription in a provider share.",
+ "description": "Get share subscription in a provider share",
+ "operationId": "ProviderShareSubscriptions_GetByShare",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "providerShareSubscriptionId",
+ "in": "path",
+ "description": "To locate shareSubscription",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ProviderShareSubscription"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ProviderShareSubscriptions_GetByShare": {
+ "$ref": "./examples/ProviderShareSubscriptions_GetByShare.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions": {
+ "get": {
+ "tags": [
+ "Share"
+ ],
+ "summary": "List of available share subscriptions to a provider share.",
+ "description": "List share subscriptions in a provider share",
+ "operationId": "ProviderShareSubscriptions_ListByShare",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation Token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ProviderShareSubscriptionList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ProviderShareSubscriptions_ListByShare": {
+ "$ref": "./examples/ProviderShareSubscriptions_ListByShare.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions/{providerShareSubscriptionId}/revoke": {
+ "post": {
+ "tags": [
+ "Share"
+ ],
+ "summary": "Revoke share subscription in a provider share.",
+ "description": "Revoke share subscription in a provider share",
+ "operationId": "ProviderShareSubscriptions_Revoke",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "providerShareSubscriptionId",
+ "in": "path",
+ "description": "To locate shareSubscription",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ProviderShareSubscription"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/ProviderShareSubscription"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "ProviderShareSubscriptions_Revoke": {
+ "$ref": "./examples/ProviderShareSubscriptions_Revoke.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions/{providerShareSubscriptionId}/reinstate": {
+ "post": {
+ "tags": [
+ "Share"
+ ],
+ "summary": "Reinstate share subscription in a provider share.",
+ "description": "Reinstate share subscription in a provider share",
+ "operationId": "ProviderShareSubscriptions_Reinstate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "providerShareSubscriptionId",
+ "in": "path",
+ "description": "To locate shareSubscription",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ProviderShareSubscription"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ProviderShareSubscriptions_Reinstate": {
+ "$ref": "./examples/ProviderShareSubscriptions_Reinstate.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}": {
+ "get": {
+ "tags": [
+ "ShareSubscription"
+ ],
+ "summary": "Get shareSubscription in an account.",
+ "description": "Get a shareSubscription in an account",
+ "operationId": "ShareSubscriptions_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the shareSubscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ShareSubscription"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ShareSubscriptions_Get": {
+ "$ref": "./examples/ShareSubscriptions_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ShareSubscription"
+ ],
+ "summary": "Create shareSubscription in an account.",
+ "description": "Create a shareSubscription in an account",
+ "operationId": "ShareSubscriptions_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the shareSubscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "shareSubscription",
+ "in": "body",
+ "description": "create parameters for shareSubscription",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ShareSubscription"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ShareSubscription"
+ }
+ },
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ShareSubscription"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ShareSubscriptions_Create": {
+ "$ref": "./examples/ShareSubscriptions_Create.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ShareSubscription"
+ ],
+ "summary": "Delete shareSubscription in an account.",
+ "description": "Delete a shareSubscription in an account",
+ "operationId": "ShareSubscriptions_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the shareSubscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/OperationResponse"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "ShareSubscriptions_Delete": {
+ "$ref": "./examples/ShareSubscriptions_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions": {
+ "get": {
+ "tags": [
+ "ShareSubscription"
+ ],
+ "summary": "List of available share subscriptions under an account.",
+ "description": "List share subscriptions in an account",
+ "operationId": "ShareSubscriptions_ListByAccount",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation Token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ShareSubscriptionList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ShareSubscriptions_ListByAccount": {
+ "$ref": "./examples/ShareSubscriptions_ListByAccount.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/ConsumerSourceDataSets": {
+ "get": {
+ "tags": [
+ "ShareSubscription"
+ ],
+ "summary": "Get source dataSets of a shareSubscription.",
+ "description": "Get source dataSets of a shareSubscription",
+ "operationId": "ConsumerSourceDataSets_ListByShareSubscription",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the shareSubscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ConsumerSourceDataSetList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ConsumerSourceDataSets_ListByShareSubscription": {
+ "$ref": "./examples/ConsumerSourceDataSets_ListByShareSubscription.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/listSourceShareSynchronizationSettings": {
+ "post": {
+ "tags": [
+ "ShareSubscription"
+ ],
+ "summary": "Get source share synchronization settings for a shareSubscription.",
+ "description": "Get synchronization settings set on a share",
+ "operationId": "ShareSubscriptions_ListSourceShareSynchronizationSettings",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the shareSubscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/SourceShareSynchronizationSettingList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ShareSubscriptions_ListSourceShareSynchronizationSettings": {
+ "$ref": "./examples/ShareSubscriptions_ListSourceShareSynchronizationSettings.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/listSynchronizations": {
+ "post": {
+ "tags": [
+ "ShareSubscription"
+ ],
+ "summary": "List Synchronizations in a share subscription.",
+ "description": "List synchronizations of a share subscription",
+ "operationId": "ShareSubscriptions_ListSynchronizations",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the share subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ShareSubscriptionSynchronizationList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ShareSubscriptions_ListSynchronizations": {
+ "$ref": "./examples/ShareSubscriptions_ListSynchronizations.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/listSynchronizationDetails": {
+ "post": {
+ "tags": [
+ "ShareSubscription"
+ ],
+ "summary": "List data set level details for a share subscription synchronization",
+ "description": "List synchronization details",
+ "operationId": "ShareSubscriptions_ListSynchronizationDetails",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the share subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "shareSubscriptionSynchronization",
+ "in": "body",
+ "description": "Share Subscription Synchronization payload.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ShareSubscriptionSynchronization"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/SynchronizationDetailsList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ShareSubscriptions_ListSynchronizationDetails": {
+ "$ref": "./examples/ShareSubscriptions_ListSynchronizationDetails.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/Synchronize": {
+ "post": {
+ "tags": [
+ "ShareSubscription"
+ ],
+ "summary": "Initiate an asynchronous data share job",
+ "description": "Initiate a copy",
+ "operationId": "ShareSubscriptions_Synchronize",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of share subscription",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "synchronize",
+ "in": "body",
+ "description": "Synchronize payload",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Synchronize"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ShareSubscriptionSynchronization"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/ShareSubscriptionSynchronization"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "ShareSubscriptions_Synchronize": {
+ "$ref": "./examples/ShareSubscriptions_Synchronize.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/cancelSynchronization": {
+ "post": {
+ "tags": [
+ "ShareSubscription"
+ ],
+ "summary": "Request cancellation of a data share snapshot",
+ "description": "Request to cancel a synchronization.",
+ "operationId": "ShareSubscriptions_CancelSynchronization",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the shareSubscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "shareSubscriptionSynchronization",
+ "in": "body",
+ "description": "Share Subscription Synchronization payload.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ShareSubscriptionSynchronization"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ShareSubscriptionSynchronization"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/ShareSubscriptionSynchronization"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "ShareSubscriptions_CancelSynchronization": {
+ "$ref": "./examples/ShareSubscriptions_CancelSynchronization.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/synchronizationSettings/{synchronizationSettingName}": {
+ "get": {
+ "tags": [
+ "SynchronizationSetting"
+ ],
+ "summary": "Get synchronizationSetting in a share.",
+ "description": "Get a synchronizationSetting in a share",
+ "operationId": "SynchronizationSettings_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "synchronizationSettingName",
+ "in": "path",
+ "description": "The name of the synchronizationSetting.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/SynchronizationSetting"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "SynchronizationSettings_Get": {
+ "$ref": "./examples/SynchronizationSettings_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "SynchronizationSetting"
+ ],
+ "summary": "Adds a new synchronization setting to an existing share or updates it if existing.",
+ "description": "Create or update a synchronizationSetting ",
+ "operationId": "SynchronizationSettings_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share to add the synchronization setting to.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "synchronizationSettingName",
+ "in": "path",
+ "description": "The name of the synchronizationSetting.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "synchronizationSetting",
+ "in": "body",
+ "description": "The new synchronization setting information.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SynchronizationSetting"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/SynchronizationSetting"
+ }
+ },
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/SynchronizationSetting"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "SynchronizationSettings_Create": {
+ "$ref": "./examples/SynchronizationSettings_Create.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "SynchronizationSetting"
+ ],
+ "summary": "Delete synchronizationSetting in a share.",
+ "description": "Delete a synchronizationSetting in a share",
+ "operationId": "SynchronizationSettings_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "synchronizationSettingName",
+ "in": "path",
+ "description": "The name of the synchronizationSetting .",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/OperationResponse"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "SynchronizationSettings_Delete": {
+ "$ref": "./examples/SynchronizationSettings_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/synchronizationSettings": {
+ "get": {
+ "tags": [
+ "SynchronizationSetting"
+ ],
+ "summary": "List synchronizationSettings in a share.",
+ "description": "List synchronizationSettings in a share",
+ "operationId": "SynchronizationSettings_ListByShare",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/SynchronizationSettingList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "SynchronizationSettings_ListByShare": {
+ "$ref": "./examples/SynchronizationSettings_ListByShare.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/triggers/{triggerName}": {
+ "get": {
+ "tags": [
+ "Trigger"
+ ],
+ "summary": "Get Trigger in a shareSubscription.",
+ "description": "Get a Trigger in a shareSubscription",
+ "operationId": "Triggers_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the shareSubscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "triggerName",
+ "in": "path",
+ "description": "The name of the trigger.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Trigger"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Triggers_Get": {
+ "$ref": "./examples/Triggers_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Trigger"
+ ],
+ "summary": "This method creates a trigger for a share subscription",
+ "description": "Create a Trigger ",
+ "operationId": "Triggers_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the share subscription which will hold the data set sink.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "triggerName",
+ "in": "path",
+ "description": "The name of the trigger.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "trigger",
+ "in": "body",
+ "description": "Trigger details.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Trigger"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Trigger"
+ }
+ },
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Trigger"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Triggers_Create": {
+ "$ref": "./examples/Triggers_Create.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Trigger"
+ ],
+ "summary": "Delete Trigger in a shareSubscription.",
+ "description": "Delete a Trigger in a shareSubscription",
+ "operationId": "Triggers_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the shareSubscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "triggerName",
+ "in": "path",
+ "description": "The name of the trigger.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/OperationResponse"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Triggers_Delete": {
+ "$ref": "./examples/Triggers_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/triggers": {
+ "get": {
+ "tags": [
+ "Trigger"
+ ],
+ "summary": "List Triggers in a share subscription.",
+ "description": "List Triggers in a share subscription",
+ "operationId": "Triggers_ListByShareSubscription",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the share subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/TriggerList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Triggers_ListByShareSubscription": {
+ "$ref": "./examples/Triggers_ListByShareSubscription.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Account": {
+ "description": "An account data transfer object.",
+ "required": [
+ "identity"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DefaultDto"
+ }
+ ],
+ "properties": {
+ "identity": {
+ "$ref": "#/definitions/Identity",
+ "description": "Identity Info on the Account"
+ },
+ "properties": {
+ "$ref": "#/definitions/AccountProperties",
+ "description": "Properties on the account",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "Identity": {
+ "description": "Identity of resource",
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "description": "service principal Id",
+ "type": "string",
+ "readOnly": true
+ },
+ "tenantId": {
+ "description": "Tenant Id",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Identity Type",
+ "enum": [
+ "SystemAssigned"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "type",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "AccountProperties": {
+ "description": "Account property bag.",
+ "type": "object",
+ "properties": {
+ "createdAt": {
+ "format": "date-time",
+ "description": "Time at which the account was created.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the Account",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
+ "userEmail": {
+ "description": "Email of the user who created the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "userName": {
+ "description": "Name of the user who created the resource",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "DataShareError": {
+ "description": "The data share error model.",
+ "required": [
+ "error"
+ ],
+ "type": "object",
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/DataShareErrorInfo",
+ "description": "The data share error body"
+ }
+ }
+ },
+ "DataShareErrorInfo": {
+ "description": "The data share error body model.",
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Code of the error",
+ "type": "string"
+ },
+ "details": {
+ "description": "Nested details of the error model",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataShareErrorInfo"
+ }
+ },
+ "message": {
+ "description": "Message of the error",
+ "type": "string"
+ },
+ "target": {
+ "description": "Target of the error",
+ "type": "string"
+ }
+ }
+ },
+ "AccountUpdateParameters": {
+ "description": "Update parameters for accounts",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "Tags on the azure resource.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "OperationResponse": {
+ "description": "Response for long running operation",
+ "required": [
+ "status"
+ ],
+ "type": "object",
+ "properties": {
+ "endTime": {
+ "format": "date-time",
+ "description": "start time",
+ "type": "string"
+ },
+ "error": {
+ "$ref": "#/definitions/DataShareErrorInfo",
+ "description": "The error property when status is failed."
+ },
+ "startTime": {
+ "format": "date-time",
+ "description": "start time",
+ "type": "string"
+ },
+ "status": {
+ "description": "Operation state of the long running operation.",
+ "enum": [
+ "Accepted",
+ "InProgress",
+ "TransientFailure",
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "status",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "AccountList": {
+ "description": "List response for get Accounts.",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Account"
+ }
+ }
+ }
+ },
+ "ConsumerInvitation": {
+ "description": "A consumer Invitation data transfer object.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyDto"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ConsumerInvitationProperties",
+ "description": "Properties on the account",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ConsumerInvitationProperties": {
+ "description": "Properties of consumer invitation",
+ "required": [
+ "invitationId"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetCount": {
+ "format": "int32",
+ "description": "Number of data sets in a share",
+ "type": "integer",
+ "readOnly": true
+ },
+ "description": {
+ "description": "Description shared when the invitation was created",
+ "type": "string",
+ "readOnly": true
+ },
+ "invitationId": {
+ "description": "Unique id of the invitation.",
+ "type": "string"
+ },
+ "invitationStatus": {
+ "description": "The status of the invitation.",
+ "enum": [
+ "Pending",
+ "Accepted",
+ "Rejected",
+ "Withdrawn"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "invitationStatus",
+ "modelAsString": true
+ }
+ },
+ "location": {
+ "description": "invitation location",
+ "type": "string",
+ "readOnly": true
+ },
+ "providerEmail": {
+ "description": "Email of the provider who created the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "providerName": {
+ "description": "Name of the provider who created the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "providerTenantName": {
+ "description": "Tenant name of the provider who created the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "respondedAt": {
+ "format": "date-time",
+ "description": "The time the recipient responded to the invitation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "sentAt": {
+ "format": "date-time",
+ "description": "Gets the time at which the invitation was sent.",
+ "type": "string",
+ "readOnly": true
+ },
+ "shareName": {
+ "description": "Gets the source share Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "termsOfUse": {
+ "description": "Terms of use shared when the invitation was created",
+ "type": "string",
+ "readOnly": true
+ },
+ "userEmail": {
+ "description": "Email of the user who created the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "userName": {
+ "description": "Name of the user who created the resource",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ConsumerInvitationList": {
+ "description": "List response for get InvitationList",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConsumerInvitation"
+ }
+ }
+ }
+ },
+ "DataSet": {
+ "description": "A DataSet data transfer object.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyDto"
+ }
+ ],
+ "properties": {
+ "kind": {
+ "description": "Kind of data set.",
+ "enum": [
+ "Blob",
+ "Container",
+ "BlobFolder",
+ "AdlsGen2FileSystem",
+ "AdlsGen2Folder",
+ "AdlsGen2File",
+ "AdlsGen1Folder",
+ "AdlsGen1File",
+ "KustoCluster",
+ "KustoDatabase",
+ "SqlDBTable",
+ "SqlDWTable"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "kind",
+ "modelAsString": true
+ }
+ }
+ },
+ "discriminator": "kind"
+ },
+ "DataSetList": {
+ "description": "List response for get DataSets",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataSet"
+ }
+ }
+ }
+ },
+ "DataSetMapping": {
+ "description": "A data set mapping data transfer object.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyDto"
+ }
+ ],
+ "properties": {
+ "kind": {
+ "description": "Kind of data set mapping.",
+ "enum": [
+ "Blob",
+ "Container",
+ "BlobFolder",
+ "AdlsGen2FileSystem",
+ "AdlsGen2Folder",
+ "AdlsGen2File",
+ "KustoCluster",
+ "KustoDatabase",
+ "SqlDBTable",
+ "SqlDWTable"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "kind",
+ "modelAsString": true
+ }
+ }
+ },
+ "discriminator": "kind"
+ },
+ "DataSetMappingList": {
+ "description": "List response for get DataSetMappings",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ }
+ }
+ },
+ "Invitation": {
+ "description": "A Invitation data transfer object.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyDto"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/InvitationProperties",
+ "description": "Properties on the Invitation",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "InvitationProperties": {
+ "description": "Invitation property bag.",
+ "type": "object",
+ "properties": {
+ "invitationId": {
+ "description": "unique invitation id",
+ "type": "string",
+ "readOnly": true
+ },
+ "invitationStatus": {
+ "description": "The status of the invitation.",
+ "enum": [
+ "Pending",
+ "Accepted",
+ "Rejected",
+ "Withdrawn"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "invitationStatus",
+ "modelAsString": true
+ }
+ },
+ "respondedAt": {
+ "format": "date-time",
+ "description": "The time the recipient responded to the invitation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "sentAt": {
+ "format": "date-time",
+ "description": "Gets the time at which the invitation was sent.",
+ "type": "string",
+ "readOnly": true
+ },
+ "targetActiveDirectoryId": {
+ "description": "The target Azure AD Id. Can't be combined with email.",
+ "type": "string"
+ },
+ "targetEmail": {
+ "description": "The email the invitation is directed to.",
+ "type": "string"
+ },
+ "targetObjectId": {
+ "description": "The target user or application Id that invitation is being sent to.\r\nMust be specified along TargetActiveDirectoryId. This enables sending\r\ninvitations to specific users or applications in an AD tenant.",
+ "type": "string"
+ },
+ "userEmail": {
+ "description": "Email of the user who created the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "userName": {
+ "description": "Name of the user who created the resource",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "InvitationList": {
+ "description": "List response for get InvitationList",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invitation"
+ }
+ }
+ }
+ },
+ "OperationList": {
+ "description": "List response for get operations.",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OperationModel"
+ }
+ }
+ }
+ },
+ "OperationModel": {
+ "description": "The response model for get operations",
+ "type": "object",
+ "properties": {
+ "display": {
+ "$ref": "#/definitions/OperationModelProperties",
+ "description": "Properties on the operation"
+ },
+ "name": {
+ "description": "Operation name for display purposes",
+ "type": "string"
+ },
+ "origin": {
+ "description": "origin of the operation",
+ "type": "string"
+ },
+ "properties": {
+ "$ref": "#/definitions/OperationMetaPropertyInfo",
+ "description": "properties for the operation meta info",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "OperationModelProperties": {
+ "description": "Properties on operations",
+ "type": "object",
+ "properties": {
+ "description": {
+ "description": "Description of the operation for display purposes",
+ "type": "string"
+ },
+ "operation": {
+ "description": "Name of the operation for display purposes",
+ "type": "string"
+ },
+ "provider": {
+ "description": "Name of the provider for display purposes",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Name of the resource type for display purposes",
+ "type": "string"
+ }
+ }
+ },
+ "OperationMetaPropertyInfo": {
+ "description": "properties on meta info",
+ "type": "object",
+ "properties": {
+ "serviceSpecification": {
+ "$ref": "#/definitions/OperationMetaServiceSpecification",
+ "description": "meta service specification"
+ }
+ }
+ },
+ "OperationMetaServiceSpecification": {
+ "description": "The operation meta service specification",
+ "type": "object",
+ "properties": {
+ "logSpecifications": {
+ "description": "log specifications for the operation",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OperationMetaLogSpecification"
+ }
+ },
+ "metricSpecifications": {
+ "description": "metric specifications for the operation",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OperationMetaMetricSpecification"
+ }
+ }
+ }
+ },
+ "OperationMetaMetricSpecification": {
+ "description": "metric specifications for the operation",
+ "type": "object",
+ "properties": {
+ "aggregationType": {
+ "description": "aggregation type of metric",
+ "type": "string"
+ },
+ "dimensions": {
+ "description": "properties for dimension",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DimensionProperties"
+ }
+ },
+ "displayDescription": {
+ "description": "description of the metric",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "localized name of the metric",
+ "type": "string"
+ },
+ "enableRegionalMdmAccount": {
+ "description": "enable regional mdm account",
+ "type": "string"
+ },
+ "internalMetricName": {
+ "description": "internal metric name",
+ "type": "string"
+ },
+ "name": {
+ "description": "name of the metric",
+ "type": "string"
+ },
+ "resourceIdDimensionNameOverride": {
+ "description": "dimension name use to replace resource id if specified",
+ "type": "string"
+ },
+ "supportedAggregationTypes": {
+ "description": "supported aggregation types",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "supportedTimeGrainTypes": {
+ "description": "supported time grain types",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "unit": {
+ "description": "units for the metric",
+ "type": "string"
+ }
+ }
+ },
+ "OperationMetaLogSpecification": {
+ "description": "log specifications for operation api",
+ "type": "object",
+ "properties": {
+ "blobDuration": {
+ "description": "blob duration of the log",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "localized name of the log category",
+ "type": "string"
+ },
+ "name": {
+ "description": "name of the log category",
+ "type": "string"
+ }
+ }
+ },
+ "DimensionProperties": {
+ "description": "properties for dimension",
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "description": "localized display name of the dimension to customer",
+ "type": "string"
+ },
+ "name": {
+ "description": "dimension name",
+ "type": "string"
+ }
+ }
+ },
+ "Share": {
+ "description": "A share data transfer object.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyDto"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ShareProperties",
+ "description": "Properties on the share",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ShareProperties": {
+ "description": "Share property bag.",
+ "type": "object",
+ "properties": {
+ "createdAt": {
+ "format": "date-time",
+ "description": "Time at which the share was created.",
+ "type": "string",
+ "readOnly": true
+ },
+ "description": {
+ "description": "Share description.",
+ "type": "string"
+ },
+ "provisioningState": {
+ "description": "Gets or sets the provisioning state",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
+ "shareKind": {
+ "description": "Share kind.",
+ "enum": [
+ "CopyBased",
+ "InPlace"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "shareKind",
+ "modelAsString": true
+ }
+ },
+ "terms": {
+ "description": "Share terms.",
+ "type": "string"
+ },
+ "userEmail": {
+ "description": "Email of the user who created the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "userName": {
+ "description": "Name of the user who created the resource",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ShareList": {
+ "description": "List response for get Shares.",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Share"
+ }
+ }
+ }
+ },
+ "ShareSynchronizationList": {
+ "description": "List response for get ShareSynchronization.",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ShareSynchronization"
+ }
+ }
+ }
+ },
+ "ShareSynchronization": {
+ "description": "A ShareSynchronization data transfer object.",
+ "type": "object",
+ "properties": {
+ "consumerEmail": {
+ "description": "Email of the user who created the synchronization",
+ "type": "string"
+ },
+ "consumerName": {
+ "description": "Name of the user who created the synchronization",
+ "type": "string"
+ },
+ "consumerTenantName": {
+ "description": "Tenant name of the consumer who created the synchronization",
+ "type": "string"
+ },
+ "durationMs": {
+ "format": "int32",
+ "description": "synchronization duration",
+ "type": "integer"
+ },
+ "endTime": {
+ "format": "date-time",
+ "description": "End time of synchronization",
+ "type": "string"
+ },
+ "message": {
+ "description": "message of synchronization",
+ "type": "string"
+ },
+ "startTime": {
+ "format": "date-time",
+ "description": "start time of synchronization",
+ "type": "string"
+ },
+ "status": {
+ "description": "Raw Status",
+ "type": "string"
+ },
+ "synchronizationId": {
+ "description": "Synchronization id",
+ "type": "string"
+ },
+ "synchronizationMode": {
+ "description": "Synchronization mode",
+ "enum": [
+ "Incremental",
+ "FullSync"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "synchronizationMode",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "SynchronizationDetailsList": {
+ "description": "details of synchronization",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SynchronizationDetails"
+ }
+ }
+ }
+ },
+ "SynchronizationDetails": {
+ "description": "Synchronization details at data set level",
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "Id of data set",
+ "type": "string",
+ "readOnly": true
+ },
+ "dataSetType": {
+ "description": "Type of the data set",
+ "enum": [
+ "Blob",
+ "Container",
+ "BlobFolder",
+ "AdlsGen2FileSystem",
+ "AdlsGen2Folder",
+ "AdlsGen2File",
+ "AdlsGen1Folder",
+ "AdlsGen1File",
+ "KustoCluster",
+ "KustoDatabase",
+ "SqlDBTable",
+ "SqlDWTable"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "dataSetType",
+ "modelAsString": true
+ }
+ },
+ "durationMs": {
+ "format": "int32",
+ "description": "Duration of data set level copy",
+ "type": "integer",
+ "readOnly": true
+ },
+ "endTime": {
+ "format": "date-time",
+ "description": "End time of data set level copy",
+ "type": "string",
+ "readOnly": true
+ },
+ "filesRead": {
+ "format": "int64",
+ "description": "The number of files read from the source data set",
+ "type": "integer",
+ "readOnly": true
+ },
+ "filesWritten": {
+ "format": "int64",
+ "description": "The number of files written into the sink data set",
+ "type": "integer",
+ "readOnly": true
+ },
+ "message": {
+ "description": "Error message if any",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Name of the data set",
+ "type": "string",
+ "readOnly": true
+ },
+ "rowsCopied": {
+ "format": "int64",
+ "description": "The number of files copied into the sink data set",
+ "type": "integer",
+ "readOnly": true
+ },
+ "rowsRead": {
+ "format": "int64",
+ "description": "The number of rows read from the source data set.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "sizeRead": {
+ "format": "int64",
+ "description": "The size of the data read from the source data set in bytes",
+ "type": "integer",
+ "readOnly": true
+ },
+ "sizeWritten": {
+ "format": "int64",
+ "description": "The size of the data written into the sink data set in bytes",
+ "type": "integer",
+ "readOnly": true
+ },
+ "startTime": {
+ "format": "date-time",
+ "description": "Start time of data set level copy",
+ "type": "string",
+ "readOnly": true
+ },
+ "status": {
+ "description": "Raw Status",
+ "type": "string",
+ "readOnly": true
+ },
+ "vCore": {
+ "format": "int64",
+ "description": "The vCore units consumed for the data set synchronization",
+ "type": "integer",
+ "readOnly": true
+ }
+ }
+ },
+ "ProviderShareSubscription": {
+ "description": "A provider side share subscription data transfer object.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyDto"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ProviderShareSubscriptionProperties",
+ "description": "properties of providerShareSubscription",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ProviderShareSubscriptionProperties": {
+ "description": "Provider share subscription properties",
+ "type": "object",
+ "properties": {
+ "consumerEmail": {
+ "description": "Email of the consumer who created the share subscription",
+ "type": "string",
+ "readOnly": true
+ },
+ "consumerName": {
+ "description": "Name of the consumer who created the share subscription",
+ "type": "string",
+ "readOnly": true
+ },
+ "consumerTenantName": {
+ "description": "Tenant name of the consumer who created the share subscription",
+ "type": "string",
+ "readOnly": true
+ },
+ "createdAt": {
+ "format": "date-time",
+ "description": "created at",
+ "type": "string",
+ "readOnly": true
+ },
+ "providerName": {
+ "description": "Name of the provider who created the share",
+ "type": "string",
+ "readOnly": true
+ },
+ "sharedAt": {
+ "format": "date-time",
+ "description": "Shared at",
+ "type": "string",
+ "readOnly": true
+ },
+ "shareSubscriptionObjectId": {
+ "description": "share Subscription Object Id",
+ "type": "string",
+ "readOnly": true
+ },
+ "shareSubscriptionStatus": {
+ "description": "Gets the status of share subscription",
+ "enum": [
+ "Active",
+ "Revoked",
+ "SourceDeleted",
+ "Revoking"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "shareSubscriptionStatus",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "ProviderShareSubscriptionList": {
+ "description": "List response for get ShareSubscription.",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProviderShareSubscription"
+ }
+ }
+ }
+ },
+ "ShareSubscription": {
+ "description": "A share subscription data transfer object.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyDto"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ShareSubscriptionProperties",
+ "description": "Properties on the share subscription",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ShareSubscriptionProperties": {
+ "description": "Share subscription property bag.",
+ "required": [
+ "invitationId",
+ "sourceShareLocation"
+ ],
+ "type": "object",
+ "properties": {
+ "createdAt": {
+ "format": "date-time",
+ "description": "Time at which the share subscription was created.",
+ "type": "string",
+ "readOnly": true
+ },
+ "invitationId": {
+ "description": "The invitation id.",
+ "type": "string"
+ },
+ "providerEmail": {
+ "description": "Email of the provider who created the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "providerName": {
+ "description": "Name of the provider who created the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "providerTenantName": {
+ "description": "Tenant name of the provider who created the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the share subscription",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
+ "shareDescription": {
+ "description": "Description of share",
+ "type": "string",
+ "readOnly": true
+ },
+ "shareKind": {
+ "description": "Kind of share",
+ "enum": [
+ "CopyBased",
+ "InPlace"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "shareKind",
+ "modelAsString": true
+ }
+ },
+ "shareName": {
+ "description": "Name of the share",
+ "type": "string",
+ "readOnly": true
+ },
+ "shareSubscriptionStatus": {
+ "description": "Gets the current status of share subscription.",
+ "enum": [
+ "Active",
+ "Revoked",
+ "SourceDeleted",
+ "Revoking"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "shareSubscriptionStatus",
+ "modelAsString": true
+ }
+ },
+ "shareTerms": {
+ "description": "Terms of a share",
+ "type": "string",
+ "readOnly": true
+ },
+ "sourceShareLocation": {
+ "description": "Source share location.",
+ "type": "string"
+ },
+ "userEmail": {
+ "description": "Email of the user who created the resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "userName": {
+ "description": "Name of the user who created the resource",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ShareSubscriptionList": {
+ "description": "List response for get ShareSubscription.",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ShareSubscription"
+ }
+ }
+ }
+ },
+ "ConsumerSourceDataSetList": {
+ "description": "A consumer side list of source dataSets",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConsumerSourceDataSet"
+ }
+ }
+ }
+ },
+ "ConsumerSourceDataSet": {
+ "description": "A consumer side dataSet data transfer object.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyDto"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ConsumerSourceDataSetProperties",
+ "description": "source dataSet properties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ConsumerSourceDataSetProperties": {
+ "description": "Properties of consumer source dataSet",
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "DataSet Id",
+ "type": "string",
+ "readOnly": true
+ },
+ "dataSetLocation": {
+ "description": "Location of the data set.",
+ "type": "string",
+ "readOnly": true
+ },
+ "dataSetName": {
+ "description": "DataSet name",
+ "type": "string",
+ "readOnly": true
+ },
+ "dataSetPath": {
+ "description": "DataSet path",
+ "type": "string",
+ "readOnly": true
+ },
+ "dataSetType": {
+ "description": "Type of data set",
+ "enum": [
+ "Blob",
+ "Container",
+ "BlobFolder",
+ "AdlsGen2FileSystem",
+ "AdlsGen2Folder",
+ "AdlsGen2File",
+ "AdlsGen1Folder",
+ "AdlsGen1File",
+ "KustoCluster",
+ "KustoDatabase",
+ "SqlDBTable",
+ "SqlDWTable"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "dataSetType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "SourceShareSynchronizationSettingList": {
+ "description": "List response for get source share Synchronization settings",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SourceShareSynchronizationSetting"
+ }
+ }
+ }
+ },
+ "SourceShareSynchronizationSetting": {
+ "description": "A view of synchronization setting added by the provider",
+ "type": "object",
+ "properties": {
+ "kind": {
+ "description": "Kind of synchronization",
+ "enum": [
+ "ScheduleBased"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "kind",
+ "modelAsString": true
+ }
+ }
+ },
+ "discriminator": "kind"
+ },
+ "ShareSubscriptionSynchronizationList": {
+ "description": "A consumer side list of share subscription synchronizations",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ShareSubscriptionSynchronization"
+ }
+ }
+ }
+ },
+ "ShareSubscriptionSynchronization": {
+ "description": "A ShareSubscriptionSynchronization data transfer object.",
+ "required": [
+ "synchronizationId"
+ ],
+ "type": "object",
+ "properties": {
+ "durationMs": {
+ "format": "int32",
+ "description": "Synchronization duration",
+ "type": "integer",
+ "readOnly": true
+ },
+ "endTime": {
+ "format": "date-time",
+ "description": "End time of synchronization",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "message of Synchronization",
+ "type": "string",
+ "readOnly": true
+ },
+ "startTime": {
+ "format": "date-time",
+ "description": "start time of synchronization",
+ "type": "string",
+ "readOnly": true
+ },
+ "status": {
+ "description": "Raw Status",
+ "type": "string",
+ "readOnly": true
+ },
+ "synchronizationId": {
+ "description": "Synchronization id",
+ "type": "string"
+ },
+ "synchronizationMode": {
+ "description": "Synchronization Mode",
+ "enum": [
+ "Incremental",
+ "FullSync"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "synchronizationMode",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "Synchronize": {
+ "description": "Payload for the synchronizing the data.",
+ "type": "object",
+ "properties": {
+ "synchronizationMode": {
+ "description": "Mode of synchronization used in triggers and snapshot sync. Incremental by default",
+ "enum": [
+ "Incremental",
+ "FullSync"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "synchronizationMode",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "SynchronizationSetting": {
+ "description": "A Synchronization Setting data transfer object.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyDto"
+ }
+ ],
+ "properties": {
+ "kind": {
+ "description": "Kind of synchronization",
+ "enum": [
+ "ScheduleBased"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "kind",
+ "modelAsString": true
+ }
+ }
+ },
+ "discriminator": "kind"
+ },
+ "SynchronizationSettingList": {
+ "description": "List response for get Synchronization settings",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SynchronizationSetting"
+ }
+ }
+ }
+ },
+ "Trigger": {
+ "description": "A Trigger data transfer object.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyDto"
+ }
+ ],
+ "properties": {
+ "kind": {
+ "description": "Kind of synchronization",
+ "enum": [
+ "ScheduleBased"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "kind",
+ "modelAsString": true
+ }
+ }
+ },
+ "discriminator": "kind"
+ },
+ "TriggerList": {
+ "description": "List response for get triggers",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Trigger"
+ }
+ }
+ }
+ },
+ "ScheduledSynchronizationSetting": {
+ "description": "A type of synchronization setting based on schedule",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SynchronizationSetting"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ScheduledSynchronizationSettingProperties",
+ "description": "Properties of scheduled synchronization",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "ScheduleBased"
+ },
+ "ScheduledSynchronizationSettingProperties": {
+ "description": "A Scheduled synchronization setting data transfer object.",
+ "required": [
+ "recurrenceInterval",
+ "synchronizationTime"
+ ],
+ "type": "object",
+ "properties": {
+ "createdAt": {
+ "format": "date-time",
+ "description": "Time at which the synchronization setting was created.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "Gets or sets the provisioning state",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
+ "recurrenceInterval": {
+ "description": "Recurrence Interval",
+ "enum": [
+ "Hour",
+ "Day"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "recurrenceInterval",
+ "modelAsString": true
+ }
+ },
+ "synchronizationTime": {
+ "format": "date-time",
+ "description": "Synchronization time",
+ "type": "string"
+ },
+ "userName": {
+ "description": "Name of the user who created the synchronization setting.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ScheduledTrigger": {
+ "description": "A type of trigger based on schedule",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Trigger"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ScheduledTriggerProperties",
+ "description": "Properties of scheduled synchronization",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "ScheduleBased"
+ },
+ "ScheduledTriggerProperties": {
+ "description": "A Scheduled trigger data transfer object.",
+ "required": [
+ "recurrenceInterval",
+ "synchronizationTime"
+ ],
+ "type": "object",
+ "properties": {
+ "createdAt": {
+ "format": "date-time",
+ "description": "Time at which the trigger was created.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "Gets the provisioning state",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
+ "recurrenceInterval": {
+ "description": "Recurrence Interval",
+ "enum": [
+ "Hour",
+ "Day"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "recurrenceInterval",
+ "modelAsString": true
+ }
+ },
+ "synchronizationMode": {
+ "description": "Synchronization mode",
+ "enum": [
+ "Incremental",
+ "FullSync"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "synchronizationMode",
+ "modelAsString": true
+ }
+ },
+ "synchronizationTime": {
+ "format": "date-time",
+ "description": "Synchronization time",
+ "type": "string"
+ },
+ "triggerStatus": {
+ "description": "Gets the trigger state",
+ "enum": [
+ "Active",
+ "Inactive",
+ "SourceSynchronizationSettingDeleted"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "triggerStatus",
+ "modelAsString": true
+ }
+ },
+ "userName": {
+ "description": "Name of the user who created the trigger.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "BlobDataSet": {
+ "description": "An Azure storage blob data set.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/BlobProperties",
+ "description": "Blob data set properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "Blob"
+ },
+ "BlobProperties": {
+ "description": "Properties of the blob data set.",
+ "required": [
+ "containerName",
+ "filePath",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName"
+ ],
+ "type": "object",
+ "properties": {
+ "containerName": {
+ "description": "Container that has the file path.",
+ "type": "string"
+ },
+ "dataSetId": {
+ "description": "Unique id for identifying a data set resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "filePath": {
+ "description": "File path within the source data set",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account",
+ "type": "string"
+ }
+ }
+ },
+ "BlobFolderDataSet": {
+ "description": "An Azure storage blob folder data set.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/BlobFolderProperties",
+ "description": "Blob folder data set properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "BlobFolder"
+ },
+ "BlobFolderProperties": {
+ "description": "Properties of the blob folder data set.",
+ "required": [
+ "containerName",
+ "prefix",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName"
+ ],
+ "type": "object",
+ "properties": {
+ "containerName": {
+ "description": "Container that has the file path.",
+ "type": "string"
+ },
+ "dataSetId": {
+ "description": "Unique id for identifying a data set resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "prefix": {
+ "description": "Prefix for blob folder",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account",
+ "type": "string"
+ }
+ }
+ },
+ "BlobContainerDataSet": {
+ "description": "An Azure storage blob container data set.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/BlobContainerProperties",
+ "description": "Blob container data set properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "Container"
+ },
+ "BlobContainerProperties": {
+ "description": "Properties of the BLOB container data set.",
+ "required": [
+ "containerName",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName"
+ ],
+ "type": "object",
+ "properties": {
+ "containerName": {
+ "description": "BLOB Container name.",
+ "type": "string"
+ },
+ "dataSetId": {
+ "description": "Unique id for identifying a data set resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account",
+ "type": "string"
+ }
+ }
+ },
+ "ADLSGen2FileDataSet": {
+ "description": "An ADLS Gen 2 file data set.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ADLSGen2FileProperties",
+ "description": "ADLS Gen 2 file data set properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "AdlsGen2File"
+ },
+ "ADLSGen2FileProperties": {
+ "description": "Properties of the ADLS Gen2 file data set.",
+ "required": [
+ "fileSystem",
+ "filePath",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "Unique id for identifying a data set resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "filePath": {
+ "description": "File path within the file system.",
+ "type": "string"
+ },
+ "fileSystem": {
+ "description": "File system to which the file belongs.",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account",
+ "type": "string"
+ }
+ }
+ },
+ "ADLSGen2FolderDataSet": {
+ "description": "An ADLS Gen 2 folder data set.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ADLSGen2FolderProperties",
+ "description": "ADLS Gen 2 folder data set properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "AdlsGen2Folder"
+ },
+ "ADLSGen2FolderProperties": {
+ "description": "Properties of the ADLS Gen2 folder data set.",
+ "required": [
+ "fileSystem",
+ "folderPath",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "Unique id for identifying a data set resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "fileSystem": {
+ "description": "File system to which the folder belongs.",
+ "type": "string"
+ },
+ "folderPath": {
+ "description": "Folder path within the file system.",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account",
+ "type": "string"
+ }
+ }
+ },
+ "ADLSGen2FileSystemDataSet": {
+ "description": "An ADLS Gen 2 file system data set.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ADLSGen2FileSystemProperties",
+ "description": "ADLS Gen 2 file system data set properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "AdlsGen2FileSystem"
+ },
+ "ADLSGen2FileSystemProperties": {
+ "description": "Properties of the ADLS Gen2 file system data set.",
+ "required": [
+ "fileSystem",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "Unique id for identifying a data set resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "fileSystem": {
+ "description": "The file system name.",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account",
+ "type": "string"
+ }
+ }
+ },
+ "ADLSGen1FolderDataSet": {
+ "description": "An ADLS Gen 1 folder data set.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ADLSGen1FolderProperties",
+ "description": "ADLS Gen 1 folder data set properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "AdlsGen1Folder"
+ },
+ "ADLSGen1FolderProperties": {
+ "description": "Properties of the ADLS Gen1 folder data set.",
+ "required": [
+ "subscriptionId",
+ "resourceGroup",
+ "accountName",
+ "folderPath"
+ ],
+ "type": "object",
+ "properties": {
+ "accountName": {
+ "description": "The ADLS account name.",
+ "type": "string"
+ },
+ "dataSetId": {
+ "description": "Unique id for identifying a data set resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "folderPath": {
+ "description": "The folder path within the ADLS account.",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource group of ADLS account.",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of ADLS account.",
+ "type": "string"
+ }
+ }
+ },
+ "ADLSGen1FileDataSet": {
+ "description": "An ADLS Gen 1 file data set.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ADLSGen1FileProperties",
+ "description": "ADLS Gen 1 file data set properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "AdlsGen1File"
+ },
+ "ADLSGen1FileProperties": {
+ "description": "Properties of the ADLS Gen1 file data set.",
+ "required": [
+ "subscriptionId",
+ "resourceGroup",
+ "accountName",
+ "folderPath",
+ "fileName"
+ ],
+ "type": "object",
+ "properties": {
+ "accountName": {
+ "description": "The ADLS account name.",
+ "type": "string"
+ },
+ "dataSetId": {
+ "description": "Unique id for identifying a data set resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "fileName": {
+ "description": "The file name in the ADLS account.",
+ "type": "string"
+ },
+ "folderPath": {
+ "description": "The folder path within the ADLS account.",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource group of ADLS account.",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of ADLS account.",
+ "type": "string"
+ }
+ }
+ },
+ "KustoClusterDataSet": {
+ "description": "A kusto cluster data set.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/KustoClusterDataSetProperties",
+ "description": "Kusto cluster data set properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "KustoCluster"
+ },
+ "KustoClusterDataSetProperties": {
+ "description": "Properties of the kusto cluster data set.",
+ "required": [
+ "kustoClusterResourceId"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "Unique id for identifying a data set resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "kustoClusterResourceId": {
+ "description": "Resource id of the kusto cluster.",
+ "type": "string"
+ },
+ "location": {
+ "description": "Location of the kusto cluster.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the kusto cluster data set.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "KustoDatabaseDataSet": {
+ "description": "A kusto database data set.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/KustoDatabaseDataSetProperties",
+ "description": "Kusto database data set properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "KustoDatabase"
+ },
+ "KustoDatabaseDataSetProperties": {
+ "description": "Properties of the kusto database data set.",
+ "required": [
+ "kustoDatabaseResourceId"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "Unique id for identifying a data set resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "kustoDatabaseResourceId": {
+ "description": "Resource id of the kusto database.",
+ "type": "string"
+ },
+ "location": {
+ "description": "Location of the kusto cluster.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the kusto database data set.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "SqlDWTableDataSet": {
+ "description": "A SQL DW table data set.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/SqlDWTableProperties",
+ "description": "SQL DW table data set properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "SqlDWTable"
+ },
+ "SqlDWTableProperties": {
+ "description": "Properties of the SQL DW table data set.",
+ "required": [
+ "dataWarehouseName",
+ "tableName",
+ "schemaName",
+ "sqlServerResourceId"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "Unique id for identifying a data set resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "dataWarehouseName": {
+ "description": "DataWarehouse name of the source data set",
+ "type": "string"
+ },
+ "schemaName": {
+ "description": "Schema of the table. Default value is dbo.",
+ "type": "string"
+ },
+ "sqlServerResourceId": {
+ "description": "Resource id of SQL server",
+ "type": "string"
+ },
+ "tableName": {
+ "description": "SQL DW table name.",
+ "type": "string"
+ }
+ }
+ },
+ "SqlDBTableDataSet": {
+ "description": "A SQL DB table data set.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/SqlDBTableProperties",
+ "description": "SQL DB table data set properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "SqlDBTable"
+ },
+ "SqlDBTableProperties": {
+ "description": "Properties of the SQL DB table data set.",
+ "required": [
+ "databaseName",
+ "tableName",
+ "schemaName",
+ "sqlServerResourceId"
+ ],
+ "type": "object",
+ "properties": {
+ "databaseName": {
+ "description": "Database name of the source data set",
+ "type": "string"
+ },
+ "dataSetId": {
+ "description": "Unique id for identifying a data set resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "schemaName": {
+ "description": "Schema of the table. Default value is dbo.",
+ "type": "string"
+ },
+ "sqlServerResourceId": {
+ "description": "Resource id of SQL server",
+ "type": "string"
+ },
+ "tableName": {
+ "description": "SQL DB table name.",
+ "type": "string"
+ }
+ }
+ },
+ "BlobDataSetMapping": {
+ "description": "A Blob data set mapping.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/BlobMappingProperties",
+ "description": "Blob data set mapping properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "Blob"
+ },
+ "BlobMappingProperties": {
+ "description": "Azure storage Blob data set mapping property bag.",
+ "required": [
+ "containerName",
+ "filePath",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName",
+ "dataSetId"
+ ],
+ "type": "object",
+ "properties": {
+ "containerName": {
+ "description": "Container that has the file path.",
+ "type": "string"
+ },
+ "dataSetId": {
+ "description": "The id of the source data set.",
+ "type": "string"
+ },
+ "dataSetMappingStatus": {
+ "description": "Gets the status of the data set mapping.",
+ "enum": [
+ "Ok",
+ "Broken"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "dataSetMappingStatus",
+ "modelAsString": true
+ }
+ },
+ "filePath": {
+ "description": "File path within the source data set",
+ "type": "string"
+ },
+ "outputType": {
+ "description": "File output type",
+ "enum": [
+ "Csv",
+ "Parquet"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "outputType",
+ "modelAsString": true
+ }
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the data set mapping.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account.",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set.",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account.",
+ "type": "string"
+ }
+ }
+ },
+ "BlobFolderDataSetMapping": {
+ "description": "A Blob folder data set mapping.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/BlobFolderMappingProperties",
+ "description": "Blob folder data set mapping properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "BlobFolder"
+ },
+ "BlobFolderMappingProperties": {
+ "description": "Azure storage Blob folder data set mapping property bag.",
+ "required": [
+ "containerName",
+ "prefix",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName",
+ "dataSetId"
+ ],
+ "type": "object",
+ "properties": {
+ "containerName": {
+ "description": "Container that has the file path.",
+ "type": "string"
+ },
+ "dataSetId": {
+ "description": "The id of the source data set.",
+ "type": "string"
+ },
+ "dataSetMappingStatus": {
+ "description": "Gets the status of the data set mapping.",
+ "enum": [
+ "Ok",
+ "Broken"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "dataSetMappingStatus",
+ "modelAsString": true
+ }
+ },
+ "prefix": {
+ "description": "Prefix for blob folder",
+ "type": "string"
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the data set mapping.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account.",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set.",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account.",
+ "type": "string"
+ }
+ }
+ },
+ "BlobContainerDataSetMapping": {
+ "description": "A Blob container data set mapping.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/BlobContainerMappingProperties",
+ "description": "Blob container data set mapping properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "Container"
+ },
+ "BlobContainerMappingProperties": {
+ "description": "Azure storage Blob container data set mapping property bag.",
+ "required": [
+ "containerName",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName",
+ "dataSetId"
+ ],
+ "type": "object",
+ "properties": {
+ "containerName": {
+ "description": "BLOB Container name.",
+ "type": "string"
+ },
+ "dataSetId": {
+ "description": "The id of the source data set.",
+ "type": "string"
+ },
+ "dataSetMappingStatus": {
+ "description": "Gets the status of the data set mapping.",
+ "enum": [
+ "Ok",
+ "Broken"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "dataSetMappingStatus",
+ "modelAsString": true
+ }
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the data set mapping.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account.",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set.",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account.",
+ "type": "string"
+ }
+ }
+ },
+ "ADLSGen2FileDataSetMapping": {
+ "description": "An ADLS Gen2 file data set mapping.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ADLSGen2FileDataSetMappingProperties",
+ "description": "ADLS Gen2 file data set mapping properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "AdlsGen2File"
+ },
+ "ADLSGen2FileDataSetMappingProperties": {
+ "description": "ADLS Gen 2 file data set mapping property bag.",
+ "required": [
+ "fileSystem",
+ "filePath",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName",
+ "dataSetId"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "The id of the source data set.",
+ "type": "string"
+ },
+ "dataSetMappingStatus": {
+ "description": "Gets the status of the data set mapping.",
+ "enum": [
+ "Ok",
+ "Broken"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "dataSetMappingStatus",
+ "modelAsString": true
+ }
+ },
+ "filePath": {
+ "description": "File path within the file system.",
+ "type": "string"
+ },
+ "fileSystem": {
+ "description": "File system to which the file belongs.",
+ "type": "string"
+ },
+ "outputType": {
+ "description": "Type of output file",
+ "enum": [
+ "Csv",
+ "Parquet"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "outputType",
+ "modelAsString": true
+ }
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the data set mapping.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account.",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set.",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account.",
+ "type": "string"
+ }
+ }
+ },
+ "ADLSGen2FolderDataSetMapping": {
+ "description": "An ADLS Gen2 folder data set mapping.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ADLSGen2FolderDataSetMappingProperties",
+ "description": "ADLS Gen2 folder data set mapping properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "AdlsGen2Folder"
+ },
+ "ADLSGen2FolderDataSetMappingProperties": {
+ "description": "ADLS Gen 2 folder data set mapping property bag.",
+ "required": [
+ "fileSystem",
+ "folderPath",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName",
+ "dataSetId"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "The id of the source data set.",
+ "type": "string"
+ },
+ "dataSetMappingStatus": {
+ "description": "Gets the status of the data set mapping.",
+ "enum": [
+ "Ok",
+ "Broken"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "dataSetMappingStatus",
+ "modelAsString": true
+ }
+ },
+ "fileSystem": {
+ "description": "File system to which the folder belongs.",
+ "type": "string"
+ },
+ "folderPath": {
+ "description": "Folder path within the file system.",
+ "type": "string"
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the data set mapping.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account.",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set.",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account.",
+ "type": "string"
+ }
+ }
+ },
+ "ADLSGen2FileSystemDataSetMapping": {
+ "description": "An ADLS Gen2 file system data set mapping.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ADLSGen2FileSystemDataSetMappingProperties",
+ "description": "ADLS Gen2 file system data set mapping properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "AdlsGen2FileSystem"
+ },
+ "ADLSGen2FileSystemDataSetMappingProperties": {
+ "description": "ADLS Gen 2 file system data set mapping property bag.",
+ "required": [
+ "fileSystem",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName",
+ "dataSetId"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "The id of the source data set.",
+ "type": "string"
+ },
+ "dataSetMappingStatus": {
+ "description": "Gets the status of the data set mapping.",
+ "enum": [
+ "Ok",
+ "Broken"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "dataSetMappingStatus",
+ "modelAsString": true
+ }
+ },
+ "fileSystem": {
+ "description": "The file system name.",
+ "type": "string"
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the data set mapping.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account.",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set.",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account.",
+ "type": "string"
+ }
+ }
+ },
+ "KustoClusterDataSetMapping": {
+ "description": "A Kusto cluster data set mapping",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/KustoClusterDataSetMappingProperties",
+ "description": "Kusto cluster data set mapping properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "KustoCluster"
+ },
+ "KustoClusterDataSetMappingProperties": {
+ "description": "Properties of the Kusto cluster data set mapping",
+ "required": [
+ "kustoClusterResourceId",
+ "dataSetId"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "The id of the source data set.",
+ "type": "string"
+ },
+ "dataSetMappingStatus": {
+ "description": "Gets the status of the data set mapping.",
+ "enum": [
+ "Ok",
+ "Broken"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "dataSetMappingStatus",
+ "modelAsString": true
+ }
+ },
+ "kustoClusterResourceId": {
+ "description": "Resource id of the sink kusto cluster.",
+ "type": "string"
+ },
+ "location": {
+ "description": "Location of the sink kusto cluster.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the data set mapping.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "KustoDatabaseDataSetMapping": {
+ "description": "A Kusto database data set mapping",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/KustoDatabaseDataSetMappingProperties",
+ "description": "Kusto database data set mapping properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "KustoDatabase"
+ },
+ "KustoDatabaseDataSetMappingProperties": {
+ "description": "Properties of the Kusto database data set mapping",
+ "required": [
+ "kustoClusterResourceId",
+ "dataSetId"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "The id of the source data set.",
+ "type": "string"
+ },
+ "dataSetMappingStatus": {
+ "description": "Gets the status of the data set mapping.",
+ "enum": [
+ "Ok",
+ "Broken"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "dataSetMappingStatus",
+ "modelAsString": true
+ }
+ },
+ "kustoClusterResourceId": {
+ "description": "Resource id of the sink kusto cluster.",
+ "type": "string"
+ },
+ "location": {
+ "description": "Location of the sink kusto cluster.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the data set mapping.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "SqlDWTableDataSetMapping": {
+ "description": "A SQL DW Table data set mapping.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/SqlDWTableDataSetMappingProperties",
+ "description": "Sql DW data set mapping properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "SqlDWTable"
+ },
+ "SqlDWTableDataSetMappingProperties": {
+ "description": "Properties of the SQL DW table data set mapping.",
+ "required": [
+ "dataWarehouseName",
+ "tableName",
+ "schemaName",
+ "sqlServerResourceId",
+ "dataSetId"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "The id of the source data set.",
+ "type": "string"
+ },
+ "dataSetMappingStatus": {
+ "description": "Gets the status of the data set mapping.",
+ "enum": [
+ "Ok",
+ "Broken"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "dataSetMappingStatus",
+ "modelAsString": true
+ }
+ },
+ "dataWarehouseName": {
+ "description": "DataWarehouse name of the source data set",
+ "type": "string"
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the data set mapping.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
+ "schemaName": {
+ "description": "Schema of the table. Default value is dbo.",
+ "type": "string"
+ },
+ "sqlServerResourceId": {
+ "description": "Resource id of SQL server",
+ "type": "string"
+ },
+ "tableName": {
+ "description": "SQL DW table name.",
+ "type": "string"
+ }
+ }
+ },
+ "SqlDBTableDataSetMapping": {
+ "description": "A SQL DB Table data set mapping.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/SqlDBTableDataSetMappingProperties",
+ "description": "Sql DB data set mapping properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "SqlDBTable"
+ },
+ "SqlDBTableDataSetMappingProperties": {
+ "description": "Properties of the SQL DB table data set mapping.",
+ "required": [
+ "databaseName",
+ "tableName",
+ "schemaName",
+ "sqlServerResourceId",
+ "dataSetId"
+ ],
+ "type": "object",
+ "properties": {
+ "databaseName": {
+ "description": "DatabaseName name of the sink data set",
+ "type": "string"
+ },
+ "dataSetId": {
+ "description": "The id of the source data set.",
+ "type": "string"
+ },
+ "dataSetMappingStatus": {
+ "description": "Gets the status of the data set mapping.",
+ "enum": [
+ "Ok",
+ "Broken"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "dataSetMappingStatus",
+ "modelAsString": true
+ }
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the data set mapping.",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
+ "schemaName": {
+ "description": "Schema of the table. Default value is dbo.",
+ "type": "string"
+ },
+ "sqlServerResourceId": {
+ "description": "Resource id of SQL server",
+ "type": "string"
+ },
+ "tableName": {
+ "description": "SQL DB table name.",
+ "type": "string"
+ }
+ }
+ },
+ "ScheduledSourceSynchronizationSetting": {
+ "description": "A type of synchronization setting based on schedule",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SourceShareSynchronizationSetting"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ScheduledSourceShareSynchronizationSettingProperties",
+ "description": "Properties of scheduled synchronization",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "ScheduleBased"
+ },
+ "ScheduledSourceShareSynchronizationSettingProperties": {
+ "description": "A Scheduled source synchronization setting data transfer object.",
+ "type": "object",
+ "properties": {
+ "recurrenceInterval": {
+ "description": "Recurrence Interval",
+ "enum": [
+ "Hour",
+ "Day"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "recurrenceInterval",
+ "modelAsString": true
+ }
+ },
+ "synchronizationTime": {
+ "format": "date-time",
+ "description": "Synchronization time",
+ "type": "string"
+ }
+ }
+ },
+ "DefaultDto": {
+ "description": "Base data transfer object implementation for default resources.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The resource id of the azure resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "location": {
+ "description": "Location of the azure resource.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of the azure resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "tags": {
+ "description": "Tags on the azure resource.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "type": {
+ "description": "Type of the azure resource",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ProxyDto": {
+ "description": "Base data transfer object implementation for proxy resources.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The resource id of the azure resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Name of the azure resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Type of the azure resource",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ }
+ },
+ "parameters": {
+ "accountName": {
+ "name": "accountName",
+ "in": "path",
+ "description": "The name of the share account.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "api-version": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The api version to use.",
+ "required": true,
+ "type": "string"
+ },
+ "resourceGroupName": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The resource group name.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "subscriptionId": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The subscription identifier",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ },
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow."
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "tags": []
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_Create.json
new file mode 100644
index 000000000000..bf3f65070cca
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_Create.json
@@ -0,0 +1,74 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "api-version": "2019-11-01",
+ "account": {
+ "location": "West US 2",
+ "tags": {
+ "tag1": "Red",
+ "tag2": "White"
+ },
+ "identity": {
+ "type": "SystemAssigned"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "userName": "John Smith",
+ "createdAt": "2018-11-14T04:47:52.9614956Z",
+ "userEmail": "johnsmith@microsoft.com"
+ },
+ "location": "West US 2",
+ "tags": {
+ "tag1": "Red",
+ "tag2": "White"
+ },
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1",
+ "name": "Account1",
+ "type": "Microsoft.DataShare/Accounts"
+ }
+ },
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "userName": "John Smith",
+ "createdAt": "2018-11-14T04:47:52.9614956Z",
+ "userEmail": "johnsmith@microsoft.com"
+ },
+ "location": "West US 2",
+ "tags": {
+ "tag1": "Red",
+ "tag2": "White"
+ },
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1",
+ "name": "Account1",
+ "type": "Microsoft.DataShare/Accounts"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_Delete.json
new file mode 100644
index 000000000000..08af5d016d67
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_Delete.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "status": "Succeeded"
+ }
+ },
+ "202": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-long-running-operation": true,
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/sourceAccount/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview"
+ }
+ },
+ "204": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_Get.json
new file mode 100644
index 000000000000..4fd145172362
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_Get.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "userName": "John Smith",
+ "createdAt": "2018-11-14T04:47:52.9614956Z",
+ "provisioningState": "Succeeded",
+ "userEmail": "johnsmith@microsoft.com"
+ },
+ "location": "West US 2",
+ "tags": {
+ "tag1": "Red",
+ "tag2": "White"
+ },
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1",
+ "name": "Account1",
+ "type": "Microsoft.DataShare/Accounts"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_ListByResourceGroup.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_ListByResourceGroup.json
new file mode 100644
index 000000000000..c73da7fb031a
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_ListByResourceGroup.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "SampleResourceGroup"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "userName": "John Smith,",
+ "createdAt": "2018-11-14T04:47:52.9614956Z",
+ "userEmail": "johnsmith@microsoft.com"
+ },
+ "location": "West US 2",
+ "tags": {
+ "tag1": "Red",
+ "tag2": "White"
+ },
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1",
+ "name": "Account1",
+ "type": "Microsoft.DataShare/Accounts"
+ },
+ {
+ "properties": {
+ "userName": "John Smith,",
+ "createdAt": "2018-11-14T04:47:52.9614956Z",
+ "userEmail": "johnsmith@microsoft.com"
+ },
+ "location": "East US 2",
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account2",
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "name": "Account2",
+ "type": "Microsoft.DataShare/Accounts"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_ListBySubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_ListBySubscription.json
new file mode 100644
index 000000000000..07de765f6180
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_ListBySubscription.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "userName": "John Smith",
+ "createdAt": "2018-11-14T04:47:52.9614956Z",
+ "userEmail": "johnsmith@microsoft.com"
+ },
+ "location": "West US 2",
+ "tags": {
+ "tag1": "Red",
+ "tag2": "White"
+ },
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1",
+ "name": "Account1",
+ "type": "Microsoft.DataShare/Accounts"
+ },
+ {
+ "properties": {
+ "userName": "John Smith",
+ "createdAt": "2018-11-14T04:47:52.9614956Z",
+ "userEmail": "johnsmith@microsoft.com"
+ },
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "location": "East US 2",
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account2",
+ "name": "Account2",
+ "type": "Microsoft.DataShare/Accounts"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_Update.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_Update.json
new file mode 100644
index 000000000000..8f60674a0d82
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Accounts_Update.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "api-version": "2019-11-01",
+ "accountUpdateParameters": {
+ "tags": {
+ "tag1": "Red",
+ "tag2": "White"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "userName": "John Smith",
+ "createdAt": "2018-11-14T04:47:52.9614956Z",
+ "userEmail": "johnsmith@microsoft.com"
+ },
+ "location": "West US 2",
+ "tags": {
+ "tag1": "Red",
+ "tag2": "White"
+ },
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1",
+ "name": "Account1",
+ "type": "Microsoft.DataShare/Accounts"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ConsumerInvitations_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ConsumerInvitations_Get.json
new file mode 100644
index 000000000000..3947c32f1d2d
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ConsumerInvitations_Get.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "location": "East US 2",
+ "api-version": "2019-11-01",
+ "invitationId": "dfbbc788-19eb-4607-a5a1-c74181bfff03"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "location": "eastus2",
+ "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
+ "providerName": "John Smith",
+ "providerEmail": "john.smith@microsoft.com",
+ "providerTenantName": "Microsoft",
+ "sentAt": "2019-01-15T01:45:25.6226946Z",
+ "respondedAt": "2019-01-15T02:01:51.8953054Z",
+ "invitationStatus": "Accepted",
+ "description": "Some share",
+ "termsOfUse": "Confidential",
+ "dataSetCount": 1,
+ "shareName": "share1"
+ },
+ "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487",
+ "name": "invitation1",
+ "type": "Microsoft.DataShare/consumerInvitations"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ConsumerInvitations_ListInvitations.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ConsumerInvitations_ListInvitations.json
new file mode 100644
index 000000000000..be162fe02bd5
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ConsumerInvitations_ListInvitations.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "location": "eastus2",
+ "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
+ "providerName": "John Smith",
+ "providerEmail": "john.smith@microsoft.com",
+ "sentAt": "2019-01-15T01:45:25.6226946Z",
+ "respondedAt": "2019-01-15T02:01:51.8953054Z",
+ "invitationStatus": "Accepted",
+ "description": "Some share",
+ "termsOfUse": "Confidential",
+ "dataSetCount": 1,
+ "providerTenantName": "microsoft",
+ "shareName": "share1"
+ },
+ "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487",
+ "name": "invitation1",
+ "type": "Microsoft.DataShare/consumerInvitations"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ConsumerInvitations_RejectInvitation.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ConsumerInvitations_RejectInvitation.json
new file mode 100644
index 000000000000..94863b3897a0
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ConsumerInvitations_RejectInvitation.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "location": "East US 2",
+ "api-version": "2019-11-01",
+ "invitation": {
+ "properties": {
+ "invitationId": "dfbbc788-19eb-4607-a5a1-c74181bfff03"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "location": "eastus2",
+ "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
+ "providerName": "John Smith",
+ "providerEmail": "john.smith@microsoft.com",
+ "providerTenantName": "microsoft",
+ "sentAt": "2019-01-15T01:45:25.6226946Z",
+ "respondedAt": "2019-01-15T02:01:51.8953054Z",
+ "invitationStatus": "Rejected",
+ "description": "Some share",
+ "termsOfUse": "Confidential",
+ "dataSetCount": 1,
+ "shareName": "share1"
+ },
+ "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487",
+ "name": "invitation1",
+ "type": "Microsoft.DataShare/consumerInvitations"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ConsumerSourceDataSets_ListByShareSubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ConsumerSourceDataSets_ListByShareSubscription.json
new file mode 100644
index 000000000000..ac24ae648c2e
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ConsumerSourceDataSets_ListByShareSubscription.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "Share1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "dataSetId": "0b9d4394-8bb3-49a1-aa4f-4be49cd10375",
+ "dataSetType": "Blob",
+ "dataSetName": "input.text",
+ "dataSetPath": "cars.text"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1/consumerSourceDataSets/4256e2cf-0f82-4865-961b-12f83333f487",
+ "name": "invitation1",
+ "type": "Microsoft.DataShare/consumerSourceDataSets"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_Create.json
new file mode 100644
index 000000000000..995d32da7e6a
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_Create.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "dataSetMappingName": "DatasetMapping1",
+ "api-version": "2019-11-01",
+ "dataSetMapping": {
+ "kind": "Blob",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "Blob",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1",
+ "name": "DatasetMapping1",
+ "type": "Microsoft.DataShare/DataSetMapping"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "Blob",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d227",
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1",
+ "name": "DatasetMapping1",
+ "type": "Microsoft.DataShare/DataSetMapping"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_Delete.json
new file mode 100644
index 000000000000..852388cba6b3
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_Delete.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "dataSetMappingName": "DatasetMapping1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ },
+ "204": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_Get.json
new file mode 100644
index 000000000000..c2120bdafb87
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_Get.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "dataSetMappingName": "DatasetMapping1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "Blob",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1",
+ "name": "DatasetMapping1",
+ "type": "Microsoft.DataShare/DataSetMapping"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_ListByShareSubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_ListByShareSubscription.json
new file mode 100644
index 000000000000..32e334e39054
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_ListByShareSubscription.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "kind": "Blob",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1",
+ "name": "DatasetMapping1",
+ "type": "Microsoft.DataShare/DataSetMapping"
+ },
+ {
+ "kind": "Blob",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d227",
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1",
+ "name": "DatasetMapping1",
+ "type": "Microsoft.DataShare/DataSetMapping"
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDB_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDB_Create.json
new file mode 100644
index 000000000000..2e2a0427305a
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDB_Create.json
@@ -0,0 +1,66 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "dataSetMappingName": "DatasetMapping1",
+ "api-version": "2019-11-01",
+ "dataSetMapping": {
+ "kind": "SqlDBTable",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "databaseName": "Database1",
+ "tableName": "Table1",
+ "schemaName": "dbo"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "SqlDBTable",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "databaseName": "Database1",
+ "tableName": "Table1",
+ "schemaName": "dbo"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1",
+ "name": "DatasetMapping1",
+ "type": "Microsoft.DataShare/DataSetMapping"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "SqlDBTable",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "databaseName": "Database1",
+ "tableName": "Table1",
+ "schemaName": "dbo"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1",
+ "name": "DatasetMapping1",
+ "type": "Microsoft.DataShare/DataSetMapping"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json
new file mode 100644
index 000000000000..2ecac8aef6e1
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "dataSetMappingName": "DatasetMapping1",
+ "api-version": "2019-11-01",
+ "dataSetMapping": {
+ "kind": "AdlsGen2File",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "fileSystem": "fileSystem",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup",
+ "outputType": "Csv"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "AdlsGen2File",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "fileSystem": "fileSystem",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup",
+ "outputType": "Csv"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1",
+ "name": "DatasetMapping1",
+ "type": "Microsoft.DataShare/DataSetMapping"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "AdlsGen2File",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "fileSystem": "fileSystem",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup",
+ "outputType": "Csv"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1",
+ "name": "DatasetMapping1",
+ "type": "Microsoft.DataShare/DataSetMapping"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDW_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDW_Create.json
new file mode 100644
index 000000000000..58b7d8117054
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDW_Create.json
@@ -0,0 +1,66 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "dataSetMappingName": "DatasetMapping1",
+ "api-version": "2019-11-01",
+ "dataSetMapping": {
+ "kind": "SqlDWTable",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "dataWarehouseName": "DataWarehouse1",
+ "tableName": "Table1",
+ "schemaName": "dbo"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "SqlDWTable",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "dataWarehouseName": "DataWarehouse1",
+ "tableName": "Table1",
+ "schemaName": "dbo"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1",
+ "name": "DatasetMapping1",
+ "type": "Microsoft.DataShare/DataSetMapping"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "SqlDWTable",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "dataWarehouseName": "DataWarehouse1",
+ "tableName": "Table1",
+ "schemaName": "dbo"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1",
+ "name": "DatasetMapping1",
+ "type": "Microsoft.DataShare/DataSetMapping"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_Create.json
new file mode 100644
index 000000000000..e6a30539bb09
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_Create.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "dataSetName": "Dataset1",
+ "api-version": "2019-11-01",
+ "dataSet": {
+ "kind": "Blob",
+ "properties": {
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "Blob",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "storageAccountName": "adspipelinemetadatatable",
+ "containerName": "C1",
+ "filePath": "inputpath",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
+ "name": null,
+ "type": "Microsoft.DataShare/DataSets"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "Blob",
+ "properties": {
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
+ "name": "Dataset1",
+ "type": "Microsoft.DataShare/DataSet"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_Delete.json
new file mode 100644
index 000000000000..641ad9cf412d
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_Delete.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "dataSetName": "Dataset1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ },
+ "202": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-long-running-operation": true,
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview"
+ }
+ },
+ "204": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_Get.json
new file mode 100644
index 000000000000..fb3a50754cee
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_Get.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "dataSetName": "Dataset1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "Blob",
+ "properties": {
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
+ "name": "Dataset1",
+ "type": "Microsoft.DataShare/DataSet"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_KustoCluster_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_KustoCluster_Create.json
new file mode 100644
index 000000000000..24b1b82d4764
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_KustoCluster_Create.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "dataSetName": "Dataset1",
+ "api-version": "2019-11-01",
+ "dataSet": {
+ "kind": "KustoCluster",
+ "properties": {
+ "kustoClusterResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Kusto/clusters/Cluster1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "KustoCluster",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "kustoClusterResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Kusto/clusters/Cluster1",
+ "location": "West US 2"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
+ "name": null,
+ "type": "Microsoft.DataShare/DataSets"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "KustoCluster",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "kustoClusterResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Kusto/clusters/Cluster1",
+ "location": "West US 2"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
+ "name": "Dataset1",
+ "type": "Microsoft.DataShare/DataSet"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_KustoDatabase_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_KustoDatabase_Create.json
new file mode 100644
index 000000000000..36849d92f6da
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_KustoDatabase_Create.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "dataSetName": "Dataset1",
+ "api-version": "2019-11-01",
+ "dataSet": {
+ "kind": "KustoDatabase",
+ "properties": {
+ "kustoDatabaseResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Kusto/clusters/Cluster1/databases/Database1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "KustoDatabase",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "kustoDatabaseResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Kusto/clusters/Cluster1/databases/Database1",
+ "location": "West US 2"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
+ "name": null,
+ "type": "Microsoft.DataShare/DataSets"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "KustoDatabase",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "kustoDatabaseResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Kusto/clusters/Cluster1/databases/Database1",
+ "location": "West US 2"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
+ "name": "Dataset1",
+ "type": "Microsoft.DataShare/DataSet"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_ListByShare.json
new file mode 100644
index 000000000000..bab3d00871c4
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_ListByShare.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "kind": "Blob",
+ "properties": {
+ "storageAccountName": "storage1",
+ "filePath": "file22",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
+ "name": "Dataset1",
+ "type": "Microsoft.DataShare/DataSet"
+ },
+ {
+ "kind": "Blob",
+ "properties": {
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset2",
+ "name": "Dataset1",
+ "type": "Microsoft.DataShare/DataSet"
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_SqlDBTable_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_SqlDBTable_Create.json
new file mode 100644
index 000000000000..afd96c1fb89a
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_SqlDBTable_Create.json
@@ -0,0 +1,65 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "dataSetName": "Dataset1",
+ "api-version": "2019-11-01",
+ "dataSet": {
+ "kind": "SqlDBTable",
+ "properties": {
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "databaseName": "SqlDB1",
+ "tableName": "Table1",
+ "schemaName": "dbo"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "SqlDBTable",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "databaseName": "SqlDB1",
+ "tableName": "Table1",
+ "schemaName": "dbo"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
+ "name": null,
+ "type": "Microsoft.DataShare/DataSets"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "SqlDBTable",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "databaseName": "SqlDB1",
+ "tableName": "Table1",
+ "schemaName": "dbo"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
+ "name": "Dataset1",
+ "type": "Microsoft.DataShare/DataSet"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_SqlDWTable_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_SqlDWTable_Create.json
new file mode 100644
index 000000000000..daf97edfb295
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_SqlDWTable_Create.json
@@ -0,0 +1,65 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "dataSetName": "Dataset1",
+ "api-version": "2019-11-01",
+ "dataSet": {
+ "kind": "SqlDWTable",
+ "properties": {
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "dataWarehouseName": "DataWarehouse1",
+ "tableName": "Table1",
+ "schemaName": "dbo"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "SqlDWTable",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "dataWarehouseName": "DataWarehouse1",
+ "tableName": "Table1",
+ "schemaName": "dbo"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
+ "name": null,
+ "type": "Microsoft.DataShare/DataSets"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "SqlDWTable",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "dataWarehouseName": "DataWarehouse1",
+ "tableName": "Table1",
+ "schemaName": "dbo"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
+ "name": "Dataset1",
+ "type": "Microsoft.DataShare/DataSet"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Invitations_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Invitations_Create.json
new file mode 100644
index 000000000000..6e2c3c894518
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Invitations_Create.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "invitationName": "Invitation1",
+ "api-version": "2019-11-01",
+ "invitation": {
+ "properties": {
+ "targetEmail": "receiver@microsoft.com"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "userName": "John Smith",
+ "sentAt": "2018-11-26T22:33:24.5785265Z",
+ "targetEmail": "receiver@microsoft.com",
+ "respondedAt": null,
+ "invitationStatus": "Pending",
+ "userEmail": "johnsmith@microsoft.com"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/invitations/Invitation1",
+ "name": "Invitation1",
+ "type": "Microsoft.DataShare/Invitation1"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "userName": "John Smith",
+ "sentAt": "2018-11-26T22:33:24.5785265Z",
+ "targetEmail": "receiver@microsoft.com",
+ "respondedAt": null,
+ "invitationStatus": "Pending",
+ "userEmail": "johnsmith@microsoft.com"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/invitations/Invitation1",
+ "name": "Invitation1",
+ "type": "Microsoft.DataShare/Invitation1"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Invitations_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Invitations_Delete.json
new file mode 100644
index 000000000000..e41919a00955
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Invitations_Delete.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "invitationName": "Invitation1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ },
+ "204": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Invitations_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Invitations_Get.json
new file mode 100644
index 000000000000..97a07865f9c7
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Invitations_Get.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "invitationName": "Invitation1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "userName": "John Smith",
+ "sentAt": "2018-11-26T22:33:24.5785265Z",
+ "targetEmail": "receiver@microsoft.com",
+ "respondedAt": null,
+ "invitationStatus": "Pending",
+ "userEmail": "johnsmith@microsoft.com"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/invitations/Invitation1",
+ "name": "Invitation1",
+ "type": "Microsoft.DataShare/Invitation1"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Invitations_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Invitations_ListByShare.json
new file mode 100644
index 000000000000..70614c24e56c
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Invitations_ListByShare.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "userName": "John Smith",
+ "sentAt": "2018-11-26T22:33:24.5785265Z",
+ "targetEmail": "johnsmith@microsoft.com",
+ "invitationStatus": "Accepted",
+ "userEmail": "johnsmith@microsoft.com"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/account1/shares/share1/invitations/ancd",
+ "name": "ancd",
+ "type": "Microsoft.DataShare/Invitation"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Operations_List.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Operations_List.json
new file mode 100644
index 000000000000..3e6be5b8b774
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Operations_List.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.DataShare/operations/read",
+ "display": {
+ "provider": "Microsoft Data Share",
+ "resource": "Data Share Resource Provider",
+ "operation": "Read all operations",
+ "description": "Reads all available operations in Data Share Resource Provider."
+ }
+ },
+ {
+ "name": "Microsoft.DataShare/register/action",
+ "display": {
+ "provider": "Microsoft Data Share",
+ "resource": "Data Share Resource Provider",
+ "operation": "Register Data Share Resource Provider",
+ "description": "Register the subscription for the Data Share Resource Provider."
+ }
+ },
+ {
+ "name": "Microsoft.DataShare/unregister/action",
+ "display": {
+ "provider": "Microsoft Data Share",
+ "resource": "Data Share Resource Provider",
+ "operation": "Unregister Data Share Resource Provider",
+ "description": "Unregister the subscription for the Data Share Resource Provider."
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ProviderShareSubscriptions_GetByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ProviderShareSubscriptions_GetByShare.json
new file mode 100644
index 000000000000..f6da7095ff11
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ProviderShareSubscriptions_GetByShare.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "providerShareSubscriptionId": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "consumerName": "John Smith",
+ "consumerEmail": "john.smith@microsoft.com",
+ "createdAt": "2018-12-13T08:52:42.6224087Z",
+ "providerName": "John Smith",
+ "sharedAt": "2018-12-13T08:45:40.9005877Z",
+ "consumerTenantName": "Microsoft",
+ "shareSubscriptionStatus": "Active"
+ },
+ "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487",
+ "name": "invitation1",
+ "type": "Microsoft.DataShare/shareSubscripitons"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ProviderShareSubscriptions_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ProviderShareSubscriptions_ListByShare.json
new file mode 100644
index 000000000000..a92a8df03cea
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ProviderShareSubscriptions_ListByShare.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "consumerName": "John Smith",
+ "consumerEmail": "john.smith@microsoft.com",
+ "createdAt": "2018-12-13T08:52:42.6224087Z",
+ "providerName": "John Smith",
+ "sharedAt": "2018-12-13T08:45:40.9005877Z",
+ "consumerTenantName": "Microsoft",
+ "shareSubscriptionStatus": "Active"
+ },
+ "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487",
+ "name": "invitation1",
+ "type": "Microsoft.DataShare/shareSubscripitons"
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ProviderShareSubscriptions_Reinstate.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ProviderShareSubscriptions_Reinstate.json
new file mode 100644
index 000000000000..f6da7095ff11
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ProviderShareSubscriptions_Reinstate.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "providerShareSubscriptionId": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "consumerName": "John Smith",
+ "consumerEmail": "john.smith@microsoft.com",
+ "createdAt": "2018-12-13T08:52:42.6224087Z",
+ "providerName": "John Smith",
+ "sharedAt": "2018-12-13T08:45:40.9005877Z",
+ "consumerTenantName": "Microsoft",
+ "shareSubscriptionStatus": "Active"
+ },
+ "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487",
+ "name": "invitation1",
+ "type": "Microsoft.DataShare/shareSubscripitons"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ProviderShareSubscriptions_Revoke.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ProviderShareSubscriptions_Revoke.json
new file mode 100644
index 000000000000..02f8a2de4ae3
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ProviderShareSubscriptions_Revoke.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "providerShareSubscriptionId": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "consumerName": "John Smith",
+ "consumerEmail": "john.smith@microsoft.com",
+ "createdAt": "2018-12-13T08:52:42.6224087Z",
+ "providerName": "John Smith",
+ "sharedAt": "2018-12-13T08:45:40.9005877Z",
+ "consumerTenantName": "Microsoft",
+ "shareSubscriptionStatus": "Revoked"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/account1/shares/share1/providerShareSubscripitons/4256e2cf-0f82-4865-961b-12f83333f487",
+ "name": "providerShareSubscripiton",
+ "type": "Microsoft.DataShare/providerShareSubscripitons"
+ }
+ },
+ "202": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-long-running-operation": true,
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shares/shareSub1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview"
+ },
+ "body": {
+ "properties": {
+ "consumerName": "John Smith",
+ "consumerEmail": "john.smith@microsoft.com",
+ "createdAt": "2018-12-13T08:52:42.6224087Z",
+ "providerName": "John Smith",
+ "sharedAt": "2018-12-13T08:45:40.9005877Z",
+ "consumerTenantName": "Microsoft",
+ "shareSubscriptionStatus": "Revoked"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/account1/shares/share1/providerShareSubscripitons/4256e2cf-0f82-4865-961b-12f83333f487",
+ "name": "providerShareSubscripiton",
+ "type": "Microsoft.DataShare/providerShareSubscripitons"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_CancelSynchronization.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_CancelSynchronization.json
new file mode 100644
index 000000000000..36e04415b64d
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_CancelSynchronization.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "shareSubscriptionSynchronization": {
+ "synchronizationId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb"
+ },
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "startTime": "2019-06-30T02:37:48.4979104Z",
+ "status": "Cancelled",
+ "synchronizationId": "343c4772-ad68-41aa-91b9-bab1c92f9c27"
+ }
+ },
+ "202": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-long-running-operation": true,
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/shareSub1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview"
+ },
+ "body": {
+ "startTime": "2019-06-30T02:37:48.4979104Z",
+ "status": "Queued",
+ "synchronizationId": "343c4772-ad68-41aa-91b9-bab1c92f9c27"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_Create.json
new file mode 100644
index 000000000000..8a9b21b5633e
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_Create.json
@@ -0,0 +1,75 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "api-version": "2019-11-01",
+ "shareSubscription": {
+ "properties": {
+ "invitationId": "12345678-1234-1234-12345678abd",
+ "sourceShareLocation": "eastus2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "userName": "John Smith",
+ "createdAt": "2019-01-17T22:32:36.8185016Z",
+ "shareSubscriptionStatus": "Active",
+ "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
+ "shareName": "share1",
+ "shareDescription": "Some share",
+ "shareTerms": "Confidential",
+ "sourceShareLocation": "eastus2",
+ "shareKind": "CopyBased",
+ "userEmail": "john.smith@microsoft.com",
+ "providerName": "Jack Rose",
+ "providerEmail": "jack.rose@microsoft.com",
+ "providerTenantName": "Microsoft"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1",
+ "name": "ShareSubscription1",
+ "type": "Microsoft.DataShare/ShareSubscription"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "userName": "John Smith",
+ "createdAt": "2019-01-17T22:32:36.8185016Z",
+ "shareSubscriptionStatus": "Active",
+ "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
+ "shareName": "share1",
+ "shareDescription": "Some share",
+ "shareTerms": "Confidential",
+ "sourceShareLocation": "eastus2",
+ "shareKind": "CopyBased",
+ "userEmail": "john.smith@microsoft.com",
+ "providerName": "Jack Rose",
+ "providerEmail": "jack.rose@microsoft.com",
+ "providerTenantName": "Microsoft"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1",
+ "name": "ShareSubscription1",
+ "type": "Microsoft.DataShare/ShareSubscription"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_Delete.json
new file mode 100644
index 000000000000..f87ef76e3598
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_Delete.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "status": "Succeeded"
+ }
+ },
+ "204": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ },
+ "202": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-long-running-operation": true,
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/shareSub1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_Get.json
new file mode 100644
index 000000000000..ab17a4070ef2
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_Get.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "userName": "John Smith",
+ "userEmail": "john.smith@microsoft.com",
+ "createdAt": "2019-01-17T22:32:36.8185016Z",
+ "shareSubscriptionStatus": "Active",
+ "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
+ "sourceShareLocation": "eastus2",
+ "shareName": "share1",
+ "shareDescription": "Some share",
+ "shareTerms": "Confidential",
+ "shareKind": "CopyBased",
+ "provisioningState": "Succeeded",
+ "providerTenantName": "ShareSenderCompanyName",
+ "providerName": "Jack Rose",
+ "providerEmail": "jack.rose@microsoft.com"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1",
+ "name": "ShareSubscription1",
+ "type": "Microsoft.DataShare/ShareSubscription"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_ListByAccount.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_ListByAccount.json
new file mode 100644
index 000000000000..3e3a052e50e5
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_ListByAccount.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "invitationId": "12345678-1234-1234-12345678abd",
+ "sourceShareLocation": "eastus2",
+ "shareSubscriptionStatus": "Active",
+ "userName": "johnsmith@microsoft.com",
+ "createdAt": "2018-11-14T06:15:15.6818898Z",
+ "userEmail": "john.smith@microsoft.com",
+ "shareName": "share1",
+ "shareDescription": "Some share",
+ "shareTerms": "Confidential",
+ "shareKind": "CopyBased",
+ "providerTenantName": "Microsoft",
+ "providerName": "Jack Rose",
+ "providerEmail": "jack.rose@microsoft.com"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1",
+ "name": "ShareSubscription1",
+ "type": "Microsoft.DataShare/ShareSubscription"
+ },
+ {
+ "properties": {
+ "userName": "John Smith",
+ "userEmail": "john.smith@microsoft.com",
+ "createdAt": "2019-01-17T22:32:36.8185016Z",
+ "shareSubscriptionStatus": "Active",
+ "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
+ "sourceShareLocation": "eastus2",
+ "shareName": "share1",
+ "shareDescription": "Some share",
+ "shareTerms": "Confidential",
+ "shareKind": "CopyBased",
+ "providerTenantName": "Microsoft",
+ "providerName": "Jack Rose",
+ "providerEmail": "jack.rose@microsoft.com"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1",
+ "name": "ShareSubscription1",
+ "type": "Microsoft.DataShare/ShareSubscription"
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_ListSourceShareSynchronizationSettings.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_ListSourceShareSynchronizationSettings.json
new file mode 100644
index 000000000000..5ebd38f198ca
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_ListSourceShareSynchronizationSettings.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSub1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "recurrenceInterval": "Hour",
+ "synchronizationTime": "2019-03-15T19:45:58Z"
+ },
+ "kind": "ScheduleBased"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_ListSynchronizationDetails.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_ListSynchronizationDetails.json
new file mode 100644
index 000000000000..efc6af9f2b8f
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_ListSynchronizationDetails.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSub1",
+ "shareSubscriptionSynchronization": {
+ "synchronizationId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb"
+ },
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "endTime": "2018-11-14T04:47:52.9614956Z",
+ "startTime": "2018-11-14T04:47:52.9614956Z",
+ "durationMs": 2000,
+ "status": "Completed",
+ "name": "dataset1",
+ "dataSetId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb",
+ "dataSetType": "Blob"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_ListSynchronizations.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_ListSynchronizations.json
new file mode 100644
index 000000000000..362b27eacc89
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_ListSynchronizations.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSub1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "endTime": "2018-11-14T04:47:52.9614956Z",
+ "startTime": "2018-11-14T04:47:52.9614956Z",
+ "durationMs": 2000,
+ "status": "Completed",
+ "message": "nda",
+ "synchronizationId": "runId",
+ "synchronizationMode": "Incremental"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_Synchronize.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_Synchronize.json
new file mode 100644
index 000000000000..5d8c3164dfb6
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_Synchronize.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "api-version": "2019-11-01",
+ "synchronize": {
+ "synchronizationMode": "Incremental"
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "startTime": "2019-06-30T02:37:48.4979104Z",
+ "status": "Succeeded",
+ "synchronizationId": "343c4772-ad68-41aa-91b9-bab1c92f9c27"
+ }
+ },
+ "202": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-long-running-operation": true,
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/shareSub1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview"
+ },
+ "body": {
+ "startTime": "2019-06-30T02:37:48.4979104Z",
+ "status": "Accepted",
+ "synchronizationId": "343c4772-ad68-41aa-91b9-bab1c92f9c27"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_Create.json
new file mode 100644
index 000000000000..417d56abbd1b
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_Create.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "api-version": "2019-11-01",
+ "share": {
+ "properties": {
+ "description": "share description",
+ "terms": "Confidential",
+ "shareKind": "CopyBased"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "description": "share description",
+ "terms": "Confidential",
+ "shareKind": "CopyBased",
+ "userName": "John Smith",
+ "createdAt": "2018-11-14T06:15:15.6818898Z",
+ "userEmail": "johnsmith@microsoft.com"
+
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1",
+ "name": "Share1",
+ "type": "Microsoft.DataShare/Share"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "description": "share description",
+ "terms": "Confidential",
+ "shareKind": "CopyBased",
+ "userName": "John Smith",
+ "createdAt": "2018-11-14T06:15:15.6818898Z",
+ "userEmail": "johnsmith@microsoft.com"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1",
+ "name": "Share1",
+ "type": "Microsoft.DataShare/Share"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_Delete.json
new file mode 100644
index 000000000000..6bbac18381f7
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_Delete.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "status": "Succeeded"
+ }
+ },
+ "202": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-long-running-operation": true,
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/shareSub1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview"
+ }
+ },
+ "204": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_Get.json
new file mode 100644
index 000000000000..0af2ae7913b5
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_Get.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "description": "share description",
+ "terms": "Confidential",
+ "shareKind": "CopyBased",
+ "userName": "John Smith",
+ "createdAt": "2018-11-14T06:15:15.6818898Z",
+ "userEmail": "johnsmith@microsoft.com"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1",
+ "name": "Share1",
+ "type": "Microsoft.DataShare/Share"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_ListByAccount.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_ListByAccount.json
new file mode 100644
index 000000000000..9c5e56342bfb
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_ListByAccount.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "description": "share description",
+ "terms": "Confidential",
+ "shareKind": "CopyBased",
+ "userName": "John Smith",
+ "createdAt": "2018-11-14T06:15:15.6818898Z",
+ "userEmail": "johnsmith@microsoft.com"
+
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1",
+ "name": "Share1",
+ "type": "Microsoft.DataShare/Share"
+ },
+ {
+ "properties": {
+ "description": "share description",
+ "terms": "Confidential",
+ "shareKind": "CopyBased",
+ "userName": "John Smith",
+ "createdAt": "2018-11-14T06:15:15.6818898Z",
+ "userEmail": "johnsmith@microsoft.com"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1",
+ "name": "Share1",
+ "type": "Microsoft.DataShare/Share"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_ListSynchronizationDetails.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_ListSynchronizationDetails.json
new file mode 100644
index 000000000000..0d5883c6bea3
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_ListSynchronizationDetails.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "shareSynchronization": {
+ "synchronizationId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb"
+ },
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "endTime": "2018-11-14T04:47:52.9614956Z",
+ "startTime": "2018-11-14T04:47:52.9614956Z",
+ "durationMs": 2000,
+ "status": "Completed",
+ "name": "dataset1",
+ "dataSetId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb",
+ "dataSetType": "Blob"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_ListSynchronizations.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_ListSynchronizations.json
new file mode 100644
index 000000000000..633e2acd8f3d
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_ListSynchronizations.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "endTime": "2018-11-14T04:47:52.9614956Z",
+ "startTime": "2018-11-14T04:47:52.9614956Z",
+ "durationMs": 2000,
+ "status": "Completed",
+ "message": "nda",
+ "consumerTenantName": "nda",
+ "consumerName": "abc@yahoo.com",
+ "synchronizationId": "runId",
+ "synchronizationMode": "Incremental"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/SynchronizationSettings_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/SynchronizationSettings_Create.json
new file mode 100644
index 000000000000..30e3cce426a0
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/SynchronizationSettings_Create.json
@@ -0,0 +1,62 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "synchronizationSettingName": "Dataset1",
+ "api-version": "2019-11-01",
+ "synchronizationSetting": {
+ "kind": "ScheduleBased",
+ "properties": {
+ "synchronizationTime": "2018-11-14T04:47:52.9614956Z",
+ "recurrenceInterval": "Day"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "ScheduleBased",
+ "properties": {
+ "synchronizationTime": "2018-11-14T04:47:52.9614956Z",
+ "recurrenceInterval": "Day",
+ "provisioningState": "Succeeded",
+ "userName": "John Smith"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1",
+ "name": "SyncrhonizationSetting1",
+ "type": "Microsoft.DataShare/SyncrhonizationSetting"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-long-running-operation": true
+ },
+ "body": {
+ "kind": "ScheduleBased",
+ "properties": {
+ "synchronizationTime": "2018-11-14T04:47:52.9614956Z",
+ "recurrenceInterval": "Day",
+ "provisioningState": "Succeeded",
+ "userName": "John Smith"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1",
+ "name": "SyncrhonizationSetting1",
+ "type": "Microsoft.DataShare/SyncrhonizationSetting"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/SynchronizationSettings_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/SynchronizationSettings_Delete.json
new file mode 100644
index 000000000000..0dc158772659
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/SynchronizationSettings_Delete.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "synchronizationSettingName": "SyncrhonizationSetting1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "status": "Succeeded"
+ }
+ },
+ "204": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ },
+ "202": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-retry-after-ms": "30",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shares/share1/synchronizationSettings/trigger1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/SynchronizationSettings_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/SynchronizationSettings_Get.json
new file mode 100644
index 000000000000..c6c0f5d09aa7
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/SynchronizationSettings_Get.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "synchronizationSettingName": "SyncrhonizationSetting1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "ScheduleBased",
+ "properties": {
+ "synchronizationTime": "2018-11-14T04:47:52.9614956Z",
+ "recurrenceInterval": "Day",
+ "provisioningState": "Succeeded",
+ "userName": "John Smith"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1",
+ "name": "SyncrhonizationSetting1",
+ "type": "Microsoft.DataShare/SyncrhonizationSetting"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/SynchronizationSettings_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/SynchronizationSettings_ListByShare.json
new file mode 100644
index 000000000000..ac9bc539012c
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/SynchronizationSettings_ListByShare.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "kind": "ScheduleBased",
+ "properties": {
+ "synchronizationTime": "2018-11-14T04:47:52.9614956Z",
+ "recurrenceInterval": "Day",
+ "userName": "John Smith"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1",
+ "name": "SyncrhonizationSetting1",
+ "type": "Microsoft.DataShare/SyncrhonizationSetting"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Triggers_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Triggers_Create.json
new file mode 100644
index 000000000000..f8abbb668e66
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Triggers_Create.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "triggerName": "Trigger1",
+ "api-version": "2019-11-01",
+ "trigger": {
+ "kind": "ScheduleBased",
+ "properties": {
+ "synchronizationTime": "2018-11-14T04:47:52.9614956Z",
+ "recurrenceInterval": "Day",
+ "synchronizationMode": "Incremental"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "ScheduleBased",
+ "properties": {
+ "synchronizationTime": "2018-11-14T04:47:52.9614956Z",
+ "recurrenceInterval": "Day",
+ "provisioningState": "Succeeded",
+ "triggerStatus": "Active",
+ "synchronizationMode": "Incremental",
+ "userName": "John Smith"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1",
+ "name": "Trigger1",
+ "type": "Microsoft.DataShare/Trigger"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-long-running-operation": true
+ },
+ "body": {
+ "kind": "ScheduleBased",
+ "properties": {
+ "synchronizationTime": "2018-11-14T04:47:52.9614956Z",
+ "recurrenceInterval": "Day",
+ "provisioningState": "Creating",
+ "triggerStatus": "Active",
+ "synchronizationMode": "Incremental",
+ "userName": "John Smith"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1",
+ "name": "Trigger1",
+ "type": "Microsoft.DataShare/Trigger"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Triggers_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Triggers_Delete.json
new file mode 100644
index 000000000000..01f4791ff259
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Triggers_Delete.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "triggerName": "Trigger1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "status": "Succeeded"
+ }
+ },
+ "204": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ },
+ "202": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-retry-after-ms": "30",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/shareSub1/triggers/trigger1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Triggers_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Triggers_Get.json
new file mode 100644
index 000000000000..c0617a34e89c
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Triggers_Get.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "triggerName": "Trigger1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "ScheduleBased",
+ "properties": {
+ "synchronizationTime": "2018-11-14T04:47:52.9614956Z",
+ "recurrenceInterval": "Day",
+ "provisioningState": "Succeeded",
+ "triggerStatus": "Active",
+ "synchronizationMode": "Incremental",
+ "userName": "John Smith"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1",
+ "name": "Trigger1",
+ "type": "Microsoft.DataShare/Trigger"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Triggers_ListByShareSubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Triggers_ListByShareSubscription.json
new file mode 100644
index 000000000000..ece07731a645
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Triggers_ListByShareSubscription.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "triggerName": "Trigger1",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "kind": "ScheduleBased",
+ "properties": {
+ "synchronizationTime": "2018-11-14T04:47:52.9614956Z",
+ "recurrenceInterval": "Day",
+ "provisioningState": "Succeeded",
+ "synchronizationMode": "Incremental",
+ "userName": "John Smith"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1",
+ "name": "Trigger1",
+ "type": "Microsoft.DataShare/Trigger"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/readme.go.md b/specification/datashare/resource-manager/readme.go.md
index 20f8ac742e2c..4abfa7f9b7ff 100644
--- a/specification/datashare/resource-manager/readme.go.md
+++ b/specification/datashare/resource-manager/readme.go.md
@@ -13,6 +13,7 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-2019-11-01
- tag: package-2018-11-01-preview
```
@@ -23,4 +24,13 @@ Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-11-01' && $(go)
+output-folder: $(go-sdk-folder)/services/datashare/mgmt/2019-11-01/$(namespace)
```
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/readme.md b/specification/datashare/resource-manager/readme.md
index 542497a94be1..d927d2de7686 100644
--- a/specification/datashare/resource-manager/readme.md
+++ b/specification/datashare/resource-manager/readme.md
@@ -26,7 +26,7 @@ These are the global settings for the DataShare API.
``` yaml
openapi-type: arm
-tag: package-2018-11-01-preview
+tag: package-2019-11-01
```
@@ -39,6 +39,15 @@ input-file:
- Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json
```
+### Tag: package-2019-11-01
+
+These settings apply only when `--tag=package-2019-11-01` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-11-01'
+input-file:
+- Microsoft.DataShare/stable/2019-11-01/DataShare.json
+```
+
---
# Code Generation
@@ -114,6 +123,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.DataShare/stable/2019-11-01/DataShare.json
- $(this-folder)/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json
```
From d781296ec1667cf5278fa542239fcdbc96126b1c Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Tue, 29 Oct 2019 04:32:13 +0000
Subject: [PATCH 093/189] regenerated all-api-versions
---
specification/datashare/resource-manager/readme.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/datashare/resource-manager/readme.md b/specification/datashare/resource-manager/readme.md
index d927d2de7686..f6dc9607cdb6 100644
--- a/specification/datashare/resource-manager/readme.md
+++ b/specification/datashare/resource-manager/readme.md
@@ -123,8 +123,8 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
- - $(this-folder)/Microsoft.DataShare/stable/2019-11-01/DataShare.json
- $(this-folder)/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json
+ - $(this-folder)/Microsoft.DataShare/stable/2019-11-01/DataShare.json
```
From 14543d35a8474edcc8d0d9374fedef1047609107 Mon Sep 17 00:00:00 2001
From: Phoenix He
Date: Tue, 29 Oct 2019 16:50:29 +0800
Subject: [PATCH 094/189] Update from latest master (#7638)
---
.../2019-05-01-preview/appplatform.json | 2 +-
.../2018-09-01-preview/attestation.json | 8 +-
.../examples/getDscNodeReportContent.json | 2 +-
.../examples/getRunbookContent.json | 2 +-
.../examples/getRunbookDraftContent.json | 2 +-
.../examples/replaceRunbookDraftContent.json | 2 +-
.../examples/getRunbookContent.json | 2 +-
.../examples/getRunbookDraftContent.json | 2 +-
.../examples/replaceRunbookDraftContent.json | 2 +-
.../Microsoft.Cdn/stable/2019-12-31/cdn.json | 225 +-
...CustomHttpsUsingCDNManagedCertificate.json | 1 -
.../2019-12-31/examples/Endpoints_Create.json | 322 ++-
.../2019-12-31/examples/Endpoints_Get.json | 34 +-
.../examples/Endpoints_ListByProfile.json | 44 +-
.../2019-12-31/examples/Endpoints_Update.json | 56 +-
.../examples/OriginGroups_Create.json | 70 +-
.../2019-12-31/examples/OriginGroups_Get.json | 15 +-
.../examples/OriginGroups_ListByEndpoint.json | 35 +-
.../examples/OriginGroups_Update.json | 41 +-
.../2019-12-31/examples/Origins_Create.json | 30 +-
.../2019-12-31/examples/Origins_Get.json | 2 +-
.../examples/Origins_ListByEndpoint.json | 2 +-
.../2019-12-31/examples/Origins_Update.json | 6 +-
.../v1.0/examples/SuccessfulQueryRequest.json | 18 +-
.../preview/v2.0/FormRecognizer.json | 4 +-
.../preview/v2.0/examples/AnalyzeBatch.json | 3 +-
.../v2.0/examples/AnalyzeOperationResult.json | 12 +-
.../preview/v2.0/examples/GetModel.json | 9 +-
.../preview/v2.0/examples/GetModels.json | 14 +-
.../preview/v2.0/examples/LayoutBatch.json | 3 +-
.../v2.0/examples/LayoutBatchResult.json | 10 +-
.../preview/v2.0/examples/ReceiptsBatch.json | 3 +-
.../v2.0/examples/ReceiptsBatchResult.json | 43 +-
.../preview/v2.0/examples/TrainBatch.json | 4 +-
.../examples/TrainBatchWithSubFolders.json | 8 +-
.../preview/v3.0/LUIS-Authoring.json | 52 +-
...essfulAddEntityFeatureRelationRequest.json | 40 +-
...essfulAddIntentFeatureRelationRequest.json | 40 +-
...fulDeleteEntityFeatureRelationRequest.json | 40 +-
...fulDeleteIntentFeatureRelationRequest.json | 40 +-
...uccessfulGetEntityFeaturesInfoRequest.json | 2 +-
...uccessfulGetIntentFeaturesInfoRequest.json | 2 +-
...uccessfulReplaceEntityFeaturesRequest.json | 50 +-
...uccessfulReplaceIntentFeaturesRequest.json | 50 +-
.../preview/v1.0/Personalizer.json | 4 +-
.../QnAMaker/stable/v4.0/QnAMakerRuntime.json | 6 +-
.../SuccessfulVisualSearchRequest.json | 16 +-
.../stable/2017-04-18/cognitiveservices.json | 10 +-
.../stable/2019-07-01/compute.json | 26 +-
.../stable/2019-07-01/disk.json | 13 +-
.../examples/CreateADiskEncryptionSet.json | 4 +-
...reateAScaleSetWithAnAzureLoadBalancer.json | 2 +-
.../CreateAScaleSetWithAutomaticRepairs.json | 329 ++-
...ScalesetWithDiskEncryptionSetResource.json | 26 +-
...reateAVmWithDiskEncryptionSetResource.json | 96 +-
...FromAManagedDiskWithDiskEncryptionSet.json | 2 +-
...ageFromASnapshotWithDiskEncryptionSet.json | 2 +-
...ateVirtualMachineScaleSetVMExtensions.json | 92 +-
...eteVirtualMachineScaleSetVMExtensions.json | 26 +-
...GetInformationAboutADiskEncryptionSet.json | 8 +-
.../examples/GetVirtualMachine.json | 212 +-
.../GetVirtualMachineInstanceView.json | 188 +-
...GetVirtualMachineScaleSetVMExtensions.json | 50 +-
...istDiskEncryptionSetsInAResourceGroup.json | 16 +-
...ListDiskEncryptionSetsInASubscription.json | 16 +-
...istVirtualMachineScaleSetVMExtensions.json | 68 +-
...ateVirtualMachineScaleSetVMExtensions.json | 64 +-
.../stable/2019-10-01/consumption.json | 916 +++---
.../ChargesListByModernBillingAccount.json | 2 +-
...BillingAccountGroupByBillingProfileId.json | 6 +-
...ModernBillingAccountGroupByCustomerId.json | 12 +-
...BillingAccountGroupByInvoiceSectionId.json | 6 +-
...BillingProfileGroupByInvoiceSectionId.json | 10 +-
...tByModernBillingProfileInvoiceSection.json | 8 +-
.../CreditSummaryByBillingProfile.json | 2 +-
.../examples/EventsListByBillingProfile.json | 2 +-
.../examples/LotsListByBillingProfile.json | 2 +-
...vationRecommendationsByBillingAccount.json | 4 +-
...vationRecommendationsByBillingProfile.json | 128 +-
...ervationRecommendationsBySubscription.json | 4 +-
...rBySubscriptionForScopeLookBackPeriod.json | 6 +-
.../UsageDetailsListByMCABillingAccount.json | 76 +-
.../UsageDetailsListByMCABillingProfile.json | 76 +-
.../UsageDetailsListByMCACustomer.json | 76 +-
.../UsageDetailsListByMCAInvoiceSection.json | 76 +-
...osmosDBCollectionGetMetricDefinitions.json | 2 +-
...DBDatabaseAccountGetMetricDefinitions.json | 2 +-
.../CosmosDBDatabaseGetMetricDefinitions.json | 2 +-
.../examples/CosmosDBSqlDatabaseGet.json | 4 +-
.../examples/CosmosDBSqlDatabaseList.json | 4 +-
...osmosDBCollectionGetMetricDefinitions.json | 2 +-
...DBDatabaseAccountGetMetricDefinitions.json | 2 +-
.../CosmosDBDatabaseGetMetricDefinitions.json | 2 +-
.../examples/CosmosDBSqlDatabaseGet.json | 4 +-
.../examples/CosmosDBSqlDatabaseList.json | 4 +-
.../stable/2019-10-01/costmanagement.json | 34 +-
.../examples/BillingAccountQuery.json | 100 +-
.../examples/BillingAccountQueryGrouping.json | 74 +-
.../2019-10-01/examples/DepartmentQuery.json | 100 +-
.../examples/DepartmentQueryGrouping.json | 74 +-
.../examples/EnrollmentAccountQuery.json | 100 +-
.../EnrollmentAccountQueryGrouping.json | 88 +-
.../examples/MCABillingAccountQuery.json | 100 +-
.../MCABillingAccountQueryGrouping.json | 74 +-
.../examples/MCABillingProfileQuery.json | 100 +-
.../MCABillingProfileQueryGrouping.json | 74 +-
.../2019-10-01/examples/MCACustomerQuery.json | 100 +-
.../examples/MCACustomerQueryGrouping.json | 74 +-
.../examples/MCAInvoiceSectionQuery.json | 100 +-
.../MCAInvoiceSectionQueryGrouping.json | 74 +-
.../examples/ManagementGroupQuery.json | 100 +-
.../ManagementGroupQueryGrouping.json | 88 +-
.../examples/ResourceGroupQuery.json | 76 +-
.../examples/ResourceGroupQueryGrouping.json | 76 +-
.../examples/SubscriptionQuery.json | 100 +-
.../examples/SubscriptionQueryGrouping.json | 84 +-
.../2018-09-01-preview/customproviders.json | 4 +-
.../preview/2018-11-01-preview/DataShare.json | 2 +-
.../examples/Accounts_Get.json | 2 +-
.../examples/DataSetMappings_Create.json | 2 +-
.../examples/DataSetMappings_Get.json | 2 +-
...taSetMappings_ListByShareSubscription.json | 2 +-
.../DataSetMappings_SqlDB_Create.json | 8 +-
...ngs_SqlDWDataSetToAdlsGen2File_Create.json | 2 +-
.../DataSetMappings_SqlDW_Create.json | 8 +-
.../examples/DataSets_Create.json | 2 +-
.../examples/DataSets_Get.json | 2 +-
.../DataSets_KustoCluster_Create.json | 2 +-
.../DataSets_KustoDatabase_Create.json | 2 +-
.../examples/DataSets_ListByShare.json | 2 +-
.../examples/DataSets_SqlDBTable_Create.json | 2 +-
.../examples/DataSets_SqlDWTable_Create.json | 8 +-
...roviderShareSubscriptions_ListByShare.json | 2 +-
.../stable/2019-11-01/DataShare.json | 2 +-
.../examples/DataSetMappings_Create.json | 2 +-
.../examples/DataSetMappings_Get.json | 2 +-
...taSetMappings_ListByShareSubscription.json | 2 +-
.../DataSetMappings_SqlDB_Create.json | 8 +-
...ngs_SqlDWDataSetToAdlsGen2File_Create.json | 2 +-
.../DataSetMappings_SqlDW_Create.json | 8 +-
.../2019-11-01/examples/DataSets_Create.json | 2 +-
.../2019-11-01/examples/DataSets_Get.json | 2 +-
.../DataSets_KustoCluster_Create.json | 2 +-
.../DataSets_KustoDatabase_Create.json | 2 +-
.../examples/DataSets_ListByShare.json | 2 +-
.../examples/DataSets_SqlDBTable_Create.json | 2 +-
.../examples/DataSets_SqlDWTable_Create.json | 8 +-
...roviderShareSubscriptions_ListByShare.json | 2 +-
.../ShareSubscriptions_ListByAccount.json | 2 +-
.../2019-11-01/examples/Shares_Create.json | 1 -
.../examples/Shares_ListByAccount.json | 1 -
.../stable/2018-01-01/Storage.json | 2 +-
.../preview/2020-01-01-preview/EventGrid.json | 70 +-
.../preview/2019-03-18/HybridCompute.json | 2 +-
.../preview/2019-08-02/HybridCompute.json | 2481 ++++++++---------
.../2019-08-02/examples/GETExtension.json | 68 +-
.../2019-08-02/examples/LISTExtension.json | 70 +-
.../2019-08-02/examples/Machines_Delete.json | 5 +-
.../2019-08-02/examples/Machines_Get.json | 52 +-
.../Machines_ListByResourceGroup.json | 36 +-
.../examples/Machines_ListBySubscription.json | 34 +-
.../2019-08-02/examples/Machines_Update.json | 2 +-
.../2019-08-02/examples/PUTExtension.json | 115 +-
.../2019-08-02/examples/UpdateExtension.json | 91 +-
.../examples/apitoken_create.json | 44 +-
.../examples/apitoken_delete.json | 20 +-
.../examples/apitoken_get.json | 32 +-
.../examples/apitoken_list.json | 38 +-
.../examples/application_get.json | 32 +-
.../examples/application_list.json | 28 +-
.../continuousdataexports_delete.json | 20 +-
.../examples/continuousdataexports_get.json | 52 +-
.../examples/continuousdataexports_list.json | 90 +-
.../examples/continuousdataexports_set.json | 66 +-
.../examples/devicecredentials_get.json | 24 +-
.../examples/devices_cloudproperties_get.json | 24 +-
.../devices_cloudproperties_update.json | 26 +-
.../examples/devices_commands_send.json | 30 +-
.../examples/devices_commandshistory_get.json | 42 +-
.../examples/devices_create.json | 40 +-
.../examples/devices_delete.json | 18 +-
.../examples/devices_get.json | 36 +-
.../examples/devices_list.json | 96 +-
.../examples/devices_list_by_template.json | 80 +-
.../devices_properties_components_get.json | 96 +-
.../devices_properties_components_set.json | 62 +-
.../examples/devices_properties_get.json | 40 +-
.../examples/devices_properties_update.json | 63 +-
.../examples/devices_telemetry_get.json | 30 +-
.../examples/devicetemplates_create.json | 460 +--
.../examples/devicetemplates_delete.json | 20 +-
.../examples/devicetemplates_get.json | 330 +--
.../examples/devicetemplates_get_merged.json | 320 +--
.../examples/devicetemplates_list.json | 336 +--
.../examples/roles_get.json | 22 +-
.../examples/roles_list.json | 48 +-
.../2019-10-28-preview/iotcentralapps.json | 220 +-
.../GetMarketplaceRegistrationDefinition.json | 2 +-
.../2019-09-01/examples/IpGroupsCreate.json | 110 +-
.../2019-09-01/examples/IpGroupsDelete.json | 24 +-
.../2019-09-01/examples/IpGroupsGet.json | 58 +-
.../examples/IpGroupsListByResourceGroup.json | 102 +-
.../examples/IpGroupsListBySubscription.json | 100 +-
.../examples/IpGroupsUpdateTags.json | 70 +-
.../stable/2019-09-01/ipGroups.json | 2 +-
.../stable/2019-09-01/privateLinkService.json | 2 +-
.../2019-04-01/examples/GetCatalog.json | 2 +-
.../preview/2019-04-01/reservations.json | 2 +-
.../2019-10-01-preview/deploymentScripts.json | 7 +-
.../examples/DeploymentScripts_Get.json | 1 -
.../examples/DeploymentScripts_GetLogs.json | 1 -
.../DeploymentScripts_GetLogsDefault.json | 1 -
.../DeploymentScripts_ListBySubscription.json | 3 +-
.../DeploymentScripts_Min_Create.json | 2 +-
.../examples/DeploymentScripts_Update.json | 12 +-
.../examples/SearchServiceCreateIndex.json | 28 +-
.../SearchServiceCreateOrUpdateIndex.json | 24 +-
...SearchServiceCreateOrUpdateSynonymMap.json | 82 +-
.../SearchServiceCreateSynonymMap.json | 62 +-
.../examples/SearchServiceGetIndex.json | 14 +-
.../examples/SearchServiceGetSynonymMap.json | 38 +-
.../examples/SearchServiceListIndexes.json | 8 +-
.../SearchServiceListSynonymMaps.json | 50 +-
.../examples/SearchServiceCreateIndex.json | 28 +-
.../SearchServiceCreateOrUpdateIndex.json | 24 +-
...SearchServiceCreateOrUpdateSynonymMap.json | 82 +-
.../SearchServiceCreateSynonymMap.json | 62 +-
.../examples/SearchServiceGetIndex.json | 14 +-
.../examples/SearchServiceGetSynonymMap.json | 38 +-
.../examples/SearchServiceListIndexes.json | 8 +-
.../SearchServiceListSynonymMaps.json | 50 +-
.../stable/6.2/examples/CreateService-1.json | 4 +-
.../stable/6.2/examples/CreateService-2.json | 4 +-
.../stable/6.2/examples/CreateService-3.json | 6 +-
.../stable/6.2/examples/CreateService-4.json | 6 +-
.../GetContainerLogsDeployedOnNode-2.json | 2 +-
.../stable/6.2/examples/UpdateService-1.json | 2 +-
.../stable/6.3/examples/CreateService-1.json | 4 +-
.../stable/6.3/examples/CreateService-2.json | 4 +-
.../stable/6.3/examples/CreateService-3.json | 6 +-
.../stable/6.3/examples/CreateService-4.json | 6 +-
.../GetContainerLogsDeployedOnNode-2.json | 2 +-
.../stable/6.3/examples/UpdateService-1.json | 2 +-
.../stable/6.4/examples/CreateService-1.json | 4 +-
.../stable/6.4/examples/CreateService-2.json | 4 +-
.../stable/6.4/examples/CreateService-3.json | 6 +-
.../stable/6.4/examples/CreateService-4.json | 6 +-
.../GetContainerLogsDeployedOnNode-2.json | 2 +-
.../stable/6.4/examples/UpdateService-1.json | 2 +-
.../stable/6.5/examples/CreateService-1.json | 4 +-
.../stable/6.5/examples/CreateService-2.json | 4 +-
.../stable/6.5/examples/CreateService-3.json | 6 +-
.../stable/6.5/examples/CreateService-4.json | 6 +-
.../GetContainerLogsDeployedOnNode-2.json | 2 +-
.../stable/6.5/examples/UpdateService-1.json | 2 +-
.../CheckNameAvailabilityServerInvalid.json | 2 +-
...ccountDeletePrivateEndpointConnection.json | 2 +-
...geAccountGetPrivateEndpointConnection.json | 50 +-
...torageAccountListPrivateLinkResources.json | 196 +-
...geAccountPutPrivateEndpointConnection.json | 68 +-
.../stable/2019-04-01/vmwarecloudsimple.json | 2 +-
.../stable/2018-02-01/WebApps.json | 4 +-
262 files changed, 6697 insertions(+), 6715 deletions(-)
diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json
index 63c90804716b..26e43dd604cd 100644
--- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json
+++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json
@@ -2839,4 +2839,4 @@
]
}
]
-}
\ No newline at end of file
+}
diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json
index dee1500d26fa..bbee9ff59cd9 100644
--- a/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json
+++ b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json
@@ -426,8 +426,8 @@
},
"policySigningCertificates": {
"description": "JSON Web Key Set defining a set of X.509 Certificates that will represent the parent certificate for the signing certificate used for policy operations",
- "$ref": "../../../../../common-types/rfcs/rfc7517.json#/definitions/JSONWebKeySet"
- }
+ "$ref": "../../../../../common-types/rfcs/rfc7517.json#/definitions/JSONWebKeySet"
+ }
}
}
},
@@ -438,7 +438,9 @@
"required": true,
"type": "string",
"description": "Client API version.",
- "enum": ["2018-09-01-preview"]
+ "enum": [
+ "2018-09-01-preview"
+ ]
}
}
}
diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getDscNodeReportContent.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getDscNodeReportContent.json
index a7e022751551..ec45158df0a4 100644
--- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getDscNodeReportContent.json
+++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getDscNodeReportContent.json
@@ -10,7 +10,7 @@
"responses": {
"200": {
"headers": {},
- "body": "{\"JobId\":\"903a5ead-140c-11e7-a943-000d3a6140c9\",\"OperationType\":\"Consistency\",\"NodeName\":\"DSCCOMP\",\"IpAddress\":\"172.16.2.5;127.0.0.1;fe80::4c51:9518:aa3c:256a%5;::2000:0:0:0;::1;::2000:0:0:0;2001:0:9d38:78cf:106b:130a:53ef:fdfa;fe80::106b:130a:53ef:fdfa%7\",\"LCMVersion\":\"2.0\",\"ReportFormatVersion\":\"2.0\",\"StartTime\":\"2017-03-28T23:16:27.5870000+00:00\",\"Errors\":[],\"StatusData\":[\"{\\\"IPV4Addresses\\\":[\\\"172.16.2.5\\\",\\\"127.0.0.1\\\"],\\\"CurrentChecksum\\\":\\\"7ABB723643164D83E81032A9607FF164CE685487E5C2A8827284479582853DA4\\\",\\\"MACAddresses\\\":[\\\"00-0D-3A-61-40-C9\\\",\\\"00-00-00-00-00-00-00-E0\\\",\\\"00-00-00-00-00-00-00-E0\\\"],\\\"Type\\\":\\\"Consistency\\\",\\\"HostName\\\":\\\"DSCCOMP\\\",\\\"Locale\\\":\\\"en-US\\\",\\\"StartDate\\\":\\\"2017-03-28T23:16:27.5870000+00:00\\\",\\\"JobID\\\":\\\"{903A5EAD-140C-11E7-A943-000D3A6140C9}\\\",\\\"LCMVersion\\\":\\\"2.0\\\",\\\"IPV6Addresses\\\":[\\\"fe80::4c51:9518:aa3c:256a%5\\\",\\\"::2000:0:0:0\\\",\\\"::1\\\",\\\"::2000:0:0:0\\\",\\\"2001:0:9d38:78cf:106b:130a:53ef:fdfa\\\",\\\"fe80::106b:130a:53ef:fdfa%7\\\"]}\"],\"AdditionalData\":[{\"Key\":\"OSVersion\",\"Value\":\"{\\\"VersionString\\\":\\\"Microsoft Windows NT 10.0.14393.0\\\",\\\"ServicePack\\\":\\\"\\\",\\\"Platform\\\":\\\"Win32NT\\\"}\"},{\"Key\":\"PSVersion\",\"Value\":\"{\\\"CLRVersion\\\":\\\"4.0.30319.42000\\\",\\\"PSVersion\\\":\\\"5.1.14393.693\\\",\\\"BuildVersion\\\":\\\"10.0.14393.693\\\"}\"}]}\r\n\r\n{\"JobId\":\"903a5ead-140c-11e7-a943-000d3a6140c9\",\"OperationType\":\"Consistency\",\"RefreshMode\":\"Pull\",\"Status\":\"Success\",\"ReportFormatVersion\":\"2.0\",\"ConfigurationVersion\":\"2.0.0\",\"StartTime\":\"2017-03-28T23:16:27.5870000+00:00\",\"EndTime\":\"2017-03-28T23:16:27.5870000+00:00\",\"RebootRequested\":\"False\",\"Errors\":[],\"StatusData\":[\"{\\\"StartDate\\\":\\\"2017-03-28T23:16:27.5870000+00:00\\\",\\\"IPV6Addresses\\\":[\\\"fe80::4c51:9518:aa3c:256a%5\\\",\\\"::2000:0:0:0\\\",\\\"::1\\\",\\\"::2000:0:0:0\\\",\\\"2001:0:9d38:78cf:106b:130a:53ef:fdfa\\\",\\\"fe80::106b:130a:53ef:fdfa%7\\\"],\\\"DurationInSeconds\\\":\\\"0\\\",\\\"JobID\\\":\\\"{903A5EAD-140C-11E7-A943-000D3A6140C9}\\\",\\\"CurrentChecksum\\\":\\\"7ABB723643164D83E81032A9607FF164CE685487E5C2A8827284479582853DA4\\\",\\\"MetaData\\\":\\\"Author: Administrator; Name: SetupServer; Version: 2.0.0; GenerationDate: 03\/28\/2017 22:27:31; GenerationHost: CLIENT;\\\",\\\"RebootRequested\\\":\\\"False\\\",\\\"Status\\\":\\\"Success\\\",\\\"IPV4Addresses\\\":[\\\"172.16.2.5\\\",\\\"127.0.0.1\\\"],\\\"LCMVersion\\\":\\\"2.0\\\",\\\"NumberOfResources\\\":\\\"1\\\",\\\"Type\\\":\\\"Consistency\\\",\\\"HostName\\\":\\\"DSCCOMP\\\",\\\"ResourcesInDesiredState\\\":[{\\\"SourceInfo\\\":\\\"::4::32::WindowsFeature\\\",\\\"ModuleName\\\":\\\"PsDesiredStateConfiguration\\\",\\\"DurationInSeconds\\\":\\\"0.25\\\",\\\"InstanceName\\\":\\\"IIS\\\",\\\"StartDate\\\":\\\"2017-03-28T23:16:28.1810000+00:00\\\",\\\"ResourceName\\\":\\\"WindowsFeature\\\",\\\"ModuleVersion\\\":\\\"1.1\\\",\\\"RebootRequested\\\":\\\"False\\\",\\\"ResourceId\\\":\\\"[WindowsFeature]IIS\\\",\\\"ConfigurationName\\\":\\\"SetupServer\\\",\\\"InDesiredState\\\":\\\"True\\\"}],\\\"MACAddresses\\\":[\\\"00-0D-3A-61-40-C9\\\",\\\"00-00-00-00-00-00-00-E0\\\",\\\"00-00-00-00-00-00-00-E0\\\"],\\\"MetaConfiguration\\\":{\\\"AgentId\\\":\\\"CE4DA358-F216-11E6-A942-000D3A6140C9\\\",\\\"SignatureValidations\\\":[],\\\"ConfigurationDownloadManagers\\\":[{\\\"RegistrationKey\\\":\\\"\\\",\\\"ServerURL\\\":\\\"https:\/\/eus2-agentservice-prod-1.azure-automation.net\/accounts\/0e44bf26-7f40-490b-bd6d-2ea0d422ace0\\\",\\\"ResourceId\\\":\\\"[ConfigurationRepositoryWeb]AzureAutomationDSC\\\",\\\"ConfigurationNames\\\":[],\\\"SourceInfo\\\":\\\"C:\\\\\\\\Packages\\\\\\\\Plugins\\\\\\\\Microsoft.Powershell.DSC\\\\\\\\2.22.0.0\\\\\\\\DSCWork\\\\\\\\RegistrationMetaConfigV2.1\\\\\\\\RegistrationMetaConfigV2.ps1::69::9::ConfigurationRepositoryWeb\\\"}],\\\"ActionAfterReboot\\\":\\\"ContinueConfiguration\\\",\\\"LCMCompatibleVersions\\\":[\\\"1.0\\\",\\\"2.0\\\"],\\\"LCMState\\\":\\\"Idle\\\",\\\"ResourceModuleManagers\\\":[{\\\"RegistrationKey\\\":\\\"\\\",\\\"ServerURL\\\":\\\"https:\/\/eus2-agentservice-prod-1.azure-automation.net\/accounts\/0e44bf26-7f40-490b-bd6d-2ea0d422ace0\\\",\\\"ResourceId\\\":\\\"[ResourceRepositoryWeb]AzureAutomationDSC\\\",\\\"SourceInfo\\\":\\\"C:\\\\\\\\Packages\\\\\\\\Plugins\\\\\\\\Microsoft.Powershell.DSC\\\\\\\\2.22.0.0\\\\\\\\DSCWork\\\\\\\\RegistrationMetaConfigV2.1\\\\\\\\RegistrationMetaConfigV2.ps1::76::9::ResourceRepositoryWeb\\\"}],\\\"ReportManagers\\\":[{\\\"RegistrationKey\\\":\\\"\\\",\\\"ServerURL\\\":\\\"https:\/\/eus2-agentservice-prod-1.azure-automation.net\/accounts\/0e44bf26-7f40-490b-bd6d-2ea0d422ace0\\\",\\\"ResourceId\\\":\\\"[ReportServerWeb]AzureAutomationDSC\\\",\\\"SourceInfo\\\":\\\"C:\\\\\\\\Packages\\\\\\\\Plugins\\\\\\\\Microsoft.Powershell.DSC\\\\\\\\2.22.0.0\\\\\\\\DSCWork\\\\\\\\RegistrationMetaConfigV2.1\\\\\\\\RegistrationMetaConfigV2.ps1::82::9::ReportServerWeb\\\"}],\\\"StatusRetentionTimeInDays\\\":\\\"10\\\",\\\"LCMVersion\\\":\\\"2.0\\\",\\\"MaximumDownloadSizeMB\\\":\\\"500\\\",\\\"ConfigurationMode\\\":\\\"ApplyAndMonitor\\\",\\\"RefreshFrequencyMins\\\":\\\"30\\\",\\\"RebootNodeIfNeeded\\\":\\\"False\\\",\\\"SignatureValidationPolicy\\\":\\\"NONE\\\",\\\"RefreshMode\\\":\\\"Pull\\\",\\\"DebugMode\\\":[\\\"NONE\\\"],\\\"CertificateID\\\":\\\"89D09942A682169E05ED0FB5B4BD9A4EA1F169F0\\\",\\\"AllowModuleOverwrite\\\":\\\"False\\\",\\\"ConfigurationModeFrequencyMins\\\":\\\"15\\\",\\\"LCMStateDetail\\\":\\\"\\\"},\\\"Locale\\\":\\\"en-US\\\",\\\"Mode\\\":\\\"Pull\\\"}\"],\"AdditionalData\":[{\"Key\":\"OSVersion\",\"Value\":\"{\\\"VersionString\\\":\\\"Microsoft Windows NT 10.0.14393.0\\\",\\\"ServicePack\\\":\\\"\\\",\\\"Platform\\\":\\\"Win32NT\\\"}\"},{\"Key\":\"PSVersion\",\"Value\":\"{\\\"CLRVersion\\\":\\\"4.0.30319.42000\\\",\\\"PSVersion\\\":\\\"5.1.14393.693\\\",\\\"BuildVersion\\\":\\\"10.0.14393.693\\\"}\"}]}\r\n\r\n"
+ "body": "{\"JobId\":\"903a5ead-140c-11e7-a943-000d3a6140c9\",\"OperationType\":\"Consistency\",\"NodeName\":\"DSCCOMP\",\"IpAddress\":\"172.16.2.5;127.0.0.1;fe80::4c51:9518:aa3c:256a%5;::2000:0:0:0;::1;::2000:0:0:0;2001:0:9d38:78cf:106b:130a:53ef:fdfa;fe80::106b:130a:53ef:fdfa%7\",\"LCMVersion\":\"2.0\",\"ReportFormatVersion\":\"2.0\",\"StartTime\":\"2017-03-28T23:16:27.5870000+00:00\",\"Errors\":[],\"StatusData\":[\"{\\\"IPV4Addresses\\\":[\\\"172.16.2.5\\\",\\\"127.0.0.1\\\"],\\\"CurrentChecksum\\\":\\\"7ABB723643164D83E81032A9607FF164CE685487E5C2A8827284479582853DA4\\\",\\\"MACAddresses\\\":[\\\"00-0D-3A-61-40-C9\\\",\\\"00-00-00-00-00-00-00-E0\\\",\\\"00-00-00-00-00-00-00-E0\\\"],\\\"Type\\\":\\\"Consistency\\\",\\\"HostName\\\":\\\"DSCCOMP\\\",\\\"Locale\\\":\\\"en-US\\\",\\\"StartDate\\\":\\\"2017-03-28T23:16:27.5870000+00:00\\\",\\\"JobID\\\":\\\"{903A5EAD-140C-11E7-A943-000D3A6140C9}\\\",\\\"LCMVersion\\\":\\\"2.0\\\",\\\"IPV6Addresses\\\":[\\\"fe80::4c51:9518:aa3c:256a%5\\\",\\\"::2000:0:0:0\\\",\\\"::1\\\",\\\"::2000:0:0:0\\\",\\\"2001:0:9d38:78cf:106b:130a:53ef:fdfa\\\",\\\"fe80::106b:130a:53ef:fdfa%7\\\"]}\"],\"AdditionalData\":[{\"Key\":\"OSVersion\",\"Value\":\"{\\\"VersionString\\\":\\\"Microsoft Windows NT 10.0.14393.0\\\",\\\"ServicePack\\\":\\\"\\\",\\\"Platform\\\":\\\"Win32NT\\\"}\"},{\"Key\":\"PSVersion\",\"Value\":\"{\\\"CLRVersion\\\":\\\"4.0.30319.42000\\\",\\\"PSVersion\\\":\\\"5.1.14393.693\\\",\\\"BuildVersion\\\":\\\"10.0.14393.693\\\"}\"}]}\r\n\r\n{\"JobId\":\"903a5ead-140c-11e7-a943-000d3a6140c9\",\"OperationType\":\"Consistency\",\"RefreshMode\":\"Pull\",\"Status\":\"Success\",\"ReportFormatVersion\":\"2.0\",\"ConfigurationVersion\":\"2.0.0\",\"StartTime\":\"2017-03-28T23:16:27.5870000+00:00\",\"EndTime\":\"2017-03-28T23:16:27.5870000+00:00\",\"RebootRequested\":\"False\",\"Errors\":[],\"StatusData\":[\"{\\\"StartDate\\\":\\\"2017-03-28T23:16:27.5870000+00:00\\\",\\\"IPV6Addresses\\\":[\\\"fe80::4c51:9518:aa3c:256a%5\\\",\\\"::2000:0:0:0\\\",\\\"::1\\\",\\\"::2000:0:0:0\\\",\\\"2001:0:9d38:78cf:106b:130a:53ef:fdfa\\\",\\\"fe80::106b:130a:53ef:fdfa%7\\\"],\\\"DurationInSeconds\\\":\\\"0\\\",\\\"JobID\\\":\\\"{903A5EAD-140C-11E7-A943-000D3A6140C9}\\\",\\\"CurrentChecksum\\\":\\\"7ABB723643164D83E81032A9607FF164CE685487E5C2A8827284479582853DA4\\\",\\\"MetaData\\\":\\\"Author: Administrator; Name: SetupServer; Version: 2.0.0; GenerationDate: 03/28/2017 22:27:31; GenerationHost: CLIENT;\\\",\\\"RebootRequested\\\":\\\"False\\\",\\\"Status\\\":\\\"Success\\\",\\\"IPV4Addresses\\\":[\\\"172.16.2.5\\\",\\\"127.0.0.1\\\"],\\\"LCMVersion\\\":\\\"2.0\\\",\\\"NumberOfResources\\\":\\\"1\\\",\\\"Type\\\":\\\"Consistency\\\",\\\"HostName\\\":\\\"DSCCOMP\\\",\\\"ResourcesInDesiredState\\\":[{\\\"SourceInfo\\\":\\\"::4::32::WindowsFeature\\\",\\\"ModuleName\\\":\\\"PsDesiredStateConfiguration\\\",\\\"DurationInSeconds\\\":\\\"0.25\\\",\\\"InstanceName\\\":\\\"IIS\\\",\\\"StartDate\\\":\\\"2017-03-28T23:16:28.1810000+00:00\\\",\\\"ResourceName\\\":\\\"WindowsFeature\\\",\\\"ModuleVersion\\\":\\\"1.1\\\",\\\"RebootRequested\\\":\\\"False\\\",\\\"ResourceId\\\":\\\"[WindowsFeature]IIS\\\",\\\"ConfigurationName\\\":\\\"SetupServer\\\",\\\"InDesiredState\\\":\\\"True\\\"}],\\\"MACAddresses\\\":[\\\"00-0D-3A-61-40-C9\\\",\\\"00-00-00-00-00-00-00-E0\\\",\\\"00-00-00-00-00-00-00-E0\\\"],\\\"MetaConfiguration\\\":{\\\"AgentId\\\":\\\"CE4DA358-F216-11E6-A942-000D3A6140C9\\\",\\\"SignatureValidations\\\":[],\\\"ConfigurationDownloadManagers\\\":[{\\\"RegistrationKey\\\":\\\"\\\",\\\"ServerURL\\\":\\\"https://eus2-agentservice-prod-1.azure-automation.net/accounts/0e44bf26-7f40-490b-bd6d-2ea0d422ace0\\\",\\\"ResourceId\\\":\\\"[ConfigurationRepositoryWeb]AzureAutomationDSC\\\",\\\"ConfigurationNames\\\":[],\\\"SourceInfo\\\":\\\"C:\\\\\\\\Packages\\\\\\\\Plugins\\\\\\\\Microsoft.Powershell.DSC\\\\\\\\2.22.0.0\\\\\\\\DSCWork\\\\\\\\RegistrationMetaConfigV2.1\\\\\\\\RegistrationMetaConfigV2.ps1::69::9::ConfigurationRepositoryWeb\\\"}],\\\"ActionAfterReboot\\\":\\\"ContinueConfiguration\\\",\\\"LCMCompatibleVersions\\\":[\\\"1.0\\\",\\\"2.0\\\"],\\\"LCMState\\\":\\\"Idle\\\",\\\"ResourceModuleManagers\\\":[{\\\"RegistrationKey\\\":\\\"\\\",\\\"ServerURL\\\":\\\"https://eus2-agentservice-prod-1.azure-automation.net/accounts/0e44bf26-7f40-490b-bd6d-2ea0d422ace0\\\",\\\"ResourceId\\\":\\\"[ResourceRepositoryWeb]AzureAutomationDSC\\\",\\\"SourceInfo\\\":\\\"C:\\\\\\\\Packages\\\\\\\\Plugins\\\\\\\\Microsoft.Powershell.DSC\\\\\\\\2.22.0.0\\\\\\\\DSCWork\\\\\\\\RegistrationMetaConfigV2.1\\\\\\\\RegistrationMetaConfigV2.ps1::76::9::ResourceRepositoryWeb\\\"}],\\\"ReportManagers\\\":[{\\\"RegistrationKey\\\":\\\"\\\",\\\"ServerURL\\\":\\\"https://eus2-agentservice-prod-1.azure-automation.net/accounts/0e44bf26-7f40-490b-bd6d-2ea0d422ace0\\\",\\\"ResourceId\\\":\\\"[ReportServerWeb]AzureAutomationDSC\\\",\\\"SourceInfo\\\":\\\"C:\\\\\\\\Packages\\\\\\\\Plugins\\\\\\\\Microsoft.Powershell.DSC\\\\\\\\2.22.0.0\\\\\\\\DSCWork\\\\\\\\RegistrationMetaConfigV2.1\\\\\\\\RegistrationMetaConfigV2.ps1::82::9::ReportServerWeb\\\"}],\\\"StatusRetentionTimeInDays\\\":\\\"10\\\",\\\"LCMVersion\\\":\\\"2.0\\\",\\\"MaximumDownloadSizeMB\\\":\\\"500\\\",\\\"ConfigurationMode\\\":\\\"ApplyAndMonitor\\\",\\\"RefreshFrequencyMins\\\":\\\"30\\\",\\\"RebootNodeIfNeeded\\\":\\\"False\\\",\\\"SignatureValidationPolicy\\\":\\\"NONE\\\",\\\"RefreshMode\\\":\\\"Pull\\\",\\\"DebugMode\\\":[\\\"NONE\\\"],\\\"CertificateID\\\":\\\"89D09942A682169E05ED0FB5B4BD9A4EA1F169F0\\\",\\\"AllowModuleOverwrite\\\":\\\"False\\\",\\\"ConfigurationModeFrequencyMins\\\":\\\"15\\\",\\\"LCMStateDetail\\\":\\\"\\\"},\\\"Locale\\\":\\\"en-US\\\",\\\"Mode\\\":\\\"Pull\\\"}\"],\"AdditionalData\":[{\"Key\":\"OSVersion\",\"Value\":\"{\\\"VersionString\\\":\\\"Microsoft Windows NT 10.0.14393.0\\\",\\\"ServicePack\\\":\\\"\\\",\\\"Platform\\\":\\\"Win32NT\\\"}\"},{\"Key\":\"PSVersion\",\"Value\":\"{\\\"CLRVersion\\\":\\\"4.0.30319.42000\\\",\\\"PSVersion\\\":\\\"5.1.14393.693\\\",\\\"BuildVersion\\\":\\\"10.0.14393.693\\\"}\"}]}\r\n\r\n"
}
}
}
diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getRunbookContent.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getRunbookContent.json
index 13530844117f..362002ecc781 100644
--- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getRunbookContent.json
+++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getRunbookContent.json
@@ -11,7 +11,7 @@
"headers": {
"Content-Type": "text/powershell"
},
- "body": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: \/\/aka.ms\/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n#>\r\nworkflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }"
+ "body": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: //aka.ms/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n#>\r\nworkflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }"
}
}
}
diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getRunbookDraftContent.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getRunbookDraftContent.json
index 13530844117f..362002ecc781 100644
--- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getRunbookDraftContent.json
+++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getRunbookDraftContent.json
@@ -11,7 +11,7 @@
"headers": {
"Content-Type": "text/powershell"
},
- "body": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: \/\/aka.ms\/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n#>\r\nworkflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }"
+ "body": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: //aka.ms/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n#>\r\nworkflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }"
}
}
}
diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/replaceRunbookDraftContent.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/replaceRunbookDraftContent.json
index 44dd0fcc84e0..bdd4c1e4beb7 100644
--- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/replaceRunbookDraftContent.json
+++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/replaceRunbookDraftContent.json
@@ -5,7 +5,7 @@
"automationAccountName": "ContoseAutomationAccount",
"runbookName": "Get-AzureVMTutorial",
"api-version": "2015-10-31",
- "runbookContent": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: \/\/aka.ms\/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n #>\r\n workflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }"
+ "runbookContent": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: //aka.ms/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n #>\r\n workflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }"
},
"responses": {
"202": {
diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbookContent.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbookContent.json
index 3b302bd2a268..90664fb2eaa5 100644
--- a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbookContent.json
+++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbookContent.json
@@ -11,7 +11,7 @@
"headers": {
"Content-Type": "text/powershell"
},
- "body": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: \/\/aka.ms\/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n#>\r\nworkflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }"
+ "body": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: //aka.ms/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n#>\r\nworkflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }"
}
}
}
diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbookDraftContent.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbookDraftContent.json
index 3b302bd2a268..90664fb2eaa5 100644
--- a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbookDraftContent.json
+++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbookDraftContent.json
@@ -11,7 +11,7 @@
"headers": {
"Content-Type": "text/powershell"
},
- "body": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: \/\/aka.ms\/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n#>\r\nworkflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }"
+ "body": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: //aka.ms/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n#>\r\nworkflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }"
}
}
}
diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/replaceRunbookDraftContent.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/replaceRunbookDraftContent.json
index 14fe1a06cfd3..e46d7b30ddf8 100644
--- a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/replaceRunbookDraftContent.json
+++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/replaceRunbookDraftContent.json
@@ -5,7 +5,7 @@
"automationAccountName": "ContoseAutomationAccount",
"runbookName": "Get-AzureVMTutorial",
"api-version": "2018-06-30",
- "runbookContent": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: \/\/aka.ms\/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n #>\r\n workflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }"
+ "runbookContent": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: //aka.ms/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n #>\r\n workflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }"
},
"responses": {
"202": {
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/cdn.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/cdn.json
index 32c1c764eb85..2d83acd4dca9 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/cdn.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/cdn.json
@@ -20,7 +20,6 @@
"azure_auth": [
"user_impersonation"
]
-
}
],
"securityDefinitions": {
@@ -1276,7 +1275,7 @@
"required": true,
"type": "string"
},
- {
+ {
"name": "originName",
"in": "path",
"description": "Name of the origin that is unique within the endpoint.",
@@ -1408,58 +1407,58 @@
"description": "Deletes an existing origin within an endpoint.",
"operationId": "Origins_Delete",
"x-ms-examples": {
- "Origins_Delete": {
- "$ref": "./examples/Origins_Delete.json"
- }
+ "Origins_Delete": {
+ "$ref": "./examples/Origins_Delete.json"
+ }
},
"parameters": [
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "name": "profileName",
- "in": "path",
- "description": "Name of the CDN profile which is unique within the resource group.",
- "required": true,
- "type": "string"
- },
- {
- "name": "endpointName",
- "in": "path",
- "description": "Name of the endpoint under the profile which is unique globally.",
- "required": true,
- "type": "string"
- },
- {
- "name": "originName",
- "in": "path",
- "description": "Name of the origin which is unique within the endpoint.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted and the operation will complete asynchronously."
- },
- "204": {
- "description": "No Content. The request has been accepted but the origin was not found."
- },
- "default": {
- "description": "CDN error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "originName",
+ "in": "path",
+ "description": "Name of the origin which is unique within the endpoint.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
}
- }
- },
- "x-ms-long-running-operation": true
- }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "No Content. The request has been accepted but the origin was not found."
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/originGroups": {
"get": {
@@ -1605,7 +1604,7 @@
"required": true,
"type": "string"
},
- {
+ {
"name": "originGroupName",
"in": "path",
"description": "Name of the origin group which is unique within the endpoint.",
@@ -1737,58 +1736,58 @@
"description": "Deletes an existing origin group within an endpoint.",
"operationId": "OriginGroups_Delete",
"x-ms-examples": {
- "OriginGroups_Delete": {
- "$ref": "./examples/OriginGroups_Delete.json"
- }
+ "OriginGroups_Delete": {
+ "$ref": "./examples/OriginGroups_Delete.json"
+ }
},
"parameters": [
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "name": "profileName",
- "in": "path",
- "description": "Name of the CDN profile which is unique within the resource group.",
- "required": true,
- "type": "string"
- },
- {
- "name": "endpointName",
- "in": "path",
- "description": "Name of the endpoint under the profile which is unique globally.",
- "required": true,
- "type": "string"
- },
- {
- "name": "originGroupName",
- "in": "path",
- "description": "Name of the origin group which is unique within the endpoint.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted and the operation will complete asynchronously."
- },
- "204": {
- "description": "No Content. The request has been accepted but the origin was not found."
- },
- "default": {
- "description": "CDN error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "profileName",
+ "in": "path",
+ "description": "Name of the CDN profile which is unique within the resource group.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "endpointName",
+ "in": "path",
+ "description": "Name of the endpoint under the profile which is unique globally.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "originGroupName",
+ "in": "path",
+ "description": "Name of the origin group which is unique within the endpoint.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
}
- }
- },
- "x-ms-long-running-operation": true
- }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "No Content. The request has been accepted but the origin was not found."
+ },
+ "default": {
+ "description": "CDN error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains": {
"get": {
@@ -2575,7 +2574,7 @@
"$ref": "#/definitions/DeepCreatedOrigin"
}
},
- "originGroups": {
+ "originGroups": {
"description": "The origin groups comprising of origins that are used for load balancing the traffic based on availability.",
"type": "array",
"items": {
@@ -2690,7 +2689,7 @@
"$ref": "#/definitions/GeoFilter"
}
},
- "defaultOriginGroup":{
+ "defaultOriginGroup": {
"description": "A reference to the origin group.",
"type": "object",
"$ref": "#/definitions/ResourceReference"
@@ -4205,11 +4204,11 @@
"maximum": 50,
"minimum": 0
},
- "responseBasedOriginErrorDetectionSettings":{
+ "responseBasedOriginErrorDetectionSettings": {
"description": "The JSON object that contains the properties to determine origin health using real requests/responses.This property is currently not supported.",
"type": "object",
"$ref": "#/definitions/ResponseBasedOriginErrorDetectionParameters"
- }
+ }
},
"x-ms-azure-resource": true
},
@@ -4464,7 +4463,7 @@
}
}
},
- "OriginGroupUpdateParameters": {
+ "OriginGroupUpdateParameters": {
"type": "object",
"description": "Origin group properties needed for origin group creation or update.",
"properties": {
@@ -4497,11 +4496,11 @@
"maximum": 50,
"minimum": 0
},
- "responseBasedOriginErrorDetectionSettings":{
+ "responseBasedOriginErrorDetectionSettings": {
"description": "The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.",
"type": "object",
"$ref": "#/definitions/ResponseBasedOriginErrorDetectionParameters"
- }
+ }
}
},
"HealthProbeParameters": {
@@ -4514,9 +4513,9 @@
"probeRequestType": {
"description": "The type of health probe request that is made.",
"enum": [
- "NotSet",
- "GET",
- "HEAD"
+ "NotSet",
+ "GET",
+ "HEAD"
],
"type": "string",
"x-ms-enum": {
@@ -4567,7 +4566,7 @@
"maximum": 100,
"minimum": 0
},
- "httpErrorRanges" : {
+ "httpErrorRanges": {
"description": "The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.",
"type": "array",
"items": {
@@ -4593,7 +4592,7 @@
}
}
},
- "OriginGroupListResult": {
+ "OriginGroupListResult": {
"description": "Result of the request to list origin groups. It contains a list of origin groups objects and a URL link to get the next set of results.",
"properties": {
"value": {
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json
index 05dabcb7a16d..22892a293d40 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json
@@ -35,4 +35,3 @@
}
}
}
-
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Create.json
index 4bf186ccbce7..3cd43a0ae1e6 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Create.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Create.json
@@ -6,11 +6,11 @@
"profileName": "profile1",
"endpointName": "endpoint1",
"endpoint": {
- "location": "WestUs",
- "tags": {
+ "location": "WestUs",
+ "tags": {
"key1": "value1"
- },
- "properties": {
+ },
+ "properties": {
"originHostHeader": "www.bing.com",
"originPath": "/photos",
"contentTypesToCompress": [
@@ -21,8 +21,7 @@
"isHttpAllowed": true,
"isHttpsAllowed": true,
"queryStringCachingBehavior": "BypassCaching",
- "defaultOriginGroup":
- {
+ "defaultOriginGroup": {
"id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1"
},
"deliveryPolicy": {
@@ -81,54 +80,53 @@
{
"name": "origin1",
"properties": {
- "hostName": "www.someDomain1.net",
- "httpPort": 80,
- "httpsPort": 443,
- "originHostHeader": "www.someDomain1.net",
- "priority": 1,
- "weight": 50,
- "enabled": true
- }
+ "hostName": "www.someDomain1.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain1.net",
+ "priority": 1,
+ "weight": 50,
+ "enabled": true
+ }
},
- {
+ {
"name": "origin2",
"properties": {
- "hostName": "www.someDomain2.net",
- "httpPort": 80,
- "httpsPort": 443,
- "originHostHeader": "www.someDomain2.net",
- "priority": 2,
- "weight": 50,
- "enabled": true
- }
+ "hostName": "www.someDomain2.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain2.net",
+ "priority": 2,
+ "weight": 50,
+ "enabled": true
+ }
}
],
- "originGroups": [
- {
- "name": "originGroup1",
+ "originGroups": [
+ {
+ "name": "originGroup1",
"properties": {
- "healthProbeSettings":
- {
+ "healthProbeSettings": {
"probePath": "/health.aspx",
"probeRequestType": "GET",
"probeProtocol": "Http",
"probeIntervalInSeconds": 120
- },
- "origins": [
- {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
- },
- {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin2"
- }
- ],
- "responseBasedOriginErrorDetectionSettings":{
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin2"
+ }
+ ],
+ "responseBasedOriginErrorDetectionSettings": {
"responseBasedDetectedErrorTypes": "TcpErrorsOnly",
- "responseBasedFailoverThresholdPercentage" : 10
- }
- }
- }
- ]
+ "responseBasedFailoverThresholdPercentage": 10
+ }
+ }
+ }
+ ]
}
}
},
@@ -151,62 +149,60 @@
"isHttpsAllowed": true,
"queryStringCachingBehavior": "BypassCaching",
"originPath": "/photos",
- "defaultOriginGroup":
- {
+ "defaultOriginGroup": {
"id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1"
},
"origins": [
- {
- "name": "origin1",
- "properties": {
- "hostName": "www.someDomain1.net",
- "httpPort": 80,
- "httpsPort": 443,
- "originHostHeader": "www.someDomain1.net",
- "priority": 1,
- "weight": 50,
- "enabled": true
- }
- },
- {
- "name": "origin2",
- "properties": {
- "hostName": "www.someDomain2.net",
- "httpPort": 80,
- "httpsPort": 443,
- "originHostHeader": "www.someDomain2.net",
- "priority": 2,
- "weight": 50,
- "enabled": true
- }
- }
+ {
+ "name": "origin1",
+ "properties": {
+ "hostName": "www.someDomain1.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain1.net",
+ "priority": 1,
+ "weight": 50,
+ "enabled": true
+ }
+ },
+ {
+ "name": "origin2",
+ "properties": {
+ "hostName": "www.someDomain2.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain2.net",
+ "priority": 2,
+ "weight": 50,
+ "enabled": true
+ }
+ }
],
- "originGroups": [
- {
- "name": "originGroup1",
- "properties": {
- "healthProbeSettings":
- {
+ "originGroups": [
+ {
+ "name": "originGroup1",
+ "properties": {
+ "healthProbeSettings": {
"probePath": "/health.aspx",
"probeRequestType": "GET",
"probeProtocol": "Http",
"probeIntervalInSeconds": 120
},
"origins": [
- {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
- },
- {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin2"
- }
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin2"
+ }
],
- "responseBasedOriginErrorDetectionSettings":{
+ "responseBasedOriginErrorDetectionSettings": {
"responseBasedDetectedErrorTypes": "TcpErrorsOnly",
- "responseBasedFailoverThresholdPercentage" : 10
+ "responseBasedFailoverThresholdPercentage": 10
}
- }
- }
- ],
+ }
+ }
+ ],
"contentTypesToCompress": [
"text/html",
"application/octet-stream"
@@ -289,62 +285,60 @@
"isHttpsAllowed": true,
"queryStringCachingBehavior": "BypassCaching",
"originPath": "/photos",
- "defaultOriginGroup":
- {
+ "defaultOriginGroup": {
"id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1"
},
"origins": [
- {
- "name": "origin1",
- "properties": {
- "hostName": "www.someDomain1.net",
- "httpPort": 80,
- "httpsPort": 443,
- "originHostHeader": "www.someDomain1.net",
- "priority": 1,
- "weight": 50,
- "enabled": true
- }
- },
- {
- "name": "origin2",
- "properties": {
- "hostName": "www.someDomain2.net",
- "httpPort": 80,
- "httpsPort": 443,
- "originHostHeader": "www.someDomain2.net",
- "priority": 2,
- "weight": 50,
- "enabled": true
- }
- }
+ {
+ "name": "origin1",
+ "properties": {
+ "hostName": "www.someDomain1.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain1.net",
+ "priority": 1,
+ "weight": 50,
+ "enabled": true
+ }
+ },
+ {
+ "name": "origin2",
+ "properties": {
+ "hostName": "www.someDomain2.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain2.net",
+ "priority": 2,
+ "weight": 50,
+ "enabled": true
+ }
+ }
],
- "originGroups": [
- {
- "name": "originGroup1",
- "properties": {
- "healthProbeSettings":
- {
+ "originGroups": [
+ {
+ "name": "originGroup1",
+ "properties": {
+ "healthProbeSettings": {
"probePath": "/health.aspx",
"probeRequestType": "GET",
"probeProtocol": "Http",
"probeIntervalInSeconds": 120
},
"origins": [
- {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
- },
- {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin2"
- }
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin2"
+ }
],
- "responseBasedOriginErrorDetectionSettings":{
+ "responseBasedOriginErrorDetectionSettings": {
"responseBasedDetectedErrorTypes": "TcpErrorsOnly",
- "responseBasedFailoverThresholdPercentage" : 10
+ "responseBasedFailoverThresholdPercentage": 10
}
- }
- }
- ],
+ }
+ }
+ ],
"contentTypesToCompress": [
"text/html",
"application/octet-stream"
@@ -427,62 +421,60 @@
"isHttpsAllowed": true,
"queryStringCachingBehavior": "BypassCaching",
"originPath": "/photos",
- "defaultOriginGroup":
- {
+ "defaultOriginGroup": {
"id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1"
},
"origins": [
{
"name": "origin1",
"properties": {
- "hostName": "www.someDomain1.net",
- "httpPort": 80,
- "httpsPort": 443,
- "originHostHeader": "www.someDomain1.net",
- "priority": 1,
- "weight": 50,
- "enabled": true
- }
+ "hostName": "www.someDomain1.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain1.net",
+ "priority": 1,
+ "weight": 50,
+ "enabled": true
+ }
},
{
"name": "origin2",
"properties": {
- "hostName": "www.someDomain2.net",
- "httpPort": 80,
- "httpsPort": 443,
- "originHostHeader": "www.someDomain2.net",
- "priority": 2,
- "weight": 50,
- "enabled": true
- }
+ "hostName": "www.someDomain2.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain2.net",
+ "priority": 2,
+ "weight": 50,
+ "enabled": true
+ }
}
],
"originGroups": [
{
"name": "originGroup1",
"properties": {
- "healthProbeSettings":
+ "healthProbeSettings": {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
{
- "probePath": "/health.aspx",
- "probeRequestType": "GET",
- "probeProtocol": "Http",
- "probeIntervalInSeconds": 120
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
},
- "origins": [
- {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
- },
- {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin2"
- }
- ],
- "responseBasedOriginErrorDetectionSettings":{
- "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
- "responseBasedFailoverThresholdPercentage" : 10
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin2"
}
- }
+ ],
+ "responseBasedOriginErrorDetectionSettings": {
+ "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
+ "responseBasedFailoverThresholdPercentage": 10
+ }
+ }
}
- ],
+ ],
"contentTypesToCompress": [
"text/html",
"application/octet-stream"
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Get.json
index caf52f2fe9c6..d91fc54690d6 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Get.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Get.json
@@ -33,36 +33,34 @@
"originHostHeader": "www.someDomain2.net",
"priority": 2,
"weight": 50,
- "enabled": true
+ "enabled": true
}
}
],
"originGroups": [
{
"name": "originGroup1",
- "properties": {
- "healthProbeSettings":
- {
- "probePath": "/health.aspx",
- "probeRequestType": "GET",
- "probeProtocol": "Http",
- "probeIntervalInSeconds": 120
- },
- "origins": [
- {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-bing-com"
- }
- ]
- }
- }
+ "properties": {
+ "healthProbeSettings": {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-bing-com"
+ }
+ ]
+ }
+ }
],
"contentTypesToCompress": [],
"isCompressionEnabled": false,
"optimizationType": "DynamicSiteAcceleration",
"probePath": "/image",
"geoFilters": [],
- "defaultOriginGroup":
- {
+ "defaultOriginGroup": {
"id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1"
}
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_ListByProfile.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_ListByProfile.json
index 6b2fac6099c3..62c8889c5a53 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_ListByProfile.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_ListByProfile.json
@@ -34,41 +34,39 @@
"originHostHeader": "www.someDomain2.net",
"priority": 2,
"weight": 50,
- "enabled": true
+ "enabled": true
}
}
],
"originGroups": [
{
"name": "originGroup1",
- "properties": {
- "healthProbeSettings":
- {
- "probePath": "/health.aspx",
- "probeRequestType": "GET",
- "probeProtocol": "Http",
- "probeIntervalInSeconds": 120
- },
- "origins": [
- {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-bing-com"
- }
- ],
- "responseBasedOriginErrorDetectionSettings":{
- "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
- "responseBasedFailoverThresholdPercentage" : 10
- }
- }
- }
+ "properties": {
+ "healthProbeSettings": {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-bing-com"
+ }
+ ],
+ "responseBasedOriginErrorDetectionSettings": {
+ "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
+ "responseBasedFailoverThresholdPercentage": 10
+ }
+ }
+ }
],
"contentTypesToCompress": [],
"isCompressionEnabled": false,
"optimizationType": "DynamicSiteAcceleration",
"probePath": "/image",
"geoFilters": [],
- "defaultOriginGroup":
- {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1"
+ "defaultOriginGroup": {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1"
}
}
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Update.json
index 6edad1d0499c..c185fdafe882 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Update.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Endpoints_Update.json
@@ -40,7 +40,7 @@
"originHostHeader": "www.someDomain2.net",
"priority": 2,
"weight": 50,
- "enabled": true
+ "enabled": true
}
}
],
@@ -48,24 +48,22 @@
{
"name": "originGroup1",
"properties": {
- "healthProbeSettings":
- {
+ "healthProbeSettings": {
"probePath": "/health.aspx",
"probeRequestType": "GET",
"probeProtocol": "Http",
"probeIntervalInSeconds": 120
- },
- "origins": [
+ },
+ "origins": [
{
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-bing-com"
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-bing-com"
}
- ]
+ ]
}
- }
+ }
],
- "defaultOriginGroup":
- {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1"
+ "defaultOriginGroup": {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1"
},
"contentTypesToCompress": [],
"isCompressionEnabled": false,
@@ -103,37 +101,35 @@
"originHostHeader": "www.someDomain2.net",
"priority": 2,
"weight": 50,
- "enabled": true
+ "enabled": true
}
}
],
"originGroups": [
{
"name": "originGroup1",
- "properties": {
- "healthProbeSettings":
- {
- "probePath": "/health.aspx",
- "probeRequestType": "GET",
- "probeProtocol": "Http",
- "probeIntervalInSeconds": 120
- },
- "origins": [
- {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-bing-com"
- }
- ]
- }
- }
+ "properties": {
+ "healthProbeSettings": {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-bing-com"
+ }
+ ]
+ }
+ }
],
"contentTypesToCompress": [],
"isCompressionEnabled": false,
"optimizationType": null,
"probePath": null,
"geoFilters": [],
- "defaultOriginGroup":
- {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1"
+ "defaultOriginGroup": {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1"
}
}
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Create.json
index 89527e565ae0..132310af4084 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Create.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Create.json
@@ -8,21 +8,20 @@
"originGroupName": "origingroup1",
"originGroup": {
"properties": {
- "healthProbeSettings":
- {
+ "healthProbeSettings": {
"probePath": "/health.aspx",
"probeRequestType": "GET",
"probeProtocol": "Http",
"probeIntervalInSeconds": 120
},
"origins": [
- {
+ {
"id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
- }
- ],
- "responseBasedOriginErrorDetectionSettings":{
+ }
+ ],
+ "responseBasedOriginErrorDetectionSettings": {
"responseBasedDetectedErrorTypes": "TcpErrorsOnly",
- "responseBasedFailoverThresholdPercentage" : 10
+ "responseBasedFailoverThresholdPercentage": 10
}
}
}
@@ -36,21 +35,20 @@
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Active",
- "healthProbeSettings":
- {
+ "healthProbeSettings": {
"probePath": "/health.aspx",
"probeRequestType": "GET",
"probeProtocol": "Http",
"probeIntervalInSeconds": 120
},
"origins": [
- {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
- }
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
+ }
],
- "responseBasedOriginErrorDetectionSettings":{
- "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
- "responseBasedFailoverThresholdPercentage" : 10
+ "responseBasedOriginErrorDetectionSettings": {
+ "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
+ "responseBasedFailoverThresholdPercentage": 10
}
}
}
@@ -63,21 +61,20 @@
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Active",
- "healthProbeSettings":
- {
+ "healthProbeSettings": {
"probePath": "/health.aspx",
"probeRequestType": "GET",
"probeProtocol": "Http",
"probeIntervalInSeconds": 120
},
"origins": [
- {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
- }
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
+ }
],
- "responseBasedOriginErrorDetectionSettings":{
- "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
- "responseBasedFailoverThresholdPercentage" : 10
+ "responseBasedOriginErrorDetectionSettings": {
+ "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
+ "responseBasedFailoverThresholdPercentage": 10
}
}
}
@@ -90,21 +87,20 @@
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Active",
- "healthProbeSettings":
- {
- "probePath": "/health.aspx",
- "probeRequestType": "GET",
- "probeProtocol": "Http",
- "probeIntervalInSeconds": 120
- },
- "origins": [
- {
+ "healthProbeSettings": {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
"id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
- }
- ],
- "responseBasedOriginErrorDetectionSettings":{
- "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
- "responseBasedFailoverThresholdPercentage" : 10
+ }
+ ],
+ "responseBasedOriginErrorDetectionSettings": {
+ "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
+ "responseBasedFailoverThresholdPercentage": 10
}
}
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Get.json
index 5f4d343bcd95..75572fe93958 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Get.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Get.json
@@ -16,28 +16,27 @@
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Active",
- "healthProbeSettings":
- {
+ "healthProbeSettings": {
"probePath": "/health.aspx",
"probeRequestType": "GET",
"probeProtocol": "Http",
"probeIntervalInSeconds": 120
},
"origins": [
- {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
- }
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
+ }
],
- "responseBasedOriginErrorDetectionSettings":{
+ "responseBasedOriginErrorDetectionSettings": {
"responseBasedDetectedErrorTypes": "TcpAndHttpErrors",
- "responseBasedFailoverThresholdPercentage" : 10,
+ "responseBasedFailoverThresholdPercentage": 10,
"httpErrorRanges": [
{
"begin": 500,
"end": 505
}
]
- }
+ }
}
}
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_ListByEndpoint.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_ListByEndpoint.json
index 8968df51f610..e6fcbb1d488c 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_ListByEndpoint.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_ListByEndpoint.json
@@ -15,24 +15,23 @@
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/originGroups/originGroup1",
"type": "Microsoft.Cdn/profiles/endpoints/origingroups",
"properties": {
- "provisioningState": "Succeeded",
- "resourceState": "Active",
- "healthProbeSettings":
- {
- "probePath": "/health.aspx",
- "probeRequestType": "GET",
- "probeProtocol": "Http",
- "probeIntervalInSeconds": 120
- },
- "origins": [
- {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
- }
- ],
- "responseBasedOriginErrorDetectionSettings":{
- "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
- "responseBasedFailoverThresholdPercentage" : 10
- }
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "healthProbeSettings": {
+ "probePath": "/health.aspx",
+ "probeRequestType": "GET",
+ "probeProtocol": "Http",
+ "probeIntervalInSeconds": 120
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin1"
+ }
+ ],
+ "responseBasedOriginErrorDetectionSettings": {
+ "responseBasedDetectedErrorTypes": "TcpErrorsOnly",
+ "responseBasedFailoverThresholdPercentage": 10
+ }
}
}
]
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Update.json
index 5953d0650306..d1842b465ada 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Update.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/OriginGroups_Update.json
@@ -7,20 +7,19 @@
"endpointName": "endpoint1",
"originGroupName": "originGroup1",
"originGroupUpdateProperties": {
- "properties": {
- "healthProbeSettings":
- {
+ "properties": {
+ "healthProbeSettings": {
"probePath": "/health.aspx",
"probeRequestType": "GET",
"probeProtocol": "Http",
"probeIntervalInSeconds": 120
- },
- "origins": [
- {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin2"
- }
- ]
- }
+ },
+ "origins": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin2"
+ }
+ ]
+ }
}
},
"responses": {
@@ -32,20 +31,19 @@
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Active",
- "healthProbeSettings":
- {
+ "healthProbeSettings": {
"probePath": "/health.aspx",
"probeRequestType": "GET",
"probeProtocol": "Http",
"probeIntervalInSeconds": 120
},
"origins": [
- {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin2"
- }
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin2"
+ }
]
- }
- }
+ }
+ }
},
"202": {
"body": {
@@ -55,17 +53,16 @@
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Active",
- "healthProbeSettings":
- {
+ "healthProbeSettings": {
"probePath": "/health.aspx",
"probeRequestType": "GET",
"probeProtocol": "Http",
"probeIntervalInSeconds": 120
},
"origins": [
- {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin2"
- }
+ {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/origin2"
+ }
]
}
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Create.json
index c07ba15b24fc..d3c150a3c64c 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Create.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Create.json
@@ -9,17 +9,17 @@
"origin": {
"location": "WestUs",
"tags": {
- "key1": "value1"
- },
- "properties": {
- "hostName": "www.someDomain.net",
- "httpPort": 80,
- "httpsPort": 443,
- "originHostHeader": "www.someDomain.net",
- "priority": 1,
- "weight": 50,
- "enabled": true
- }
+ "key1": "value1"
+ },
+ "properties": {
+ "hostName": "www.someDomain.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "originHostHeader": "www.someDomain.net",
+ "priority": 1,
+ "weight": 50,
+ "enabled": true
+ }
}
},
"responses": {
@@ -41,8 +41,8 @@
"originHostHeader": "www.someDomain.net",
"priority": 1,
"weight": 50,
- "enabled": true
- }
+ "enabled": true
+ }
}
},
"201": {
@@ -63,8 +63,8 @@
"originHostHeader": "www.someDomain.net",
"priority": 1,
"weight": 50,
- "enabled": true
- }
+ "enabled": true
+ }
}
},
"202": {
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Get.json
index 1dcacc1e17d5..be96f1425202 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Get.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Get.json
@@ -23,7 +23,7 @@
"hostName": "www.someDomain.net",
"httpPort": null,
"httpsPort": null,
- "originHostHeader": "www.someDomain.net",
+ "originHostHeader": "www.someDomain.net",
"priority": 1,
"weight": 50,
"enabled": true
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_ListByEndpoint.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_ListByEndpoint.json
index 31019276116b..4c2643e643a8 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_ListByEndpoint.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_ListByEndpoint.json
@@ -24,7 +24,7 @@
"hostName": "www.someDomain.net",
"httpPort": null,
"httpsPort": null,
- "originHostHeader": "www.someDomain.net",
+ "originHostHeader": "www.someDomain.net",
"priority": 1,
"weight": 50,
"enabled": true
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Update.json
index 6d2897ec3ec6..ba0d895812e3 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Update.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-12-31/examples/Origins_Update.json
@@ -13,7 +13,7 @@
"properties": {
"httpPort": 42,
"httpsPort": 43,
- "originHostHeader": "www.someDomain2.net",
+ "originHostHeader": "www.someDomain2.net",
"priority": 1,
"weight": 50,
"enabled": true
@@ -36,7 +36,7 @@
"hostName": "www.someDomain.net",
"httpPort": 42,
"httpsPort": 43,
- "originHostHeader": "www.someDomain2.net",
+ "originHostHeader": "www.someDomain2.net",
"priority": 1,
"weight": 50,
"enabled": true
@@ -58,7 +58,7 @@
"hostName": "www.someDomain.net",
"httpPort": 42,
"httpsPort": 43,
- "originHostHeader": "www.someDomain2.net",
+ "originHostHeader": "www.someDomain2.net",
"priority": 1,
"weight": 50,
"enabled": true
diff --git a/specification/cognitiveservices/data-plane/AutoSuggest/stable/v1.0/examples/SuccessfulQueryRequest.json b/specification/cognitiveservices/data-plane/AutoSuggest/stable/v1.0/examples/SuccessfulQueryRequest.json
index 3a95b0c412a3..eb48fae13c61 100644
--- a/specification/cognitiveservices/data-plane/AutoSuggest/stable/v1.0/examples/SuccessfulQueryRequest.json
+++ b/specification/cognitiveservices/data-plane/AutoSuggest/stable/v1.0/examples/SuccessfulQueryRequest.json
@@ -15,61 +15,61 @@
},
"suggestionGroups": [
{
- "_type": "Suggestions\/SuggestionGroup",
+ "_type": "Suggestions/SuggestionGroup",
"name": "Web",
"searchSuggestions": [
{
"_type": "SearchAction",
- "url": "https:\/\/www.bing.com\/search?q=amazon&FORM=USBAPI",
+ "url": "https://www.bing.com/search?q=amazon&FORM=USBAPI",
"displayText": "amazon",
"query": "amazon",
"searchKind": "WebSearch"
},
{
"_type": "SearchAction",
- "url": "https:\/\/www.bing.com\/search?q=alaska+airlines&FORM=USBAPI",
+ "url": "https://www.bing.com/search?q=alaska+airlines&FORM=USBAPI",
"displayText": "alaska airlines",
"query": "alaska airlines",
"searchKind": "WebSearch"
},
{
"_type": "SearchAction",
- "url": "https:\/\/www.bing.com\/search?q=aol&FORM=USBAPI",
+ "url": "https://www.bing.com/search?q=aol&FORM=USBAPI",
"displayText": "aol",
"query": "aol",
"searchKind": "WebSearch"
},
{
"_type": "SearchAction",
- "url": "https:\/\/www.bing.com\/search?q=amazon+prime&FORM=USBAPI",
+ "url": "https://www.bing.com/search?q=amazon+prime&FORM=USBAPI",
"displayText": "amazon prime",
"query": "amazon prime",
"searchKind": "WebSearch"
},
{
"_type": "SearchAction",
- "url": "https:\/\/www.bing.com\/search?q=airbnb&FORM=USBAPI",
+ "url": "https://www.bing.com/search?q=airbnb&FORM=USBAPI",
"displayText": "airbnb",
"query": "airbnb",
"searchKind": "WebSearch"
},
{
"_type": "SearchAction",
- "url": "https:\/\/www.bing.com\/search?q=american+express&FORM=USBAPI",
+ "url": "https://www.bing.com/search?q=american+express&FORM=USBAPI",
"displayText": "american express",
"query": "american express",
"searchKind": "WebSearch"
},
{
"_type": "SearchAction",
- "url": "https:\/\/www.bing.com\/search?q=autotrader&FORM=USBAPI",
+ "url": "https://www.bing.com/search?q=autotrader&FORM=USBAPI",
"displayText": "autotrader",
"query": "autotrader",
"searchKind": "WebSearch"
},
{
"_type": "SearchAction",
- "url": "https:\/\/www.bing.com\/search?q=autozone&FORM=USBAPI",
+ "url": "https://www.bing.com/search?q=autozone&FORM=USBAPI",
"displayText": "autozone",
"query": "autozone",
"searchKind": "WebSearch"
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/FormRecognizer.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/FormRecognizer.json
index c8d731724ddc..d6e561e33ef8 100644
--- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/FormRecognizer.json
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/FormRecognizer.json
@@ -621,7 +621,7 @@
"description": "A pdf document or image (jpg,png,tiff) file to analyze.",
"type": "object"
},
- "ModelInfo":{
+ "ModelInfo": {
"description": "Basic custom model information.",
"type": "object",
"required": [
@@ -716,7 +716,7 @@
"modelInfo"
],
"properties": {
- "modelInfo":{
+ "modelInfo": {
"$ref": "#/definitions/ModelInfo",
"description": "Basic custom model information."
},
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/AnalyzeBatch.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/AnalyzeBatch.json
index 30c55dcbfae4..82886aff5613 100644
--- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/AnalyzeBatch.json
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/AnalyzeBatch.json
@@ -4,8 +4,7 @@
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "{API key}",
"modelId": "{Model Id}",
- "body": {
- }
+ "body": {}
},
"responses": {
"202": {
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/AnalyzeOperationResult.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/AnalyzeOperationResult.json
index 79916579278d..ac3e01056b61 100644
--- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/AnalyzeOperationResult.json
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/AnalyzeOperationResult.json
@@ -9,16 +9,16 @@
},
"responses": {
"200": {
- "body":{
+ "body": {
"status": "running",
"createdDateTime": "2019-05-01T10:53:21Z",
"lastUpdatedDateTime": "2019-05-01T10:53:23Z",
"analyzeResult": {
- "version":"v2.0",
- "readResults":[],
- "pageResults":[],
- "documentResults":[],
- "errors":[]
+ "version": "v2.0",
+ "readResults": [],
+ "pageResults": [],
+ "documentResults": [],
+ "errors": []
}
}
}
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/GetModel.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/GetModel.json
index 7a2fa74b83e3..3a34fea1ae13 100644
--- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/GetModel.json
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/GetModel.json
@@ -28,11 +28,10 @@
}
},
"trainResult": {
- "trainingDocuments":[],
- "fields":[],
- "averageModelAccuracy":0,
- "errors":[
- ]
+ "trainingDocuments": [],
+ "fields": [],
+ "averageModelAccuracy": 0,
+ "errors": []
}
}
}
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/GetModels.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/GetModels.json
index 01064aba1fb1..1ebb45e86268 100644
--- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/GetModels.json
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/GetModels.json
@@ -9,26 +9,26 @@
"responses": {
"200": {
"body": {
- "summary":{
- "count":5,
- "limit":5000,
- "lastUpdatedDateTime":"2019-05-01T10:53:21Z"
+ "summary": {
+ "count": 5,
+ "limit": 5000,
+ "lastUpdatedDateTime": "2019-05-01T10:53:21Z"
},
"modelList": [
{
"modelId": "f973e3c1-1148-43bb-bea8-49d0603ab3a8",
"status": "ready",
"createdDateTime": "2019-05-01T10:53:21Z",
- "lastUpdatedDateTime": "2019-05-01T10:53:23Z"
+ "lastUpdatedDateTime": "2019-05-01T10:53:23Z"
},
{
"modelId": "f973e3c1-0001-43bb-bea8-49d0603ab3a8",
"status": "ready",
"createdDateTime": "2019-05-01T10:53:21Z",
- "lastUpdatedDateTime": "2019-05-01T10:53:23Z"
+ "lastUpdatedDateTime": "2019-05-01T10:53:23Z"
}
],
- "nextLink":""
+ "nextLink": ""
}
}
}
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/LayoutBatch.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/LayoutBatch.json
index 80a1ca6ad32a..653d97348f96 100644
--- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/LayoutBatch.json
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/LayoutBatch.json
@@ -4,8 +4,7 @@
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "{API key}",
"language": "en",
- "body": {
- }
+ "body": {}
},
"responses": {
"202": {
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/LayoutBatchResult.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/LayoutBatchResult.json
index c694deac5388..099b8a2df49a 100644
--- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/LayoutBatchResult.json
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/LayoutBatchResult.json
@@ -9,16 +9,16 @@
},
"responses": {
"200": {
- "body":{
+ "body": {
"status": "succeeded",
"createdDateTime": "2019-05-01T10:53:21Z",
"lastUpdatedDateTime": "2019-05-01T10:53:23Z",
"analyzeResult": {
- "version":"v2.0",
- "readResults":[],
- "pageResults":[]
+ "version": "v2.0",
+ "readResults": [],
+ "pageResults": []
}
- }
+ }
}
}
}
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/ReceiptsBatch.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/ReceiptsBatch.json
index 8e59339b7846..9b5b2ba0f8dd 100644
--- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/ReceiptsBatch.json
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/ReceiptsBatch.json
@@ -3,8 +3,7 @@
"endpoint": "{endpoint}",
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "{API key}",
- "body": {
- }
+ "body": {}
},
"responses": {
"202": {
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/ReceiptsBatchResult.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/ReceiptsBatchResult.json
index 4b03d3e3150a..ac3e01056b61 100644
--- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/ReceiptsBatchResult.json
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/ReceiptsBatchResult.json
@@ -1,27 +1,26 @@
{
- "parameters": {
- "endpoint": "{endpoint}",
- "Content-Type": "application/json",
- "Ocp-Apim-Subscription-Key": "{API key}",
- "modelId": "{model Id}",
- "resultId": "{result Id}",
- "body": {}
- },
- "responses": {
- "200": {
- "body":{
- "status": "running",
- "createdDateTime": "2019-05-01T10:53:21Z",
- "lastUpdatedDateTime": "2019-05-01T10:53:23Z",
- "analyzeResult": {
- "version":"v2.0",
- "readResults":[],
- "pageResults":[],
- "documentResults":[],
- "errors":[]
- }
+ "parameters": {
+ "endpoint": "{endpoint}",
+ "Content-Type": "application/json",
+ "Ocp-Apim-Subscription-Key": "{API key}",
+ "modelId": "{model Id}",
+ "resultId": "{result Id}",
+ "body": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "status": "running",
+ "createdDateTime": "2019-05-01T10:53:21Z",
+ "lastUpdatedDateTime": "2019-05-01T10:53:23Z",
+ "analyzeResult": {
+ "version": "v2.0",
+ "readResults": [],
+ "pageResults": [],
+ "documentResults": [],
+ "errors": []
}
}
}
}
-
\ No newline at end of file
+}
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/TrainBatch.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/TrainBatch.json
index ceece7e8dd20..e46593143196 100644
--- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/TrainBatch.json
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/TrainBatch.json
@@ -13,6 +13,6 @@
"headers": {
"Location": "{endpoint}/formrecognizer/v2.0-preview/custom/models/{modelId}"
}
- }
+ }
}
-}
\ No newline at end of file
+}
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/TrainBatchWithSubFolders.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/TrainBatchWithSubFolders.json
index 09ab7be43ad2..d802556456f5 100644
--- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/TrainBatchWithSubFolders.json
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/TrainBatchWithSubFolders.json
@@ -15,9 +15,9 @@
},
"responses": {
"201": {
- "headers": {
- "Location": "{endpoint}/formrecognizer/v2.0-preview/custom/models/{modelId}"
- }
- }
+ "headers": {
+ "Location": "{endpoint}/formrecognizer/v2.0-preview/custom/models/{modelId}"
+ }
+ }
}
}
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json
index 44dc8baf0e6d..0ac2369a08a0 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json
@@ -1381,18 +1381,18 @@
}
],
"responses": {
- "200": {
- "description": "A list of feature information objects for the intent.",
- "schema": {
- "$ref": "#/definitions/FeaturesPerModelResponseObject"
- }
- },
- "default": {
- "description": "Error Response.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
+ "200": {
+ "description": "A list of feature information objects for the intent.",
+ "schema": {
+ "$ref": "#/definitions/FeaturesPerModelResponseObject"
+ }
+ },
+ "default": {
+ "description": "Error Response.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
},
"produces": [
"application/json"
@@ -1564,18 +1564,18 @@
}
],
"responses": {
- "200": {
- "description": "A list of feature information objects for the entity.",
- "schema": {
- "$ref": "#/definitions/FeaturesPerModelResponseObject"
- }
- },
- "default": {
- "description": "Error Response.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
+ "200": {
+ "description": "A list of feature information objects for the entity.",
+ "schema": {
+ "$ref": "#/definitions/FeaturesPerModelResponseObject"
+ }
+ },
+ "default": {
+ "description": "Error Response.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
},
"produces": [
"application/json"
@@ -10134,14 +10134,14 @@
}
}
},
- "FeaturesPerModelResponseObject":{
+ "FeaturesPerModelResponseObject": {
"description": "A list of feature information objects per model.",
"type": "array",
"items": {
"$ref": "#/definitions/ModelFeatureInformation"
}
},
- "ModelFeatureInformation":{
+ "ModelFeatureInformation": {
"description": "An object containing the model feature information either the model name or feature name.",
"type": "object",
"properties": {
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddEntityFeatureRelationRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddEntityFeatureRelationRequest.json
index 03f889dfae4f..57e58c5c4f0c 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddEntityFeatureRelationRequest.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddEntityFeatureRelationRequest.json
@@ -1,21 +1,21 @@
{
- "parameters": {
- "Endpoint": "{Endpoint}",
- "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
- "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
- "versionId": "0.1",
- "entityId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f",
- "featureRelationCreateObject": {
- "featureName": "Phraselist1"
- }
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "code": "Success",
- "message": "Operation Successful"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "Endpoint": "{Endpoint}",
+ "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
+ "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
+ "versionId": "0.1",
+ "entityId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f",
+ "featureRelationCreateObject": {
+ "featureName": "Phraselist1"
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "code": "Success",
+ "message": "Operation Successful"
+ }
+ }
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddIntentFeatureRelationRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddIntentFeatureRelationRequest.json
index 232262f1e80e..2d7ee0655191 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddIntentFeatureRelationRequest.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddIntentFeatureRelationRequest.json
@@ -1,21 +1,21 @@
{
- "parameters": {
- "Endpoint": "{Endpoint}",
- "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
- "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
- "versionId": "0.1",
- "intentId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f",
- "featureRelationCreateObject": {
- "featureName": "Phraselist1"
- }
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "code": "Success",
- "message": "Operation Successful"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "Endpoint": "{Endpoint}",
+ "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
+ "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
+ "versionId": "0.1",
+ "intentId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f",
+ "featureRelationCreateObject": {
+ "featureName": "Phraselist1"
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "code": "Success",
+ "message": "Operation Successful"
+ }
+ }
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteEntityFeatureRelationRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteEntityFeatureRelationRequest.json
index bead51b78678..77bcdbd7c486 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteEntityFeatureRelationRequest.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteEntityFeatureRelationRequest.json
@@ -1,21 +1,21 @@
{
- "parameters": {
- "Endpoint": "{Endpoint}",
- "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
- "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
- "versionId": "0.1",
- "entityId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f",
- "featureRelationDeleteObject": {
- "featureName": "Phraselist1"
- }
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "code": "Success",
- "message": "Operation Successful"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "Endpoint": "{Endpoint}",
+ "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
+ "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
+ "versionId": "0.1",
+ "entityId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f",
+ "featureRelationDeleteObject": {
+ "featureName": "Phraselist1"
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "code": "Success",
+ "message": "Operation Successful"
+ }
+ }
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteIntentFeatureRelationRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteIntentFeatureRelationRequest.json
index d59cbeb99c3f..90d8a50f666a 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteIntentFeatureRelationRequest.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteIntentFeatureRelationRequest.json
@@ -1,21 +1,21 @@
{
- "parameters": {
- "Endpoint": "{Endpoint}",
- "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
- "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
- "versionId": "0.1",
- "intentId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f",
- "featureRelationDeleteObject": {
- "featureName": "Phraselist1"
- }
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "code": "Success",
- "message": "Operation Successful"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "Endpoint": "{Endpoint}",
+ "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
+ "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
+ "versionId": "0.1",
+ "intentId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f",
+ "featureRelationDeleteObject": {
+ "featureName": "Phraselist1"
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "code": "Success",
+ "message": "Operation Successful"
+ }
+ }
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetEntityFeaturesInfoRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetEntityFeaturesInfoRequest.json
index b52055a2289c..6bc5840cc97f 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetEntityFeaturesInfoRequest.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetEntityFeaturesInfoRequest.json
@@ -19,4 +19,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetIntentFeaturesInfoRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetIntentFeaturesInfoRequest.json
index 12130103cb4b..8836884506bf 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetIntentFeaturesInfoRequest.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetIntentFeaturesInfoRequest.json
@@ -19,4 +19,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceEntityFeaturesRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceEntityFeaturesRequest.json
index 3f682ab3ac02..816fd7bb83d8 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceEntityFeaturesRequest.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceEntityFeaturesRequest.json
@@ -1,26 +1,26 @@
{
- "parameters": {
- "Endpoint": "{Endpoint}",
- "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
- "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
- "versionId": "0.1",
- "entityId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f",
- "featureRelationsUpdateObject": [
- {
- "featureName": "Phraselist1"
- },
- {
- "modelName": "None"
- }
- ]
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "code": "Success",
- "message": "Operation Successful"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "Endpoint": "{Endpoint}",
+ "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
+ "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
+ "versionId": "0.1",
+ "entityId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f",
+ "featureRelationsUpdateObject": [
+ {
+ "featureName": "Phraselist1"
+ },
+ {
+ "modelName": "None"
+ }
+ ]
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "code": "Success",
+ "message": "Operation Successful"
+ }
+ }
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceIntentFeaturesRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceIntentFeaturesRequest.json
index a5246bf438ca..64834fe5bd24 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceIntentFeaturesRequest.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceIntentFeaturesRequest.json
@@ -1,26 +1,26 @@
{
- "parameters": {
- "Endpoint": "{Endpoint}",
- "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
- "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
- "versionId": "0.1",
- "intentId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f",
- "featureRelationsUpdateObject": [
- {
- "featureName": "Phraselist1"
- },
- {
- "modelName": "None"
- }
- ]
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "code": "Success",
- "message": "Operation Successful"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "Endpoint": "{Endpoint}",
+ "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000",
+ "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b",
+ "versionId": "0.1",
+ "intentId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f",
+ "featureRelationsUpdateObject": [
+ {
+ "featureName": "Phraselist1"
+ },
+ {
+ "modelName": "None"
+ }
+ ]
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "code": "Success",
+ "message": "Operation Successful"
+ }
+ }
+ }
+}
diff --git a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/Personalizer.json b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/Personalizer.json
index 5850d1809521..ea99baedc0b5 100644
--- a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/Personalizer.json
+++ b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/Personalizer.json
@@ -277,7 +277,7 @@
}
},
"RankableAction": {
- "description": "An action with it\u0027s associated features used for ranking.",
+ "description": "An action with it's associated features used for ranking.",
"required": [
"id",
"features"
@@ -317,7 +317,7 @@
"readOnly": true
},
"rewardActionId": {
- "description": "The action chosen by the Personalizer service. This is the action for which to report the reward. This might not be the \r\nfirst found in \u0027ranking\u0027 if an action in the request in first position was part of the excluded ids.",
+ "description": "The action chosen by the Personalizer service. This is the action for which to report the reward. This might not be the \r\nfirst found in 'ranking' if an action in the request in first position was part of the excluded ids.",
"maxLength": 256,
"type": "string",
"readOnly": true
diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json
index 4707f478307c..5011550648dc 100644
--- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json
+++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json
@@ -357,9 +357,9 @@
}
]
},
- "rankerType": {
- "type": "string",
- "description": "Optional field. Set to 'QuestionOnly' for using a question only Ranker."
+ "rankerType": {
+ "type": "string",
+ "description": "Optional field. Set to 'QuestionOnly' for using a question only Ranker."
},
"strictFilters": {
"type": "array",
diff --git a/specification/cognitiveservices/data-plane/VisualSearch/preview/v1.0/examples/SuccessfulVisualSearchRequest.json b/specification/cognitiveservices/data-plane/VisualSearch/preview/v1.0/examples/SuccessfulVisualSearchRequest.json
index ee56d96d053c..443a25e6d143 100644
--- a/specification/cognitiveservices/data-plane/VisualSearch/preview/v1.0/examples/SuccessfulVisualSearchRequest.json
+++ b/specification/cognitiveservices/data-plane/VisualSearch/preview/v1.0/examples/SuccessfulVisualSearchRequest.json
@@ -14,7 +14,7 @@
"tags": [
{
"image": {
- "thumbnailUrl": "https:\/\/tse4.mm.bing.net\/th?q=Space+Needle&pid=Api&mkt=en-US&adlt=moderate"
+ "thumbnailUrl": "https://tse4.mm.bing.net/th?q=Space+Needle&pid=Api&mkt=en-US&adlt=moderate"
},
"displayName": "Space Needle",
"boundingBox": {
@@ -60,13 +60,13 @@
"_type": "ImageAction",
"actionType": "ImageById",
"image": {
- "webSearchUrl": "https:\/\/www.bing.com\/images\/search?view=detailv2&FORM=OIIRPO",
+ "webSearchUrl": "https://www.bing.com/images/search?view=detailv2&FORM=OIIRPO",
"name": "",
- "contentUrl": "https:\/\/assets0.roadtrippers.com\/uploads\/poi_gallery_image\/image\/319703805\/-quality_60_-interlace_Plane_-resize_1024x480_U__-gravity_center_-extent_1024x480\/poi_gallery_image-image-9e436dcb-f4af-4965-9fd6-d526b1af1758.jpg",
- "hostPageUrl": "https:\/\/assets0.roadtrippers.com\/uploads\/poi_gallery_image\/image\/319703805\/-quality_60_-interlace_Plane_-resize_1024x480_U__-gravity_center_-extent_1024x480\/poi_gallery_image-image-9e436dcb-f4af-4965-9fd6-d526b1af1758.jpg",
+ "contentUrl": "https://assets0.roadtrippers.com/uploads/poi_gallery_image/image/319703805/-quality_60_-interlace_Plane_-resize_1024x480_U__-gravity_center_-extent_1024x480/poi_gallery_image-image-9e436dcb-f4af-4965-9fd6-d526b1af1758.jpg",
+ "hostPageUrl": "https://assets0.roadtrippers.com/uploads/poi_gallery_image/image/319703805/-quality_60_-interlace_Plane_-resize_1024x480_U__-gravity_center_-extent_1024x480/poi_gallery_image-image-9e436dcb-f4af-4965-9fd6-d526b1af1758.jpg",
"contentSize": "47157 B",
"encodingFormat": "jpeg",
- "hostPageDisplayUrl": "https:\/\/assets0.roadtrippers.com\/uploads\/poi_gallery_image\/image\/319703805\/-quality_60_-interlace_Plane_-resize_1024x480_U__-gravity_center_-extent_1024x480\/poi_gallery_image-image-9e436dcb-f4af-4965-9fd6-d526b1af1758.jpg",
+ "hostPageDisplayUrl": "https://assets0.roadtrippers.com/uploads/poi_gallery_image/image/319703805/-quality_60_-interlace_Plane_-resize_1024x480_U__-gravity_center_-extent_1024x480/poi_gallery_image-image-9e436dcb-f4af-4965-9fd6-d526b1af1758.jpg",
"width": 1024,
"height": 480,
"thumbnail": {
@@ -80,7 +80,7 @@
},
{
"image": {
- "thumbnailUrl": "https:\/\/tse4.mm.bing.net\/th?q=city&pid=Api&mkt=en-US&adlt=moderate"
+ "thumbnailUrl": "https://tse4.mm.bing.net/th?q=city&pid=Api&mkt=en-US&adlt=moderate"
},
"displayName": "city",
"boundingBox": {
@@ -124,9 +124,9 @@
"actions": [
{
"_type": "ImageAction",
- "webSearchUrl": "https:\/\/www.bing.com\/images\/search?q=city",
+ "webSearchUrl": "https://www.bing.com/images/search?q=city",
"displayName": "city",
- "serviceUrl": "https:\/\/www.bing.com\/api\/v7\/images\/search?q=city",
+ "serviceUrl": "https://www.bing.com/api/v7/images/search?q=city",
"actionType": "ImageResults"
}
]
diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json
index b5988fc4f27a..578647611f03 100644
--- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json
+++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json
@@ -124,7 +124,7 @@
"description": "The name of Cognitive Services account."
},
{
- "name": "account",
+ "name": "account",
"in": "body",
"required": true,
"schema": {
@@ -875,14 +875,14 @@
"eventHubConnectionString": {
"type": "string",
"description": "(Personalization Only) The flag to enable statistics of Bing Search.",
- "pattern": "^( *)Endpoint=sb://(.*);( *)SharedAccessKeyName=(.*);( *)SharedAccessKey=(.*)$",
- "maxLength": 1000
+ "pattern": "^( *)Endpoint=sb://(.*);( *)SharedAccessKeyName=(.*);( *)SharedAccessKey=(.*)$",
+ "maxLength": 1000
},
"storageAccountConnectionString": {
"type": "string",
"description": "(Personalization Only) The storage account connection string.",
- "pattern": "^(( *)DefaultEndpointsProtocol=(http|https)( *);( *))?AccountName=(.*)AccountKey=(.*)EndpointSuffix=(.*)$",
- "maxLength": 1000
+ "pattern": "^(( *)DefaultEndpointsProtocol=(http|https)( *);( *))?AccountName=(.*)AccountKey=(.*)EndpointSuffix=(.*)$",
+ "maxLength": 1000
}
},
"description": "The api properties for special APIs."
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
index 94b1e654dd27..d628559d8a76 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json
@@ -4498,7 +4498,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions/{vmExtensionName}": {
"put": {
"tags": [
- "VirtualMachineScaleSetVMExtensions"
+ "VirtualMachineScaleSetVMExtensions"
],
"operationId": "VirtualMachineScaleSetVMExtensions_CreateOrUpdate",
"description": "The operation to create or update the VMSS VM extension.",
@@ -4576,7 +4576,7 @@
},
"patch": {
"tags": [
- "VirtualMachineScaleSetVMExtensions"
+ "VirtualMachineScaleSetVMExtensions"
],
"operationId": "VirtualMachineScaleSetVMExtensions_Update",
"description": "The operation to update the VMSS VM extension.",
@@ -4785,7 +4785,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions": {
"get": {
"tags": [
- "VirtualMachineScaleSetVMExtensions"
+ "VirtualMachineScaleSetVMExtensions"
],
"operationId": "VirtualMachineScaleSetVMExtensions_List",
"description": "The operation to get all extensions of an instance in Virtual Machine Scaleset.",
@@ -7151,13 +7151,13 @@
},
"diskIOPSReadWrite": {
"type": "integer",
- "readOnly": true,
+ "readOnly": true,
"format": "int64",
"description": "Specifies the Read-Write IOPS for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set."
},
"diskMBpsReadWrite": {
"type": "integer",
- "readOnly": true,
+ "readOnly": true,
"format": "int64",
"description": "Specifies the bandwidth in MB per second for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set."
}
@@ -7427,7 +7427,7 @@
"description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The default value is 5 minutes (PT5M)."
},
"maxInstanceRepairsPercent": {
- "type": "integer",
+ "type": "integer",
"description": "The percentage (capacity of scaleset) of virtual machines that will be simultaneously repaired. The default value is 20%."
}
},
@@ -8067,9 +8067,9 @@
}
},
"allOf": [
- {
- "$ref": "#/definitions/ImageDisk"
- }
+ {
+ "$ref": "#/definitions/ImageDisk"
+ }
],
"required": [
"osType",
@@ -8086,9 +8086,9 @@
}
},
"allOf": [
- {
- "$ref": "#/definitions/ImageDisk"
- }
+ {
+ "$ref": "#/definitions/ImageDisk"
+ }
],
"required": [
"lun"
@@ -8097,7 +8097,7 @@
},
"ImageDisk": {
"properties": {
- "snapshot": {
+ "snapshot": {
"$ref": "#/definitions/SubResource",
"description": "The snapshot."
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json
index 85990d2b960a..ca9fa69cbe3c 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json
@@ -926,7 +926,7 @@
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
- }
+ }
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskEncryptionSets": {
"get": {
@@ -965,7 +965,7 @@
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
- }
+ }
}
},
"definitions": {
@@ -1458,9 +1458,9 @@
"type": {
"type": "string",
"description": "The type of key used to encrypt the data of the disk.",
- "enum": [
- "EncryptionAtRestWithPlatformKey",
- "EncryptionAtRestWithCustomerKey"
+ "enum": [
+ "EncryptionAtRestWithPlatformKey",
+ "EncryptionAtRestWithCustomerKey"
],
"x-ms-enum": {
"name": "EncryptionType",
@@ -1547,8 +1547,7 @@
},
"DiskEncryptionSetUpdateProperties": {
"properties": {
- "activeKey":
- {
+ "activeKey": {
"$ref": "#/definitions/KeyVaultAndKeyReference"
}
},
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateADiskEncryptionSet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateADiskEncryptionSet.json
index 6c71c6e1c87c..cf0f403d3086 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateADiskEncryptionSet.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateADiskEncryptionSet.json
@@ -10,8 +10,8 @@
"type": "SystemAssigned"
},
"properties": {
- "activeKey": {
- "sourceVault": {
+ "activeKey": {
+ "sourceVault": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
},
"keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAnAzureLoadBalancer.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAnAzureLoadBalancer.json
index bc3631a913c8..0bbb9bfc658f 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAnAzureLoadBalancer.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAnAzureLoadBalancer.json
@@ -51,7 +51,7 @@
"publicIPAddressConfiguration": {
"name": "{vmss-name}",
"properties": {
- "publicIPAddressVersion": "IPv4"
+ "publicIPAddressVersion": "IPv4"
}
},
"loadBalancerInboundNatPools": [
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAutomaticRepairs.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAutomaticRepairs.json
index b24cd1e84500..04db97b2889d 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAutomaticRepairs.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAutomaticRepairs.json
@@ -1,18 +1,85 @@
{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "{vmss-name}",
+ "api-version": "2019-07-01",
"parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "vmScaleSetName": "{vmss-name}",
- "api-version": "2019-07-01",
- "parameters": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "location": "westus",
+ "properties": {
+ "overprovision": true,
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "automaticRepairsPolicy": {
+ "enabled": true,
+ "gracePeriod": "PT3M",
+ "maxInstanceRepairsPercent": 100
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
"sku": {
"tier": "Standard",
"capacity": 3,
"name": "Standard_D1_v2"
},
- "location": "westus",
+ "name": "{vmss-name}",
"properties": {
+ "singlePlacementGroup": true,
"overprovision": true,
+ "uniqueId": "d053ec5a-8da6-495f-ab13-38216503c6d7",
"virtualMachineProfile": {
"storageProfile": {
"imageReference": {
@@ -32,13 +99,20 @@
"osProfile": {
"computerNamePrefix": "{vmss-name}",
"adminUsername": "{your-username}",
- "adminPassword": "{your-password}"
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
},
"networkProfile": {
"networkInterfaceConfigurations": [
{
"name": "{vmss-name}",
"properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
"primary": true,
"enableIPForwarding": true,
"ipConfigurations": [
@@ -46,11 +120,13 @@
"name": "{vmss-name}",
"properties": {
"subnet": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"
- }
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
}
}
- ]
+ ],
+ "enableAcceleratedNetworking": false
}
}
]
@@ -60,172 +136,95 @@
"mode": "Manual"
},
"automaticRepairsPolicy": {
- "enabled": true,
+ "enabled": true,
"gracePeriod": "PT3M",
"maxInstanceRepairsPercent": 100
- }
- }
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
}
},
- "responses": {
- "200": {
- "body": {
- "sku": {
- "tier": "Standard",
- "capacity": 3,
- "name": "Standard_D1_v2"
- },
- "name": "{vmss-name}",
- "properties": {
- "singlePlacementGroup": true,
- "overprovision": true,
- "uniqueId": "d053ec5a-8da6-495f-ab13-38216503c6d7",
- "virtualMachineProfile": {
- "storageProfile": {
- "imageReference": {
- "sku": "2016-Datacenter",
- "publisher": "MicrosoftWindowsServer",
- "version": "latest",
- "offer": "WindowsServer"
- },
- "osDisk": {
- "caching": "ReadWrite",
- "managedDisk": {
- "storageAccountType": "Standard_LRS"
- },
- "createOption": "FromImage"
- }
- },
- "osProfile": {
- "computerNamePrefix": "{vmss-name}",
- "adminUsername": "{your-username}",
- "secrets": [],
- "windowsConfiguration": {
- "provisionVMAgent": true,
- "enableAutomaticUpdates": true
- }
+ "201": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "d053ec5a-8da6-495f-ab13-38216503c6d7",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
},
- "networkProfile": {
- "networkInterfaceConfigurations": [
- {
- "name": "{vmss-name}",
- "properties": {
- "dnsSettings": {
- "dnsServers": []
- },
- "primary": true,
- "enableIPForwarding": true,
- "ipConfigurations": [
- {
- "name": "{vmss-name}",
- "properties": {
- "subnet": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
- },
- "privateIPAddressVersion": "IPv4"
- }
- }
- ],
- "enableAcceleratedNetworking": false
- }
- }
- ]
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
}
},
- "upgradePolicy": {
- "mode": "Manual"
- },
- "automaticRepairsPolicy": {
- "enabled": true,
- "gracePeriod": "PT3M",
- "maxInstanceRepairsPercent": 100
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
},
- "provisioningState": "Creating"
- },
- "location": "westus",
- "type": "Microsoft.Compute/virtualMachineScaleSets",
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
- }
- },
- "201": {
- "body": {
- "sku": {
- "tier": "Standard",
- "capacity": 3,
- "name": "Standard_D1_v2"
- },
- "name": "{vmss-name}",
- "properties": {
- "singlePlacementGroup": true,
- "overprovision": true,
- "uniqueId": "d053ec5a-8da6-495f-ab13-38216503c6d7",
- "virtualMachineProfile": {
- "storageProfile": {
- "imageReference": {
- "sku": "2016-Datacenter",
- "publisher": "MicrosoftWindowsServer",
- "version": "latest",
- "offer": "WindowsServer"
- },
- "osDisk": {
- "caching": "ReadWrite",
- "managedDisk": {
- "storageAccountType": "Standard_LRS"
- },
- "createOption": "FromImage"
- }
- },
- "osProfile": {
- "computerNamePrefix": "{vmss-name}",
- "adminUsername": "{your-username}",
- "secrets": [],
- "windowsConfiguration": {
- "provisionVMAgent": true,
- "enableAutomaticUpdates": true
- }
- },
- "networkProfile": {
- "networkInterfaceConfigurations": [
- {
- "name": "{vmss-name}",
- "properties": {
- "dnsSettings": {
- "dnsServers": []
- },
- "primary": true,
- "enableIPForwarding": true,
- "ipConfigurations": [
- {
- "name": "{vmss-name}",
- "properties": {
- "subnet": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
- },
- "privateIPAddressVersion": "IPv4"
- }
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
}
- ],
- "enableAcceleratedNetworking": false
- }
+ }
+ ],
+ "enableAcceleratedNetworking": false
}
- ]
- }
- },
- "upgradePolicy": {
- "mode": "Manual"
- },
- "automaticRepairsPolicy": {
- "enabled": true,
- "gracePeriod": "PT3M",
- "maxInstanceRepairsPercent": 100
- },
- "provisioningState": "Creating"
+ }
+ ]
+ }
},
- "location": "westus",
- "type": "Microsoft.Compute/virtualMachineScaleSets",
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
- }
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "automaticRepairsPolicy": {
+ "enabled": true,
+ "gracePeriod": "PT3M",
+ "maxInstanceRepairsPercent": 100
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
}
}
}
-
\ No newline at end of file
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScalesetWithDiskEncryptionSetResource.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScalesetWithDiskEncryptionSetResource.json
index 6e77c5e1e3d2..c1461518d4d5 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScalesetWithDiskEncryptionSetResource.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScalesetWithDiskEncryptionSetResource.json
@@ -22,24 +22,24 @@
"managedDisk": {
"storageAccountType": "Standard_LRS",
"diskEncryptionSet": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
}
},
"createOption": "FromImage"
},
"dataDisks": [
- {
- "caching": "ReadWrite",
- "managedDisk": {
- "storageAccountType": "Standard_LRS",
- "diskEncryptionSet": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
- }
- },
- "diskSizeGB": 1023,
- "createOption": "Empty",
- "lun": 0
- }
+ {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ }
+ },
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "lun": 0
+ }
]
},
"osProfile": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithDiskEncryptionSetResource.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithDiskEncryptionSetResource.json
index 38817d67e796..acd36925567b 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithDiskEncryptionSetResource.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithDiskEncryptionSetResource.json
@@ -113,31 +113,31 @@
"osType": "Linux"
},
"dataDisks": [
- {
- "caching": "ReadWrite",
- "managedDisk": {
- "storageAccountType": "Standard_LRS",
- "diskEncryptionSet": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
- }
- },
- "diskSizeGB": 1023,
- "createOption": "Empty",
- "lun": 0
+ {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ }
},
- {
- "caching": "ReadWrite",
- "managedDisk": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}",
- "storageAccountType": "Standard_LRS",
- "diskEncryptionSet": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
- }
- },
- "diskSizeGB": 1023,
- "createOption": "Attach",
- "lun": 1
- }
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "lun": 0
+ },
+ {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}",
+ "storageAccountType": "Standard_LRS",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ }
+ },
+ "diskSizeGB": 1023,
+ "createOption": "Attach",
+ "lun": 1
+ }
]
},
"vmId": "71aa3d5a-d73d-4970-9182-8580433b2865",
@@ -188,31 +188,31 @@
"osType": "Linux"
},
"dataDisks": [
- {
- "caching": "ReadWrite",
- "managedDisk": {
- "storageAccountType": "Standard_LRS",
- "diskEncryptionSet": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
- }
- },
- "diskSizeGB": 1023,
- "createOption": "Empty",
- "lun": 0
+ {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ }
},
- {
- "caching": "ReadWrite",
- "managedDisk": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}",
- "storageAccountType": "Standard_LRS",
- "diskEncryptionSet": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
- }
- },
- "diskSizeGB": 1023,
- "createOption": "Attach",
- "lun": 1
- }
+ "diskSizeGB": 1023,
+ "createOption": "Empty",
+ "lun": 0
+ },
+ {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}",
+ "storageAccountType": "Standard_LRS",
+ "diskEncryptionSet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ }
+ },
+ "diskSizeGB": 1023,
+ "createOption": "Attach",
+ "lun": 1
+ }
]
},
"vmId": "71aa3d5a-d73d-4970-9182-8580433b2865",
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAManagedDiskWithDiskEncryptionSet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAManagedDiskWithDiskEncryptionSet.json
index eaad87dd0151..094a858d799d 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAManagedDiskWithDiskEncryptionSet.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAManagedDiskWithDiskEncryptionSet.json
@@ -14,7 +14,7 @@
"id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk"
},
"diskEncryptionSet": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
},
"osState": "Generalized"
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromASnapshotWithDiskEncryptionSet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromASnapshotWithDiskEncryptionSet.json
index 63788cf408de..555be69eb392 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromASnapshotWithDiskEncryptionSet.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromASnapshotWithDiskEncryptionSet.json
@@ -14,7 +14,7 @@
"id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
},
"diskEncryptionSet": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"
},
"osState": "Generalized"
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateVirtualMachineScaleSetVMExtensions.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateVirtualMachineScaleSetVMExtensions.json
index 080c96490c75..9179523838a1 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateVirtualMachineScaleSetVMExtensions.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateVirtualMachineScaleSetVMExtensions.json
@@ -1,54 +1,60 @@
{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "vmScaleSetName": "myvmScaleSet",
- "instanceId": "0",
- "vmExtensionName":"myVMExtension",
- "api-version": "2019-07-01",
- "extensionParameters": {
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "myvmScaleSet",
+ "instanceId": "0",
+ "vmExtensionName": "myVMExtension",
+ "api-version": "2019-07-01",
+ "extensionParameters": {
+ "location": "westus",
+ "properties": {
+ "autoUpgradeMinorVersion": true,
+ "publisher": "extPublisher",
+ "type": "extType",
+ "typeHandlerVersion": "1.2",
+ "settings": {
+ "UserName": "xyz@microsoft.com"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myVMExtension",
"location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension",
"properties": {
- "autoUpgradeMinorVersion": true,
- "publisher": "extPublisher",
- "type": "extType",
- "typeHandlerVersion": "1.2",
- "settings": { "UserName": "xyz@microsoft.com" }
+ "autoUpgradeMinorVersion": true,
+ "provisioningState": "Creating",
+ "publisher": "extPublisher",
+ "type": "extType",
+ "typeHandlerVersion": "1.2",
+ "settings": {
+ "UserName": "xyz@microsoft.com"
+ }
}
}
},
- "responses": {
- "201": {
- "body": {
- "name": "myVMExtension",
- "location": "westus",
- "type":"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension",
- "properties": {
- "autoUpgradeMinorVersion": true,
- "provisioningState": "Creating",
- "publisher": "extPublisher",
- "type": "extType",
- "typeHandlerVersion": "1.2",
- "settings": {"UserName":"xyz@microsoft.com"}
+ "200": {
+ "body": {
+ "name": "myVMExtension",
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension",
+ "properties": {
+ "autoUpgradeMinorVersion": true,
+ "provisioningState": "Creating",
+ "publisher": "extPublisher",
+ "type": "extType",
+ "typeHandlerVersion": "1.2",
+ "settings": {
+ "UserName": "xyz@microsoft.com"
}
}
- },
- "200": {
- "body": {
- "name": "myVMExtension",
- "location": "westus",
- "type":"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension",
- "properties": {
- "autoUpgradeMinorVersion": true,
- "provisioningState": "Creating",
- "publisher": "extPublisher",
- "type": "extType",
- "typeHandlerVersion": "1.2",
- "settings": {"UserName":"xyz@microsoft.com"}
- }
- }
}
}
}
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteVirtualMachineScaleSetVMExtensions.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteVirtualMachineScaleSetVMExtensions.json
index caba488648b0..db6207d8f09a 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteVirtualMachineScaleSetVMExtensions.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteVirtualMachineScaleSetVMExtensions.json
@@ -1,15 +1,15 @@
{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "vmScaleSetName": "myvmScaleSet",
- "instanceId": "0",
- "vmExtensionName":"myVMExtension",
- "api-version": "2019-07-01"
- },
- "responses": {
- "200": {},
- "202": {},
- "204": {}
- }
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "myvmScaleSet",
+ "instanceId": "0",
+ "vmExtensionName": "myVMExtension",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
}
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutADiskEncryptionSet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutADiskEncryptionSet.json
index 4226d9f36200..86e3fe86147d 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutADiskEncryptionSet.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutADiskEncryptionSet.json
@@ -14,20 +14,20 @@
"properties": {
"activeKey": {
"sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
},
"keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
},
"previousKeys": [],
"provisioningState": "Succeeded"
},
- "type": "Microsoft.Compute/diskEncryptionSet",
+ "type": "Microsoft.Compute/diskEncryptionSet",
"location": "westus",
"tags": {
- "department": "Development",
+ "department": "Development",
"project": "Encryption"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet",
"name": "myDiskEncryptionSet"
}
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachine.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachine.json
index 434d91c22485..ab3de830d2a4 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachine.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachine.json
@@ -1,120 +1,118 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "vmName": "myVM",
+ "resourceGroupName": "myResourceGroup",
+ "vmName": "myVM",
"api-version": "2019-07-01"
},
"responses": {
"200": {
- "body": {
+ "body": {
"name": "myVM",
- "id" : "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
- "type" : "Microsoft.Compute/virtualMachines",
- "location": "West US",
- "tags" : {
- "myTag1" : "tagValue1"
- },
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM",
+ "type": "Microsoft.Compute/virtualMachines",
+ "location": "West US",
+ "tags": {
+ "myTag1": "tagValue1"
+ },
"properties": {
- "vmId" : "0f47b100-583c-48e3-a4c0-aefc2c9bbcc1",
- "availabilitySet" : {
- "id" : "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/my-AvailabilitySet"
- },
- "proximityPlacementGroup" : {
- "id" : "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/my-ppg01"
- },
- "hardwareProfile" : {
- "vmSize" : "Standard_DS3_v2"
- },
- "storageProfile" : {
- "imageReference" : {
- "publisher" : "MicrosoftWindowsServer",
- "offer" : "WindowsServer",
- "sku" : "2016-Datacenter",
- "version" : "latest"
- },
- "osDisk" : {
- "osType": "Windows",
- "name": "myOsDisk",
- "createOption": "FromImage",
- "caching": "ReadWrite",
- "managedDisk": {
- "storageAccountType": "Premium_LRS",
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myOsDisk"
- },
- "diskSizeGB": 30
- },
- "dataDisks" : [
- {
- "lun": 0,
- "name": "myDataDisk0",
- "createOption": "Empty",
- "caching": "ReadWrite",
- "managedDisk": {
- "storageAccountType": "Premium_LRS",
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk0"
- },
- "diskSizeGB": 30
- },
- {
- "lun": 1,
- "name": "myDataDisk1",
- "createOption": "Attach",
- "caching": "ReadWrite",
- "managedDisk": {
- "storageAccountType": "Premium_LRS",
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk1"
- },
- "diskSizeGB": 100
- }
- ]
- },
- "osProfile" : {
- "computerName" : "myVM",
- "adminUsername" : "admin",
- "windowsConfiguration" : {
- "provisionVMAgent" : true,
- "enableAutomaticUpdates" : false
- },
- "secrets" : [
- ]
- },
- "networkProfile" : {
- "networkInterfaces" : [{
- "id" : "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{myNIC}"
- }
- ]
- },
- "diagnosticsProfile" : {
- "bootDiagnostics" : {
- "enabled" : true,
- "storageUri" : "http://{myStorageAccount}.blob.core.windows.net"
- }
- },
- "provisioningState" : "Succeeded"
- },
- "resources" : [{
- "name" : "CustomScriptExtension-DSC",
- "id" : "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM/extensions/CustomScriptExtension-DSC",
- "type" : "Microsoft.Compute/virtualMachines/extensions",
- "location" : "west us",
- "tags" : {
- "displayName" : "CustomScriptExtension-DSC"
- },
- "properties" : {
- "autoUpgradeMinorVersion" : true,
- "provisioningState" : "Succeeded",
- "publisher" : "Microsoft.Compute",
- "type" : "CustomScriptExtension",
- "typeHandlerVersion" : "1.9",
- "settings" : {
- }
- }
- }]
+ "vmId": "0f47b100-583c-48e3-a4c0-aefc2c9bbcc1",
+ "availabilitySet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/my-AvailabilitySet"
+ },
+ "proximityPlacementGroup": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/my-ppg01"
+ },
+ "hardwareProfile": {
+ "vmSize": "Standard_DS3_v2"
+ },
+ "storageProfile": {
+ "imageReference": {
+ "publisher": "MicrosoftWindowsServer",
+ "offer": "WindowsServer",
+ "sku": "2016-Datacenter",
+ "version": "latest"
+ },
+ "osDisk": {
+ "osType": "Windows",
+ "name": "myOsDisk",
+ "createOption": "FromImage",
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Premium_LRS",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myOsDisk"
+ },
+ "diskSizeGB": 30
+ },
+ "dataDisks": [
+ {
+ "lun": 0,
+ "name": "myDataDisk0",
+ "createOption": "Empty",
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Premium_LRS",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk0"
+ },
+ "diskSizeGB": 30
+ },
+ {
+ "lun": 1,
+ "name": "myDataDisk1",
+ "createOption": "Attach",
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Premium_LRS",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk1"
+ },
+ "diskSizeGB": 100
+ }
+ ]
+ },
+ "osProfile": {
+ "computerName": "myVM",
+ "adminUsername": "admin",
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": false
+ },
+ "secrets": []
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{myNIC}"
+ }
+ ]
+ },
+ "diagnosticsProfile": {
+ "bootDiagnostics": {
+ "enabled": true,
+ "storageUri": "http://{myStorageAccount}.blob.core.windows.net"
+ }
+ },
+ "provisioningState": "Succeeded"
+ },
+ "resources": [
+ {
+ "name": "CustomScriptExtension-DSC",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM/extensions/CustomScriptExtension-DSC",
+ "type": "Microsoft.Compute/virtualMachines/extensions",
+ "location": "west us",
+ "tags": {
+ "displayName": "CustomScriptExtension-DSC"
+ },
+ "properties": {
+ "autoUpgradeMinorVersion": true,
+ "provisioningState": "Succeeded",
+ "publisher": "Microsoft.Compute",
+ "type": "CustomScriptExtension",
+ "typeHandlerVersion": "1.9",
+ "settings": {}
+ }
+ }
+ ]
}
}
}
}
-
-
-
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineInstanceView.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineInstanceView.json
index fff895e335e0..962dead238a1 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineInstanceView.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineInstanceView.json
@@ -1,91 +1,99 @@
{
- "parameters" : {
- "subscriptionId" : "{subscription-id}",
- "resourceGroupName" : "myResourceGroup",
- "api-version" : "2019-07-01",
- "vmName" : "myVM"
- },
- "responses" : {
- "200" : {
- "body" : {
- "platformUpdateDomain" : 1,
- "platformFaultDomain" : 1,
- "computerName" : "myVM",
- "osName" : "Windows Server 2016 Datacenter",
- "osVersion" : "Microsoft Windows NT 10.0.14393.0",
- "vmAgent" : {
- "vmAgentVersion" : "2.7.41491.949",
- "statuses" : [{
- "code" : "ProvisioningState/succeeded",
- "level" : "Info",
- "displayStatus" : "Ready",
- "message" : "GuestAgent is running and accepting new configurations.",
- "time" : "2019-10-14T23:11:22+00:00"
- }
- ],
- "extensionHandlers" : [{
- "type" : "Microsoft.Azure.Security.IaaSAntimalware",
- "typeHandlerVersion" : "1.5.5.9",
- "status" : {
- "code" : "ProvisioningState/succeeded",
- "level" : "Info",
- "displayStatus" : "Ready"
- }
- }
- ]
- },
- "disks" : [
- {
- "name" : "myOsDisk",
- "statuses" : [{
- "code" : "ProvisioningState/succeeded",
- "level" : "Info",
- "displayStatus" : "Provisioning succeeded",
- "time" : "2019-10-14T21:29:47.477089+00:00"
- }
- ]
- },
- {
- "name" : "myDataDisk0",
- "statuses" : [{
- "code" : "ProvisioningState/succeeded",
- "level" : "Info",
- "displayStatus" : "Provisioning succeeded",
- "time" : "2019-10-14T21:29:47.461517+00:00"
- }
- ]
- }
- ],
- "bootDiagnostics" : {
- "consoleScreenshotBlobUri" : "https://{myStorageAccount}.blob.core.windows.net/bootdiagnostics-myOsDisk/myOsDisk.screenshot.bmp",
- "serialConsoleLogBlobUri" : "https://{myStorageAccount}.blob.core.windows.net/bootdiagnostics-myOsDisk/myOsDisk.serialconsole.log"
- },
- "extensions" : [{
- "name" : "IaaSAntiMalware-ext0",
- "type" : "Microsoft.Azure.Security.IaaSAntimalware",
- "typeHandlerVersion" : "1.5.5.9",
- "statuses" : [{
- "code" : "ProvisioningState/succeeded",
- "level" : "Info",
- "displayStatus" : "Provisioning succeeded",
- "message" : "Microsoft Antimalware enabled"
- }
- ]
- }
- ],
- "hyperVGeneration" : "V1",
- "statuses" : [{
- "code" : "ProvisioningState/succeeded",
- "level" : "Info",
- "displayStatus" : "Provisioning succeeded",
- "time" : "2019-10-14T21:30:12.8051917+00:00"
- }, {
- "code" : "PowerState/running",
- "level" : "Info",
- "displayStatus" : "VM running"
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "vmName": "myVM"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "platformUpdateDomain": 1,
+ "platformFaultDomain": 1,
+ "computerName": "myVM",
+ "osName": "Windows Server 2016 Datacenter",
+ "osVersion": "Microsoft Windows NT 10.0.14393.0",
+ "vmAgent": {
+ "vmAgentVersion": "2.7.41491.949",
+ "statuses": [
+ {
+ "code": "ProvisioningState/succeeded",
+ "level": "Info",
+ "displayStatus": "Ready",
+ "message": "GuestAgent is running and accepting new configurations.",
+ "time": "2019-10-14T23:11:22+00:00"
+ }
+ ],
+ "extensionHandlers": [
+ {
+ "type": "Microsoft.Azure.Security.IaaSAntimalware",
+ "typeHandlerVersion": "1.5.5.9",
+ "status": {
+ "code": "ProvisioningState/succeeded",
+ "level": "Info",
+ "displayStatus": "Ready"
+ }
+ }
+ ]
+ },
+ "disks": [
+ {
+ "name": "myOsDisk",
+ "statuses": [
+ {
+ "code": "ProvisioningState/succeeded",
+ "level": "Info",
+ "displayStatus": "Provisioning succeeded",
+ "time": "2019-10-14T21:29:47.477089+00:00"
+ }
+ ]
+ },
+ {
+ "name": "myDataDisk0",
+ "statuses": [
+ {
+ "code": "ProvisioningState/succeeded",
+ "level": "Info",
+ "displayStatus": "Provisioning succeeded",
+ "time": "2019-10-14T21:29:47.461517+00:00"
+ }
+ ]
+ }
+ ],
+ "bootDiagnostics": {
+ "consoleScreenshotBlobUri": "https://{myStorageAccount}.blob.core.windows.net/bootdiagnostics-myOsDisk/myOsDisk.screenshot.bmp",
+ "serialConsoleLogBlobUri": "https://{myStorageAccount}.blob.core.windows.net/bootdiagnostics-myOsDisk/myOsDisk.serialconsole.log"
+ },
+ "extensions": [
+ {
+ "name": "IaaSAntiMalware-ext0",
+ "type": "Microsoft.Azure.Security.IaaSAntimalware",
+ "typeHandlerVersion": "1.5.5.9",
+ "statuses": [
+ {
+ "code": "ProvisioningState/succeeded",
+ "level": "Info",
+ "displayStatus": "Provisioning succeeded",
+ "message": "Microsoft Antimalware enabled"
+ }
+ ]
+ }
+ ],
+ "hyperVGeneration": "V1",
+ "statuses": [
+ {
+ "code": "ProvisioningState/succeeded",
+ "level": "Info",
+ "displayStatus": "Provisioning succeeded",
+ "time": "2019-10-14T21:30:12.8051917+00:00"
+ },
+ {
+ "code": "PowerState/running",
+ "level": "Info",
+ "displayStatus": "VM running"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineScaleSetVMExtensions.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineScaleSetVMExtensions.json
index 5af5fe255613..19fb1669c966 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineScaleSetVMExtensions.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineScaleSetVMExtensions.json
@@ -1,28 +1,30 @@
{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "vmScaleSetName": "myvmScaleSet",
- "instanceId": "0",
- "vmExtensionName":"myVMExtension",
- "api-version": "2019-07-01"
- },
- "responses": {
- "200": {
- "body": {
- "properties": {
- "autoUpgradeMinorVersion": true,
- "provisioningState": "Creating",
- "publisher": "extPublisher",
- "type": "extType",
- "typeHandlerVersion": "1.2",
- "settings": {"UserName":"xyz@microsoft.com"}
- },
- "name": "myVMExtension",
- "location": "westus",
- "type":"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension"
- }
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "myvmScaleSet",
+ "instanceId": "0",
+ "vmExtensionName": "myVMExtension",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "autoUpgradeMinorVersion": true,
+ "provisioningState": "Creating",
+ "publisher": "extPublisher",
+ "type": "extType",
+ "typeHandlerVersion": "1.2",
+ "settings": {
+ "UserName": "xyz@microsoft.com"
+ }
+ },
+ "name": "myVMExtension",
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension"
}
}
}
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInAResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInAResourceGroup.json
index 60beaa08a3b6..765903ddc404 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInAResourceGroup.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInAResourceGroup.json
@@ -15,20 +15,20 @@
"properties": {
"activeKey": {
"sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
},
"keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
},
"previousKeys": [],
"provisioningState": "Succeeded"
},
- "type": "Microsoft.Compute/diskEncryptionSet",
+ "type": "Microsoft.Compute/diskEncryptionSet",
"location": "westus",
"tags": {
- "department": "Development",
+ "department": "Development",
"project": "Encryption"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet",
"name": "myDiskEncryptionSet"
},
{
@@ -38,20 +38,20 @@
"properties": {
"activeKey": {
"sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault2"
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault2"
},
"keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
},
"previousKeys": [],
"provisioningState": "Succeeded"
},
- "type": "Microsoft.Compute/diskEncryptionSet",
+ "type": "Microsoft.Compute/diskEncryptionSet",
"location": "westus",
"tags": {
- "department": "Development",
+ "department": "Development",
"project": "Encryption"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet2",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet2",
"name": "myDiskEncryptionSet2"
}
],
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInASubscription.json
index 62655bcf80dc..fa863421fa03 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInASubscription.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInASubscription.json
@@ -14,20 +14,20 @@
"properties": {
"activeKey": {
"sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
},
"keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
},
"previousKeys": [],
"provisioningState": "Succeeded"
},
- "type": "Microsoft.Compute/diskEncryptionSet",
+ "type": "Microsoft.Compute/diskEncryptionSet",
"location": "westus",
"tags": {
- "department": "Development",
+ "department": "Development",
"project": "Encryption"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet",
"name": "myDiskEncryptionSet"
},
{
@@ -37,20 +37,20 @@
"properties": {
"activeKey": {
"sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault2"
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault2"
},
"keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
},
"previousKeys": [],
"provisioningState": "Succeeded"
},
- "type": "Microsoft.Compute/diskEncryptionSet",
+ "type": "Microsoft.Compute/diskEncryptionSet",
"location": "westus",
"tags": {
- "department": "Development",
+ "department": "Development",
"project": "Encryption"
},
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet2",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet2",
"name": "myDiskEncryptionSet2"
}
],
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListVirtualMachineScaleSetVMExtensions.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListVirtualMachineScaleSetVMExtensions.json
index 234274c9440b..397a96e2ecaa 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListVirtualMachineScaleSetVMExtensions.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListVirtualMachineScaleSetVMExtensions.json
@@ -1,44 +1,48 @@
{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "vmScaleSetName": "myvmScaleSet",
- "instanceId": "0",
- "api-version": "2019-07-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "properties": {
- "autoUpgradeMinorVersion": true,
- "provisioningState": "Succeeded",
- "publisher": "extPublisher",
- "type": "extType",
- "typeHandlerVersion": "1.2",
- "settings": {"UserName":"xyz@microsoft.com"}
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "myvmScaleSet",
+ "instanceId": "0",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "autoUpgradeMinorVersion": true,
+ "provisioningState": "Succeeded",
+ "publisher": "extPublisher",
+ "type": "extType",
+ "typeHandlerVersion": "1.2",
+ "settings": {
+ "UserName": "xyz@microsoft.com"
+ }
},
"name": "myVMExtension",
"location": "westus",
- "type":"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
+ "type": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension"
- },
- {
- "properties": {
- "autoUpgradeMinorVersion": true,
- "provisioningState": "Succeeded",
- "publisher": "extPublisher1",
- "type": "extType1",
- "typeHandlerVersion": "1.0",
- "settings": {"UserName":"xyz@microsoft.com"}
+ },
+ {
+ "properties": {
+ "autoUpgradeMinorVersion": true,
+ "provisioningState": "Succeeded",
+ "publisher": "extPublisher1",
+ "type": "extType1",
+ "typeHandlerVersion": "1.0",
+ "settings": {
+ "UserName": "xyz@microsoft.com"
+ }
},
"name": "myVMExtension1",
"location": "westus",
- "type":"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
+ "type": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension1"
- }
- ]
+ }
+ ]
}
}
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateVirtualMachineScaleSetVMExtensions.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateVirtualMachineScaleSetVMExtensions.json
index 913b1afdee28..50dc47946f3e 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateVirtualMachineScaleSetVMExtensions.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateVirtualMachineScaleSetVMExtensions.json
@@ -1,37 +1,41 @@
{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "vmScaleSetName": "myvmScaleSet",
- "instanceId": "0",
- "vmExtensionName":"myVMExtension",
- "api-version": "2019-07-01",
- "extensionParameters": {
- "properties": {
- "autoUpgradeMinorVersion": true,
- "publisher": "extPublisher",
- "type": "extType",
- "typeHandlerVersion": "1.2",
- "settings": { "UserName": "xyz@microsoft.com" }
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "myvmScaleSet",
+ "instanceId": "0",
+ "vmExtensionName": "myVMExtension",
+ "api-version": "2019-07-01",
+ "extensionParameters": {
+ "properties": {
+ "autoUpgradeMinorVersion": true,
+ "publisher": "extPublisher",
+ "type": "extType",
+ "typeHandlerVersion": "1.2",
+ "settings": {
+ "UserName": "xyz@microsoft.com"
}
}
- },
- "responses": {
- "200": {
- "body": {
- "name": "myVMExtension",
- "location": "westus",
- "type":"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension",
- "properties": {
- "autoUpgradeMinorVersion": true,
- "provisioningState": "Creating",
- "publisher": "extPublisher",
- "type": "extType",
- "typeHandlerVersion": "1.2",
- "settings": {"UserName":"xyz@microsoft.com"}
- }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myVMExtension",
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension",
+ "properties": {
+ "autoUpgradeMinorVersion": true,
+ "provisioningState": "Creating",
+ "publisher": "extPublisher",
+ "type": "extType",
+ "typeHandlerVersion": "1.2",
+ "settings": {
+ "UserName": "xyz@microsoft.com"
+ }
}
}
}
}
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json
index 37ce10522d0d..e9095e2221de 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json
@@ -529,22 +529,22 @@
{
"$ref": "#/parameters/apiVersionParameter"
},
- {
- "name": "startDate",
- "in": "query",
- "description": "Start date",
- "required": false,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- {
- "name": "endDate",
- "in": "query",
- "description": "End date",
- "required": false,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
+ {
+ "name": "startDate",
+ "in": "query",
+ "description": "Start date",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "endDate",
+ "in": "query",
+ "description": "End date",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
{
"name": "$filter",
"description": "May be used to filter charges by properties/usageEnd (Utc time), properties/usageStart (Utc time). The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).",
@@ -552,13 +552,13 @@
"required": false,
"type": "string"
},
- {
- "name": "$apply",
- "description": "May be used to group charges for billingAccount scope by properties/billingProfileId, properties/invoiceSectionId, properties/customerId (specific for Partner Led), or for billingProfile scope by properties/invoiceSectionId.",
- "in": "query",
- "required": false,
- "type": "string"
- }
+ {
+ "name": "$apply",
+ "description": "May be used to group charges for billingAccount scope by properties/billingProfileId, properties/invoiceSectionId, properties/customerId (specific for Partner Led), or for billingProfile scope by properties/invoiceSectionId.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ }
],
"responses": {
"200": {
@@ -801,22 +801,22 @@
{
"$ref": "#/parameters/grainParameter"
},
- {
- "name": "startDate",
- "in": "query",
- "description": "Start date",
- "required": false,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- {
- "name": "endDate",
- "in": "query",
- "description": "End date",
- "required": false,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
+ {
+ "name": "startDate",
+ "in": "query",
+ "description": "Start date",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "endDate",
+ "in": "query",
+ "description": "End date",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
{
"name": "$filter",
"description": "Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'",
@@ -970,22 +970,22 @@
{
"$ref": "#/parameters/scopeReservationDetailsParameter"
},
- {
- "name": "startDate",
- "in": "query",
- "description": "Start date",
- "required": false,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- {
- "name": "endDate",
- "in": "query",
- "description": "End date",
- "required": false,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
+ {
+ "name": "startDate",
+ "in": "query",
+ "description": "Start date",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "endDate",
+ "in": "query",
+ "description": "End date",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
{
"name": "$filter",
"description": "Filter reservation details by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge' ",
@@ -1033,13 +1033,12 @@
"ReservationRecommendationsFilterBySubscriptionForScopeLookBackPeriod-Legacy": {
"$ref": "./examples/ReservationRecommendationsFilterBySubscriptionForScopeLookBackPeriod.json"
},
- "ReservationRecommendationsByBillingAccount-Legacy": {
+ "ReservationRecommendationsByBillingAccount-Legacy": {
"$ref": "./examples/ReservationRecommendationsByBillingAccount.json"
},
- "ReservationRecommendationsByBillingProfile-Modern": {
+ "ReservationRecommendationsByBillingProfile-Modern": {
"$ref": "./examples/ReservationRecommendationsByBillingProfile.json"
}
-
},
"parameters": [
{
@@ -1432,143 +1431,143 @@
}
}
},
- "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.Consumption/events": {
- "get": {
- "tags": [
- "Events"
- ],
- "operationId": "Events_List",
- "description": "Lists the events by billingAccountId and billingProfileId for given start and end date.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
- },
- "x-ms-examples": {
- "EventsListByBillingProfile": {
- "$ref": "./examples/EventsListByBillingProfile.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/billingAccountIdParameter"
- },
- {
- "$ref": "#/parameters/billingProfileIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/startDateParameter"
- },
- {
- "$ref": "#/parameters/endDateParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/Events"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.Consumption/lots": {
- "get": {
- "tags": [
- "Lots"
- ],
- "operationId": "Lots_List",
- "description": "Lists the lots by billingAccountId and billingProfileId.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
- },
- "x-ms-examples": {
- "EventsListByBillingProfile": {
- "$ref": "./examples/LotsListByBillingProfile.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/billingAccountIdParameter"
- },
- {
- "$ref": "#/parameters/billingProfileIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/Lots"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.Consumption/credits/balanceSummary": {
- "get": {
- "tags": [
- "Credits"
- ],
- "operationId": "Credits_Get",
- "description": "The credit summary by billingAccountId and billingProfileId.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
- },
- "x-ms-examples": {
- "CreditSummaryByBillingProfile": {
- "$ref": "./examples/CreditSummaryByBillingProfile.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/billingAccountIdParameter"
- },
- {
- "$ref": "#/parameters/billingProfileIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/CreditSummary"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- }
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.Consumption/events": {
+ "get": {
+ "tags": [
+ "Events"
+ ],
+ "operationId": "Events_List",
+ "description": "Lists the events by billingAccountId and billingProfileId for given start and end date.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "EventsListByBillingProfile": {
+ "$ref": "./examples/EventsListByBillingProfile.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/billingAccountIdParameter"
+ },
+ {
+ "$ref": "#/parameters/billingProfileIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/startDateParameter"
+ },
+ {
+ "$ref": "#/parameters/endDateParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Events"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.Consumption/lots": {
+ "get": {
+ "tags": [
+ "Lots"
+ ],
+ "operationId": "Lots_List",
+ "description": "Lists the lots by billingAccountId and billingProfileId.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "EventsListByBillingProfile": {
+ "$ref": "./examples/LotsListByBillingProfile.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/billingAccountIdParameter"
+ },
+ {
+ "$ref": "#/parameters/billingProfileIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Lots"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.Consumption/credits/balanceSummary": {
+ "get": {
+ "tags": [
+ "Credits"
+ ],
+ "operationId": "Credits_Get",
+ "description": "The credit summary by billingAccountId and billingProfileId.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "CreditSummaryByBillingProfile": {
+ "$ref": "./examples/CreditSummaryByBillingProfile.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/billingAccountIdParameter"
+ },
+ {
+ "$ref": "#/parameters/billingProfileIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/CreditSummary"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
}
},
"definitions": {
@@ -2152,13 +2151,13 @@
"type": "number",
"format": "decimal",
"readOnly": true
- },
+ },
"costInPricingCurrency": {
"description": "ExtendedCost or blended cost before tax in pricing currency to correlate with prices.",
"type": "number",
"format": "decimal",
"readOnly": true
- },
+ },
"exchangeRate": {
"description": "Exchange rate used in conversion from pricing currency to billing currency.",
"type": "string",
@@ -2840,7 +2839,7 @@
}
}
},
- "ReservationRecommendation": {
+ "ReservationRecommendation": {
"description": "A reservation recommendation resource.",
"type": "object",
"discriminator": "kind",
@@ -2989,7 +2988,7 @@
}
}
},
- "ModernReservationRecommendation": {
+ "ModernReservationRecommendation": {
"description": "Modern reservation recommendation.",
"type": "object",
"x-ms-discriminator-value": "modern",
@@ -4073,254 +4072,255 @@
}
}
},
- "Events": {
- "description": "Result of listing event summary.",
- "properties": {
- "value": {
- "description": "The list of event summary.",
- "type": "array",
- "readOnly": true,
- "items": {
- "$ref": "#/definitions/EventSummary"
- }
- },
- "nextLink": {
- "description": "The link (url) to the next page of results.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "EventSummary": {
- "description": "An event summary resource.",
- "type": "object",
- "allOf": [{
- "$ref": "#/definitions/Resource"
- }
- ],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/EventProperties",
- "title": "Event summary properties"
- }
- }
- },
- "EventProperties": {
+ "Events": {
+ "description": "Result of listing event summary.",
+ "properties": {
+ "value": {
+ "description": "The list of event summary.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/EventSummary"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "EventSummary": {
+ "description": "An event summary resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/EventProperties",
+ "title": "Event summary properties"
+ }
+ }
+ },
+ "EventProperties": {
"description": "The event properties.",
- "properties": {
- "transactionDate": {
- "description": "Transaction date.",
- "type": "string",
- "format": "date-time",
- "readOnly": true
- },
- "description": {
- "description": "Transaction description.",
- "type": "string",
- "readOnly": true
- },
- "newCredit": {
- "description": "New Credit.",
- "readOnly": true,
- "$ref": "#/definitions/amount"
- },
- "adjustments": {
- "description": "Adjustments amount.",
- "readOnly": true,
- "$ref": "#/definitions/amount"
- },
- "creditExpired": {
- "description": "Credit expired.",
- "readOnly": true,
- "$ref": "#/definitions/amount"
- },
- "charges": {
- "description": "Charges amount.",
- "readOnly": true,
- "$ref": "#/definitions/amount"
- },
- "closedBalance": {
- "description": "Closed balance.",
- "readOnly": true,
- "$ref": "#/definitions/amount"
- },
- "eventType": {
- "description": "The type of event.",
- "type": "string",
- "enum": [
- "SettledCharges",
- "PendingCharges",
- "PendingAdjustments",
- "PendingNewCredit",
- "PendingExpiredCredit",
- "UnKnown",
- "NewCredit"
- ],
- "x-ms-enum": {
- "name": "EventType",
- "modelAsString": true
- }
- },
- "invoiceNumber": {
- "description": "Invoice number.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "Lots": {
- "description": "Result of listing lot summary.",
- "properties": {
- "value": {
- "description": "The list of lot summary.",
- "type": "array",
- "readOnly": true,
- "items": {
- "$ref": "#/definitions/LotSummary"
- }
- },
- "nextLink": {
- "description": "The link (url) to the next page of results.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "LotSummary": {
- "description": "A lot summary resource.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/LotProperties",
- "title": "Lot summary properties"
- }
- }
- },
- "LotProperties": {
- "description": "The lot properties.",
- "properties": {
- "originalAmount": {
- "description": "Original amount.",
- "readOnly": true,
- "$ref": "#/definitions/amount"
- },
- "closedBalance": {
- "description": "Closed balance.",
- "readOnly": true,
- "$ref": "#/definitions/amount"
- },
- "source": {
- "description": "Lot source.",
- "type": "string",
- "enum": [
- "PurchasedCredit",
- "PromotionalCredit"
- ],
- "x-ms-enum": {
- "name": "LotSource",
- "modelAsString": true
- },
- "readOnly": true
- },
- "startDate": {
- "description": "Start date.",
- "type": "string",
- "format": "date-time",
- "readOnly": true
- },
- "expirationDate": {
- "description": "Expiration date.",
- "type": "string",
- "format": "date-time",
- "readOnly": true
- },
- "poNumber": {
- "description": "PO number.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "CreditSummary": {
- "description": "A credit summary resource.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/CreditSummaryProperties",
- "title": "Credit summary properties"
- }
- }
- },
- "CreditSummaryProperties": {
- "description": "The properties of the credit summary.",
- "type": "object",
- "properties": {
- "balanceSummary": {
- "description": "Summary of balances associated with this credit summary.",
- "readOnly": true,
- "$ref": "#/definitions/CreditBalanceSummary"
- },
- "pendingCreditAdjustments": {
- "description": "Pending credit adjustments.",
- "readOnly": true,
- "$ref": "#/definitions/amount"
- },
- "expiredCredit": {
- "description": "Expired credit.",
- "readOnly": true,
- "$ref": "#/definitions/amount"
- },
- "pendingEligibleCharges": {
- "description": "Pending eligible charges.",
- "readOnly": true,
- "$ref": "#/definitions/amount"
- }
- }
- },
- "CreditBalanceSummary": {
- "description": "Summary of credit balances.",
- "properties": {
- "estimatedBalance": {
- "description": "Estimated balance.",
- "readOnly": true,
- "$ref": "#/definitions/amount"
- },
- "currentBalance": {
- "description": "Current balance.",
- "readOnly": true,
- "$ref": "#/definitions/amount"
- }
- }
- },
- "amount": {
- "description": "The amount plus currency .",
- "properties": {
- "currency":{
- "readOnly": true,
+ "properties": {
+ "transactionDate": {
+ "description": "Transaction date.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "description": {
+ "description": "Transaction description.",
+ "type": "string",
+ "readOnly": true
+ },
+ "newCredit": {
+ "description": "New Credit.",
+ "readOnly": true,
+ "$ref": "#/definitions/amount"
+ },
+ "adjustments": {
+ "description": "Adjustments amount.",
+ "readOnly": true,
+ "$ref": "#/definitions/amount"
+ },
+ "creditExpired": {
+ "description": "Credit expired.",
+ "readOnly": true,
+ "$ref": "#/definitions/amount"
+ },
+ "charges": {
+ "description": "Charges amount.",
+ "readOnly": true,
+ "$ref": "#/definitions/amount"
+ },
+ "closedBalance": {
+ "description": "Closed balance.",
+ "readOnly": true,
+ "$ref": "#/definitions/amount"
+ },
+ "eventType": {
+ "description": "The type of event.",
+ "type": "string",
+ "enum": [
+ "SettledCharges",
+ "PendingCharges",
+ "PendingAdjustments",
+ "PendingNewCredit",
+ "PendingExpiredCredit",
+ "UnKnown",
+ "NewCredit"
+ ],
+ "x-ms-enum": {
+ "name": "EventType",
+ "modelAsString": true
+ }
+ },
+ "invoiceNumber": {
+ "description": "Invoice number.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Lots": {
+ "description": "Result of listing lot summary.",
+ "properties": {
+ "value": {
+ "description": "The list of lot summary.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/LotSummary"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "LotSummary": {
+ "description": "A lot summary resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/LotProperties",
+ "title": "Lot summary properties"
+ }
+ }
+ },
+ "LotProperties": {
+ "description": "The lot properties.",
+ "properties": {
+ "originalAmount": {
+ "description": "Original amount.",
+ "readOnly": true,
+ "$ref": "#/definitions/amount"
+ },
+ "closedBalance": {
+ "description": "Closed balance.",
+ "readOnly": true,
+ "$ref": "#/definitions/amount"
+ },
+ "source": {
+ "description": "Lot source.",
+ "type": "string",
+ "enum": [
+ "PurchasedCredit",
+ "PromotionalCredit"
+ ],
+ "x-ms-enum": {
+ "name": "LotSource",
+ "modelAsString": true
+ },
+ "readOnly": true
+ },
+ "startDate": {
+ "description": "Start date.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "expirationDate": {
+ "description": "Expiration date.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "poNumber": {
+ "description": "PO number.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "CreditSummary": {
+ "description": "A credit summary resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/CreditSummaryProperties",
+ "title": "Credit summary properties"
+ }
+ }
+ },
+ "CreditSummaryProperties": {
+ "description": "The properties of the credit summary.",
+ "type": "object",
+ "properties": {
+ "balanceSummary": {
+ "description": "Summary of balances associated with this credit summary.",
+ "readOnly": true,
+ "$ref": "#/definitions/CreditBalanceSummary"
+ },
+ "pendingCreditAdjustments": {
+ "description": "Pending credit adjustments.",
+ "readOnly": true,
+ "$ref": "#/definitions/amount"
+ },
+ "expiredCredit": {
+ "description": "Expired credit.",
+ "readOnly": true,
+ "$ref": "#/definitions/amount"
+ },
+ "pendingEligibleCharges": {
+ "description": "Pending eligible charges.",
+ "readOnly": true,
+ "$ref": "#/definitions/amount"
+ }
+ }
+ },
+ "CreditBalanceSummary": {
+ "description": "Summary of credit balances.",
+ "properties": {
+ "estimatedBalance": {
+ "description": "Estimated balance.",
+ "readOnly": true,
+ "$ref": "#/definitions/amount"
+ },
+ "currentBalance": {
+ "description": "Current balance.",
+ "readOnly": true,
+ "$ref": "#/definitions/amount"
+ }
+ }
+ },
+ "amount": {
+ "description": "The amount plus currency .",
+ "properties": {
+ "currency": {
+ "readOnly": true,
"type": "string",
"description": "Amount currency."
- },
- "value":{
+ },
+ "value": {
"readOnly": true,
"type": "number",
"format": "decimal",
- "description": "Amount."
- }
- }
- },
+ "description": "Amount."
+ }
+ }
+ },
"Resource": {
"description": "The Resource model definition.",
"properties": {
@@ -4437,7 +4437,7 @@
"x-ms-parameter-location": "method",
"x-ms-skip-url-encoding": true
},
- "scopeReservationsSummariesParameter": {
+ "scopeReservationsSummariesParameter": {
"name": "scope",
"in": "path",
"required": true,
@@ -4446,7 +4446,7 @@
"x-ms-parameter-location": "method",
"x-ms-skip-url-encoding": true
},
- "scopeReservationDetailsParameter": {
+ "scopeReservationDetailsParameter": {
"name": "scope",
"in": "path",
"required": true,
@@ -4455,7 +4455,7 @@
"x-ms-parameter-location": "method",
"x-ms-skip-url-encoding": true
},
- "scopeReservationRecommendationsParameter": {
+ "scopeReservationRecommendationsParameter": {
"name": "scope",
"in": "path",
"required": true,
@@ -4594,22 +4594,22 @@
"type": "string",
"x-ms-parameter-location": "method"
},
- "startDateParameter": {
- "name": "startDate",
- "in": "query",
- "description": "Start date",
- "required": true,
- "type": "string",
+ "startDateParameter": {
+ "name": "startDate",
+ "in": "query",
+ "description": "Start date",
+ "required": true,
+ "type": "string",
"x-ms-parameter-location": "method"
- },
- "endDateParameter": {
- "name": "endDate",
- "in": "query",
- "description": "End date",
- "required": true,
- "type": "string",
+ },
+ "endDateParameter": {
+ "name": "endDate",
+ "in": "query",
+ "description": "End date",
+ "required": true,
+ "type": "string",
"x-ms-parameter-location": "method"
- },
+ },
"metricParameter": {
"name": "metric",
"in": "query",
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccount.json
index 6636da8be40d..eee1aee59c45 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccount.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccount.json
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByBillingProfileId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByBillingProfileId.json
index 294ef5ac70b3..b28561317755 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByBillingProfileId.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByBillingProfileId.json
@@ -4,7 +4,7 @@
"scope": "providers/Microsoft.Billing/billingAccounts/1234:56789",
"startDate": "2019-09-01",
"endDate": "2019-09-30",
- "$apply": "groupby((properties/billingProfileId))"
+ "$apply": "groupby((properties/billingProfileId))"
},
"responses": {
"200": {
@@ -16,7 +16,7 @@
"type": "Microsoft.Consumption/charges",
"kind": "modern",
"properties": {
- "isInvoiced": false,
+ "isInvoiced": false,
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/123456/providers/Microsoft.Billing/billingPeriods/201909",
"usageStart": "2019-09-01",
"usageEnd": "2019-09-30",
@@ -65,4 +65,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByCustomerId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByCustomerId.json
index 45702222424d..56f2bfeb61f8 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByCustomerId.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByCustomerId.json
@@ -4,7 +4,7 @@
"scope": "providers/Microsoft.Billing/billingAccounts/1234:56789",
"startDate": "2019-09-01",
"endDate": "2019-09-30",
- "$apply": "groupby((properties/customerId))"
+ "$apply": "groupby((properties/customerId))"
},
"responses": {
"200": {
@@ -16,8 +16,8 @@
"type": "Microsoft.Consumption/charges",
"kind": "modern",
"properties": {
- "customerId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/customers/67890",
- "isInvoiced": false,
+ "customerId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/customers/67890",
+ "isInvoiced": false,
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909",
"usageStart": "2019-09-01",
"usageEnd": "2019-09-30",
@@ -44,8 +44,8 @@
"type": "Microsoft.Consumption/charges",
"kind": "modern",
"properties": {
- "customerId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/customers/123456",
- "isInvoiced": false,
+ "customerId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/customers/123456",
+ "isInvoiced": false,
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909",
"usageStart": "2019-09-01",
"usageEnd": "2019-09-30",
@@ -70,4 +70,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByInvoiceSectionId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByInvoiceSectionId.json
index 8fd9a01546cc..d86df3f0ef1d 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByInvoiceSectionId.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByInvoiceSectionId.json
@@ -4,7 +4,7 @@
"scope": "providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425",
"startDate": "2019-09-01",
"endDate": "2019-09-30",
- "$apply": "groupby((properties/invoiceSectionId))"
+ "$apply": "groupby((properties/invoiceSectionId))"
},
"responses": {
"200": {
@@ -17,7 +17,7 @@
"kind": "modern",
"properties": {
"isInvoiced": false,
- "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909",
+ "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909",
"usageStart": "2019-09-01",
"usageEnd": "2019-09-30",
"azureCharges": {
@@ -68,4 +68,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingProfileGroupByInvoiceSectionId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingProfileGroupByInvoiceSectionId.json
index d35ff42ddd66..d86df3f0ef1d 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingProfileGroupByInvoiceSectionId.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingProfileGroupByInvoiceSectionId.json
@@ -4,7 +4,7 @@
"scope": "providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425",
"startDate": "2019-09-01",
"endDate": "2019-09-30",
- "$apply": "groupby((properties/invoiceSectionId))"
+ "$apply": "groupby((properties/invoiceSectionId))"
},
"responses": {
"200": {
@@ -16,8 +16,8 @@
"type": "Microsoft.Consumption/charges",
"kind": "modern",
"properties": {
- "isInvoiced": false,
- "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909",
+ "isInvoiced": false,
+ "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909",
"usageStart": "2019-09-01",
"usageEnd": "2019-09-30",
"azureCharges": {
@@ -43,7 +43,7 @@
"type": "Microsoft.Consumption/charges",
"kind": "modern",
"properties": {
- "isInvoiced": false,
+ "isInvoiced": false,
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909",
"usageStart": "2019-09-01",
"usageEnd": "2019-09-30",
@@ -68,4 +68,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingProfileInvoiceSection.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingProfileInvoiceSection.json
index 4c20ceba9999..905647a9b557 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingProfileInvoiceSection.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingProfileInvoiceSection.json
@@ -3,7 +3,7 @@
"api-version": "2019-10-01",
"startDate": "2019-09-01",
"endDate": "2019-10-31",
- "scope" : "providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425/invoiceSections/67890"
+ "scope": "providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425/invoiceSections/67890"
},
"responses": {
"200": {
@@ -15,7 +15,7 @@
"type": "Microsoft.Consumption/charges",
"kind": "modern",
"properties": {
- "isInvoiced": false,
+ "isInvoiced": false,
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909",
"usageStart": "2019-09-01",
"usageEnd": "2019-09-30",
@@ -42,7 +42,7 @@
"type": "Microsoft.Consumption/charges",
"kind": "modern",
"properties": {
- "isInvoiced": false,
+ "isInvoiced": false,
"billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201910",
"usageStart": "2019-10-01",
"usageEnd": "2019-10-31",
@@ -67,4 +67,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/CreditSummaryByBillingProfile.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/CreditSummaryByBillingProfile.json
index 60a0899f1671..77dd075699c9 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/CreditSummaryByBillingProfile.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/CreditSummaryByBillingProfile.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/EventsListByBillingProfile.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/EventsListByBillingProfile.json
index 5ab4587adb1e..636924d3b392 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/EventsListByBillingProfile.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/EventsListByBillingProfile.json
@@ -138,4 +138,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/LotsListByBillingProfile.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/LotsListByBillingProfile.json
index 2a06222b67fc..323660d282cd 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/LotsListByBillingProfile.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/LotsListByBillingProfile.json
@@ -50,4 +50,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsByBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsByBillingAccount.json
index f33b47e5d4b6..d7ab001244eb 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsByBillingAccount.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsByBillingAccount.json
@@ -13,7 +13,7 @@
"type": "Microsoft.Consumption/reservationRecommendations",
"location": "westus",
"sku": "Standard_DS1_v2",
- "kind": "legacy",
+ "kind": "legacy",
"properties": {
"meterId": "00000000-0000-0000-0000-000000000000",
"term": "P1Y",
@@ -46,7 +46,7 @@
"type": "Microsoft.Consumption/reservationRecommendations",
"location": "westus",
"sku": "Standard_DS1_v2",
- "kind": "legacy",
+ "kind": "legacy",
"properties": {
"meterId": "00000000-0000-0000-0000-000000000000",
"term": "P1Y",
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsByBillingProfile.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsByBillingProfile.json
index ae8a3c2fabb3..10f286f0974a 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsByBillingProfile.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsByBillingProfile.json
@@ -13,40 +13,40 @@
"type": "Microsoft.Consumption/reservationRecommendations",
"location": "westus",
"sku": "Standard_DS1_v2",
- "kind": "modern",
+ "kind": "modern",
"properties": {
- "meterId": "00000000-0000-0000-0000-000000000000",
- "term": "P1Y",
- "costWithNoReservedInstances": {
- "currency": "USD",
- "value": 1.4749000882
- },
- "recommendedQuantity": 1,
- "totalCostWithReservedInstances": {
- "currency": "USD",
- "value": 1.07665757024628
- },
- "netSavings": {
- "currency": "USD",
- "value": 0.39824251795372
- },
- "firstUsageDate": "2019-07-07T00:00:00-07:00",
- "scope": "Shared",
- "lookBackPeriod": "Last7Days",
- "instanceFlexibilityRatio": 1,
- "instanceFlexibilityGroup": "DSv2 Series",
- "normalizedSize": "Standard_DS1_v2",
- "recommendedQuantityNormalized": 1,
- "skuProperties": [
- {
- "name": "Cores",
- "value": "1"
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "term": "P1Y",
+ "costWithNoReservedInstances": {
+ "currency": "USD",
+ "value": 1.4749000882
},
- {
- "name": "Ram",
- "value": "1"
- }
- ]
+ "recommendedQuantity": 1,
+ "totalCostWithReservedInstances": {
+ "currency": "USD",
+ "value": 1.07665757024628
+ },
+ "netSavings": {
+ "currency": "USD",
+ "value": 0.39824251795372
+ },
+ "firstUsageDate": "2019-07-07T00:00:00-07:00",
+ "scope": "Shared",
+ "lookBackPeriod": "Last7Days",
+ "instanceFlexibilityRatio": 1,
+ "instanceFlexibilityGroup": "DSv2 Series",
+ "normalizedSize": "Standard_DS1_v2",
+ "recommendedQuantityNormalized": 1,
+ "skuProperties": [
+ {
+ "name": "Cores",
+ "value": "1"
+ },
+ {
+ "name": "Ram",
+ "value": "1"
+ }
+ ]
}
},
{
@@ -55,40 +55,40 @@
"type": "Microsoft.Consumption/reservationRecommendations",
"location": "westus",
"sku": "Standard_DS1_v2",
- "kind": "modern",
+ "kind": "modern",
"properties": {
- "meterId": "00000000-0000-0000-0000-000000000000",
- "term": "P1Y",
- "costWithNoReservedInstances": {
- "currency": "USD",
- "value": 1.4896
- },
- "recommendedQuantity": 1,
- "totalCostWithReservedInstances": {
- "currency": "USD",
- "value": 1.08265753424628
- },
- "netSavings": {
- "currency": "USD",
- "value": 0.40694246575372
- },
- "firstUsageDate": "2019-07-07T00:00:00-07:00",
- "scope": "Shared",
- "lookBackPeriod": "Last7Days",
- "instanceFlexibilityRatio": 1,
- "instanceFlexibilityGroup": "DSv2 Series",
- "normalizedSize": "Standard_DS1",
- "recommendedQuantityNormalized": 1.2,
- "skuProperties": [
- {
- "name": "SkuDisplayName",
- "value": "B"
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "term": "P1Y",
+ "costWithNoReservedInstances": {
+ "currency": "USD",
+ "value": 1.4896
+ },
+ "recommendedQuantity": 1,
+ "totalCostWithReservedInstances": {
+ "currency": "USD",
+ "value": 1.08265753424628
+ },
+ "netSavings": {
+ "currency": "USD",
+ "value": 0.40694246575372
},
- {
- "name": "CPU",
- "value": "1"
- }
- ]
+ "firstUsageDate": "2019-07-07T00:00:00-07:00",
+ "scope": "Shared",
+ "lookBackPeriod": "Last7Days",
+ "instanceFlexibilityRatio": 1,
+ "instanceFlexibilityGroup": "DSv2 Series",
+ "normalizedSize": "Standard_DS1",
+ "recommendedQuantityNormalized": 1.2,
+ "skuProperties": [
+ {
+ "name": "SkuDisplayName",
+ "value": "B"
+ },
+ {
+ "name": "CPU",
+ "value": "1"
+ }
+ ]
}
}
],
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsBySubscription.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsBySubscription.json
index fc79284bf7dd..a2b9649823d1 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsBySubscription.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsBySubscription.json
@@ -13,7 +13,7 @@
"type": "Microsoft.Consumption/reservationRecommendations",
"sku": "Standard_DS1_v2",
"location": "northeurope",
- "kind": "legacy",
+ "kind": "legacy",
"properties": {
"lookBackPeriod": "Last7Days",
"meterId": "00000000-0000-0000-0000-000000000000",
@@ -32,7 +32,7 @@
"type": "Microsoft.Consumption/reservationRecommendations",
"sku": "Standard_DS1_v2",
"location": "northeurope",
- "kind": "legacy",
+ "kind": "legacy",
"properties": {
"lookBackPeriod": "Last7Days",
"meterId": "00000000-0000-0000-0000-000000000000",
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsFilterBySubscriptionForScopeLookBackPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsFilterBySubscriptionForScopeLookBackPeriod.json
index ee9f49e2cc5b..8cb515b0cb1b 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsFilterBySubscriptionForScopeLookBackPeriod.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsFilterBySubscriptionForScopeLookBackPeriod.json
@@ -14,8 +14,8 @@
"type": "Microsoft.Consumption/reservationRecommendations",
"sku": "Standard_DS1_v2",
"location": "northeurope",
- "kind": "legacy",
- "properties": {
+ "kind": "legacy",
+ "properties": {
"lookBackPeriod": "Last7Days",
"meterId": "00000000-0000-0000-0000-000000000000",
"term": "P1Y",
@@ -43,7 +43,7 @@
"type": "Microsoft.Consumption/reservationRecommendations",
"sku": "Standard_DS1_v2",
"location": "northeurope",
- "kind": "legacy",
+ "kind": "legacy",
"properties": {
"lookBackPeriod": "Last7Days",
"meterId": "00000000-0000-0000-0000-000000000000",
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingAccount.json
index 95287cb6774b..cddefc406d0f 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingAccount.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingAccount.json
@@ -34,48 +34,48 @@
"consumedService": "Microsoft.Storage",
"instanceName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
"invoiceSectionId": "98765",
- "invoiceSectionName": "Invoice Section 1",
+ "invoiceSectionName": "Invoice Section 1",
"costCenter": "DEV",
"resourceGroup": "Resource Group 1",
"isAzureCreditEligible": false,
"chargeType": "Usage",
- "additionalInfo": "{ \"UsageType\": \"ComputeHR\", \"ImageType\": \"Windows Client BYOL\", \"ServiceType\": \"Standard_D1\", \"VMName\": null, \"VMProperties\": null, \"VCPUs\": 1, \"CPUs\": 0}",
- "costInBillingCurrency": 1.84763819095477,
- "costInPricingCurrency": 1.84763819095477,
- "exchangeRate": "1",
- "exchangeRateDate": "2019-10-01T00:00:00Z",
- "invoiceId": "",
- "previousInvoiceId": "",
- "pricingCurrencyCode": "USD",
- "product": "Virtual Machines D Series - D1 - US East",
- "productIdentifier": "DZH318Z0BQ4B00FV",
- "productOrderId": "a3db7880-70eb-4b4c-6a79-1425a058df5a",
- "productOrderName": "Azure plan",
- "publisherName": "Microsoft",
- "publisherType": "1PP",
- "resourceLocationNormalized": "US East",
- "serviceInfo1": "",
- "serviceInfo2": "Windows Client BYOL",
- "servicePeriodEndDate": "2019-12-01T00:00:00Z",
- "servicePeriodStartDate": "2019-10-01T00:00:00Z",
- "customerTenantId": "00000000-0000-0000-0000-000000000000",
- "customerName": "Modern Azure Customer 1",
- "partnerTenantId": "00000000-0000-0000-0000-000000000000",
- "partnerName": "Partner Name 1",
- "resellerMpnId": "",
- "resellerName": "Reseller Name 1",
- "publisherId": "",
- "reservationId": "",
- "reservationName": "",
- "frequency": "UsageBased",
- "term": "",
- "marketPrice": 0.077,
- "costInUSD": 1.84763819095477,
- "paygCostInBillingCurrency": 1.848,
- "paygCostInUSD": 1.848,
- "exchangeRatePricingToBilling": 0.077,
- "partnerEarnedCreditRate": 0.077,
- "partnerEarnedCreditApplied": "0"
+ "additionalInfo": "{ \"UsageType\": \"ComputeHR\", \"ImageType\": \"Windows Client BYOL\", \"ServiceType\": \"Standard_D1\", \"VMName\": null, \"VMProperties\": null, \"VCPUs\": 1, \"CPUs\": 0}",
+ "costInBillingCurrency": 1.84763819095477,
+ "costInPricingCurrency": 1.84763819095477,
+ "exchangeRate": "1",
+ "exchangeRateDate": "2019-10-01T00:00:00Z",
+ "invoiceId": "",
+ "previousInvoiceId": "",
+ "pricingCurrencyCode": "USD",
+ "product": "Virtual Machines D Series - D1 - US East",
+ "productIdentifier": "DZH318Z0BQ4B00FV",
+ "productOrderId": "a3db7880-70eb-4b4c-6a79-1425a058df5a",
+ "productOrderName": "Azure plan",
+ "publisherName": "Microsoft",
+ "publisherType": "1PP",
+ "resourceLocationNormalized": "US East",
+ "serviceInfo1": "",
+ "serviceInfo2": "Windows Client BYOL",
+ "servicePeriodEndDate": "2019-12-01T00:00:00Z",
+ "servicePeriodStartDate": "2019-10-01T00:00:00Z",
+ "customerTenantId": "00000000-0000-0000-0000-000000000000",
+ "customerName": "Modern Azure Customer 1",
+ "partnerTenantId": "00000000-0000-0000-0000-000000000000",
+ "partnerName": "Partner Name 1",
+ "resellerMpnId": "",
+ "resellerName": "Reseller Name 1",
+ "publisherId": "",
+ "reservationId": "",
+ "reservationName": "",
+ "frequency": "UsageBased",
+ "term": "",
+ "marketPrice": 0.077,
+ "costInUSD": 1.84763819095477,
+ "paygCostInBillingCurrency": 1.848,
+ "paygCostInUSD": 1.848,
+ "exchangeRatePricingToBilling": 0.077,
+ "partnerEarnedCreditRate": 0.077,
+ "partnerEarnedCreditApplied": "0"
}
}
]
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingProfile.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingProfile.json
index 29bad2b24732..66506715f999 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingProfile.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingProfile.json
@@ -34,48 +34,48 @@
"consumedService": "Microsoft.Storage",
"instanceName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
"invoiceSectionId": "98765",
- "invoiceSectionName": "Invoice Section 1",
+ "invoiceSectionName": "Invoice Section 1",
"costCenter": "DEV",
"resourceGroup": "Resource Group 1",
"isAzureCreditEligible": false,
"chargeType": "Usage",
- "additionalInfo": "{ \"UsageType\": \"ComputeHR\", \"ImageType\": \"Windows Client BYOL\", \"ServiceType\": \"Standard_D1\", \"VMName\": null, \"VMProperties\": null, \"VCPUs\": 1, \"CPUs\": 0}",
- "costInBillingCurrency": 1.84763819095477,
- "costInPricingCurrency": 1.84763819095477,
- "exchangeRate": "1",
- "exchangeRateDate": "2019-10-01T00:00:00Z",
- "invoiceId": "",
- "previousInvoiceId": "",
- "pricingCurrencyCode": "USD",
- "product": "Virtual Machines D Series - D1 - US East",
- "productIdentifier": "DZH318Z0BQ4B00FV",
- "productOrderId": "a3db7880-70eb-4b4c-6a79-1425a058df5a",
- "productOrderName": "Azure plan",
- "publisherName": "Microsoft",
- "publisherType": "1PP",
- "resourceLocationNormalized": "US East",
- "serviceInfo1": "",
- "serviceInfo2": "Windows Client BYOL",
- "servicePeriodEndDate": "2019-12-01T00:00:00Z",
- "servicePeriodStartDate": "2019-10-01T00:00:00Z",
- "customerTenantId": "00000000-0000-0000-0000-000000000000",
- "customerName": "Modern Azure Customer 1",
- "partnerTenantId": "00000000-0000-0000-0000-000000000000",
- "partnerName": "Partner Name 1",
- "resellerMpnId": "",
- "resellerName": "Reseller Name 1",
- "publisherId": "",
- "reservationId": "",
- "reservationName": "",
- "frequency": "UsageBased",
- "term": "",
- "marketPrice": 0.077,
- "costInUSD": 1.84763819095477,
- "paygCostInBillingCurrency": 1.848,
- "paygCostInUSD": 1.848,
- "exchangeRatePricingToBilling": 0.077,
- "partnerEarnedCreditRate": 0.077,
- "partnerEarnedCreditApplied": "0"
+ "additionalInfo": "{ \"UsageType\": \"ComputeHR\", \"ImageType\": \"Windows Client BYOL\", \"ServiceType\": \"Standard_D1\", \"VMName\": null, \"VMProperties\": null, \"VCPUs\": 1, \"CPUs\": 0}",
+ "costInBillingCurrency": 1.84763819095477,
+ "costInPricingCurrency": 1.84763819095477,
+ "exchangeRate": "1",
+ "exchangeRateDate": "2019-10-01T00:00:00Z",
+ "invoiceId": "",
+ "previousInvoiceId": "",
+ "pricingCurrencyCode": "USD",
+ "product": "Virtual Machines D Series - D1 - US East",
+ "productIdentifier": "DZH318Z0BQ4B00FV",
+ "productOrderId": "a3db7880-70eb-4b4c-6a79-1425a058df5a",
+ "productOrderName": "Azure plan",
+ "publisherName": "Microsoft",
+ "publisherType": "1PP",
+ "resourceLocationNormalized": "US East",
+ "serviceInfo1": "",
+ "serviceInfo2": "Windows Client BYOL",
+ "servicePeriodEndDate": "2019-12-01T00:00:00Z",
+ "servicePeriodStartDate": "2019-10-01T00:00:00Z",
+ "customerTenantId": "00000000-0000-0000-0000-000000000000",
+ "customerName": "Modern Azure Customer 1",
+ "partnerTenantId": "00000000-0000-0000-0000-000000000000",
+ "partnerName": "Partner Name 1",
+ "resellerMpnId": "",
+ "resellerName": "Reseller Name 1",
+ "publisherId": "",
+ "reservationId": "",
+ "reservationName": "",
+ "frequency": "UsageBased",
+ "term": "",
+ "marketPrice": 0.077,
+ "costInUSD": 1.84763819095477,
+ "paygCostInBillingCurrency": 1.848,
+ "paygCostInUSD": 1.848,
+ "exchangeRatePricingToBilling": 0.077,
+ "partnerEarnedCreditRate": 0.077,
+ "partnerEarnedCreditApplied": "0"
}
}
]
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCACustomer.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCACustomer.json
index b61daa293a20..b76b2f52e19e 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCACustomer.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCACustomer.json
@@ -34,48 +34,48 @@
"consumedService": "Microsoft.Storage",
"instanceName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
"invoiceSectionId": "98765",
- "invoiceSectionName": "Invoice Section 1",
+ "invoiceSectionName": "Invoice Section 1",
"costCenter": "DEV",
"resourceGroup": "Resource Group 1",
"isAzureCreditEligible": false,
"chargeType": "Usage",
- "additionalInfo": "{ \"UsageType\": \"ComputeHR\", \"ImageType\": \"Windows Client BYOL\", \"ServiceType\": \"Standard_D1\", \"VMName\": null, \"VMProperties\": null, \"VCPUs\": 1, \"CPUs\": 0}",
- "costInBillingCurrency": 1.84763819095477,
- "costInPricingCurrency": 1.84763819095477,
- "exchangeRate": "1",
- "exchangeRateDate": "2019-10-01T00:00:00Z",
- "invoiceId": "",
- "previousInvoiceId": "",
- "pricingCurrencyCode": "USD",
- "product": "Virtual Machines D Series - D1 - US East",
- "productIdentifier": "DZH318Z0BQ4B00FV",
- "productOrderId": "a3db7880-70eb-4b4c-6a79-1425a058df5a",
- "productOrderName": "Azure plan",
- "publisherName": "Microsoft",
- "publisherType": "1PP",
- "resourceLocationNormalized": "US East",
- "serviceInfo1": "",
- "serviceInfo2": "Windows Client BYOL",
- "servicePeriodEndDate": "2019-12-01T00:00:00Z",
- "servicePeriodStartDate": "2019-10-01T00:00:00Z",
- "customerTenantId": "00000000-0000-0000-0000-000000000000",
- "customerName": "Modern Azure Customer 1",
- "partnerTenantId": "00000000-0000-0000-0000-000000000000",
- "partnerName": "Partner Name 1",
- "resellerMpnId": "",
- "resellerName": "Reseller Name 1",
- "publisherId": "",
- "reservationId": "",
- "reservationName": "",
- "frequency": "UsageBased",
- "term": "",
- "marketPrice": 0.077,
- "costInUSD": 1.84763819095477,
- "paygCostInBillingCurrency": 1.848,
- "paygCostInUSD": 1.848,
- "exchangeRatePricingToBilling": 0.077,
- "partnerEarnedCreditRate": 0.077,
- "partnerEarnedCreditApplied": "0"
+ "additionalInfo": "{ \"UsageType\": \"ComputeHR\", \"ImageType\": \"Windows Client BYOL\", \"ServiceType\": \"Standard_D1\", \"VMName\": null, \"VMProperties\": null, \"VCPUs\": 1, \"CPUs\": 0}",
+ "costInBillingCurrency": 1.84763819095477,
+ "costInPricingCurrency": 1.84763819095477,
+ "exchangeRate": "1",
+ "exchangeRateDate": "2019-10-01T00:00:00Z",
+ "invoiceId": "",
+ "previousInvoiceId": "",
+ "pricingCurrencyCode": "USD",
+ "product": "Virtual Machines D Series - D1 - US East",
+ "productIdentifier": "DZH318Z0BQ4B00FV",
+ "productOrderId": "a3db7880-70eb-4b4c-6a79-1425a058df5a",
+ "productOrderName": "Azure plan",
+ "publisherName": "Microsoft",
+ "publisherType": "1PP",
+ "resourceLocationNormalized": "US East",
+ "serviceInfo1": "",
+ "serviceInfo2": "Windows Client BYOL",
+ "servicePeriodEndDate": "2019-12-01T00:00:00Z",
+ "servicePeriodStartDate": "2019-10-01T00:00:00Z",
+ "customerTenantId": "00000000-0000-0000-0000-000000000000",
+ "customerName": "Modern Azure Customer 1",
+ "partnerTenantId": "00000000-0000-0000-0000-000000000000",
+ "partnerName": "Partner Name 1",
+ "resellerMpnId": "",
+ "resellerName": "Reseller Name 1",
+ "publisherId": "",
+ "reservationId": "",
+ "reservationName": "",
+ "frequency": "UsageBased",
+ "term": "",
+ "marketPrice": 0.077,
+ "costInUSD": 1.84763819095477,
+ "paygCostInBillingCurrency": 1.848,
+ "paygCostInUSD": 1.848,
+ "exchangeRatePricingToBilling": 0.077,
+ "partnerEarnedCreditRate": 0.077,
+ "partnerEarnedCreditApplied": "0"
}
}
]
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCAInvoiceSection.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCAInvoiceSection.json
index e5e6b6db2571..f1133b561e9c 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCAInvoiceSection.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCAInvoiceSection.json
@@ -34,48 +34,48 @@
"consumedService": "Microsoft.Storage",
"instanceName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
"invoiceSectionId": "98765",
- "invoiceSectionName": "Invoice Section 1",
+ "invoiceSectionName": "Invoice Section 1",
"costCenter": "DEV",
"resourceGroup": "Resource Group 1",
"isAzureCreditEligible": false,
"chargeType": "Usage",
- "additionalInfo": "{ \"UsageType\": \"ComputeHR\", \"ImageType\": \"Windows Client BYOL\", \"ServiceType\": \"Standard_D1\", \"VMName\": null, \"VMProperties\": null, \"VCPUs\": 1, \"CPUs\": 0}",
- "costInBillingCurrency": 1.84763819095477,
- "costInPricingCurrency": 1.84763819095477,
- "exchangeRate": "1",
- "exchangeRateDate": "2019-10-01T00:00:00Z",
- "invoiceId": "",
- "previousInvoiceId": "",
- "pricingCurrencyCode": "USD",
- "product": "Virtual Machines D Series - D1 - US East",
- "productIdentifier": "DZH318Z0BQ4B00FV",
- "productOrderId": "a3db7880-70eb-4b4c-6a79-1425a058df5a",
- "productOrderName": "Azure plan",
- "publisherName": "Microsoft",
- "publisherType": "1PP",
- "resourceLocationNormalized": "US East",
- "serviceInfo1": "",
- "serviceInfo2": "Windows Client BYOL",
- "servicePeriodEndDate": "2019-12-01T00:00:00Z",
- "servicePeriodStartDate": "2019-10-01T00:00:00Z",
- "customerTenantId": "00000000-0000-0000-0000-000000000000",
- "customerName": "Modern Azure Customer 1",
- "partnerTenantId": "00000000-0000-0000-0000-000000000000",
- "partnerName": "Partner Name 1",
- "resellerMpnId": "",
- "resellerName": "Reseller Name 1",
- "publisherId": "",
- "reservationId": "",
- "reservationName": "",
- "frequency": "UsageBased",
- "term": "",
- "marketPrice": 0.077,
- "costInUSD": 1.84763819095477,
- "paygCostInBillingCurrency": 1.848,
- "paygCostInUSD": 1.848,
- "exchangeRatePricingToBilling": 0.077,
- "partnerEarnedCreditRate": 0.077,
- "partnerEarnedCreditApplied": "0"
+ "additionalInfo": "{ \"UsageType\": \"ComputeHR\", \"ImageType\": \"Windows Client BYOL\", \"ServiceType\": \"Standard_D1\", \"VMName\": null, \"VMProperties\": null, \"VCPUs\": 1, \"CPUs\": 0}",
+ "costInBillingCurrency": 1.84763819095477,
+ "costInPricingCurrency": 1.84763819095477,
+ "exchangeRate": "1",
+ "exchangeRateDate": "2019-10-01T00:00:00Z",
+ "invoiceId": "",
+ "previousInvoiceId": "",
+ "pricingCurrencyCode": "USD",
+ "product": "Virtual Machines D Series - D1 - US East",
+ "productIdentifier": "DZH318Z0BQ4B00FV",
+ "productOrderId": "a3db7880-70eb-4b4c-6a79-1425a058df5a",
+ "productOrderName": "Azure plan",
+ "publisherName": "Microsoft",
+ "publisherType": "1PP",
+ "resourceLocationNormalized": "US East",
+ "serviceInfo1": "",
+ "serviceInfo2": "Windows Client BYOL",
+ "servicePeriodEndDate": "2019-12-01T00:00:00Z",
+ "servicePeriodStartDate": "2019-10-01T00:00:00Z",
+ "customerTenantId": "00000000-0000-0000-0000-000000000000",
+ "customerName": "Modern Azure Customer 1",
+ "partnerTenantId": "00000000-0000-0000-0000-000000000000",
+ "partnerName": "Partner Name 1",
+ "resellerMpnId": "",
+ "resellerName": "Reseller Name 1",
+ "publisherId": "",
+ "reservationId": "",
+ "reservationName": "",
+ "frequency": "UsageBased",
+ "term": "",
+ "marketPrice": 0.077,
+ "costInUSD": 1.84763819095477,
+ "paygCostInBillingCurrency": 1.848,
+ "paygCostInUSD": 1.848,
+ "exchangeRatePricingToBilling": 0.077,
+ "partnerEarnedCreditRate": 0.077,
+ "partnerEarnedCreditApplied": "0"
}
}
]
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionGetMetricDefinitions.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionGetMetricDefinitions.json
index 152e7d214a53..0c6cd6052b9a 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionGetMetricDefinitions.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionGetMetricDefinitions.json
@@ -28,7 +28,7 @@
],
"primaryAggregationType": "Total",
"unit": "Count",
- "resourceUri": "\/subscriptions\/subId\/resourceGroups\/rg1\/providers\/Microsoft.DocumentDB\/databaseAccounts\/ddb1",
+ "resourceUri": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1",
"name": {
"value": "Total Requests",
"localizedValue": "Total Requests"
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json
index bca1e3bf032b..cadd0fb3fe73 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json
@@ -26,7 +26,7 @@
],
"primaryAggregationType": "Total",
"unit": "Count",
- "resourceUri": "\/subscriptions\/subId\/resourceGroups\/rg1\/providers\/Microsoft.DocumentDB\/databaseAccounts\/ddb1",
+ "resourceUri": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1",
"name": {
"value": "Total Requests",
"localizedValue": "Total Requests"
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseGetMetricDefinitions.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseGetMetricDefinitions.json
index da325cde351b..26624751acce 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseGetMetricDefinitions.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseGetMetricDefinitions.json
@@ -27,7 +27,7 @@
],
"primaryAggregationType": "Total",
"unit": "Count",
- "resourceUri": "\/subscriptions\/subId\/resourceGroups\/rg1\/providers\/Microsoft.DocumentDB\/databaseAccounts\/ddb1",
+ "resourceUri": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1",
"name": {
"value": "Total Requests",
"localizedValue": "Total Requests"
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseGet.json
index 594afb2deff7..d635e6dfd81e 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseGet.json
@@ -17,8 +17,8 @@
"_rid": "CqNBAA==",
"_ts": 1449602962,
"_etag": "\"00000a00-0000-0000-0000-56672f920000\"",
- "_colls": "colls\/",
- "_users": "users\/"
+ "_colls": "colls/",
+ "_users": "users/"
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseList.json
index 1194d33b31f1..52cb013e2f8f 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseList.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseList.json
@@ -18,8 +18,8 @@
"_rid": "CqNBAA==",
"_ts": 1449602962,
"_etag": "\"00000a00-0000-0000-0000-56672f920000\"",
- "_colls": "colls\/",
- "_users": "users\/"
+ "_colls": "colls/",
+ "_users": "users/"
}
}
]
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCollectionGetMetricDefinitions.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCollectionGetMetricDefinitions.json
index 3bdf5f342167..bb93c8f9ae10 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCollectionGetMetricDefinitions.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCollectionGetMetricDefinitions.json
@@ -28,7 +28,7 @@
],
"primaryAggregationType": "Total",
"unit": "Count",
- "resourceUri": "\/subscriptions\/subId\/resourceGroups\/rg1\/providers\/Microsoft.DocumentDB\/databaseAccounts\/ddb1",
+ "resourceUri": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1",
"name": {
"value": "Total Requests",
"localizedValue": "Total Requests"
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json
index b55ed88f43e6..8678381c56fc 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json
@@ -26,7 +26,7 @@
],
"primaryAggregationType": "Total",
"unit": "Count",
- "resourceUri": "\/subscriptions\/subId\/resourceGroups\/rg1\/providers\/Microsoft.DocumentDB\/databaseAccounts\/ddb1",
+ "resourceUri": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1",
"name": {
"value": "Total Requests",
"localizedValue": "Total Requests"
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseGetMetricDefinitions.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseGetMetricDefinitions.json
index a27df0e5f865..3fa96487396e 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseGetMetricDefinitions.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseGetMetricDefinitions.json
@@ -27,7 +27,7 @@
],
"primaryAggregationType": "Total",
"unit": "Count",
- "resourceUri": "\/subscriptions\/subId\/resourceGroups\/rg1\/providers\/Microsoft.DocumentDB\/databaseAccounts\/ddb1",
+ "resourceUri": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1",
"name": {
"value": "Total Requests",
"localizedValue": "Total Requests"
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseGet.json
index 46e06b47313a..a6d860f2e7c9 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseGet.json
@@ -19,8 +19,8 @@
"_rid": "CqNBAA==",
"_ts": 1449602962,
"_etag": "\"00000a00-0000-0000-0000-56672f920000\"",
- "_colls": "colls\/",
- "_users": "users\/"
+ "_colls": "colls/",
+ "_users": "users/"
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseList.json
index 17cde7a9fc66..47848359f50a 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseList.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseList.json
@@ -20,8 +20,8 @@
"_rid": "CqNBAA==",
"_ts": 1449602962,
"_etag": "\"00000a00-0000-0000-0000-56672f920000\"",
- "_colls": "colls\/",
- "_users": "users\/"
+ "_colls": "colls/",
+ "_users": "users/"
}
}
]
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/costmanagement.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/costmanagement.json
index 72b1fe659ebf..93c69f44d141 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/costmanagement.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/costmanagement.json
@@ -750,55 +750,55 @@
"type": "object",
"properties": {
"description": {
- "description": "Dimension description.",
+ "description": "Dimension description.",
"type": "string",
- "readOnly": true
+ "readOnly": true
},
"filterEnabled": {
- "description": "Filter enabled.",
+ "description": "Filter enabled.",
"type": "boolean",
- "readOnly": true
+ "readOnly": true
},
"groupingEnabled": {
"description": "Grouping enabled.",
- "type": "boolean",
- "readOnly": true
+ "type": "boolean",
+ "readOnly": true
},
"data": {
"type": "array",
"items": {
"description": "Dimension data item.",
"type": "string",
- "readOnly": true
+ "readOnly": true
}
},
"total": {
"description": "Total number of data for the dimension.",
"format": "int32",
"type": "integer",
- "readOnly": true
- },
+ "readOnly": true
+ },
"category": {
"description": "Dimension category.",
"type": "string",
- "readOnly": true
+ "readOnly": true
},
"usageStart": {
"description": "Usage start.",
"format": "date-time",
"type": "string",
- "readOnly": true
+ "readOnly": true
},
"usageEnd": {
"description": "Usage end.",
"format": "date-time",
"type": "string",
- "readOnly": true
+ "readOnly": true
},
"nextLink": {
"description": "The link (url) to the next page of results.",
"type": "string",
- "readOnly": true
+ "readOnly": true
}
}
},
@@ -822,7 +822,7 @@
"type": "object",
"properties": {
"nextLink": {
- "description": "The link (url) to the next page of results.",
+ "description": "The link (url) to the next page of results.",
"type": "string"
},
"columns": {
@@ -847,11 +847,11 @@
"properties": {
"name": {
"description": "The name of column.",
- "type": "string"
+ "type": "string"
},
"type": {
"description": "The type of column.",
- "type": "string"
+ "type": "string"
}
}
},
@@ -1504,4 +1504,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/BillingAccountQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/BillingAccountQuery.json
index 7afe642f1694..80d3082985f3 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/BillingAccountQuery.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/BillingAccountQuery.json
@@ -51,56 +51,56 @@
"responses": {
"200": {
"body": {
- "id": "providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "type": "microsoft.costmanagement/Query",
- "properties": {
- "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
- "columns": [
- {
- "name": "PreTaxCost",
- "type": "Number"
- },
- {
- "name": "ResourceGroup",
- "type": "String"
- },
- {
- "name": "UsageDate",
- "type": "Number"
- },
- {
- "name": "Currency",
- "type": "String"
- }
- ],
- "rows": [
- [
- 19.545363672276512,
- "JapanUnifia-Trial",
- 20180331,
- "USD"
- ],
- [
- 173.41979241290323,
- "RVIIOT-TRIAL",
- 20180331,
- "USD"
- ],
- [
- 20.359416562625452,
- "VSTSHOL-1595322048000",
- 20180331,
- "USD"
- ],
- [
- 0.16677720329728665,
- "gs-stms-dev",
- 20180331,
- "USD"
- ]
- ]
- }
+ "id": "providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ 20180331,
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ 20180331,
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ 20180331,
+ "USD"
+ ],
+ [
+ 0.16677720329728665,
+ "gs-stms-dev",
+ 20180331,
+ "USD"
+ ]
+ ]
+ }
}
}
}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/BillingAccountQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/BillingAccountQueryGrouping.json
index d437f36df920..cc666efa60dd 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/BillingAccountQueryGrouping.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/BillingAccountQueryGrouping.json
@@ -26,43 +26,43 @@
"responses": {
"200": {
"body": {
- "id": "providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "type": "microsoft.costmanagement/Query",
- "properties": {
- "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
- "columns": [
- {
- "name": "PreTaxCost",
- "type": "Number"
- },
- {
- "name": "ResourceGroup",
- "type": "String"
- },
- {
- "name": "Currency",
- "type": "String"
- }
- ],
- "rows": [
- [
- 19.545363672276512,
- "JapanUnifia-Trial",
- "USD"
- ],
- [
- 173.41979241290323,
- "RVIIOT-TRIAL",
- "USD"
- ],
- [
- 20.359416562625452,
- "VSTSHOL-1595322048000",
- "USD"
- ]
- ]
- }
+ "id": "providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ "USD"
+ ]
+ ]
+ }
}
}
}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/DepartmentQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/DepartmentQuery.json
index cd2f56f2a845..59cd36defe51 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/DepartmentQuery.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/DepartmentQuery.json
@@ -52,56 +52,56 @@
"responses": {
"200": {
"body": {
- "id": "providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "type": "microsoft.costmanagement/Query",
- "properties": {
- "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
- "columns": [
- {
- "name": "PreTaxCost",
- "type": "Number"
- },
- {
- "name": "ResourceGroup",
- "type": "String"
- },
- {
- "name": "UsageDate",
- "type": "Number"
- },
- {
- "name": "Currency",
- "type": "String"
- }
- ],
- "rows": [
- [
- 19.545363672276512,
- "JapanUnifia-Trial",
- 20180331,
- "USD"
- ],
- [
- 173.41979241290323,
- "RVIIOT-TRIAL",
- 20180331,
- "USD"
- ],
- [
- 20.359416562625452,
- "VSTSHOL-1595322048000",
- 20180331,
- "USD"
- ],
- [
- 0.16677720329728665,
- "gs-stms-dev",
- 20180331,
- "USD"
- ]
- ]
- }
+ "id": "providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ 20180331,
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ 20180331,
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ 20180331,
+ "USD"
+ ],
+ [
+ 0.16677720329728665,
+ "gs-stms-dev",
+ 20180331,
+ "USD"
+ ]
+ ]
+ }
}
}
}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/DepartmentQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/DepartmentQueryGrouping.json
index 8b2e5bb2e05b..27ae96d00be2 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/DepartmentQueryGrouping.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/DepartmentQueryGrouping.json
@@ -27,43 +27,43 @@
"responses": {
"200": {
"body": {
- "id": "providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "type": "microsoft.costmanagement/Query",
- "properties": {
- "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
- "columns": [
- {
- "name": "PreTaxCost",
- "type": "Number"
- },
- {
- "name": "ResourceGroup",
- "type": "String"
- },
- {
- "name": "Currency",
- "type": "String"
- }
- ],
- "rows": [
- [
- 19.545363672276512,
- "JapanUnifia-Trial",
- "USD"
- ],
- [
- 173.41979241290323,
- "RVIIOT-TRIAL",
- "USD"
- ],
- [
- 20.359416562625452,
- "VSTSHOL-1595322048000",
- "USD"
- ]
- ]
- }
+ "id": "providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ "USD"
+ ]
+ ]
+ }
}
}
}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/EnrollmentAccountQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/EnrollmentAccountQuery.json
index 5010705d4751..d8adb4734eea 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/EnrollmentAccountQuery.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/EnrollmentAccountQuery.json
@@ -52,56 +52,56 @@
"responses": {
"200": {
"body": {
- "id": "providers/Microsoft.Billing/billingAccounts/70664866/enrollmentAccounts/456/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "type": "microsoft.costmanagement/Query",
- "properties": {
- "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/enrollmentAccounts/456/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
- "columns": [
- {
- "name": "PreTaxCost",
- "type": "Number"
- },
- {
- "name": "ResourceGroup",
- "type": "String"
- },
- {
- "name": "UsageDate",
- "type": "Number"
- },
- {
- "name": "Currency",
- "type": "String"
- }
- ],
- "rows": [
- [
- 19.545363672276512,
- "JapanUnifia-Trial",
- 20180331,
- "USD"
- ],
- [
- 173.41979241290323,
- "RVIIOT-TRIAL",
- 20180331,
- "USD"
- ],
- [
- 20.359416562625452,
- "VSTSHOL-1595322048000",
- 20180331,
- "USD"
- ],
- [
- 0.16677720329728665,
- "gs-stms-dev",
- 20180331,
- "USD"
- ]
- ]
- }
+ "id": "providers/Microsoft.Billing/billingAccounts/70664866/enrollmentAccounts/456/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/enrollmentAccounts/456/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ 20180331,
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ 20180331,
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ 20180331,
+ "USD"
+ ],
+ [
+ 0.16677720329728665,
+ "gs-stms-dev",
+ 20180331,
+ "USD"
+ ]
+ ]
+ }
}
}
}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/EnrollmentAccountQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/EnrollmentAccountQueryGrouping.json
index 947477b35fff..0abc39cf554c 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/EnrollmentAccountQueryGrouping.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/EnrollmentAccountQueryGrouping.json
@@ -32,50 +32,50 @@
"responses": {
"200": {
"body": {
- "id": "providers/Microsoft.Billing/billingAccounts/70664866/enrollmentAccounts/456/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "type": "microsoft.costmanagement/Query",
- "properties": {
- "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/enrollmentAccounts/456/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
- "columns": [
- {
- "name": "PreTaxCost",
- "type": "Number"
- },
- {
- "name": "ResourceGroup",
- "type": "String"
- },
- {
- "name": "UsageDate",
- "type": "Number"
- },
- {
- "name": "Currency",
- "type": "String"
- }
- ],
- "rows": [
- [
- 19.545363672276512,
- "JapanUnifia-Trial",
- 20180331,
- "USD"
- ],
- [
- 173.41979241290323,
- "RVIIOT-TRIAL",
- 20180331,
- "USD"
- ],
- [
- 20.359416562625452,
- "VSTSHOL-1595322048000",
- 20180331,
- "USD"
- ]
- ]
- }
+ "id": "providers/Microsoft.Billing/billingAccounts/70664866/enrollmentAccounts/456/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/enrollmentAccounts/456/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ 20180331,
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ 20180331,
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ 20180331,
+ "USD"
+ ]
+ ]
+ }
}
}
}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingAccountQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingAccountQuery.json
index 86538a05da60..8abfb5dc2eca 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingAccountQuery.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingAccountQuery.json
@@ -51,56 +51,56 @@
"responses": {
"200": {
"body": {
- "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "type": "microsoft.costmanagement/Query",
- "properties": {
- "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
- "columns": [
- {
- "name": "PreTaxCost",
- "type": "Number"
- },
- {
- "name": "ResourceGroup",
- "type": "String"
- },
- {
- "name": "UsageDate",
- "type": "Number"
- },
- {
- "name": "Currency",
- "type": "String"
- }
- ],
- "rows": [
- [
- 19.545363672276512,
- "JapanUnifia-Trial",
- 20180331,
- "USD"
- ],
- [
- 173.41979241290323,
- "RVIIOT-TRIAL",
- 20180331,
- "USD"
- ],
- [
- 20.359416562625452,
- "VSTSHOL-1595322048000",
- 20180331,
- "USD"
- ],
- [
- 0.16677720329728665,
- "gs-stms-dev",
- 20180331,
- "USD"
- ]
- ]
- }
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ 20180331,
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ 20180331,
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ 20180331,
+ "USD"
+ ],
+ [
+ 0.16677720329728665,
+ "gs-stms-dev",
+ 20180331,
+ "USD"
+ ]
+ ]
+ }
}
}
}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingAccountQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingAccountQueryGrouping.json
index 4de5de1a35f7..648ebf053be2 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingAccountQueryGrouping.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingAccountQueryGrouping.json
@@ -26,43 +26,43 @@
"responses": {
"200": {
"body": {
- "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "type": "microsoft.costmanagement/Query",
- "properties": {
- "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
- "columns": [
- {
- "name": "PreTaxCost",
- "type": "Number"
- },
- {
- "name": "ResourceGroup",
- "type": "String"
- },
- {
- "name": "Currency",
- "type": "String"
- }
- ],
- "rows": [
- [
- 19.545363672276512,
- "JapanUnifia-Trial",
- "USD"
- ],
- [
- 173.41979241290323,
- "RVIIOT-TRIAL",
- "USD"
- ],
- [
- 20.359416562625452,
- "VSTSHOL-1595322048000",
- "USD"
- ]
- ]
- }
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ "USD"
+ ]
+ ]
+ }
}
}
}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingProfileQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingProfileQuery.json
index 7c06b2384402..89e2f2fb78ca 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingProfileQuery.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingProfileQuery.json
@@ -52,56 +52,56 @@
"responses": {
"200": {
"body": {
- "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "type": "microsoft.costmanagement/Query",
- "properties": {
- "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
- "columns": [
- {
- "name": "PreTaxCost",
- "type": "Number"
- },
- {
- "name": "ResourceGroup",
- "type": "String"
- },
- {
- "name": "UsageDate",
- "type": "Number"
- },
- {
- "name": "Currency",
- "type": "String"
- }
- ],
- "rows": [
- [
- 19.545363672276512,
- "JapanUnifia-Trial",
- 20180331,
- "USD"
- ],
- [
- 173.41979241290323,
- "RVIIOT-TRIAL",
- 20180331,
- "USD"
- ],
- [
- 20.359416562625452,
- "VSTSHOL-1595322048000",
- 20180331,
- "USD"
- ],
- [
- 0.16677720329728665,
- "gs-stms-dev",
- 20180331,
- "USD"
- ]
- ]
- }
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ 20180331,
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ 20180331,
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ 20180331,
+ "USD"
+ ],
+ [
+ 0.16677720329728665,
+ "gs-stms-dev",
+ 20180331,
+ "USD"
+ ]
+ ]
+ }
}
}
}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingProfileQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingProfileQueryGrouping.json
index c262bd0f5d47..3946eb12c2cf 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingProfileQueryGrouping.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingProfileQueryGrouping.json
@@ -27,43 +27,43 @@
"responses": {
"200": {
"body": {
- "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "type": "microsoft.costmanagement/Query",
- "properties": {
- "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
- "columns": [
- {
- "name": "PreTaxCost",
- "type": "Number"
- },
- {
- "name": "ResourceGroup",
- "type": "String"
- },
- {
- "name": "Currency",
- "type": "String"
- }
- ],
- "rows": [
- [
- 19.545363672276512,
- "JapanUnifia-Trial",
- "USD"
- ],
- [
- 173.41979241290323,
- "RVIIOT-TRIAL",
- "USD"
- ],
- [
- 20.359416562625452,
- "VSTSHOL-1595322048000",
- "USD"
- ]
- ]
- }
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ "USD"
+ ]
+ ]
+ }
}
}
}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCACustomerQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCACustomerQuery.json
index 28e65f8fff6d..41a095e8750c 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCACustomerQuery.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCACustomerQuery.json
@@ -52,56 +52,56 @@
"responses": {
"200": {
"body": {
- "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "type": "microsoft.costmanagement/Query",
- "properties": {
- "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
- "columns": [
- {
- "name": "PreTaxCost",
- "type": "Number"
- },
- {
- "name": "ResourceGroup",
- "type": "String"
- },
- {
- "name": "UsageDate",
- "type": "Number"
- },
- {
- "name": "Currency",
- "type": "String"
- }
- ],
- "rows": [
- [
- 19.545363672276512,
- "JapanUnifia-Trial",
- 20180331,
- "USD"
- ],
- [
- 173.41979241290323,
- "RVIIOT-TRIAL",
- 20180331,
- "USD"
- ],
- [
- 20.359416562625452,
- "VSTSHOL-1595322048000",
- 20180331,
- "USD"
- ],
- [
- 0.16677720329728665,
- "gs-stms-dev",
- 20180331,
- "USD"
- ]
- ]
- }
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ 20180331,
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ 20180331,
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ 20180331,
+ "USD"
+ ],
+ [
+ 0.16677720329728665,
+ "gs-stms-dev",
+ 20180331,
+ "USD"
+ ]
+ ]
+ }
}
}
}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCACustomerQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCACustomerQueryGrouping.json
index c90d17bf1bce..a4629cc12c8c 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCACustomerQueryGrouping.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCACustomerQueryGrouping.json
@@ -27,43 +27,43 @@
"responses": {
"200": {
"body": {
- "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "type": "microsoft.costmanagement/Query",
- "properties": {
- "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
- "columns": [
- {
- "name": "PreTaxCost",
- "type": "Number"
- },
- {
- "name": "ResourceGroup",
- "type": "String"
- },
- {
- "name": "Currency",
- "type": "String"
- }
- ],
- "rows": [
- [
- 19.545363672276512,
- "JapanUnifia-Trial",
- "USD"
- ],
- [
- 173.41979241290323,
- "RVIIOT-TRIAL",
- "USD"
- ],
- [
- 20.359416562625452,
- "VSTSHOL-1595322048000",
- "USD"
- ]
- ]
- }
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ "USD"
+ ]
+ ]
+ }
}
}
}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCAInvoiceSectionQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCAInvoiceSectionQuery.json
index d11082ef2cba..ddacc8d3b487 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCAInvoiceSectionQuery.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCAInvoiceSectionQuery.json
@@ -53,56 +53,56 @@
"responses": {
"200": {
"body": {
- "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "type": "microsoft.costmanagement/Query",
- "properties": {
- "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
- "columns": [
- {
- "name": "PreTaxCost",
- "type": "Number"
- },
- {
- "name": "ResourceGroup",
- "type": "String"
- },
- {
- "name": "UsageDate",
- "type": "Number"
- },
- {
- "name": "Currency",
- "type": "String"
- }
- ],
- "rows": [
- [
- 19.545363672276512,
- "JapanUnifia-Trial",
- 20180331,
- "USD"
- ],
- [
- 173.41979241290323,
- "RVIIOT-TRIAL",
- 20180331,
- "USD"
- ],
- [
- 20.359416562625452,
- "VSTSHOL-1595322048000",
- 20180331,
- "USD"
- ],
- [
- 0.16677720329728665,
- "gs-stms-dev",
- 20180331,
- "USD"
- ]
- ]
- }
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ 20180331,
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ 20180331,
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ 20180331,
+ "USD"
+ ],
+ [
+ 0.16677720329728665,
+ "gs-stms-dev",
+ 20180331,
+ "USD"
+ ]
+ ]
+ }
}
}
}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCAInvoiceSectionQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCAInvoiceSectionQueryGrouping.json
index fdd3555cef81..c680c09d1ac3 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCAInvoiceSectionQueryGrouping.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCAInvoiceSectionQueryGrouping.json
@@ -28,43 +28,43 @@
"responses": {
"200": {
"body": {
- "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "type": "microsoft.costmanagement/Query",
- "properties": {
- "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
- "columns": [
- {
- "name": "PreTaxCost",
- "type": "Number"
- },
- {
- "name": "ResourceGroup",
- "type": "String"
- },
- {
- "name": "Currency",
- "type": "String"
- }
- ],
- "rows": [
- [
- 19.545363672276512,
- "JapanUnifia-Trial",
- "USD"
- ],
- [
- 173.41979241290323,
- "RVIIOT-TRIAL",
- "USD"
- ],
- [
- 20.359416562625452,
- "VSTSHOL-1595322048000",
- "USD"
- ]
- ]
- }
+ "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ "USD"
+ ]
+ ]
+ }
}
}
}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ManagementGroupQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ManagementGroupQuery.json
index debdbdaf7942..8bb619cee8e3 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ManagementGroupQuery.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ManagementGroupQuery.json
@@ -51,56 +51,56 @@
"responses": {
"200": {
"body": {
- "id": "providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "type": "microsoft.costmanagement/Query",
- "properties": {
- "nextLink": "https://management.azure.com/providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
- "columns": [
- {
- "name": "PreTaxCost",
- "type": "Number"
- },
- {
- "name": "ResourceGroup",
- "type": "String"
- },
- {
- "name": "UsageDate",
- "type": "Number"
- },
- {
- "name": "Currency",
- "type": "String"
- }
- ],
- "rows": [
- [
- 19.545363672276512,
- "JapanUnifia-Trial",
- 20180331,
- "USD"
- ],
- [
- 173.41979241290323,
- "RVIIOT-TRIAL",
- 20180331,
- "USD"
- ],
- [
- 20.359416562625452,
- "VSTSHOL-1595322048000",
- 20180331,
- "USD"
- ],
- [
- 0.16677720329728665,
- "gs-stms-dev",
- 20180331,
- "USD"
- ]
- ]
- }
+ "id": "providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ 20180331,
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ 20180331,
+ "USD"
+ ],
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ 20180331,
+ "USD"
+ ],
+ [
+ 0.16677720329728665,
+ "gs-stms-dev",
+ 20180331,
+ "USD"
+ ]
+ ]
+ }
}
}
}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ManagementGroupQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ManagementGroupQueryGrouping.json
index 93402f98f435..958f6e65481a 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ManagementGroupQueryGrouping.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ManagementGroupQueryGrouping.json
@@ -32,50 +32,50 @@
"responses": {
"200": {
"body": {
- "id": "providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
- "type": "microsoft.costmanagement/Query",
- "properties": {
- "nextLink": "https://management.azure.com/providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
- "columns": [
- {
- "name": "PreTaxCost",
- "type": "Number"
- },
- {
- "name": "ResourceGroup",
- "type": "String"
- },
- {
- "name": "UsageDate",
- "type": "Number"
- },
- {
- "name": "Currency",
- "type": "String"
- }
- ],
- "rows": [
- [
- 20.359416562625452,
- "VSTSHOL-1595322048000",
- 20180331,
- "USD"
- ],
- [
- 173.41979241290323,
- "RVIIOT-TRIAL",
- 20180331,
- "USD"
- ],
- [
- 19.545363672276512,
- "JapanUnifia-Trial",
- 20180331,
- "USD"
- ]
- ]
- }
+ "id": "providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": "https://management.azure.com/providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D",
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 20.359416562625452,
+ "VSTSHOL-1595322048000",
+ 20180331,
+ "USD"
+ ],
+ [
+ 173.41979241290323,
+ "RVIIOT-TRIAL",
+ 20180331,
+ "USD"
+ ],
+ [
+ 19.545363672276512,
+ "JapanUnifia-Trial",
+ 20180331,
+ "USD"
+ ]
+ ]
+ }
}
}
}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ResourceGroupQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ResourceGroupQuery.json
index af8a2d67d97f..052910483e76 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ResourceGroupQuery.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ResourceGroupQuery.json
@@ -52,44 +52,44 @@
"responses": {
"200": {
"body": {
- "id": "subscriptions/55312978-ba1b-415c-9304-c4b9c43c0481/resourcegroups/ScreenSharingTest-peer/providers/Microsoft.CostManagement/Query/9af9459d-441d-4055-9ed0-83d4c4a363fb",
- "name": "9af9459d-441d-4055-9ed0-83d4c4a363fb",
- "type": "microsoft.costmanagement/Query",
- "properties": {
- "nextLink": null,
- "columns": [
- {
- "name": "PreTaxCost",
- "type": "Number"
- },
- {
- "name": "ResourceGroup",
- "type": "String"
- },
- {
- "name": "UsageDate",
- "type": "Number"
- },
- {
- "name": "Currency",
- "type": "String"
- }
- ],
- "rows": [
- [
- 2.10333307059661,
- "ScreenSharingTest-peer",
- 20180417,
- "USD"
- ],
- [
- 20.10333307059661,
- "ScreenSharingTest-peer",
- 20180418,
- "USD"
- ]
- ]
- }
+ "id": "subscriptions/55312978-ba1b-415c-9304-c4b9c43c0481/resourcegroups/ScreenSharingTest-peer/providers/Microsoft.CostManagement/Query/9af9459d-441d-4055-9ed0-83d4c4a363fb",
+ "name": "9af9459d-441d-4055-9ed0-83d4c4a363fb",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": null,
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 2.10333307059661,
+ "ScreenSharingTest-peer",
+ 20180417,
+ "USD"
+ ],
+ [
+ 20.10333307059661,
+ "ScreenSharingTest-peer",
+ 20180418,
+ "USD"
+ ]
+ ]
+ }
}
}
}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ResourceGroupQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ResourceGroupQueryGrouping.json
index 999a8ff3f8ff..bf515793c726 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ResourceGroupQueryGrouping.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ResourceGroupQueryGrouping.json
@@ -33,44 +33,44 @@
"responses": {
"200": {
"body": {
- "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/ScreenSharingTest-peer/providers/Microsoft.CostManagement/Query/9af9459d-441d-4055-9ed0-83d4c4a363fb",
- "name": "9af9459d-441d-4055-9ed0-83d4c4a363fb",
- "type": "microsoft.costmanagement/Query",
- "properties": {
- "nextLink": null,
- "columns": [
- {
- "name": "PreTaxCost",
- "type": "Number"
- },
- {
- "name": "ResourceType",
- "type": "String"
- },
- {
- "name": "UsageDate",
- "type": "Number"
- },
- {
- "name": "Currency",
- "type": "String"
- }
- ],
- "rows": [
- [
- 2.10333307059661,
- "Microsoft.SqlServer",
- 20180417,
- "USD"
- ],
- [
- 20.10333307059661,
- "Microsoft.Compute",
- 20180418,
- "USD"
- ]
- ]
- }
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/ScreenSharingTest-peer/providers/Microsoft.CostManagement/Query/9af9459d-441d-4055-9ed0-83d4c4a363fb",
+ "name": "9af9459d-441d-4055-9ed0-83d4c4a363fb",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": null,
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceType",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 2.10333307059661,
+ "Microsoft.SqlServer",
+ 20180417,
+ "USD"
+ ],
+ [
+ 20.10333307059661,
+ "Microsoft.Compute",
+ 20180418,
+ "USD"
+ ]
+ ]
+ }
}
}
}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/SubscriptionQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/SubscriptionQuery.json
index 19e69ad58978..cdd160f87e20 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/SubscriptionQuery.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/SubscriptionQuery.json
@@ -57,56 +57,56 @@
"responses": {
"200": {
"body": {
- "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/Query/00000000-0000-0000-0000-000000000000",
- "name": "55312978-ba1b-415c-9304-cfd9c43c0481",
- "type": "microsoft.costmanagement/Query",
- "properties": {
- "nextLink": null,
- "columns": [
- {
- "name": "PreTaxCost",
- "type": "Number"
- },
- {
- "name": "ResourceGroup",
- "type": "String"
- },
- {
- "name": "UsageDate",
- "type": "Number"
- },
- {
- "name": "Currency",
- "type": "String"
- }
- ],
- "rows": [
- [
- 2.10333307059661,
- "ScreenSharingTest-peer",
- 20180331,
- "USD"
- ],
- [
- 218.68795741935486,
- "Ict_StratAndPlan_GoldSprova_Prod",
- 20180331,
- "USD"
- ],
- [
- 0.14384913581657052,
- "ssbciotelement01",
- 20180401,
- "USD"
- ],
- [
- 0.009865586851323632,
- "ict_stratandplan_goldsprova_prod",
- 20180429,
- "USD"
- ]
- ]
- }
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/Query/00000000-0000-0000-0000-000000000000",
+ "name": "55312978-ba1b-415c-9304-cfd9c43c0481",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": null,
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "UsageDate",
+ "type": "Number"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 2.10333307059661,
+ "ScreenSharingTest-peer",
+ 20180331,
+ "USD"
+ ],
+ [
+ 218.68795741935486,
+ "Ict_StratAndPlan_GoldSprova_Prod",
+ 20180331,
+ "USD"
+ ],
+ [
+ 0.14384913581657052,
+ "ssbciotelement01",
+ 20180401,
+ "USD"
+ ],
+ [
+ 0.009865586851323632,
+ "ict_stratandplan_goldsprova_prod",
+ 20180429,
+ "USD"
+ ]
+ ]
+ }
}
}
}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/SubscriptionQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/SubscriptionQueryGrouping.json
index ff8d76c8d233..48b607773991 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/SubscriptionQueryGrouping.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/SubscriptionQueryGrouping.json
@@ -31,48 +31,48 @@
"responses": {
"200": {
"body": {
- "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/Query/00000000-0000-0000-0000-000000000000",
- "name": "55312978-ba1b-415c-9304-cfd9c43c0481",
- "type": "microsoft.costmanagement/Query",
- "properties": {
- "nextLink": null,
- "columns": [
- {
- "name": "PreTaxCost",
- "type": "Number"
- },
- {
- "name": "ResourceGroup",
- "type": "String"
- },
- {
- "name": "Currency",
- "type": "String"
- }
- ],
- "rows": [
- [
- 0.009865586851323632,
- "Ict_StratAndPlan_GoldSprova_Prod_0",
- "USD"
- ],
- [
- 218.68795741935486,
- "Ict_StratAndPlan_GoldSprova_Prod_1",
- "USD"
- ],
- [
- 2.10333307059661,
- "ScreenSharingTest-peer1",
- "USD"
- ],
- [
- 0.14384913581657052,
- "Ssbciotelement01",
- "USD"
- ]
- ]
- }
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/Query/00000000-0000-0000-0000-000000000000",
+ "name": "55312978-ba1b-415c-9304-cfd9c43c0481",
+ "type": "microsoft.costmanagement/Query",
+ "properties": {
+ "nextLink": null,
+ "columns": [
+ {
+ "name": "PreTaxCost",
+ "type": "Number"
+ },
+ {
+ "name": "ResourceGroup",
+ "type": "String"
+ },
+ {
+ "name": "Currency",
+ "type": "String"
+ }
+ ],
+ "rows": [
+ [
+ 0.009865586851323632,
+ "Ict_StratAndPlan_GoldSprova_Prod_0",
+ "USD"
+ ],
+ [
+ 218.68795741935486,
+ "Ict_StratAndPlan_GoldSprova_Prod_1",
+ "USD"
+ ],
+ [
+ 2.10333307059661,
+ "ScreenSharingTest-peer1",
+ "USD"
+ ],
+ [
+ 0.14384913581657052,
+ "Ssbciotelement01",
+ "USD"
+ ]
+ ]
+ }
}
}
}
diff --git a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/customproviders.json b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/customproviders.json
index 24b22825f4ca..ee3f05f5b736 100644
--- a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/customproviders.json
+++ b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/customproviders.json
@@ -632,7 +632,7 @@
"endpoint": {
"type": "string",
"description": "The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')",
- "pattern": "^https:\/\/.+"
+ "pattern": "^https://.+"
}
}
},
@@ -699,7 +699,7 @@
"specification": {
"type": "string",
"description": "A link to the validation specification. The specification must be hosted on raw.githubusercontent.com.",
- "pattern": "^https:\/\/raw.githubusercontent.com\/.+"
+ "pattern": "^https://raw.githubusercontent.com/.+"
}
}
},
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json
index 79a4920e9a3b..fff7aaa5e755 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json
@@ -6354,4 +6354,4 @@
}
],
"tags": []
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Get.json
index 0fe56c1bf837..8e49a8005ae4 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Get.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Get.json
@@ -19,7 +19,7 @@
"userName": "John Smith",
"createdAt": "2018-11-14T04:47:52.9614956Z",
"provisioningState": "Succeeded",
- "userEmail": "john.smith@microsoft.com"
+ "userEmail": "john.smith@microsoft.com"
},
"location": "West US 2",
"tags": {
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Create.json
index 7d5624e94759..0cd33cd8ba76 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Create.json
@@ -66,4 +66,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Get.json
index 042b82b80e9e..bd9a4b256169 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Get.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Get.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_ListByShareSubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_ListByShareSubscription.json
index bafa2b3b3773..4fbda6edc6b8 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_ListByShareSubscription.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_ListByShareSubscription.json
@@ -49,4 +49,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDB_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDB_Create.json
index 30ceae83958c..377596503f26 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDB_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDB_Create.json
@@ -10,7 +10,7 @@
"kind": "SqlDBTable",
"properties": {
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"databaseName": "Database1",
"tableName": "Table1",
"schemaName": "dbo"
@@ -30,7 +30,7 @@
"kind": "SqlDBTable",
"properties": {
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"databaseName": "Database1",
"tableName": "Table1",
"schemaName": "dbo"
@@ -52,7 +52,7 @@
"kind": "SqlDBTable",
"properties": {
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"databaseName": "Database1",
"tableName": "Table1",
"schemaName": "dbo"
@@ -63,4 +63,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json
index d51bdd02a23a..10c2a7fc5d7e 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDW_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDW_Create.json
index 860ca3336400..965128783a0a 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDW_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDW_Create.json
@@ -10,7 +10,7 @@
"kind": "SqlDWTable",
"properties": {
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
"tableName": "Table1",
"schemaName": "dbo"
@@ -30,7 +30,7 @@
"kind": "SqlDWTable",
"properties": {
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
"tableName": "Table1",
"schemaName": "dbo"
@@ -52,7 +52,7 @@
"kind": "SqlDWTable",
"properties": {
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
"tableName": "Table1",
"schemaName": "dbo"
@@ -63,4 +63,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json
index 0a9a7d9429ca..b7ac30fec7df 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json
@@ -64,4 +64,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Get.json
index e31bab0c773f..794ade8c14ef 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Get.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Get.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_KustoCluster_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_KustoCluster_Create.json
index f9ff50cdd12d..ce8f7043a7e6 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_KustoCluster_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_KustoCluster_Create.json
@@ -55,4 +55,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_KustoDatabase_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_KustoDatabase_Create.json
index 088f8dc7f3d5..84104a1c521f 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_KustoDatabase_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_KustoDatabase_Create.json
@@ -55,4 +55,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_ListByShare.json
index 76ac50a8787c..377709df3724 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_ListByShare.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_ListByShare.json
@@ -47,4 +47,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDBTable_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDBTable_Create.json
index 39882aacc7f2..4aced2a804f6 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDBTable_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDBTable_Create.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDWTable_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDWTable_Create.json
index 8ff8af11b916..f8f2d765c9b1 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDWTable_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDWTable_Create.json
@@ -9,7 +9,7 @@
"dataSet": {
"kind": "SqlDWTable",
"properties": {
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
"tableName": "Table1",
"schemaName": "dbo"
@@ -29,7 +29,7 @@
"kind": "SqlDWTable",
"properties": {
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
"tableName": "Table1",
"schemaName": "dbo"
@@ -51,7 +51,7 @@
"kind": "SqlDWTable",
"properties": {
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
"tableName": "Table1",
"schemaName": "dbo"
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json
index 954ed069b22c..845246045bf3 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json
@@ -35,4 +35,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/DataShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/DataShare.json
index e30e0ef3b265..56ce5440be37 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/DataShare.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/DataShare.json
@@ -6359,4 +6359,4 @@
}
],
"tags": []
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_Create.json
index 995d32da7e6a..5d7011ef79b1 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_Create.json
@@ -66,4 +66,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_Get.json
index c2120bdafb87..ed83878ba4d8 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_Get.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_Get.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_ListByShareSubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_ListByShareSubscription.json
index 32e334e39054..766f8839e019 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_ListByShareSubscription.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_ListByShareSubscription.json
@@ -49,4 +49,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDB_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDB_Create.json
index 2e2a0427305a..e728e35ec494 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDB_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDB_Create.json
@@ -10,7 +10,7 @@
"kind": "SqlDBTable",
"properties": {
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"databaseName": "Database1",
"tableName": "Table1",
"schemaName": "dbo"
@@ -30,7 +30,7 @@
"kind": "SqlDBTable",
"properties": {
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"databaseName": "Database1",
"tableName": "Table1",
"schemaName": "dbo"
@@ -52,7 +52,7 @@
"kind": "SqlDBTable",
"properties": {
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"databaseName": "Database1",
"tableName": "Table1",
"schemaName": "dbo"
@@ -63,4 +63,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json
index 2ecac8aef6e1..0e200ac94cdd 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDW_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDW_Create.json
index 58b7d8117054..6774385e035b 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDW_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSetMappings_SqlDW_Create.json
@@ -10,7 +10,7 @@
"kind": "SqlDWTable",
"properties": {
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
"tableName": "Table1",
"schemaName": "dbo"
@@ -30,7 +30,7 @@
"kind": "SqlDWTable",
"properties": {
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
"tableName": "Table1",
"schemaName": "dbo"
@@ -52,7 +52,7 @@
"kind": "SqlDWTable",
"properties": {
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
"tableName": "Table1",
"schemaName": "dbo"
@@ -63,4 +63,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_Create.json
index e6a30539bb09..379c399c0761 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_Create.json
@@ -64,4 +64,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_Get.json
index fb3a50754cee..15098797be76 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_Get.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_Get.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_KustoCluster_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_KustoCluster_Create.json
index 24b1b82d4764..27b103f23423 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_KustoCluster_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_KustoCluster_Create.json
@@ -55,4 +55,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_KustoDatabase_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_KustoDatabase_Create.json
index 36849d92f6da..81bf4fa1b165 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_KustoDatabase_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_KustoDatabase_Create.json
@@ -55,4 +55,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_ListByShare.json
index bab3d00871c4..36c4e851679d 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_ListByShare.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_ListByShare.json
@@ -47,4 +47,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_SqlDBTable_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_SqlDBTable_Create.json
index afd96c1fb89a..88609f03b7a0 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_SqlDBTable_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_SqlDBTable_Create.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_SqlDWTable_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_SqlDWTable_Create.json
index daf97edfb295..54a13c305df1 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_SqlDWTable_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/DataSets_SqlDWTable_Create.json
@@ -9,7 +9,7 @@
"dataSet": {
"kind": "SqlDWTable",
"properties": {
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
"tableName": "Table1",
"schemaName": "dbo"
@@ -29,7 +29,7 @@
"kind": "SqlDWTable",
"properties": {
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
"tableName": "Table1",
"schemaName": "dbo"
@@ -51,7 +51,7 @@
"kind": "SqlDWTable",
"properties": {
"dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
- "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
+ "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1",
"dataWarehouseName": "DataWarehouse1",
"tableName": "Table1",
"schemaName": "dbo"
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ProviderShareSubscriptions_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ProviderShareSubscriptions_ListByShare.json
index a92a8df03cea..5ba1d5892ba7 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ProviderShareSubscriptions_ListByShare.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ProviderShareSubscriptions_ListByShare.json
@@ -35,4 +35,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_ListByAccount.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_ListByAccount.json
index 3e3a052e50e5..07bb2915ddbb 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_ListByAccount.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/ShareSubscriptions_ListByAccount.json
@@ -60,4 +60,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_Create.json
index 417d56abbd1b..cabe63fa6a87 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_Create.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_Create.json
@@ -30,7 +30,6 @@
"userName": "John Smith",
"createdAt": "2018-11-14T06:15:15.6818898Z",
"userEmail": "johnsmith@microsoft.com"
-
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1",
"name": "Share1",
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_ListByAccount.json b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_ListByAccount.json
index 9c5e56342bfb..531af3d38a42 100644
--- a/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_ListByAccount.json
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/stable/2019-11-01/examples/Shares_ListByAccount.json
@@ -24,7 +24,6 @@
"userName": "John Smith",
"createdAt": "2018-11-14T06:15:15.6818898Z",
"userEmail": "johnsmith@microsoft.com"
-
},
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1",
"name": "Share1",
diff --git a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json
index ee1aea01e036..a7cde63a4d63 100644
--- a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json
+++ b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json
@@ -258,4 +258,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/EventGrid.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/EventGrid.json
index 02091d0b8ef0..0698ebb4fe5b 100644
--- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/EventGrid.json
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/EventGrid.json
@@ -3208,26 +3208,26 @@
"description": "The properties that represent the Service Bus Topic destination of an event subscription.",
"type": "object",
"properties": {
- "resourceId": {
- "description": "The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.",
- "type": "string"
- }
- }
+ "resourceId": {
+ "description": "The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.",
+ "type": "string"
+ }
+ }
},
"ServiceBusTopicEventSubscriptionDestination": {
"description": "Information about the service bus topic destination for an event subscription.",
"type": "object",
"allOf": [
- {
- "$ref": "#/definitions/EventSubscriptionDestination"
- }
+ {
+ "$ref": "#/definitions/EventSubscriptionDestination"
+ }
],
"properties": {
- "properties": {
- "$ref": "#/definitions/ServiceBusTopicEventSubscriptionDestinationProperties",
- "description": "Service Bus Topic Properties of the event subscription destination.",
- "x-ms-client-flatten": true
- }
+ "properties": {
+ "$ref": "#/definitions/ServiceBusTopicEventSubscriptionDestinationProperties",
+ "description": "Service Bus Topic Properties of the event subscription destination.",
+ "x-ms-client-flatten": true
+ }
},
"x-ms-discriminator-value": "ServiceBusTopic"
},
@@ -3235,36 +3235,36 @@
"description": "The properties that represent the Azure Function destination of an event subscription.",
"type": "object",
"properties": {
- "resourceId": {
- "description": "The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.",
- "type": "string"
- },
- "maxEventsPerBatch": {
- "format": "int32",
- "description": "Maximum number of events per batch.",
- "type": "integer"
- },
- "preferredBatchSizeInKilobytes": {
- "format": "int32",
- "description": "Preferred batch size in Kilobytes.",
- "type": "integer"
- }
+ "resourceId": {
+ "description": "The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.",
+ "type": "string"
+ },
+ "maxEventsPerBatch": {
+ "format": "int32",
+ "description": "Maximum number of events per batch.",
+ "type": "integer"
+ },
+ "preferredBatchSizeInKilobytes": {
+ "format": "int32",
+ "description": "Preferred batch size in Kilobytes.",
+ "type": "integer"
+ }
}
},
"AzureFunctionEventSubscriptionDestination": {
"description": "Information about the azure function destination for an event subscription.",
"type": "object",
"allOf": [
- {
- "$ref": "#/definitions/EventSubscriptionDestination"
- }
+ {
+ "$ref": "#/definitions/EventSubscriptionDestination"
+ }
],
"properties": {
- "properties": {
- "$ref": "#/definitions/AzureFunctionEventSubscriptionDestinationProperties",
- "description": "Azure Function Properties of the event subscription destination.",
- "x-ms-client-flatten": true
- }
+ "properties": {
+ "$ref": "#/definitions/AzureFunctionEventSubscriptionDestinationProperties",
+ "description": "Azure Function Properties of the event subscription destination.",
+ "x-ms-client-flatten": true
+ }
},
"x-ms-discriminator-value": "AzureFunction"
},
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-03-18/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-03-18/HybridCompute.json
index 7243fe2f0b19..7c4442599652 100644
--- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-03-18/HybridCompute.json
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-03-18/HybridCompute.json
@@ -786,4 +786,4 @@
"description": "Client Api Version."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json
index 42cdd6fec784..2d0be54a64f8 100644
--- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json
@@ -1,1270 +1,1269 @@
{
- "swagger":"2.0",
- "info":{
- "title":"HybridComputeManagementClient",
- "description":"The Hybrid Compute Management Client.",
- "version":"2019-08-02-preview"
- },
- "host":"management.azure.com",
- "schemes":[
- "https"
- ],
- "consumes":[
- "application/json"
- ],
- "produces":[
- "application/json"
- ],
- "security":[
- {
- "azure_auth":[
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions":{
- "azure_auth":{
- "type":"oauth2",
- "authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize",
- "flow":"implicit",
- "description":"Azure Active Directory OAuth2 Flow",
- "scopes":{
- "user_impersonation":"impersonate your user account"
+ "swagger": "2.0",
+ "info": {
+ "title": "HybridComputeManagementClient",
+ "description": "The Hybrid Compute Management Client.",
+ "version": "2019-08-02-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}": {
+ "put": {
+ "tags": [
+ "machines"
+ ],
+ "operationId": "Machines_CreateOrUpdate",
+ "description": "The operation to create or update a hybrid machine resource identity in Azure.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the hybrid machine."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Machine"
+ },
+ "description": "Parameters supplied to the Create hybrid machine operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Machine"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create or Update a Machine": {
+ "$ref": "./examples/Machines_CreateOrUpdate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "machines"
+ ],
+ "operationId": "Machines_Update",
+ "description": "The operation to update a hybrid machine.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the hybrid machine."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MachineUpdate"
+ },
+ "description": "Parameters supplied to the Update hybrid machine operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Machine"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update a Machine": {
+ "$ref": "./examples/Machines_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "machines"
+ ],
+ "operationId": "Machines_Delete",
+ "description": "The operation to remove a hybrid machine identity in Azure.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the hybrid machine."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete a Machine": {
+ "$ref": "./examples/Machines_Delete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "machines"
+ ],
+ "operationId": "Machines_Get",
+ "description": "Retrieves information about the model view or the instance view of a hybrid machine.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the hybrid machine."
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The expand expression to apply on the operation.",
+ "enum": [
+ "instanceView"
+ ],
+ "x-ms-enum": {
+ "name": "InstanceViewTypes",
+ "modelAsString": false
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Machine"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Machine": {
+ "$ref": "./examples/Machines_Get.json"
}
- }
+ }
+ }
},
- "paths":{
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}":{
- "put":{
- "tags":[
- "machines"
- ],
- "operationId":"Machines_CreateOrUpdate",
- "description":"The operation to create or update a hybrid machine resource identity in Azure.",
- "parameters":[
- {
- "$ref":"#/parameters/ApiVersionParameter"
- },
- {
- "$ref":"#/parameters/SubscriptionIdParameter"
- },
- {
- "name":"resourceGroupName",
- "in":"path",
- "required":true,
- "type":"string",
- "description":"The name of the resource group."
- },
- {
- "name":"name",
- "in":"path",
- "required":true,
- "type":"string",
- "description":"The name of the hybrid machine."
- },
- {
- "name":"parameters",
- "in":"body",
- "required":true,
- "schema":{
- "$ref":"#/definitions/Machine"
- },
- "description":"Parameters supplied to the Create hybrid machine operation."
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "schema":{
- "$ref":"#/definitions/Machine"
- }
- },
- "default":{
- "description":"Error response describing why the operation failed.",
- "schema":{
- "$ref":"#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Create or Update a Machine": {
- "$ref": "./examples/Machines_CreateOrUpdate.json"
- }
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/reconnect": {
+ "post": {
+ "tags": [
+ "machines"
+ ],
+ "operationId": "Machines_Reconnect",
+ "description": "The operation to reconnect a hybrid machine resource to its identity in Azure.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the hybrid machine."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MachineReconnect"
+ },
+ "description": "Parameters supplied to the Reconnect hybrid machine operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Machine"
}
},
- "patch":{
- "tags":[
- "machines"
- ],
- "operationId":"Machines_Update",
- "description":"The operation to update a hybrid machine.",
- "parameters":[
- {
- "$ref":"#/parameters/ApiVersionParameter"
- },
- {
- "$ref":"#/parameters/SubscriptionIdParameter"
- },
- {
- "name":"resourceGroupName",
- "in":"path",
- "required":true,
- "type":"string",
- "description":"The name of the resource group."
- },
- {
- "name":"name",
- "in":"path",
- "required":true,
- "type":"string",
- "description":"The name of the hybrid machine."
- },
- {
- "name":"parameters",
- "in":"body",
- "required":true,
- "schema":{
- "$ref":"#/definitions/MachineUpdate"
- },
- "description":"Parameters supplied to the Update hybrid machine operation."
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "schema":{
- "$ref":"#/definitions/Machine"
- }
- },
- "default":{
- "description":"Error response describing why the operation failed.",
- "schema":{
- "$ref":"#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Update a Machine": {
- "$ref": "./examples/Machines_Update.json"
- }
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ },
+ "x-ms-examples": {
+ "Reconnect a Machine": {
+ "$ref": "./examples/Machines_Reconnect.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines": {
+ "get": {
+ "tags": [
+ "machines"
+ ],
+ "operationId": "Machines_ListByResourceGroup",
+ "description": "Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next page of hybrid machines.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
},
- "delete":{
- "tags":[
- "machines"
- ],
- "operationId":"Machines_Delete",
- "description":"The operation to remove a hybrid machine identity in Azure.",
- "parameters":[
- {
- "$ref":"#/parameters/ApiVersionParameter"
- },
- {
- "$ref":"#/parameters/SubscriptionIdParameter"
- },
- {
- "name":"resourceGroupName",
- "in":"path",
- "required":true,
- "type":"string",
- "description":"The name of the resource group."
- },
- {
- "name":"name",
- "in":"path",
- "required":true,
- "type":"string",
- "description":"The name of the hybrid machine."
- }
- ],
- "responses":{
- "200":{
- "description":"OK"
- },
- "204":{
- "description":"No Content"
- },
- "default":{
- "description":"Error response describing why the operation failed.",
- "schema":{
- "$ref":"#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Delete a Machine": {
- "$ref": "./examples/Machines_Delete.json"
- }
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MachineListResult"
}
},
- "get":{
- "tags":[
- "machines"
- ],
- "operationId":"Machines_Get",
- "description":"Retrieves information about the model view or the instance view of a hybrid machine.",
- "parameters":[
- {
- "$ref":"#/parameters/ApiVersionParameter"
- },
- {
- "$ref":"#/parameters/SubscriptionIdParameter"
- },
- {
- "name":"resourceGroupName",
- "in":"path",
- "required":true,
- "type":"string",
- "description":"The name of the resource group."
- },
- {
- "name":"name",
- "in":"path",
- "required":true,
- "type":"string",
- "description":"The name of the hybrid machine."
- },
- {
- "name":"$expand",
- "in":"query",
- "required":false,
- "type":"string",
- "description":"The expand expression to apply on the operation.",
- "enum":[
- "instanceView"
- ],
- "x-ms-enum":{
- "name":"InstanceViewTypes",
- "modelAsString":false
- }
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "schema":{
- "$ref":"#/definitions/Machine"
- }
- },
- "default":{
- "description":"Error response describing why the operation failed.",
- "schema":{
- "$ref":"#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get Machine": {
- "$ref": "./examples/Machines_Get.json"
- }
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
}
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/reconnect":{
- "post":{
- "tags":[
- "machines"
- ],
- "operationId":"Machines_Reconnect",
- "description":"The operation to reconnect a hybrid machine resource to its identity in Azure.",
- "parameters":[
- {
- "$ref":"#/parameters/ApiVersionParameter"
- },
- {
- "$ref":"#/parameters/SubscriptionIdParameter"
- },
- {
- "name":"resourceGroupName",
- "in":"path",
- "required":true,
- "type":"string",
- "description":"The name of the resource group."
- },
- {
- "name":"name",
- "in":"path",
- "required":true,
- "type":"string",
- "description":"The name of the hybrid machine."
- },
- {
- "name":"parameters",
- "in":"body",
- "required":true,
- "schema":{
- "$ref":"#/definitions/MachineReconnect"
- },
- "description":"Parameters supplied to the Reconnect hybrid machine operation."
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "schema":{
- "$ref":"#/definitions/Machine"
- }
- },
- "default":{
- "description":"Error response describing why the operation failed.",
- "schema":{
- "$ref":"#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Reconnect a Machine": {
- "$ref": "./examples/Machines_Reconnect.json"
- }
+ },
+ "x-ms-examples": {
+ "List Machines by resource group": {
+ "$ref": "./examples/Machines_ListByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/machines": {
+ "get": {
+ "tags": [
+ "machines"
+ ],
+ "operationId": "Machines_ListBySubscription",
+ "description": "Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MachineListResult"
}
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List Machines by resource group": {
+ "$ref": "./examples/Machines_ListBySubscription.json"
}
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines":{
- "get":{
- "tags":[
- "machines"
- ],
- "operationId":"Machines_ListByResourceGroup",
- "description":"Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next page of hybrid machines.",
- "parameters":[
- {
- "$ref":"#/parameters/ApiVersionParameter"
- },
- {
- "$ref":"#/parameters/SubscriptionIdParameter"
- },
- {
- "name":"resourceGroupName",
- "in":"path",
- "required":true,
- "type":"string",
- "description":"The name of the resource group."
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "schema":{
- "$ref":"#/definitions/MachineListResult"
- }
- },
- "default":{
- "description":"Error response describing why the operation failed.",
- "schema":{
- "$ref":"#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "List Machines by resource group": {
- "$ref": "./examples/Machines_ListByResourceGroup.json"
- }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/extensions/{extensionName}": {
+ "put": {
+ "tags": [
+ "MachineExtensions"
+ ],
+ "operationId": "MachineExtensions_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": "name",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the machine where the extension should be created or updated."
+ },
+ {
+ "name": "extensionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the machine extension."
+ },
+ {
+ "name": "extensionParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MachineExtension"
},
- "x-ms-pageable":{
- "nextLinkName":"nextLink"
- }
+ "description": "Parameters supplied to the Create Machine Extension operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
}
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/machines":{
- "get":{
- "tags":[
- "machines"
- ],
- "operationId":"Machines_ListBySubscription",
- "description":"Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines.",
- "parameters":[
- {
- "$ref":"#/parameters/ApiVersionParameter"
- },
- {
- "$ref":"#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "schema":{
- "$ref":"#/definitions/MachineListResult"
- }
- },
- "default":{
- "description":"Error response describing why the operation failed.",
- "schema":{
- "$ref":"#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "List Machines by resource group": {
- "$ref": "./examples/Machines_ListBySubscription.json"
- }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MachineExtension"
+ }
+ },
+ "202": {
+ "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously."
+ }
+ },
+ "x-ms-examples": {
+ "Create or Update a Machine Extension": {
+ "$ref": "./examples/PUTExtension.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "MachineExtensions"
+ ],
+ "operationId": "MachineExtensions_Update",
+ "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": "name",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the machine where the extension should be created or updated."
+ },
+ {
+ "name": "extensionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the machine extension."
+ },
+ {
+ "name": "extensionParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MachineExtensionUpdate"
},
- "x-ms-pageable":{
- "nextLinkName":"nextLink"
- }
+ "description": "Parameters supplied to the Create Machine Extension operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
}
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/extensions/{extensionName}":{
- "put":{
- "tags":[
- "MachineExtensions"
- ],
- "operationId":"MachineExtensions_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":"name",
- "in":"path",
- "required":true,
- "type":"string",
- "description":"The name of the machine where the extension should be created or updated."
- },
- {
- "name":"extensionName",
- "in":"path",
- "required":true,
- "type":"string",
- "description":"The name of the machine extension."
- },
- {
- "name":"extensionParameters",
- "in":"body",
- "required":true,
- "schema":{
- "$ref":"#/definitions/MachineExtension"
- },
- "description":"Parameters supplied to the Create Machine Extension operation."
- },
- {
- "$ref":"#/parameters/ApiVersionParameter"
- },
- {
- "$ref":"#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "schema":{
- "$ref":"#/definitions/MachineExtension"
- }
- },
- "202":{
- "description":"HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously."
- }
- },
- "x-ms-examples": {
- "Create or Update a Machine Extension": {
- "$ref": "./examples/PUTExtension.json"
- }
- },
- "x-ms-long-running-operation":true
- },
- "patch":{
- "tags":[
- "MachineExtensions"
- ],
- "operationId":"MachineExtensions_Update",
- "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":"name",
- "in":"path",
- "required":true,
- "type":"string",
- "description":"The name of the machine where the extension should be created or updated."
- },
- {
- "name":"extensionName",
- "in":"path",
- "required":true,
- "type":"string",
- "description":"The name of the machine extension."
- },
- {
- "name":"extensionParameters",
- "in":"body",
- "required":true,
- "schema":{
- "$ref":"#/definitions/MachineExtensionUpdate"
- },
- "description":"Parameters supplied to the Create Machine Extension operation."
- },
- {
- "$ref":"#/parameters/ApiVersionParameter"
- },
- {
- "$ref":"#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "schema":{
- "$ref":"#/definitions/MachineExtension"
- }
- },
- "202":{
- "description":"Accepted"
- }
- },
- "x-ms-examples": {
- "Create or Update a Machine Extension": {
- "$ref": "./examples/UpdateExtension.json"
- }
- },
- "x-ms-long-running-operation":true
- },
- "delete":{
- "tags":[
- "MachineExtensions"
- ],
- "operationId":"MachineExtensions_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":"name",
- "in":"path",
- "required":true,
- "type":"string",
- "description":"The name of the machine where the extension should be deleted."
- },
- {
- "name":"extensionName",
- "in":"path",
- "required":true,
- "type":"string",
- "description":"The name of the machine extension."
- },
- {
- "$ref":"#/parameters/ApiVersionParameter"
- },
- {
- "$ref":"#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses":{
- "200":{
- "description":"OK"
- },
- "202":{
- "description":"Accepted"
- },
- "204":{
- "description":"No Content"
- }
- },
- "x-ms-long-running-operation":true,
- "x-ms-examples":{
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MachineExtension"
}
},
- "get":{
- "tags":[
- "MachineExtensions"
- ],
- "operationId":"MachineExtensions_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":"name",
- "in":"path",
- "required":true,
- "type":"string",
- "description":"The name of the machine containing the extension."
- },
- {
- "name":"extensionName",
- "in":"path",
- "required":true,
- "type":"string",
- "description":"The name of the machine extension."
- },
- {
- "$ref":"#/parameters/ApiVersionParameter"
- },
- {
- "$ref":"#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "schema":{
- "$ref":"#/definitions/MachineExtension"
- }
- }
- },
- "x-ms-examples": {
- "GET Machine Extension": {
- "$ref": "./examples/GETExtension.json"
- }
- }
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-examples": {
+ "Create or Update a Machine Extension": {
+ "$ref": "./examples/UpdateExtension.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "MachineExtensions"
+ ],
+ "operationId": "MachineExtensions_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": "name",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the machine where the extension should be deleted."
+ },
+ {
+ "name": "extensionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the machine extension."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
}
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/extensions":{
- "get":{
- "tags":[
- "MachineExtensions"
- ],
- "operationId":"MachineExtensions_List",
- "description":"The operation to get all extensions of a non-Azure machine",
- "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":"The name of the machine containing the extension."
- },
- {
- "name":"$expand",
- "in":"query",
- "required":false,
- "type":"string",
- "description":"The expand expression to apply on the operation."
- },
- {
- "$ref":"#/parameters/ApiVersionParameter"
- },
- {
- "$ref":"#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "schema":{
- "$ref":"#/definitions/MachineExtensionsListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "GET all Machine Extensions": {
- "$ref": "./examples/LISTExtension.json"
- }
- }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {}
+ },
+ "get": {
+ "tags": [
+ "MachineExtensions"
+ ],
+ "operationId": "MachineExtensions_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": "name",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the machine containing the extension."
+ },
+ {
+ "name": "extensionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the machine extension."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MachineExtension"
+ }
}
- },
- "/providers/Microsoft.HybridCompute/operations":{
- "get":{
- "tags":[
- "operations"
- ],
- "operationId":"Operations_List",
- "description":"Gets a list of hybrid compute operations.",
- "parameters":[
- {
- "$ref":"#/parameters/ApiVersionParameter"
- }
- ],
- "responses":{
- "200":{
- "description":"OK",
- "schema":{
- "$ref":"#/definitions/OperationListResult"
- }
- },
- "default":{
- "description":"Error response describing why the operation failed.",
- "schema":{
- "$ref":"#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable":{
- "nextLinkName":null
- }
+ },
+ "x-ms-examples": {
+ "GET Machine Extension": {
+ "$ref": "./examples/GETExtension.json"
}
- }
+ }
+ }
},
- "definitions":{
- "OperationListResult":{
- "properties":{
- "value":{
- "type":"array",
- "readOnly":true,
- "items":{
- "$ref":"#/definitions/OperationValue"
- },
- "description":"The list of compute operations"
- }
- },
- "description":"The List Compute Operation operation response."
- },
- "OperationValue":{
- "properties":{
- "origin":{
- "type":"string",
- "readOnly":true,
- "description":"The origin of the compute operation."
- },
- "name":{
- "type":"string",
- "readOnly":true,
- "description":"The name of the compute operation."
- },
- "display":{
- "x-ms-client-flatten":true,
- "$ref":"#/definitions/OperationValueDisplay",
- "description":"Display properties"
- }
- },
- "description":"Describes the properties of a Compute Operation value."
- },
- "OperationValueDisplay":{
- "properties":{
- "operation":{
- "type":"string",
- "readOnly":true,
- "description":"The display name of the compute operation."
- },
- "resource":{
- "type":"string",
- "readOnly":true,
- "description":"The display name of the resource the operation applies to."
- },
- "description":{
- "type":"string",
- "readOnly":true,
- "description":"The description of the operation."
- },
- "provider":{
- "type":"string",
- "readOnly":true,
- "description":"The resource provider for the operation."
- }
- },
- "description":"Describes the properties of a Hybrid Compute Operation Value Display."
- },
- "OSProfile":{
- "readOnly":true,
- "properties":{
- "computerName":{
- "type":"string",
- "readOnly":true,
- "description":"Specifies the host OS name of the hybrid machine."
- }
- },
- "description":"Specifies the operating system settings for the hybrid machine."
- },
- "MachineProperties":{
- "properties":{
- "osProfile":{
- "$ref":"#/definitions/OSProfile",
- "description":"Specifies the operating system settings for the hybrid machine."
- },
- "provisioningState":{
- "readOnly":true,
- "type":"string",
- "description":"The provisioning state, which only appears in the response."
- },
- "status":{
- "readOnly":true,
- "type":"string",
- "description":"The status of the hybrid machine agent.",
- "enum":[
- "Connected",
- "Disconnected",
- "Error"
- ],
- "x-ms-enum":{
- "name":"StatusTypes",
- "modelAsString":false
- }
- },
- "lastStatusChange":{
- "readOnly":true,
- "type":"string",
- "format":"date-time",
- "description":"The time of the last status change."
- },
- "errorDetails":{
- "readOnly":true,
- "type":"array",
- "items":{
- "$ref":"#/definitions/ErrorDetail"
- },
- "description":"Details about the error state."
- },
- "agentVersion":{
- "readOnly":true,
- "type":"string",
- "description":"The hybrid machine agent full version."
- },
- "vmId":{
- "readOnly":true,
- "type":"string",
- "description":"Specifies the hybrid machine unique ID."
- },
- "displayName":{
- "readOnly":true,
- "type":"string",
- "description":"Specifies the hybrid machine display name."
- },
- "machineFqdn":{
- "readOnly":true,
- "type":"string",
- "description":"Specifies the hybrid machine FQDN."
- },
- "physicalLocation":{
- "type":"string",
- "description":"Resource's Physical Location"
- },
- "clientPublicKey":{
- "type":"string",
- "description":"Public Key that the client provides to be used during initial resource onboarding"
- },
- "osName":{
- "readOnly":true,
- "type":"string",
- "description":"The Operating System running on the hybrid machine."
- },
- "osVersion":{
- "readOnly":true,
- "type":"string",
- "description":"The version of Operating System running on the hybrid machine."
- },
- "extensions":{
- "type":"array",
- "items":{
- "$ref":"#/definitions/MachineExtensionInstanceView"
- },
- "description":"Machine Extensions information"
- }
- },
- "description":"Describes the properties of a hybrid machine."
- },
- "MachineReconnectProperties":{
- "properties":{
- "vmId":{
- "type":"string",
- "description":"Specifies the hybrid machine unique ID."
- },
- "clientPublicKey":{
- "type":"string",
- "description":"Public Key that the client provides to be used during initial resource onboarding."
- }
- },
- "description":"Describes the properties required to reconnect a hybrid machine."
- },
- "MachineUpdateProperties":{
- "properties":{
- "physicalLocation":{
- "type":"string",
- "description":"Resource's Physical Location"
- }
- },
- "description":"Describes the ARM updatable properties of a hybrid machine."
- },
- "Machine":{
- "properties":{
- "properties":{
- "x-ms-client-flatten":true,
- "$ref":"#/definitions/MachineProperties",
- "description":"Hybrid Compute Machine properties"
- }
- },
- "allOf":[
- {
- "$ref":"#/definitions/Resource"
- }
- ],
- "description":"Describes a hybrid machine."
- },
- "MachineUpdate":{
- "properties":{
- "identity":{
- "x-ms-client-flatten":true,
- "$ref":"#/definitions/Identity",
- "description":"Hybrid Compute Machine Managed Identity"
- },
- "properties":{
- "x-ms-client-flatten":true,
- "$ref":"#/definitions/MachineUpdateProperties",
- "description":"Hybrid Compute Machine properties"
- }
- },
- "allOf":[
- {
- "$ref":"#/definitions/UpdateResource"
- }
- ],
- "description":"Describes a hybrid machine Update."
- },
- "MachineReconnect":{
- "properties":{
- "properties":{
- "x-ms-client-flatten":true,
- "$ref":"#/definitions/MachineReconnectProperties",
- "description":"Hybrid Compute Machine properties"
- }
- },
- "description":"Describes a hybrid machine reconnect."
- },
- "MachineListResult":{
- "properties":{
- "value":{
- "type":"array",
- "items":{
- "$ref":"#/definitions/Machine"
- },
- "description":"The list of hybrid machines."
- },
- "nextLink":{
- "type":"string",
- "description":"The URI to fetch the next page of Machines. Call ListNext() with this URI to fetch the next page of hybrid machines."
- }
- },
- "required":[
- "value"
- ],
- "description":"The List hybrid machine operation response."
- },
- "Resource":{
- "description":"The Resource model definition.",
- "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",
- "x-ms-mutability":[
- "create",
- "read"
- ]
- },
- "tags":{
- "type":"object",
- "additionalProperties":{
- "type":"string"
- },
- "description":"Resource tags"
- },
- "identity":{
- "x-ms-client-flatten":true,
- "$ref":"#/definitions/Identity",
- "description":"Hybrid Compute Machine Managed Identity"
- }
- },
- "required":[
- "location"
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/extensions": {
+ "get": {
+ "tags": [
+ "MachineExtensions"
+ ],
+ "operationId": "MachineExtensions_List",
+ "description": "The operation to get all extensions of a non-Azure machine",
+ "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": "The name of the machine containing the extension."
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The expand expression to apply on the operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MachineExtensionsListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "GET all Machine Extensions": {
+ "$ref": "./examples/LISTExtension.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.HybridCompute/operations": {
+ "get": {
+ "tags": [
+ "operations"
+ ],
+ "operationId": "Operations_List",
+ "description": "Gets a list of hybrid compute operations.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ }
+ },
+ "definitions": {
+ "OperationListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/OperationValue"
+ },
+ "description": "The list of compute operations"
+ }
+ },
+ "description": "The List Compute Operation operation response."
+ },
+ "OperationValue": {
+ "properties": {
+ "origin": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The origin of the compute operation."
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the compute operation."
+ },
+ "display": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/OperationValueDisplay",
+ "description": "Display properties"
+ }
+ },
+ "description": "Describes the properties of a Compute Operation value."
+ },
+ "OperationValueDisplay": {
+ "properties": {
+ "operation": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The display name of the compute operation."
+ },
+ "resource": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The display name of the resource the operation applies to."
+ },
+ "description": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The description of the operation."
+ },
+ "provider": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The resource provider for the operation."
+ }
+ },
+ "description": "Describes the properties of a Hybrid Compute Operation Value Display."
+ },
+ "OSProfile": {
+ "readOnly": true,
+ "properties": {
+ "computerName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Specifies the host OS name of the hybrid machine."
+ }
+ },
+ "description": "Specifies the operating system settings for the hybrid machine."
+ },
+ "MachineProperties": {
+ "properties": {
+ "osProfile": {
+ "$ref": "#/definitions/OSProfile",
+ "description": "Specifies the operating system settings for the hybrid machine."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The provisioning state, which only appears in the response."
+ },
+ "status": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The status of the hybrid machine agent.",
+ "enum": [
+ "Connected",
+ "Disconnected",
+ "Error"
],
- "x-ms-azure-resource":true
- },
- "UpdateResource":{
- "description":"The Update Resource model definition.",
- "properties":{
- "tags":{
- "type":"object",
- "additionalProperties":{
- "type":"string"
- },
- "description":"Resource tags"
- }
+ "x-ms-enum": {
+ "name": "StatusTypes",
+ "modelAsString": false
}
- },
- "ErrorDetail":{
- "title":"Error details.",
- "type":"object",
- "properties":{
- "code":{
- "description":"The error's code.",
- "type":"string"
- },
- "message":{
- "description":"A human readable error message.",
- "type":"string"
- },
- "target":{
- "description":"Indicates which property in the request is responsible for the error.",
- "type":"string"
- },
- "details":{
- "description":"Additional error details.",
- "type":"array",
- "items":{
- "$ref":"#/definitions/ErrorDetail"
- }
- }
- },
- "required":[
- "code",
- "message"
- ]
- },
- "ErrorResponse":{
- "title":"Error response.",
- "description":"Contains details when the response code indicates an error.",
- "type":"object",
- "properties":{
- "error":{
- "description":"The error details.",
- "$ref":"#/definitions/ErrorDetail"
- }
- },
- "required":[
- "error"
+ },
+ "lastStatusChange": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The time of the last status change."
+ },
+ "errorDetails": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorDetail"
+ },
+ "description": "Details about the error state."
+ },
+ "agentVersion": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The hybrid machine agent full version."
+ },
+ "vmId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the hybrid machine unique ID."
+ },
+ "displayName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the hybrid machine display name."
+ },
+ "machineFqdn": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the hybrid machine FQDN."
+ },
+ "physicalLocation": {
+ "type": "string",
+ "description": "Resource's Physical Location"
+ },
+ "clientPublicKey": {
+ "type": "string",
+ "description": "Public Key that the client provides to be used during initial resource onboarding"
+ },
+ "osName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The Operating System running on the hybrid machine."
+ },
+ "osVersion": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The version of Operating System running on the hybrid machine."
+ },
+ "extensions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MachineExtensionInstanceView"
+ },
+ "description": "Machine Extensions information"
+ }
+ },
+ "description": "Describes the properties of a hybrid machine."
+ },
+ "MachineReconnectProperties": {
+ "properties": {
+ "vmId": {
+ "type": "string",
+ "description": "Specifies the hybrid machine unique ID."
+ },
+ "clientPublicKey": {
+ "type": "string",
+ "description": "Public Key that the client provides to be used during initial resource onboarding."
+ }
+ },
+ "description": "Describes the properties required to reconnect a hybrid machine."
+ },
+ "MachineUpdateProperties": {
+ "properties": {
+ "physicalLocation": {
+ "type": "string",
+ "description": "Resource's Physical Location"
+ }
+ },
+ "description": "Describes the ARM updatable properties of a hybrid machine."
+ },
+ "Machine": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MachineProperties",
+ "description": "Hybrid Compute Machine properties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Describes a hybrid machine."
+ },
+ "MachineUpdate": {
+ "properties": {
+ "identity": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/Identity",
+ "description": "Hybrid Compute Machine Managed Identity"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MachineUpdateProperties",
+ "description": "Hybrid Compute Machine properties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "description": "Describes a hybrid machine Update."
+ },
+ "MachineReconnect": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MachineReconnectProperties",
+ "description": "Hybrid Compute Machine properties"
+ }
+ },
+ "description": "Describes a hybrid machine reconnect."
+ },
+ "MachineListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Machine"
+ },
+ "description": "The list of hybrid machines."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URI to fetch the next page of Machines. Call ListNext() with this URI to fetch the next page of hybrid machines."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List hybrid machine operation response."
+ },
+ "Resource": {
+ "description": "The Resource model definition.",
+ "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",
+ "x-ms-mutability": [
+ "create",
+ "read"
]
- },
- "Identity":{
- "title":"Managed Identity.",
- "type":"object",
- "properties":{
- "type":{
- "description":"The identity type.",
- "type":"string"
- },
- "principalId":{
- "readOnly":true,
- "description":"The identity's principal id.",
- "type":"string"
- },
- "tenantId":{
- "readOnly":true,
- "description":"The identity's tenant id.",
- "type":"string"
- }
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ },
+ "identity": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/Identity",
+ "description": "Hybrid Compute Machine Managed Identity"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true
+ },
+ "UpdateResource": {
+ "description": "The Update Resource model definition.",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ }
+ },
+ "ErrorDetail": {
+ "title": "Error details.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The error's code.",
+ "type": "string"
+ },
+ "message": {
+ "description": "A human readable error message.",
+ "type": "string"
+ },
+ "target": {
+ "description": "Indicates which property in the request is responsible for the error.",
+ "type": "string"
+ },
+ "details": {
+ "description": "Additional error details.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorDetail"
}
- },
- "MachineExtension":{
- "properties":{
- "properties":{
- "x-ms-client-flatten":true,
- "$ref":"#/definitions/MachineExtensionProperties",
- "description":"Describes Machine Extension Properties."
- }
- },
- "allOf":[
- {
- "$ref":"#/definitions/Resource"
- }
- ],
- "description":"Describes a Machine Extension."
- },
- "MachineExtensionUpdate": {
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/MachineExtensionUpdateProperties",
- "description":"Describes Machine Extension Update Properties."
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/UpdateResource"
- }
- ],
- "description": "Describes a Machine Extension Update."
- },
- "MachineExtensionProperties":{
- "properties":{
- "forceUpdateTag":{
- "type":"string",
- "description":"How the extension handler should be forced to update even if the extension configuration has not changed."
- },
- "publisher":{
- "type":"string",
- "description":"The name of the extension handler publisher."
- },
- "type":{
- "type":"string",
- "description":"Specifies the type of the extension; an example is \"CustomScriptExtension\"."
- },
- "typeHandlerVersion":{
- "type":"string",
- "description":"Specifies the version of the script handler."
- },
- "autoUpgradeMinorVersion":{
- "type":"boolean",
- "description":"Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true."
- },
- "settings":{
- "type":"object",
- "description":"Json formatted public settings for the extension."
- },
- "protectedSettings":{
- "type":"object",
- "description":"The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all."
- },
- "provisioningState":{
- "readOnly":true,
- "type":"string",
- "description":"The provisioning state, which only appears in the response."
- },
- "instanceView":{
- "$ref":"#/definitions/MachineExtensionInstanceView",
- "description":"The machine extension instance view."
- }
- },
- "description":"Describes the properties of a Machine Extension."
- },
- "MachineExtensionUpdateProperties": {
- "properties": {
- "forceUpdateTag": {
- "type": "string",
- "description": "How the extension handler should be forced to update even if the extension configuration has not changed."
- },
- "publisher": {
- "type": "string",
- "description": "The name of the extension handler publisher."
- },
- "type": {
- "type": "string",
- "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
- },
- "typeHandlerVersion": {
- "type": "string",
- "description": "Specifies the version of the script handler."
- },
- "autoUpgradeMinorVersion": {
- "type": "boolean",
- "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true."
- },
- "settings": {
- "type": "object",
- "description": "Json formatted public settings for the extension."
- },
- "protectedSettings": {
- "type": "object",
- "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all."
- }
- },
- "description": "Describes the properties of a Machine Extension."
- },
- "MachineExtensionInstanceView":{
- "properties":{
- "name":{
- "type":"string",
- "description":"The machine extension name."
- },
- "type":{
- "type":"string",
- "description":"Specifies the type of the extension; an example is \"CustomScriptExtension\"."
- },
- "typeHandlerVersion":{
- "type":"string",
- "description":"Specifies the version of the script handler."
- },
- "status":{
- "properties":{
- "code":{
- "type":"string",
- "description":"The status code."
- },
- "level":{
- "type":"string",
- "description":"The level code.",
- "enum":[
- "Info",
- "Warning",
- "Error"
- ],
- "x-ms-enum":{
- "name":"StatusLevelTypes",
- "modelAsString":false
- }
- },
- "displayStatus":{
- "type":"string",
- "description":"The short localizable label for the status."
- },
- "message":{
- "type":"string",
- "description":"The detailed status message, including for alerts and error messages."
- },
- "time":{
- "type":"string",
- "format":"date-time",
- "description":"The time of the status."
- }
- },
- "description":"Instance view status."
- }
- },
- "description":"Describes the Machine Extension Instance View."
- },
- "MachineExtensionsListResult":{
- "properties":{
- "value":{
- "type":"array",
- "items":{
- "$ref":"#/definitions/MachineExtension"
- },
- "description":"The list of extensions"
- },
- "nextLink": {
- "type": "string",
- "description": "The uri to fetch the next page of machine extensions. Call ListNext() with this to fetch the next page of extensions."
- }
- },
- "description":"Describes the Machine Extensions List Result."
- }
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ]
+ },
+ "ErrorResponse": {
+ "title": "Error response.",
+ "description": "Contains details when the response code indicates an error.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "description": "The error details.",
+ "$ref": "#/definitions/ErrorDetail"
+ }
+ },
+ "required": [
+ "error"
+ ]
+ },
+ "Identity": {
+ "title": "Managed Identity.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "The identity type.",
+ "type": "string"
+ },
+ "principalId": {
+ "readOnly": true,
+ "description": "The identity's principal id.",
+ "type": "string"
+ },
+ "tenantId": {
+ "readOnly": true,
+ "description": "The identity's tenant id.",
+ "type": "string"
+ }
+ }
+ },
+ "MachineExtension": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MachineExtensionProperties",
+ "description": "Describes Machine Extension Properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Describes a Machine Extension."
+ },
+ "MachineExtensionUpdate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MachineExtensionUpdateProperties",
+ "description": "Describes Machine Extension Update Properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "description": "Describes a Machine Extension Update."
+ },
+ "MachineExtensionProperties": {
+ "properties": {
+ "forceUpdateTag": {
+ "type": "string",
+ "description": "How the extension handler should be forced to update even if the extension configuration has not changed."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The name of the extension handler publisher."
+ },
+ "type": {
+ "type": "string",
+ "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
+ },
+ "typeHandlerVersion": {
+ "type": "string",
+ "description": "Specifies the version of the script handler."
+ },
+ "autoUpgradeMinorVersion": {
+ "type": "boolean",
+ "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true."
+ },
+ "settings": {
+ "type": "object",
+ "description": "Json formatted public settings for the extension."
+ },
+ "protectedSettings": {
+ "type": "object",
+ "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The provisioning state, which only appears in the response."
+ },
+ "instanceView": {
+ "$ref": "#/definitions/MachineExtensionInstanceView",
+ "description": "The machine extension instance view."
+ }
+ },
+ "description": "Describes the properties of a Machine Extension."
+ },
+ "MachineExtensionUpdateProperties": {
+ "properties": {
+ "forceUpdateTag": {
+ "type": "string",
+ "description": "How the extension handler should be forced to update even if the extension configuration has not changed."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The name of the extension handler publisher."
+ },
+ "type": {
+ "type": "string",
+ "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
+ },
+ "typeHandlerVersion": {
+ "type": "string",
+ "description": "Specifies the version of the script handler."
+ },
+ "autoUpgradeMinorVersion": {
+ "type": "boolean",
+ "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true."
+ },
+ "settings": {
+ "type": "object",
+ "description": "Json formatted public settings for the extension."
+ },
+ "protectedSettings": {
+ "type": "object",
+ "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all."
+ }
+ },
+ "description": "Describes the properties of a Machine Extension."
+ },
+ "MachineExtensionInstanceView": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The machine extension name."
+ },
+ "type": {
+ "type": "string",
+ "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
+ },
+ "typeHandlerVersion": {
+ "type": "string",
+ "description": "Specifies the version of the script handler."
+ },
+ "status": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "The status code."
+ },
+ "level": {
+ "type": "string",
+ "description": "The level code.",
+ "enum": [
+ "Info",
+ "Warning",
+ "Error"
+ ],
+ "x-ms-enum": {
+ "name": "StatusLevelTypes",
+ "modelAsString": false
+ }
+ },
+ "displayStatus": {
+ "type": "string",
+ "description": "The short localizable label for the status."
+ },
+ "message": {
+ "type": "string",
+ "description": "The detailed status message, including for alerts and error messages."
+ },
+ "time": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The time of the status."
+ }
+ },
+ "description": "Instance view status."
+ }
+ },
+ "description": "Describes the Machine Extension Instance View."
+ },
+ "MachineExtensionsListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MachineExtension"
+ },
+ "description": "The list of extensions"
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of machine extensions. Call ListNext() with this to fetch the next page of extensions."
+ }
+ },
+ "description": "Describes the Machine Extensions List Result."
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
},
- "parameters":{
- "SubscriptionIdParameter":{
- "name":"subscriptionId",
- "in":"path",
- "required":true,
- "type":"string",
- "description":"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."
- }
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/GETExtension.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/GETExtension.json
index 79cb2c875d27..b4833b780c33 100644
--- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/GETExtension.json
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/GETExtension.json
@@ -1,41 +1,41 @@
{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "name": "myMachine",
- "extensionName": "MMA",
- "api-version": "2019-08-02"
- },
- "responses": {
- "200": {
- "body": {
- "id": "string",
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "name": "myMachine",
+ "extensionName": "MMA",
+ "api-version": "2019-08-02"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "string",
+ "name": "string",
+ "type": "string",
+ "location": "string",
+ "properties": {
+ "forceUpdateTag": "string",
+ "publisher": "string",
+ "type": "string",
+ "typeHandlerVersion": "string",
+ "autoUpgradeMinorVersion": true,
+ "settings": {},
+ "protectedSettings": {},
+ "provisioningState": "string",
+ "instanceView": {
"name": "string",
"type": "string",
- "location": "string",
- "properties": {
- "forceUpdateTag": "string",
- "publisher": "string",
- "type": "string",
- "typeHandlerVersion": "string",
- "autoUpgradeMinorVersion": true,
- "settings": {},
- "protectedSettings": {},
- "provisioningState": "string",
- "instanceView": {
- "name": "string",
- "type": "string",
- "typeHandlerVersion": "string",
- "status": {
- "code": "string",
- "level": "Info",
- "displayStatus": "string",
- "message": "string",
- "time": "2019-08-08T20:42:10.999Z"
- }
- }
+ "typeHandlerVersion": "string",
+ "status": {
+ "code": "string",
+ "level": "Info",
+ "displayStatus": "string",
+ "message": "string",
+ "time": "2019-08-08T20:42:10.999Z"
}
+ }
}
}
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/LISTExtension.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/LISTExtension.json
index 36a2fe4ad836..068738f2433d 100644
--- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/LISTExtension.json
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/LISTExtension.json
@@ -1,45 +1,45 @@
{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "name": "myMachine",
- "api-version": "2019-08-02"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "string",
- "name": "string",
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "name": "myMachine",
+ "api-version": "2019-08-02"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "string",
+ "name": "string",
+ "type": "string",
+ "location": "string",
+ "properties": {
+ "forceUpdateTag": "string",
+ "publisher": "string",
"type": "string",
- "location": "string",
- "properties": {
- "forceUpdateTag": "string",
- "publisher": "string",
+ "typeHandlerVersion": "string",
+ "autoUpgradeMinorVersion": true,
+ "settings": {},
+ "protectedSettings": {},
+ "provisioningState": "string",
+ "instanceView": {
+ "name": "string",
"type": "string",
"typeHandlerVersion": "string",
- "autoUpgradeMinorVersion": true,
- "settings": {},
- "protectedSettings": {},
- "provisioningState": "string",
- "instanceView": {
- "name": "string",
- "type": "string",
- "typeHandlerVersion": "string",
- "status": {
- "code": "string",
- "level": "Info",
- "displayStatus": "string",
- "message": "string",
- "time": "2019-08-13T17:18:57.405Z"
- }
+ "status": {
+ "code": "string",
+ "level": "Info",
+ "displayStatus": "string",
+ "message": "string",
+ "time": "2019-08-13T17:18:57.405Z"
}
}
}
- ],
- "nextLink": "string"
- }
+ }
+ ],
+ "nextLink": "string"
}
}
}
+}
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Delete.json
index 3f2fb9421e7c..618ae12841b4 100644
--- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Delete.json
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Delete.json
@@ -6,8 +6,7 @@
"api-version": "2019-08-02-preview"
},
"responses": {
- "200": {
- },
- "204": { }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Get.json
index d59ae778ca80..4473a69357b1 100644
--- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Get.json
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Get.json
@@ -8,34 +8,34 @@
"responses": {
"200": {
"body": {
- "id": "string",
- "name": "string",
- "location": "string",
- "tags": { },
- "identity": {
- "type": "SystemAssigned",
- "principalId": "string",
- "tenantId": "string"
+ "id": "string",
+ "name": "string",
+ "location": "string",
+ "tags": {},
+ "identity": {
+ "type": "SystemAssigned",
+ "principalId": "string",
+ "tenantId": "string"
+ },
+ "type": "Microsoft.HybridCompute/machines",
+ "properties": {
+ "provisioningState": "string",
+ "agentVersion": null,
+ "status": null,
+ "lastStatusChange": null,
+ "errorDetails": null,
+ "displayName": null,
+ "machineFqdn": null,
+ "osName": null,
+ "osVersion": null,
+ "osProfile": {
+ "computerName": null
},
- "type": "Microsoft.HybridCompute/machines",
- "properties": {
- "provisioningState": "string",
- "agentVersion": null,
- "status": null,
- "lastStatusChange": null,
- "errorDetails": null,
- "displayName": null,
- "machineFqdn": null,
- "osName": null,
- "osVersion": null,
- "osProfile": {
- "computerName": null
- },
- "vmId": "string",
- "physicalLocation": "",
- "clientPublicKey": "string"
- }
+ "vmId": "string",
+ "physicalLocation": "",
+ "clientPublicKey": "string"
}
}
}
+ }
}
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListByResourceGroup.json
index c4b3eccaaacb..a99af0c9715e 100644
--- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListByResourceGroup.json
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListByResourceGroup.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2019-08-02"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "string",
- "name": "string",
- "type": "string",
- "location": "string"
- }
- ],
- "nextLink": "string"
- }
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-08-02"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "string",
+ "name": "string",
+ "type": "string",
+ "location": "string"
+ }
+ ],
+ "nextLink": "string"
}
}
}
+}
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListBySubscription.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListBySubscription.json
index 1358bfc3c944..9e8d1674e26a 100644
--- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListBySubscription.json
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListBySubscription.json
@@ -1,21 +1,21 @@
{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "api-version": "2019-08-02"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "string",
- "name": "string",
- "type": "string",
- "location": "string"
- }
- ],
- "nextLink": "string"
- }
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "api-version": "2019-08-02"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "string",
+ "name": "string",
+ "type": "string",
+ "location": "string"
+ }
+ ],
+ "nextLink": "string"
}
}
}
+}
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Update.json
index b76dae837072..f87871a1716e 100644
--- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Update.json
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Update.json
@@ -7,7 +7,7 @@
"location": "eastus2euap",
"parameters": "string",
"properties": {
- "physicalLocation": "newLocation"
+ "physicalLocation": "newLocation"
},
"identity": {
"Type": "SystemAssigned"
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/PUTExtension.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/PUTExtension.json
index cde51ea1d8cf..95482c8657f5 100644
--- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/PUTExtension.json
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/PUTExtension.json
@@ -1,67 +1,66 @@
{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "name": "myMachine",
- "extensionName": "MMA",
- "api-version": "2019-08-02",
- "extensionParameters": {
- "location": "string",
- "properties": {
- "forceUpdateTag": "false",
- "publisher": "Publisher1",
- "type": "string",
- "typeHandlerVersion": "1.0",
- "autoUpgradeMinorVersion": true,
- "settings": {},
- "protectedSettings": {},
- "instanceView": {
- "name": "string",
- "type": "string",
- "typeHandlerVersion": "string",
- "status": {
- "code": "string",
- "level": "Info",
- "displayStatus": "string",
- "message": "string",
- "time": "2019-08-08T20:36:46.620Z"
- }
- }
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "name": "myMachine",
+ "extensionName": "MMA",
+ "api-version": "2019-08-02",
+ "extensionParameters": {
+ "location": "string",
+ "properties": {
+ "forceUpdateTag": "false",
+ "publisher": "Publisher1",
+ "type": "string",
+ "typeHandlerVersion": "1.0",
+ "autoUpgradeMinorVersion": true,
+ "settings": {},
+ "protectedSettings": {},
+ "instanceView": {
+ "name": "string",
+ "type": "string",
+ "typeHandlerVersion": "string",
+ "status": {
+ "code": "string",
+ "level": "Info",
+ "displayStatus": "string",
+ "message": "string",
+ "time": "2019-08-08T20:36:46.620Z"
}
+ }
}
- },
- "responses": {
- "200": {
- "body": {
- "id": "string",
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "string",
+ "name": "string",
+ "type": "string",
+ "location": "string",
+ "properties": {
+ "forceUpdateTag": "string",
+ "publisher": "string",
+ "type": "string",
+ "typeHandlerVersion": "string",
+ "autoUpgradeMinorVersion": true,
+ "settings": {},
+ "protectedSettings": {},
+ "provisioningState": "string",
+ "instanceView": {
"name": "string",
"type": "string",
- "location": "string",
- "properties": {
- "forceUpdateTag": "string",
- "publisher": "string",
- "type": "string",
- "typeHandlerVersion": "string",
- "autoUpgradeMinorVersion": true,
- "settings": {},
- "protectedSettings": {},
- "provisioningState": "string",
- "instanceView": {
- "name": "string",
- "type": "string",
- "typeHandlerVersion": "string",
- "status": {
- "code": "string",
- "level": "Info",
- "displayStatus": "string",
- "message": "string",
- "time": "2019-08-08T20:42:10.999Z"
- }
- }
+ "typeHandlerVersion": "string",
+ "status": {
+ "code": "string",
+ "level": "Info",
+ "displayStatus": "string",
+ "message": "string",
+ "time": "2019-08-08T20:42:10.999Z"
}
+ }
}
- },
- "202": {
}
- }
+ },
+ "202": {}
}
+}
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/UpdateExtension.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/UpdateExtension.json
index a4698159a7e5..8eaf6b619661 100644
--- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/UpdateExtension.json
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/UpdateExtension.json
@@ -1,54 +1,53 @@
{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "name": "myMachine",
- "extensionName": "MMA",
- "api-version": "2019-08-02",
- "extensionParameters": {
- "properties": {
- "forceUpdateTag": "false",
- "publisher": "Publisher1",
- "type": "string",
- "typeHandlerVersion": "1.0",
- "autoUpgradeMinorVersion": true,
- "settings": {},
- "protectedSettings": {}
- }
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "name": "myMachine",
+ "extensionName": "MMA",
+ "api-version": "2019-08-02",
+ "extensionParameters": {
+ "properties": {
+ "forceUpdateTag": "false",
+ "publisher": "Publisher1",
+ "type": "string",
+ "typeHandlerVersion": "1.0",
+ "autoUpgradeMinorVersion": true,
+ "settings": {},
+ "protectedSettings": {}
}
- },
- "responses": {
- "200": {
- "body": {
- "id": "string",
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "string",
+ "name": "string",
+ "type": "string",
+ "location": "string",
+ "properties": {
+ "forceUpdateTag": "string",
+ "publisher": "string",
+ "type": "string",
+ "typeHandlerVersion": "string",
+ "autoUpgradeMinorVersion": true,
+ "settings": {},
+ "protectedSettings": {},
+ "provisioningState": "string",
+ "instanceView": {
"name": "string",
"type": "string",
- "location": "string",
- "properties": {
- "forceUpdateTag": "string",
- "publisher": "string",
- "type": "string",
- "typeHandlerVersion": "string",
- "autoUpgradeMinorVersion": true,
- "settings": {},
- "protectedSettings": {},
- "provisioningState": "string",
- "instanceView": {
- "name": "string",
- "type": "string",
- "typeHandlerVersion": "string",
- "status": {
- "code": "string",
- "level": "Info",
- "displayStatus": "string",
- "message": "string",
- "time": "2019-08-08T20:42:10.999Z"
- }
- }
+ "typeHandlerVersion": "string",
+ "status": {
+ "code": "string",
+ "level": "Info",
+ "displayStatus": "string",
+ "message": "string",
+ "time": "2019-08-08T20:42:10.999Z"
}
+ }
}
- },
- "202": {
}
- }
+ },
+ "202": {}
}
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_create.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_create.json
index cdf8169186f8..5d6311ea78f5 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_create.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_create.json
@@ -1,26 +1,26 @@
{
- "title": "Get API tokens in your application",
- "description": "Get a list of API tokens in your application.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "token_id": "testtoken",
- "body": {
- "roles": [
- "c7be2c6b-797e-4551-bb24-33709f6b2e20"
- ]
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "testtoken",
- "roles": [
- "ca310b8d-2f4a-44e0-a36e-957c202cd8d4"
- ],
- "expiry": "2020-10-18T18:30:40.227Z",
- "token": "SharedAccessSignature sr=..."
- }
+ "title": "Get API tokens in your application",
+ "description": "Get a list of API tokens in your application.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "token_id": "testtoken",
+ "body": {
+ "roles": [
+ "c7be2c6b-797e-4551-bb24-33709f6b2e20"
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "testtoken",
+ "roles": [
+ "ca310b8d-2f4a-44e0-a36e-957c202cd8d4"
+ ],
+ "expiry": "2020-10-18T18:30:40.227Z",
+ "token": "SharedAccessSignature sr=..."
}
}
}
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_delete.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_delete.json
index a8d426de665e..78190211de15 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_delete.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_delete.json
@@ -1,12 +1,12 @@
{
- "title": "Delete API token",
- "description": "Delete an API token using its name.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "token_id": "testtoken"
- },
- "responses": {
- "204": {}
- }
+ "title": "Delete API token",
+ "description": "Delete an API token using its name.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "token_id": "testtoken"
+ },
+ "responses": {
+ "204": {}
+ }
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_get.json
index 403d331a9a9b..007cec68ff29 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_get.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_get.json
@@ -1,20 +1,20 @@
{
- "title": "Get API tokens in your application",
- "description": "Get a list of API tokens in your application.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "token_id": "testtoken"
- },
- "responses": {
- "200": {
- "body": {
- "id": "testtoken",
- "roles": [
- "ca310b8d-2f4a-44e0-a36e-957c202cd8d4"
- ],
- "expiry": "2020-10-18T18:30:40.227Z"
- }
+ "title": "Get API tokens in your application",
+ "description": "Get a list of API tokens in your application.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "token_id": "testtoken"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "testtoken",
+ "roles": [
+ "ca310b8d-2f4a-44e0-a36e-957c202cd8d4"
+ ],
+ "expiry": "2020-10-18T18:30:40.227Z"
}
}
}
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_list.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_list.json
index 3bbec634ab9e..f7a1c35aeeda 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_list.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/apitoken_list.json
@@ -1,23 +1,23 @@
{
- "title": "List API tokens in your application",
- "description": "Get a list of API tokens in your application.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "testtoken",
- "roles": [
- "ca310b8d-2f4a-44e0-a36e-957c202cd8d4"
- ],
- "expiry": "2020-10-18T18:30:40.227Z"
- }
- ]
- }
+ "title": "List API tokens in your application",
+ "description": "Get a list of API tokens in your application.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "testtoken",
+ "roles": [
+ "ca310b8d-2f4a-44e0-a36e-957c202cd8d4"
+ ],
+ "expiry": "2020-10-18T18:30:40.227Z"
+ }
+ ]
}
}
}
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/application_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/application_get.json
index 247e78a23574..92cead192a9b 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/application_get.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/application_get.json
@@ -1,21 +1,19 @@
{
- "title": "Get an application by Id",
- "description": "Get an application by Id.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "application_id":"194e282c-290a-4858-b68f-4274690697fc"
- },
- "responses": {
- "200": {
- "body": {
-
- "id": "194e282c-290a-4858-b68f-4274690697fc",
- "displayName": "x - Store Analytics Checkout - PnP",
- "subdomain": "store-analytics-checkout---pnp",
- "host": "store-analytics-checkout---pnp.azureiotcentral.com"
-
- }
+ "title": "Get an application by Id",
+ "description": "Get an application by Id.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "application_id": "194e282c-290a-4858-b68f-4274690697fc"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "194e282c-290a-4858-b68f-4274690697fc",
+ "displayName": "x - Store Analytics Checkout - PnP",
+ "subdomain": "store-analytics-checkout---pnp",
+ "host": "store-analytics-checkout---pnp.azureiotcentral.com"
}
}
}
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/application_list.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/application_list.json
index b55079257955..f32e2b04e93d 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/application_list.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/application_list.json
@@ -8,20 +8,20 @@
"responses": {
"200": {
"body": {
- "value": [
- {
- "id": "194e282c-290a-4858-b68f-4274690697fc",
- "displayName": "x - Store Analytics Checkout - PnP",
- "subdomain": "store-analytics-checkout---pnp",
- "host": "store-analytics-checkout---pnp.azureiotcentral.com"
- },
- {
- "id": "ca517ec7-234e-4cbb-9d83-424f8a1d1809",
- "displayName": "Custom 2gskl57ibaw",
- "subdomain": "contoso",
- "host": "contoso.azureiotcentral.com"
- }
- ]
+ "value": [
+ {
+ "id": "194e282c-290a-4858-b68f-4274690697fc",
+ "displayName": "x - Store Analytics Checkout - PnP",
+ "subdomain": "store-analytics-checkout---pnp",
+ "host": "store-analytics-checkout---pnp.azureiotcentral.com"
+ },
+ {
+ "id": "ca517ec7-234e-4cbb-9d83-424f8a1d1809",
+ "displayName": "Custom 2gskl57ibaw",
+ "subdomain": "contoso",
+ "host": "contoso.azureiotcentral.com"
+ }
+ ]
}
}
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_delete.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_delete.json
index 119879c7b094..674e479c2717 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_delete.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_delete.json
@@ -1,12 +1,12 @@
{
- "title": "Delete export",
- "description": "Delete an export using its Id.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "export_id": "abc"
- },
- "responses": {
- "204": {}
- }
+ "title": "Delete export",
+ "description": "Delete an export using its Id.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "export_id": "abc"
+ },
+ "responses": {
+ "204": {}
+ }
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_get.json
index 702c6ee42e2e..1d89e06bbfee 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_get.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_get.json
@@ -1,30 +1,30 @@
{
- "title": "Get export",
- "description": "Get an export using its Id.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "export_id": "16cad42a-bd47-4684-b106-9f9b4d2d02e9"
- },
- "responses": {
- "200": {
- "body": {
- "id": "16cad42a-bd47-4684-b106-9f9b4d2d02e9",
- "etag": "076f201d-e9c3-4bef-af0a-608420ba4526",
- "displayName": "Export to Storage 1",
- "endpoint": {
- "type": "StorageEndpoint",
- "connectionString": "DefaultEndpointsProtocol=https;AccountName=jeffscratchppe;AccountKey=*****;EndpointSuffix=core.windows.net",
- "name": "cde"
- },
- "status": "running",
- "enabled": true,
- "sources": [
- "devices",
- "deviceTemplates",
- "telemetry"
- ]
- }
+ "title": "Get export",
+ "description": "Get an export using its Id.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "export_id": "16cad42a-bd47-4684-b106-9f9b4d2d02e9"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "16cad42a-bd47-4684-b106-9f9b4d2d02e9",
+ "etag": "076f201d-e9c3-4bef-af0a-608420ba4526",
+ "displayName": "Export to Storage 1",
+ "endpoint": {
+ "type": "StorageEndpoint",
+ "connectionString": "DefaultEndpointsProtocol=https;AccountName=jeffscratchppe;AccountKey=*****;EndpointSuffix=core.windows.net",
+ "name": "cde"
+ },
+ "status": "running",
+ "enabled": true,
+ "sources": [
+ "devices",
+ "deviceTemplates",
+ "telemetry"
+ ]
}
}
}
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_list.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_list.json
index 9c4de398a267..4d2123433746 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_list.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_list.json
@@ -1,50 +1,50 @@
{
- "title": "List exports",
- "description": "Get a list of all exports in your application",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "16cad42a-bd47-4684-b106-9f9b4d2d02e9",
- "etag": "076f201d-e9c3-4bef-af0a-608420ba4526",
- "displayName": "Export to Storage 1",
- "endpoint": {
- "type": "StorageEndpoint",
- "connectionString": "DefaultEndpointsProtocol=https;AccountName=jeffscratchppe;AccountKey=*****;EndpointSuffix=core.windows.net",
- "name": "cde"
- },
- "status": "starting",
- "enabled": true,
- "sources": [
- "devices",
- "deviceTemplates",
- "telemetry"
- ]
- },
- {
- "id": "9dce0282-751d-4121-aed3-b316d658f17a",
- "etag": "3398c6b5-de40-44ad-bf4a-0c216e2b4d88",
- "displayName": "Export to Event Hubs 1",
- "endpoint": {
- "type": "EventHubsEndpoint",
- "connectionString": "Endpoint=sb://roommonitoring.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=*****",
- "name": "roommonitoring-ehout"
- },
- "status": "stopping",
- "enabled": false,
- "sources": [
- "devices",
- "deviceTemplates",
- "telemetry"
- ]
- }
+ "title": "List exports",
+ "description": "Get a list of all exports in your application",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "16cad42a-bd47-4684-b106-9f9b4d2d02e9",
+ "etag": "076f201d-e9c3-4bef-af0a-608420ba4526",
+ "displayName": "Export to Storage 1",
+ "endpoint": {
+ "type": "StorageEndpoint",
+ "connectionString": "DefaultEndpointsProtocol=https;AccountName=jeffscratchppe;AccountKey=*****;EndpointSuffix=core.windows.net",
+ "name": "cde"
+ },
+ "status": "starting",
+ "enabled": true,
+ "sources": [
+ "devices",
+ "deviceTemplates",
+ "telemetry"
]
- }
+ },
+ {
+ "id": "9dce0282-751d-4121-aed3-b316d658f17a",
+ "etag": "3398c6b5-de40-44ad-bf4a-0c216e2b4d88",
+ "displayName": "Export to Event Hubs 1",
+ "endpoint": {
+ "type": "EventHubsEndpoint",
+ "connectionString": "Endpoint=sb://roommonitoring.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=*****",
+ "name": "roommonitoring-ehout"
+ },
+ "status": "stopping",
+ "enabled": false,
+ "sources": [
+ "devices",
+ "deviceTemplates",
+ "telemetry"
+ ]
+ }
+ ]
}
}
}
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_set.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_set.json
index a94e0dc109e2..5f2e51d29e79 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_set.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/continuousdataexports_set.json
@@ -1,44 +1,44 @@
{
- "title": "Create or update export",
- "description": "Create a new export or update an existing export, specifying its Id.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "export_id": "abc",
+ "title": "Create or update export",
+ "description": "Create a new export or update an existing export, specifying its Id.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "export_id": "abc",
+ "body": {
+ "displayName": "Export to Storage 2",
+ "endpoint": {
+ "type": "StorageEndpoint",
+ "connectionString": "{Connection-string-to-blob-storage}",
+ "name": "container"
+ },
+ "enabled": true,
+ "sources": [
+ "devices",
+ "deviceTemplates",
+ "telemetry"
+ ]
+ }
+ },
+ "responses": {
+ "200": {
"body": {
+ "id": "abc",
+ "etag": "7e02c03e-25cb-4d1c-9f6b-019506283872",
"displayName": "Export to Storage 2",
"endpoint": {
- "type": "StorageEndpoint",
- "connectionString": "{Connection-string-to-blob-storage}",
- "name": "container"
+ "type": "StorageEndpoint",
+ "connectionString": "DefaultEndpointsProtocol=https;AccountName=contosoiotcstorage;AccountKey=*****;EndpointSuffix=core.windows.net",
+ "name": "container"
},
+ "status": "starting",
"enabled": true,
"sources": [
- "devices",
- "deviceTemplates",
- "telemetry"
+ "devices",
+ "deviceTemplates",
+ "telemetry"
]
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "abc",
- "etag": "7e02c03e-25cb-4d1c-9f6b-019506283872",
- "displayName": "Export to Storage 2",
- "endpoint": {
- "type": "StorageEndpoint",
- "connectionString": "DefaultEndpointsProtocol=https;AccountName=contosoiotcstorage;AccountKey=*****;EndpointSuffix=core.windows.net",
- "name": "container"
- },
- "status": "starting",
- "enabled": true,
- "sources": [
- "devices",
- "deviceTemplates",
- "telemetry"
- ]
- }
}
}
}
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicecredentials_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicecredentials_get.json
index 79306f555b31..e1112eba7214 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicecredentials_get.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicecredentials_get.json
@@ -1,18 +1,18 @@
{
- "title": "Get device credentials",
- "description": "Get the device credentials of a created device. Returns the app's scope Id and device SAS key",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "device_id": "Checkout4"
- },
- "responses": {
- "200": {
- "body":{
+ "title": "Get device credentials",
+ "description": "Get the device credentials of a created device. Returns the app's scope Id and device SAS key",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "Checkout4"
+ },
+ "responses": {
+ "200": {
+ "body": {
"scopeId": "0ne0005F266",
"symmetricKey": {
- "primaryKey": "XaMfV3vryCQw963L2IALf1SdApQRzSIBQd13/fassqM=",
- "secondaryKey": "s+4uT31TRZJcTSGxZUPZb1yznjTicu4jr9tXNrg+xIQ="
+ "primaryKey": "XaMfV3vryCQw963L2IALf1SdApQRzSIBQd13/fassqM=",
+ "secondaryKey": "s+4uT31TRZJcTSGxZUPZb1yznjTicu4jr9tXNrg+xIQ="
}
}
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_cloudproperties_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_cloudproperties_get.json
index 507ac667d74b..f03df9f12d41 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_cloudproperties_get.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_cloudproperties_get.json
@@ -1,16 +1,16 @@
{
- "title": "Get cloud property values of a device",
- "description": "Get the current values of all cloud properties of a device.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "device_id": "mx1"
- },
- "responses": {
- "200": {
- "body": {
- "AssetID": "123abc"
- }
+ "title": "Get cloud property values of a device",
+ "description": "Get the current values of all cloud properties of a device.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "mx1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "AssetID": "123abc"
+ }
}
}
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_cloudproperties_update.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_cloudproperties_update.json
index 999d46fb6b49..e75d524a229a 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_cloudproperties_update.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_cloudproperties_update.json
@@ -1,19 +1,19 @@
{
- "title": "Update cloud properties of a device",
- "description": "Update cloud properties of a device.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
+ "title": "Update cloud properties of a device",
+ "description": "Update cloud properties of a device.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "body": {
+ "AssetID": "123abc"
+ },
+ "device_id": "mx1"
+ },
+ "responses": {
+ "200": {
"body": {
"AssetID": "123abc"
- },
- "device_id": "mx1"
- },
- "responses": {
- "200": {
- "body": {
- "AssetID": "123abc"
- }
+ }
}
}
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_commands_send.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_commands_send.json
index f1181d825a03..30149234a336 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_commands_send.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_commands_send.json
@@ -1,15 +1,21 @@
{
- "title": "Send command",
- "description": "Send a command to a device.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "device_id": "mx1",
- "component_name": "Thermostat_1o",
- "command_name": "CoolDown",
- "body":{ "request":{"tempVal": 30}}
- },
- "responses": {
- "201": {"body":{}}
+ "title": "Send command",
+ "description": "Send a command to a device.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "mx1",
+ "component_name": "Thermostat_1o",
+ "command_name": "CoolDown",
+ "body": {
+ "request": {
+ "tempVal": 30
+ }
}
+ },
+ "responses": {
+ "201": {
+ "body": {}
+ }
+ }
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_commandshistory_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_commandshistory_get.json
index cfbbec4852e9..bbb59154724e 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_commandshistory_get.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_commandshistory_get.json
@@ -1,25 +1,25 @@
{
- "title": "Get command history",
- "description": "Get the most recent invocation of a command of a device.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "device_id": "mx1",
- "component_name": "Thermostat_1o",
- "command_name": "CoolDown"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "request": 20,
- "id": "4e17dd2e-7bf2-458d-8466-19bc6fc9b642",
- "response": 58.795679629034694,
- "responseCode": 200
- }
- ]
- }
+ "title": "Get command history",
+ "description": "Get the most recent invocation of a command of a device.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "mx1",
+ "component_name": "Thermostat_1o",
+ "command_name": "CoolDown"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "request": 20,
+ "id": "4e17dd2e-7bf2-458d-8466-19bc6fc9b642",
+ "response": 58.795679629034694,
+ "responseCode": 200
+ }
+ ]
+ }
}
}
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_create.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_create.json
index fc3a60805a2c..2fd30c35203e 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_create.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_create.json
@@ -1,28 +1,28 @@
{
- "title": "Create a device",
- "description": "Create a device with an Id.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "device_id": "ccc",
- "body":{
+ "title": "Create a device",
+ "description": "Create a device with an Id.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "ccc",
+ "body": {
+ "displayName": "CheckoutThermostatccc",
+ "instanceOf": "urn:kmwga2re7:modelDefinition:t_cj5wspyv",
+ "simulated": true,
+ "approved": true
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "ccc",
+ "etag": "eyJoZWFkZXIiOiJcIjE1MDE2ZDFiLTAwMDAtMGQwMC0wMDAwLTVkYWNkNDIxMDAwMFwiIiwiZGF0YSI6IlwiMTUwMTZhMWItMDAwMC0wZDAwLTAwMDAtNWRhY2Q0MjEwMDAwXCIifQ",
"displayName": "CheckoutThermostatccc",
"instanceOf": "urn:kmwga2re7:modelDefinition:t_cj5wspyv",
"simulated": true,
+ "provisioned": false,
"approved": true
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "ccc",
- "etag": "eyJoZWFkZXIiOiJcIjE1MDE2ZDFiLTAwMDAtMGQwMC0wMDAwLTVkYWNkNDIxMDAwMFwiIiwiZGF0YSI6IlwiMTUwMTZhMWItMDAwMC0wZDAwLTAwMDAtNWRhY2Q0MjEwMDAwXCIifQ",
- "displayName": "CheckoutThermostatccc",
- "instanceOf": "urn:kmwga2re7:modelDefinition:t_cj5wspyv",
- "simulated": true,
- "provisioned": false,
- "approved": true
- }
+ }
}
}
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_delete.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_delete.json
index 516955d4b761..a8efca557065 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_delete.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_delete.json
@@ -1,12 +1,12 @@
{
- "title": "Delete device",
- "description": "Delete a device by Id.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "device_id": "ccc"
- },
- "responses": {
- "204": {}
+ "title": "Delete device",
+ "description": "Delete a device by Id.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "ccc"
+ },
+ "responses": {
+ "204": {}
}
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_get.json
index 4f240615c859..307bf6302de6 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_get.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_get.json
@@ -1,22 +1,22 @@
{
- "title": "Get a device by Id",
- "description": "Get a device by Id",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "device_id": "CheckoutThermostat"
- },
- "responses": {
- "200": {
- "body": {
- "id": "CheckoutThermostat",
- "etag": "eyJoZWFkZXIiOiJcIjAyMDA4YzMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4YjdhMDAwMFwiIn0",
- "displayName": "CheckoutThermostat",
- "instanceOf": "urn:kmwga2re7:modelDefinition:t_cj5wspyv",
- "simulated": true,
- "provisioned": true,
- "approved": true
- }
+ "title": "Get a device by Id",
+ "description": "Get a device by Id",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "CheckoutThermostat"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "CheckoutThermostat",
+ "etag": "eyJoZWFkZXIiOiJcIjAyMDA4YzMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4YjdhMDAwMFwiIn0",
+ "displayName": "CheckoutThermostat",
+ "instanceOf": "urn:kmwga2re7:modelDefinition:t_cj5wspyv",
+ "simulated": true,
+ "provisioned": true,
+ "approved": true
+ }
}
}
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_list.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_list.json
index ce52b0783ec1..6cb346158125 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_list.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_list.json
@@ -1,52 +1,52 @@
{
- "title": "List devices",
- "description": "List all devices in your application.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "CheckoutThermostat",
- "etag": "eyJoZWFkZXIiOiJcIjAyMDA4YzMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4YjdhMDAwMFwiIn0",
- "displayName": "CheckoutThermostat",
- "instanceOf": "urn:kmwga2re7:modelDefinition:t_cj5wspyv",
- "simulated": true,
- "provisioned": true,
- "approved": true
- },
- {
- "id": "Checkout1",
- "etag": "eyJoZWFkZXIiOiJcIjAyMDA4ZDMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4Yjg3MDAwMFwiIn0",
- "displayName": "Checkout1",
- "instanceOf": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
- "simulated": true,
- "provisioned": true,
- "approved": true
- },
- {
- "id": "Checkout2",
- "etag": "eyJoZWFkZXIiOiJcIjAyMDA5MDMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4Yjg3MDAwMFwiIn0",
- "displayName": "Checkout2",
- "instanceOf": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
- "simulated": true,
- "provisioned": true,
- "approved": true
- },
- {
- "id": "Checkout3",
- "etag": "eyJoZWFkZXIiOiJcIjAyMDA4ZTMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4Yjg3MDAwMFwiIn0",
- "displayName": "Checkout3",
- "instanceOf": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
- "simulated": true,
- "provisioned": true,
- "approved": true
- }
- ]
- }
+ "title": "List devices",
+ "description": "List all devices in your application.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "CheckoutThermostat",
+ "etag": "eyJoZWFkZXIiOiJcIjAyMDA4YzMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4YjdhMDAwMFwiIn0",
+ "displayName": "CheckoutThermostat",
+ "instanceOf": "urn:kmwga2re7:modelDefinition:t_cj5wspyv",
+ "simulated": true,
+ "provisioned": true,
+ "approved": true
+ },
+ {
+ "id": "Checkout1",
+ "etag": "eyJoZWFkZXIiOiJcIjAyMDA4ZDMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4Yjg3MDAwMFwiIn0",
+ "displayName": "Checkout1",
+ "instanceOf": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
+ "simulated": true,
+ "provisioned": true,
+ "approved": true
+ },
+ {
+ "id": "Checkout2",
+ "etag": "eyJoZWFkZXIiOiJcIjAyMDA5MDMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4Yjg3MDAwMFwiIn0",
+ "displayName": "Checkout2",
+ "instanceOf": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
+ "simulated": true,
+ "provisioned": true,
+ "approved": true
+ },
+ {
+ "id": "Checkout3",
+ "etag": "eyJoZWFkZXIiOiJcIjAyMDA4ZTMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4Yjg3MDAwMFwiIn0",
+ "displayName": "Checkout3",
+ "instanceOf": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
+ "simulated": true,
+ "provisioned": true,
+ "approved": true
+ }
+ ]
+ }
}
}
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_list_by_template.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_list_by_template.json
index bb1f8cd4ba87..c2498a1d4982 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_list_by_template.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_list_by_template.json
@@ -1,44 +1,44 @@
{
- "title": "List devices associated to a device template.",
- "description": "List all devices associated to a device template.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "device_template_id": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "Checkout1",
- "etag": "eyJoZWFkZXIiOiJcIjAyMDA4ZDMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4Yjg3MDAwMFwiIn0",
- "displayName": "Checkout1",
- "instanceOf": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
- "simulated": true,
- "provisioned": true,
- "approved": true
- },
- {
- "id": "Checkout2",
- "etag": "eyJoZWFkZXIiOiJcIjAyMDA5MDMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4Yjg3MDAwMFwiIn0",
- "displayName": "Checkout2",
- "instanceOf": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
- "simulated": true,
- "provisioned": true,
- "approved": true
- },
- {
- "id": "Checkout3",
- "etag": "eyJoZWFkZXIiOiJcIjAyMDA4ZTMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4Yjg3MDAwMFwiIn0",
- "displayName": "Checkout3",
- "instanceOf": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
- "simulated": true,
- "provisioned": true,
- "approved": true
- }
- ]
- }
+ "title": "List devices associated to a device template.",
+ "description": "List all devices associated to a device template.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_template_id": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "Checkout1",
+ "etag": "eyJoZWFkZXIiOiJcIjAyMDA4ZDMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4Yjg3MDAwMFwiIn0",
+ "displayName": "Checkout1",
+ "instanceOf": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
+ "simulated": true,
+ "provisioned": true,
+ "approved": true
+ },
+ {
+ "id": "Checkout2",
+ "etag": "eyJoZWFkZXIiOiJcIjAyMDA5MDMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4Yjg3MDAwMFwiIn0",
+ "displayName": "Checkout2",
+ "instanceOf": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
+ "simulated": true,
+ "provisioned": true,
+ "approved": true
+ },
+ {
+ "id": "Checkout3",
+ "etag": "eyJoZWFkZXIiOiJcIjAyMDA4ZTMyLTAwMDAtMGQwMC0wMDAwLTVkOTY4Yjg3MDAwMFwiIn0",
+ "displayName": "Checkout3",
+ "instanceOf": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
+ "simulated": true,
+ "provisioned": true,
+ "approved": true
+ }
+ ]
+ }
}
}
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_components_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_components_get.json
index 28531f7b74b0..de738d998e98 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_components_get.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_components_get.json
@@ -1,54 +1,54 @@
{
- "title": "Get device properties in component",
- "description": "Get the read-write property values within a component of a device.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "device_id": "mx1",
- "component_name": "settings"
- },
- "responses": {
- "200": {
- "body": {
- "fanSpeed": 35,
- "voltage": 5,
- "current": 2,
- "irSwitch": true,
- "$metadata": {
- "fanSpeed": {
- "desiredValue": 35,
- "ackDesiredState": {
- "code": 200,
- "version": 2,
- "description": "Processed"
- }
- },
- "voltage": {
- "desiredValue": 5,
- "ackDesiredState": {
- "code": 200,
- "version": 2,
- "description": "Processed"
- }
- },
- "current": {
- "desiredValue": 2,
- "ackDesiredState": {
- "code": 200,
- "version": 2,
- "description": "Processed"
- }
- },
- "irSwitch": {
- "desiredValue": true,
- "ackDesiredState": {
- "code": 200,
- "version": 2,
- "description": "Processed"
- }
- }
+ "title": "Get device properties in component",
+ "description": "Get the read-write property values within a component of a device.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "mx1",
+ "component_name": "settings"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "fanSpeed": 35,
+ "voltage": 5,
+ "current": 2,
+ "irSwitch": true,
+ "$metadata": {
+ "fanSpeed": {
+ "desiredValue": 35,
+ "ackDesiredState": {
+ "code": 200,
+ "version": 2,
+ "description": "Processed"
}
+ },
+ "voltage": {
+ "desiredValue": 5,
+ "ackDesiredState": {
+ "code": 200,
+ "version": 2,
+ "description": "Processed"
+ }
+ },
+ "current": {
+ "desiredValue": 2,
+ "ackDesiredState": {
+ "code": 200,
+ "version": 2,
+ "description": "Processed"
+ }
+ },
+ "irSwitch": {
+ "desiredValue": true,
+ "ackDesiredState": {
+ "code": 200,
+ "version": 2,
+ "description": "Processed"
+ }
+ }
}
+ }
}
}
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_components_set.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_components_set.json
index 14bb244a1434..0e896f75fbe7 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_components_set.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_components_set.json
@@ -1,36 +1,36 @@
{
- "title": "Set device properties in component",
- "description": "Set the read-write property values within a component of a device.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "device_id": "mx1",
- "component_name": "settings",
- "body":{
- "fanSpeed": 35,
- "voltage": 5,
- "current": 2,
- "irSwitch": true
- }
- },
- "responses": {
- "202": {
- "body": {
- "$metadata": {
- "fanSpeed": {
- "desiredValue": 35
- },
- "voltage": {
- "desiredValue": 5
- },
- "current": {
- "desiredValue": 2
- },
- "irSwitch": {
- "desiredValue": true
- }
- }
+ "title": "Set device properties in component",
+ "description": "Set the read-write property values within a component of a device.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "mx1",
+ "component_name": "settings",
+ "body": {
+ "fanSpeed": 35,
+ "voltage": 5,
+ "current": 2,
+ "irSwitch": true
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "$metadata": {
+ "fanSpeed": {
+ "desiredValue": 35
+ },
+ "voltage": {
+ "desiredValue": 5
+ },
+ "current": {
+ "desiredValue": 2
+ },
+ "irSwitch": {
+ "desiredValue": true
+ }
}
+ }
}
}
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_get.json
index 98681b1c1837..45baf0130156 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_get.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_get.json
@@ -1,25 +1,25 @@
{
- "title": "Get device properties",
- "description": "Get the current values of all device properties.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "device_id": "mx1"
- },
- "responses": {
- "200": {
- "body": {
- "deviceinfo": {
- "manufacturer": "manufacturer",
- "model": "model",
- "swVersion": "swVersion",
- "osName": "osName",
- "processorArchitecture": "processorArchitecture",
- "processorManufacturer": "processorManufacturer",
- "totalStorage": 41,
- "totalMemory": 49
- }
+ "title": "Get device properties",
+ "description": "Get the current values of all device properties.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "mx1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "deviceinfo": {
+ "manufacturer": "manufacturer",
+ "model": "model",
+ "swVersion": "swVersion",
+ "osName": "osName",
+ "processorArchitecture": "processorArchitecture",
+ "processorManufacturer": "processorManufacturer",
+ "totalStorage": 41,
+ "totalMemory": 49
}
+ }
}
}
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_update.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_update.json
index 2efe07fab90e..d8c1316a830f 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_update.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_properties_update.json
@@ -1,36 +1,37 @@
{
- "title": "Update device properties",
- "description": "Update the values of read-write properties of a device",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "device_id": "mx1",
- "body":{
- "device_info": {
- "manufacturer": "manufacturer",
- "model": "model",
- "swVersion": "swVersion",
- "osName": "osName",
- "processorArchitecture": "processorArchitecture",
- "processorManufacturer": "processorManufacturer",
- "totalStorage": 24,
- "totalMemory": 18
- }}
- },
- "responses": {
- "202": {
- "body": {
- "deviceinfo": {
- "manufacturer": "TODO",
- "model": "model",
- "swVersion": "swVersion",
- "osName": "osName",
- "processorArchitecture": "processorArchitecture",
- "processorManufacturer": "processorManufacturer",
- "totalStorage": 41,
- "totalMemory": 49
- }
+ "title": "Update device properties",
+ "description": "Update the values of read-write properties of a device",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "mx1",
+ "body": {
+ "device_info": {
+ "manufacturer": "manufacturer",
+ "model": "model",
+ "swVersion": "swVersion",
+ "osName": "osName",
+ "processorArchitecture": "processorArchitecture",
+ "processorManufacturer": "processorManufacturer",
+ "totalStorage": 24,
+ "totalMemory": 18
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "deviceinfo": {
+ "manufacturer": "TODO",
+ "model": "model",
+ "swVersion": "swVersion",
+ "osName": "osName",
+ "processorArchitecture": "processorArchitecture",
+ "processorManufacturer": "processorManufacturer",
+ "totalStorage": 41,
+ "totalMemory": 49
}
+ }
}
}
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_telemetry_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_telemetry_get.json
index c6c42407b1fc..09f0791c48af 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_telemetry_get.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devices_telemetry_get.json
@@ -1,18 +1,18 @@
{
- "title": "Get telemetry",
- "description": "Get the last known value of a telemetry stream of a device.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "device_id": "mx1",
- "component_name": "sensors",
- "telemetry_name": "temperature"
- },
- "responses": {
- "200": {
- "body": {
- "value": 32
- }
- }
+ "title": "Get telemetry",
+ "description": "Get the last known value of a telemetry stream of a device.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_id": "mx1",
+ "component_name": "sensors",
+ "telemetry_name": "temperature"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": 32
+ }
}
+ }
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_create.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_create.json
index 792cdfed212f..a5ca1e93dfa9 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_create.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_create.json
@@ -1,250 +1,250 @@
{
- "title": "Create a device template",
- "description": "Creates and publishes a device template. In the body, specify the full device template object.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "device_template_id": "environmentstemplateid",
- "body": {
- "types": [
- "DeviceModel"
+ "title": "Create a device template",
+ "description": "Creates and publishes a device template. In the body, specify the full device template object.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_template_id": "environmentstemplateid",
+ "body": {
+ "types": [
+ "DeviceModel"
+ ],
+ "displayName": "Environment sensor 1",
+ "capabilityModel": {
+ "@id": "urn:storeAnalyticsCheckoutPnp:capabilityModel:1",
+ "@type": [
+ "CapabilityModel"
+ ],
+ "implements": [
+ {
+ "@id": "urn:storeAnalyticsCheckoutPnp:capabilityModel:fyy5xn_y:1",
+ "@type": [
+ "InterfaceInstance"
],
- "displayName": "Environment sensor 1",
- "capabilityModel": {
- "@id": "urn:storeAnalyticsCheckoutPnp:capabilityModel:1",
- "@type": [
- "CapabilityModel"
- ],
- "implements": [
- {
- "@id": "urn:storeAnalyticsCheckoutPnp:capabilityModel:fyy5xn_y:1",
- "@type": [
- "InterfaceInstance"
- ],
- "displayName": "Interface",
- "name": "Interface",
- "schema": {
- "@id": "urn:storeAnalyticsCheckoutPnp:Interface:1",
- "@type": [
- "Interface"
- ],
- "displayName": "Interface",
- "contents": [
- {
- "@id": "urn:storeAnalyticsCheckoutPnp:Interface:Temperature:1",
- "@type": [
- "Telemetry",
- "SemanticType/Temperature"
- ],
- "displayName": "Temperature",
- "name": "Temperature",
- "schema": "double",
- "unit": "Units/Temperature/celsius"
- },
- {
- "@id": "urn:storeAnalyticsCheckoutPnp:Interface:Humidity:1",
- "@type": [
- "Telemetry",
- "SemanticType/Humidity"
- ],
- "displayName": "Humidity",
- "name": "Humidity",
- "schema": "double",
- "unit": "Units/Humidity/percent"
- },
- {
- "@id": "urn:storeAnalyticsCheckoutPnp:Interface:Occupancy:1",
- "@type": [
- "Telemetry"
- ],
- "displayName": "Occupancy",
- "name": "Occupancy",
- "schema": "double"
- }
- ]
- }
- }
- ],
- "displayName": "Motion detector",
- "contents": [],
- "@context": [
- "http://azureiot.com/v1/contexts/IoTModel.json"
- ]
+ "displayName": "Interface",
+ "name": "Interface",
+ "schema": {
+ "@id": "urn:storeAnalyticsCheckoutPnp:Interface:1",
+ "@type": [
+ "Interface"
+ ],
+ "displayName": "Interface",
+ "contents": [
+ {
+ "@id": "urn:storeAnalyticsCheckoutPnp:Interface:Temperature:1",
+ "@type": [
+ "Telemetry",
+ "SemanticType/Temperature"
+ ],
+ "displayName": "Temperature",
+ "name": "Temperature",
+ "schema": "double",
+ "unit": "Units/Temperature/celsius"
+ },
+ {
+ "@id": "urn:storeAnalyticsCheckoutPnp:Interface:Humidity:1",
+ "@type": [
+ "Telemetry",
+ "SemanticType/Humidity"
+ ],
+ "displayName": "Humidity",
+ "name": "Humidity",
+ "schema": "double",
+ "unit": "Units/Humidity/percent"
+ },
+ {
+ "@id": "urn:storeAnalyticsCheckoutPnp:Interface:Occupancy:1",
+ "@type": [
+ "Telemetry"
+ ],
+ "displayName": "Occupancy",
+ "name": "Occupancy",
+ "schema": "double"
+ }
+ ]
+ }
+ }
+ ],
+ "displayName": "Motion detector",
+ "contents": [],
+ "@context": [
+ "http://azureiot.com/v1/contexts/IoTModel.json"
+ ]
+ },
+ "solutionModel": {
+ "@id": "urn:1dsfbt7i:modelDefinition:zadjfmgvh",
+ "@type": [
+ "SolutionModel"
+ ],
+ "cloudProperties": [
+ {
+ "@id": "urn:1dsfbt7i:modelDefinition:AssetId",
+ "@type": [
+ "CloudProperty"
+ ],
+ "displayName": "Asset Id",
+ "name": "AssetId",
+ "schema": "string",
+ "valueDetail": {
+ "@id": "urn:1dsfbt7i:modelDefinition:AssetId:valueDetail",
+ "@type": [
+ "ValueDetail/StringValueDetail"
+ ]
+ }
+ }
+ ],
+ "initialValues": [],
+ "overrides": [
+ {
+ "@id": "urn:1dsfbt7i:modelDefinition:1qehkys5",
+ "@type": [
+ "Override"
+ ],
+ "capability": {
+ "@type": [
+ "CapabilityReference"
+ ],
+ "component": "urn:storeAnalyticsCheckoutPnp:capabilityModel:fyy5xn_y:1",
+ "reference": "urn:storeAnalyticsCheckoutPnp:Interface:Occupancy:1"
},
- "solutionModel": {
- "@id": "urn:1dsfbt7i:modelDefinition:zadjfmgvh",
- "@type": [
- "SolutionModel"
- ],
- "cloudProperties": [
- {
- "@id": "urn:1dsfbt7i:modelDefinition:AssetId",
- "@type": [
- "CloudProperty"
- ],
- "displayName": "Asset Id",
- "name": "AssetId",
- "schema": "string",
- "valueDetail": {
- "@id": "urn:1dsfbt7i:modelDefinition:AssetId:valueDetail",
- "@type": [
- "ValueDetail/StringValueDetail"
- ]
- }
- }
- ],
- "initialValues": [],
- "overrides": [
- {
- "@id": "urn:1dsfbt7i:modelDefinition:1qehkys5",
- "@type": [
- "Override"
- ],
- "capability": {
- "@type": [
- "CapabilityReference"
- ],
- "component": "urn:storeAnalyticsCheckoutPnp:capabilityModel:fyy5xn_y:1",
- "reference": "urn:storeAnalyticsCheckoutPnp:Interface:Occupancy:1"
- },
- "valueDetail": {
- "@type": [
- "ValueDetail/NumberValueDetail"
- ],
- "maxValue": {
- "@value": "50"
- },
- "minValue": {
- "@value": "0"
- }
- }
- }
- ]
+ "valueDetail": {
+ "@type": [
+ "ValueDetail/NumberValueDetail"
+ ],
+ "maxValue": {
+ "@value": "50"
+ },
+ "minValue": {
+ "@value": "0"
+ }
}
- }
- },
- "responses": {
- "200": {
- "body":{
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
"id": "environmentstemplateid",
"types": [
- "DeviceModel"
+ "DeviceModel"
],
"displayName": "Environment sensor 1",
"capabilityModel": {
- "@id": "urn:storeAnalyticsCheckoutPnp:capabilityModel:1",
- "@type": [
- "CapabilityModel"
- ],
- "implements": [
- {
- "@id": "urn:storeAnalyticsCheckoutPnp:capabilityModel:fyy5xn_y:1",
+ "@id": "urn:storeAnalyticsCheckoutPnp:capabilityModel:1",
+ "@type": [
+ "CapabilityModel"
+ ],
+ "implements": [
+ {
+ "@id": "urn:storeAnalyticsCheckoutPnp:capabilityModel:fyy5xn_y:1",
+ "@type": [
+ "InterfaceInstance"
+ ],
+ "displayName": "Interface",
+ "name": "Interface",
+ "schema": {
+ "@id": "urn:storeAnalyticsCheckoutPnp:Interface:1",
+ "@type": [
+ "Interface"
+ ],
+ "displayName": "Interface",
+ "contents": [
+ {
+ "@id": "urn:storeAnalyticsCheckoutPnp:Interface:Temperature:1",
"@type": [
- "InterfaceInstance"
+ "Telemetry",
+ "SemanticType/Temperature"
],
- "displayName": "Interface",
- "name": "Interface",
- "schema": {
- "@id": "urn:storeAnalyticsCheckoutPnp:Interface:1",
- "@type": [
- "Interface"
- ],
- "displayName": "Interface",
- "contents": [
- {
- "@id": "urn:storeAnalyticsCheckoutPnp:Interface:Temperature:1",
- "@type": [
- "Telemetry",
- "SemanticType/Temperature"
- ],
- "displayName": "Temperature",
- "name": "Temperature",
- "schema": "double",
- "unit": "Units/Temperature/celsius"
- },
- {
- "@id": "urn:storeAnalyticsCheckoutPnp:Interface:Humidity:1",
- "@type": [
- "Telemetry",
- "SemanticType/Humidity"
- ],
- "displayName": "Humidity",
- "name": "Humidity",
- "schema": "double",
- "unit": "Units/Humidity/percent"
- },
- {
- "@id": "urn:storeAnalyticsCheckoutPnp:Interface:Occupancy:1",
- "@type": [
- "Telemetry"
- ],
- "displayName": "Occupancy",
- "name": "Occupancy",
- "schema": "double"
- }
- ]
- }
- }
- ],
- "displayName": "Motion detector",
- "contents": [],
- "@context": [
- "http://azureiot.com/v1/contexts/IoTModel.json"
- ]
- },
- "solutionModel": {
- "@id": "urn:1dsfbt7i:modelDefinition:zadjfmgvh",
- "@type": [
- "SolutionModel"
- ],
- "cloudProperties": [
- {
- "@id": "urn:1dsfbt7i:modelDefinition:AssetId",
+ "displayName": "Temperature",
+ "name": "Temperature",
+ "schema": "double",
+ "unit": "Units/Temperature/celsius"
+ },
+ {
+ "@id": "urn:storeAnalyticsCheckoutPnp:Interface:Humidity:1",
"@type": [
- "CloudProperty"
+ "Telemetry",
+ "SemanticType/Humidity"
],
- "displayName": "Asset Id",
- "name": "AssetId",
- "schema": "string",
- "valueDetail": {
- "@id": "urn:1dsfbt7i:modelDefinition:AssetId:valueDetail",
- "@type": [
- "ValueDetail/StringValueDetail"
- ]
- }
- }
- ],
- "initialValues": [],
- "overrides": [
- {
- "@id": "urn:1dsfbt7i:modelDefinition:1qehkys5",
+ "displayName": "Humidity",
+ "name": "Humidity",
+ "schema": "double",
+ "unit": "Units/Humidity/percent"
+ },
+ {
+ "@id": "urn:storeAnalyticsCheckoutPnp:Interface:Occupancy:1",
"@type": [
- "Override"
+ "Telemetry"
],
- "capability": {
- "@id": "urn:1dsfbt7i:modelDefinition:1qehkys5:6wq2v5i7j",
- "@type": [
- "CapabilityReference"
- ],
- "component": "urn:storeAnalyticsCheckoutPnp:capabilityModel:fyy5xn_y:1",
- "reference": "urn:storeAnalyticsCheckoutPnp:Interface:Occupancy:1"
- },
- "valueDetail": {
- "@id": "urn:1dsfbt7i:modelDefinition:1qehkys5:_covclwk_",
- "@type": [
- "ValueDetail/NumberValueDetail"
- ],
- "maxValue": {
- "@value": "50"
- },
- "minValue": {
- "@value": "0"
- }
- }
+ "displayName": "Occupancy",
+ "name": "Occupancy",
+ "schema": "double"
+ }
+ ]
+ }
+ }
+ ],
+ "displayName": "Motion detector",
+ "contents": [],
+ "@context": [
+ "http://azureiot.com/v1/contexts/IoTModel.json"
+ ]
+ },
+ "solutionModel": {
+ "@id": "urn:1dsfbt7i:modelDefinition:zadjfmgvh",
+ "@type": [
+ "SolutionModel"
+ ],
+ "cloudProperties": [
+ {
+ "@id": "urn:1dsfbt7i:modelDefinition:AssetId",
+ "@type": [
+ "CloudProperty"
+ ],
+ "displayName": "Asset Id",
+ "name": "AssetId",
+ "schema": "string",
+ "valueDetail": {
+ "@id": "urn:1dsfbt7i:modelDefinition:AssetId:valueDetail",
+ "@type": [
+ "ValueDetail/StringValueDetail"
+ ]
+ }
+ }
+ ],
+ "initialValues": [],
+ "overrides": [
+ {
+ "@id": "urn:1dsfbt7i:modelDefinition:1qehkys5",
+ "@type": [
+ "Override"
+ ],
+ "capability": {
+ "@id": "urn:1dsfbt7i:modelDefinition:1qehkys5:6wq2v5i7j",
+ "@type": [
+ "CapabilityReference"
+ ],
+ "component": "urn:storeAnalyticsCheckoutPnp:capabilityModel:fyy5xn_y:1",
+ "reference": "urn:storeAnalyticsCheckoutPnp:Interface:Occupancy:1"
+ },
+ "valueDetail": {
+ "@id": "urn:1dsfbt7i:modelDefinition:1qehkys5:_covclwk_",
+ "@type": [
+ "ValueDetail/NumberValueDetail"
+ ],
+ "maxValue": {
+ "@value": "50"
+ },
+ "minValue": {
+ "@value": "0"
}
- ]
+ }
+ }
+ ]
}
- }
+ }
}
}
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_delete.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_delete.json
index ba18b554cd58..b5292bba5cc2 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_delete.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_delete.json
@@ -1,12 +1,12 @@
{
- "title": "Delete a device template by Id",
- "description": "Delete a published device template that has no devices currently associated to it. This operation does not operate on device templates in draft state.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "device_template_id": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os"
- },
- "responses": {
- "204": {}
- }
+ "title": "Delete a device template by Id",
+ "description": "Delete a published device template that has no devices currently associated to it. This operation does not operate on device templates in draft state.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_template_id": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os"
+ },
+ "responses": {
+ "204": {}
+ }
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_get.json
index ec1b186c2c33..71fc57c274dd 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_get.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_get.json
@@ -1,177 +1,177 @@
{
- "title": "Get a device template by Id",
- "description": "Get a published device template by Id. This operation does not return device templates in draft state.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "device_template_id": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os"
- },
- "responses": {
- "200": {
- "body": {
- "id": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
- "types": [
- "DeviceModel"
- ],
- "displayName": "RS40 Occupancy Sensor",
- "capabilityModel": {
- "@id": "urn:rigado:RS40_Occupancy_Sensor:1",
+ "title": "Get a device template by Id",
+ "description": "Get a published device template by Id. This operation does not return device templates in draft state.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_template_id": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
+ "types": [
+ "DeviceModel"
+ ],
+ "displayName": "RS40 Occupancy Sensor",
+ "capabilityModel": {
+ "@id": "urn:rigado:RS40_Occupancy_Sensor:1",
+ "@type": [
+ "CapabilityModel"
+ ],
+ "implements": [
+ {
+ "@id": "urn:rigado:RS40_Occupancy_Sensor:Device_information_RS40_Occupancy_Sensor:1",
+ "@type": [
+ "InterfaceInstance"
+ ],
+ "name": "Device_information_RS40_Occupancy_Sensor",
+ "schema": {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:1",
"@type": [
- "CapabilityModel"
+ "Interface"
],
- "implements": [
- {
- "@id": "urn:rigado:RS40_Occupancy_Sensor:Device_information_RS40_Occupancy_Sensor:1",
- "@type": [
- "InterfaceInstance"
- ],
- "name": "Device_information_RS40_Occupancy_Sensor",
- "schema": {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:1",
- "@type": [
- "Interface"
- ],
- "displayName": "Device Information",
- "contents": [
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:manufacturer:1",
- "@type": [
- "Property"
- ],
- "description": "Company name of the device manufacturer. This could be the same as the name of the original equipment manufacturer (OEM). Ex. Contoso.",
- "displayName": "Manufacturer",
- "name": "manufacturer",
- "schema": "string"
- },
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:model:1",
- "@type": [
- "Property"
- ],
- "description": "Device model name or ID. Ex. Surface Book 2.",
- "displayName": "Device model",
- "name": "model",
- "schema": "string"
- },
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:swVersion:1",
- "@type": [
- "Property"
- ],
- "description": "Version of the software on your device. This could be the version of your firmware. Ex. 1.3.45",
- "displayName": "Software version",
- "name": "swVersion",
- "schema": "string"
- },
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:osName:1",
- "@type": [
- "Property"
- ],
- "description": "Name of the operating system on the device. Ex. Windows 10 IoT Core.",
- "displayName": "Operating system name",
- "name": "osName",
- "schema": "string"
- },
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:processorArchitecture:1",
- "@type": [
- "Property"
- ],
- "description": "Architecture of the processor on the device. Ex. x64 or ARM.",
- "displayName": "Processor architecture",
- "name": "processorArchitecture",
- "schema": "string"
- },
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:processorManufacturer:1",
- "@type": [
- "Property"
- ],
- "description": "Name of the manufacturer of the processor on the device. Ex. Intel.",
- "displayName": "Processor manufacturer",
- "name": "processorManufacturer",
- "schema": "string"
- },
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:totalStorage:1",
- "@type": [
- "Property"
- ],
- "description": "Total available storage on the device in kilobytes. Ex. 2048000 kilobytes.",
- "displayName": "Total storage",
- "name": "totalStorage",
- "displayUnit": "kilobytes",
- "schema": "long"
- },
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:totalMemory:1",
- "@type": [
- "Property"
- ],
- "description": "Total available memory on the device in kilobytes. Ex. 256000 kilobytes.",
- "displayName": "Total memory",
- "name": "totalMemory",
- "displayUnit": "kilobytes",
- "schema": "long"
- }
- ]
- }
- },
- {
- "@id": "urn:rigado:RS40_Occupancy_Sensor:RS40_Occupancy_Sensor:1",
- "@type": [
- "InterfaceInstance"
- ],
- "name": "RS40_Occupancy_Sensor",
- "schema": {
- "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:1",
- "@type": [
- "Interface"
- ],
- "displayName": "Interface",
- "contents": [
- {
- "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:count:1",
- "@type": [
- "Telemetry"
- ],
- "comment": "",
- "description": "Count of motion events seen in the previous interval",
- "displayName": "count",
- "name": "count",
- "schema": "integer"
- },
- {
- "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:state:1",
- "@type": [
- "Telemetry"
- ],
- "description": "Occupancy State",
- "displayName": "state",
- "name": "state",
- "schema": "boolean"
- }
- ]
- }
- }
- ],
- "displayName": "RS40 Occupancy Sensor",
- "contents": [],
- "@context": [
- "http://azureiot.com/v1/contexts/IoTModel.json"
+ "displayName": "Device Information",
+ "contents": [
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:manufacturer:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Company name of the device manufacturer. This could be the same as the name of the original equipment manufacturer (OEM). Ex. Contoso.",
+ "displayName": "Manufacturer",
+ "name": "manufacturer",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:model:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Device model name or ID. Ex. Surface Book 2.",
+ "displayName": "Device model",
+ "name": "model",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:swVersion:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Version of the software on your device. This could be the version of your firmware. Ex. 1.3.45",
+ "displayName": "Software version",
+ "name": "swVersion",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:osName:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Name of the operating system on the device. Ex. Windows 10 IoT Core.",
+ "displayName": "Operating system name",
+ "name": "osName",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:processorArchitecture:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Architecture of the processor on the device. Ex. x64 or ARM.",
+ "displayName": "Processor architecture",
+ "name": "processorArchitecture",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:processorManufacturer:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Name of the manufacturer of the processor on the device. Ex. Intel.",
+ "displayName": "Processor manufacturer",
+ "name": "processorManufacturer",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:totalStorage:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Total available storage on the device in kilobytes. Ex. 2048000 kilobytes.",
+ "displayName": "Total storage",
+ "name": "totalStorage",
+ "displayUnit": "kilobytes",
+ "schema": "long"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:totalMemory:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Total available memory on the device in kilobytes. Ex. 256000 kilobytes.",
+ "displayName": "Total memory",
+ "name": "totalMemory",
+ "displayUnit": "kilobytes",
+ "schema": "long"
+ }
]
+ }
},
- "solutionModel": {
- "@id": "urn:sbk9sd6sl:modelDefinition:rxyaituqzz",
+ {
+ "@id": "urn:rigado:RS40_Occupancy_Sensor:RS40_Occupancy_Sensor:1",
+ "@type": [
+ "InterfaceInstance"
+ ],
+ "name": "RS40_Occupancy_Sensor",
+ "schema": {
+ "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:1",
"@type": [
- "SolutionModel"
+ "Interface"
],
- "cloudProperties": [],
- "initialValues": [],
- "overrides": []
+ "displayName": "Interface",
+ "contents": [
+ {
+ "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:count:1",
+ "@type": [
+ "Telemetry"
+ ],
+ "comment": "",
+ "description": "Count of motion events seen in the previous interval",
+ "displayName": "count",
+ "name": "count",
+ "schema": "integer"
+ },
+ {
+ "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:state:1",
+ "@type": [
+ "Telemetry"
+ ],
+ "description": "Occupancy State",
+ "displayName": "state",
+ "name": "state",
+ "schema": "boolean"
+ }
+ ]
+ }
}
+ ],
+ "displayName": "RS40 Occupancy Sensor",
+ "contents": [],
+ "@context": [
+ "http://azureiot.com/v1/contexts/IoTModel.json"
+ ]
+ },
+ "solutionModel": {
+ "@id": "urn:sbk9sd6sl:modelDefinition:rxyaituqzz",
+ "@type": [
+ "SolutionModel"
+ ],
+ "cloudProperties": [],
+ "initialValues": [],
+ "overrides": []
}
}
}
}
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_get_merged.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_get_merged.json
index d88e63c5527d..bf54a3acbd8c 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_get_merged.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_get_merged.json
@@ -1,171 +1,171 @@
{
- "title": "Get a merged device template by Id",
- "description": "Get a single merged view of a device template by Id. The merged view of a device template contains the overrides and initial values from the solutionModel merged into the capabilityModel. This operation does not return device templates in draft state.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "device_template_id": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os"
- },
- "responses": {
- "200": {
- "body": {
- "id": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
- "etag": "\"1800bfd5-0000-0d00-0000-5d96df080000\"",
- "types": [
- "DeviceModel"
- ],
- "displayName": "RS40 Occupancy Sensor",
- "capabilityModel": {
- "@id": "urn:rigado:RS40_Occupancy_Sensor:1",
+ "title": "Get a merged device template by Id",
+ "description": "Get a single merged view of a device template by Id. The merged view of a device template contains the overrides and initial values from the solutionModel merged into the capabilityModel. This operation does not return device templates in draft state.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "device_template_id": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
+ "etag": "\"1800bfd5-0000-0d00-0000-5d96df080000\"",
+ "types": [
+ "DeviceModel"
+ ],
+ "displayName": "RS40 Occupancy Sensor",
+ "capabilityModel": {
+ "@id": "urn:rigado:RS40_Occupancy_Sensor:1",
+ "@type": [
+ "CapabilityModel"
+ ],
+ "implements": [
+ {
+ "@id": "urn:rigado:RS40_Occupancy_Sensor:Device_information_RS40_Occupancy_Sensor:1",
+ "@type": [
+ "InterfaceInstance"
+ ],
+ "name": "Device_information_RS40_Occupancy_Sensor",
+ "schema": {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:1",
"@type": [
- "CapabilityModel"
+ "Interface"
],
- "implements": [
- {
- "@id": "urn:rigado:RS40_Occupancy_Sensor:Device_information_RS40_Occupancy_Sensor:1",
- "@type": [
- "InterfaceInstance"
- ],
- "name": "Device_information_RS40_Occupancy_Sensor",
- "schema": {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:1",
- "@type": [
- "Interface"
- ],
- "displayName": "Device Information",
- "contents": [
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:manufacturer:1",
- "@type": [
- "Property"
- ],
- "description": "Company name of the device manufacturer. This could be the same as the name of the original equipment manufacturer (OEM). Ex. Contoso.",
- "displayName": "Manufacturer",
- "name": "manufacturer",
- "schema": "string"
- },
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:model:1",
- "@type": [
- "Property"
- ],
- "description": "Device model name or ID. Ex. Surface Book 2.",
- "displayName": "Device model",
- "name": "model",
- "schema": "string"
- },
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:swVersion:1",
- "@type": [
- "Property"
- ],
- "description": "Version of the software on your device. This could be the version of your firmware. Ex. 1.3.45",
- "displayName": "Software version",
- "name": "swVersion",
- "schema": "string"
- },
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:osName:1",
- "@type": [
- "Property"
- ],
- "description": "Name of the operating system on the device. Ex. Windows 10 IoT Core.",
- "displayName": "Operating system name",
- "name": "osName",
- "schema": "string"
- },
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:processorArchitecture:1",
- "@type": [
- "Property"
- ],
- "description": "Architecture of the processor on the device. Ex. x64 or ARM.",
- "displayName": "Processor architecture",
- "name": "processorArchitecture",
- "schema": "string"
- },
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:processorManufacturer:1",
- "@type": [
- "Property"
- ],
- "description": "Name of the manufacturer of the processor on the device. Ex. Intel.",
- "displayName": "Processor manufacturer",
- "name": "processorManufacturer",
- "schema": "string"
- },
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:totalStorage:1",
- "@type": [
- "Property"
- ],
- "description": "Total available storage on the device in kilobytes. Ex. 2048000 kilobytes.",
- "displayName": "Total storage",
- "name": "totalStorage",
- "displayUnit": "kilobytes",
- "schema": "long"
- },
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:totalMemory:1",
- "@type": [
- "Property"
- ],
- "description": "Total available memory on the device in kilobytes. Ex. 256000 kilobytes.",
- "displayName": "Total memory",
- "name": "totalMemory",
- "displayUnit": "kilobytes",
- "schema": "long"
- }
- ]
- }
- },
- {
- "@id": "urn:rigado:RS40_Occupancy_Sensor:RS40_Occupancy_Sensor:1",
- "@type": [
- "InterfaceInstance"
- ],
- "name": "RS40_Occupancy_Sensor",
- "schema": {
- "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:1",
- "@type": [
- "Interface"
- ],
- "displayName": "Interface",
- "contents": [
- {
- "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:count:1",
- "@type": [
- "Telemetry"
- ],
- "comment": "",
- "description": "Count of motion events seen in the previous interval",
- "displayName": "count",
- "name": "count",
- "schema": "integer"
- },
- {
- "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:state:1",
- "@type": [
- "Telemetry"
- ],
- "description": "Occupancy State",
- "displayName": "state",
- "name": "state",
- "schema": "boolean"
- }
- ]
- }
- }
- ],
- "displayName": "RS40 Occupancy Sensor"
+ "displayName": "Device Information",
+ "contents": [
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:manufacturer:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Company name of the device manufacturer. This could be the same as the name of the original equipment manufacturer (OEM). Ex. Contoso.",
+ "displayName": "Manufacturer",
+ "name": "manufacturer",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:model:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Device model name or ID. Ex. Surface Book 2.",
+ "displayName": "Device model",
+ "name": "model",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:swVersion:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Version of the software on your device. This could be the version of your firmware. Ex. 1.3.45",
+ "displayName": "Software version",
+ "name": "swVersion",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:osName:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Name of the operating system on the device. Ex. Windows 10 IoT Core.",
+ "displayName": "Operating system name",
+ "name": "osName",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:processorArchitecture:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Architecture of the processor on the device. Ex. x64 or ARM.",
+ "displayName": "Processor architecture",
+ "name": "processorArchitecture",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:processorManufacturer:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Name of the manufacturer of the processor on the device. Ex. Intel.",
+ "displayName": "Processor manufacturer",
+ "name": "processorManufacturer",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:totalStorage:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Total available storage on the device in kilobytes. Ex. 2048000 kilobytes.",
+ "displayName": "Total storage",
+ "name": "totalStorage",
+ "displayUnit": "kilobytes",
+ "schema": "long"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:totalMemory:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Total available memory on the device in kilobytes. Ex. 256000 kilobytes.",
+ "displayName": "Total memory",
+ "name": "totalMemory",
+ "displayUnit": "kilobytes",
+ "schema": "long"
+ }
+ ]
+ }
},
- "solutionModel": {
- "@id": "urn:sbk9sd6sl:modelDefinition:rxyaituqzz",
+ {
+ "@id": "urn:rigado:RS40_Occupancy_Sensor:RS40_Occupancy_Sensor:1",
+ "@type": [
+ "InterfaceInstance"
+ ],
+ "name": "RS40_Occupancy_Sensor",
+ "schema": {
+ "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:1",
"@type": [
- "SolutionModel"
+ "Interface"
+ ],
+ "displayName": "Interface",
+ "contents": [
+ {
+ "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:count:1",
+ "@type": [
+ "Telemetry"
+ ],
+ "comment": "",
+ "description": "Count of motion events seen in the previous interval",
+ "displayName": "count",
+ "name": "count",
+ "schema": "integer"
+ },
+ {
+ "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:state:1",
+ "@type": [
+ "Telemetry"
+ ],
+ "description": "Occupancy State",
+ "displayName": "state",
+ "name": "state",
+ "schema": "boolean"
+ }
]
+ }
}
+ ],
+ "displayName": "RS40 Occupancy Sensor"
+ },
+ "solutionModel": {
+ "@id": "urn:sbk9sd6sl:modelDefinition:rxyaituqzz",
+ "@type": [
+ "SolutionModel"
+ ]
}
}
}
}
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_list.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_list.json
index e4763760ca1e..d46b90aeb0f0 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_list.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/devicetemplates_list.json
@@ -1,180 +1,180 @@
{
- "title": "List device templates",
- "description": "List device templates that are currently published in the application. This operation does not return device templates in draft state.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
+ "title": "List device templates",
+ "description": "List device templates that are currently published in the application. This operation does not return device templates in draft state.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
+ "types": [
+ "DeviceModel"
+ ],
+ "displayName": "RS40 Occupancy Sensor",
+ "capabilityModel": {
+ "@id": "urn:rigado:RS40_Occupancy_Sensor:1",
+ "@type": [
+ "CapabilityModel"
+ ],
+ "implements": [
{
- "id": "urn:sbk9sd6sl:modelDefinition:u3b_fwd7os",
- "types": [
- "DeviceModel"
+ "@id": "urn:rigado:RS40_Occupancy_Sensor:Device_information_RS40_Occupancy_Sensor:1",
+ "@type": [
+ "InterfaceInstance"
+ ],
+ "name": "Device_information_RS40_Occupancy_Sensor",
+ "schema": {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:1",
+ "@type": [
+ "Interface"
],
- "displayName": "RS40 Occupancy Sensor",
- "capabilityModel": {
- "@id": "urn:rigado:RS40_Occupancy_Sensor:1",
+ "displayName": "Device Information",
+ "contents": [
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:manufacturer:1",
"@type": [
- "CapabilityModel"
+ "Property"
],
- "implements": [
- {
- "@id": "urn:rigado:RS40_Occupancy_Sensor:Device_information_RS40_Occupancy_Sensor:1",
- "@type": [
- "InterfaceInstance"
- ],
- "name": "Device_information_RS40_Occupancy_Sensor",
- "schema": {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:1",
- "@type": [
- "Interface"
- ],
- "displayName": "Device Information",
- "contents": [
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:manufacturer:1",
- "@type": [
- "Property"
- ],
- "description": "Company name of the device manufacturer. This could be the same as the name of the original equipment manufacturer (OEM). Ex. Contoso.",
- "displayName": "Manufacturer",
- "name": "manufacturer",
- "schema": "string"
- },
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:model:1",
- "@type": [
- "Property"
- ],
- "description": "Device model name or ID. Ex. Surface Book 2.",
- "displayName": "Device model",
- "name": "model",
- "schema": "string"
- },
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:swVersion:1",
- "@type": [
- "Property"
- ],
- "description": "Version of the software on your device. This could be the version of your firmware. Ex. 1.3.45",
- "displayName": "Software version",
- "name": "swVersion",
- "schema": "string"
- },
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:osName:1",
- "@type": [
- "Property"
- ],
- "description": "Name of the operating system on the device. Ex. Windows 10 IoT Core.",
- "displayName": "Operating system name",
- "name": "osName",
- "schema": "string"
- },
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:processorArchitecture:1",
- "@type": [
- "Property"
- ],
- "description": "Architecture of the processor on the device. Ex. x64 or ARM.",
- "displayName": "Processor architecture",
- "name": "processorArchitecture",
- "schema": "string"
- },
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:processorManufacturer:1",
- "@type": [
- "Property"
- ],
- "description": "Name of the manufacturer of the processor on the device. Ex. Intel.",
- "displayName": "Processor manufacturer",
- "name": "processorManufacturer",
- "schema": "string"
- },
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:totalStorage:1",
- "@type": [
- "Property"
- ],
- "description": "Total available storage on the device in kilobytes. Ex. 2048000 kilobytes.",
- "displayName": "Total storage",
- "name": "totalStorage",
- "displayUnit": "kilobytes",
- "schema": "long"
- },
- {
- "@id": "urn:azureiot:DeviceManagement:DeviceInformation:totalMemory:1",
- "@type": [
- "Property"
- ],
- "description": "Total available memory on the device in kilobytes. Ex. 256000 kilobytes.",
- "displayName": "Total memory",
- "name": "totalMemory",
- "displayUnit": "kilobytes",
- "schema": "long"
- }
- ]
- }
- },
- {
- "@id": "urn:rigado:RS40_Occupancy_Sensor:RS40_Occupancy_Sensor:1",
- "@type": [
- "InterfaceInstance"
- ],
- "name": "RS40_Occupancy_Sensor",
- "schema": {
- "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:1",
- "@type": [
- "Interface"
- ],
- "displayName": "Interface",
- "contents": [
- {
- "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:count:1",
- "@type": [
- "Telemetry"
- ],
- "comment": "",
- "description": "Count of motion events seen in the previous interval",
- "displayName": "count",
- "name": "count",
- "schema": "integer"
- },
- {
- "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:state:1",
- "@type": [
- "Telemetry"
- ],
- "description": "Occupancy State",
- "displayName": "state",
- "name": "state",
- "schema": "boolean"
- }
- ]
- }
- }
+ "description": "Company name of the device manufacturer. This could be the same as the name of the original equipment manufacturer (OEM). Ex. Contoso.",
+ "displayName": "Manufacturer",
+ "name": "manufacturer",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:model:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Device model name or ID. Ex. Surface Book 2.",
+ "displayName": "Device model",
+ "name": "model",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:swVersion:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Version of the software on your device. This could be the version of your firmware. Ex. 1.3.45",
+ "displayName": "Software version",
+ "name": "swVersion",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:osName:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Name of the operating system on the device. Ex. Windows 10 IoT Core.",
+ "displayName": "Operating system name",
+ "name": "osName",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:processorArchitecture:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Architecture of the processor on the device. Ex. x64 or ARM.",
+ "displayName": "Processor architecture",
+ "name": "processorArchitecture",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:processorManufacturer:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Name of the manufacturer of the processor on the device. Ex. Intel.",
+ "displayName": "Processor manufacturer",
+ "name": "processorManufacturer",
+ "schema": "string"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:totalStorage:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Total available storage on the device in kilobytes. Ex. 2048000 kilobytes.",
+ "displayName": "Total storage",
+ "name": "totalStorage",
+ "displayUnit": "kilobytes",
+ "schema": "long"
+ },
+ {
+ "@id": "urn:azureiot:DeviceManagement:DeviceInformation:totalMemory:1",
+ "@type": [
+ "Property"
+ ],
+ "description": "Total available memory on the device in kilobytes. Ex. 256000 kilobytes.",
+ "displayName": "Total memory",
+ "name": "totalMemory",
+ "displayUnit": "kilobytes",
+ "schema": "long"
+ }
+ ]
+ }
+ },
+ {
+ "@id": "urn:rigado:RS40_Occupancy_Sensor:RS40_Occupancy_Sensor:1",
+ "@type": [
+ "InterfaceInstance"
+ ],
+ "name": "RS40_Occupancy_Sensor",
+ "schema": {
+ "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:1",
+ "@type": [
+ "Interface"
+ ],
+ "displayName": "Interface",
+ "contents": [
+ {
+ "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:count:1",
+ "@type": [
+ "Telemetry"
],
- "displayName": "RS40 Occupancy Sensor",
- "contents": [],
- "@context": [
- "http://azureiot.com/v1/contexts/IoTModel.json"
- ]
- },
- "solutionModel": {
- "@id": "urn:sbk9sd6sl:modelDefinition:rxyaituqzz",
+ "comment": "",
+ "description": "Count of motion events seen in the previous interval",
+ "displayName": "count",
+ "name": "count",
+ "schema": "integer"
+ },
+ {
+ "@id": "urn:rigado:interfaces:RS40_Occupancy_Sensor:state:1",
"@type": [
- "SolutionModel"
+ "Telemetry"
],
- "cloudProperties": [],
- "initialValues": [],
- "overrides": []
- }
+ "description": "Occupancy State",
+ "displayName": "state",
+ "name": "state",
+ "schema": "boolean"
+ }
+ ]
+ }
}
- ]
- }
+ ],
+ "displayName": "RS40 Occupancy Sensor",
+ "contents": [],
+ "@context": [
+ "http://azureiot.com/v1/contexts/IoTModel.json"
+ ]
+ },
+ "solutionModel": {
+ "@id": "urn:sbk9sd6sl:modelDefinition:rxyaituqzz",
+ "@type": [
+ "SolutionModel"
+ ],
+ "cloudProperties": [],
+ "initialValues": [],
+ "overrides": []
+ }
+ }
+ ]
}
}
}
+}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/roles_get.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/roles_get.json
index d3f68826e146..ab1730306d2f 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/roles_get.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/roles_get.json
@@ -1,17 +1,17 @@
{
- "title": "Get role by Id",
- "description": "Get a role by Id.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain",
- "role_id":"ca310b8d-2f4a-44e0-a36e-957c202cd8d4"
- },
- "responses": {
- "200": {
- "body":{
+ "title": "Get role by Id",
+ "description": "Get a role by Id.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain",
+ "role_id": "ca310b8d-2f4a-44e0-a36e-957c202cd8d4"
+ },
+ "responses": {
+ "200": {
+ "body": {
"id": "ca310b8d-2f4a-44e0-a36e-957c202cd8d4",
"displayName": "Administrator"
- }
}
+ }
}
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/roles_list.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/roles_list.json
index 4a3c1471cf2a..720e1720eeab 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/roles_list.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/examples/roles_list.json
@@ -1,28 +1,28 @@
{
- "title": "List roles",
- "description": "List roles in your application.",
- "parameters": {
- "centralDnsSuffixInPath": "azureiotcentral.com",
- "subdomain": "appsubdomain"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "ca310b8d-2f4a-44e0-a36e-957c202cd8d4",
- "displayName": "Administrator"
- },
- {
- "id": "344138e9-8de4-4497-8c54-5237e96d6aaf",
- "displayName": "Builder"
- },
- {
- "id": "ae2c9854-393b-4f97-8c42-479d70ce626e",
- "displayName": "Operator"
- }
- ]
- }
+ "title": "List roles",
+ "description": "List roles in your application.",
+ "parameters": {
+ "centralDnsSuffixInPath": "azureiotcentral.com",
+ "subdomain": "appsubdomain"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "ca310b8d-2f4a-44e0-a36e-957c202cd8d4",
+ "displayName": "Administrator"
+ },
+ {
+ "id": "344138e9-8de4-4497-8c54-5237e96d6aaf",
+ "displayName": "Builder"
+ },
+ {
+ "id": "ae2c9854-393b-4f97-8c42-479d70ce626e",
+ "displayName": "Operator"
+ }
+ ]
}
+ }
}
}
diff --git a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/iotcentralapps.json b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/iotcentralapps.json
index 9c75c69e2873..b96efc68645e 100644
--- a/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/iotcentralapps.json
+++ b/specification/iotcentral/data-plane/Microsoft.IoTCentral/preview/2019-10-28-preview/iotcentralapps.json
@@ -1,137 +1,135 @@
{
"swagger": "2.0",
"info": {
- "version": "1.0.0",
- "title": "Azure IoT Central",
- "description": "Azure IoT Central is a service that makes it easy to connect, monitor, and manage your IoT devices at scale."
+ "version": "1.0.0",
+ "title": "Azure IoT Central",
+ "description": "Azure IoT Central is a service that makes it easy to connect, monitor, and manage your IoT devices at scale."
},
"host": "apps.azureiotcentral.com",
"basePath": "/api/preview",
"schemes": [
- "https"
+ "https"
],
"consumes": [
- "application/json"
+ "application/json"
],
"produces": [
- "application/json"
+ "application/json"
],
"definitions": {
- "Application": {
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique ID of the application.",
- "type": "string",
- "readOnly": true
- },
- "displayName": {
- "description": "Display name of the application.",
- "type": "string"
- },
- "subdomain": {
- "description": "The URL subdomain of the application.",
- "type": "string"
- },
- "host": {
- "description": "The URL host of the application.",
- "type": "string"
- }
- },
- "required": [
- "subdomain",
- "host"
- ]
+ "Application": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique ID of the application.",
+ "type": "string",
+ "readOnly": true
+ },
+ "displayName": {
+ "description": "Display name of the application.",
+ "type": "string"
+ },
+ "subdomain": {
+ "description": "The URL subdomain of the application.",
+ "type": "string"
+ },
+ "host": {
+ "description": "The URL host of the application.",
+ "type": "string"
+ }
},
- "ApplicationCollection": {
- "type": "object",
- "properties": {
- "value": {
- "description": "The collection of applications.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Application"
- }
- }
- },
- "required": [
- "value"
- ]
- }
+ "required": [
+ "subdomain",
+ "host"
+ ]
+ },
+ "ApplicationCollection": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The collection of applications.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Application"
+ }
+ }
+ },
+ "required": [
+ "value"
+ ]
+ }
},
"paths": {
- "/applications": {
- "get": {
- "operationId": "Applications_List",
- "summary": "Get the list of applications accessible to the signed-in user",
-
- "responses": {
- "200": {
- "description": "Success",
- "schema": {
- "$ref": "#/definitions/ApplicationCollection"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "x-ms-examples": {
- "List applications": {
- "$ref": "./examples/application_list.json"
- }
- }
+ "/applications": {
+ "get": {
+ "operationId": "Applications_List",
+ "summary": "Get the list of applications accessible to the signed-in user",
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ApplicationCollection"
+ }
}
- },
- "/applications/{application_id}": {
- "get": {
- "operationId": "Applications_Get",
- "summary": "Get an application by ID",
- "parameters": [
- {
- "in": "path",
- "name": "application_id",
- "description": "Unique ID of the application.",
- "type": "string",
- "required": true
- }
- ],
- "responses": {
- "200": {
- "description": "Success",
- "schema": {
- "$ref": "#/definitions/Application"
- }
- }
- },
- "x-ms-examples": {
- "Get application": {
- "$ref": "./examples/application_get.json"
- }
- }
-
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "x-ms-examples": {
+ "List applications": {
+ "$ref": "./examples/application_list.json"
+ }
+ }
+ }
+ },
+ "/applications/{application_id}": {
+ "get": {
+ "operationId": "Applications_Get",
+ "summary": "Get an application by ID",
+ "parameters": [
+ {
+ "in": "path",
+ "name": "application_id",
+ "description": "Unique ID of the application.",
+ "type": "string",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Application"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get application": {
+ "$ref": "./examples/application_get.json"
}
+ }
}
+ }
},
"parameters": {
- "Subdomain": {
- "in": "path",
- "name": "subdomain",
- "description": "Application subdomain.",
- "x-ms-parameter-location": "client",
- "type": "string",
- "required": true
- }
+ "Subdomain": {
+ "in": "path",
+ "name": "subdomain",
+ "description": "Application subdomain.",
+ "x-ms-parameter-location": "client",
+ "type": "string",
+ "required": true
+ }
},
"securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
}
+ }
}
}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetMarketplaceRegistrationDefinition.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetMarketplaceRegistrationDefinition.json
index 422c0d0b3f5f..a8d48818f2a0 100644
--- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetMarketplaceRegistrationDefinition.json
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetMarketplaceRegistrationDefinition.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsCreate.json
index 71fbe1881992..f80dac4b540a 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsCreate.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsCreate.json
@@ -1,67 +1,67 @@
{
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "myResourceGroup",
+ "ipGroupsName": "ipGroups1",
"parameters": {
- "api-version": "2019-09-01",
- "subscriptionId": "subId",
- "resourceGroupName": "myResourceGroup",
- "ipGroupsName": "ipGroups1",
- "parameters": {
- "tags": {
- "key1": "value1"
- },
- "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "location": "West US",
+ "properties": {
+ "ipAddresses": [
+ "13.64.39.16/32",
+ "40.74.146.80/31",
+ "40.74.147.32/28"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "ipGroups1",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1",
+ "type": "Microsoft.Network/ipGroups",
+ "location": "westcentralus",
"properties": {
+ "provisioningState": "Succeeded",
"ipAddresses": [
"13.64.39.16/32",
"40.74.146.80/31",
"40.74.147.32/28"
+ ],
+ "firewalls": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
+ }
]
- }
+ },
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
}
},
- "responses": {
- "200": {
- "body": {
- "name": "ipGroups1",
- "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1",
- "type": "Microsoft.Network/ipGroups",
- "location": "westcentralus",
- "properties": {
- "provisioningState": "Succeeded",
- "ipAddresses": [
- "13.64.39.16/32",
- "40.74.146.80/31",
- "40.74.147.32/28"
- ],
- "firewalls": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
- }
- ]
- },
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
- }
- },
- "201": {
- "body": {
- "name": "ipGroups1",
- "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1",
- "type": "Microsoft.Network/ipGroups",
- "location": "westcentralus",
- "properties": {
- "provisioningState": "Succeeded",
- "ipAddresses": [
- "13.64.39.16/32",
- "40.74.146.80/31",
- "40.74.147.32/28"
- ],
- "firewalls": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
- }
- ]
- },
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
- }
+ "201": {
+ "body": {
+ "name": "ipGroups1",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1",
+ "type": "Microsoft.Network/ipGroups",
+ "location": "westcentralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddresses": [
+ "13.64.39.16/32",
+ "40.74.146.80/31",
+ "40.74.147.32/28"
+ ],
+ "firewalls": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
+ }
+ ]
+ },
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
}
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsDelete.json
index 27e2f1b75f9e..2a2ad8e27326 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsDelete.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsDelete.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "api-version": "2019-09-01",
- "subscriptionId": "subId",
- "resourceGroupName": "myResourceGroup",
- "ipGroupsName": "ipGroups1"
- },
- "responses": {
- "200": {},
- "202": {},
- "204": {}
- }
- }
\ No newline at end of file
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "myResourceGroup",
+ "ipGroupsName": "ipGroups1"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsGet.json
index f70ac4a60a08..daba5879653c 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsGet.json
@@ -1,32 +1,32 @@
{
- "parameters": {
- "api-version": "2019-09-01",
- "subscriptionId": "subId",
- "resourceGroupName": "myResourceGroup",
- "ipGroupsName": "ipGroups1"
- },
- "responses": {
- "200": {
- "body": {
- "name": "ipGroups1",
- "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1",
- "type": "Microsoft.Network/ipGroups",
- "location": "westcentralus",
- "properties": {
- "provisioningState": "Succeeded",
- "ipAddresses": [
- "13.64.39.16/32",
- "40.74.146.80/31",
- "40.74.147.32/28"
- ],
- "firewalls": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
- }
- ]
- },
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
- }
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "myResourceGroup",
+ "ipGroupsName": "ipGroups1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "ipGroups1",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1",
+ "type": "Microsoft.Network/ipGroups",
+ "location": "westcentralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddresses": [
+ "13.64.39.16/32",
+ "40.74.146.80/31",
+ "40.74.147.32/28"
+ ],
+ "firewalls": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
+ }
+ ]
+ },
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
}
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListByResourceGroup.json
index de7cf32e55d8..4c238250f053 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListByResourceGroup.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListByResourceGroup.json
@@ -1,55 +1,55 @@
{
- "parameters": {
- "api-version": "2019-09-01",
- "subscriptionId": "subId",
- "resourceGroupName": "myResourceGroup"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "ipGroups1",
- "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups",
- "type": "Microsoft.Network/ipGroups",
- "location": "westcentralus",
- "properties": {
- "provisioningState": "Succeeded",
- "ipAddresses": [
- "13.64.39.16/32",
- "40.74.146.80/31",
- "40.74.147.32/28"
- ],
- "firewalls": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
- }
- ]
- },
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "myResourceGroup"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "ipGroups1",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups",
+ "type": "Microsoft.Network/ipGroups",
+ "location": "westcentralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddresses": [
+ "13.64.39.16/32",
+ "40.74.146.80/31",
+ "40.74.147.32/28"
+ ],
+ "firewalls": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
+ }
+ ]
},
- {
- "name": "ipGroups2",
- "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups",
- "type": "Microsoft.Network/ipGroups",
- "location": "centralus",
- "properties": {
- "provisioningState": "Succeeded",
- "ipAddresses": [
- "14.64.39.16/32",
- "41.74.146.80/31",
- "42.74.147.32/28"
- ],
- "firewalls": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
- }
- ]
- },
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
- }
- ]
- }
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
+ },
+ {
+ "name": "ipGroups2",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups",
+ "type": "Microsoft.Network/ipGroups",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddresses": [
+ "14.64.39.16/32",
+ "41.74.146.80/31",
+ "42.74.147.32/28"
+ ],
+ "firewalls": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
+ }
+ ]
+ },
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
+ }
+ ]
}
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListBySubscription.json
index 879878cbf8ce..a777e8fb4730 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListBySubscription.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListBySubscription.json
@@ -1,54 +1,54 @@
{
- "parameters": {
- "api-version": "2019-09-01",
- "subscriptionId": "subId"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "iptag1",
- "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup1/ipGroups",
- "type": "Microsoft.Network/ipGroups",
- "location": "westcentralus",
- "properties": {
- "provisioningState": "Succeeded",
- "ipAddresses": [
- "13.64.39.16/32",
- "40.74.146.80/31",
- "40.74.147.32/28"
- ],
- "firewalls": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
- }
- ]
- },
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
+ "parameters": {
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "iptag1",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup1/ipGroups",
+ "type": "Microsoft.Network/ipGroups",
+ "location": "westcentralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddresses": [
+ "13.64.39.16/32",
+ "40.74.146.80/31",
+ "40.74.147.32/28"
+ ],
+ "firewalls": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
+ }
+ ]
},
- {
- "name": "iptag2",
- "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup2/ipGroups",
- "type": "Microsoft.Network/ipGroups",
- "location": "centralus",
- "properties": {
- "provisioningState": "Succeeded",
- "ipAddresses": [
- "14.64.39.16/32",
- "41.74.146.80/31",
- "42.74.147.32/28"
- ],
- "firewalls": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
- }
- ]
- },
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
- }
- ]
- }
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
+ },
+ {
+ "name": "iptag2",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup2/ipGroups",
+ "type": "Microsoft.Network/ipGroups",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddresses": [
+ "14.64.39.16/32",
+ "41.74.146.80/31",
+ "42.74.147.32/28"
+ ],
+ "firewalls": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
+ }
+ ]
+ },
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
+ }
+ ]
}
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsUpdateTags.json
index 41b5d3b0c716..877535a29646 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsUpdateTags.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsUpdateTags.json
@@ -1,42 +1,42 @@
{
+ "parameters": {
+ "ipGroupsName": "ipGroups1",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-09-01",
+ "subscriptionId": "subId",
"parameters": {
- "ipGroupsName": "ipGroups1",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2019-09-01",
- "subscriptionId": "subId",
- "parameters": {
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "ipGroups1",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1",
+ "type": "Microsoft.Network/ipGroups",
+ "location": "westcentralus",
"tags": {
"key1": "value1",
"key2": "value2"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "name": "ipGroups1",
- "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1",
- "type": "Microsoft.Network/ipGroups",
- "location": "westcentralus",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "ipAddresses": [
- "13.64.39.16/32",
- "40.74.146.80/31",
- "40.74.147.32/28"
- ],
- "firewalls": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
- }
- ]
- },
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
- }
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddresses": [
+ "13.64.39.16/32",
+ "40.74.146.80/31",
+ "40.74.147.32/28"
+ ],
+ "firewalls": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
+ }
+ ]
+ },
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
}
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ipGroups.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ipGroups.json
index 4582d4143da3..0485e31ff3f6 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ipGroups.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ipGroups.json
@@ -419,4 +419,4 @@
"description": "The IpGroups property information."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/privateLinkService.json
index cd103296540d..37af797fd7d9 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/privateLinkService.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/privateLinkService.json
@@ -488,7 +488,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections" : {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections": {
"get": {
"tags": [
"PrivateLinkServices"
diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetCatalog.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetCatalog.json
index eef9cedf9faf..9964e3ffff69 100644
--- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetCatalog.json
+++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/examples/GetCatalog.json
@@ -174,4 +174,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json
index a85dbf13e255..9502311983bd 100644
--- a/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json
+++ b/specification/reservations/resource-manager/Microsoft.Capacity/preview/2019-04-01/reservations.json
@@ -1738,4 +1738,4 @@
"description": "Order Id of the reservation"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json
index 56a53796f73b..d15176061033 100644
--- a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json
+++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json
@@ -291,7 +291,7 @@
"200": {
"description": "OK -- Returns deployment script logs if available.",
"schema": {
- "$ref": "#/definitions/ScriptLogsList"
+ "$ref": "#/definitions/ScriptLogsList"
}
},
"default": {
@@ -405,7 +405,10 @@
},
"location": {
"type": "string",
- "x-ms-mutability": [ "read", "create" ],
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
"description": "The location of the ACI and the storage account for the deployment script."
},
"tags": {
diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Get.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Get.json
index 2229356c8221..ee19875a981b 100644
--- a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Get.json
+++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Get.json
@@ -39,4 +39,3 @@
}
}
}
-
diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogs.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogs.json
index 8d8367c9c069..1c0eb430228c 100644
--- a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogs.json
+++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogs.json
@@ -19,4 +19,3 @@
}
}
}
-
diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogsDefault.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogsDefault.json
index 86afac3c5038..a20746044a78 100644
--- a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogsDefault.json
+++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogsDefault.json
@@ -15,4 +15,3 @@
}
}
}
-
diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_ListBySubscription.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_ListBySubscription.json
index 7e78a294bba4..199c1ed77b31 100644
--- a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_ListBySubscription.json
+++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_ListBySubscription.json
@@ -13,8 +13,7 @@
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai":
- {}
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {}
}
},
"properties": {
diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Min_Create.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Min_Create.json
index dc4436f997b4..b411784c4591 100644
--- a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Min_Create.json
+++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Min_Create.json
@@ -21,7 +21,7 @@
}
}
},
- "responses": {
+ "responses": {
"201": {
"body": {
"kind": "AzurePowerShell",
diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Update.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Update.json
index bddfbbee0d83..c365156e2a9d 100644
--- a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Update.json
+++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Update.json
@@ -14,8 +14,7 @@
"properties": {
"provisioningState": "Succeeded",
"azPowerShellVersion": "1.7.0",
- "scriptContent":
- "Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name",
+ "scriptContent": "Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name",
"arguments": "-Location 'westus' -Name \"*rg2\"",
"supportingScriptUris": [
"https://uri1.to.supporting.script",
@@ -25,10 +24,8 @@
"timeout": "PT1H",
"cleanupPreference": "Always",
"status": {
- "containerInstanceId":
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ContainerInstance/containerGroups/scriptContainer",
- "storageAccountId":
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.Storage/storageAccounts/scriptStorage",
+ "containerInstanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ContainerInstance/containerGroups/scriptContainer",
+ "storageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.Storage/storageAccounts/scriptStorage",
"startTime": "2018-11-13T15:19:45-08:00",
"endTime": "2018-11-13T15:19:45-08:00",
"expirationTime": "2018-11-13T15:19:45-08:00"
@@ -42,8 +39,7 @@
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai":
- {}
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {}
}
},
"tags": {}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateIndex.json
index 899a46d7e3a8..15894c2058c1 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateIndex.json
@@ -114,13 +114,13 @@
"maxAgeInSeconds": 60
},
"encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": "myapplicationsecret"
- }
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": "myapplicationsecret"
+ }
}
}
},
@@ -350,13 +350,13 @@
"maxAgeInSeconds": 60
},
"encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": null
- }
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": null
+ }
}
}
}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndex.json
index 110718158428..c191c77862ad 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndex.json
@@ -117,10 +117,10 @@
"maxAgeInSeconds": 60
},
"encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
}
}
},
@@ -350,10 +350,10 @@
"maxAgeInSeconds": 60
},
"encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
}
}
},
@@ -582,10 +582,10 @@
"maxAgeInSeconds": 60
},
"encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
}
}
}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json
index e03c3c7a3a81..632a96dbd658 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json
@@ -1,48 +1,48 @@
{
"parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "synonymMapName": "mysynonymmap",
- "api-version": "2019-5-06-Preview",
- "Prefer": "return=representation",
- "synonymMap": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
- "encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
- }
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2019-5-06-Preview",
+ "Prefer": "return=representation",
+ "synonymMap": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
}
+ }
},
"responses": {
- "200": {
- "body": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
- "encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
- }
- }
- },
- "201": {
- "body": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
- "encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
- }
- }
+ "200": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
}
+ },
+ "201": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ }
+ }
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateSynonymMap.json
index 9f8c35581736..0601ecabfe30 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceCreateSynonymMap.json
@@ -1,39 +1,39 @@
{
"parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2019-05-06-Preview",
- "synonymMap": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
- "encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": "myApplicationSecret"
- }
- }
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06-Preview",
+ "synonymMap": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": "myApplicationSecret"
+ }
}
+ }
},
"responses": {
- "201": {
- "body": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
- "encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": null
- }
- }
+ "201": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": null
}
+ }
}
+ }
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetIndex.json
index b6eba6581225..48c162b176f4 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetIndex.json
@@ -231,13 +231,13 @@
"maxAgeInSeconds": 60
},
"encryptionKey": {
- "keyVaultKeyName": "myKeyName",
- "keyVaultKeyVersion": "myKeyVersion",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": null
- }
+ "keyVaultKeyName": "myKeyName",
+ "keyVaultKeyVersion": "myKeyVersion",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": null
+ }
}
}
}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetSynonymMap.json
index 44c620c21af7..9be531947c93 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceGetSynonymMap.json
@@ -1,26 +1,26 @@
{
"parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "synonymMapName": "mysynonymmap",
- "api-version": "2019-05-06-Preview"
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2019-05-06-Preview"
},
"responses": {
- "200": {
- "body": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
- "encryptionKey": {
- "keyVaultKeyName": "myKeyName",
- "keyVaultKeyVersion": "myKeyVersion",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": null
- }
- }
+ "200": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myKeyName",
+ "keyVaultKeyVersion": "myKeyVersion",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": null
}
+ }
}
+ }
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListIndexes.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListIndexes.json
index 40cad9454d59..ef7a5ec14ff1 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListIndexes.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListIndexes.json
@@ -233,10 +233,10 @@
"maxAgeInSeconds": 60
},
"encryptionKey": {
- "keyVaultKeyName": "myKeyName",
- "keyVaultKeyVersion": "myKeyVersion",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
+ "keyVaultKeyName": "myKeyName",
+ "keyVaultKeyVersion": "myKeyVersion",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
}
},
{
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListSynonymMaps.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListSynonymMaps.json
index 9fe7c633b7f1..3c7354360046 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListSynonymMaps.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2019-05-06-preview/examples/SearchServiceListSynonymMaps.json
@@ -1,32 +1,32 @@
{
"parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2019-05-06-Preview"
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06-Preview"
},
"responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
- "encryptionKey": {
- "keyVaultKeyName": "myKeyName",
- "keyVaultKeyVersion": "myKeyVersion",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
- }
- },
- {
- "name": "myothersynonymmap",
- "format": "solr",
- "synonyms": "couch, sofa, chesterfield\npop, soda\ntoque, hat",
- "encryptionKey": null
- }
- ]
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myKeyName",
+ "keyVaultKeyVersion": "myKeyVersion",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ },
+ {
+ "name": "myothersynonymmap",
+ "format": "solr",
+ "synonyms": "couch, sofa, chesterfield\npop, soda\ntoque, hat",
+ "encryptionKey": null
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateIndex.json
index 899a46d7e3a8..15894c2058c1 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateIndex.json
@@ -114,13 +114,13 @@
"maxAgeInSeconds": 60
},
"encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": "myapplicationsecret"
- }
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": "myapplicationsecret"
+ }
}
}
},
@@ -350,13 +350,13 @@
"maxAgeInSeconds": 60
},
"encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": null
- }
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": null
+ }
}
}
}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndex.json
index 110718158428..c191c77862ad 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateIndex.json
@@ -117,10 +117,10 @@
"maxAgeInSeconds": 60
},
"encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
}
}
},
@@ -350,10 +350,10 @@
"maxAgeInSeconds": 60
},
"encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
}
}
},
@@ -582,10 +582,10 @@
"maxAgeInSeconds": 60
},
"encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
}
}
}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json
index e03c3c7a3a81..632a96dbd658 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json
@@ -1,48 +1,48 @@
{
"parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "synonymMapName": "mysynonymmap",
- "api-version": "2019-5-06-Preview",
- "Prefer": "return=representation",
- "synonymMap": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
- "encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
- }
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2019-5-06-Preview",
+ "Prefer": "return=representation",
+ "synonymMap": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
}
+ }
},
"responses": {
- "200": {
- "body": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
- "encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
- }
- }
- },
- "201": {
- "body": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
- "encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
- }
- }
+ "200": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
}
+ },
+ "201": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ }
+ }
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateSynonymMap.json
index 9f8c35581736..0601ecabfe30 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceCreateSynonymMap.json
@@ -1,39 +1,39 @@
{
"parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2019-05-06-Preview",
- "synonymMap": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
- "encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": "myApplicationSecret"
- }
- }
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06-Preview",
+ "synonymMap": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": "myApplicationSecret"
+ }
}
+ }
},
"responses": {
- "201": {
- "body": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
- "encryptionKey": {
- "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
- "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": null
- }
- }
+ "201": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault",
+ "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": null
}
+ }
}
+ }
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetIndex.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetIndex.json
index b6eba6581225..48c162b176f4 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetIndex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetIndex.json
@@ -231,13 +231,13 @@
"maxAgeInSeconds": 60
},
"encryptionKey": {
- "keyVaultKeyName": "myKeyName",
- "keyVaultKeyVersion": "myKeyVersion",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": null
- }
+ "keyVaultKeyName": "myKeyName",
+ "keyVaultKeyVersion": "myKeyVersion",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": null
+ }
}
}
}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetSynonymMap.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetSynonymMap.json
index 44c620c21af7..9be531947c93 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetSynonymMap.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceGetSynonymMap.json
@@ -1,26 +1,26 @@
{
"parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "synonymMapName": "mysynonymmap",
- "api-version": "2019-05-06-Preview"
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "synonymMapName": "mysynonymmap",
+ "api-version": "2019-05-06-Preview"
},
"responses": {
- "200": {
- "body": {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
- "encryptionKey": {
- "keyVaultKeyName": "myKeyName",
- "keyVaultKeyVersion": "myKeyVersion",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": null
- }
- }
+ "200": {
+ "body": {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myKeyName",
+ "keyVaultKeyVersion": "myKeyVersion",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": {
+ "applicationId": "00000000-0000-0000-0000-000000000000",
+ "applicationSecret": null
}
+ }
}
+ }
}
-}
\ No newline at end of file
+}
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListIndexes.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListIndexes.json
index 40cad9454d59..ef7a5ec14ff1 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListIndexes.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListIndexes.json
@@ -233,10 +233,10 @@
"maxAgeInSeconds": 60
},
"encryptionKey": {
- "keyVaultKeyName": "myKeyName",
- "keyVaultKeyVersion": "myKeyVersion",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
+ "keyVaultKeyName": "myKeyName",
+ "keyVaultKeyVersion": "myKeyVersion",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
}
},
{
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListSynonymMaps.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListSynonymMaps.json
index 9fe7c633b7f1..3c7354360046 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListSynonymMaps.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/track1/preview/2019-05-06-preview/examples/SearchServiceListSynonymMaps.json
@@ -1,32 +1,32 @@
{
"parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "api-version": "2019-05-06-Preview"
+ "searchServiceName": "myservice",
+ "searchDnsSuffix": "search.windows.net",
+ "api-version": "2019-05-06-Preview"
},
"responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "mysynonymmap",
- "format": "solr",
- "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
- "encryptionKey": {
- "keyVaultKeyName": "myKeyName",
- "keyVaultKeyVersion": "myKeyVersion",
- "keyVaultUri": "https://myKeyVault.vault.azure.net",
- "accessCredentials": null
- }
- },
- {
- "name": "myothersynonymmap",
- "format": "solr",
- "synonyms": "couch, sofa, chesterfield\npop, soda\ntoque, hat",
- "encryptionKey": null
- }
- ]
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "mysynonymmap",
+ "format": "solr",
+ "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA",
+ "encryptionKey": {
+ "keyVaultKeyName": "myKeyName",
+ "keyVaultKeyVersion": "myKeyVersion",
+ "keyVaultUri": "https://myKeyVault.vault.azure.net",
+ "accessCredentials": null
+ }
+ },
+ {
+ "name": "myothersynonymmap",
+ "format": "solr",
+ "synonyms": "couch, sofa, chesterfield\npop, soda\ntoque, hat",
+ "encryptionKey": null
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-1.json
index 88c214abd88c..a969c12cd8a9 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-1.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-1.json
@@ -6,8 +6,8 @@
"api-version": "6.0",
"ServiceDescription": {
"ServiceKind": "Stateless",
- "ApplicationName": "fabric:\/test",
- "ServiceName": "fabric:\/test\/test1",
+ "ApplicationName": "fabric:/test",
+ "ServiceName": "fabric:/test/test1",
"ServiceTypeName": "StatelessFrontendService",
"PartitionDescription": {
"PartitionScheme": "Singleton"
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-2.json
index b909e6c58b05..bc7ada6bb8be 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-2.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-2.json
@@ -6,8 +6,8 @@
"api-version": "6.0",
"ServiceDescription": {
"ServiceKind": "Stateful",
- "ApplicationName": "fabric:\/test",
- "ServiceName": "fabric:\/test\/test2",
+ "ApplicationName": "fabric:/test",
+ "ServiceName": "fabric:/test/test2",
"ServiceTypeName": "StatefulBackendService",
"PartitionDescription": {
"PartitionScheme": "Singleton"
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-3.json
index 74461b9b5eef..1d12712e405e 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-3.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-3.json
@@ -6,8 +6,8 @@
"api-version": "6.0",
"ServiceDescription": {
"ServiceKind": "Stateless",
- "ApplicationName": "fabric:\/test",
- "ServiceName": "fabric:\/test\/test1",
+ "ApplicationName": "fabric:/test",
+ "ServiceName": "fabric:/test/test1",
"ServiceTypeName": "StatelessFrontendService",
"InitializationData": [],
"PartitionDescription": {
@@ -26,7 +26,7 @@
{
"ScalingTrigger": {
"Kind": "AveragePartitionLoad",
- "MetricName": "servicefabric:\/_CpuCores",
+ "MetricName": "servicefabric:/_CpuCores",
"LowerLoadThreshold": 0.300000,
"UpperLoadThreshold": 0.800000,
"ScaleIntervalInSeconds": 600
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-4.json
index a83ca1445d09..46f7beb2ade5 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-4.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/CreateService-4.json
@@ -6,8 +6,8 @@
"api-version": "6.0",
"ServiceDescription": {
"ServiceKind": "Stateful",
- "ApplicationName": "fabric:\/test",
- "ServiceName": "fabric:\/test\/test2",
+ "ApplicationName": "fabric:/test",
+ "ServiceName": "fabric:/test/test2",
"ServiceTypeName": "StatefulBackendService",
"InitializationData": [],
"PartitionDescription": {
@@ -25,7 +25,7 @@
{
"ScalingTrigger": {
"Kind": "AverageServiceLoad",
- "MetricName": "servicefabric:\/_MemoryInMB",
+ "MetricName": "servicefabric:/_MemoryInMB",
"LowerLoadThreshold": 500,
"UpperLoadThreshold": 900,
"ScaleIntervalInSeconds": 600
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetContainerLogsDeployedOnNode-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetContainerLogsDeployedOnNode-2.json
index 669943a0d4cb..9f1025363561 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetContainerLogsDeployedOnNode-2.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetContainerLogsDeployedOnNode-2.json
@@ -13,7 +13,7 @@
"200": {
"headers": {},
"body": {
- "Content": "UTC Time Now: 04\/02\/2018 22:06:31\r\nUTC Time Now: 04\/02\/2018 22:06:32\r\nUTC Time Now: 04\/02\/2018 22:06:33\r\nUTC Time Now: 04\/02\/2018 22:06:344\r\nUTC Time Now: 04\/02\/2018 22:06:35\r\nUTC Time Now: 04\/02\/2018 22:06:36\r\nUTC Time Now: 04\/02\/2018 22:06:37\r\nUTC Time Now: 04\/02\/2018 22:06:38\r\nUTC Time Now: 04\/02\/2018 22:06:39\r\nUTC Time Now: 04\/02\/2018 22:06:40\r\n"
+ "Content": "UTC Time Now: 04/02/2018 22:06:31\r\nUTC Time Now: 04/02/2018 22:06:32\r\nUTC Time Now: 04/02/2018 22:06:33\r\nUTC Time Now: 04/02/2018 22:06:344\r\nUTC Time Now: 04/02/2018 22:06:35\r\nUTC Time Now: 04/02/2018 22:06:36\r\nUTC Time Now: 04/02/2018 22:06:37\r\nUTC Time Now: 04/02/2018 22:06:38\r\nUTC Time Now: 04/02/2018 22:06:39\r\nUTC Time Now: 04/02/2018 22:06:40\r\n"
}
}
}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/UpdateService-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/UpdateService-1.json
index 6d14c7ebe614..584a8d780a51 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/UpdateService-1.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/UpdateService-1.json
@@ -13,7 +13,7 @@
{
"ScalingTrigger": {
"Kind": "AveragePartitionLoad",
- "MetricName": "servicefabric:\/_CpuCores",
+ "MetricName": "servicefabric:/_CpuCores",
"LowerLoadThreshold": 0.500000,
"UpperLoadThreshold": 0.800000,
"ScaleIntervalInSeconds": 900
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-1.json
index 88c214abd88c..a969c12cd8a9 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-1.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-1.json
@@ -6,8 +6,8 @@
"api-version": "6.0",
"ServiceDescription": {
"ServiceKind": "Stateless",
- "ApplicationName": "fabric:\/test",
- "ServiceName": "fabric:\/test\/test1",
+ "ApplicationName": "fabric:/test",
+ "ServiceName": "fabric:/test/test1",
"ServiceTypeName": "StatelessFrontendService",
"PartitionDescription": {
"PartitionScheme": "Singleton"
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-2.json
index b909e6c58b05..bc7ada6bb8be 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-2.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-2.json
@@ -6,8 +6,8 @@
"api-version": "6.0",
"ServiceDescription": {
"ServiceKind": "Stateful",
- "ApplicationName": "fabric:\/test",
- "ServiceName": "fabric:\/test\/test2",
+ "ApplicationName": "fabric:/test",
+ "ServiceName": "fabric:/test/test2",
"ServiceTypeName": "StatefulBackendService",
"PartitionDescription": {
"PartitionScheme": "Singleton"
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-3.json
index 74461b9b5eef..1d12712e405e 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-3.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-3.json
@@ -6,8 +6,8 @@
"api-version": "6.0",
"ServiceDescription": {
"ServiceKind": "Stateless",
- "ApplicationName": "fabric:\/test",
- "ServiceName": "fabric:\/test\/test1",
+ "ApplicationName": "fabric:/test",
+ "ServiceName": "fabric:/test/test1",
"ServiceTypeName": "StatelessFrontendService",
"InitializationData": [],
"PartitionDescription": {
@@ -26,7 +26,7 @@
{
"ScalingTrigger": {
"Kind": "AveragePartitionLoad",
- "MetricName": "servicefabric:\/_CpuCores",
+ "MetricName": "servicefabric:/_CpuCores",
"LowerLoadThreshold": 0.300000,
"UpperLoadThreshold": 0.800000,
"ScaleIntervalInSeconds": 600
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-4.json
index a83ca1445d09..46f7beb2ade5 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-4.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/CreateService-4.json
@@ -6,8 +6,8 @@
"api-version": "6.0",
"ServiceDescription": {
"ServiceKind": "Stateful",
- "ApplicationName": "fabric:\/test",
- "ServiceName": "fabric:\/test\/test2",
+ "ApplicationName": "fabric:/test",
+ "ServiceName": "fabric:/test/test2",
"ServiceTypeName": "StatefulBackendService",
"InitializationData": [],
"PartitionDescription": {
@@ -25,7 +25,7 @@
{
"ScalingTrigger": {
"Kind": "AverageServiceLoad",
- "MetricName": "servicefabric:\/_MemoryInMB",
+ "MetricName": "servicefabric:/_MemoryInMB",
"LowerLoadThreshold": 500,
"UpperLoadThreshold": 900,
"ScaleIntervalInSeconds": 600
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetContainerLogsDeployedOnNode-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetContainerLogsDeployedOnNode-2.json
index 669943a0d4cb..9f1025363561 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetContainerLogsDeployedOnNode-2.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/GetContainerLogsDeployedOnNode-2.json
@@ -13,7 +13,7 @@
"200": {
"headers": {},
"body": {
- "Content": "UTC Time Now: 04\/02\/2018 22:06:31\r\nUTC Time Now: 04\/02\/2018 22:06:32\r\nUTC Time Now: 04\/02\/2018 22:06:33\r\nUTC Time Now: 04\/02\/2018 22:06:344\r\nUTC Time Now: 04\/02\/2018 22:06:35\r\nUTC Time Now: 04\/02\/2018 22:06:36\r\nUTC Time Now: 04\/02\/2018 22:06:37\r\nUTC Time Now: 04\/02\/2018 22:06:38\r\nUTC Time Now: 04\/02\/2018 22:06:39\r\nUTC Time Now: 04\/02\/2018 22:06:40\r\n"
+ "Content": "UTC Time Now: 04/02/2018 22:06:31\r\nUTC Time Now: 04/02/2018 22:06:32\r\nUTC Time Now: 04/02/2018 22:06:33\r\nUTC Time Now: 04/02/2018 22:06:344\r\nUTC Time Now: 04/02/2018 22:06:35\r\nUTC Time Now: 04/02/2018 22:06:36\r\nUTC Time Now: 04/02/2018 22:06:37\r\nUTC Time Now: 04/02/2018 22:06:38\r\nUTC Time Now: 04/02/2018 22:06:39\r\nUTC Time Now: 04/02/2018 22:06:40\r\n"
}
}
}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/UpdateService-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/UpdateService-1.json
index 6d14c7ebe614..584a8d780a51 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/UpdateService-1.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.3/examples/UpdateService-1.json
@@ -13,7 +13,7 @@
{
"ScalingTrigger": {
"Kind": "AveragePartitionLoad",
- "MetricName": "servicefabric:\/_CpuCores",
+ "MetricName": "servicefabric:/_CpuCores",
"LowerLoadThreshold": 0.500000,
"UpperLoadThreshold": 0.800000,
"ScaleIntervalInSeconds": 900
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-1.json
index 88c214abd88c..a969c12cd8a9 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-1.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-1.json
@@ -6,8 +6,8 @@
"api-version": "6.0",
"ServiceDescription": {
"ServiceKind": "Stateless",
- "ApplicationName": "fabric:\/test",
- "ServiceName": "fabric:\/test\/test1",
+ "ApplicationName": "fabric:/test",
+ "ServiceName": "fabric:/test/test1",
"ServiceTypeName": "StatelessFrontendService",
"PartitionDescription": {
"PartitionScheme": "Singleton"
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-2.json
index b909e6c58b05..bc7ada6bb8be 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-2.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-2.json
@@ -6,8 +6,8 @@
"api-version": "6.0",
"ServiceDescription": {
"ServiceKind": "Stateful",
- "ApplicationName": "fabric:\/test",
- "ServiceName": "fabric:\/test\/test2",
+ "ApplicationName": "fabric:/test",
+ "ServiceName": "fabric:/test/test2",
"ServiceTypeName": "StatefulBackendService",
"PartitionDescription": {
"PartitionScheme": "Singleton"
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-3.json
index 74461b9b5eef..1d12712e405e 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-3.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-3.json
@@ -6,8 +6,8 @@
"api-version": "6.0",
"ServiceDescription": {
"ServiceKind": "Stateless",
- "ApplicationName": "fabric:\/test",
- "ServiceName": "fabric:\/test\/test1",
+ "ApplicationName": "fabric:/test",
+ "ServiceName": "fabric:/test/test1",
"ServiceTypeName": "StatelessFrontendService",
"InitializationData": [],
"PartitionDescription": {
@@ -26,7 +26,7 @@
{
"ScalingTrigger": {
"Kind": "AveragePartitionLoad",
- "MetricName": "servicefabric:\/_CpuCores",
+ "MetricName": "servicefabric:/_CpuCores",
"LowerLoadThreshold": 0.300000,
"UpperLoadThreshold": 0.800000,
"ScaleIntervalInSeconds": 600
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-4.json
index a83ca1445d09..46f7beb2ade5 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-4.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/CreateService-4.json
@@ -6,8 +6,8 @@
"api-version": "6.0",
"ServiceDescription": {
"ServiceKind": "Stateful",
- "ApplicationName": "fabric:\/test",
- "ServiceName": "fabric:\/test\/test2",
+ "ApplicationName": "fabric:/test",
+ "ServiceName": "fabric:/test/test2",
"ServiceTypeName": "StatefulBackendService",
"InitializationData": [],
"PartitionDescription": {
@@ -25,7 +25,7 @@
{
"ScalingTrigger": {
"Kind": "AverageServiceLoad",
- "MetricName": "servicefabric:\/_MemoryInMB",
+ "MetricName": "servicefabric:/_MemoryInMB",
"LowerLoadThreshold": 500,
"UpperLoadThreshold": 900,
"ScaleIntervalInSeconds": 600
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetContainerLogsDeployedOnNode-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetContainerLogsDeployedOnNode-2.json
index 669943a0d4cb..9f1025363561 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetContainerLogsDeployedOnNode-2.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/GetContainerLogsDeployedOnNode-2.json
@@ -13,7 +13,7 @@
"200": {
"headers": {},
"body": {
- "Content": "UTC Time Now: 04\/02\/2018 22:06:31\r\nUTC Time Now: 04\/02\/2018 22:06:32\r\nUTC Time Now: 04\/02\/2018 22:06:33\r\nUTC Time Now: 04\/02\/2018 22:06:344\r\nUTC Time Now: 04\/02\/2018 22:06:35\r\nUTC Time Now: 04\/02\/2018 22:06:36\r\nUTC Time Now: 04\/02\/2018 22:06:37\r\nUTC Time Now: 04\/02\/2018 22:06:38\r\nUTC Time Now: 04\/02\/2018 22:06:39\r\nUTC Time Now: 04\/02\/2018 22:06:40\r\n"
+ "Content": "UTC Time Now: 04/02/2018 22:06:31\r\nUTC Time Now: 04/02/2018 22:06:32\r\nUTC Time Now: 04/02/2018 22:06:33\r\nUTC Time Now: 04/02/2018 22:06:344\r\nUTC Time Now: 04/02/2018 22:06:35\r\nUTC Time Now: 04/02/2018 22:06:36\r\nUTC Time Now: 04/02/2018 22:06:37\r\nUTC Time Now: 04/02/2018 22:06:38\r\nUTC Time Now: 04/02/2018 22:06:39\r\nUTC Time Now: 04/02/2018 22:06:40\r\n"
}
}
}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/UpdateService-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/UpdateService-1.json
index 6d14c7ebe614..584a8d780a51 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/UpdateService-1.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.4/examples/UpdateService-1.json
@@ -13,7 +13,7 @@
{
"ScalingTrigger": {
"Kind": "AveragePartitionLoad",
- "MetricName": "servicefabric:\/_CpuCores",
+ "MetricName": "servicefabric:/_CpuCores",
"LowerLoadThreshold": 0.500000,
"UpperLoadThreshold": 0.800000,
"ScaleIntervalInSeconds": 900
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-1.json
index 88c214abd88c..a969c12cd8a9 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-1.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-1.json
@@ -6,8 +6,8 @@
"api-version": "6.0",
"ServiceDescription": {
"ServiceKind": "Stateless",
- "ApplicationName": "fabric:\/test",
- "ServiceName": "fabric:\/test\/test1",
+ "ApplicationName": "fabric:/test",
+ "ServiceName": "fabric:/test/test1",
"ServiceTypeName": "StatelessFrontendService",
"PartitionDescription": {
"PartitionScheme": "Singleton"
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-2.json
index b909e6c58b05..bc7ada6bb8be 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-2.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-2.json
@@ -6,8 +6,8 @@
"api-version": "6.0",
"ServiceDescription": {
"ServiceKind": "Stateful",
- "ApplicationName": "fabric:\/test",
- "ServiceName": "fabric:\/test\/test2",
+ "ApplicationName": "fabric:/test",
+ "ServiceName": "fabric:/test/test2",
"ServiceTypeName": "StatefulBackendService",
"PartitionDescription": {
"PartitionScheme": "Singleton"
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-3.json
index 74461b9b5eef..1d12712e405e 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-3.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-3.json
@@ -6,8 +6,8 @@
"api-version": "6.0",
"ServiceDescription": {
"ServiceKind": "Stateless",
- "ApplicationName": "fabric:\/test",
- "ServiceName": "fabric:\/test\/test1",
+ "ApplicationName": "fabric:/test",
+ "ServiceName": "fabric:/test/test1",
"ServiceTypeName": "StatelessFrontendService",
"InitializationData": [],
"PartitionDescription": {
@@ -26,7 +26,7 @@
{
"ScalingTrigger": {
"Kind": "AveragePartitionLoad",
- "MetricName": "servicefabric:\/_CpuCores",
+ "MetricName": "servicefabric:/_CpuCores",
"LowerLoadThreshold": 0.300000,
"UpperLoadThreshold": 0.800000,
"ScaleIntervalInSeconds": 600
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-4.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-4.json
index a83ca1445d09..46f7beb2ade5 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-4.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/CreateService-4.json
@@ -6,8 +6,8 @@
"api-version": "6.0",
"ServiceDescription": {
"ServiceKind": "Stateful",
- "ApplicationName": "fabric:\/test",
- "ServiceName": "fabric:\/test\/test2",
+ "ApplicationName": "fabric:/test",
+ "ServiceName": "fabric:/test/test2",
"ServiceTypeName": "StatefulBackendService",
"InitializationData": [],
"PartitionDescription": {
@@ -25,7 +25,7 @@
{
"ScalingTrigger": {
"Kind": "AverageServiceLoad",
- "MetricName": "servicefabric:\/_MemoryInMB",
+ "MetricName": "servicefabric:/_MemoryInMB",
"LowerLoadThreshold": 500,
"UpperLoadThreshold": 900,
"ScaleIntervalInSeconds": 600
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-2.json
index 669943a0d4cb..9f1025363561 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-2.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/GetContainerLogsDeployedOnNode-2.json
@@ -13,7 +13,7 @@
"200": {
"headers": {},
"body": {
- "Content": "UTC Time Now: 04\/02\/2018 22:06:31\r\nUTC Time Now: 04\/02\/2018 22:06:32\r\nUTC Time Now: 04\/02\/2018 22:06:33\r\nUTC Time Now: 04\/02\/2018 22:06:344\r\nUTC Time Now: 04\/02\/2018 22:06:35\r\nUTC Time Now: 04\/02\/2018 22:06:36\r\nUTC Time Now: 04\/02\/2018 22:06:37\r\nUTC Time Now: 04\/02\/2018 22:06:38\r\nUTC Time Now: 04\/02\/2018 22:06:39\r\nUTC Time Now: 04\/02\/2018 22:06:40\r\n"
+ "Content": "UTC Time Now: 04/02/2018 22:06:31\r\nUTC Time Now: 04/02/2018 22:06:32\r\nUTC Time Now: 04/02/2018 22:06:33\r\nUTC Time Now: 04/02/2018 22:06:344\r\nUTC Time Now: 04/02/2018 22:06:35\r\nUTC Time Now: 04/02/2018 22:06:36\r\nUTC Time Now: 04/02/2018 22:06:37\r\nUTC Time Now: 04/02/2018 22:06:38\r\nUTC Time Now: 04/02/2018 22:06:39\r\nUTC Time Now: 04/02/2018 22:06:40\r\n"
}
}
}
diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateService-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateService-1.json
index 6d14c7ebe614..584a8d780a51 100644
--- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateService-1.json
+++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.5/examples/UpdateService-1.json
@@ -13,7 +13,7 @@
{
"ScalingTrigger": {
"Kind": "AveragePartitionLoad",
- "MetricName": "servicefabric:\/_CpuCores",
+ "MetricName": "servicefabric:/_CpuCores",
"LowerLoadThreshold": 0.500000,
"UpperLoadThreshold": 0.800000,
"ScaleIntervalInSeconds": 900
diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/CheckNameAvailabilityServerInvalid.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/CheckNameAvailabilityServerInvalid.json
index 3e7e9788ca6c..d45414d04e2e 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/CheckNameAvailabilityServerInvalid.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/CheckNameAvailabilityServerInvalid.json
@@ -13,7 +13,7 @@
"name": "SERVER1",
"available": false,
"reason": "Invalid",
- "message": "Specified server name contains unsupported characters or is too long. Server name must be no longer than 63 characters long, contain only lower-case characters or digits, cannot contain \u0027.\u0027 or \u0027_\u0027 characters and can\u0027t start or end with \u0027-\u0027 character."
+ "message": "Specified server name contains unsupported characters or is too long. Server name must be no longer than 63 characters long, contain only lower-case characters or digits, cannot contain '.' or '_' characters and can't start or end with '-' character."
}
}
}
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountDeletePrivateEndpointConnection.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountDeletePrivateEndpointConnection.json
index ba3a18432002..00f982aa7123 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountDeletePrivateEndpointConnection.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountDeletePrivateEndpointConnection.json
@@ -3,7 +3,7 @@
"subscriptionId": "{subscription-id}",
"resourceGroupName": "res6977",
"accountName": "sto2527",
- "privateEndpointConnectionName":"{privateEndpointConnectionName}",
+ "privateEndpointConnectionName": "{privateEndpointConnectionName}",
"api-version": "2019-06-01",
"monitor": "true"
},
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountGetPrivateEndpointConnection.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountGetPrivateEndpointConnection.json
index 038fc8cc6131..dd7c6f8d5f8a 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountGetPrivateEndpointConnection.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountGetPrivateEndpointConnection.json
@@ -1,30 +1,30 @@
{
- "parameters":{
- "subscriptionId":"{subscription-id}",
- "resourceGroupName":"res6977",
- "accountName":"sto2527",
- "privateEndpointConnectionName":"{privateEndpointConnectionName}",
- "api-version":"2019-06-01",
- "monitor":"true"
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "res6977",
+ "accountName": "sto2527",
+ "privateEndpointConnectionName": "{privateEndpointConnectionName}",
+ "api-version": "2019-06-01",
+ "monitor": "true"
},
- "responses":{
- "200":{
- "body":{
- "id":"/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}",
- "name":"{privateEndpointConnectionName}",
- "type":"Microsoft.Storage/storageAccounts/privateEndpointConnections",
- "properties":{
- "provisioningState":"Succeeded",
- "privateEndpoint":{
- "id":"/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01"
- },
- "privateLinkServiceConnectionState":{
- "status":"Approved",
- "description":"Auto-Approved",
- "actionRequired":"None"
- }
- }
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}",
+ "name": "{privateEndpointConnectionName}",
+ "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-Approved",
+ "actionRequired": "None"
+ }
}
- }
+ }
+ }
}
}
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountListPrivateLinkResources.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountListPrivateLinkResources.json
index fda020777151..2ce179fe5039 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountListPrivateLinkResources.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountListPrivateLinkResources.json
@@ -1,101 +1,101 @@
{
- "parameters":{
- "subscriptionId":"{subscription-id}",
- "resourceGroupName":"res6977",
- "accountName":"sto2527",
- "api-version":"2019-06-01",
- "monitor":"true"
- },
- "responses":{
- "200":{
- "body":{
- "value":[
- {
- "id":"/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/blob",
- "name":"blob",
- "type":"Microsoft.Storage/storageAccounts/privateLinkResources",
- "properties":{
- "groupId":"blob",
- "requiredMembers":[
- "blob"
- ],
- "requiredZoneNames":[
- "privatelink.blob.core.windows.net"
- ]
- }
- },
- {
- "id":"/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/blob_secondary",
- "name":"blob_secondary",
- "type":"Microsoft.Storage/storageAccounts/privateLinkResources",
- "properties":{
- "groupId":"blob_secondary",
- "requiredMembers":[
- "blob_secondary"
- ],
- "requiredZoneNames":[
- "privatelink.blob.core.windows.net"
- ]
- }
- },
- {
- "id":"/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/table",
- "name":"table",
- "type":"Microsoft.Storage/storageAccounts/privateLinkResources",
- "properties":{
- "groupId":"table",
- "requiredMembers":[
- "table"
- ],
- "requiredZoneNames":[
- "privatelink.table.core.windows.net"
- ]
- }
- },
- {
- "id":"/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/table_secondary",
- "name":"table_secondary",
- "type":"Microsoft.Storage/storageAccounts/privateLinkResources",
- "properties":{
- "groupId":"table_secondary",
- "requiredMembers":[
- "table_secondary"
- ],
- "requiredZoneNames":[
- "privatelink.table.core.windows.net"
- ]
- }
- },
- {
- "id":"/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/dfs",
- "name":"dfs",
- "type":"Microsoft.Storage/storageAccounts/privateLinkResources",
- "properties":{
- "groupId":"dfs",
- "requiredMembers":[
- "dfs"
- ],
- "requiredZoneNames":[
- "privatelink.dfs.core.windows.net"
- ]
- }
- },
- {
- "id":"/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/dfs_secondary",
- "name":"dfs_secondary",
- "type":"Microsoft.Storage/storageAccounts/privateLinkResources",
- "properties":{
- "groupId":"dfs_secondary",
- "requiredMembers":[
- "dfs_secondary"
- ],
- "requiredZoneNames":[
- "privatelink.dfs.core.windows.net"
- ]
- }
- }
- ]
- }
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "res6977",
+ "accountName": "sto2527",
+ "api-version": "2019-06-01",
+ "monitor": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/blob",
+ "name": "blob",
+ "type": "Microsoft.Storage/storageAccounts/privateLinkResources",
+ "properties": {
+ "groupId": "blob",
+ "requiredMembers": [
+ "blob"
+ ],
+ "requiredZoneNames": [
+ "privatelink.blob.core.windows.net"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/blob_secondary",
+ "name": "blob_secondary",
+ "type": "Microsoft.Storage/storageAccounts/privateLinkResources",
+ "properties": {
+ "groupId": "blob_secondary",
+ "requiredMembers": [
+ "blob_secondary"
+ ],
+ "requiredZoneNames": [
+ "privatelink.blob.core.windows.net"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/table",
+ "name": "table",
+ "type": "Microsoft.Storage/storageAccounts/privateLinkResources",
+ "properties": {
+ "groupId": "table",
+ "requiredMembers": [
+ "table"
+ ],
+ "requiredZoneNames": [
+ "privatelink.table.core.windows.net"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/table_secondary",
+ "name": "table_secondary",
+ "type": "Microsoft.Storage/storageAccounts/privateLinkResources",
+ "properties": {
+ "groupId": "table_secondary",
+ "requiredMembers": [
+ "table_secondary"
+ ],
+ "requiredZoneNames": [
+ "privatelink.table.core.windows.net"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/dfs",
+ "name": "dfs",
+ "type": "Microsoft.Storage/storageAccounts/privateLinkResources",
+ "properties": {
+ "groupId": "dfs",
+ "requiredMembers": [
+ "dfs"
+ ],
+ "requiredZoneNames": [
+ "privatelink.dfs.core.windows.net"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/dfs_secondary",
+ "name": "dfs_secondary",
+ "type": "Microsoft.Storage/storageAccounts/privateLinkResources",
+ "properties": {
+ "groupId": "dfs_secondary",
+ "requiredMembers": [
+ "dfs_secondary"
+ ],
+ "requiredZoneNames": [
+ "privatelink.dfs.core.windows.net"
+ ]
+ }
+ }
+ ]
}
- }
+ }
+ }
}
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountPutPrivateEndpointConnection.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountPutPrivateEndpointConnection.json
index f07f9454ff04..330ceaacbe5e 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountPutPrivateEndpointConnection.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountPutPrivateEndpointConnection.json
@@ -1,38 +1,38 @@
{
- "parameters":{
- "subscriptionId":"{subscription-id}",
- "resourceGroupName":"res7687",
- "accountName":"sto9699",
- "privateEndpointConnectionName":"{privateEndpointConnectionName}",
- "api-version":"2019-06-01",
- "monitor":"true",
- "properties":{
- "properties":{
- "privateLinkServiceConnectionState":{
- "status":"Approved",
- "description":"Auto-Approved"
- }
- }
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "res7687",
+ "accountName": "sto9699",
+ "privateEndpointConnectionName": "{privateEndpointConnectionName}",
+ "api-version": "2019-06-01",
+ "monitor": "true",
+ "properties": {
+ "properties": {
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-Approved"
+ }
}
- },
- "responses":{
- "200":{
- "body":{
- "id":"/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}",
- "name":"{privateEndpointConnectionName}",
- "type":"Microsoft.Storage/storageAccounts/privateEndpointConnections",
- "properties":{
- "provisioningState":"Succeeded",
- "privateEndpoint":{
- "id":"/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01"
- },
- "privateLinkServiceConnectionState":{
- "status":"Approved",
- "description":"Auto-Approved",
- "actionRequired":"None"
- }
- }
- }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}",
+ "name": "{privateEndpointConnectionName}",
+ "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateEndpoint": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-Approved",
+ "actionRequired": "None"
+ }
+ }
}
- }
+ }
+ }
}
diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/vmwarecloudsimple.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/vmwarecloudsimple.json
index 9c3d4d70da4b..263b999ce29b 100644
--- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/vmwarecloudsimple.json
+++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/vmwarecloudsimple.json
@@ -3123,7 +3123,7 @@
"type": "string"
},
"limit": {
- "description": "indicates how many resources of a given SKU is available in a AZ-\u003ePG",
+ "description": "indicates how many resources of a given SKU is available in a AZ->PG",
"type": "integer"
},
"resourceType": {
diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/WebApps.json
index ca580ebea02f..d34de140f970 100644
--- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/WebApps.json
+++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/WebApps.json
@@ -21855,7 +21855,7 @@
"items": {
"$ref": "./CommonDefinitions.json#/definitions/GeoDistribution"
}
- }
+ }
},
"x-ms-client-flatten": true
},
@@ -22616,4 +22616,4 @@
]
}
]
-}
\ No newline at end of file
+}
From bff55c492b5844588508971756045d84409b9fe7 Mon Sep 17 00:00:00 2001
From: Phoenix He
Date: Tue, 29 Oct 2019 17:24:07 +0800
Subject: [PATCH 095/189] Add Prettier (#7637)
---
.../package-lock.json | 253 +++++++++++-------
.azure-pipelines-preproduction/package.json | 8 +-
.azure-pipelines/PrettierCheck.yml | 15 ++
.prettierrc.json | 5 +
package-lock.json | 12 +
package.json | 6 +-
preproduction-azure-pipelines.yml | 1 +
scripts/prettier-check.ts | 22 ++
scripts/prettier-swagger-plugin.ts | 92 +++++++
scripts/spellcheck.ts | 79 ++----
scripts/utils.ts | 80 ++++++
11 files changed, 410 insertions(+), 163 deletions(-)
create mode 100644 .azure-pipelines/PrettierCheck.yml
create mode 100644 .prettierrc.json
create mode 100644 scripts/prettier-check.ts
create mode 100644 scripts/prettier-swagger-plugin.ts
create mode 100644 scripts/utils.ts
diff --git a/.azure-pipelines-preproduction/package-lock.json b/.azure-pipelines-preproduction/package-lock.json
index 741489043b83..58edbf1cca29 100644
--- a/.azure-pipelines-preproduction/package-lock.json
+++ b/.azure-pipelines-preproduction/package-lock.json
@@ -88,9 +88,9 @@
}
},
"@azure/rest-api-specs-scripts": {
- "version": "0.5.1",
- "resolved": "https://registry.npmjs.org/@azure/rest-api-specs-scripts/-/rest-api-specs-scripts-0.5.1.tgz",
- "integrity": "sha512-Nwi4jsHMVG1Pd3hJAh5D8JxTlx6PaDpYNfDrQSG3QAvVwE5n+MK9SmHL47akDfhKJQibuPompKwgw55Gy23Reg==",
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/@azure/rest-api-specs-scripts/-/rest-api-specs-scripts-0.5.7.tgz",
+ "integrity": "sha512-KbhwZzENz5pB9Me9PxhhuqL7Lru8bmpSOWQ291buvxEYQ+ZwzvHyA0cA8yL5raXZX2IJhslc7ThtcPhAqC0hFw==",
"dev": true,
"requires": {
"@azure/avocado": "^0.4.1",
@@ -100,7 +100,7 @@
"fs-extra": "^7.0.1",
"glob": "^7.1.3",
"js-yaml": "^3.13.1",
- "oav": "^0.19.6",
+ "oav": "0.19.6",
"request": "^2.88.0"
},
"dependencies": {
@@ -151,23 +151,25 @@
"dev": true
},
"@octokit/endpoint": {
- "version": "5.3.5",
- "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-5.3.5.tgz",
- "integrity": "sha512-f8KqzIrnzPLiezDsZZPB+K8v8YSv6aKFl7eOu59O46lmlW4HagWl1U6NWl6LmT8d1w7NsKBI3paVtzcnRGO1gw==",
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-5.5.0.tgz",
+ "integrity": "sha512-TXYS6zXeBImNB9BVj+LneMDqXX+H0exkOpyXobvp92O3B1348QsKnNioISFKgOMsb3ibZvQGwCdpiwQd3KAjIA==",
"dev": true,
"requires": {
+ "@octokit/types": "^1.0.0",
"is-plain-object": "^3.0.0",
"universal-user-agent": "^4.0.0"
}
},
"@octokit/request": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.1.0.tgz",
- "integrity": "sha512-I15T9PwjFs4tbWyhtFU2Kq7WDPidYMvRB7spmxoQRZfxSmiqullG+Nz+KbSmpkfnlvHwTr1e31R5WReFRKMXjg==",
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.3.0.tgz",
+ "integrity": "sha512-mMIeNrtYyNEIYNsKivDyUAukBkw0M5ckyJX56xoFRXSasDPCloIXaQOnaKNopzQ8dIOvpdq1ma8gmrS+h6O2OQ==",
"dev": true,
"requires": {
- "@octokit/endpoint": "^5.1.0",
+ "@octokit/endpoint": "^5.5.0",
"@octokit/request-error": "^1.0.1",
+ "@octokit/types": "^1.0.0",
"deprecation": "^2.0.0",
"is-plain-object": "^3.0.0",
"node-fetch": "^2.3.0",
@@ -186,12 +188,12 @@
}
},
"@octokit/rest": {
- "version": "16.28.9",
- "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-16.28.9.tgz",
- "integrity": "sha512-IKGnX+Tvzt7XHhs8f4ajqxyJvYAMNX5nWfoJm4CQj8LZToMiaJgutf5KxxpxoC3y5w7JTJpW5rnWnF4TsIvCLA==",
+ "version": "16.34.0",
+ "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-16.34.0.tgz",
+ "integrity": "sha512-EBe5qMQQOZRuezahWCXCnSe0J6tAqrW2hrEH9U8esXzKor1+HUDf8jgImaZf5lkTyWCQA296x9kAH5c0pxEgVQ==",
"dev": true,
"requires": {
- "@octokit/request": "^5.0.0",
+ "@octokit/request": "^5.2.0",
"@octokit/request-error": "^1.0.2",
"atob-lite": "^2.0.0",
"before-after-hook": "^2.0.0",
@@ -205,6 +207,23 @@
"universal-user-agent": "^4.0.0"
}
},
+ "@octokit/types": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@octokit/types/-/types-1.0.0.tgz",
+ "integrity": "sha512-u51RhPTdCJgZQnU4TuKiqHcAxINsvIkQDZdbF4wSJy3g+DH7X/SmYp1kJE6INRD8hh2wEeFmRke7h1j6Ed3e+w==",
+ "dev": true,
+ "requires": {
+ "@types/node": "^12.11.1"
+ },
+ "dependencies": {
+ "@types/node": {
+ "version": "12.11.7",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-12.11.7.tgz",
+ "integrity": "sha512-JNbGaHFCLwgHn/iCckiGSOZ1XYHsKFwREtzPwSGCVld1SGhOlmZw2D4ZI94HQCrBHbADzW9m4LER/8olJTRGHA==",
+ "dev": true
+ }
+ }
+ },
"@ts-common/add-position": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/@ts-common/add-position/-/add-position-0.0.2.tgz",
@@ -403,6 +422,12 @@
"@types/node": "*"
}
},
+ "@types/prettier": {
+ "version": "1.18.3",
+ "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-1.18.3.tgz",
+ "integrity": "sha512-48rnerQdcZ26odp+HOvDGX8IcUkYOCuMc2BodWYTe956MqkHlOGAG4oFQ83cjZ0a4GAgj7mb4GUClxYd2Hlodg==",
+ "dev": true
+ },
"@types/retry": {
"version": "0.12.0",
"resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz",
@@ -410,9 +435,9 @@
"dev": true
},
"abab": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.1.tgz",
- "integrity": "sha512-1zSbbCuoIjafKZ3mblY5ikvAb0ODUbqBnFuUb7f6uLeQhhGJ0vEV4ntmtxKLT2WgXCO94E07BjunsIw1jOMPZw==",
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.2.tgz",
+ "integrity": "sha512-2scffjvioEmNz0OyDSLGWDfKCVwaKc6l9Pm9kOIREU13ClXZvHpg/nRL5xyjSSSLhOnXqft2HpsAzNEEA8cFFg==",
"dev": true
},
"abbrev": {
@@ -428,9 +453,9 @@
"dev": true
},
"acorn-globals": {
- "version": "4.3.3",
- "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-4.3.3.tgz",
- "integrity": "sha512-vkR40VwS2SYO98AIeFvzWWh+xyc2qi9s7OoXSFEGIP/rOJKzjnhykaZJNnHdoq4BL2gGxI5EZOU16z896EYnOQ==",
+ "version": "4.3.4",
+ "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-4.3.4.tgz",
+ "integrity": "sha512-clfQEh21R+D0leSbUdWf3OcfqyaCSAQ8Ryq00bofSekfr9W8u1jyYZo6ir0xu9Gtcf7BjcHJpnbZH7JOCpP60A==",
"dev": true,
"requires": {
"acorn": "^6.0.1",
@@ -1039,9 +1064,9 @@
"dev": true
},
"core-js": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.9.tgz",
- "integrity": "sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A==",
+ "version": "2.6.10",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.10.tgz",
+ "integrity": "sha512-I39t74+4t+zau64EN1fE5v2W31Adtc/REhzWN+gWRRXg6WH5qAsZm62DHpQ1+Yhe4047T55jvzz7MUqF/dBBlA==",
"dev": true
},
"core-util-is": {
@@ -1070,16 +1095,16 @@
"dev": true
},
"cspell": {
- "version": "4.0.28",
- "resolved": "https://registry.npmjs.org/cspell/-/cspell-4.0.28.tgz",
- "integrity": "sha512-2YH8pOUnaGCjHHKKUC2K247nAKx2/ah/JsyMYgSe0U3R1Lokl6+HwTsU2+I01o8u5GbM5sLjxsQRPzceYQkzLg==",
+ "version": "4.0.30",
+ "resolved": "https://registry.npmjs.org/cspell/-/cspell-4.0.30.tgz",
+ "integrity": "sha512-dazX00rCgRSL8TAphqFSw7D9p3QdBGh09J8/bFH+hLpz01Yry/XzXjDiyKPlAXFkeFH5Sikgq0Cy/t3cHaLBeQ==",
"dev": true,
"requires": {
"chalk": "^2.4.2",
"commander": "^2.20.0",
"comment-json": "^1.1.3",
"cspell-glob": "^0.1.11",
- "cspell-lib": "^4.0.25",
+ "cspell-lib": "^4.1.0",
"fs-extra": "^8.1.0",
"gensequence": "^2.1.2",
"get-stdin": "^7.0.0",
@@ -1107,9 +1132,9 @@
}
},
"cspell-dict-companies": {
- "version": "1.0.14",
- "resolved": "https://registry.npmjs.org/cspell-dict-companies/-/cspell-dict-companies-1.0.14.tgz",
- "integrity": "sha512-q4Xfe/vNteOs57r+YeEYzVsoQe2YGsi3uVMv06w0CkMa9y8llDXpBv7UJniLZVyW19491jlxIORkHx4i39MBUw==",
+ "version": "1.0.15",
+ "resolved": "https://registry.npmjs.org/cspell-dict-companies/-/cspell-dict-companies-1.0.15.tgz",
+ "integrity": "sha512-IS3rnqkkZhgyKVsure5g+88q3PyLpgZw3xRB3Fo2W30NgoNW2Zpbh4/H6NR839f94IX2/qUvM/zanQy0B7ogMQ==",
"dev": true,
"requires": {
"configstore": "^5.0.0"
@@ -1161,9 +1186,9 @@
}
},
"cspell-dict-fullstack": {
- "version": "1.0.17",
- "resolved": "https://registry.npmjs.org/cspell-dict-fullstack/-/cspell-dict-fullstack-1.0.17.tgz",
- "integrity": "sha512-XmFyvt5r9JXcIjnycFfZfc/82dmMBUSowL4Oa/Mubx0Tm66bKOTmhrDatXl96qo6J0cIoyoPXitsfj5YaDV17g==",
+ "version": "1.0.18",
+ "resolved": "https://registry.npmjs.org/cspell-dict-fullstack/-/cspell-dict-fullstack-1.0.18.tgz",
+ "integrity": "sha512-vEVf+ppML1PP9vdfkXnydABIYNyDORVN28sniBo0ILLhqFjCJvs1SNQuZxWhak5sgSZ9z4xiHU9TqCEUqhf1jw==",
"dev": true,
"requires": {
"configstore": "^5.0.0"
@@ -1233,9 +1258,9 @@
}
},
"cspell-dict-powershell": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/cspell-dict-powershell/-/cspell-dict-powershell-1.0.2.tgz",
- "integrity": "sha512-BW2Bdpet0yRQKB+7HjA75O0aJnh1VjdnMLNYb1SLvow73uCsC8GpvYLtvFyDm0Q717FYKoPzuZiSrXhyHerNAw==",
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/cspell-dict-powershell/-/cspell-dict-powershell-1.0.3.tgz",
+ "integrity": "sha512-YHVe8NkjtZmBvdclXev7dkoTODxweiq8H/Z8N0H5jc8pW1IJGBIXIFxlk1AjRW3bS19D5OZIx13J8ims6i5s8w==",
"dev": true,
"requires": {
"configstore": "^5.0.0"
@@ -1323,9 +1348,9 @@
}
},
"cspell-io": {
- "version": "4.0.17",
- "resolved": "https://registry.npmjs.org/cspell-io/-/cspell-io-4.0.17.tgz",
- "integrity": "sha512-srJnvfTm9QdrAGPx7OIR6MIZeXJPgwWupderhy4ywDQKgds4Yj1w3f10JWzHgsfWAwExAaEs3GZ4fEMUeWhnAA==",
+ "version": "4.0.18",
+ "resolved": "https://registry.npmjs.org/cspell-io/-/cspell-io-4.0.18.tgz",
+ "integrity": "sha512-gE3C9bzE8+1W0ThLZ5xeYY5/xqbvUTtnEdsSGQ4VStNyAzcMTzfvWDTtL478z4luAiOxiyNPtQ4clWLGAugSJQ==",
"dev": true,
"requires": {
"iconv-lite": "^0.4.24",
@@ -1333,9 +1358,9 @@
}
},
"cspell-lib": {
- "version": "4.0.25",
- "resolved": "https://registry.npmjs.org/cspell-lib/-/cspell-lib-4.0.25.tgz",
- "integrity": "sha512-EltUo+BBx15gCCYuDQ2V/pSPu1xIje9mdzCaEDoTJXIl1J5QVONmc91sukXLNEoymG4cdoZlnd2xg4fV/orynQ==",
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/cspell-lib/-/cspell-lib-4.1.0.tgz",
+ "integrity": "sha512-2ems0LpIONO51TIQRSiLvECR8RLT8dE2kcEtJS1TVAbh3VQMB2KnAWLLcbBCgqqmCRnYZ/hDrRScd5ZJ+9uZxQ==",
"dev": true,
"requires": {
"comment-json": "^1.1.3",
@@ -1358,8 +1383,8 @@
"cspell-dict-python": "^1.0.14",
"cspell-dict-rust": "^1.0.10",
"cspell-dict-scala": "^1.0.9",
- "cspell-io": "^4.0.17",
- "cspell-trie-lib": "^4.0.15",
+ "cspell-io": "^4.0.18",
+ "cspell-trie-lib": "^4.1.0",
"cspell-util-bundle": "^4.0.5",
"fs-extra": "^8.1.0",
"gensequence": "^2.1.2",
@@ -1380,9 +1405,9 @@
}
},
"cspell-trie-lib": {
- "version": "4.0.15",
- "resolved": "https://registry.npmjs.org/cspell-trie-lib/-/cspell-trie-lib-4.0.15.tgz",
- "integrity": "sha512-k3P03msJJh6Fhic9db7kva3+VodhvywvxxB5Q8Y7qF1xCu9zL2Zeoi+gA8ziL1QtUFqAqpzbDNPfiHhz6BaJsQ==",
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/cspell-trie-lib/-/cspell-trie-lib-4.1.0.tgz",
+ "integrity": "sha512-R7omOBBhiz1yu0Wp1an1Vcv+upNREQEel8c4XcUp3kJFpQIP39T4KQc4+oJ4D1g5To3flB0567vVuLAY9orMdg==",
"dev": true,
"requires": {
"gensequence": "^2.1.2",
@@ -1437,9 +1462,9 @@
},
"dependencies": {
"whatwg-url": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.0.0.tgz",
- "integrity": "sha512-37GeVSIJ3kn1JgKyjiYNmSLP1yzbpb29jdmwBSgkD9h40/hyrR/OifpVUndji3tmwGgD8qpw7iQu3RSbCrBpsQ==",
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz",
+ "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==",
"dev": true,
"requires": {
"lodash.sortby": "^4.7.0",
@@ -1963,9 +1988,9 @@
"dev": true
},
"fast-safe-stringify": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.6.tgz",
- "integrity": "sha512-q8BZ89jjc+mz08rSxROs8VsrBBcn1SIw1kq9NjolL509tkABRk9io01RAjSaEv1Xb2uFLt8VtRiZbGp5H8iDtg==",
+ "version": "2.0.7",
+ "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.7.tgz",
+ "integrity": "sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA==",
"dev": true
},
"fecha": {
@@ -2226,9 +2251,9 @@
"dev": true
},
"handlebars": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.2.0.tgz",
- "integrity": "sha512-Kb4xn5Qh1cxAKvQnzNWZ512DhABzyFNmsaJf3OAkWNa4NkaqWcNI8Tao8Tasi0/F4JD9oyG0YxuFyvyR57d+Gw==",
+ "version": "4.4.5",
+ "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.4.5.tgz",
+ "integrity": "sha512-0Ce31oWVB7YidkaTq33ZxEbN+UDxMMgThvCe8ptgQViymL5DPis9uLdTA13MiRPhgvqyxIegugrP97iK3JeBHg==",
"dev": true,
"requires": {
"neo-async": "^2.6.0",
@@ -2329,9 +2354,9 @@
"dev": true
},
"hosted-git-info": {
- "version": "2.8.4",
- "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.4.tgz",
- "integrity": "sha512-pzXIvANXEFrc5oFFXRMkbLPQ2rXRoDERwDLyrcUxGhaZhgP54BBSl9Oheh7Vv0T090cszWBxPjkQQ5Sq1PbBRQ==",
+ "version": "2.8.5",
+ "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.5.tgz",
+ "integrity": "sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg==",
"dev": true
},
"html-encoding-sniffer": {
@@ -2803,13 +2828,13 @@
"dev": true
},
"json-schema-faker": {
- "version": "0.5.0-rc17",
- "resolved": "https://registry.npmjs.org/json-schema-faker/-/json-schema-faker-0.5.0-rc17.tgz",
- "integrity": "sha512-ZQSLPpnsGiMBuPOHi09cAzhsiIeOcs5im2GAQ2P6XKyWOuetO8eYdYCP/kW7VVU891Ucan0/dl8GYbRA6pf9gw==",
+ "version": "0.5.0-rc22",
+ "resolved": "https://registry.npmjs.org/json-schema-faker/-/json-schema-faker-0.5.0-rc22.tgz",
+ "integrity": "sha512-I4uHXHapmR9qLJtzZSEHhhri1LMsaFsw3PycmFq0lBCR2Q1oIRm0OTPJbSbmIyPLJgN4+8+WRgR3AF0qmU1XDw==",
"dev": true,
"requires": {
- "json-schema-ref-parser": "^6.0.2",
- "jsonpath": "^1.0.1",
+ "json-schema-ref-parser": "^6.1.0",
+ "jsonpath-plus": "^1.0.0",
"randexp": "^0.5.3"
}
},
@@ -2864,6 +2889,12 @@
}
}
},
+ "jsonpath-plus": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-1.1.0.tgz",
+ "integrity": "sha512-ydqTBOuLcFCUr9e7AxJlKCFgxzEQ03HjnIim0hJSdk2NxD8MOsaMOrRgP6XWEm5q3VuDY5+cRT1DM9vLlGo/qA==",
+ "dev": true
+ },
"jsonschema": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/jsonschema/-/jsonschema-1.2.4.tgz",
@@ -2929,9 +2960,9 @@
}
},
"linq": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/linq/-/linq-3.2.0.tgz",
- "integrity": "sha512-rdmaLOf2tSCzZ75scdjjN/LVHGZzRu48ql9LdxppQec/pKpPtf8jlMDlPBX3rQnLMcGPtAx8Lel6YbF7jND70g==",
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/linq/-/linq-3.2.1.tgz",
+ "integrity": "sha512-BEhjQpbvrKPWlg5m/+PXTHsQoXzzR0UWCvgI8Hm+WtUMtTwPvw9Tay5CWfqsWSVk81wqbHNDFpFXyqBmm4/dqA==",
"dev": true
},
"load-json-file": {
@@ -3024,9 +3055,9 @@
},
"dependencies": {
"colors": {
- "version": "1.3.3",
- "resolved": "https://registry.npmjs.org/colors/-/colors-1.3.3.tgz",
- "integrity": "sha512-mmGt/1pZqYRjMxB1axhTo16/snVZ5krrKkcmMeVKxzECMMXoCgnvTPp10QgHfcbQZw8Dq2jMNG6je4JlWU0gWg==",
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz",
+ "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==",
"dev": true
}
}
@@ -3108,9 +3139,9 @@
}
},
"merge2": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.2.4.tgz",
- "integrity": "sha512-FYE8xI+6pjFOhokZu0We3S5NKCirLbCzSh2Usf3qEyr4X8U+0jNg9P8RZ4qz+V2UoECLVwSyzU3LxXBaLGtD3A==",
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.3.0.tgz",
+ "integrity": "sha512-2j4DAdlBOkiSZIsaXk4mTE3sRS02yBHAtfy127xRV3bQUFqXkjHCHLW6Scv7DwNRbIWNHH8zpnz9zMaKXIdvYw==",
"dev": true
},
"methods": {
@@ -4164,6 +4195,12 @@
"integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=",
"dev": true
},
+ "prettier": {
+ "version": "1.18.2",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.18.2.tgz",
+ "integrity": "sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==",
+ "dev": true
+ },
"process-nextick-args": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
@@ -4193,9 +4230,9 @@
"dev": true
},
"qs": {
- "version": "6.8.0",
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.8.0.tgz",
- "integrity": "sha512-tPSkj8y92PfZVbinY1n84i1Qdx75lZjMQYx9WZhnkofyxzw2r7Ho39G3/aEvSUdebxpnnM4LZJCtvE/Aq3+s9w==",
+ "version": "6.9.0",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.0.tgz",
+ "integrity": "sha512-27RP4UotQORTpmNQDX8BHPukOnBP3p1uUJY5UnDhaJB+rMt9iMsok724XL+UHU23bEFOHRMQ2ZhI99qOWUMGFA==",
"dev": true
},
"randexp": {
@@ -5107,20 +5144,20 @@
"dev": true
},
"uglify-js": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.6.0.tgz",
- "integrity": "sha512-W+jrUHJr3DXKhrsS7NUVxn3zqMOFn0hL/Ei6v0anCIMoKC93TjcflTagwIHLW7SfMFfiQuktQyFVCFHGUE0+yg==",
+ "version": "3.6.4",
+ "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.6.4.tgz",
+ "integrity": "sha512-9Yc2i881pF4BPGhjteCXQNaXx1DCwm3dtOyBaG2hitHjLWOczw/ki8vD1bqyT3u6K0Ms/FpCShkmfg+FtlOfYA==",
"dev": true,
"optional": true,
"requires": {
- "commander": "~2.20.0",
+ "commander": "~2.20.3",
"source-map": "~0.6.1"
},
"dependencies": {
"commander": {
- "version": "2.20.0",
- "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.0.tgz",
- "integrity": "sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==",
+ "version": "2.20.3",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
"dev": true,
"optional": true
},
@@ -5679,13 +5716,14 @@
}
},
"yasway": {
- "version": "1.8.4",
- "resolved": "https://registry.npmjs.org/yasway/-/yasway-1.8.4.tgz",
- "integrity": "sha512-Oo6dFvmazhQU6ceazUm59BVraptSXTDhvpW2K14DcpgeyTAyUUpJjuE7HJ4qyF+Ci6blIaQq9mOVHj8pCFhEjQ==",
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/yasway/-/yasway-1.8.5.tgz",
+ "integrity": "sha512-aa1qTc/LZna6fO/hEIqEhLKBaZ7PkCUDT9Zp75DtB9DeX+htS37Zr9kah0uzwoh0E9XoLhk42aQWBnUFJnLH9Q==",
"dev": true,
"requires": {
"@ts-common/json": "^0.3.0",
"@ts-common/string-map": "^0.3.0",
+ "@ts-common/z-schema": "^4.1.2",
"debug": "^4.1.1",
"faker": "^4.1.0",
"istanbul": "^0.4.5",
@@ -5697,10 +5735,28 @@
"native-promise-only": "^0.8.1",
"path-to-regexp": "^1.7.0",
"swagger-methods": "^1.0.8",
- "swagger-schema-official": "2.0.0-bab6bed",
- "z-schema": "^4.1.0"
+ "swagger-schema-official": "2.0.0-bab6bed"
},
"dependencies": {
+ "@ts-common/z-schema": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/@ts-common/z-schema/-/z-schema-4.1.2.tgz",
+ "integrity": "sha512-PDMAza1jpnCpUUSSVf3LBtTyeo5s9xLQlD68gvW3B0j+RbnxYK9CHHCeLOZxBoKviBgr8+tps6ZVmUCcMSmiFw==",
+ "dev": true,
+ "requires": {
+ "commander": "^2.7.1",
+ "core-js": "^3.2.1",
+ "lodash.get": "^4.4.2",
+ "lodash.isequal": "^4.5.0",
+ "validator": "^11.0.0"
+ }
+ },
+ "core-js": {
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.3.3.tgz",
+ "integrity": "sha512-0xmD4vUJRY8nfLyV9zcpC17FtSie5STXzw+HyYw2t8IIvmDnbq7RJUULECCo+NstpJtwK9kx8S+898iyqgeUow==",
+ "dev": true
+ },
"debug": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
@@ -5709,6 +5765,12 @@
"requires": {
"ms": "^2.1.1"
}
+ },
+ "validator": {
+ "version": "11.1.0",
+ "resolved": "https://registry.npmjs.org/validator/-/validator-11.1.0.tgz",
+ "integrity": "sha512-qiQ5ktdO7CD6C/5/mYV4jku/7qnqzjrxb3C/Q5wR3vGGinHTgJZN/TdFT3ZX4vXhX2R1PXx42fB1cn5W+uJ4lg==",
+ "dev": true
}
}
},
@@ -5730,24 +5792,17 @@
}
},
"z-schema": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/z-schema/-/z-schema-4.1.1.tgz",
- "integrity": "sha512-0aKvR9FgrghUXXndYNDmAEazl8jykuHSkqkmPw2ZSuTWuLcEscn1zUTbR3LEfyxHl5EEHpqqOpF+Sd7wZvuDxw==",
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/z-schema/-/z-schema-4.2.1.tgz",
+ "integrity": "sha512-UWhAk5QzeIhks51TjHa6d4WexEokzbbwT+Dzq9yOBOx9sNnALo4hpYz9CfJ6IUE2cmzB0vWW3KHePYOfw3L4gQ==",
"dev": true,
"requires": {
"commander": "^2.7.1",
- "core-js": "^3.2.1",
"lodash.get": "^4.4.2",
"lodash.isequal": "^4.5.0",
"validator": "^11.0.0"
},
"dependencies": {
- "core-js": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.2.1.tgz",
- "integrity": "sha512-Qa5XSVefSVPRxy2XfUC13WbvqkxhkwB3ve+pgCQveNgYzbM/UxZeu1dcOX/xr4UmfUd+muuvsaxilQzCyUurMw==",
- "dev": true
- },
"validator": {
"version": "11.1.0",
"resolved": "https://registry.npmjs.org/validator/-/validator-11.1.0.tgz",
diff --git a/.azure-pipelines-preproduction/package.json b/.azure-pipelines-preproduction/package.json
index c21610ca5bc0..9ead8a572f7b 100644
--- a/.azure-pipelines-preproduction/package.json
+++ b/.azure-pipelines-preproduction/package.json
@@ -17,13 +17,15 @@
"@ts-common/iterator": "^0.3.6",
"@types/js-yaml": "^3.12.1",
"@types/mocha": "^5.2.6",
- "cspell": "^4.0.12",
+ "@types/prettier": "^1.18.3",
+ "cspell": "^4.0.30",
"js-yaml": "^3.13.1",
"json-schema-ref-parser": "^6.1.0",
"mocha": "*",
"ts-node": "^8.1.0",
"tslib": "^1.10.0",
- "typescript": "3.5.3"
+ "typescript": "3.5.3",
+ "prettier": "^1.18.2"
},
"homepage": "https://github.com/azure/azure-rest-api-specs",
"repository": {
@@ -36,6 +38,8 @@
"scripts": {
"test": "tsc && mocha -t 500000 --reporter min",
"spellcheck": "ts-node ./scripts/spellcheck.ts",
+ "prettier-check": "tsc && ts-node ./scripts/prettier-check.ts",
+ "prettier": "prettier",
"tsc": "tsc",
"multiapi": "ts-node ./scripts/multiapi.ts"
}
diff --git a/.azure-pipelines/PrettierCheck.yml b/.azure-pipelines/PrettierCheck.yml
new file mode 100644
index 000000000000..f0dd05c49e7d
--- /dev/null
+++ b/.azure-pipelines/PrettierCheck.yml
@@ -0,0 +1,15 @@
+jobs:
+- job: "PrettierCheck"
+ condition: "not(variables['PRIVATE'])"
+ variables:
+ NODE_OPTIONS: '--max-old-space-size=8192'
+ pool:
+ vmImage: 'Ubuntu 18.04'
+ continueOnError: true
+ steps:
+ - task: Npm@1
+ displayName: 'npm install'
+ inputs:
+ verbose: false
+ - script: 'npm run prettier-check'
+ displayName: 'Run Prettier Check'
\ No newline at end of file
diff --git a/.prettierrc.json b/.prettierrc.json
new file mode 100644
index 000000000000..fe00946b4792
--- /dev/null
+++ b/.prettierrc.json
@@ -0,0 +1,5 @@
+{
+ "plugins": ["./scripts/prettier-swagger-plugin"],
+ "parser": "json-swagger",
+ "printWidth": 20
+}
diff --git a/package-lock.json b/package-lock.json
index 18eec5df7ddd..9a8c023c60fa 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -400,6 +400,12 @@
"@types/node": "*"
}
},
+ "@types/prettier": {
+ "version": "1.18.3",
+ "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-1.18.3.tgz",
+ "integrity": "sha512-48rnerQdcZ26odp+HOvDGX8IcUkYOCuMc2BodWYTe956MqkHlOGAG4oFQ83cjZ0a4GAgj7mb4GUClxYd2Hlodg==",
+ "dev": true
+ },
"@types/retry": {
"version": "0.12.0",
"resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz",
@@ -4179,6 +4185,12 @@
"integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=",
"dev": true
},
+ "prettier": {
+ "version": "1.18.2",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.18.2.tgz",
+ "integrity": "sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==",
+ "dev": true
+ },
"process-nextick-args": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
diff --git a/package.json b/package.json
index 48ec6018caff..332e317dda82 100644
--- a/package.json
+++ b/package.json
@@ -10,6 +10,7 @@
"description": "Tests for Azure REST API Specifications",
"license": "MIT",
"devDependencies": {
+ "@types/prettier": "^1.18.3",
"@azure/avocado": "^0.6.0",
"@azure/rest-api-specs-scripts": "^0.4.0",
"@ts-common/commonmark-to-markdown": "^1.2.0",
@@ -23,7 +24,8 @@
"mocha": "*",
"ts-node": "^8.1.0",
"tslib": "^1.10.0",
- "typescript": "3.5.3"
+ "typescript": "3.5.3",
+ "prettier": "^1.18.2"
},
"homepage": "https://github.com/azure/azure-rest-api-specs",
"repository": {
@@ -37,6 +39,8 @@
"postinstall": "scripts/switch-to-preproduction.sh",
"test": "tsc && mocha -t 500000 --reporter min",
"spellcheck": "ts-node ./scripts/spellcheck.ts",
+ "prettier-check": "tsc && ts-node ./scripts/prettier-check.ts",
+ "prettier": "prettier",
"tsc": "tsc",
"multiapi": "ts-node ./scripts/multiapi.ts"
}
diff --git a/preproduction-azure-pipelines.yml b/preproduction-azure-pipelines.yml
index 4315811071f5..cd70e5bcf008 100644
--- a/preproduction-azure-pipelines.yml
+++ b/preproduction-azure-pipelines.yml
@@ -16,3 +16,4 @@ jobs:
- template: .azure-pipelines/BranchProtectionForPrivateRepo.yml
- template: .azure-pipelines/BreakingChange.yml
- template: .azure-pipelines/ModelValidation.yml
+- template: .azure-pipelines/PrettierCheck.yml
diff --git a/scripts/prettier-check.ts b/scripts/prettier-check.ts
new file mode 100644
index 000000000000..5e3661cdcb3a
--- /dev/null
+++ b/scripts/prettier-check.ts
@@ -0,0 +1,22 @@
+import { runCheckOverChangedSpecFiles, logWarn, logError } from "./utils";
+
+runCheckOverChangedSpecFiles({
+ onCheckFile: (context, filePath) => {
+ return context.exec(`prettier -c ${filePath}`);
+ },
+
+ onExecError: async (result) => {
+ if (result.stdout) {
+ console.log(result.stdout);
+ }
+ },
+
+ onNotInCI: (context) => {
+ logWarn("Not in CI environment. Run against all the spec json.");
+ return context.exec(`prettier -c "specification/**/*.json"`);
+ },
+
+ onFinalFailed: async () => {
+ logError('Code style issues found in the above file(s). Please run `npm install && npm run prettier -- --write "specification//**/*.json"` to fix.')
+ }
+})
\ No newline at end of file
diff --git a/scripts/prettier-swagger-plugin.ts b/scripts/prettier-swagger-plugin.ts
new file mode 100644
index 000000000000..2d858e33e4fd
--- /dev/null
+++ b/scripts/prettier-swagger-plugin.ts
@@ -0,0 +1,92 @@
+import { ParserOptions, FastPath, Doc, doc, Plugin, AST } from 'prettier';
+import { parsers as bundledParsers } from 'prettier/parser-babylon';
+
+const { concat, indent, hardline, join } = doc.builders;
+
+// Modified from https://github.com/prettier/prettier/blob/master/src/language-js/printer-estree-json.js
+const print = (path: FastPath, _: ParserOptions, print: (path: FastPath) => Doc): Doc => {
+ const node = path.getValue();
+ switch (node.type) {
+ case "JsonRoot":
+ return concat([path.call(print, "node"), hardline]);
+ case "ArrayExpression":
+ return node.elements.length === 0
+ ? "[]"
+ : concat([
+ "[",
+ indent(
+ concat([
+ hardline,
+ join(concat([",", hardline]), path.map(print, "elements"))
+ ])
+ ),
+ hardline,
+ "]"
+ ]);
+ case "ObjectExpression":
+ return node.properties.length === 0
+ ? "{}"
+ : concat([
+ "{",
+ indent(
+ concat([
+ hardline,
+ join(concat([",", hardline]), path.map(print, "properties"))
+ ])
+ ),
+ hardline,
+ "}"
+ ]);
+ case "ObjectProperty":
+ return concat([path.call(print, "key"), ": ", path.call(print, "value")]);
+ case "UnaryExpression":
+ return concat([
+ node.operator === "+" ? "" : node.operator,
+ path.call(print, "argument")
+ ]);
+ case "NullLiteral":
+ return "null";
+ case "BooleanLiteral":
+ return node.value ? "true" : "false";
+ case "StringLiteral":
+ return JSON.stringify(node.value);
+ case "NumericLiteral":
+ // Modified: Keep numeric literal as-is
+ return node.extra.raw;
+ case "Identifier":
+ return JSON.stringify(node.name);
+ default:
+ /* istanbul ignore next */
+ throw new Error("unknown type: " + JSON.stringify(node.type));
+ }
+}
+
+const preprocess = (ast: AST, _: any): AST => {
+ return Object.assign({}, ast, {
+ type: "JsonRoot",
+ node: ast,
+ comments: []
+ });
+}
+
+export const languages: Plugin['languages'] = [
+ {
+ name: 'json-swagger',
+ extensions: ['.json'],
+ parsers: ['json-swagger']
+ }
+]
+
+export const parsers = {
+ 'json-swagger': {
+ ...bundledParsers['json-stringify'],
+ astFormat: 'estree-swagger-customized'
+ }
+};
+
+export const printers = {
+ 'estree-swagger-customized': {
+ preprocess,
+ print
+ }
+};
diff --git a/scripts/spellcheck.ts b/scripts/spellcheck.ts
index 17c411f3e115..357e943f238e 100644
--- a/scripts/spellcheck.ts
+++ b/scripts/spellcheck.ts
@@ -1,68 +1,25 @@
-import { devOps, cli, childProcess } from '@azure/avocado';
-import { ExecOptions } from 'child_process';
+import { logError, logWarn, runCheckOverChangedSpecFiles } from './utils';
-const logToAzureDevops = (msg: string, type: string) => {
- const lines = msg.split('\n');
- for (const line of lines) {
- console.log(`##vso[task.logissue type=${type}]${line}`);
- }
-}
-
-const logError = (msg: string) => logToAzureDevops(msg, 'error');
-const logWarn = (msg: string) => logToAzureDevops(msg, 'warning');
-
-const verboseExec = async (commandLine: string, options: ExecOptions = {}) => {
- console.log(commandLine);
- let result: any = {};
- try {
- result = await childProcess.exec(commandLine, options);
- } catch (e) {
- result = e;
- }
-
- if (!result.code) {
- return 0;
- }
-
- if (result.stdout) {
- logError(result.stdout);
- }
- if (result.stderr) {
- console.error(result.stderr);
- }
- return result.code;
-}
+runCheckOverChangedSpecFiles({
+ onCheckFile: (context, filePath) => {
+ return context.exec(`cspell ${filePath}`);
+ },
-const main = async () => {
- const config = cli.defaultConfig();
- const pr = await devOps.createPullRequestProperties(config);
- if (pr === undefined) {
- logWarn("Not in CI environment. Run against all the spec json.");
- return verboseExec(`cspell "specification/**/*.json"`);
- }
-
- const changedJsonFiles = await pr.structuralDiff()
- .filter(filePath => filePath.endsWith('.json') && filePath.startsWith('specification/'))
- .toArray();
- if (changedJsonFiles.length === 0) {
- logWarn("No changed spec json file");
- return 0;
- }
-
- let retCode = 0;
- for (const jsonFile of changedJsonFiles) {
- const code = await verboseExec(`cspell ${jsonFile}`);
- if (code !== 0) {
- retCode = code;
+ onExecError: async (result) => {
+ if (result.stdout) {
+ logError(result.stdout);
}
- }
+ if (result.stderr) {
+ console.error(result.stderr);
+ }
+ },
- return retCode;
-}
+ onNotInCI: (context) => {
+ logWarn("Not in CI environment. Run against all the spec json.");
+ return context.exec(`cspell "specification/**/*.json"`);
+ },
-main().then(retCode => {
- if (retCode !== 0) {
+ onFinalFailed: async () => {
logError('Please fix the error or add words to ./custom-words.txt');
}
- process.exit(retCode);
-});
+})
\ No newline at end of file
diff --git a/scripts/utils.ts b/scripts/utils.ts
new file mode 100644
index 000000000000..b3c61e431146
--- /dev/null
+++ b/scripts/utils.ts
@@ -0,0 +1,80 @@
+import { ExecOptions } from 'child_process';
+import { childProcess, cli, devOps } from '@azure/avocado';
+
+export const logToAzureDevops = (msg: string, type: string) => {
+ const lines = msg.split('\n');
+ for (const line of lines) {
+ console.log(`##vso[task.logissue type=${type}]${line}`);
+ }
+}
+
+export const logError = (msg: string) => logToAzureDevops(msg, 'error');
+export const logWarn = (msg: string) => logToAzureDevops(msg, 'warning');
+
+export type Exec = (commandLine: string, options?: ExecOptions) => Promise;
+export type CheckContext = {
+ exec: Exec;
+};
+export type CheckOptions = {
+ onExecError(result: childProcess.ExecResult): Promise;
+ onNotInCI(context: CheckContext): Promise;
+ onCheckFile(context: CheckContext, filePath: string): Promise;
+ onFinalFailed(context: CheckContext): Promise;
+}
+
+const internalCheck = async (checkOptions: CheckOptions) => {
+
+ const exec = async (commandLine: string, options: ExecOptions = {}) => {
+ console.log(commandLine);
+ let result: any = {};
+ try {
+ result = await childProcess.exec(commandLine, options);
+ } catch (e) {
+ result = e;
+ }
+
+ if (!result.code) {
+ return 0;
+ }
+ await checkOptions.onExecError(result);
+
+ return result.code;
+ }
+ const context: CheckContext = { exec };
+
+ const config = cli.defaultConfig();
+ const pr = await devOps.createPullRequestProperties(config);
+ if (pr === undefined) {
+ return checkOptions.onNotInCI(context);
+ }
+
+ const changedJsonFiles = (await pr.diff())
+ .map(change => change.path)
+ .filter(filePath => filePath.endsWith('.json') && filePath.startsWith('specification/'));
+ if (changedJsonFiles.length === 0) {
+ logWarn("No changed spec json file");
+ return;
+ }
+
+ let retCode = 0;
+ for (const jsonFile of changedJsonFiles) {
+ const code = await checkOptions.onCheckFile(context, jsonFile);
+ if (code !== 0) {
+ retCode = code;
+ }
+ }
+
+ if (retCode !== 0) {
+ await checkOptions.onFinalFailed(context);
+ }
+
+ process.exit(retCode);
+}
+
+export const runCheckOverChangedSpecFiles = (options: CheckOptions) => {
+ internalCheck(options).catch(e => {
+ console.error(e);
+ logError(`Fatal Error. Please report to adxsr@microsoft.com`);
+ process.exit(-1);
+ });
+}
From 638c8685316a1b8b275c50a33c30e77215ccf57d Mon Sep 17 00:00:00 2001
From: ayanMSFT <53790657+ayanMSFT@users.noreply.github.com>
Date: Tue, 29 Oct 2019 09:25:43 -0700
Subject: [PATCH 096/189] Cosmos DB Private Endpoint Connection Swagger
(#7563)
* Added Private Endpoint Cosmos DB Swagger spec
* Deleted generated
* Fixing ErrorResponse reference
* PrivateEndpointConnections_CreateOrUpdate has no 200 return, and removing 200 from CosmosDBPrivateEndpointConnectionDelete.json
* Moved Defeinitions to common-types/types.json, and removed references to stable paramaters/definitions
* Fixing Update example
* Fixing Update example
* Moving defs back into privateEndpointConnection.json
* reverting changes to types.json
---
...smosDBPrivateEndpointConnectionDelete.json | 13 +
.../CosmosDBPrivateEndpointConnectionGet.json | 28 ++
...mosDBPrivateEndpointConnectionListGet.json | 46 +++
...smosDBPrivateEndpointConnectionUpdate.json | 37 ++
.../privateEndpointConnection.json | 323 ++++++++++++++++++
.../cosmos-db/resource-manager/readme.md | 1 +
6 files changed, 448 insertions(+)
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionDelete.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionListGet.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionUpdate.json
create mode 100644 specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionDelete.json
new file mode 100644
index 000000000000..c00aa0f7f2a4
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "rg1",
+ "accountName": "ddb1",
+ "api-version": "2019-08-01-preview",
+ "privateEndpointConnectionName": "privateEndpointConnectionName"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionGet.json
new file mode 100644
index 000000000000..efaf62a4ab7e
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionGet.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "rg1",
+ "accountName": "ddb1",
+ "api-version": "2019-08-01-preview",
+ "privateEndpointConnectionName": "privateEndpointConnectionName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg1/providers/Microsoft.DocumentDb/databaseAccounts/ddb1/privateEndpointConnections/privateEndpointConnectionName",
+ "name": "privateEndpointConnectionName",
+ "type": "Microsoft.DocumentDb/databaseAccounts/privateEndpointConnections",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg1Network/providers/Microsoft.Network/privateEndpoints/privateEndpointName"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionListGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionListGet.json
new file mode 100644
index 000000000000..1810c8253c06
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionListGet.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "rg1",
+ "accountName": "ddb1",
+ "api-version": "2019-08-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDb/databaseAccounts/ddb1/privateEndpointConnections/privateEndpointConnectionName",
+ "name": "privateEndpointConnectionName",
+ "type": "Microsoft.DocumentDb/databaseAccounts/privateEndpointConnections",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg1Network/providers/Microsoft.Network/privateEndpoints/privateEndpointName"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionsRequired": "None"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDb/databaseAccounts/ddb1/privateEndpointConnections/privateEndpointConnectionName2",
+ "name": "privateEndpointConnectionName",
+ "type": "Microsoft.DocumentDb/databaseAccounts/privateEndpointConnections",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg1Network/providers/Microsoft.Network/privateEndpoints/privateEndpointName2"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionUpdate.json
new file mode 100644
index 000000000000..fd532a08f8f0
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionUpdate.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "rg1",
+ "accountName": "ddb1",
+ "api-version": "2019-08-01-preview",
+ "privateEndpointConnectionName": "privateEndpointConnectionName",
+ "parameters": {
+ "properties": {
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Approved by johndoe@contoso.com"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg1/providers/Microsoft.DocumentDb/databaseAccounts/ddb1/privateEndpointConnections/privateEndpointConnectionName",
+ "name": "privateEndpointConnectionName",
+ "type": "Microsoft.DocumentDb/databaseAccounts/privateEndpointConnections",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg1Network/providers/Microsoft.Network/privateEndpoints/privateEndpointName"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionsRequired": "None"
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json
new file mode 100644
index 000000000000..1f60ee390eec
--- /dev/null
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json
@@ -0,0 +1,323 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Cosmos DB",
+ "description": "Azure Cosmos DB Database Service Resource Provider REST API",
+ "version": "2019-08-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "Impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/privateEndpointConnections": {
+ "get": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "description": "List all private endpoint connections on a Cosmos DB account.",
+ "operationId": "PrivateEndpointConnections_ListByDatabaseAccount",
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved private endpoint connections.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnectionListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Gets private endpoint connection.": {
+ "$ref": "./examples/CosmosDBPrivateEndpointConnectionListGet.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}": {
+ "get": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "description": "Gets a private endpoint connection.",
+ "operationId": "PrivateEndpointConnections_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PrivateEndpointConnectionNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved a specified private endpoint connection.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Gets private endpoint connection.": {
+ "$ref": "./examples/CosmosDBPrivateEndpointConnectionGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "description": "Approve or reject a private endpoint connection with a given name.",
+ "operationId": "PrivateEndpointConnections_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PrivateEndpointConnectionNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully approved or rejected private endpoint connection.",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ },
+ "202": {
+ "description": "Accepted. The private endpoint connection update will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Approve or reject a private endpoint connection with a given name.": {
+ "$ref": "./examples/CosmosDBPrivateEndpointConnectionUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "PrivateEndpointConnections"
+ ],
+ "description": "Deletes a private endpoint connection with a given name.",
+ "operationId": "PrivateEndpointConnections_Delete",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/accountNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PrivateEndpointConnectionNameParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted. The private endpoint connection delete will complete asynchronously."
+ },
+ "204": {
+ "description": "Private endpoint connection does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Deletes a private endpoint connection with a given name.": {
+ "$ref": "./examples/CosmosDBPrivateEndpointConnectionDelete.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ErrorResponse": {
+ "properties": {
+ "code": {
+ "description": "Error code.",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ },
+ "description": "Error Response."
+ },
+ "PrivateEndpointConnectionListResult": {
+ "description": "A list of private endpoint connections",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "Array of private endpoint connections",
+ "items": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
+ }
+ }
+ },
+ "PrivateEndpointConnection": {
+ "description": "A private endpoint connection",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PrivateEndpointConnectionProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "PrivateEndpointConnectionProperties": {
+ "description": "Properties of a private endpoint connection.",
+ "type": "object",
+ "properties": {
+ "privateEndpoint": {
+ "$ref": "#/definitions/PrivateEndpointProperty",
+ "description": "Private endpoint which the connection belongs to."
+ },
+ "privateLinkServiceConnectionState": {
+ "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty",
+ "description": "Connection State of the Private Endpoint Connection."
+ }
+ }
+ },
+ "PrivateEndpointProperty": {
+ "type": "object",
+ "description": "Private endpoint which the connection belongs to.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Resource id of the private endpoint."
+ }
+ }
+ },
+ "PrivateLinkServiceConnectionStateProperty": {
+ "type": "object",
+ "description": "Connection State of the Private Endpoint Connection.",
+ "properties": {
+ "status": {
+ "type": "string",
+ "description": "The private link service connection status."
+ },
+ "description": {
+ "type": "string",
+ "description": "The private link service connection description."
+ },
+ "actionsRequired": {
+ "type": "string",
+ "description": "Any action that is required beyond basic workflow (approve/ reject/ disconnect)",
+ "readOnly": true
+ }
+ }
+ }
+ },
+ "parameters": {
+ "accountNameParameter": {
+ "name": "accountName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "Cosmos DB database account name.",
+ "minLength": 3,
+ "maxLength": 50,
+ "pattern": "^[a-z0-9]+(-[a-z0-9]+)*"
+ },
+ "PrivateEndpointConnectionNameParameter": {
+ "name": "privateEndpointConnectionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The name of the private endpoint connection."
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/cosmos-db/resource-manager/readme.md b/specification/cosmos-db/resource-manager/readme.md
index ecef4cd32fe3..5ef20766c3a0 100644
--- a/specification/cosmos-db/resource-manager/readme.md
+++ b/specification/cosmos-db/resource-manager/readme.md
@@ -53,6 +53,7 @@ These settings apply only when `--tag=package-2019-08-preview` is specified on t
input-file:
- Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json
- Microsoft.DocumentDB/preview/2019-08-01-preview/privateLinkResources.json
+- Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json
```
### Tag: package-2015-04
From 98d8ff51f86d8818db60dca16723d2d55d48ca52 Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Tue, 29 Oct 2019 16:29:36 +0000
Subject: [PATCH 097/189] regenerated all-api-versions
---
specification/cosmos-db/resource-manager/readme.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/specification/cosmos-db/resource-manager/readme.md b/specification/cosmos-db/resource-manager/readme.md
index 5ef20766c3a0..7333e31c4955 100644
--- a/specification/cosmos-db/resource-manager/readme.md
+++ b/specification/cosmos-db/resource-manager/readme.md
@@ -170,6 +170,7 @@ require: $(this-folder)/../../../profiles/readme.md
input-file:
- $(this-folder)/Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json
- $(this-folder)/Microsoft.DocumentDB/preview/2019-08-01-preview/privateLinkResources.json
+ - $(this-folder)/Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json
- $(this-folder)/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json
```
From b60da392c1e81998354e4269dc61efa997c2d545 Mon Sep 17 00:00:00 2001
From: Alfred Sin
Date: Tue, 29 Oct 2019 09:30:03 -0700
Subject: [PATCH 098/189] Update serial console swagger (#7444)
* Update serial console swagger 10/9/2019
* Make operationId casing consistent
* Fix formatting. Also, default is not a parameter
* Address build errors
* Describe GetOperations output
* Clarify scale set instance
* Add default back as a parameter, update examples accordingly
* Add x-ms-parameter-location
* rename GetSerialConsoleDisabledResult to SerialConsoleStatus and update example accordingly
---
.../examples/DisableConsoleExamples.json | 6 +-
.../examples/EnableConsoleExamples.json | 6 +-
.../examples/GetOperationsExample.json | 36 +++-
...Examples.json => SerialConsoleStatus.json} | 6 +-
.../stable/2018-05-01/serialconsole.json | 196 ++++++++++--------
5 files changed, 155 insertions(+), 95 deletions(-)
rename specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/{GetConsoleDisabledExamples.json => SerialConsoleStatus.json} (63%)
diff --git a/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/DisableConsoleExamples.json b/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/DisableConsoleExamples.json
index 550047d40f9a..35412a197eb8 100644
--- a/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/DisableConsoleExamples.json
+++ b/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/DisableConsoleExamples.json
@@ -10,10 +10,12 @@
"disabled": true
}
},
- "default": {
+ "404": {
"body": {
- "errorMessage": "This message will contain details on failure"
+ "code": "SubscriptionNotFound",
+ "message": "The subscription '00000000-00000-0000-0000-000000000000' could not be found."
}
}
}
}
+
diff --git a/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/EnableConsoleExamples.json b/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/EnableConsoleExamples.json
index 9f4e66b11dbc..6623955b79d6 100644
--- a/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/EnableConsoleExamples.json
+++ b/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/EnableConsoleExamples.json
@@ -10,10 +10,12 @@
"disabled": false
}
},
- "default": {
+ "404": {
"body": {
- "errorMessage": "This message will contain details on failure"
+ "code": "SubscriptionNotFound",
+ "message": "The subscription '00000000-00000-0000-0000-000000000000' could not be found."
}
}
}
}
+
diff --git a/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/GetOperationsExample.json b/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/GetOperationsExample.json
index f9c5bb42b637..afa01db38fe7 100644
--- a/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/GetOperationsExample.json
+++ b/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/GetOperationsExample.json
@@ -1,12 +1,42 @@
{
"parameters": {
- "api-version": "2018-05-01",
- "subscriptionId": "00000000-00000-0000-0000-000000000000"
+ "api-version": "2018-05-01"
},
"responses": {
"200": {
"body": {
- "value": "Get operations response"
+ "value": [
+ {
+ "name": "Microsoft.SerialConsole/consoleServices/read",
+ "isDataAction": "false",
+ "display": {
+ "provider": "Microsoft.SerialConsole",
+ "resource": "Serial Console instance",
+ "operation": "Default",
+ "description": "Retrieves the current subscription state"
+ }
+ },
+ {
+ "name": "Microsoft.SerialConsole/consoleServices/disableConsole/action",
+ "isDataAction": "false",
+ "display": {
+ "provider": "Microsoft.SerialConsole",
+ "resource": "Serial Console instance",
+ "operation": "Disable Console",
+ "description": "Disable Serial Console for a subscription"
+ }
+ },
+ {
+ "name": "Microsoft.SerialConsole/consoleServices/enableConsole/action",
+ "isDataAction": "false",
+ "display": {
+ "provider": "Microsoft.SerialConsole",
+ "resource": "Serial Console instance",
+ "operation": "Enable Console",
+ "description": "Enable Serial Console for a subscription"
+ }
+ }
+ ]
}
}
}
diff --git a/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/GetConsoleDisabledExamples.json b/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/SerialConsoleStatus.json
similarity index 63%
rename from specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/GetConsoleDisabledExamples.json
rename to specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/SerialConsoleStatus.json
index 4927ca78fac7..35412a197eb8 100644
--- a/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/GetConsoleDisabledExamples.json
+++ b/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/SerialConsoleStatus.json
@@ -10,10 +10,12 @@
"disabled": true
}
},
- "default": {
+ "404": {
"body": {
- "errorMessage": "This message contains details on failure"
+ "code": "SubscriptionNotFound",
+ "message": "The subscription '00000000-00000-0000-0000-000000000000' could not be found."
}
}
}
}
+
diff --git a/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/serialconsole.json b/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/serialconsole.json
index c036e0aa80aa..399166a01812 100644
--- a/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/serialconsole.json
+++ b/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/serialconsole.json
@@ -3,7 +3,7 @@
"info": {
"title": "MicrosoftSerialConsoleClient",
"version": "2018-05-01",
- "description": "Azure Virtual Machine Serial Console allows you to access serial console of a Virtual Machine"
+ "description": "The Azure Serial Console allows you to access the serial console of a Virtual Machine or VM scale set instance"
},
"host": "management.azure.com",
"schemes": [
@@ -34,18 +34,13 @@
}
},
"paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/operations": {
+ "/providers/Microsoft.SerialConsole/operations": {
"get": {
"tags": [
"SerialConsole"
],
- "operationId": "List_Operations",
+ "operationId": "ListOperations",
"description": "Gets a list of Serial Console API operations.",
- "x-ms-examples": {
- "List all Serial Console management operations supported by Serial Console RP": {
- "$ref": "./examples/GetOperationsExample.json"
- }
- },
"consumes": [
"application/json"
],
@@ -55,9 +50,6 @@
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -67,16 +59,22 @@
"$ref": "#/definitions/SerialConsoleOperations"
}
}
+ },
+ "x-ms-examples": {
+ "List all Serial Console management operations supported by Serial Console RP": {
+ "$ref": "./examples/GetOperationsExample.json"
+ }
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/consoleServices/{default}": {
"get": {
"tags": [
- "ConsoleDisabled"
+ "SerialConsole"
],
- "operationId": "ListConsole_Disabled",
- "description": "Gets if Serial Console is disabled for a subscription.",
+ "operationId": "GetConsoleStatus",
+ "summary": "Get the disabled status for a subscription",
+ "description": "Gets whether or not Serial Console is disabled for a given subscription",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -85,40 +83,38 @@
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "#/parameters/default"
+ "$ref": "#/parameters/defaultParameter"
}
],
"responses": {
"200": {
"description": "OK - Returns a JSON object",
"schema": {
- "$ref": "#/definitions/GetDisabledResult"
+ "$ref": "#/definitions/SerialConsoleStatus"
}
},
- "default": {
- "description": "Error response describing why the operation failed.",
+ "404": {
+ "description": "Subscription not found - returns a JSON object with error details",
"schema": {
- "$ref": "#/definitions/DeploymentValidateResult"
+ "$ref": "#/definitions/GetSerialConsoleSubscriptionNotFound"
}
}
},
"x-ms-examples": {
- "Successfully get whether or not Serial Console is disabled": {
- "$ref": "./examples/GetConsoleDisabledExamples.json"
- },
- "Get whether or not Serial Console is disabled and receive error": {
- "$ref": "./examples/GetConsoleDisabledExamples.json"
+ "Get the Serial Console disabled status for a subscription": {
+ "$ref": "./examples/SerialConsoleStatus.json"
}
}
}
},
- "/subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/consoleServices/{default}/enableConsole": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/consoleServices/{default}/disableConsole": {
"post": {
"tags": [
- "EnableConsole"
+ "SerialConsole"
],
- "operationId": "Console_EnableConsole",
- "description": "Enables Serial Console for a subscription",
+ "operationId": "DisableConsole",
+ "summary": "Disable Serial Console for a subscription",
+ "description":"Disables the Serial Console service for all VMs and VM scale sets in the provided subscription",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -127,40 +123,38 @@
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "#/parameters/default"
+ "$ref": "#/parameters/defaultParameter"
}
],
"responses": {
"200": {
- "description": "OK - Serial Console disabled",
+ "description": "OK - Returns a JSON object",
"schema": {
- "$ref": "#/definitions/SetDisabledResult"
+ "$ref": "#/definitions/DisableSerialConsoleResult"
}
},
- "default": {
- "description": "Error response describing why the operation failed.",
+ "404": {
+ "description": "Subscription not found - returns a JSON object with error details",
"schema": {
- "$ref": "#/definitions/DeploymentValidateResult"
+ "$ref": "#/definitions/GetSerialConsoleSubscriptionNotFound"
}
}
},
"x-ms-examples": {
- "Enable console successfully": {
- "$ref": "./examples/EnableConsoleExamples.json"
- },
- "Enable console with error": {
- "$ref": "./examples/EnableConsoleExamples.json"
+ "Disable Serial Console for a subscription": {
+ "$ref": "./examples/DisableConsoleExamples.json"
}
}
}
},
- "/subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/consoleServices/{default}/disableConsole": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/consoleServices/{default}/enableConsole": {
"post": {
"tags": [
- "DisableConsole"
+ "SerialConsole"
],
- "operationId": "Console_DisableConsole",
- "description": "Disables Serial Console for a subscription",
+ "operationId": "EnableConsole",
+ "summary": "Enable Serial Console for a subscription",
+ "description":"Enables the Serial Console service for all VMs and VM scale sets in the provided subscription",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -169,95 +163,121 @@
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "#/parameters/default"
+ "$ref": "#/parameters/defaultParameter"
}
],
"responses": {
"200": {
"description": "OK - Serial Console disabled",
"schema": {
- "$ref": "#/definitions/SetDisabledResult"
+ "$ref": "#/definitions/EnableSerialConsoleResult"
}
},
- "default": {
- "description": "Error response describing why the operation failed.",
+ "404": {
+ "description": "Subscription not found - returns a JSON object with error details",
"schema": {
- "$ref": "#/definitions/DeploymentValidateResult"
+ "$ref": "#/definitions/GetSerialConsoleSubscriptionNotFound"
}
}
},
"x-ms-examples": {
- "Enable console successfully": {
- "$ref": "./examples/DisableConsoleExamples.json"
- },
- "Disable console with error": {
- "$ref": "./examples/DisableConsoleExamples.json"
+ "Enable Serial Console for a subscription": {
+ "$ref": "./examples/EnableConsoleExamples.json"
}
}
}
}
},
"definitions": {
- "SerialConsoleGetResult": {
+ "SerialConsoleStatus": {
"title": "Serial Console GET Result",
"description": "Returns whether or not Serial Console is disabled.",
+ "type": "object",
"properties": {
- "value": {
+ "disabled": {
"description": "Whether or not Serial Console is disabled.",
"type": "boolean"
}
}
},
- "GetDisabledResult": {
- "title": "Get Disabled result",
- "description": "Returns whether or not Serial Console is disabled for this given subscription",
+ "DisableSerialConsoleResult": {
+ "title": "Serial Console Disable Result",
+ "description": "Returns whether or not Serial Console is disabled.",
+ "type": "object",
"properties": {
"disabled": {
- "description": "Disabled result",
+ "description": "Whether or not Serial Console is disabled.",
"type": "boolean"
}
}
},
- "SetDisabledResult": {
- "title": "Set Disabled result",
- "description": "Sets disable status and returns whether or not Serial Console is now disabled for this given subscription",
+ "EnableSerialConsoleResult": {
+ "title": "Serial Console Enable Result",
+ "description": "Returns whether or not Serial Console is disabled (enabled).",
+ "type": "object",
"properties": {
"disabled": {
- "description": "Disabled result",
+ "description": "Whether or not Serial Console is disabled (enabled).",
"type": "boolean"
}
}
},
- "DeploymentValidateResult": {
- "title": "Details on Failure",
- "description": "Details on Failure",
- "properties": {
- "errorMessage": {
- "description": "Error message",
- "type": "string"
- }
- }
- },
"SerialConsoleOperations": {
"title": "Serial Console operations",
"description": "Serial Console operations",
"type": "object",
"properties": {
"value": {
- "description": "Serial Console operations",
+ "description": "A list of Serial Console operations",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "isDataAction": {
+ "type": "string"
+ },
+ "display": {
+ "type": "object",
+ "properties": {
+ "provider": {
+ "type": "string"
+ },
+ "resource": {
+ "type": "string"
+ },
+ "operation": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "GetSerialConsoleSubscriptionNotFound": {
+ "title": "Serial Console subscription not found",
+ "description": "Error saying that the provided subscription could not be found",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
+ },
+ "message": {
+ "description": "Subscription not found message",
"type": "string"
}
}
}
},
"parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The ID of the target subscription."
- },
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
@@ -265,15 +285,19 @@
"type": "string",
"description": "The API version to use for this operation."
},
- "default": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Subscription ID which uniquely identifies the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call requiring it."
+ },
+ "defaultParameter": {
"name": "default",
"in": "path",
"required": true,
"type": "string",
- "description": "Default string modeled as parameter for URL to work correctly.",
- "enum": [
- "default"
- ],
+ "description": "Default parameter. Leave the value as \"default\".",
"x-ms-parameter-location": "method"
}
}
From 5349a57a7e9b5bc604847c69d92fd46cdcff7278 Mon Sep 17 00:00:00 2001
From: emgu-ms <32528205+emgu-ms@users.noreply.github.com>
Date: Tue, 29 Oct 2019 14:42:01 -0700
Subject: [PATCH 099/189] Failover Database Readable Secondary (#7405)
* Add swagger changes for failover databases and failover elastic pools
* Fixed api version for FailoverDatabases
* Add examples
* Add to read me
* Add swagger files for failover database readable secondaries
* Remove FailoverDatabaseReadableSecondary.json and include the extra parameter in FailoverDatabase.json instead
---
.../2018-06-01-preview/FailoverDatabases.json | 17 ++++++++++++++++-
.../FailoverElasticPools.json | 2 +-
.../examples/FailoverDatabase.json | 1 +
3 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverDatabases.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverDatabases.json
index bccaaed7ea96..71283166e94d 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverDatabases.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverDatabases.json
@@ -37,6 +37,21 @@
"required": true,
"type": "string"
},
+ {
+ "name": "replicaType",
+ "in": "query",
+ "description": "The type of replica to be failed over.",
+ "required": false,
+ "type": "string",
+ "enum": [
+ "Primary",
+ "ReadableSecondary"
+ ],
+ "x-ms-enum": {
+ "name": "ReplicaType",
+ "modelAsString": true
+ }
+ },
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
@@ -49,7 +64,7 @@
"description": "Successfully completed database failover."
},
"default": {
- "description": "*** Error Responses: ***\n\n * 400 ManagementServiceFeatureDisabled - User attempted to use a feature which is disabled.\n\n * 400 DatabaseFailoverThrottled - There was a recent failover on the database or pool if database belongs in an elastic pool.\n\n * 400 DatabaseFailoverNotSupported - This database type does not support customer initiated failovers.\n\n * 409 ManagementServiceDatabaseBusy - Database '{0}' is busy with another operation. Please try your operation later.\n\n * 409 DatabaseNotInStateToFailover - The database is currently in a state such that failover cannot be issued."
+ "description": "*** Error Responses: ***\n\n * 400 ManagementServiceFeatureDisabled - User attempted to use a feature which is disabled.\n\n * 400 DatabaseFailoverThrottled - There was a recent failover on the database or pool if database belongs in an elastic pool.\n\n * 400 DatabaseFailoverNotSupportedOnSKU - This type of customer initiated failover is not supported on the given SKU.\n\n * 409 ManagementServiceDatabaseBusy - Database '{0}' is busy with another operation. Please try your operation later.\n\n * 409 DatabaseNotInStateToFailover - The database is currently in a state such that failover cannot be issued."
},
"202": {
"description": "Database failover is in progress."
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverElasticPools.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverElasticPools.json
index 4a785ed20927..b3c944b5b94e 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverElasticPools.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/FailoverElasticPools.json
@@ -49,7 +49,7 @@
"description": "Successfully completed elastic pool failover."
},
"default": {
- "description": "*** Error Responses: ***\n\n * 400 ManagementServiceFeatureDisabled - User attempted to use a feature which is disabled.\n\n * 400 ElasticPoolFailoverThrottled - There was a recent failover on the elastic pool.\n\n * 400 ElasticPoolFailoverNotSupported - This elastic pool type or a database type within the elastic pool does not support customer initiated failovers.\n\n * 409 ManagementServiceDatabaseBusy - Database '{0}' is busy with another operation. Please try your operation later.\n\n * 409 ElasticPoolNotInStateToFailover - The elastic pool or a database within the elastic pool is currently in a state such that failover cannot be issued."
+ "description": "*** Error Responses: ***\n\n * 400 ManagementServiceFeatureDisabled - User attempted to use a feature which is disabled.\n\n * 400 ElasticPoolFailoverThrottled - There was a recent failover on the elastic pool.\n\n * 400 ElasticPoolFailoverNotSupportedOnSKU - This type of customer initiated failover is not supported on the given SKU.\n\n * 409 ManagementServiceDatabaseBusy - Database '{0}' is busy with another operation. Please try your operation later.\n\n * 409 ElasticPoolNotInStateToFailover - The elastic pool or a database within the elastic pool is currently in a state such that failover cannot be issued."
},
"202": {
"description": "Elastic pool failover is in progress."
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/FailoverDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/FailoverDatabase.json
index b058774456bd..c527b9727123 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/FailoverDatabase.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/FailoverDatabase.json
@@ -4,6 +4,7 @@
"resourceGroupName": "group1",
"serverName": "testServer",
"databaseName": "testDatabase",
+ "replicaType": "Primary",
"api-version": "2018-06-01-preview"
},
"responses": {
From 5a6b5072ded7a70ede7d6f73aa82cb04502e0904 Mon Sep 17 00:00:00 2001
From: Karthik Subramanian
Date: Tue, 29 Oct 2019 18:40:02 -0700
Subject: [PATCH 100/189] [TimeSeriesInsights] Query categorical variable and
warm store query parameter changes (#7609)
* Fix or suppress spec violations
Fix R2016 by making PATCH body properties optional. Suppress the remaining 4 violations that are confirmed as false positives.
* Try removing 2nd top-level heading, which _may_ have been causing a linter warning.
* Fix extra indention which prevented linter from running.
* Added dataStringComparisonBehavior parameter to reference data put/update spec.
* Fixed grammar.
* adding partitionkeyProperty to environmentInfo
* changing property name
* changing modelAsString
* Initial checkin of spec. Unchanged from GA release other than version.
* Remove .orig files
* Fix validation error by removing IoTHub ES from List ES example response
* Add extra example that was missing from preview spec.
* Add long-term environment to resource hierarchy, and update examples.
* Switch to model-as-string for enums. Restore EnvironmentResource's inheritance from TrackedResource.
* Upsate sku description
* Add new TSI preview api-version to readme.md.
* Add suppressions for false-positive linter failures.
* Test suppression failures
* Adding preview package tag to several other places in readme.md
* Add preview package to the readme.go.md file
* Remove invalid required property from EnvironmentCreateOrUpdateParameters
* Initial version of data plane swagger spec for PAYG (Preview) SKU.
* Added missing Readme.md
* Fixed name of readme
* Fixed path to swagger json
* Attempt to fix readme
* Apply suggestions from code review
Co-Authored-By: dmdenmsft
* Update timeseriesinsights.json
* Update timeseriesinsights.json
* Added link to oav issue
* Added changes for categorical variable kind and warm store query parameter in queries.
* Fix interpolation casing.
* Fixed encoding, spelling errors and avocado errors.
* Added long variables to categorical examples.
* Added long type and updated examples.
---
.../examples/ColdStoreAvailabilityGet.json | 35 ++++
.../examples/ColdStoreEventSchemaGet.json | 45 +++++
.../ColdStoreQueryAggregateSeriesPage1.json | 62 +++++++
.../ColdStoreQueryAggregateSeriesPage2.json | 145 +++++++++++++++
.../ColdStoreQueryGetEventsPage1.json | 40 +++++
.../ColdStoreQueryGetEventsPage2.json | 87 +++++++++
.../ColdStoreQueryGetEventsPage3.json | 60 +++++++
.../ColdStoreQueryGetEventsPage4.json | 42 +++++
.../ColdStoreQueryGetSeriesPage1.json | 43 +++++
.../ColdStoreQueryGetSeriesPage2.json | 76 ++++++++
.../ColdStoreQueryGetSeriesPage3.json | 55 ++++++
.../examples/QueryAggregateSeriesPage2.json | 22 +--
...esWithCategoricalInterpolatedVariable.json | 116 ++++++++++++
...ggregateSeriesWithCategoricalVariable.json | 108 +++++++++++
.../examples/QueryGetEventsWithTakePage2.json | 3 +-
.../examples/QueryGetSeriesWithTakePage2.json | 3 +-
.../examples/WarmStoreAvailabilityGet.json | 35 ++++
.../examples/WarmStoreEventSchemaGet.json | 45 +++++
.../WarmStoreQueryAggregateSeriesPage.json | 144 +++++++++++++++
.../WarmStoreQueryGetEventsPage1.json | 40 +++++
.../WarmStoreQueryGetEventsPage2.json | 87 +++++++++
.../WarmStoreQueryGetEventsPage3.json | 60 +++++++
.../WarmStoreQueryGetEventsPage4.json | 42 +++++
.../WarmStoreQueryGetSeriesPage1.json | 43 +++++
.../WarmStoreQueryGetSeriesPage2.json | 76 ++++++++
.../WarmStoreQueryGetSeriesPage3.json | 55 ++++++
.../timeseriesinsights.json | 168 +++++++++++++++++-
27 files changed, 1715 insertions(+), 22 deletions(-)
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreAvailabilityGet.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreEventSchemaGet.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryAggregateSeriesPage1.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryAggregateSeriesPage2.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage1.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage2.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage3.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage4.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetSeriesPage1.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetSeriesPage2.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetSeriesPage3.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalInterpolatedVariable.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalVariable.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreAvailabilityGet.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreEventSchemaGet.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryAggregateSeriesPage.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage1.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage2.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage3.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage4.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetSeriesPage1.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetSeriesPage2.json
create mode 100644 specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetSeriesPage3.json
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreAvailabilityGet.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreAvailabilityGet.json
new file mode 100644
index 000000000000..ba7137ce90b5
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreAvailabilityGet.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "storeType": "coldstore",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "clientRequestId": "A72703F6-C0B1-49EF-854A-59F1994F54E7",
+ "clientSessionId": "AlertCalculation_W7"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "x-ms-request-id": "0d59d156-2807-4952-87bb-0e074417dbfb"
+ },
+ "body": {
+ "availability": {
+ "intervalSize": "PT1H",
+ "distribution": {
+ "2019-03-27T04:00:00Z": 432447,
+ "2019-03-27T05:00:00Z": 432340,
+ "2019-03-27T06:00:00Z": 432451,
+ "2019-03-27T07:00:00Z": 432436,
+ "2019-03-26T13:00:00Z": 386247,
+ "2019-03-27T00:00:00Z": 436968,
+ "2019-03-27T01:00:00Z": 432509,
+ "2019-03-27T02:00:00Z": 432487
+ },
+ "range": {
+ "from": "2019-03-14T06:38:27.153Z",
+ "to": "2019-03-27T03:57:11.697Z"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreEventSchemaGet.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreEventSchemaGet.json
new file mode 100644
index 000000000000..a36ff3477740
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreEventSchemaGet.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "storeType": "coldstore",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "parameters": {
+ "searchSpan": {
+ "from": "2018-08-01T00:00:00.000Z",
+ "to": "2018-08-31T00:00:00.000Z"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": [
+ {
+ "name": "Building",
+ "type": "String"
+ },
+ {
+ "name": "Room",
+ "type": "String"
+ },
+ {
+ "name": "DeviceId",
+ "type": "Double"
+ },
+ {
+ "name": "Temperature",
+ "type": "Double"
+ },
+ {
+ "name": "Pressure",
+ "type": "Double"
+ },
+ {
+ "name": "Status",
+ "type": "String"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryAggregateSeriesPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryAggregateSeriesPage1.json
new file mode 100644
index 000000000000..7359328a8c69
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryAggregateSeriesPage1.json
@@ -0,0 +1,62 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "storeType": "coldstore",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "parameters": {
+ "aggregateSeries": {
+ "timeSeriesId": [
+ "006dfc2d-0324-4937-998c-d16f3b4f1952",
+ "T1"
+ ],
+ "searchSpan": {
+ "from": "2016-08-01T00:00:00Z",
+ "to": "2016-08-01T00:16:50Z"
+ },
+ "interval": "PT1M",
+ "inlineVariables": {
+ "Count": {
+ "kind": "aggregate",
+ "filter": null,
+ "aggregation": {
+ "tsx": "count()"
+ }
+ },
+ "MinTemperature": {
+ "kind": "numeric",
+ "value": {
+ "tsx": "$event.Temperature"
+ },
+ "filter": null,
+ "aggregation": {
+ "tsx": "min($value)"
+ }
+ },
+ "MaxTemperature": {
+ "kind": "numeric",
+ "value": {
+ "tsx": "$event.Temperature"
+ },
+ "filter": null,
+ "aggregation": {
+ "tsx": "max($value)"
+ }
+ }
+ },
+ "projectedVariables": [
+ "Count",
+ "MinTemperature",
+ "MaxTemperature"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "progress": 50.0,
+ "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0="
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryAggregateSeriesPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryAggregateSeriesPage2.json
new file mode 100644
index 000000000000..a77512577cf5
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryAggregateSeriesPage2.json
@@ -0,0 +1,145 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "storeType": "coldstore",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=",
+ "parameters": {
+ "aggregateSeries": {
+ "timeSeriesId": [
+ "006dfc2d-0324-4937-998c-d16f3b4f1952",
+ "T1"
+ ],
+ "searchSpan": {
+ "from": "2016-08-01T00:00:00Z",
+ "to": "2016-08-01T00:16:50Z"
+ },
+ "interval": "PT1M",
+ "inlineVariables": {
+ "Count": {
+ "kind": "aggregate",
+ "filter": null,
+ "aggregation": {
+ "tsx": "count()"
+ }
+ },
+ "MinTemperature": {
+ "kind": "numeric",
+ "value": {
+ "tsx": "$event.Temperature"
+ },
+ "filter": null,
+ "aggregation": {
+ "tsx": "min($value)"
+ }
+ },
+ "MaxTemperature": {
+ "kind": "numeric",
+ "value": {
+ "tsx": "$event.Temperature"
+ },
+ "filter": null,
+ "aggregation": {
+ "tsx": "max($value)"
+ }
+ }
+ },
+ "projectedVariables": [
+ "Count",
+ "MinTemperature",
+ "MaxTemperature"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "timestamps": [
+ "2016-08-01T00:00:00Z",
+ "2016-08-01T00:01:00Z",
+ "2016-08-01T00:02:00Z",
+ "2016-08-01T00:03:00Z",
+ "2016-08-01T00:04:00Z",
+ "2016-08-01T00:05:00Z",
+ "2016-08-01T00:06:00Z",
+ "2016-08-01T00:07:00Z",
+ "2016-08-01T00:08:00Z",
+ "2016-08-01T00:09:00Z",
+ "2016-08-01T00:10:00Z"
+ ],
+ "properties": [
+ {
+ "name": "Count",
+ "type": "Long",
+ "values": [
+ 50,
+ 60,
+ 60,
+ 60,
+ 60,
+ 60,
+ 60,
+ 60,
+ 60,
+ 60,
+ null
+ ]
+ },
+ {
+ "name": "AverageTemperature",
+ "type": "Double",
+ "values": [
+ 71.25,
+ 85.0,
+ 82.5,
+ 80.0,
+ 89.166666666666671,
+ 75.0,
+ 90.0,
+ 75.833333333333329,
+ 85.0,
+ 82.5,
+ null
+ ]
+ },
+ {
+ "name": "MinTemperature",
+ "type": "Double",
+ "values": [
+ 65.125,
+ 77.625,
+ 65.125,
+ 72.625,
+ 65.125,
+ 67.625,
+ 82.625,
+ 65.125,
+ 77.625,
+ 65.125,
+ null
+ ]
+ },
+ {
+ "name": "MaxTemperature",
+ "type": "Double",
+ "values": [
+ 77.375,
+ 92.375,
+ 99.875,
+ 87.375,
+ 99.875,
+ 82.375,
+ 97.375,
+ 99.875,
+ 92.375,
+ 99.875,
+ null
+ ]
+ }
+ ],
+ "progress": 100.0
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage1.json
new file mode 100644
index 000000000000..490978a50ebd
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage1.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "storeType": "coldstore",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "parameters": {
+ "getEvents": {
+ "timeSeriesId": [
+ "006dfc2d-0324-4937-998c-d16f3b4f1952",
+ "T1"
+ ],
+ "searchSpan": {
+ "from": "2016-08-01T00:00:00Z",
+ "to": "2016-08-01T00:16:50Z"
+ },
+ "filter": {
+ "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
+ },
+ "projectedProperties": [
+ {
+ "name": "Building",
+ "type": "String"
+ },
+ {
+ "name": "Temperature",
+ "type": "Double"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "progress": 50.0,
+ "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0="
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage2.json
new file mode 100644
index 000000000000..5a56e4aba6fd
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage2.json
@@ -0,0 +1,87 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "storeType": "coldstore",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=",
+ "parameters": {
+ "getEvents": {
+ "timeSeriesId": [
+ "006dfc2d-0324-4937-998c-d16f3b4f1952",
+ "T1"
+ ],
+ "searchSpan": {
+ "from": "2016-08-01T00:00:00Z",
+ "to": "2016-08-01T00:16:50Z"
+ },
+ "filter": {
+ "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
+ },
+ "projectedProperties": [
+ {
+ "name": "Building",
+ "type": "String"
+ },
+ {
+ "name": "Temperature",
+ "type": "Double"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "timestamps": [
+ "2016-08-01T00:00:10Z",
+ "2016-08-01T00:00:11Z",
+ "2016-08-01T00:00:12Z",
+ "2016-08-01T00:00:13Z",
+ "2016-08-01T00:00:14Z",
+ "2016-08-01T00:00:15Z",
+ "2016-08-01T00:00:16Z",
+ "2016-08-01T00:00:17Z",
+ "2016-08-01T00:00:18Z",
+ "2016-08-01T00:00:19Z"
+ ],
+ "properties": [
+ {
+ "name": "Building",
+ "type": "String",
+ "values": [
+ "Millenium",
+ "Millenium",
+ "Millenium",
+ "Millenium",
+ "Millenium",
+ "Millenium",
+ "Millenium",
+ "Millenium",
+ "Millenium",
+ "Millenium"
+ ]
+ },
+ {
+ "name": "Temperature",
+ "type": "Double",
+ "values": [
+ 65.125,
+ 65.375,
+ 65.625,
+ 65.875,
+ 66.125,
+ 66.375,
+ 66.625,
+ 66.875,
+ 67.125,
+ 67.375
+ ]
+ }
+ ],
+ "progress": 50.0,
+ "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0="
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage3.json
new file mode 100644
index 000000000000..0bc2757452ca
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage3.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "storeType": "coldstore",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0=",
+ "parameters": {
+ "getEvents": {
+ "timeSeriesId": [
+ "006dfc2d-0324-4937-998c-d16f3b4f1952",
+ "T1"
+ ],
+ "searchSpan": {
+ "from": "2016-08-01T00:00:00Z",
+ "to": "2016-08-01T00:16:50Z"
+ },
+ "filter": {
+ "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
+ },
+ "projectedProperties": [
+ {
+ "name": "Building",
+ "type": "String"
+ },
+ {
+ "name": "Temperature",
+ "type": "Double"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "timestamps": [
+ "2016-08-01T00:00:20Z"
+ ],
+ "properties": [
+ {
+ "name": "Building",
+ "type": "String",
+ "values": [
+ "Millenium"
+ ]
+ },
+ {
+ "name": "Temperature",
+ "type": "Double",
+ "values": [
+ 67.575
+ ]
+ }
+ ],
+ "progress": 50.0,
+ "continuationToken": "aXsic2tpcCI6MTAbCDewidGFrZSI6MTAwMH0="
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage4.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage4.json
new file mode 100644
index 000000000000..db20c0bc8f59
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage4.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "storeType": "coldstore",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "continuationToken": "aXsic2tpcCI6MTAbCDewidGFrZSI6MTAwMH0=",
+ "parameters": {
+ "getEvents": {
+ "timeSeriesId": [
+ "006dfc2d-0324-4937-998c-d16f3b4f1952",
+ "T1"
+ ],
+ "searchSpan": {
+ "from": "2016-08-01T00:00:00Z",
+ "to": "2016-08-01T00:16:50Z"
+ },
+ "filter": {
+ "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
+ },
+ "projectedProperties": [
+ {
+ "name": "Building",
+ "type": "String"
+ },
+ {
+ "name": "Temperature",
+ "type": "Double"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "timestamps": [],
+ "properties": [],
+ "progress": 100.0
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetSeriesPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetSeriesPage1.json
new file mode 100644
index 000000000000..c5b75b0e8141
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetSeriesPage1.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "storeType": "coldstore",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "parameters": {
+ "getSeries": {
+ "timeSeriesId": [
+ "006dfc2d-0324-4937-998c-d16f3b4f1952",
+ "T1"
+ ],
+ "searchSpan": {
+ "from": "2016-08-01T00:00:00Z",
+ "to": "2016-08-01T00:16:50Z"
+ },
+ "filter": null,
+ "inlineVariables": {
+ "temperatures": {
+ "kind": "numeric",
+ "value": {
+ "tsx": "$event.Temperature"
+ },
+ "filter": null,
+ "aggregation": {
+ "tsx": "avg($value)"
+ }
+ }
+ },
+ "projectedVariables": [
+ "temperatures"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "progress": 50.0,
+ "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0="
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetSeriesPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetSeriesPage2.json
new file mode 100644
index 000000000000..0f98a240eae6
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetSeriesPage2.json
@@ -0,0 +1,76 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "storeType": "coldstore",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=",
+ "parameters": {
+ "getSeries": {
+ "timeSeriesId": [
+ "006dfc2d-0324-4937-998c-d16f3b4f1952",
+ "T1"
+ ],
+ "searchSpan": {
+ "from": "2016-08-01T00:00:00Z",
+ "to": "2016-08-01T00:16:50Z"
+ },
+ "filter": null,
+ "inlineVariables": {
+ "temperatures": {
+ "kind": "numeric",
+ "value": {
+ "tsx": "$event.Temperature"
+ },
+ "filter": null,
+ "aggregation": {
+ "tsx": "avg($value)"
+ }
+ }
+ },
+ "projectedVariables": [
+ "temperatures"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "timestamps": [
+ "2016-08-01T00:00:10Z",
+ "2016-08-01T00:00:11Z",
+ "2016-08-01T00:00:12Z",
+ "2016-08-01T00:00:13Z",
+ "2016-08-01T00:00:14Z",
+ "2016-08-01T00:00:15Z",
+ "2016-08-01T00:00:16Z",
+ "2016-08-01T00:00:17Z",
+ "2016-08-01T00:00:18Z",
+ "2016-08-01T00:00:19Z",
+ "2016-08-01T00:00:20Z"
+ ],
+ "properties": [
+ {
+ "name": "temperatures",
+ "type": "Double",
+ "values": [
+ 65.125,
+ 65.375,
+ 65.625,
+ 65.875,
+ 66.125,
+ 66.375,
+ 66.625,
+ 66.875,
+ 67.125,
+ 67.375,
+ 67.625
+ ]
+ }
+ ],
+ "progress": 50.0,
+ "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0="
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetSeriesPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetSeriesPage3.json
new file mode 100644
index 000000000000..6e8e10631475
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetSeriesPage3.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "storeType": "coldstore",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0=",
+ "parameters": {
+ "getSeries": {
+ "timeSeriesId": [
+ "006dfc2d-0324-4937-998c-d16f3b4f1952",
+ "T1"
+ ],
+ "searchSpan": {
+ "from": "2016-08-01T00:00:00Z",
+ "to": "2016-08-01T00:16:50Z"
+ },
+ "filter": null,
+ "inlineVariables": {
+ "temperatures": {
+ "kind": "numeric",
+ "value": {
+ "tsx": "$event.Temperature"
+ },
+ "filter": null,
+ "aggregation": {
+ "tsx": "avg($value)"
+ }
+ }
+ },
+ "projectedVariables": [
+ "temperatures"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "timestamps": [
+ "2016-08-01T00:00:21Z"
+ ],
+ "properties": [
+ {
+ "name": "temperatures",
+ "type": "Double",
+ "values": [
+ 67.825
+ ]
+ }
+ ],
+ "progress": 100.0
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage2.json
index 02e41bcb8205..9c0424d1ada5 100644
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage2.json
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage2.json
@@ -70,18 +70,18 @@
"properties": [
{
"name": "Count",
- "type": "Double",
+ "type": "Long",
"values": [
- 50.0,
- 60.0,
- 60.0,
- 60.0,
- 60.0,
- 60.0,
- 60.0,
- 60.0,
- 60.0,
- 60.0,
+ 50,
+ 60,
+ 60,
+ 60,
+ 60,
+ 60,
+ 60,
+ 60,
+ 60,
+ 60,
null
]
},
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalInterpolatedVariable.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalInterpolatedVariable.json
new file mode 100644
index 000000000000..2dd30b2a0430
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalInterpolatedVariable.json
@@ -0,0 +1,116 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=",
+ "parameters": {
+ "aggregateSeries": {
+ "searchSpan": {
+ "from": "2019-10-10T23:41:04.021Z",
+ "to": "2019-10-10T23:42:22.846Z"
+ },
+ "timeSeriesId": [ "Sensor_58" ],
+ "interval": "PT2S",
+ "inlineVariables": {
+ "Status_String": {
+ "kind": "categorical",
+ "value": { "tsx": "$event.[Status].String" },
+ "interpolation": {
+ "kind": "Step",
+ "boundary": { "span": "PT5S" }
+ },
+ "categories": [
+ {
+ "label": "Good",
+ "values": [ "Good", "Very Good", "Excellent" ]
+ },
+ {
+ "label": "Bad",
+ "values": [ "Bad", "OK" ]
+ },
+ {
+ "label": "Other",
+ "values": [ "Other" ]
+ }
+ ],
+ "defaultCategory": { "label": "Unknown" }
+ },
+ "Status_Long": {
+ "kind": "categorical",
+ "value": { "tsx": "tolong($event.[Status].Double)" },
+ "interpolation": {
+ "kind": "Step",
+ "boundary": { "span": "PT5S" }
+ },
+ "categories": [
+ {
+ "label": "Good",
+ "values": [ 0, 1, 2 ]
+ },
+ {
+ "label": "Bad",
+ "values": [ 3, 4 ]
+ },
+ {
+ "label": "Other",
+ "values": [ 5 ]
+ }
+ ],
+ "defaultCategory": { "label": "Unknown" }
+ }
+ },
+ "projectedVariables": [ "Status_String", "Status_Long" ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "timestamps": [ "2019-10-10T23:41:04Z", "2019-10-10T23:41:06Z", "2019-10-10T23:41:08Z", "2019-10-10T23:41:10Z", "2019-10-10T23:41:12Z", "2019-10-10T23:41:14Z", "2019-10-10T23:41:16Z", "2019-10-10T23:41:18Z", "2019-10-10T23:41:20Z", "2019-10-10T23:41:22Z"],
+ "properties": [
+ {
+ "values": [ 0.203, 0.141, 0.268, 0.398, 0.402, 0.047, 0.1245, 0.75, 0.206, 0.2635],
+ "name": "Status_String[Good]",
+ "type": "Double"
+ },
+ {
+ "values": [ 0.266, 0.1955, 0.242, 0.148, 0.25, 0.055, 0.6295, 0.109, 0.41, 0.2125],
+ "name": "Status_String[Bad]",
+ "type": "Double"
+ },
+ {
+ "values": [ 0.5205, 0.6635, 0.49, 0.454, 0.348, 0.898, 0.246, 0.141, 0.384, 0.524],
+ "name": "Status_String[Other]",
+ "type": "Double"
+ },
+ {
+ "values": [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+ "name": "Status_String[Unknown]",
+ "type": "Double"
+ },
+ {
+ "values": [ 0.203, 0.141, 0.268, 0.398, 0.402, 0.047, 0.1245, 0.75, 0.206, 0.2635],
+ "name": "Status_Long[Good]",
+ "type": "Double"
+ },
+ {
+ "values": [ 0.266, 0.1955, 0.242, 0.148, 0.25, 0.055, 0.6295, 0.109, 0.41, 0.2125],
+ "name": "Status_Long[Bad]",
+ "type": "Double"
+ },
+ {
+ "values": [ 0.5205, 0.6635, 0.49, 0.454, 0.348, 0.898, 0.246, 0.141, 0.384, 0.524],
+ "name": "Status_Long[Other]",
+ "type": "Double"
+ },
+ {
+ "values": [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+ "name": "Status_Long[Unknown]",
+ "type": "Double"
+ }
+ ],
+ "progress": 100.0
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalVariable.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalVariable.json
new file mode 100644
index 000000000000..7d37d0d6d3af
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalVariable.json
@@ -0,0 +1,108 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=",
+ "parameters": {
+ "aggregateSeries": {
+ "searchSpan": {
+ "from": "2019-10-10T23:42:00.000Z",
+ "to": "2019-10-10T23:42:20.000Z"
+ },
+ "timeSeriesId": [ "Sensor_58" ],
+ "interval": "PT2S",
+ "inlineVariables": {
+ "Status_String": {
+ "kind": "categorical",
+ "value": { "tsx": "$event.[Status].String" },
+ "categories": [
+ {
+ "label": "Good",
+ "values": [ "Good", "Very Good", "Excellent" ]
+ },
+ {
+ "label": "Bad",
+ "values": [ "Bad", "OK" ]
+ },
+ {
+ "label": "Other",
+ "values": [ "Other" ]
+ }
+ ],
+ "defaultCategory": { "label": "Unknown" }
+ },
+ "Status_Long": {
+ "kind": "categorical",
+ "value": { "tsx": "tolong($event.[Status].Double)" },
+ "categories": [
+ {
+ "label": "Good",
+ "values": [ 0, 1, 2 ]
+ },
+ {
+ "label": "Bad",
+ "values": [ 3, 4 ]
+ },
+ {
+ "label": "Other",
+ "values": [ 5 ]
+ }
+ ],
+ "defaultCategory": { "label": "Unknown" }
+ }
+ },
+ "projectedVariables": [ "Status_String", "Status_Long" ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "timestamps": [ "2019-10-10T23:42:00Z", "2019-10-10T23:42:02Z", "2019-10-10T23:42:04Z", "2019-10-10T23:42:06Z", "2019-10-10T23:42:08Z", "2019-10-10T23:42:10Z", "2019-10-10T23:42:12Z", "2019-10-10T23:42:14Z", "2019-10-10T23:42:16Z", "2019-10-10T23:42:18Z" ],
+ "properties": [
+ {
+ "values": [ 5, 8, 4, 6, 9, 8, 3, 6, 5, 8 ],
+ "name": "Status_String[Good]",
+ "type": "Long"
+ },
+ {
+ "values": [ 4, 3, 3, 5, 5, 3, 9, 7, 7, 7 ],
+ "name": "Status_String[Bad]",
+ "type": "Long"
+ },
+ {
+ "values": [ 11, 9, 13, 9, 6, 9, 8, 7, 8, 5 ],
+ "name": "Status_String[Other]",
+ "type": "Long"
+ },
+ {
+ "values": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
+ "name": "Status_String[Unknown]",
+ "type": "Long"
+ },
+ {
+ "values": [ 5, 8, 4, 6, 9, 8, 3, 6, 5, 8 ],
+ "name": "Status_Long[Good]",
+ "type": "Long"
+ },
+ {
+ "values": [ 4, 3, 3, 5, 5, 3, 9, 7, 7, 7 ],
+ "name": "Status_Long[Bad]",
+ "type": "Long"
+ },
+ {
+ "values": [ 11, 9, 13, 9, 6, 9, 8, 7, 8, 5 ],
+ "name": "Status_Long[Other]",
+ "type": "Long"
+ },
+ {
+ "values": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
+ "name": "Status_Long[Unknown]",
+ "type": "Long"
+ }
+ ],
+ "progress": 100.0
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage2.json
index 7bdf6934dfc1..0ffea83b8f92 100644
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage2.json
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage2.json
@@ -79,8 +79,7 @@
]
}
],
- "progress": 100.0,
- "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0="
+ "progress": 100.0
}
}
}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage2.json
index aeec1e2fba8f..881ca18e3ef6 100644
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage2.json
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage2.json
@@ -68,8 +68,7 @@
]
}
],
- "progress": 100.0,
- "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0="
+ "progress": 100.0
}
}
}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreAvailabilityGet.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreAvailabilityGet.json
new file mode 100644
index 000000000000..df5dc1e450cc
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreAvailabilityGet.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "storeType": "warmstore",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "clientRequestId": "A72703F6-C0B1-49EF-854A-59F1994F54E7",
+ "clientSessionId": "AlertCalculation_W7"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "x-ms-request-id": "0d59d156-2807-4952-87bb-0e074417dbfb"
+ },
+ "body": {
+ "availability": {
+ "intervalSize": "PT1H",
+ "distribution": {
+ "2019-03-27T04:00:00Z": 432447,
+ "2019-03-27T05:00:00Z": 432340,
+ "2019-03-27T06:00:00Z": 432451,
+ "2019-03-27T07:00:00Z": 432436,
+ "2019-03-26T13:00:00Z": 386247,
+ "2019-03-27T00:00:00Z": 436968,
+ "2019-03-27T01:00:00Z": 432509,
+ "2019-03-27T02:00:00Z": 432487
+ },
+ "range": {
+ "from": "2019-03-14T06:38:27.153Z",
+ "to": "2019-03-27T03:57:11.697Z"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreEventSchemaGet.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreEventSchemaGet.json
new file mode 100644
index 000000000000..3224057c5d35
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreEventSchemaGet.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "storeType": "warmstore",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "parameters": {
+ "searchSpan": {
+ "from": "2018-08-01T00:00:00.000Z",
+ "to": "2018-08-31T00:00:00.000Z"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": [
+ {
+ "name": "Building",
+ "type": "String"
+ },
+ {
+ "name": "Room",
+ "type": "String"
+ },
+ {
+ "name": "DeviceId",
+ "type": "Double"
+ },
+ {
+ "name": "Temperature",
+ "type": "Double"
+ },
+ {
+ "name": "Pressure",
+ "type": "Double"
+ },
+ {
+ "name": "Status",
+ "type": "String"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryAggregateSeriesPage.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryAggregateSeriesPage.json
new file mode 100644
index 000000000000..ec779d733858
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryAggregateSeriesPage.json
@@ -0,0 +1,144 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "storeType": "warmstore",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "parameters": {
+ "aggregateSeries": {
+ "timeSeriesId": [
+ "006dfc2d-0324-4937-998c-d16f3b4f1952",
+ "T1"
+ ],
+ "searchSpan": {
+ "from": "2016-08-01T00:00:00Z",
+ "to": "2016-08-01T00:16:50Z"
+ },
+ "interval": "PT1M",
+ "inlineVariables": {
+ "Count": {
+ "kind": "aggregate",
+ "filter": null,
+ "aggregation": {
+ "tsx": "count()"
+ }
+ },
+ "MinTemperature": {
+ "kind": "numeric",
+ "value": {
+ "tsx": "$event.Temperature"
+ },
+ "filter": null,
+ "aggregation": {
+ "tsx": "min($value)"
+ }
+ },
+ "MaxTemperature": {
+ "kind": "numeric",
+ "value": {
+ "tsx": "$event.Temperature"
+ },
+ "filter": null,
+ "aggregation": {
+ "tsx": "max($value)"
+ }
+ }
+ },
+ "projectedVariables": [
+ "Count",
+ "MinTemperature",
+ "MaxTemperature"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "timestamps": [
+ "2016-08-01T00:00:00Z",
+ "2016-08-01T00:01:00Z",
+ "2016-08-01T00:02:00Z",
+ "2016-08-01T00:03:00Z",
+ "2016-08-01T00:04:00Z",
+ "2016-08-01T00:05:00Z",
+ "2016-08-01T00:06:00Z",
+ "2016-08-01T00:07:00Z",
+ "2016-08-01T00:08:00Z",
+ "2016-08-01T00:09:00Z",
+ "2016-08-01T00:10:00Z"
+ ],
+ "properties": [
+ {
+ "name": "Count",
+ "type": "Long",
+ "values": [
+ 50,
+ 60,
+ 60,
+ 60,
+ 60,
+ 60,
+ 60,
+ 60,
+ 60,
+ 60,
+ null
+ ]
+ },
+ {
+ "name": "AverageTemperature",
+ "type": "Double",
+ "values": [
+ 71.25,
+ 85.0,
+ 82.5,
+ 80.0,
+ 89.166666666666671,
+ 75.0,
+ 90.0,
+ 75.833333333333329,
+ 85.0,
+ 82.5,
+ null
+ ]
+ },
+ {
+ "name": "MinTemperature",
+ "type": "Double",
+ "values": [
+ 65.125,
+ 77.625,
+ 65.125,
+ 72.625,
+ 65.125,
+ 67.625,
+ 82.625,
+ 65.125,
+ 77.625,
+ 65.125,
+ null
+ ]
+ },
+ {
+ "name": "MaxTemperature",
+ "type": "Double",
+ "values": [
+ 77.375,
+ 92.375,
+ 99.875,
+ 87.375,
+ 99.875,
+ 82.375,
+ 97.375,
+ 99.875,
+ 92.375,
+ 99.875,
+ null
+ ]
+ }
+ ],
+ "progress": 100.0
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage1.json
new file mode 100644
index 000000000000..b24cbf93f2a9
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage1.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "storeType": "warmstore",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "parameters": {
+ "getEvents": {
+ "timeSeriesId": [
+ "006dfc2d-0324-4937-998c-d16f3b4f1952",
+ "T1"
+ ],
+ "searchSpan": {
+ "from": "2016-08-01T00:00:00Z",
+ "to": "2016-08-01T00:16:50Z"
+ },
+ "filter": {
+ "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
+ },
+ "projectedProperties": [
+ {
+ "name": "Building",
+ "type": "String"
+ },
+ {
+ "name": "Temperature",
+ "type": "Double"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "progress": 50.0,
+ "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0="
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage2.json
new file mode 100644
index 000000000000..4059db5e0882
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage2.json
@@ -0,0 +1,87 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "storeType": "warmstore",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=",
+ "parameters": {
+ "getEvents": {
+ "timeSeriesId": [
+ "006dfc2d-0324-4937-998c-d16f3b4f1952",
+ "T1"
+ ],
+ "searchSpan": {
+ "from": "2016-08-01T00:00:00Z",
+ "to": "2016-08-01T00:16:50Z"
+ },
+ "filter": {
+ "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
+ },
+ "projectedProperties": [
+ {
+ "name": "Building",
+ "type": "String"
+ },
+ {
+ "name": "Temperature",
+ "type": "Double"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "timestamps": [
+ "2016-08-01T00:00:10Z",
+ "2016-08-01T00:00:11Z",
+ "2016-08-01T00:00:12Z",
+ "2016-08-01T00:00:13Z",
+ "2016-08-01T00:00:14Z",
+ "2016-08-01T00:00:15Z",
+ "2016-08-01T00:00:16Z",
+ "2016-08-01T00:00:17Z",
+ "2016-08-01T00:00:18Z",
+ "2016-08-01T00:00:19Z"
+ ],
+ "properties": [
+ {
+ "name": "Building",
+ "type": "String",
+ "values": [
+ "Millenium",
+ "Millenium",
+ "Millenium",
+ "Millenium",
+ "Millenium",
+ "Millenium",
+ "Millenium",
+ "Millenium",
+ "Millenium",
+ "Millenium"
+ ]
+ },
+ {
+ "name": "Temperature",
+ "type": "Double",
+ "values": [
+ 65.125,
+ 65.375,
+ 65.625,
+ 65.875,
+ 66.125,
+ 66.375,
+ 66.625,
+ 66.875,
+ 67.125,
+ 67.375
+ ]
+ }
+ ],
+ "progress": 50.0,
+ "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0="
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage3.json
new file mode 100644
index 000000000000..09c3e5be2929
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage3.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "storeType": "warmstore",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0=",
+ "parameters": {
+ "getEvents": {
+ "timeSeriesId": [
+ "006dfc2d-0324-4937-998c-d16f3b4f1952",
+ "T1"
+ ],
+ "searchSpan": {
+ "from": "2016-08-01T00:00:00Z",
+ "to": "2016-08-01T00:16:50Z"
+ },
+ "filter": {
+ "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
+ },
+ "projectedProperties": [
+ {
+ "name": "Building",
+ "type": "String"
+ },
+ {
+ "name": "Temperature",
+ "type": "Double"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "timestamps": [
+ "2016-08-01T00:00:20Z"
+ ],
+ "properties": [
+ {
+ "name": "Building",
+ "type": "String",
+ "values": [
+ "Millenium"
+ ]
+ },
+ {
+ "name": "Temperature",
+ "type": "Double",
+ "values": [
+ 67.575
+ ]
+ }
+ ],
+ "progress": 50.0,
+ "continuationToken": "aXsic2tpcCI6MTAbCDewidGFrZSI6MTAwMH0="
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage4.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage4.json
new file mode 100644
index 000000000000..fc3e00c9c999
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage4.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "storeType": "warmstore",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "continuationToken": "aXsic2tpcCI6MTAbCDewidGFrZSI6MTAwMH0=",
+ "parameters": {
+ "getEvents": {
+ "timeSeriesId": [
+ "006dfc2d-0324-4937-998c-d16f3b4f1952",
+ "T1"
+ ],
+ "searchSpan": {
+ "from": "2016-08-01T00:00:00Z",
+ "to": "2016-08-01T00:16:50Z"
+ },
+ "filter": {
+ "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
+ },
+ "projectedProperties": [
+ {
+ "name": "Building",
+ "type": "String"
+ },
+ {
+ "name": "Temperature",
+ "type": "Double"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "timestamps": [],
+ "properties": [],
+ "progress": 100.0
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetSeriesPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetSeriesPage1.json
new file mode 100644
index 000000000000..5c719a880890
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetSeriesPage1.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "storeType": "warmstore",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "parameters": {
+ "getSeries": {
+ "timeSeriesId": [
+ "006dfc2d-0324-4937-998c-d16f3b4f1952",
+ "T1"
+ ],
+ "searchSpan": {
+ "from": "2016-08-01T00:00:00Z",
+ "to": "2016-08-01T00:16:50Z"
+ },
+ "filter": null,
+ "inlineVariables": {
+ "temperatures": {
+ "kind": "numeric",
+ "value": {
+ "tsx": "$event.Temperature"
+ },
+ "filter": null,
+ "aggregation": {
+ "tsx": "avg($value)"
+ }
+ }
+ },
+ "projectedVariables": [
+ "temperatures"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "progress": 50.0,
+ "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0="
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetSeriesPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetSeriesPage2.json
new file mode 100644
index 000000000000..7f8c824cf022
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetSeriesPage2.json
@@ -0,0 +1,76 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "storeType": "warmstore",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=",
+ "parameters": {
+ "getSeries": {
+ "timeSeriesId": [
+ "006dfc2d-0324-4937-998c-d16f3b4f1952",
+ "T1"
+ ],
+ "searchSpan": {
+ "from": "2016-08-01T00:00:00Z",
+ "to": "2016-08-01T00:16:50Z"
+ },
+ "filter": null,
+ "inlineVariables": {
+ "temperatures": {
+ "kind": "numeric",
+ "value": {
+ "tsx": "$event.Temperature"
+ },
+ "filter": null,
+ "aggregation": {
+ "tsx": "avg($value)"
+ }
+ }
+ },
+ "projectedVariables": [
+ "temperatures"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "timestamps": [
+ "2016-08-01T00:00:10Z",
+ "2016-08-01T00:00:11Z",
+ "2016-08-01T00:00:12Z",
+ "2016-08-01T00:00:13Z",
+ "2016-08-01T00:00:14Z",
+ "2016-08-01T00:00:15Z",
+ "2016-08-01T00:00:16Z",
+ "2016-08-01T00:00:17Z",
+ "2016-08-01T00:00:18Z",
+ "2016-08-01T00:00:19Z",
+ "2016-08-01T00:00:20Z"
+ ],
+ "properties": [
+ {
+ "name": "temperatures",
+ "type": "Double",
+ "values": [
+ 65.125,
+ 65.375,
+ 65.625,
+ 65.875,
+ 66.125,
+ 66.375,
+ 66.625,
+ 66.875,
+ 67.125,
+ 67.375,
+ 67.625
+ ]
+ }
+ ],
+ "progress": 50.0,
+ "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0="
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetSeriesPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetSeriesPage3.json
new file mode 100644
index 000000000000..fb0e7a620456
--- /dev/null
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetSeriesPage3.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "storeType": "warmstore",
+ "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
+ "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0=",
+ "parameters": {
+ "getSeries": {
+ "timeSeriesId": [
+ "006dfc2d-0324-4937-998c-d16f3b4f1952",
+ "T1"
+ ],
+ "searchSpan": {
+ "from": "2016-08-01T00:00:00Z",
+ "to": "2016-08-01T00:16:50Z"
+ },
+ "filter": null,
+ "inlineVariables": {
+ "temperatures": {
+ "kind": "numeric",
+ "value": {
+ "tsx": "$event.Temperature"
+ },
+ "filter": null,
+ "aggregation": {
+ "tsx": "avg($value)"
+ }
+ }
+ },
+ "projectedVariables": [
+ "temperatures"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "timestamps": [
+ "2016-08-01T00:00:21Z"
+ ],
+ "properties": [
+ {
+ "name": "temperatures",
+ "type": "Double",
+ "values": [
+ 67.825
+ ]
+ }
+ ],
+ "progress": 100.0
+ }
+ }
+ }
+}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json
index 9172a5155e10..18913cca1d9f 100644
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json
@@ -51,9 +51,15 @@
"operationId": "Query_GetAvailability",
"description": "Returns the time range and distribution of event count over the event timestamp ($ts). This API can be used to provide landing experience of navigating to the environment.",
"x-ms-examples": {
- "AvailabilityGet": {
+ "AvailabilityGet":{
"$ref": "./examples/AvailabilityGet.json"
},
+ "ColdStoreAvailabilityGet": {
+ "$ref": "./examples/ColdStoreAvailabilityGet.json"
+ },
+ "WarmStoreAvailabilityGet": {
+ "$ref": "./examples/WarmStoreAvailabilityGet.json"
+ },
"AvailabilityGetEmpty": {
"$ref": "./examples/AvailabilityGetEmpty.json"
}
@@ -62,6 +68,9 @@
{
"$ref": "#/parameters/ApiVersion"
},
+ {
+ "$ref": "#/parameters/StoreType"
+ },
{
"$ref": "#/parameters/ClientRequestId"
},
@@ -112,12 +121,21 @@
},
"EventSchemaGetEmpty": {
"$ref": "./examples/EventSchemaGetEmpty.json"
+ },
+ "ColdStoreEventSchemaGet": {
+ "$ref": "./examples/ColdStoreEventSchemaGet.json"
+ },
+ "WarmStoreEventSchemaGet": {
+ "$ref": "./examples/WarmStoreEventSchemaGet.json"
}
},
"parameters": [
{
"$ref": "#/parameters/ApiVersion"
},
+ {
+ "$ref": "#/parameters/StoreType"
+ },
{
"name": "parameters",
"in": "body",
@@ -291,9 +309,24 @@
"QueryAggregateSeriesPage2": {
"$ref": "./examples/QueryAggregateSeriesPage2.json"
},
+ "ColdStoreQueryAggregateSeriesPage1": {
+ "$ref": "./examples/ColdStoreQueryAggregateSeriesPage1.json"
+ },
+ "ColdStoreQueryAggregateSeriesPage2": {
+ "$ref": "./examples/ColdStoreQueryAggregateSeriesPage2.json"
+ },
+ "WarmStoreQueryAggregateSeriesPage": {
+ "$ref": "./examples/WarmStoreQueryAggregateSeriesPage.json"
+ },
"QueryAggregateSeriesWithSampleInterpolation": {
"$ref": "./examples/QueryAggregateSeriesWithSampleInterpolation.json"
},
+ "QueryAggregateSeriesWithCategoricalVariable": {
+ "$ref": "./examples/QueryAggregateSeriesWithCategoricalVariable.json"
+ },
+ "QueryAggregateSeriesWithCategoricalInterpolatedVariable": {
+ "$ref": "./examples/QueryAggregateSeriesWithCategoricalInterpolatedVariable.json"
+ },
"QueryGetEventsPage1": {
"$ref": "./examples/QueryGetEventsPage1.json"
},
@@ -306,6 +339,30 @@
"QueryGetEventsPage4": {
"$ref": "./examples/QueryGetEventsPage4.json"
},
+ "ColdStoreQueryGetEventsPage1": {
+ "$ref": "./examples/ColdStoreQueryGetEventsPage1.json"
+ },
+ "ColdStoreQueryGetEventsPage2": {
+ "$ref": "./examples/ColdStoreQueryGetEventsPage2.json"
+ },
+ "ColdStoreQueryGetEventsPage3": {
+ "$ref": "./examples/ColdStoreQueryGetEventsPage3.json"
+ },
+ "ColdStoreQueryGetEventsPage4": {
+ "$ref": "./examples/ColdStoreQueryGetEventsPage4.json"
+ },
+ "WarmStoreQueryGetEventsPage1": {
+ "$ref": "./examples/WarmStoreQueryGetEventsPage1.json"
+ },
+ "WarmStoreQueryGetEventsPage2": {
+ "$ref": "./examples/WarmStoreQueryGetEventsPage2.json"
+ },
+ "WarmStoreQueryGetEventsPage3": {
+ "$ref": "./examples/WarmStoreQueryGetEventsPage3.json"
+ },
+ "WarmStoreQueryGetEventsPage4": {
+ "$ref": "./examples/WarmStoreQueryGetEventsPage4.json"
+ },
"QueryGetEventsWithTakePage1": {
"$ref": "./examples/QueryGetEventsWithTakePage1.json"
},
@@ -326,12 +383,33 @@
},
"QueryGetSeriesWithTakePage2": {
"$ref": "./examples/QueryGetSeriesWithTakePage2.json"
+ },
+ "ColdStoreQueryGetSeriesPage1": {
+ "$ref": "./examples/ColdStoreQueryGetSeriesPage1.json"
+ },
+ "ColdStoreQueryGetSeriesPage2": {
+ "$ref": "./examples/ColdStoreQueryGetSeriesPage2.json"
+ },
+ "ColdStoreQueryGetSeriesPage3": {
+ "$ref": "./examples/ColdStoreQueryGetSeriesPage3.json"
+ },
+ "WarmStoreQueryGetSeriesPage1": {
+ "$ref": "./examples/WarmStoreQueryGetSeriesPage1.json"
+ },
+ "WarmStoreQueryGetSeriesPage2": {
+ "$ref": "./examples/WarmStoreQueryGetSeriesPage2.json"
+ },
+ "WarmStoreQueryGetSeriesPage3": {
+ "$ref": "./examples/WarmStoreQueryGetSeriesPage3.json"
}
},
"parameters": [
{
"$ref": "#/parameters/ApiVersion"
},
+ {
+ "$ref": "#/parameters/StoreType"
+ },
{
"$ref": "#/parameters/ContinuationToken"
},
@@ -1162,7 +1240,7 @@
]
},
"Interpolation": {
- "description": "The interpolation operation to be performed on the raw data points. Interpolation is only supported in \"numeric\" variables. Currently, only sampling of interpolated time series is allowed. Allowed aggregate function - eg: left($value). Can be null if no interpolation needs to be applied.",
+ "description": "The interpolation operation to be performed on the raw data points. Currently, only sampling of interpolated time series is allowed. Allowed aggregate function - eg: left($value). Can be null if no interpolation needs to be applied.",
"type": "object",
"properties": {
"kind": {
@@ -1261,6 +1339,76 @@
"aggregation"
]
},
+ "CategoricalVariable": {
+ "description": "Categorical variable represents signal that needs to be analyzed based on the count or duration of occurrence of limited set of defined values.",
+ "x-ms-discriminator-value": "categorical",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Variable"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Value time series expression is used to represent the value of the signal that is going to be categorized. It can evaluate to only 'String' or 'Long' type for categorical variables.",
+ "$ref": "#/definitions/Tsx"
+ },
+ "interpolation": {
+ "description": "Categorical variable supports only 'step' interpolation.",
+ "$ref": "#/definitions/Interpolation"
+ },
+ "categories": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TimeSeriesAggregateCategory"
+ }
+ },
+ "defaultCategory": {
+ "$ref": "#/definitions/TimeSeriesDefaultCategory"
+ }
+ }
+ }
+ ],
+ "required": [
+ "kind",
+ "value",
+ "defaultCategory"
+ ]
+ },
+ "TimeSeriesAggregateCategory": {
+ "description": "Category used in categorical variables. A category is defined by 'label' and the 'values' that are assigned this label.",
+ "type": "object",
+ "properties": {
+ "label": {
+ "description": "The name of the category which will be used in constructing the output variable names.",
+ "type": "string"
+ },
+ "values": {
+ "description": "The list of values that a category maps to. Can be either a unique list of string or list of long.",
+ "type": "array",
+ "items": {
+ "type": "object"
+ }
+ }
+ },
+ "required": [
+ "label",
+ "values"
+ ]
+ },
+ "TimeSeriesDefaultCategory" : {
+ "description": "Represents the default category.",
+ "type": "object",
+ "properties": {
+ "label": {
+ "description": "The name of the default category which will be assigned to the values that does not match any of those that are defined in the 'categories'.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "label"
+ ]
+ },
"Variable": {
"description": "Variables are named calculations over values from the events. Time Series Insights variable definitions contain formula and computation rules. Variables are stored in the type definition in Time Series Model and can be provided inline via Query APIs to override the stored definition.",
"type": "object",
@@ -1273,9 +1421,6 @@
"filter": {
"description": "Filter over the events that restricts the number of events being considered for computation. Example: \"$event.Status.String='Good'\". Optional.",
"$ref": "#/definitions/Tsx"
- },
- "interpolation": {
- "$ref": "#/definitions/Interpolation"
}
},
"required": [
@@ -2253,7 +2398,8 @@
"DateTime",
"Double",
"String",
- "TimeSpan"
+ "TimeSpan",
+ "Long"
],
"x-ms-enum": {
"name": "PropertyTypes",
@@ -2334,6 +2480,14 @@
"type": "string",
"description": "Version of the API to be used with the client request. Currently supported version is \"2018-11-01-preview\"."
},
+ "StoreType" : {
+ "name" : "storeType",
+ "in" : "query",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description":"For the environments with warm store enabled, the query can be executed either on the 'WarmStore' or 'ColdStore'. This parameter in the query defines which store the query should be executed on. If not defined, the query will be executed on the cold store."
+ },
"EnvironmentFqdn": {
"name": "environmentFqdn",
"in": "path",
@@ -2371,4 +2525,4 @@
"description": "Optional client session ID. Service records this value. Allows the service to trace a group of related operations across services, and allows the customer to contact support regarding a particular group of requests."
}
}
-}
+}
\ No newline at end of file
From b6c5ee8762688eac616b323fd630d575f1922c48 Mon Sep 17 00:00:00 2001
From: mfrintu <39970944+mfrintu@users.noreply.github.com>
Date: Tue, 29 Oct 2019 18:43:32 -0700
Subject: [PATCH 101/189] Web activity changes for IR (#7605)
---
.../stable/2018-06-01/entityTypes/Pipeline.json | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
index 89a4e7f89304..2c571ade0023 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
@@ -4708,6 +4708,10 @@
"items": {
"$ref": "../datafactory.json#/definitions/LinkedServiceReference"
}
+ },
+ "connectVia": {
+ "description": "The integration runtime reference.",
+ "$ref": "../datafactory.json#/definitions/IntegrationRuntimeReference"
}
},
"required": [
From e99d1c20d3cc621a38af09d3c146149812a87e38 Mon Sep 17 00:00:00 2001
From: wenjlu-lgy <51814679+wenjlu-lgy@users.noreply.github.com>
Date: Wed, 30 Oct 2019 09:43:55 +0800
Subject: [PATCH 102/189] Change storage account output information. (#7591)
---
.../examples/StorageAccounts/Get.json | 6 +-
.../examples/StorageAccounts/List.json | 49 ++++++------
.../preview/2019-08-08/storageaccounts.json | 75 ++++++++++---------
3 files changed, 68 insertions(+), 62 deletions(-)
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageAccounts/Get.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageAccounts/Get.json
index ddf05209bef8..92c56e8d0a3d 100644
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageAccounts/Get.json
+++ b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageAccounts/Get.json
@@ -13,6 +13,7 @@
"type": "Microsoft.Storage.Admin/storageaccounts",
"name": "f93c9df9e7af487fbda484a9201d9c18",
"location": "local",
+ "kind": "Storage",
"properties": {
"provisioningState": "Succeeded",
"primaryEndpoints": {
@@ -27,11 +28,10 @@
"tenantStorageAccountName": "authprod",
"tenantResourceGroupName": "system.local",
"accountStatus": "Active",
- "permissions": "Full",
"accountId": "f93c9df9e7af487fbda484a9201d9c18",
- "wacInternalState": "Active",
"accountType": "Standard_LRS",
- "creationTime": "2018-01-17T01:56:30.983"
+ "creationTime": "2018-01-17T01:56:30.983",
+ "healthState": "Healthy"
}
}
}
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageAccounts/List.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageAccounts/List.json
index ed522d0ea736..1989cf637dff 100644
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageAccounts/List.json
+++ b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageAccounts/List.json
@@ -14,6 +14,7 @@
"type": "Microsoft.Storage.Admin/storageaccounts",
"name": "0180624c67694706a4066782d83057a5",
"location": "local",
+ "kind": "StorageV2",
"properties": {
"provisioningState": "Succeeded",
"primaryEndpoints": {
@@ -28,11 +29,11 @@
"tenantStorageAccountName": "adminkvlclproddata004",
"tenantResourceGroupName": "system.local.adminkeyvault",
"accountStatus": "Active",
- "permissions": "Full",
"accountId": "0180624c67694706a4066782d83057a5",
- "wacInternalState": "Active",
"accountType": "Standard_LRS",
- "creationTime": "2018-01-17T02:10:27.41"
+ "creationTime": "2018-01-17T02:10:27.41",
+ "accessTier": "Cool",
+ "healthState": "Healthy"
}
},
{
@@ -40,6 +41,7 @@
"type": "Microsoft.Storage.Admin/storageaccounts",
"name": "04106a84393f4a12ab8efdbc0a69bb65",
"location": "local",
+ "kind": "Storage",
"properties": {
"provisioningState": "Succeeded",
"primaryEndpoints": {
@@ -54,11 +56,10 @@
"tenantStorageAccountName": "adminkvlclproddata005",
"tenantResourceGroupName": "system.local.adminkeyvault",
"accountStatus": "Active",
- "permissions": "Full",
"accountId": "04106a84393f4a12ab8efdbc0a69bb65",
- "wacInternalState": "Active",
"accountType": "Standard_LRS",
- "creationTime": "2018-01-17T02:10:27.847"
+ "creationTime": "2018-01-17T02:10:27.847",
+ "healthState": "Healthy"
}
},
{
@@ -66,6 +67,7 @@
"type": "Microsoft.Storage.Admin/storageaccounts",
"name": "06e296e00b284f5cb5708dfabd6ad74c",
"location": "local",
+ "kind": "Storage",
"properties": {
"provisioningState": "Succeeded",
"primaryEndpoints": {
@@ -80,11 +82,10 @@
"tenantStorageAccountName": "wasphealthaccount",
"tenantResourceGroupName": "system.local",
"accountStatus": "Active",
- "permissions": "Full",
"accountId": "06e296e00b284f5cb5708dfabd6ad74c",
- "wacInternalState": "Active",
"accountType": "Standard_LRS",
- "creationTime": "2018-01-17T02:10:12.47"
+ "creationTime": "2018-01-17T02:10:12.47",
+ "healthState": "Healthy"
}
},
{
@@ -92,6 +93,7 @@
"type": "Microsoft.Storage.Admin/storageaccounts",
"name": "0a6b4f6b1de14cc08aa1fefadcc481eb",
"location": "local",
+ "kind": "Storage",
"properties": {
"provisioningState": "Succeeded",
"primaryEndpoints": {
@@ -106,11 +108,10 @@
"tenantStorageAccountName": "frphealthaccount",
"tenantResourceGroupName": "system.local",
"accountStatus": "Active",
- "permissions": "Full",
"accountId": "0a6b4f6b1de14cc08aa1fefadcc481eb",
- "wacInternalState": "Active",
"accountType": "Standard_LRS",
- "creationTime": "2018-01-17T02:10:02.527"
+ "creationTime": "2018-01-17T02:10:02.527",
+ "healthState": "Healthy"
}
},
{
@@ -118,6 +119,7 @@
"type": "Microsoft.Storage.Admin/storageaccounts",
"name": "0d724e3f75004e48948c1bfa0b4a964a",
"location": "local",
+ "kind": "Storage",
"properties": {
"provisioningState": "Succeeded",
"primaryEndpoints": {
@@ -132,11 +134,10 @@
"tenantStorageAccountName": "systemgallery",
"tenantResourceGroupName": "system.local",
"accountStatus": "Active",
- "permissions": "Full",
"accountId": "0d724e3f75004e48948c1bfa0b4a964a",
- "wacInternalState": "Active",
"accountType": "Standard_LRS",
- "creationTime": "2018-01-17T01:56:29.467"
+ "creationTime": "2018-01-17T01:56:29.467",
+ "healthState": "Healthy"
}
},
{
@@ -144,6 +145,7 @@
"type": "Microsoft.Storage.Admin/storageaccounts",
"name": "0dda0879146341178603ba151d7da010",
"location": "local",
+ "kind": "Storage",
"properties": {
"provisioningState": "Succeeded",
"primaryEndpoints": {
@@ -158,11 +160,10 @@
"tenantStorageAccountName": "nrpeventsaccount",
"tenantResourceGroupName": "system.local",
"accountStatus": "Active",
- "permissions": "Full",
"accountId": "0dda0879146341178603ba151d7da010",
- "wacInternalState": "Active",
"accountType": "Standard_LRS",
- "creationTime": "2018-01-17T02:10:23.84"
+ "creationTime": "2018-01-17T02:10:23.84",
+ "healthState": "Healthy"
}
},
{
@@ -170,6 +171,7 @@
"type": "Microsoft.Storage.Admin/storageaccounts",
"name": "15612011f6094654abcb6031a4394ef5",
"location": "local",
+ "kind": "Storage",
"properties": {
"provisioningState": "Succeeded",
"primaryEndpoints": {
@@ -184,11 +186,10 @@
"tenantStorageAccountName": "kvrphealthaccount",
"tenantResourceGroupName": "system.local",
"accountStatus": "Active",
- "permissions": "Full",
"accountId": "15612011f6094654abcb6031a4394ef5",
- "wacInternalState": "Active",
"accountType": "Standard_LRS",
- "creationTime": "2018-01-17T02:10:36.193"
+ "creationTime": "2018-01-17T02:10:36.193",
+ "healthState": "Healthy"
}
},
{
@@ -196,6 +197,7 @@
"type": "Microsoft.Storage.Admin/storageaccounts",
"name": "17829fa81c154239ad8a6fae05f44793",
"location": "local",
+ "kind": "Storage",
"properties": {
"provisioningState": "Succeeded",
"primaryEndpoints": {
@@ -210,11 +212,10 @@
"tenantStorageAccountName": "srpusageaccount",
"tenantResourceGroupName": "system.local",
"accountStatus": "Active",
- "permissions": "Full",
"accountId": "17829fa81c154239ad8a6fae05f44793",
- "wacInternalState": "Active",
"accountType": "Standard_LRS",
- "creationTime": "2018-01-17T02:10:15.38"
+ "creationTime": "2018-01-17T02:10:15.38",
+ "healthState": "Healthy"
}
}
]
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/storageaccounts.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/storageaccounts.json
index ddebe4a38cbd..c94edcf3ca4d 100644
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/storageaccounts.json
+++ b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/storageaccounts.json
@@ -206,8 +206,7 @@
"type": "string",
"enum": [
"Creating",
- "Succeeded",
- "Suspended"
+ "Succeeded"
],
"x-ms-enum": {
"name": "StorageAccountState",
@@ -254,36 +253,42 @@
"modelAsString": true
}
},
- "WacAccountPermissions": {
- "description": "Current operation being performed on Storage Account",
+ "StorageAccountKind": {
+ "description": "The kind of storage account",
"type": "string",
"enum": [
- "Empty",
- "None",
- "Read",
- "Delete",
- "Write",
- "Full"
+ "Storage",
+ "StorageV2",
+ "BlobStorage"
],
"x-ms-enum": {
- "name": "WacAccountPermissions",
+ "name": "StorageAccountKind",
"modelAsString": true
}
},
- "WacAccountStates": {
- "description": "Current operation being performed on Storage Account",
+ "StorageAccountAccessTier": {
+ "description": "Access tier for storage account",
"type": "string",
"enum": [
- "None",
- "Active",
- "Deleted",
- "AboveQuota",
+ "Hot",
+ "Cool"
+ ],
+ "x-ms-enum": {
+ "name": "StorageAccountAccessTier",
+ "modelAsString": true
+ }
+ },
+ "StorageAccountHealthState": {
+ "description": "Health state for storage account",
+ "type": "string",
+ "enum": [
+ "Healthy",
"Suspended",
- "All",
- "GcReadyState"
+ "OverQuota",
+ "SuspendedAndOverQuota"
],
"x-ms-enum": {
- "name": "WacAccountStates",
+ "name": "StorageAccountHealthState",
"modelAsString": true
}
},
@@ -382,11 +387,6 @@
"type": "string",
"readOnly": true
},
- "alternateName": {
- "description": "Alternative storage account name being used during undelete operation.",
- "type": "string",
- "readOnly": true
- },
"primaryLocation": {
"description": "The primary location for the storage account.",
"type": "string",
@@ -427,21 +427,11 @@
"$ref": "#/definitions/StorageAccountStatus",
"description": "The status of storage account."
},
- "permissions": {
- "description": "The permissions on the storage account.",
- "$ref": "#/definitions/WacAccountPermissions",
- "readOnly": true
- },
"accountId": {
"description": "Internal storage account ID, which is not visible to tenant.",
"type": "string",
"readOnly": true
},
- "wacInternalState": {
- "description": "The internal state of storage account in WAC.",
- "$ref": "#/definitions/WacAccountStates",
- "readOnly": true
- },
"encryption": {
"description": "The storage encryption setting",
"$ref": "#/definitions/StorageEncryption",
@@ -451,6 +441,16 @@
"description": "Storage account supports https traffic only or not",
"type": "boolean",
"readOnly": true
+ },
+ "accessTier": {
+ "description": "Required for storage accounts where kind = BlobStorage.",
+ "$ref": "#/definitions/StorageAccountAccessTier",
+ "readOnly": true
+ },
+ "healthState": {
+ "description": "The internal health state for storage account.",
+ "$ref": "#/definitions/StorageAccountHealthState",
+ "readOnly": true
}
}
},
@@ -464,6 +464,11 @@
"$ref": "#/definitions/StorageAccountProperties",
"readOnly": true
},
+ "kind": {
+ "description": "Indicates the type of storage account",
+ "$ref": "#/definitions/StorageAccountKind",
+ "readOnly": true
+ },
"tags": {
"description": "Resource tags.",
"type": "object",
From b236b3eea19fa12da719ed3e8178828b7e2b2db9 Mon Sep 17 00:00:00 2001
From: Anton Evseev
Date: Tue, 29 Oct 2019 18:52:33 -0700
Subject: [PATCH 103/189] Improve Network's descriptions (#7662)
---
.../stable/2019-09-01/azureFirewall.json | 4 ++--
.../stable/2019-09-01/ipGroups.json | 4 ++--
.../stable/2019-09-01/virtualNetwork.json | 4 ++--
.../2019-09-01/virtualNetworkGateway.json | 4 ++--
.../stable/2019-09-01/virtualRouter.json | 18 +++++++++---------
.../stable/2019-09-01/virtualWan.json | 8 ++++----
.../2019-09-01/webapplicationfirewall.json | 2 +-
7 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/azureFirewall.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/azureFirewall.json
index facac61ea55a..fb075246fc96 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/azureFirewall.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/azureFirewall.json
@@ -495,7 +495,7 @@
},
"additionalProperties": {
"$ref": "#/definitions/AzureFirewallAdditionalProperties",
- "description": "The additional properties used to further config this azure firewall "
+ "description": "The additional properties used to further config this azure firewall."
}
},
"description": "Properties of the Azure Firewall."
@@ -561,7 +561,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "The additional properties of azure firewall"
+ "description": "The additional properties of azure firewall."
},
"AzureFirewallApplicationRuleCollectionPropertiesFormat": {
"properties": {
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ipGroups.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ipGroups.json
index 0485e31ff3f6..4159c5aa0869 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ipGroups.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ipGroups.json
@@ -162,7 +162,7 @@
"IpGroups"
],
"operationId": "IpGroups_UpdateGroups",
- "description": "Updates an IpGroups",
+ "description": "Updates tags of an IpGroups resource.",
"parameters": [
{
"name": "resourceGroupName",
@@ -410,7 +410,7 @@
"firewalls": {
"type": "array",
"readOnly": true,
- "description": "List of references to Azure resources that this IpGroups is associated with",
+ "description": "List of references to Azure resources that this IpGroups is associated with.",
"items": {
"$ref": "./network.json#/definitions/SubResource"
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualNetwork.json
index 87c7e07a2202..1b68547720f3 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualNetwork.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualNetwork.json
@@ -1801,12 +1801,12 @@
"properties": {
"virtualNetworkCommunity": {
"type": "string",
- "description": "The BGP community associated with the virtual network"
+ "description": "The BGP community associated with the virtual network."
},
"regionalCommunity": {
"type": "string",
"readOnly": true,
- "description": "The BGP community associated with the region of the virtual network"
+ "description": "The BGP community associated with the region of the virtual network."
}
},
"required": [
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualNetworkGateway.json
index bfd16de2d519..d472ed6e1f4b 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualNetworkGateway.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualNetworkGateway.json
@@ -3002,14 +3002,14 @@
"items": {
"type": "string"
},
- "description": "A collection of local address spaces in CIDR format"
+ "description": "A collection of local address spaces in CIDR format."
},
"remoteAddressRanges": {
"type": "array",
"items": {
"type": "string"
},
- "description": "A collection of remote address spaces in CIDR format"
+ "description": "A collection of remote address spaces in CIDR format."
}
},
"required": [
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualRouter.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualRouter.json
index 315ac32e8e70..879c68c40ae2 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualRouter.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualRouter.json
@@ -68,7 +68,7 @@
"description": "Accepted and the operation will complete asynchronously."
},
"204": {
- "description": "Request successful. Resource with the specified name does not exist"
+ "description": "Request successful. Resource with the specified name does not exist."
},
"200": {
"description": "Delete successful."
@@ -339,7 +339,7 @@
"description": "Accepted and the operation will complete asynchronously."
},
"204": {
- "description": "Request successful. Resource with the specified name does not exist"
+ "description": "Request successful. Resource with the specified name does not exist."
},
"200": {
"description": "Delete successful."
@@ -556,7 +556,7 @@
"etag": {
"type": "string",
"readOnly": true,
- "description": "Gets a unique read-only string that changes whenever the resource is updated."
+ "description": "A unique read-only string that changes whenever the resource is updated."
}
},
"allOf": [
@@ -579,7 +579,7 @@
"virtualRouterIps": {
"type": "array",
"readOnly": false,
- "description": "VirtualRouter IPs",
+ "description": "VirtualRouter IPs.",
"items": {
"type": "string"
}
@@ -597,7 +597,7 @@
"peerings": {
"type": "array",
"readOnly": true,
- "description": "List of references to VirtualRouterPeerings",
+ "description": "List of references to VirtualRouterPeerings.",
"items": {
"$ref": "./network.json#/definitions/SubResource"
}
@@ -608,7 +608,7 @@
"$ref": "./network.json#/definitions/ProvisioningState"
}
},
- "description": "Virtual Router definition"
+ "description": "Virtual Router definition."
},
"VirtualRouterPeering": {
"properties": {
@@ -619,12 +619,12 @@
},
"name": {
"type": "string",
- "description": "Gets name of the peering unique to VirtualRouter. This name can be used to access the resource."
+ "description": "Name of the virtual router peering that is unique within a virtual router."
},
"etag": {
"type": "string",
"readOnly": true,
- "description": "Gets a unique read-only string that changes whenever the resource is updated."
+ "description": "A unique read-only string that changes whenever the resource is updated."
},
"type": {
"type": "string",
@@ -637,7 +637,7 @@
"$ref": "./network.json#/definitions/SubResource"
}
],
- "description": "Virtual Router Peering resource"
+ "description": "Virtual Router Peering resource."
},
"VirtualRouterPeeringProperties": {
"properties": {
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualWan.json
index 321c0eef5292..4bfc38ef53a6 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualWan.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/virtualWan.json
@@ -4169,7 +4169,7 @@
"etag": {
"type": "string",
"readOnly": true,
- "description": "Gets a unique read-only string that changes whenever the resource is updated."
+ "description": "A unique read-only string that changes whenever the resource is updated."
}
},
"allOf": [
@@ -4391,7 +4391,7 @@
"properties": {
"sasUrl": {
"type": "string",
- "description": "Returned sas url of the blob to which the p2s vpn connection detailed health will be written. "
+ "description": "Returned sas url of the blob to which the p2s vpn connection detailed health will be written."
}
},
"description": "P2S Vpn connection detailed health written to sas url."
@@ -4486,7 +4486,7 @@
"properties": {
"destinationType": {
"type": "string",
- "description": "The type of destinations"
+ "description": "The type of destinations."
},
"destinations": {
"type": "array",
@@ -4497,7 +4497,7 @@
},
"nextHopType": {
"type": "string",
- "description": "The type of next hops"
+ "description": "The type of next hops."
},
"nextHops": {
"type": "array",
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/webapplicationfirewall.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/webapplicationfirewall.json
index 111b1feb2b2f..f01d6116c923 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/webapplicationfirewall.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/webapplicationfirewall.json
@@ -361,7 +361,7 @@
}
},
"managedRules": {
- "description": "Describes the managedRules structure",
+ "description": "Describes the managedRules structure.",
"$ref": "#/definitions/ManagedRulesDefinition"
},
"httpListeners": {
From 9ea7ae9512fd66ffde4afa4845036632f01606c0 Mon Sep 17 00:00:00 2001
From: Zhenfeng
Date: Tue, 29 Oct 2019 22:14:20 -0700
Subject: [PATCH 104/189] [SRP] Create separate example for enable AD on
storage account (#7664)
---
.../examples/StorageAccountEnableAD.json | 71 +++++++++++++++++++
.../examples/StorageAccountUpdate.json | 22 ------
.../stable/2019-06-01/storage.json | 3 +
3 files changed, 74 insertions(+), 22 deletions(-)
create mode 100644 specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountEnableAD.json
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountEnableAD.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountEnableAD.json
new file mode 100644
index 000000000000..244d47e5dee1
--- /dev/null
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountEnableAD.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "res9407",
+ "accountName": "sto8596",
+ "api-version": "2019-06-01",
+ "monitor": "true",
+ "parameters": {
+ "properties": {
+ "azureFilesIdentityBasedAuthentication": {
+ "directoryServiceOptions": "AD",
+ "activeDirectoryProperties": {
+ "domainName": "adtest.com",
+ "netBiosDomainName": "adtest.com",
+ "forestName": "adtest.com",
+ "domainGuid": "aebfc118-9fa9-4732-a21f-d98e41a77ae1",
+ "domainSid": "S-1-5-21-2400535526-2334094090-2402026252",
+ "azureStorageSid": "S-1-5-21-2400535526-2334094090-2402026252-0012"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596",
+ "kind": "Storage",
+ "location": "eastus2(stage)",
+ "name": "sto8596",
+ "properties": {
+ "creationTime": "2017-06-01T02:42:41.7633306Z",
+ "azureFilesIdentityBasedAuthentication": {
+ "directoryServiceOptions": "AD",
+ "activeDirectoryProperties": {
+ "domainName": "adtest.com",
+ "netBiosDomainName": "adtest.com",
+ "forestName": "adtest.com",
+ "domainGuid": "aebfc118-9fa9-4732-a21f-d98e41a77ae1",
+ "domainSid": "S-1-5-21-2400535526-2334094090-2402026252",
+ "azureStorageSid": "S-1-5-21-2400535526-2334094090-2402026252-0012"
+ }
+ },
+ "primaryEndpoints": {
+ "web": "https://sto8596.web.core.windows.net/",
+ "dfs": "https://sto8596.dfs.core.windows.net/",
+ "blob": "https://sto8596.blob.core.windows.net/",
+ "file": "https://sto8596.file.core.windows.net/",
+ "queue": "https://sto8596.queue.core.windows.net/",
+ "table": "https://sto8596.table.core.windows.net/"
+ },
+ "primaryLocation": "eastus2(stage)",
+ "provisioningState": "Succeeded",
+ "secondaryLocation": "northcentralus(stage)",
+ "statusOfPrimary": "available",
+ "statusOfSecondary": "available",
+ "supportsHttpsTrafficOnly": false
+ },
+ "sku": {
+ "name": "Standard_GRS",
+ "tier": "Standard"
+ },
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "type": "Microsoft.Storage/storageAccounts"
+ }
+ }
+ }
+}
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountUpdate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountUpdate.json
index 76512ae6ebde..9435b6eb1848 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountUpdate.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountUpdate.json
@@ -9,17 +9,6 @@
"properties": {
"networkAcls": {
"defaultAction": "Allow"
- },
- "azureFilesIdentityBasedAuthentication": {
- "directoryServiceOptions": "AD",
- "activeDirectoryProperties": {
- "domainName": "adtest.com",
- "netBiosDomainName": "adtest.com",
- "forestName": "adtest.com",
- "domainGuid": "aebfc118-9fa9-4732-a21f-d98e41a77ae1",
- "domainSid": "S-1-5-21-2400535526-2334094090-2402026252",
- "azureStorageSid": "S-1-5-21-2400535526-2334094090-2402026252-0012"
- }
}
}
}
@@ -40,17 +29,6 @@
"ipRules": [],
"virtualNetworkRules": []
},
- "azureFilesIdentityBasedAuthentication": {
- "directoryServiceOptions": "AD",
- "activeDirectoryProperties": {
- "domainName": "adtest.com",
- "netBiosDomainName": "adtest.com",
- "forestName": "adtest.com",
- "domainGuid": "aebfc118-9fa9-4732-a21f-d98e41a77ae1",
- "domainSid": "S-1-5-21-2400535526-2334094090-2402026252",
- "azureStorageSid": "S-1-5-21-2400535526-2334094090-2402026252-0012"
- }
- },
"primaryEndpoints": {
"web": "https://sto8596.web.core.windows.net/",
"dfs": "https://sto8596.dfs.core.windows.net/",
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
index c7f7732f61b6..d57f9625a916 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
@@ -257,6 +257,9 @@
"x-ms-examples": {
"StorageAccountUpdate": {
"$ref": "./examples/StorageAccountUpdate.json"
+ },
+ "StorageAccountEnableAD": {
+ "$ref": "./examples/StorageAccountEnableAD.json"
}
},
"parameters": [
From 86a2a680b41a0b06b07dd60d795ffbf2ac8d3fe1 Mon Sep 17 00:00:00 2001
From: shurd
Date: Tue, 29 Oct 2019 22:32:05 -0700
Subject: [PATCH 105/189] Cosmos DB patch and multi-api support (#7336)
* adding patch support in new API version, adding multiapi support for python, go, java, adding new property from database account resource, adding locations to response of database accounts
* removing api kind from one example
* adding partition key version, removing new property from old api version
* revert changes to old api swagger
* rebasing and adding preview versions to sdk generation
* create or update method with guidance in the description
* renaming create variables
* minor text changes
---
.../stable/2019-08-01/cosmos-db.json | 115 ++++++++++++++----
.../CosmosDBDatabaseAccountCreateMax.json | 17 +++
.../CosmosDBDatabaseAccountCreateMin.json | 10 ++
.../examples/CosmosDBDatabaseAccountGet.json | 10 ++
.../examples/CosmosDBDatabaseAccountList.json | 10 ++
...sDBDatabaseAccountListByResourceGroup.json | 10 ++
.../CosmosDBDatabaseAccountPatch.json | 45 ++++++-
.../cosmos-db/resource-manager/readme.go.md | 20 +++
.../cosmos-db/resource-manager/readme.java.md | 28 +++++
.../cosmos-db/resource-manager/readme.md | 7 --
.../resource-manager/readme.python.md | 52 ++++++--
11 files changed, 280 insertions(+), 44 deletions(-)
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json
index f64180f96abb..c077727e8d99 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/cosmos-db.json
@@ -67,13 +67,13 @@
}
},
"patch": {
- "operationId": "DatabaseAccounts_Patch",
+ "operationId": "DatabaseAccounts_Update",
"x-ms-examples": {
"CosmosDBDatabaseAccountPatch": {
"$ref": "./examples/CosmosDBDatabaseAccountPatch.json"
}
},
- "description": "Patches the properties of an existing Azure Cosmos DB database account.",
+ "description": "Updates the properties of an existing Azure Cosmos DB database account.",
"x-ms-long-running-operation": true,
"parameters": [
{
@@ -93,14 +93,14 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/DatabaseAccountPatchParameters"
+ "$ref": "#/definitions/DatabaseAccountUpdateParameters"
},
- "description": "The tags parameter to patch for the current database account."
+ "description": "The parameters to provide for the current database account."
}
],
"responses": {
"200": {
- "description": "The properties of the database account were patched successfully.",
+ "description": "The database account update operation will complete asynchronously.",
"schema": {
"$ref": "#/definitions/DatabaseAccountGetResults"
}
@@ -117,7 +117,7 @@
"$ref": "./examples/CosmosDBDatabaseAccountCreateMax.json"
}
},
- "description": "Creates or updates an Azure Cosmos DB database account.",
+ "description": "Creates or updates an Azure Cosmos DB database account. The \"Update\" method is preferred when performing updates on an account.",
"x-ms-long-running-operation": true,
"parameters": [
{
@@ -5012,6 +5012,14 @@
"$ref": "#/definitions/Location"
}
},
+ "locations": {
+ "type": "array",
+ "readOnly": true,
+ "description": "An array that contains all of the locations enabled for the Cosmos DB account.",
+ "items": {
+ "$ref": "#/definitions/Location"
+ }
+ },
"failoverPolicies": {
"type": "array",
"readOnly": true,
@@ -5038,19 +5046,10 @@
"connectorOffer": {
"description": "The cassandra connector offer type for the Cosmos DB database C* account.",
"$ref": "#/definitions/ConnectorOffer"
- }
- }
- },
- "DatabaseAccountPatchProperties": {
- "description": "Properties to update Azure Cosmos DB database accounts.",
- "type": "object",
- "properties": {
- "capabilities": {
- "type": "array",
- "description": "List of Cosmos DB capabilities for the account",
- "items": {
- "$ref": "#/definitions/Capability"
- }
+ },
+ "disableKeyBasedMetadataWriteAccess": {
+ "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys",
+ "type": "boolean"
}
}
},
@@ -5110,6 +5109,10 @@
"connectorOffer": {
"description": "The cassandra connector offer type for the Cosmos DB database C* account.",
"$ref": "#/definitions/ConnectorOffer"
+ },
+ "disableKeyBasedMetadataWriteAccess": {
+ "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys",
+ "type": "boolean"
}
},
"required": [
@@ -5149,16 +5152,79 @@
"properties"
]
},
- "DatabaseAccountPatchParameters": {
+ "DatabaseAccountUpdateProperties": {
+ "description": "Properties to update Azure Cosmos DB database accounts.",
+ "type": "object",
+ "properties": {
+ "consistencyPolicy": {
+ "description": "The consistency policy for the Cosmos DB account.",
+ "$ref": "#/definitions/ConsistencyPolicy"
+ },
+ "locations": {
+ "type": "array",
+ "description": "An array that contains the georeplication locations enabled for the Cosmos DB account.",
+ "items": {
+ "$ref": "#/definitions/Location"
+ }
+ },
+ "ipRangeFilter": {
+ "description": "Cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces.",
+ "$ref": "#/definitions/IPRangeFilter"
+ },
+ "isVirtualNetworkFilterEnabled": {
+ "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules.",
+ "type": "boolean"
+ },
+ "enableAutomaticFailover": {
+ "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.",
+ "type": "boolean"
+ },
+ "capabilities": {
+ "type": "array",
+ "description": "List of Cosmos DB capabilities for the account",
+ "items": {
+ "$ref": "#/definitions/Capability"
+ }
+ },
+ "virtualNetworkRules": {
+ "type": "array",
+ "description": "List of Virtual Network ACL rules configured for the Cosmos DB account.",
+ "items": {
+ "$ref": "#/definitions/VirtualNetworkRule"
+ }
+ },
+ "enableMultipleWriteLocations": {
+ "description": "Enables the account to write in multiple locations",
+ "type": "boolean"
+ },
+ "enableCassandraConnector": {
+ "description": "Enables the cassandra connector on the Cosmos DB C* account",
+ "type": "boolean"
+ },
+ "connectorOffer": {
+ "description": "The cassandra connector offer type for the Cosmos DB database C* account.",
+ "$ref": "#/definitions/ConnectorOffer"
+ },
+ "disableKeyBasedMetadataWriteAccess": {
+ "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys",
+ "type": "boolean"
+ }
+ }
+ },
+ "DatabaseAccountUpdateParameters": {
"description": "Parameters for patching Azure Cosmos DB database account properties.",
"type": "object",
"properties": {
"tags": {
"$ref": "#/definitions/Tags"
},
+ "location": {
+ "type": "string",
+ "description": "The location of the resource group to which the resource belongs."
+ },
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/DatabaseAccountPatchProperties"
+ "$ref": "#/definitions/DatabaseAccountUpdateProperties"
}
}
},
@@ -5931,6 +5997,13 @@
"name": "PartitionKind",
"modelAsString": true
}
+ },
+ "version": {
+ "description": "Indicates the version of the partition key definition",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 2,
+ "format": "int32"
}
}
},
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountCreateMax.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountCreateMax.json
index 40ce869a85cf..d769de814c01 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountCreateMax.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountCreateMax.json
@@ -52,6 +52,7 @@
"ipRangeFilter": "10.10.10.10",
"isVirtualNetworkFilterEnabled": true,
"databaseAccountOfferType": "Standard",
+ "disableKeyBasedMetadataWriteAccess": false,
"consistencyPolicy": {
"defaultConsistencyLevel": "BoundedStaleness",
"maxIntervalInSeconds": 10,
@@ -82,6 +83,22 @@
"isZoneRedundant": false
}
],
+ "locations": [
+ {
+ "id": "ddb1-southcentralus",
+ "locationName": "South Central US",
+ "provisioningState": "Initializing",
+ "failoverPriority": 0,
+ "isZoneRedundant": false
+ },
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "provisioningState": "Initializing",
+ "failoverPriority": 1,
+ "isZoneRedundant": false
+ }
+ ],
"failoverPolicies": [
{
"id": "ddb1-southcentralus",
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountCreateMin.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountCreateMin.json
index 284059db0daa..5f9b237619aa 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountCreateMin.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountCreateMin.json
@@ -31,6 +31,7 @@
"provisioningState": "Initializing",
"ipRangeFilter": "",
"databaseAccountOfferType": "Standard",
+ "disableKeyBasedMetadataWriteAccess": false,
"consistencyPolicy": {
"defaultConsistencyLevel": "Session",
"maxIntervalInSeconds": 5,
@@ -54,6 +55,15 @@
"isZoneRedundant": false
}
],
+ "locations": [
+ {
+ "id": "ddb1-southcentralus",
+ "locationName": "South Central US",
+ "provisioningState": "Initializing",
+ "failoverPriority": 0,
+ "isZoneRedundant": false
+ }
+ ],
"failoverPolicies": [
{
"id": "ddb1-southcentralus",
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountGet.json
index fcea79dd152d..cebc2790fb41 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountGet.json
@@ -21,6 +21,7 @@
"isVirtualNetworkFilterEnabled": false,
"virtualNetworkRules": [],
"databaseAccountOfferType": "Standard",
+ "disableKeyBasedMetadataWriteAccess": false,
"consistencyPolicy": {
"defaultConsistencyLevel": "Session",
"maxIntervalInSeconds": 5,
@@ -44,6 +45,15 @@
"failoverPriority": 0
}
],
+ "locations": [
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "documentEndpoint": "https://ddb1-eastus.documents.azure.com:443/",
+ "provisioningState": "Succeeded",
+ "failoverPriority": 0
+ }
+ ],
"failoverPolicies": [
{
"id": "ddb1-eastus",
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountList.json
index 596d8b9df880..ec521400f47e 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountList.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountList.json
@@ -19,6 +19,7 @@
"documentEndpoint": "https://ddb1.documents.azure.com:443/",
"ipRangeFilter": "",
"databaseAccountOfferType": "Standard",
+ "disableKeyBasedMetadataWriteAccess": false,
"consistencyPolicy": {
"defaultConsistencyLevel": "Session",
"maxIntervalInSeconds": 5,
@@ -42,6 +43,15 @@
"failoverPriority": 0
}
],
+ "locations": [
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "documentEndpoint": "https://ddb1-eastus.documents.azure.com:443/",
+ "provisioningState": "Succeeded",
+ "failoverPriority": 0
+ }
+ ],
"failoverPolicies": [
{
"id": "ddb1-eastus",
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountListByResourceGroup.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountListByResourceGroup.json
index 4947086025bc..9b1dd75a48ca 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountListByResourceGroup.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountListByResourceGroup.json
@@ -20,6 +20,7 @@
"documentEndpoint": "https://ddb1.documents.azure.com:443/",
"ipRangeFilter": "",
"databaseAccountOfferType": "Standard",
+ "disableKeyBasedMetadataWriteAccess": false,
"consistencyPolicy": {
"defaultConsistencyLevel": "Session",
"maxIntervalInSeconds": 5,
@@ -43,6 +44,15 @@
"failoverPriority": 0
}
],
+ "locations": [
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "documentEndpoint": "https://ddb1-eastus.documents.azure.com:443/",
+ "provisioningState": "Succeeded",
+ "failoverPriority": 0
+ }
+ ],
"failoverPolicies": [
{
"id": "ddb1-eastus",
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountPatch.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountPatch.json
index b1e2102b6bc8..12a688594e63 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountPatch.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountPatch.json
@@ -5,8 +5,24 @@
"api-version": "2019-08-01",
"subscriptionId": "subid",
"updateParameters": {
+ "location": "westus",
"tags": {
"dept": "finance"
+ },
+ "properties": {
+ "ipRangeFilter": "10.10.10.10",
+ "isVirtualNetworkFilterEnabled": true,
+ "virtualNetworkRules": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
+ "ignoreMissingVNetServiceEndpoint": false
+ }
+ ],
+ "consistencyPolicy": {
+ "defaultConsistencyLevel": "BoundedStaleness",
+ "maxIntervalInSeconds": 10,
+ "maxStalenessPrefix": 200
+ }
}
}
},
@@ -18,16 +34,20 @@
"location": "West US",
"type": "Microsoft.DocumentDB/databaseAccounts",
"kind": "GlobalDocumentDB",
- "tags": {},
+ "tags": {
+ "dept": "finance"
+ },
"properties": {
"provisioningState": "Succeeded",
"documentEndpoint": "https://ddb1.documents.azure.com:443/",
- "ipRangeFilter": "",
"databaseAccountOfferType": "Standard",
+ "ipRangeFilter": "10.10.10.10",
+ "isVirtualNetworkFilterEnabled": true,
+ "disableKeyBasedMetadataWriteAccess": false,
"consistencyPolicy": {
- "defaultConsistencyLevel": "Session",
- "maxIntervalInSeconds": 5,
- "maxStalenessPrefix": 100
+ "defaultConsistencyLevel": "BoundedStaleness",
+ "maxIntervalInSeconds": 10,
+ "maxStalenessPrefix": 200
},
"writeLocations": [
{
@@ -47,12 +67,27 @@
"failoverPriority": 0
}
],
+ "locations": [
+ {
+ "id": "ddb1-eastus",
+ "locationName": "East US",
+ "documentEndpoint": "https://ddb1-eastus.documents.azure.com:443/",
+ "provisioningState": "Succeeded",
+ "failoverPriority": 0
+ }
+ ],
"failoverPolicies": [
{
"id": "ddb1-eastus",
"locationName": "East US",
"failoverPriority": 0
}
+ ],
+ "virtualNetworkRules": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
+ "ignoreMissingVNetServiceEndpoint": false
+ }
]
}
}
diff --git a/specification/cosmos-db/resource-manager/readme.go.md b/specification/cosmos-db/resource-manager/readme.go.md
index 91ccd4fa86fc..c0de78608413 100644
--- a/specification/cosmos-db/resource-manager/readme.go.md
+++ b/specification/cosmos-db/resource-manager/readme.go.md
@@ -13,9 +13,29 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-2019-08
+ - tag: package-2019-08-preview
- tag: package-2015-04
```
+### Tag: package-2019-08 and go
+
+These settings apply only when `--tag=package-2019-08 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-08' && $(go)
+output-folder: $(go-sdk-folder)/services/cosmos-db/mgmt/2019-08-01/$(namespace)
+```
+
+### Tag: package-2019-08-preview and go
+
+These settings apply only when `--tag=package-2019-08-preview --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-08-preview' && $(go)
+output-folder: $(go-sdk-folder)/services/cosmos-db/mgmt/2019-08-01-preview/$(namespace)
+```
+
### Tag: package-2015-04 and go
These settings apply only when `--tag=package-2015-04 --go` is specified on the command line.
diff --git a/specification/cosmos-db/resource-manager/readme.java.md b/specification/cosmos-db/resource-manager/readme.java.md
index f1f569a270c2..0e4df3d1f245 100644
--- a/specification/cosmos-db/resource-manager/readme.java.md
+++ b/specification/cosmos-db/resource-manager/readme.java.md
@@ -17,9 +17,37 @@ service-name: CosmosDB
``` yaml $(java) && $(multiapi)
batch:
+ - tag: package-2019-08
+ - tag: package-2019-08-preview
- tag: package-2015-04
```
+### Tag: package-2019-08 and java
+
+These settings apply only when `--tag=package-2019-08 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2019-08' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.cosmosdb.v2019_08_01
+ output-folder: $(azure-libraries-for-java-folder)/cosmosdb/resource-manager/v2019_08_01
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2019-08-preview and java
+
+These settings apply only when `--tag=package-2019-08-preview --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2019-08-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.cosmosdb.v2019_08_01_preview
+ output-folder: $(azure-libraries-for-java-folder)/cosmosdb/resource-manager/v2019_08_01_preview
+regenerate-manager: true
+generate-interface: true
+```
+
### Tag: package-2015-04 and java
These settings apply only when `--tag=package-2015-04 --java` is specified on the command line.
diff --git a/specification/cosmos-db/resource-manager/readme.md b/specification/cosmos-db/resource-manager/readme.md
index 7333e31c4955..182dc8d32f07 100644
--- a/specification/cosmos-db/resource-manager/readme.md
+++ b/specification/cosmos-db/resource-manager/readme.md
@@ -26,16 +26,9 @@ These are the global settings for the Cosmos-DB API.
``` yaml
openapi-type: arm
-```
-
-``` yaml
tag: package-2019-08
```
-``` yaml
-tag: package-2015-04
-```
-
### Tag: package-2019-08
These settings apply only when `--tag=package-2019-08` is specified on the command line.
diff --git a/specification/cosmos-db/resource-manager/readme.python.md b/specification/cosmos-db/resource-manager/readme.python.md
index 826db3c9f5c8..96b818779dd7 100644
--- a/specification/cosmos-db/resource-manager/readme.python.md
+++ b/specification/cosmos-db/resource-manager/readme.python.md
@@ -1,27 +1,57 @@
## Python
These settings apply only when `--python` is specified on the command line.
-Please also specify `--python-sdks-folder=`.
-Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
``` yaml $(python)
-python-mode: create
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
- namespace: azure.mgmt.cosmosdb
package-name: azure-mgmt-cosmosdb
- package-version: 0.7.0
clear-output-folder: true
+ no-namespace-folders: true
+```
+
+### Python multi-api
+
+Generate all API versions currently shipped for this package
+
+```yaml $(python) && $(multiapi)
+batch:
+ - tag: package-2019-08
+ - tag: package-2019-08-preview
+ - tag: package-2015-04
```
-``` yaml $(python) && $(python-mode) == 'update'
+
+### Tag: package-2019-08 and python
+
+These settings apply only when `--tag=package-2019-08 --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-08' && $(python)
python:
- no-namespace-folders: true
- output-folder: $(python-sdks-folder)/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb
+ namespace: azure.mgmt.cosmosdb.v2019_08_01
+ output-folder: $(python-sdks-folder)/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/v2019_08_01
```
-``` yaml $(python) && $(python-mode) == 'create'
+
+### Tag: package-2019-08-preview and python
+
+These settings apply only when `--tag=package-2019-08-preview --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-08-preview' && $(python)
+python:
+ namespace: azure.mgmt.cosmosdb.v2019_08_01_preview
+ output-folder: $(python-sdks-folder)/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/v2019_08_01_preview
+```
+
+### Tag: package-2015-04 and python
+
+These settings apply only when `--tag=package-2015-04 --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2015-04' && $(python)
python:
- basic-setup-py: true
- output-folder: $(python-sdks-folder)/cosmos/azure-mgmt-cosmosdb
+ namespace: azure.mgmt.cosmosdb.v2015_04_01
+ output-folder: $(python-sdks-folder)/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/v2015_04_01
```
From 27183c59eff593ac191739283e09b7f07a9eede2 Mon Sep 17 00:00:00 2001
From: Phoenix He
Date: Wed, 30 Oct 2019 14:16:35 +0800
Subject: [PATCH 106/189] Fix scripts/switch-to-preproduction (#7666)
* fix scripts/switch-to-preproduction
* Add tsc to postinstall
---
package.json | 4 ++--
scripts/switch-to-preproduction.sh | 8 --------
scripts/switch-to-preproduction.ts | 22 ++++++++++++++++++++++
3 files changed, 24 insertions(+), 10 deletions(-)
delete mode 100755 scripts/switch-to-preproduction.sh
create mode 100644 scripts/switch-to-preproduction.ts
diff --git a/package.json b/package.json
index 332e317dda82..103684cd9b1b 100644
--- a/package.json
+++ b/package.json
@@ -36,10 +36,10 @@
"url": "http://github.com/azure/azure-rest-api-specs/issues"
},
"scripts": {
- "postinstall": "scripts/switch-to-preproduction.sh",
+ "postinstall": "ts-node scripts/switch-to-preproduction.ts && tsc",
"test": "tsc && mocha -t 500000 --reporter min",
"spellcheck": "ts-node ./scripts/spellcheck.ts",
- "prettier-check": "tsc && ts-node ./scripts/prettier-check.ts",
+ "prettier-check": "ts-node ./scripts/prettier-check.ts",
"prettier": "prettier",
"tsc": "tsc",
"multiapi": "ts-node ./scripts/multiapi.ts"
diff --git a/scripts/switch-to-preproduction.sh b/scripts/switch-to-preproduction.sh
deleted file mode 100755
index fa7bc3d26ab4..000000000000
--- a/scripts/switch-to-preproduction.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-[ -z "$PREPRODUCTION_PIPELINE" ] || {
- echo "Switch to preproduction package.json"
- cp -f .azure-pipelines-preproduction/package.json ./package.json
- cp -f .azure-pipelines-preproduction/package-lock.json ./package-lock.json
- PREPRODUCTION_PIPELINE= npm ci
-}
diff --git a/scripts/switch-to-preproduction.ts b/scripts/switch-to-preproduction.ts
new file mode 100644
index 000000000000..45697f0acb12
--- /dev/null
+++ b/scripts/switch-to-preproduction.ts
@@ -0,0 +1,22 @@
+import process from 'process';
+import fs from 'fs';
+import childProcess from 'child_process';
+
+function main() {
+ if (!process.env.PREPRODUCTION_PIPELINE) {
+ return;
+ }
+
+ console.log('Switch to preproduction package.json');
+ fs.copyFileSync('.azure-pipelines-preproduction/package.json', 'package.json');
+ fs.copyFileSync('.azure-pipelines-preproduction/package-lock.json', 'package-lock.json');
+
+ childProcess.execSync('npm ci', {
+ env: {
+ ...process.env,
+ PREPRODUCTION_PIPELINE: ''
+ }
+ });
+}
+
+main();
From 7a5ee63a95ff1b226bc64c1cc0bc3f2dd9d80ce6 Mon Sep 17 00:00:00 2001
From: Ivan Liu <54023690+liubing-microsoft@users.noreply.github.com>
Date: Wed, 30 Oct 2019 16:53:56 +0800
Subject: [PATCH 107/189] remove licenseKey from required (#7647)
---
.../stable/2018-06-01/entityTypes/IntegrationRuntime.json | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json
index e5891b041cba..543e17451e10 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json
@@ -408,8 +408,7 @@
}
},
"required": [
- "componentName",
- "licenseKey"
+ "componentName"
]
},
"EntityReference": {
From b07429220d520ba7c8b4c9ab355549eba7b05e63 Mon Sep 17 00:00:00 2001
From: Phoenix He
Date: Wed, 30 Oct 2019 21:24:40 +0800
Subject: [PATCH 108/189] Add prettier fix docs and prettier support for vscode
(#7667)
---
.vscode/extensions.json | 9 +++++----
.vscode/settings.json | 7 +++++--
documentation/ci-fix.md | 21 +++++++++++++++++++++
package.json | 1 +
scripts/prettier-check.ts | 2 +-
5 files changed, 33 insertions(+), 7 deletions(-)
create mode 100644 documentation/ci-fix.md
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
index d09daa2d55e0..f23f12deef48 100644
--- a/.vscode/extensions.json
+++ b/.vscode/extensions.json
@@ -1,6 +1,7 @@
{
- "recommendations": [
- "EditorConfig.EditorConfig",
- "docsmsft.docs-authoring-pack"
- ]
+ "recommendations": [
+ "EditorConfig.EditorConfig",
+ "esbenp.prettier-vscode",
+ "docsmsft.docs-authoring-pack"
+ ]
}
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 86500570ba6b..81c95f4d9519 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -20,5 +20,8 @@
"url":"https://raw.githubusercontent.com/Azure/autorest/master/schema/composite-swagger.json"
}
],
- "typescript.tsdk": "node_modules\\typescript\\lib"
-}
\ No newline at end of file
+ "typescript.tsdk": "node_modules\\typescript\\lib",
+ "[json]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ }
+}
diff --git a/documentation/ci-fix.md b/documentation/ci-fix.md
new file mode 100644
index 000000000000..92de1bfc14ce
--- /dev/null
+++ b/documentation/ci-fix.md
@@ -0,0 +1,21 @@
+# CI Fix Guide
+
+Here are guides to fix some of the CI failure.
+
+## Spell check
+
+Please add your words to `./custom-words.txt` if you think you have the correct spell
+
+## Prettier check
+
+Please run the following command:
+
+`sh
+npm install; npm run prettier-fix
+`
+
+Or if you want to fix specified service:
+
+`sh
+npm install; npm run prettier -- --write "specification//**/*.json"
+`
diff --git a/package.json b/package.json
index 103684cd9b1b..8719d7155268 100644
--- a/package.json
+++ b/package.json
@@ -40,6 +40,7 @@
"test": "tsc && mocha -t 500000 --reporter min",
"spellcheck": "ts-node ./scripts/spellcheck.ts",
"prettier-check": "ts-node ./scripts/prettier-check.ts",
+ "prettier-fix": "prettier --write specification/**/*.json",
"prettier": "prettier",
"tsc": "tsc",
"multiapi": "ts-node ./scripts/multiapi.ts"
diff --git a/scripts/prettier-check.ts b/scripts/prettier-check.ts
index 5e3661cdcb3a..ce869a60b8d1 100644
--- a/scripts/prettier-check.ts
+++ b/scripts/prettier-check.ts
@@ -17,6 +17,6 @@ runCheckOverChangedSpecFiles({
},
onFinalFailed: async () => {
- logError('Code style issues found in the above file(s). Please run `npm install && npm run prettier -- --write "specification//**/*.json"` to fix.')
+ logError('Code style issues found in the above file(s). Please follow https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/ci-fix.md')
}
})
\ No newline at end of file
From 335ffba7b53bec254045841c77be4b3a7af324f8 Mon Sep 17 00:00:00 2001
From: nebadr <48523292+nebadr@users.noreply.github.com>
Date: Wed, 30 Oct 2019 16:07:40 +0200
Subject: [PATCH 109/189] Update LUIS Authoring v3.0-preview swagger (#7661)
* update swagger
* Remove unused examples
* Revert "Remove unused examples"
This reverts commit 99e6f151e0e5944e5513cd601e49da82178e0438.
* Revert "update swagger"
This reverts commit 80df648593854cd3baa52059d3215a8dc42f4399.
* Change url
* Add missing field
* Adding import changes
* Changes
* Add hierarchicals
---
custom-words.txt | 1 +
.../preview/v3.0/LUIS-Authoring.json | 83 +++++++++++++++++--
2 files changed, 75 insertions(+), 9 deletions(-)
diff --git a/custom-words.txt b/custom-words.txt
index 4d81dba6c665..d49cb82d4bc6 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -605,6 +605,7 @@ heatmap
HHMM
HHMMS
HHMMSS
+hierarchicals
hierarchicalentities
hierarchyid
hivevar
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json
index 0ac2369a08a0..8b1eb4352a5a 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json
@@ -5,7 +5,7 @@
"version": "3.0-preview"
},
"x-ms-parameterized-host": {
- "hostTemplate": "{Endpoint}/luis/api/v3.0-preview",
+ "hostTemplate": "{Endpoint}/luis/authoring/v3.0-preview",
"useSchemePrefix": false,
"parameters": [
{
@@ -8131,6 +8131,11 @@
"description": "An interchangeable phrase list feature serves as a list of synonyms for training. A non-exchangeable phrase list serves as separate features for training. So, if your non-interchangeable phrase list contains 5 phrases, they will be mapped to 5 separate features. You can think of the non-interchangeable phrase list as an additional bag of words to add to LUIS existing vocabulary features. It is used as a lexicon lookup feature where its value is 1 if the lexicon contains a given word or 0 if it doesn’t. Default value is true.",
"default": true,
"type": "boolean"
+ },
+ "enabledForAllModels": {
+ "description": "Indicates if the Phraselist is enabled for all models in the application.",
+ "default": true,
+ "type": "boolean"
}
}
},
@@ -8263,6 +8268,11 @@
"mode": {
"description": "An interchangeable phrase list feature serves as a list of synonyms for training. A non-exchangeable phrase list serves as separate features for training. So, if your non-interchangeable phrase list contains 5 phrases, they will be mapped to 5 separate features. You can think of the non-interchangeable phrase list as an additional bag of words to add to LUIS existing vocabulary features. It is used as a lexicon lookup feature where its value is 1 if the lexicon contains a given word or 0 if it doesn’t. Default value is true.",
"type": "boolean"
+ },
+ "enabledForAllModels": {
+ "description": "Indicates if the Phraselist is enabled for all models in the application.",
+ "default": true,
+ "type": "boolean"
}
}
},
@@ -8509,6 +8519,31 @@
}
}
},
+ "JsonChild": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "instanceOf": {
+ "type": "string"
+ },
+ "children": {
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/JsonChild"
+ },
+ "type": "array"
+ },
+ "features": {
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/JsonModelFeatureInformation"
+ },
+ "type": "array"
+ }
+ }
+ },
"HierarchicalModel": {
"type": "object",
"properties": {
@@ -8516,20 +8551,28 @@
"type": "string"
},
"children": {
- "items": {
- "type": "string"
- },
- "type": "array"
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/JsonChild"
+ },
+ "type": "array"
},
- "inherits": {
- "type": "object",
- "$ref": "#/definitions/PrebuiltDomainObject"
+ "features": {
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/JsonModelFeatureInformation"
+ },
+ "type": "array"
},
"roles": {
"type": "array",
"items": {
"type": "string"
}
+ },
+ "inherits": {
+ "type": "object",
+ "$ref": "#/definitions/PrebuiltDomainObject"
}
}
},
@@ -8601,6 +8644,14 @@
},
"type": "array"
},
+ "hierarchicals": {
+ "description": "List of hierarchical entities.",
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/HierarchicalModel"
+ },
+ "type": "array"
+ },
"patternAnyEntities": {
"description": "List of Pattern.Any entities.",
"items": {
@@ -8633,7 +8684,7 @@
},
"type": "array"
},
- "model_features": {
+ "phraselists": {
"description": "List of model features.",
"items": {
"type": "object",
@@ -10155,6 +10206,20 @@
}
}
},
+ "JsonModelFeatureInformation": {
+ "description": "An object containing the model feature information either the model name or feature name.",
+ "type": "object",
+ "properties": {
+ "modelName": {
+ "type": "string",
+ "description": "The name of the model used."
+ },
+ "featureName": {
+ "type": "string",
+ "description": "The name of the feature used."
+ }
+ }
+ },
"PatternAny": {
"description": "Pattern.Any Entity Extractor.",
"type": "object",
From 6c70b9da7c3e5f8674968d89799b72d18fccf774 Mon Sep 17 00:00:00 2001
From: Chuang <54572251+xccc-msft@users.noreply.github.com>
Date: Wed, 30 Oct 2019 07:57:59 -0700
Subject: [PATCH 110/189] EventGrid: add package-2020-01-preview in
readme.java.md (#7620)
---
.../eventgrid/resource-manager/readme.java.md | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/specification/eventgrid/resource-manager/readme.java.md b/specification/eventgrid/resource-manager/readme.java.md
index 6df449adad2d..ab3c643a5698 100644
--- a/specification/eventgrid/resource-manager/readme.java.md
+++ b/specification/eventgrid/resource-manager/readme.java.md
@@ -16,6 +16,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-eventgrid
``` yaml $(java) && $(multiapi)
batch:
+ - tag: package-2020-01-preview
- tag: package-2019-06
- tag: package-2019-02-preview
- tag: package-2019-01
@@ -24,6 +25,20 @@ batch:
- tag: package-2018-01
```
+### Tag: package-2020-01-preview and java
+
+These settings apply only when `--tag=package-2020-01-preview --java` is specified on the command line.
+
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2020-01-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.eventgrid.v2020_01_01_preview
+ output-folder: $(azure-libraries-for-java-folder)/eventgrid/resource-manager/v2020_01_01_preview
+regenerate-manager: true
+generate-interface: true
+```
+
### Tag: package-2019-06 and java
These settings apply only when `--tag=package-2019-06 --java` is specified on the command line.
From 7ab357663f280c844136fcb08d4ad6b69cc291a3 Mon Sep 17 00:00:00 2001
From: Laura Galbraith
Date: Wed, 30 Oct 2019 14:18:03 -0700
Subject: [PATCH 111/189] Update HanaOnAzure Swagger to support new Cascade
Lake SKUs (#7670)
* Add Cascade Lake SKUs: S224oo, S224oom, S224ooo
Add other SKUs which had not been synced: S112
* Add examples with new SKUs
---
.../examples/HanaInstances_List.json | 136 ++++++++++++++++++
.../2017-11-03-preview/hanaonazure.json | 16 ++-
2 files changed, 146 insertions(+), 6 deletions(-)
diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_List.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_List.json
index 7bdf25752c82..cc15e823b4fd 100644
--- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_List.json
+++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_List.json
@@ -150,6 +150,142 @@
},
"provisioningState": "Succeeded"
}
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup2/providers/Microsoft.HanaOnAzure/hanaInstances/myHanaInstance5",
+ "name": "myHanaInstance5",
+ "type": "Microsoft.HanaOnAzure/hanaInstances",
+ "location": "westus",
+ "properties": {
+ "hanaInstanceId": "00000000-0000-0000-0000-000000000000",
+ "powerState": "started",
+ "hwRevision": "Rev 3",
+ "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup",
+ "hardwareProfile": {
+ "hardwareType": "Cisco_UCS",
+ "hanaInstanceSize": "S112"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "ipAddress": "100.100.100.103"
+ }
+ ],
+ "circuitId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup2/providers/Microsoft.Network/expressRouteCircuit"
+ },
+ "storageProfile": {
+ "nfsIpAddress": "200.200.200.203"
+ },
+ "osProfile": {
+ "computerName": "myComputerName5",
+ "osType": "SUSE",
+ "version": "12 SP1",
+ "sshPublicKey": "AAAAB3NzaC1yc2EAAAABJQAAAQB/nAmOjTmezNUDKYvEeIRf2YnwM9/uUG1d0BYsc8/tRtx+RGi7N2lUbp728MXGwdnL9od4cItzky/zVdLZE2cycOa18xBK9cOWmcKS0A8FYBxEQWJ/q9YVUgZbFKfYGaGQxsER+A0w/fX8ALuk78ktP31K69LcQgxIsl7rNzxsoOQKJ/CIxOGMMxczYTiEoLvQhapFQMs3FL96didKr/QbrfB1WT6s3838SEaXfgZvLef1YB2xmfhbT9OXFE3FXvh2UPBfN+ffE7iiayQf/2XR+8j4N4bW30DiPtOQLGUrH1y5X/rpNZNlWW2+jGIxqZtgWg7lTy3mXy5x836Sj/6L"
+ },
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup2/providers/Microsoft.HanaOnAzure/hanaInstances/myHanaInstance6",
+ "name": "myHanaInstance6",
+ "type": "Microsoft.HanaOnAzure/hanaInstances",
+ "location": "westus",
+ "properties": {
+ "hanaInstanceId": "00000000-0000-0000-0000-000000000000",
+ "powerState": "started",
+ "hwRevision": "Rev 4",
+ "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup",
+ "hardwareProfile": {
+ "hardwareType": "Cisco_UCS",
+ "hanaInstanceSize": "S224oo"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "ipAddress": "100.100.100.103"
+ }
+ ],
+ "circuitId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup2/providers/Microsoft.Network/expressRouteCircuit"
+ },
+ "storageProfile": {
+ "nfsIpAddress": "200.200.200.203"
+ },
+ "osProfile": {
+ "computerName": "myComputerName6",
+ "osType": "SUSE",
+ "version": "12 SP1",
+ "sshPublicKey": "AAAAB3NzaC1yc2EAAAABJQAAAQB/nAmOjTmezNUDKYvEeIRf2YnwM9/uUG1d0BYsc8/tRtx+RGi7N2lUbp728MXGwdnL9od4cItzky/zVdLZE2cycOa18xBK9cOWmcKS0A8FYBxEQWJ/q9YVUgZbFKfYGaGQxsER+A0w/fX8ALuk78ktP31K69LcQgxIsl7rNzxsoOQKJ/CIxOGMMxczYTiEoLvQhapFQMs3FL96didKr/QbrfB1WT6s3838SEaXfgZvLef1YB2xmfhbT9OXFE3FXvh2UPBfN+ffE7iiayQf/2XR+8j4N4bW30DiPtOQLGUrH1y5X/rpNZNlWW2+jGIxqZtgWg7lTy3mXy5x836Sj/6L"
+ },
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup2/providers/Microsoft.HanaOnAzure/hanaInstances/myHanaInstance7",
+ "name": "myHanaInstance7",
+ "type": "Microsoft.HanaOnAzure/hanaInstances",
+ "location": "westus",
+ "properties": {
+ "hanaInstanceId": "00000000-0000-0000-0000-000000000000",
+ "powerState": "started",
+ "hwRevision": "Rev 4",
+ "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup",
+ "hardwareProfile": {
+ "hardwareType": "Cisco_UCS",
+ "hanaInstanceSize": "S224oom"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "ipAddress": "100.100.100.103"
+ }
+ ],
+ "circuitId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup2/providers/Microsoft.Network/expressRouteCircuit"
+ },
+ "storageProfile": {
+ "nfsIpAddress": "200.200.200.203"
+ },
+ "osProfile": {
+ "computerName": "myComputerName7",
+ "osType": "SUSE",
+ "version": "12 SP1",
+ "sshPublicKey": "AAAAB3NzaC1yc2EAAAABJQAAAQB/nAmOjTmezNUDKYvEeIRf2YnwM9/uUG1d0BYsc8/tRtx+RGi7N2lUbp728MXGwdnL9od4cItzky/zVdLZE2cycOa18xBK9cOWmcKS0A8FYBxEQWJ/q9YVUgZbFKfYGaGQxsER+A0w/fX8ALuk78ktP31K69LcQgxIsl7rNzxsoOQKJ/CIxOGMMxczYTiEoLvQhapFQMs3FL96didKr/QbrfB1WT6s3838SEaXfgZvLef1YB2xmfhbT9OXFE3FXvh2UPBfN+ffE7iiayQf/2XR+8j4N4bW30DiPtOQLGUrH1y5X/rpNZNlWW2+jGIxqZtgWg7lTy3mXy5x836Sj/6L"
+ },
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup2/providers/Microsoft.HanaOnAzure/hanaInstances/myHanaInstance8",
+ "name": "myHanaInstance8",
+ "type": "Microsoft.HanaOnAzure/hanaInstances",
+ "location": "westus",
+ "properties": {
+ "hanaInstanceId": "00000000-0000-0000-0000-000000000000",
+ "powerState": "started",
+ "hwRevision": "Rev 4",
+ "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup",
+ "hardwareProfile": {
+ "hardwareType": "Cisco_UCS",
+ "hanaInstanceSize": "S224ooo"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "ipAddress": "100.100.100.103"
+ }
+ ],
+ "circuitId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup2/providers/Microsoft.Network/expressRouteCircuit"
+ },
+ "storageProfile": {
+ "nfsIpAddress": "200.200.200.203"
+ },
+ "osProfile": {
+ "computerName": "myComputerName8",
+ "osType": "SUSE",
+ "version": "12 SP1",
+ "sshPublicKey": "AAAAB3NzaC1yc2EAAAABJQAAAQB/nAmOjTmezNUDKYvEeIRf2YnwM9/uUG1d0BYsc8/tRtx+RGi7N2lUbp728MXGwdnL9od4cItzky/zVdLZE2cycOa18xBK9cOWmcKS0A8FYBxEQWJ/q9YVUgZbFKfYGaGQxsER+A0w/fX8ALuk78ktP31K69LcQgxIsl7rNzxsoOQKJ/CIxOGMMxczYTiEoLvQhapFQMs3FL96didKr/QbrfB1WT6s3838SEaXfgZvLef1YB2xmfhbT9OXFE3FXvh2UPBfN+ffE7iiayQf/2XR+8j4N4bW30DiPtOQLGUrH1y5X/rpNZNlWW2+jGIxqZtgWg7lTy3mXy5x836Sj/6L"
+ },
+ "provisioningState": "Succeeded"
+ }
}
]
}
diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json
index 262f7e50271a..001a2c53ff74 100644
--- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json
+++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json
@@ -882,6 +882,15 @@
"S192m",
"S192xm",
"S96",
+ "S112",
+ "S224m",
+ "S224o",
+ "S224om",
+ "S224oo",
+ "S224oom",
+ "S224ooo",
+ "S224oxm",
+ "S224oxxm",
"S384",
"S384m",
"S384xm",
@@ -891,12 +900,7 @@
"S768",
"S768m",
"S768xm",
- "S960m",
- "S224o",
- "S224m",
- "S224om",
- "S224oxm",
- "S224oxxm"
+ "S960m"
],
"x-ms-enum": {
"name": "HanaInstanceSizeNamesEnum",
From dba69f22ff1e6ec0208a6ccbaa8c9f015f710e0e Mon Sep 17 00:00:00 2001
From: Chris Eggert
Date: Wed, 30 Oct 2019 16:42:48 -0700
Subject: [PATCH 112/189] Microsoft.Authorization/policy* entities 2019-09-01
(#7380)
* Copy 2019-06-01 to 2019-09-01
* Api-version 2019-09-01 of policy entities
* Allow multiple groups
* Explicitly model parameter definitions and values
---
.../createOrUpdatePolicyDefinition.json | 90 +++
...datePolicyDefinitionAtManagementGroup.json | 90 +++
.../createOrUpdatePolicySetDefinition.json | 153 ++++
...ePolicySetDefinitionAtManagementGroup.json | 126 +++
...OrUpdatePolicySetDefinitionWithGroups.json | 180 +++++
...DefinitionWithGroupsAtManagementGroup.json | 180 +++++
.../examples/createPolicyAssignment.json | 54 ++
.../examples/createPolicyAssignmentById.json | 53 ++
.../createPolicyAssignmentWithIdentity.json | 65 ++
...reatePolicyAssignmentWithIdentityById.json | 63 ++
...atePolicyAssignmentWithoutEnforcement.json | 55 ++
.../examples/deletePolicyAssignment.json | 38 +
.../examples/deletePolicyAssignmentById.json | 36 +
.../examples/deletePolicyDefinition.json | 15 +
...letePolicyDefinitionAtManagementGroup.json | 15 +
.../examples/deletePolicySetDefinition.json | 15 +
...ePolicySetDefinitionAtManagementGroup.json | 15 +
.../getBuiltInPolicySetDefinition.json | 67 ++
.../examples/getBuiltinPolicyDefinition.json | 52 ++
.../examples/getPolicyAssignment.json | 36 +
.../examples/getPolicyAssignmentById.json | 34 +
.../getPolicyAssignmentWithIdentity.json | 42 +
.../getPolicyAssignmentWithIdentityById.json | 40 +
.../examples/getPolicyDefinition.json | 53 ++
.../getPolicyDefinitionAtManagementGroup.json | 53 ++
.../examples/getPolicySetDefinition.json | 68 ++
...tPolicySetDefinitionAtManagementGroup.json | 50 ++
.../listBuiltInPolicyDefinitions.json | 130 ++++
.../listBuiltInPolicySetDefinitions.json | 70 ++
.../examples/listPolicyAssignments.json | 62 ++
.../listPolicyAssignmentsForResource.json | 66 ++
...listPolicyAssignmentsForResourceGroup.json | 63 ++
.../examples/listPolicyDefinitions.json | 128 +++
...istPolicyDefinitionsByManagementGroup.json | 96 +++
.../examples/listPolicySetDefinitions.json | 109 +++
...PolicySetDefinitionsByManagementGroup.json | 109 +++
.../stable/2019-09-01/policyAssignments.json | 732 ++++++++++++++++++
.../stable/2019-09-01/policyDefinitions.json | 644 +++++++++++++++
.../2019-09-01/policySetDefinitions.json | 672 ++++++++++++++++
.../resources/resource-manager/readme.go.md | 11 +
.../resources/resource-manager/readme.java.md | 19 +
.../resources/resource-manager/readme.md | 20 +-
.../resource-manager/readme.python.md | 12 +
43 files changed, 4680 insertions(+), 1 deletion(-)
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicyDefinition.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinition.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignment.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentById.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentWithIdentity.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentWithIdentityById.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentWithoutEnforcement.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyAssignment.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyAssignmentById.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyDefinition.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyDefinitionAtManagementGroup.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicySetDefinition.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicySetDefinitionAtManagementGroup.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getBuiltInPolicySetDefinition.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getBuiltinPolicyDefinition.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignment.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignmentById.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignmentWithIdentity.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignmentWithIdentityById.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyDefinition.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyDefinitionAtManagementGroup.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicySetDefinition.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicySetDefinitionAtManagementGroup.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listBuiltInPolicyDefinitions.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listBuiltInPolicySetDefinitions.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignments.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignmentsForResource.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignmentsForResourceGroup.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyDefinitions.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyDefinitionsByManagementGroup.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicySetDefinitions.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicySetDefinitionsByManagementGroup.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyAssignments.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyDefinitions.json
create mode 100644 specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policySetDefinitions.json
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicyDefinition.json
new file mode 100644
index 000000000000..b39478c814d1
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicyDefinition.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "policyDefinitionName": "ResourceNaming",
+ "api-version": "2019-09-01",
+ "parameters": {
+ "properties": {
+ "mode": "All",
+ "displayName": "Enforce resource naming convention",
+ "description": "Force resource names to begin with given 'prefix' and/or end with given 'suffix'",
+ "metadata": {
+ "category": "Naming"
+ },
+ "policyRule": {
+ "if": {
+ "not": {
+ "field": "name",
+ "like": "[concat(parameters('prefix'), '*', parameters('suffix'))]"
+ }
+ },
+ "then": {
+ "effect": "deny"
+ }
+ },
+ "parameters": {
+ "prefix": {
+ "type": "String",
+ "metadata": {
+ "displayName": "Prefix",
+ "description": "Resource name prefix"
+ }
+ },
+ "suffix": {
+ "type": "String",
+ "metadata": {
+ "displayName": "Suffix",
+ "description": "Resource name suffix"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "type": "Microsoft.Authorization/policyDefinitions",
+ "name": "ResourceNaming",
+ "properties": {
+ "mode": "All",
+ "displayName": "Naming Convention",
+ "description": "Force resource names to begin with 'prefix' and end with 'suffix'",
+ "metadata": {
+ "category": "Naming"
+ },
+ "policyRule": {
+ "if": {
+ "not": {
+ "field": "name",
+ "like": "[concat(parameters('prefix'), '*', parameters('suffix'))]"
+ }
+ },
+ "then": {
+ "effect": "deny"
+ }
+ },
+ "parameters": {
+ "prefix": {
+ "type": "String",
+ "metadata": {
+ "displayName": "Prefix",
+ "description": "Resource name prefix"
+ }
+ },
+ "suffix": {
+ "type": "String",
+ "metadata": {
+ "displayName": "Suffix",
+ "description": "Resource name suffix"
+ }
+ }
+ },
+ "policyType": "Custom"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json
new file mode 100644
index 000000000000..5a6564a327c4
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "managementGroupId": "MyManagementGroup",
+ "policyDefinitionName": "ResourceNaming",
+ "api-version": "2019-09-01",
+ "parameters": {
+ "properties": {
+ "mode": "All",
+ "displayName": "Enforce resource naming convention",
+ "description": "Force resource names to begin with given 'prefix' and/or end with given 'suffix'",
+ "metadata": {
+ "category": "Naming"
+ },
+ "policyRule": {
+ "if": {
+ "not": {
+ "field": "name",
+ "like": "[concat(parameters('prefix'), '*', parameters('suffix'))]"
+ }
+ },
+ "then": {
+ "effect": "deny"
+ }
+ },
+ "parameters": {
+ "prefix": {
+ "type": "String",
+ "metadata": {
+ "displayName": "Prefix",
+ "description": "Resource name prefix"
+ }
+ },
+ "suffix": {
+ "type": "String",
+ "metadata": {
+ "displayName": "Suffix",
+ "description": "Resource name suffix"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "type": "Microsoft.Authorization/policyDefinitions",
+ "name": "ResourceNaming",
+ "properties": {
+ "mode": "All",
+ "displayName": "Naming Convention",
+ "description": "Force resource names to begin with 'prefix' and end with 'suffix'",
+ "metadata": {
+ "category": "Naming"
+ },
+ "policyRule": {
+ "if": {
+ "not": {
+ "field": "name",
+ "like": "[concat(parameters('prefix'), '*', parameters('suffix'))]"
+ }
+ },
+ "then": {
+ "effect": "deny"
+ }
+ },
+ "parameters": {
+ "prefix": {
+ "type": "String",
+ "metadata": {
+ "displayName": "Prefix",
+ "description": "Resource name prefix"
+ }
+ },
+ "suffix": {
+ "type": "String",
+ "metadata": {
+ "displayName": "Suffix",
+ "description": "Resource name suffix"
+ }
+ }
+ },
+ "policyType": "Custom"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinition.json
new file mode 100644
index 000000000000..63d9d00b3445
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinition.json
@@ -0,0 +1,153 @@
+{
+ "parameters": {
+ "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "policySetDefinitionName": "CostManagement",
+ "api-version": "2019-09-01",
+ "parameters": {
+ "properties": {
+ "displayName": "Cost Management",
+ "description": "Policies to enforce low cost storage SKUs",
+ "metadata": {
+ "category": "Cost Management"
+ },
+ "parameters": {
+ "namePrefix": {
+ "type": "String",
+ "defaultValue": "myPrefix",
+ "metadata": {
+ "displayName": "Prefix to enforce on resource names"
+ }
+ }
+ },
+ "policyDefinitions": [
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "policyDefinitionReferenceId": "Limit_Skus",
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ }
+ },
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "policyDefinitionReferenceId": "Resource_Naming",
+ "parameters": {
+ "prefix": {
+ "value": "[parameters('namePrefix')]"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement",
+ "type": "Microsoft.Authorization/policySetDefinitions",
+ "name": "CostManagement",
+ "properties": {
+ "displayName": "Cost Management",
+ "description": "Policies to enforce low cost storage SKUs",
+ "metadata": {
+ "category": "Cost Management"
+ },
+ "parameters": {
+ "namePrefix": {
+ "type": "String",
+ "defaultValue": "myPrefix",
+ "metadata": {
+ "displayName": "Prefix to enforce on resource names"
+ }
+ }
+ },
+ "policyDefinitions": [
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "policyDefinitionReferenceId": "Limit_Skus",
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ }
+ },
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "policyDefinitionReferenceId": "Resource_Naming",
+ "parameters": {
+ "prefix": {
+ "value": "[parameters('namePrefix')]"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement",
+ "type": "Microsoft.Authorization/policySetDefinitions",
+ "name": "CostManagement",
+ "properties": {
+ "displayName": "Cost Management",
+ "description": "Policies to enforce low cost storage SKUs",
+ "metadata": {
+ "category": "Cost Management"
+ },
+ "parameters": {
+ "namePrefix": {
+ "type": "String",
+ "defaultValue": "myPrefix",
+ "metadata": {
+ "displayName": "Prefix to enforce on resource names"
+ }
+ }
+ },
+ "policyDefinitions": [
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "policyDefinitionReferenceId": "Limit_Skus",
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ }
+ },
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "policyDefinitionReferenceId": "Resource_Naming",
+ "parameters": {
+ "prefix": {
+ "value": "[parameters('namePrefix')]"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json
new file mode 100644
index 000000000000..4d9879f99cf7
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json
@@ -0,0 +1,126 @@
+{
+ "parameters": {
+ "managementGroupId": "MyManagementGroup",
+ "policySetDefinitionName": "CostManagement",
+ "api-version": "2019-09-01",
+ "parameters": {
+ "properties": {
+ "displayName": "Cost Management",
+ "description": "Policies to enforce low cost storage SKUs",
+ "metadata": {
+ "category": "Cost Management"
+ },
+ "policyDefinitions": [
+ {
+ "policyDefinitionId": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "policyDefinitionReferenceId": "Limit_Skus",
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ }
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "policyDefinitionReferenceId": "Resource_Naming",
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/CostManagement",
+ "type": "Microsoft.Authorization/policySetDefinitions",
+ "name": "CostManagement",
+ "properties": {
+ "displayName": "Cost Management",
+ "description": "Policies to enforce low cost storage SKUs",
+ "metadata": {
+ "category": "Cost Management"
+ },
+ "policyDefinitions": [
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "policyDefinitionReferenceId": "Limit_Skus",
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ }
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "policyDefinitionReferenceId": "Resource_Naming",
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/CostManagement",
+ "type": "Microsoft.Authorization/policySetDefinitions",
+ "name": "CostManagement",
+ "properties": {
+ "displayName": "Cost Management",
+ "description": "Policies to enforce low cost storage SKUs",
+ "metadata": {
+ "category": "Cost Management"
+ },
+ "policyDefinitions": [
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "policyDefinitionReferenceId": "Limit_Skus",
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ }
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "policyDefinitionReferenceId": "Resource_Naming",
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json
new file mode 100644
index 000000000000..5750007d9a39
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json
@@ -0,0 +1,180 @@
+{
+ "parameters": {
+ "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "policySetDefinitionName": "CostManagement",
+ "api-version": "2019-09-01",
+ "parameters": {
+ "properties": {
+ "displayName": "Cost Management",
+ "description": "Policies to enforce low cost storage SKUs",
+ "metadata": {
+ "category": "Cost Management"
+ },
+ "policyDefinitionGroups": [
+ {
+ "name": "CostSaving",
+ "displayName": "Cost Management Policies",
+ "description": "Policies designed to control spend within a subscription."
+ },
+ {
+ "name": "Organizational",
+ "displayName": "Organizational Policies",
+ "description": "Policies that help enforce resource organization standards within a subscription."
+ }
+ ],
+ "policyDefinitions": [
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "policyDefinitionReferenceId": "Limit_Skus",
+ "groupNames": [
+ "CostSaving"
+ ],
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ }
+ },
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "policyDefinitionReferenceId": "Resource_Naming",
+ "groupNames": [
+ "Organizational"
+ ],
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement",
+ "type": "Microsoft.Authorization/policySetDefinitions",
+ "name": "CostManagement",
+ "properties": {
+ "displayName": "Cost Management",
+ "description": "Policies to enforce low cost storage SKUs",
+ "metadata": {
+ "category": "Cost Management"
+ },
+ "policyDefinitionGroups": [
+ {
+ "name": "CostSaving",
+ "displayName": "Cost Management Policies",
+ "description": "Policies designed to control spend within a subscription."
+ },
+ {
+ "name": "Organizational",
+ "displayName": "Organizational Policies",
+ "description": "Policies that help enforce resource organization standards within a subscription."
+ }
+ ],
+ "policyDefinitions": [
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "policyDefinitionReferenceId": "Limit_Skus",
+ "groupNames": [
+ "CostSaving"
+ ],
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ }
+ },
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "policyDefinitionReferenceId": "Resource_Naming",
+ "groupNames": [
+ "Organizational"
+ ],
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement",
+ "type": "Microsoft.Authorization/policySetDefinitions",
+ "name": "CostManagement",
+ "properties": {
+ "displayName": "Cost Management",
+ "description": "Policies to enforce low cost storage SKUs",
+ "metadata": {
+ "category": "Cost Management"
+ },
+ "policyDefinitionGroups": [
+ {
+ "name": "CostSaving",
+ "displayName": "Cost Management Policies",
+ "description": "Policies designed to control spend within a subscription."
+ },
+ {
+ "name": "Organizational",
+ "displayName": "Organizational Policies",
+ "description": "Policies that help enforce resource organization standards within a subscription."
+ }
+ ],
+ "policyDefinitions": [
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "policyDefinitionReferenceId": "Limit_Skus",
+ "groupNames": [
+ "CostSaving"
+ ],
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ }
+ },
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "policyDefinitionReferenceId": "Resource_Naming",
+ "groupNames": [
+ "Organizational"
+ ],
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json
new file mode 100644
index 000000000000..8ff82f90bf98
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json
@@ -0,0 +1,180 @@
+{
+ "parameters": {
+ "managementGroupId": "MyManagementGroup",
+ "policySetDefinitionName": "CostManagement",
+ "api-version": "2019-09-01",
+ "parameters": {
+ "properties": {
+ "displayName": "Cost Management",
+ "description": "Policies to enforce low cost storage SKUs",
+ "metadata": {
+ "category": "Cost Management"
+ },
+ "policyDefinitionGroups": [
+ {
+ "name": "CostSaving",
+ "displayName": "Cost Management Policies",
+ "description": "Policies designed to control spend within a subscription."
+ },
+ {
+ "name": "Organizational",
+ "displayName": "Organizational Policies",
+ "description": "Policies that help enforce resource organization standards within a subscription."
+ }
+ ],
+ "policyDefinitions": [
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "policyDefinitionReferenceId": "Limit_Skus",
+ "groupNames": [
+ "CostSaving"
+ ],
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ }
+ },
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "policyDefinitionReferenceId": "Resource_Naming",
+ "groupNames": [
+ "Organizational"
+ ],
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/CostManagement",
+ "type": "Microsoft.Authorization/policySetDefinitions",
+ "name": "CostManagement",
+ "properties": {
+ "displayName": "Cost Management",
+ "description": "Policies to enforce low cost storage SKUs",
+ "metadata": {
+ "category": "Cost Management"
+ },
+ "policyDefinitionGroups": [
+ {
+ "name": "CostSaving",
+ "displayName": "Cost Management Policies",
+ "description": "Policies designed to control spend within a subscription."
+ },
+ {
+ "name": "Organizational",
+ "displayName": "Organizational Policies",
+ "description": "Policies that help enforce resource organization standards within a subscription."
+ }
+ ],
+ "policyDefinitions": [
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "policyDefinitionReferenceId": "Limit_Skus",
+ "groupNames": [
+ "CostSaving"
+ ],
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ }
+ },
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "policyDefinitionReferenceId": "Resource_Naming",
+ "groupNames": [
+ "Organizational"
+ ],
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/CostManagement",
+ "type": "Microsoft.Authorization/policySetDefinitions",
+ "name": "CostManagement",
+ "properties": {
+ "displayName": "Cost Management",
+ "description": "Policies to enforce low cost storage SKUs",
+ "metadata": {
+ "category": "Cost Management"
+ },
+ "policyDefinitionGroups": [
+ {
+ "name": "CostSaving",
+ "displayName": "Cost Management Policies",
+ "description": "Policies designed to control spend within a subscription."
+ },
+ {
+ "name": "Organizational",
+ "displayName": "Organizational Policies",
+ "description": "Policies that help enforce resource organization standards within a subscription."
+ }
+ ],
+ "policyDefinitions": [
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "policyDefinitionReferenceId": "Limit_Skus",
+ "groupNames": [
+ "CostSaving"
+ ],
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ }
+ },
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "policyDefinitionReferenceId": "Resource_Naming",
+ "groupNames": [
+ "Organizational"
+ ],
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignment.json
new file mode 100644
index 000000000000..3a76a643bf96
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignment.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "policyAssignmentName": "EnforceNaming",
+ "api-version": "2019-09-01",
+ "parameters": {
+ "properties": {
+ "displayName": "Enforce resource naming rules",
+ "description": "Force resource names to begin with given DeptA and end with -LC",
+ "metadata": {
+ "assignedBy": "Special Someone"
+ },
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "displayName": "Enforce resource naming rules",
+ "description": "Force resource names to begin with given DeptA and end with -LC",
+ "metadata": {
+ "assignedBy": "Special Someone"
+ },
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "notScopes": [],
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ },
+ "enforcementMode": "Default",
+ "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2"
+ },
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyAssignments/EnforceNaming",
+ "type": "Microsoft.Authorization/policyAssignments",
+ "name": "EnforceNaming"
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentById.json
new file mode 100644
index 000000000000..0262e2b7815f
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentById.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "policyAssignmentId": "providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyAssignments/LowCostStorage",
+ "api-version": "2019-09-01",
+ "parameters": {
+ "properties": {
+ "displayName": "Enforce storage account SKU",
+ "description": "Allow only storage accounts of SKU Standard_GRS or Standard_LRS to be created",
+ "metadata": {
+ "assignedBy": "Cheapskate Boss"
+ },
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ },
+ "enforcementMode": "Default"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "displayName": "Enforce storage account SKU",
+ "description": "Allow only storage accounts of SKU Standard_GRS or Standard_LRS to be created",
+ "metadata": {
+ "assignedBy": "Cheapskate Boss"
+ },
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "notScopes": [],
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ },
+ "enforcementMode": "Default"
+ },
+ "id": "/providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyAssignments/LowCostStorage",
+ "type": "Microsoft.Authorization/policyAssignments",
+ "name": "LowCostStorage"
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentWithIdentity.json
new file mode 100644
index 000000000000..594301fc63be
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentWithIdentity.json
@@ -0,0 +1,65 @@
+{
+ "parameters": {
+ "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "policyAssignmentName": "EnforceNaming",
+ "api-version": "2019-09-01",
+ "parameters": {
+ "location": "eastus",
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "properties": {
+ "displayName": "Enforce resource naming rules",
+ "description": "Force resource names to begin with given DeptA and end with -LC",
+ "metadata": {
+ "assignedBy": "Foo Bar"
+ },
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ },
+ "enforcementMode": "Default"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "displayName": "Enforce resource naming rules",
+ "description": "Force resource names to begin with given DeptA and end with -LC",
+ "metadata": {
+ "assignedBy": "Special Someone"
+ },
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "notScopes": [],
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ },
+ "enforcementMode": "Default",
+ "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2"
+ },
+ "identity": {
+ "type": "SystemAssigned",
+ "principalId": "e6d23f8d-af97-4fbc-bda6-00604e4e3d0a",
+ "tenantId": "4bee2b8a-1bee-47c2-90e9-404241551135"
+ },
+ "location": "eastus",
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyAssignments/EnforceNaming",
+ "type": "Microsoft.Authorization/policyAssignments",
+ "name": "EnforceNaming"
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentWithIdentityById.json
new file mode 100644
index 000000000000..ba44f34cf343
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentWithIdentityById.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "policyAssignmentId": "providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyAssignments/LowCostStorage",
+ "api-version": "2019-09-01",
+ "parameters": {
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "location": "eastus",
+ "properties": {
+ "displayName": "Enforce storage account SKU",
+ "description": "Allow only storage accounts of SKU Standard_GRS or Standard_LRS to be created",
+ "metadata": {
+ "assignedBy": "Cheapskate Boss"
+ },
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ },
+ "enforcementMode": "Default"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "displayName": "Enforce storage account SKU",
+ "description": "Allow only storage accounts of SKU Standard_GRS or Standard_LRS to be created",
+ "metadata": {
+ "assignedBy": "Cheapskate Boss"
+ },
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "notScopes": [],
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ },
+ "enforcementMode": "Default"
+ },
+ "identity": {
+ "type": "SystemAssigned",
+ "principalId": "e6d23f8d-af97-4fbc-bda6-00604e4e3d0a",
+ "tenantId": "4bee2b8a-1bee-47c2-90e9-404241551135"
+ },
+ "location": "eastus",
+ "id": "/providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyAssignments/LowCostStorage",
+ "type": "Microsoft.Authorization/policyAssignments",
+ "name": "LowCostStorage"
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentWithoutEnforcement.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentWithoutEnforcement.json
new file mode 100644
index 000000000000..35f5d62a8295
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/createPolicyAssignmentWithoutEnforcement.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "policyAssignmentName": "EnforceNaming",
+ "api-version": "2019-09-01",
+ "parameters": {
+ "properties": {
+ "displayName": "Enforce resource naming rules",
+ "description": "Force resource names to begin with given DeptA and end with -LC",
+ "metadata": {
+ "assignedBy": "Special Someone"
+ },
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ },
+ "enforcementMode": "DoNotEnforce"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "displayName": "Enforce resource naming rules",
+ "description": "Force resource names to begin with given DeptA and end with -LC",
+ "metadata": {
+ "assignedBy": "Special Someone"
+ },
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "notScopes": [],
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ },
+ "enforcementMode": "DoNotEnforce",
+ "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2"
+ },
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyAssignments/EnforceNaming",
+ "type": "Microsoft.Authorization/policyAssignments",
+ "name": "EnforceNaming"
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyAssignment.json
new file mode 100644
index 000000000000..f5061b6e516b
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyAssignment.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "policyAssignmentName": "EnforceNaming",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "displayName": "Enforce resource naming rules",
+ "description": "Force resource names to begin with given DeptA and end with -LC",
+ "metadata": {
+ "assignedBy": "Special Someone"
+ },
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "notScopes": [],
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ },
+ "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2"
+ },
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyAssignments/EnforceNaming",
+ "type": "Microsoft.Authorization/policyAssignments",
+ "name": "EnforceNaming"
+ }
+ },
+ "204": {
+ "headers": {}
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyAssignmentById.json
new file mode 100644
index 000000000000..67e670368914
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyAssignmentById.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "policyAssignmentId": "providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyAssignments/LowCostStorage",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "displayName": "Enforce storage account SKU",
+ "description": "Allow only storage accounts of SKU Standard_GRS or Standard_LRS to be created",
+ "metadata": {
+ "assignedBy": "Cheapskate Boss"
+ },
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "notScopes": [],
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ }
+ },
+ "id": "/providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyAssignments/LowCostStorage",
+ "type": "Microsoft.Authorization/policyAssignments",
+ "name": "LowCostStorage"
+ }
+ },
+ "204": {
+ "headers": {}
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyDefinition.json
new file mode 100644
index 000000000000..cfaa53ff8645
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyDefinition.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "policyDefinitionName": "ResourceNaming",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {}
+ },
+ "204": {
+ "headers": {}
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyDefinitionAtManagementGroup.json
new file mode 100644
index 000000000000..84bc6e5f4fa0
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicyDefinitionAtManagementGroup.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "managementGroupId": "MyManagementGroup",
+ "policyDefinitionName": "ResourceNaming",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {}
+ },
+ "204": {
+ "headers": {}
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicySetDefinition.json
new file mode 100644
index 000000000000..00ae7125cf2c
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicySetDefinition.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "policySetDefinitionName": "CostManagement",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {}
+ },
+ "204": {
+ "headers": {}
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicySetDefinitionAtManagementGroup.json
new file mode 100644
index 000000000000..69088f873a4f
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/deletePolicySetDefinitionAtManagementGroup.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "managementGroupId": "MyManagementGroup",
+ "policySetDefinitionName": "CostManagement",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {}
+ },
+ "204": {
+ "headers": {}
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getBuiltInPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getBuiltInPolicySetDefinition.json
new file mode 100644
index 000000000000..28354bd894ca
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getBuiltInPolicySetDefinition.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "policySetDefinitionName": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "displayName": "[Preview]: Enable Monitoring in Azure Security Center",
+ "policyType": "BuiltIn",
+ "description": "Monitor all the available security recommendations in Azure Security Center. This is the default policy for Azure Security Center.",
+ "metadata": {
+ "category": "Security Center"
+ },
+ "parameters": {},
+ "policyDefinitions": [
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a8bef009-a5c9-4d0f-90d7-6018734e8a16",
+ "policyDefinitionReferenceId": "RefId1"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af8051bf-258b-44e2-a2bf-165330459f9d",
+ "policyDefinitionReferenceId": "RefId2"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/86b3d65f-7626-441e-b690-81a8b71cff60",
+ "policyDefinitionReferenceId": "RefId3"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759",
+ "policyDefinitionReferenceId": "RefId4"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/b0f33259-77d7-4c9e-aac6-3aabcfae693c",
+ "policyDefinitionReferenceId": "RefId5"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/47a6b606-51aa-4496-8bb7-64b11cf66adc",
+ "policyDefinitionReferenceId": "RefId6"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed",
+ "policyDefinitionReferenceId": "RefId7"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e1e5fd5d-3e4c-4ce1-8661-7d1873ae6b15",
+ "policyDefinitionReferenceId": "RefId8"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af6cd1bd-1635-48cb-bde7-5b15693900b9",
+ "policyDefinitionReferenceId": "RefId9"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0961003e-5a0a-4549-abde-af6a37f2724d",
+ "policyDefinitionReferenceId": "RefId10"
+ }
+ ]
+ },
+ "id": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
+ "type": "Microsoft.Authorization/policySetDefinitions",
+ "name": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8"
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getBuiltinPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getBuiltinPolicyDefinition.json
new file mode 100644
index 000000000000..e9fa139e0fdb
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getBuiltinPolicyDefinition.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "policyDefinitionName": "7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "mode": "All",
+ "displayName": "Allowed storage account SKUs",
+ "policyType": "BuiltIn",
+ "description": "This policy enables you to specify a set of storage account SKUs that your organization can deploy.",
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "type": "Array",
+ "metadata": {
+ "description": "The list of SKUs that can be specified for storage accounts.",
+ "displayName": "Allowed SKUs",
+ "strongType": "StorageSKUs"
+ }
+ }
+ },
+ "policyRule": {
+ "if": {
+ "allOf": [
+ {
+ "field": "type",
+ "equals": "Microsoft.Storage/storageAccounts"
+ },
+ {
+ "not": {
+ "field": "Microsoft.Storage/storageAccounts/sku.name",
+ "in": "[parameters('listOfAllowedSKUs')]"
+ }
+ }
+ ]
+ },
+ "then": {
+ "effect": "Deny"
+ }
+ }
+ },
+ "id": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "type": "Microsoft.Authorization/policyDefinitions",
+ "name": "7433c107-6db4-4ad1-b57a-a76dce0154a1"
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignment.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignment.json
new file mode 100644
index 000000000000..0a519a063a5c
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignment.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "policyAssignmentName": "EnforceNaming",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "displayName": "Enforce resource naming rules",
+ "description": "Force resource names to begin with given DeptA and end with -LC",
+ "metadata": {
+ "assignedBy": "Special Someone"
+ },
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "notScopes": [],
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ },
+ "enforcementMode": "Default",
+ "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2"
+ },
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyAssignments/EnforceNaming",
+ "type": "Microsoft.Authorization/policyAssignments",
+ "name": "EnforceNaming"
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignmentById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignmentById.json
new file mode 100644
index 000000000000..def0475fd862
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignmentById.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "policyAssignmentId": "providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyAssignments/LowCostStorage",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "displayName": "Enforce storage account SKU",
+ "description": "Allow only storage accounts of SKU Standard_GRS or Standard_LRS to be created",
+ "metadata": {
+ "assignedBy": "Cheapskate Boss"
+ },
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "notScopes": [],
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ },
+ "enforcementMode": "Default"
+ },
+ "id": "/providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyAssignments/LowCostStorage",
+ "type": "Microsoft.Authorization/policyAssignments",
+ "name": "LowCostStorage"
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignmentWithIdentity.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignmentWithIdentity.json
new file mode 100644
index 000000000000..c5b4c3dc6576
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignmentWithIdentity.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "policyAssignmentName": "EnforceNaming",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "displayName": "Enforce resource naming rules",
+ "description": "Force resource names to begin with given DeptA and end with -LC",
+ "metadata": {
+ "assignedBy": "Special Someone"
+ },
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "notScopes": [],
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ },
+ "enforcementMode": "Default",
+ "scope": "subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2"
+ },
+ "identity": {
+ "type": "SystemAssigned",
+ "principalId": "e6d23f8d-af97-4fbc-bda6-00604e4e3d0a",
+ "tenantId": "4bee2b8a-1bee-47c2-90e9-404241551135"
+ },
+ "location": "westus",
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyAssignments/EnforceNaming",
+ "type": "Microsoft.Authorization/policyAssignments",
+ "name": "EnforceNaming"
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignmentWithIdentityById.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignmentWithIdentityById.json
new file mode 100644
index 000000000000..77c2bd48ac51
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyAssignmentWithIdentityById.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "policyAssignmentId": "providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyAssignments/LowCostStorage",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "displayName": "Enforce storage account SKU",
+ "description": "Allow only storage accounts of SKU Standard_GRS or Standard_LRS to be created",
+ "metadata": {
+ "assignedBy": "Cheapskate Boss"
+ },
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "notScopes": [],
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ },
+ "enforcementMode": "Default"
+ },
+ "identity": {
+ "type": "SystemAssigned",
+ "principalId": "e6d23f8d-af97-4fbc-bda6-00604e4e3d0a",
+ "tenantId": "4bee2b8a-1bee-47c2-90e9-404241551135"
+ },
+ "location": "westus",
+ "id": "/providers/Microsoft.Management/managementGroups/MyManagementGroup/providers/Microsoft.Authorization/policyAssignments/LowCostStorage",
+ "type": "Microsoft.Authorization/policyAssignments",
+ "name": "LowCostStorage"
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyDefinition.json
new file mode 100644
index 000000000000..d94d1cd78c82
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyDefinition.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "policyDefinitionName": "ResourceNaming",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "mode": "All",
+ "displayName": "Naming Convention",
+ "description": "Force resource names to begin with 'prefix' and end with 'suffix'",
+ "metadata": {
+ "category": "Naming"
+ },
+ "policyRule": {
+ "if": {
+ "not": {
+ "field": "name",
+ "like": "[concat(parameters('prefix'), '*', parameters('suffix'))]"
+ }
+ },
+ "then": {
+ "effect": "deny"
+ }
+ },
+ "parameters": {
+ "prefix": {
+ "type": "String",
+ "metadata": {
+ "displayName": "Prefix",
+ "description": "Resource name prefix"
+ }
+ },
+ "suffix": {
+ "type": "String",
+ "metadata": {
+ "displayName": "Suffix",
+ "description": "Resource name suffix"
+ }
+ }
+ },
+ "policyType": "Custom"
+ },
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "type": "Microsoft.Authorization/policyDefinitions",
+ "name": "ResourceNaming"
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyDefinitionAtManagementGroup.json
new file mode 100644
index 000000000000..8768682dbc39
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicyDefinitionAtManagementGroup.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "managementGroupId": "MyManagementGroup",
+ "policyDefinitionName": "ResourceNaming",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "type": "Microsoft.Authorization/policyDefinitions",
+ "name": "ResourceNaming",
+ "properties": {
+ "mode": "All",
+ "displayName": "Naming Convention",
+ "description": "Force resource names to begin with 'prefix' and end with 'suffix'",
+ "metadata": {
+ "category": "Naming"
+ },
+ "policyRule": {
+ "if": {
+ "not": {
+ "field": "name",
+ "like": "[concat(parameters('prefix'), '*', parameters('suffix'))]"
+ }
+ },
+ "then": {
+ "effect": "deny"
+ }
+ },
+ "parameters": {
+ "prefix": {
+ "type": "String",
+ "metadata": {
+ "displayName": "Prefix",
+ "description": "Resource name prefix"
+ }
+ },
+ "suffix": {
+ "type": "String",
+ "metadata": {
+ "displayName": "Suffix",
+ "description": "Resource name suffix"
+ }
+ }
+ },
+ "policyType": "Custom"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicySetDefinition.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicySetDefinition.json
new file mode 100644
index 000000000000..25c38802abf5
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicySetDefinition.json
@@ -0,0 +1,68 @@
+{
+ "parameters": {
+ "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "policySetDefinitionName": "CostManagement",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement",
+ "type": "Microsoft.Authorization/policySetDefinitions",
+ "name": "CostManagement",
+ "properties": {
+ "displayName": "Cost Management",
+ "description": "Policies to enforce low cost storage SKUs",
+ "metadata": {
+ "category": "Cost Management"
+ },
+ "policyDefinitionGroups": [
+ {
+ "name": "CostSaving",
+ "displayName": "Cost Management Policies",
+ "description": "Policies designed to control spend within a subscription."
+ },
+ {
+ "name": "Organizational",
+ "displayName": "Organizational Policies",
+ "description": "Policies that help enforce resource organization standards within a subscription."
+ }
+ ],
+ "policyDefinitions": [
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "policyDefinitionReferenceId": "Limit_Skus",
+ "groupNames": [
+ "CostSaving"
+ ],
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ }
+ },
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "policyDefinitionReferenceId": "Resource_Naming",
+ "groupNames": [
+ "Organizational"
+ ],
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicySetDefinitionAtManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicySetDefinitionAtManagementGroup.json
new file mode 100644
index 000000000000..8e3c72b26e3a
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/getPolicySetDefinitionAtManagementGroup.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "managementGroupId": "MyManagementGroup",
+ "policySetDefinitionName": "CostManagement",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/CostManagement",
+ "type": "Microsoft.Authorization/policySetDefinitions",
+ "name": "CostManagement",
+ "properties": {
+ "displayName": "Cost Management",
+ "description": "Policies to enforce low cost storage SKUs",
+ "metadata": {
+ "category": "Cost Management"
+ },
+ "policyDefinitions": [
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "policyDefinitionReferenceId": "Limit_Skus",
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ }
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "policyDefinitionReferenceId": "Resource_Naming",
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listBuiltInPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listBuiltInPolicyDefinitions.json
new file mode 100644
index 000000000000..fd975044ae01
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listBuiltInPolicyDefinitions.json
@@ -0,0 +1,130 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "mode": "All",
+ "displayName": "Audit SQL DB Level Audit Setting",
+ "policyType": "BuiltIn",
+ "description": "Audit DB level audit setting for SQL databases",
+ "parameters": {
+ "setting": {
+ "type": "String",
+ "metadata": {
+ "displayName": "Audit Setting"
+ },
+ "allowedValues": [
+ "enabled",
+ "disabled"
+ ]
+ }
+ },
+ "policyRule": {
+ "if": {
+ "field": "type",
+ "equals": "Microsoft.Sql/servers/databases"
+ },
+ "then": {
+ "effect": "AuditIfNotExists",
+ "details": {
+ "type": "Microsoft.Sql/servers/databases/auditingSettings",
+ "name": "default",
+ "existenceCondition": {
+ "allOf": [
+ {
+ "field": "Microsoft.Sql/auditingSettings.state",
+ "equals": "[parameters('setting')]"
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ "id": "/providers/Microsoft.Authorization/policyDefinitions/06a78e20-9358-41c9-923c-fb736d382a12",
+ "type": "Microsoft.Authorization/policyDefinitions",
+ "name": "06a78e20-9358-41c9-923c-fb736d382a12"
+ },
+ {
+ "properties": {
+ "mode": "All",
+ "displayName": "Allowed storage account SKUs",
+ "policyType": "Static",
+ "description": "This policy enables you to specify a set of storage account SKUs that your organization can deploy.",
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "type": "Array",
+ "metadata": {
+ "description": "The list of SKUs that can be specified for storage accounts.",
+ "displayName": "Allowed SKUs",
+ "strongType": "StorageSKUs"
+ }
+ }
+ },
+ "policyRule": {
+ "if": {
+ "allOf": [
+ {
+ "field": "type",
+ "equals": "Microsoft.Storage/storageAccounts"
+ },
+ {
+ "not": {
+ "field": "Microsoft.Storage/storageAccounts/sku.name",
+ "in": "[parameters('listOfAllowedSKUs')]"
+ }
+ }
+ ]
+ },
+ "then": {
+ "effect": "Deny"
+ }
+ }
+ },
+ "id": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "type": "Microsoft.Authorization/policyDefinitions",
+ "name": "7433c107-6db4-4ad1-b57a-a76dce0154a1"
+ },
+ {
+ "properties": {
+ "mode": "Microsoft.KeyVault.Data",
+ "displayName": "Audit KeyVault certificates that expire within specified number of days",
+ "policyType": "BuiltIn",
+ "description": "Audit certificates that are stored in Azure Key Vault, that expire within 'X' number of days.",
+ "metadata": {
+ "category": "KeyVault DataPlane"
+ },
+ "parameters": {
+ "daysToExpire": {
+ "type": "Integer",
+ "metadata": {
+ "displayName": "Days to expire",
+ "description": "The number of days for a certificate to expire."
+ }
+ }
+ },
+ "policyRule": {
+ "if": {
+ "field": "Microsoft.KeyVault.Data/vaults/certificates/attributes/expiresOn",
+ "lessOrEquals": "[addDays(utcNow(), parameters('daysToExpire'))]"
+ },
+ "then": {
+ "effect": "audit"
+ }
+ }
+ },
+ "id": "/providers/Microsoft.Authorization/policyDefinitions/abeed54a-73c5-441d-8a8c-6b5e7a0c299e",
+ "type": "Microsoft.Authorization/policyDefinitions",
+ "name": "abeed54a-73c5-441d-8a8c-6b5e7a0c299e"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listBuiltInPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listBuiltInPolicySetDefinitions.json
new file mode 100644
index 000000000000..ce8b5cb24180
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listBuiltInPolicySetDefinitions.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "displayName": "[Preview]: Enable Monitoring in Azure Security Center",
+ "policyType": "BuiltIn",
+ "description": "Monitor all the available security recommendations in Azure Security Center. This is the default policy for Azure Security Center.",
+ "metadata": {
+ "category": "Security Center"
+ },
+ "parameters": {},
+ "policyDefinitions": [
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a8bef009-a5c9-4d0f-90d7-6018734e8a16",
+ "policyDefinitionReferenceId": "RefId1"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af8051bf-258b-44e2-a2bf-165330459f9d",
+ "policyDefinitionReferenceId": "RefId2"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/86b3d65f-7626-441e-b690-81a8b71cff60",
+ "policyDefinitionReferenceId": "RefId3"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759",
+ "policyDefinitionReferenceId": "RefId4"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/b0f33259-77d7-4c9e-aac6-3aabcfae693c",
+ "policyDefinitionReferenceId": "RefId5"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/47a6b606-51aa-4496-8bb7-64b11cf66adc",
+ "policyDefinitionReferenceId": "RefId6"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed",
+ "policyDefinitionReferenceId": "RefId7"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e1e5fd5d-3e4c-4ce1-8661-7d1873ae6b15",
+ "policyDefinitionReferenceId": "RefId8"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af6cd1bd-1635-48cb-bde7-5b15693900b9",
+ "policyDefinitionReferenceId": "RefId9"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0961003e-5a0a-4549-abde-af6a37f2724d",
+ "policyDefinitionReferenceId": "RefId10"
+ }
+ ]
+ },
+ "id": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
+ "type": "Microsoft.Authorization/policySetDefinitions",
+ "name": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignments.json
new file mode 100644
index 000000000000..69e74a559157
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignments.json
@@ -0,0 +1,62 @@
+{
+ "parameters": {
+ "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "api-version": "2019-09-01",
+ "$filter": "atScope()"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyAssignments/CostManagement",
+ "type": "Microsoft.Authorization/policyAssignments",
+ "name": "CostManagement",
+ "location": "eastus",
+ "identity": {
+ "type": "SystemAssigned",
+ "principalId": "e6d23f8d-af97-4fbc-bda6-00604e4e3d0a",
+ "tenantId": "4bee2b8a-1bee-47c2-90e9-404241551135"
+ },
+ "properties": {
+ "displayName": "Storage Cost Management",
+ "description": "Minimize the risk of accidental cost overruns",
+ "metadata": {
+ "category": "Cost Management"
+ },
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/storageSkus",
+ "parameters": {
+ "allowedSkus": {
+ "value": "Standard_A1"
+ }
+ },
+ "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "notScopes": []
+ },
+ "sku": {
+ "name": "A0",
+ "tier": "Free"
+ }
+ },
+ {
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyAssignments/TagEnforcement",
+ "type": "Microsoft.Authorization/policyAssignments",
+ "name": "TagEnforcement",
+ "properties": {
+ "displayName": "Enforces a tag key and value",
+ "description": "Ensure a given tag key and value are present on all resources",
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/TagKeyValue",
+ "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "notScopes": []
+ },
+ "sku": {
+ "name": "A0",
+ "tier": "Free"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignmentsForResource.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignmentsForResource.json
new file mode 100644
index 000000000000..75989dabb4f3
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignmentsForResource.json
@@ -0,0 +1,66 @@
+{
+ "parameters": {
+ "resourceGroupName": "TestResourceGroup",
+ "resourceProviderNamespace": "Microsoft.Compute",
+ "parentResourcePath": "virtualMachines/MyTestVm",
+ "resourceType": "domainNames",
+ "resourceName": "MyTestComputer.cloudapp.net",
+ "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup/providers/Microsoft.Authorization/policyAssignments/TestCostManagement",
+ "type": "Microsoft.Authorization/policyAssignments",
+ "name": "TestCostManagement",
+ "location": "eastus",
+ "identity": {
+ "type": "SystemAssigned",
+ "principalId": "e6d23f8d-af97-4fbc-bda6-00604e4e3d0a",
+ "tenantId": "4bee2b8a-1bee-47c2-90e9-404241551135"
+ },
+ "properties": {
+ "displayName": "VM Cost Management",
+ "description": "Minimize the risk of accidental cost overruns",
+ "metadata": {
+ "category": "Cost Management"
+ },
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/vmSkus",
+ "parameters": {
+ "allowedSkus": {
+ "value": "Standard_A1"
+ }
+ },
+ "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup",
+ "notScopes": []
+ },
+ "sku": {
+ "name": "A0",
+ "tier": "Free"
+ }
+ },
+ {
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup/providers/Microsoft.Authorization/policyAssignments/TestTagEnforcement",
+ "type": "Microsoft.Authorization/policyAssignments",
+ "name": "TestTagEnforcement",
+ "properties": {
+ "displayName": "Enforces a tag key and value",
+ "description": "Ensure a given tag key and value are present on all resources",
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/TagKeyValue",
+ "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup",
+ "notScopes": []
+ },
+ "sku": {
+ "name": "A0",
+ "tier": "Free"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignmentsForResourceGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignmentsForResourceGroup.json
new file mode 100644
index 000000000000..af31d07b5ddc
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyAssignmentsForResourceGroup.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "resourceGroupName": "TestResourceGroup",
+ "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "api-version": "2019-09-01",
+ "$filter": "atScope()"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup/providers/Microsoft.Authorization/policyAssignments/TestCostManagement",
+ "type": "Microsoft.Authorization/policyAssignments",
+ "name": "TestCostManagement",
+ "location": "eastus",
+ "identity": {
+ "type": "SystemAssigned",
+ "principalId": "e6d23f8d-af97-4fbc-bda6-00604e4e3d0a",
+ "tenantId": "4bee2b8a-1bee-47c2-90e9-404241551135"
+ },
+ "properties": {
+ "displayName": "Storage Cost Management",
+ "description": "Minimize the risk of accidental cost overruns",
+ "metadata": {
+ "category": "Cost Management"
+ },
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/storageSkus",
+ "parameters": {
+ "allowedSkus": {
+ "value": "Standard_A1"
+ }
+ },
+ "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup",
+ "notScopes": []
+ },
+ "sku": {
+ "name": "A0",
+ "tier": "Free"
+ }
+ },
+ {
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup/providers/Microsoft.Authorization/policyAssignments/TestTagEnforcement",
+ "type": "Microsoft.Authorization/policyAssignments",
+ "name": "TestTagEnforcement",
+ "properties": {
+ "displayName": "Enforces a tag key and value",
+ "description": "Ensure a given tag key and value are present on all resources",
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/TagKeyValue",
+ "scope": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/TestResourceGroup",
+ "notScopes": []
+ },
+ "sku": {
+ "name": "A0",
+ "tier": "Free"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyDefinitions.json
new file mode 100644
index 000000000000..86093a4e2740
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyDefinitions.json
@@ -0,0 +1,128 @@
+{
+ "parameters": {
+ "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "mode": "All",
+ "displayName": "Allowed storage account SKUs",
+ "policyType": "BuiltIn",
+ "description": "This policy enables you to specify a set of storage account SKUs that your organization can deploy.",
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "type": "Array",
+ "metadata": {
+ "description": "The list of SKUs that can be specified for storage accounts.",
+ "displayName": "Allowed SKUs",
+ "strongType": "StorageSKUs"
+ }
+ }
+ },
+ "policyRule": {
+ "if": {
+ "allOf": [
+ {
+ "field": "type",
+ "equals": "Microsoft.Storage/storageAccounts"
+ },
+ {
+ "not": {
+ "field": "Microsoft.Storage/storageAccounts/sku.name",
+ "in": "[parameters('listOfAllowedSKUs')]"
+ }
+ }
+ ]
+ },
+ "then": {
+ "effect": "Deny"
+ }
+ }
+ },
+ "id": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "type": "Microsoft.Authorization/policyDefinitions",
+ "name": "7433c107-6db4-4ad1-b57a-a76dce0154a1"
+ },
+ {
+ "properties": {
+ "mode": "All",
+ "displayName": "Naming Convention",
+ "description": "Force resource names to begin with 'prefix' and end with 'suffix'",
+ "metadata": {
+ "category": "Naming"
+ },
+ "parameters": {
+ "prefix": {
+ "type": "String",
+ "metadata": {
+ "displayName": "Prefix",
+ "description": "Resource name prefix"
+ }
+ },
+ "suffix": {
+ "type": "String",
+ "metadata": {
+ "displayName": "Suffix",
+ "description": "Resource name suffix"
+ }
+ }
+ },
+ "policyRule": {
+ "if": {
+ "not": {
+ "field": "name",
+ "like": "[concat(parameters('prefix'), '*', parameters('suffix'))]"
+ }
+ },
+ "then": {
+ "effect": "deny"
+ }
+ },
+ "policyType": "Custom"
+ },
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "type": "Microsoft.Authorization/policyDefinitions",
+ "name": "ResourceNaming"
+ },
+ {
+ "properties": {
+ "mode": "Microsoft.KeyVault.Data",
+ "displayName": "Audit KeyVault certificates that expire within specified number of days",
+ "description": "Audit certificates that are stored in Azure Key Vault, that expire within 'X' number of days.",
+ "metadata": {
+ "category": "KeyVault DataPlane"
+ },
+ "parameters": {
+ "daysToExpire": {
+ "type": "Integer",
+ "metadata": {
+ "displayName": "Days to expire",
+ "description": "The number of days for a certificate to expire."
+ }
+ }
+ },
+ "policyRule": {
+ "if": {
+ "field": "Microsoft.KeyVault.Data/vaults/certificates/attributes/expiresOn",
+ "lessOrEquals": "[addDays(utcNow(), parameters('daysToExpire'))]"
+ },
+ "then": {
+ "effect": "audit"
+ }
+ },
+ "policyType": "Custom"
+ },
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/AuditSoonToExpireCerts",
+ "type": "Microsoft.Authorization/policyDefinitions",
+ "name": "AuditSoonToExpireCerts"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyDefinitionsByManagementGroup.json
new file mode 100644
index 000000000000..ba5a0b4be5cd
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicyDefinitionsByManagementGroup.json
@@ -0,0 +1,96 @@
+{
+ "parameters": {
+ "managementGroupId": "MyManagementGroup",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "mode": "All",
+ "displayName": "Allowed storage account SKUs",
+ "policyType": "BuiltIn",
+ "description": "This policy enables you to specify a set of storage account SKUs that your organization can deploy.",
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "type": "Array",
+ "metadata": {
+ "description": "The list of SKUs that can be specified for storage accounts.",
+ "displayName": "Allowed SKUs",
+ "strongType": "StorageSKUs"
+ }
+ }
+ },
+ "policyRule": {
+ "if": {
+ "allOf": [
+ {
+ "field": "type",
+ "equals": "Microsoft.Storage/storageAccounts"
+ },
+ {
+ "not": {
+ "field": "Microsoft.Storage/storageAccounts/sku.name",
+ "in": "[parameters('listOfAllowedSKUs')]"
+ }
+ }
+ ]
+ },
+ "then": {
+ "effect": "Deny"
+ }
+ }
+ },
+ "id": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "type": "Microsoft.Authorization/policyDefinitions",
+ "name": "7433c107-6db4-4ad1-b57a-a76dce0154a1"
+ },
+ {
+ "id": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "type": "Microsoft.Authorization/policyDefinitions",
+ "name": "ResourceNaming",
+ "properties": {
+ "mode": "All",
+ "displayName": "Naming Convention",
+ "description": "Force resource names to begin with 'prefix' and end with 'suffix'",
+ "metadata": {
+ "category": "Naming"
+ },
+ "policyRule": {
+ "if": {
+ "not": {
+ "field": "name",
+ "like": "[concat(parameters('prefix'), '*', parameters('suffix'))]"
+ }
+ },
+ "then": {
+ "effect": "deny"
+ }
+ },
+ "parameters": {
+ "prefix": {
+ "type": "String",
+ "metadata": {
+ "displayName": "Prefix",
+ "description": "Resource name prefix"
+ }
+ },
+ "suffix": {
+ "type": "String",
+ "metadata": {
+ "displayName": "Suffix",
+ "description": "Resource name suffix"
+ }
+ }
+ },
+ "policyType": "Custom"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicySetDefinitions.json
new file mode 100644
index 000000000000..314894abfe47
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicySetDefinitions.json
@@ -0,0 +1,109 @@
+{
+ "parameters": {
+ "subscriptionId": "ae640e6b-ba3e-4256-9d62-2993eecfa6f2",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "displayName": "[Preview]: Enable Monitoring in Azure Security Center",
+ "policyType": "BuiltIn",
+ "description": "Monitor all the available security recommendations in Azure Security Center. This is the default policy for Azure Security Center.",
+ "metadata": {
+ "category": "Security Center"
+ },
+ "parameters": {},
+ "policyDefinitions": [
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a8bef009-a5c9-4d0f-90d7-6018734e8a16",
+ "policyDefinitionReferenceId": "RefId1"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af8051bf-258b-44e2-a2bf-165330459f9d",
+ "policyDefinitionReferenceId": "RefId2"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/86b3d65f-7626-441e-b690-81a8b71cff60",
+ "policyDefinitionReferenceId": "RefId3"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759",
+ "policyDefinitionReferenceId": "RefId4"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/b0f33259-77d7-4c9e-aac6-3aabcfae693c",
+ "policyDefinitionReferenceId": "RefId5"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/47a6b606-51aa-4496-8bb7-64b11cf66adc",
+ "policyDefinitionReferenceId": "RefId6"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed",
+ "policyDefinitionReferenceId": "RefId7"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e1e5fd5d-3e4c-4ce1-8661-7d1873ae6b15",
+ "policyDefinitionReferenceId": "RefId8"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af6cd1bd-1635-48cb-bde7-5b15693900b9",
+ "policyDefinitionReferenceId": "RefId9"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0961003e-5a0a-4549-abde-af6a37f2724d",
+ "policyDefinitionReferenceId": "RefId10"
+ }
+ ]
+ },
+ "id": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
+ "type": "Microsoft.Authorization/policySetDefinitions",
+ "name": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8"
+ },
+ {
+ "id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policySetDefinitions/CostManagement",
+ "type": "Microsoft.Authorization/policySetDefinitions",
+ "name": "CostManagement",
+ "properties": {
+ "displayName": "Cost Management",
+ "description": "Policies to enforce low cost storage SKUs",
+ "metadata": {
+ "category": "Cost Management"
+ },
+ "policyDefinitions": [
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "policyDefinitionReferenceId": "Limit_Skus",
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ }
+ },
+ {
+ "policyDefinitionId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "policyDefinitionReferenceId": "Resource_Naming",
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicySetDefinitionsByManagementGroup.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicySetDefinitionsByManagementGroup.json
new file mode 100644
index 000000000000..fe0fc9b43a7b
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/examples/listPolicySetDefinitionsByManagementGroup.json
@@ -0,0 +1,109 @@
+{
+ "parameters": {
+ "managementGroupId": "MyManagementGroup",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "displayName": "[Preview]: Enable Monitoring in Azure Security Center",
+ "policyType": "BuiltIn",
+ "description": "Monitor all the available security recommendations in Azure Security Center. This is the default policy for Azure Security Center.",
+ "metadata": {
+ "category": "Security Center"
+ },
+ "parameters": {},
+ "policyDefinitions": [
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a8bef009-a5c9-4d0f-90d7-6018734e8a16",
+ "policyDefinitionReferenceId": "RefId1"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af8051bf-258b-44e2-a2bf-165330459f9d",
+ "policyDefinitionReferenceId": "RefId2"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/86b3d65f-7626-441e-b690-81a8b71cff60",
+ "policyDefinitionReferenceId": "RefId3"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/655cb504-bcee-4362-bd4c-402e6aa38759",
+ "policyDefinitionReferenceId": "RefId4"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/b0f33259-77d7-4c9e-aac6-3aabcfae693c",
+ "policyDefinitionReferenceId": "RefId5"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/47a6b606-51aa-4496-8bb7-64b11cf66adc",
+ "policyDefinitionReferenceId": "RefId6"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/44452482-524f-4bf4-b852-0bff7cc4a3ed",
+ "policyDefinitionReferenceId": "RefId7"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e1e5fd5d-3e4c-4ce1-8661-7d1873ae6b15",
+ "policyDefinitionReferenceId": "RefId8"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/af6cd1bd-1635-48cb-bde7-5b15693900b9",
+ "policyDefinitionReferenceId": "RefId9"
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0961003e-5a0a-4549-abde-af6a37f2724d",
+ "policyDefinitionReferenceId": "RefId10"
+ }
+ ]
+ },
+ "id": "/providers/Microsoft.Authorization/policySetDefinitions/1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
+ "type": "Microsoft.Authorization/policySetDefinitions",
+ "name": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8"
+ },
+ {
+ "id": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policySetDefinitions/CostManagement",
+ "type": "Microsoft.Authorization/policySetDefinitions",
+ "name": "CostManagement",
+ "properties": {
+ "displayName": "Cost Management",
+ "description": "Policies to enforce low cost storage SKUs",
+ "metadata": {
+ "category": "Cost Management"
+ },
+ "policyDefinitions": [
+ {
+ "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
+ "policyDefinitionReferenceId": "Limit_Skus",
+ "parameters": {
+ "listOfAllowedSKUs": {
+ "value": [
+ "Standard_GRS",
+ "Standard_LRS"
+ ]
+ }
+ }
+ },
+ {
+ "policyDefinitionId": "/providers/Microsoft.Management/managementgroups/MyManagementGroup/providers/Microsoft.Authorization/policyDefinitions/ResourceNaming",
+ "policyDefinitionReferenceId": "Resource_Naming",
+ "parameters": {
+ "prefix": {
+ "value": "DeptA"
+ },
+ "suffix": {
+ "value": "-LC"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyAssignments.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyAssignments.json
new file mode 100644
index 000000000000..71e3b13202dc
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyAssignments.json
@@ -0,0 +1,732 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "PolicyClient",
+ "version": "2019-09-01",
+ "description": "To manage and control access to your resources, you can define customized policies and assign them at a scope."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}": {
+ "delete": {
+ "tags": [
+ "PolicyAssignments"
+ ],
+ "operationId": "PolicyAssignments_Delete",
+ "summary": "Deletes a policy assignment.",
+ "description": "This operation deletes a policy assignment, given its name and the scope it was created in. The scope of a policy assignment is the part of its ID preceding '/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'.",
+ "x-ms-examples": {
+ "Delete a policy assignment": {
+ "$ref": "./examples/deletePolicyAssignment.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The scope of the policy assignment. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "name": "policyAssignmentName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the policy assignment to delete."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns information about the deleted assignment.",
+ "schema": {
+ "$ref": "#/definitions/PolicyAssignment"
+ }
+ },
+ "204": {
+ "description": "No Content - the policy assignment doesn't exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "PolicyAssignments"
+ ],
+ "operationId": "PolicyAssignments_Create",
+ "summary": "Creates or updates a policy assignment.",
+ "description": " This operation creates or updates a policy assignment with the given scope and name. Policy assignments apply to all resources contained within their scope. For example, when you assign a policy at resource group scope, that policy applies to all resources in the group.",
+ "x-ms-examples": {
+ "Create or update a policy assignment": {
+ "$ref": "./examples/createPolicyAssignment.json"
+ },
+ "Create or update a policy assignment with a managed identity": {
+ "$ref": "./examples/createPolicyAssignmentWithIdentity.json"
+ },
+ "Create or update a policy assignment without enforcing policy effect during resource creation or update.": {
+ "$ref": "./examples/createPolicyAssignmentWithoutEnforcement.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The scope of the policy assignment. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "name": "policyAssignmentName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the policy assignment."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PolicyAssignment"
+ },
+ "description": "Parameters for the policy assignment."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Created - Returns information about the new policy assignment.",
+ "schema": {
+ "$ref": "#/definitions/PolicyAssignment"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "PolicyAssignments"
+ ],
+ "operationId": "PolicyAssignments_Get",
+ "summary": "Retrieves a policy assignment.",
+ "description": "This operation retrieves a single policy assignment, given its name and the scope it was created at.",
+ "x-ms-examples": {
+ "Retrieve a policy assignment": {
+ "$ref": "./examples/getPolicyAssignment.json"
+ },
+ "Retrieve a policy assignment with a managed identity": {
+ "$ref": "./examples/getPolicyAssignmentWithIdentity.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The scope of the policy assignment. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "name": "policyAssignmentName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the policy assignment to get."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns information about the policy assignment.",
+ "schema": {
+ "$ref": "#/definitions/PolicyAssignment"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/policyAssignments": {
+ "get": {
+ "tags": [
+ "PolicyAssignments"
+ ],
+ "operationId": "PolicyAssignments_ListForResourceGroup",
+ "summary": "Retrieves all policy assignments that apply to a resource group.",
+ "description": "This operation retrieves the list of all policy assignments associated with the given resource group in the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the resource group, including those that apply directly or apply from containing scopes, as well as any applied to resources contained within the resource group. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the resource group, which is everything in the unfiltered list except those applied to resources contained within the resource group. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value} that apply to the resource group.",
+ "x-ms-examples": {
+ "List policy assignments that apply to a resource group": {
+ "$ref": "./examples/listPolicyAssignmentsForResourceGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group that contains policy assignments.",
+ "pattern": "^[-\\w\\._\\(\\)]+$",
+ "minLength": 1,
+ "maxLength": 90
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The filter to apply on the operation. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, no filtering is performed.",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns an array of policy assignments.",
+ "schema": {
+ "$ref": "#/definitions/PolicyAssignmentListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/policyAssignments": {
+ "get": {
+ "tags": [
+ "PolicyAssignments"
+ ],
+ "operationId": "PolicyAssignments_ListForResource",
+ "summary": "Retrieves all policy assignments that apply to a resource.",
+ "description": "This operation retrieves the list of all policy assignments associated with the specified resource in the given resource group and subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the resource, including those that apply directly or from all containing scopes, as well as any applied to resources contained within the resource. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the resource, which is everything in the unfiltered list except those applied to resources contained within the resource. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value} that apply to the resource. Three parameters plus the resource name are used to identify a specific resource. If the resource is not part of a parent resource (the more common case), the parent resource path should not be provided (or provided as ''). For example a web app could be specified as ({resourceProviderNamespace} == 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites', {resourceName} == 'MyWebApp'). If the resource is part of a parent resource, then all parameters should be provided. For example a virtual machine DNS name could be specified as ({resourceProviderNamespace} == 'Microsoft.Compute', {parentResourcePath} == 'virtualMachines/MyVirtualMachine', {resourceType} == 'domainNames', {resourceName} == 'MyComputerName'). A convenient alternative to providing the namespace and type name separately is to provide both in the {resourceType} parameter, format: ({resourceProviderNamespace} == '', {parentResourcePath} == '', {resourceType} == 'Microsoft.Web/sites', {resourceName} == 'MyWebApp').",
+ "deprecated": false,
+ "x-ms-examples": {
+ "List all policy assignments that apply to a resource": {
+ "$ref": "./examples/listPolicyAssignmentsForResource.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group containing the resource.",
+ "pattern": "^[-\\w\\._\\(\\)]+$",
+ "minLength": 1,
+ "maxLength": 90
+ },
+ {
+ "name": "resourceProviderNamespace",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The namespace of the resource provider. For example, the namespace of a virtual machine is Microsoft.Compute (from Microsoft.Compute/virtualMachines)"
+ },
+ {
+ "name": "parentResourcePath",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The parent resource path. Use empty string if there is none.",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "name": "resourceType",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The resource type name. For example the type name of a web app is 'sites' (from Microsoft.Web/sites).",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "name": "resourceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource."
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The filter to apply on the operation. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, no filtering is performed."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns an array of policy assignments.",
+ "schema": {
+ "$ref": "#/definitions/PolicyAssignmentListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/PolicyAssignment"
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyAssignments": {
+ "get": {
+ "tags": [
+ "PolicyAssignments"
+ ],
+ "operationId": "PolicyAssignments_List",
+ "summary": "Retrieves all policy assignments that apply to a subscription.",
+ "description": "This operation retrieves the list of all policy assignments associated with the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the subscription, including those that apply directly or from management groups that contain the given subscription, as well as any applied to objects contained within the subscription. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the subscription, which is everything in the unfiltered list except those applied to objects contained within the subscription. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value}.",
+ "x-ms-examples": {
+ "List policy assignments that apply to a subscription": {
+ "$ref": "./examples/listPolicyAssignments.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The filter to apply on the operation. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, no filtering is performed."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns an array of policy assignments.",
+ "schema": {
+ "$ref": "#/definitions/PolicyAssignmentListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/PolicyAssignment"
+ }
+ },
+ "/{policyAssignmentId}": {
+ "delete": {
+ "tags": [
+ "PolicyAssignments"
+ ],
+ "operationId": "PolicyAssignments_DeleteById",
+ "summary": "Deletes a policy assignment.",
+ "description": "This operation deletes the policy with the given ID. Policy assignment IDs have this format: '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. Valid formats for {scope} are: '/providers/Microsoft.Management/managementGroups/{managementGroup}' (management group), '/subscriptions/{subscriptionId}' (subscription), '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' (resource group), or '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' (resource).",
+ "x-ms-examples": {
+ "Delete a policy assignment by ID": {
+ "$ref": "./examples/deletePolicyAssignmentById.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "policyAssignmentId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the policy assignment to delete. Use the format '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'.",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns information about the policy assignment.",
+ "schema": {
+ "$ref": "#/definitions/PolicyAssignment"
+ }
+ },
+ "204": {
+ "description": "No Content - the policy assignment doesn't exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "PolicyAssignments"
+ ],
+ "operationId": "PolicyAssignments_CreateById",
+ "summary": "Creates or updates a policy assignment.",
+ "description": "This operation creates or updates the policy assignment with the given ID. Policy assignments made on a scope apply to all resources contained in that scope. For example, when you assign a policy to a resource group that policy applies to all resources in the group. Policy assignment IDs have this format: '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.",
+ "x-ms-examples": {
+ "Create or update policy assignment by ID": {
+ "$ref": "./examples/createPolicyAssignmentById.json"
+ },
+ "Create or update policy assignment with a managed identity by ID": {
+ "$ref": "./examples/createPolicyAssignmentWithIdentityById.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "policyAssignmentId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the policy assignment to create. Use the format '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'.",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PolicyAssignment"
+ },
+ "description": "Parameters for policy assignment."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Created - Returns information about the policy assignment.",
+ "schema": {
+ "$ref": "#/definitions/PolicyAssignment"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "PolicyAssignments"
+ ],
+ "operationId": "PolicyAssignments_GetById",
+ "summary": "Retrieves the policy assignment with the given ID.",
+ "description": "The operation retrieves the policy assignment with the given ID. Policy assignment IDs have this format: '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'.",
+ "x-ms-examples": {
+ "Retrieve a policy assignment by ID": {
+ "$ref": "./examples/getPolicyAssignmentById.json"
+ },
+ "Retrieve a policy assignment with a managed identity by ID": {
+ "$ref": "./examples/getPolicyAssignmentWithIdentityById.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "policyAssignmentId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the policy assignment to get. Use the format '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'.",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns information about the policy assignment.",
+ "schema": {
+ "$ref": "#/definitions/PolicyAssignment"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "description": "An error response from a policy operation."
+ },
+ "PolicyAssignmentProperties": {
+ "properties": {
+ "displayName": {
+ "type": "string",
+ "description": "The display name of the policy assignment."
+ },
+ "policyDefinitionId": {
+ "type": "string",
+ "description": "The ID of the policy definition or policy set definition being assigned."
+ },
+ "scope": {
+ "type": "string",
+ "description": "The scope for the policy assignment."
+ },
+ "notScopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The policy's excluded scopes."
+ },
+ "parameters": {
+ "description": "The parameter values for the assigned policy rule. The keys are the parameter names.",
+ "$ref": "#/definitions/ParameterValues"
+ },
+ "description": {
+ "type": "string",
+ "description": "This message will be part of response in case of policy violation."
+ },
+ "metadata": {
+ "type": "object",
+ "description": "The policy assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs."
+ },
+ "enforcementMode": {
+ "type": "string",
+ "description": "The policy assignment enforcement mode. Possible values are Default and DoNotEnforce.",
+ "enum": [
+ "Default",
+ "DoNotEnforce"
+ ],
+ "x-ms-enum": {
+ "name": "enforcementMode",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Default",
+ "description": "The policy effect is enforced during resource creation or update."
+ },
+ {
+ "value": "DoNotEnforce",
+ "description": "The policy effect is not enforced during resource creation or update."
+ }
+ ]
+ }
+ }
+ },
+ "description": "The policy assignment properties."
+ },
+ "ParameterValues": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The value of the parameter.",
+ "type": "object"
+ }
+ }
+ },
+ "description": "The parameter values for the policy rule. The keys are the parameter names."
+ },
+ "PolicySku": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the policy sku. Possible values are A0 and A1."
+ },
+ "tier": {
+ "type": "string",
+ "description": "The policy sku tier. Possible values are Free and Standard."
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "description": "The policy sku. This property is optional, obsolete, and will be ignored."
+ },
+ "PolicyAssignment": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PolicyAssignmentProperties",
+ "description": "Properties for the policy assignment."
+ },
+ "id": {
+ "type": "string",
+ "description": "The ID of the policy assignment.",
+ "readOnly": true
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the policy assignment.",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the policy assignment.",
+ "readOnly": true
+ },
+ "sku": {
+ "$ref": "#/definitions/PolicySku",
+ "description": "The policy sku. This property is optional, obsolete, and will be ignored."
+ },
+ "location": {
+ "type": "string",
+ "description": "The location of the policy assignment. Only required when utilizing managed identity."
+ },
+ "identity": {
+ "$ref": "#/definitions/Identity",
+ "description": "The managed identity associated with the policy assignment."
+ }
+ },
+ "description": "The policy assignment.",
+ "x-ms-azure-resource": true
+ },
+ "PolicyAssignmentListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PolicyAssignment"
+ },
+ "description": "An array of policy assignments."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to use for getting the next set of results."
+ }
+ },
+ "description": "List of policy assignments."
+ },
+ "Identity": {
+ "properties": {
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The principal ID of the resource identity."
+ },
+ "tenantId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The tenant ID of the resource identity."
+ },
+ "type": {
+ "type": "string",
+ "description": "The identity type.",
+ "enum": [
+ "SystemAssigned",
+ "None"
+ ],
+ "x-ms-enum": {
+ "name": "ResourceIdentityType",
+ "modelAsString": false
+ }
+ }
+ },
+ "description": "Identity for the resource."
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the target subscription."
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The API version to use for the operation."
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyDefinitions.json
new file mode 100644
index 000000000000..22e3fc3a3c8f
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policyDefinitions.json
@@ -0,0 +1,644 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "PolicyClient",
+ "version": "2019-09-01",
+ "description": "To manage and control access to your resources, you can define customized policies and assign them at a scope."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}": {
+ "put": {
+ "tags": [
+ "PolicyDefinitions"
+ ],
+ "operationId": "PolicyDefinitions_CreateOrUpdate",
+ "summary": "Creates or updates a policy definition in a subscription.",
+ "description": "This operation creates or updates a policy definition in the given subscription with the given name.",
+ "x-ms-examples": {
+ "Create or update a policy definition": {
+ "$ref": "./examples/createOrUpdatePolicyDefinition.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "policyDefinitionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the policy definition to create."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PolicyDefinition"
+ },
+ "description": "The policy definition properties."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Created - Returns information about the policy definition.",
+ "schema": {
+ "$ref": "#/definitions/PolicyDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "PolicyDefinitions"
+ ],
+ "operationId": "PolicyDefinitions_Delete",
+ "summary": "Deletes a policy definition in a subscription.",
+ "description": "This operation deletes the policy definition in the given subscription with the given name.",
+ "x-ms-examples": {
+ "Delete a policy definition": {
+ "$ref": "./examples/deletePolicyDefinition.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "policyDefinitionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the policy definition to delete."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "No Content"
+ },
+ "200": {
+ "description": "OK"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "PolicyDefinitions"
+ ],
+ "operationId": "PolicyDefinitions_Get",
+ "summary": "Retrieves a policy definition in a subscription.",
+ "description": "This operation retrieves the policy definition in the given subscription with the given name.",
+ "x-ms-examples": {
+ "Retrieve a policy definition": {
+ "$ref": "./examples/getPolicyDefinition.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "policyDefinitionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the policy definition to get."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns information about the policy definition.",
+ "schema": {
+ "$ref": "#/definitions/PolicyDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}": {
+ "get": {
+ "tags": [
+ "PolicyDefinitions"
+ ],
+ "operationId": "PolicyDefinitions_GetBuiltIn",
+ "summary": "Retrieves a built-in policy definition.",
+ "description": "This operation retrieves the built-in policy definition with the given name.",
+ "x-ms-examples": {
+ "Retrieve a built-in policy definition": {
+ "$ref": "./examples/getBuiltinPolicyDefinition.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "policyDefinitionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the built-in policy definition to get."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns information about the built-in policy definition.",
+ "schema": {
+ "$ref": "#/definitions/PolicyDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}": {
+ "put": {
+ "tags": [
+ "PolicyDefinitions"
+ ],
+ "operationId": "PolicyDefinitions_CreateOrUpdateAtManagementGroup",
+ "summary": "Creates or updates a policy definition in a management group.",
+ "description": "This operation creates or updates a policy definition in the given management group with the given name.",
+ "x-ms-examples": {
+ "Create or update a policy definition at management group level": {
+ "$ref": "./examples/createOrUpdatePolicyDefinitionAtManagementGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "policyDefinitionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the policy definition to create."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PolicyDefinition"
+ },
+ "description": "The policy definition properties."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagementGroupIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Created - Returns information about the policy definition.",
+ "schema": {
+ "$ref": "#/definitions/PolicyDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "PolicyDefinitions"
+ ],
+ "operationId": "PolicyDefinitions_DeleteAtManagementGroup",
+ "summary": "Deletes a policy definition in a management group.",
+ "description": "This operation deletes the policy definition in the given management group with the given name.",
+ "x-ms-examples": {
+ "Delete a policy definition at management group level": {
+ "$ref": "./examples/deletePolicyDefinitionAtManagementGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "policyDefinitionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the policy definition to delete."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagementGroupIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "No Content"
+ },
+ "200": {
+ "description": "OK"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "PolicyDefinitions"
+ ],
+ "operationId": "PolicyDefinitions_GetAtManagementGroup",
+ "summary": "Retrieve a policy definition in a management group.",
+ "description": "This operation retrieves the policy definition in the given management group with the given name.",
+ "x-ms-examples": {
+ "Retrieve a policy definition at management group level": {
+ "$ref": "./examples/getPolicyDefinitionAtManagementGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "policyDefinitionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the policy definition to get."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagementGroupIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns information about the policy definition.",
+ "schema": {
+ "$ref": "#/definitions/PolicyDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions": {
+ "get": {
+ "tags": [
+ "PolicyDefinitions"
+ ],
+ "operationId": "PolicyDefinitions_List",
+ "summary": "Retrieves policy definitions in a subscription",
+ "description": "This operation retrieves a list of all the policy definitions in a given subscription.",
+ "x-ms-examples": {
+ "List policy definitions by subscription": {
+ "$ref": "./examples/listPolicyDefinitions.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns an array of policy definitions.",
+ "schema": {
+ "$ref": "#/definitions/PolicyDefinitionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Authorization/policyDefinitions": {
+ "get": {
+ "tags": [
+ "PolicyDefinitions"
+ ],
+ "operationId": "PolicyDefinitions_ListBuiltIn",
+ "summary": "Retrieve built-in policy definitions",
+ "description": "This operation retrieves a list of all the built-in policy definitions.",
+ "x-ms-examples": {
+ "List built-in policy definitions": {
+ "$ref": "./examples/listBuiltInPolicyDefinitions.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns an array of built-in policy definitions.",
+ "schema": {
+ "$ref": "#/definitions/PolicyDefinitionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions": {
+ "get": {
+ "tags": [
+ "PolicyDefinitions"
+ ],
+ "operationId": "PolicyDefinitions_ListByManagementGroup",
+ "summary": "Retrieve policy definitions in a management group",
+ "description": "This operation retrieves a list of all the policy definitions in a given management group.",
+ "x-ms-examples": {
+ "List policy definitions by management group": {
+ "$ref": "./examples/listPolicyDefinitionsByManagementGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagementGroupIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns an array of policy definitions.",
+ "schema": {
+ "$ref": "#/definitions/PolicyDefinitionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "description": "An error response from a policy operation."
+ },
+ "PolicyDefinitionProperties": {
+ "properties": {
+ "policyType": {
+ "type": "string",
+ "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.",
+ "enum": [
+ "NotSpecified",
+ "BuiltIn",
+ "Custom",
+ "Static"
+ ],
+ "x-ms-enum": {
+ "name": "policyType",
+ "modelAsString": true
+ }
+ },
+ "mode": {
+ "type": "string",
+ "description": "The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The display name of the policy definition."
+ },
+ "description": {
+ "type": "string",
+ "description": "The policy definition description."
+ },
+ "policyRule": {
+ "type": "object",
+ "description": "The policy rule."
+ },
+ "metadata": {
+ "type": "object",
+ "description": "The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs."
+ },
+ "parameters": {
+ "description": "The parameter definitions for parameters used in the policy rule. The keys are the parameter names.",
+ "$ref": "#/definitions/ParameterDefinitions"
+ }
+ },
+ "description": "The policy definition properties."
+ },
+ "ParameterDefinitions": {
+ "description": "The parameter definitions for parameters used in the policy. The keys are the parameter names.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "The data type of the parameter.",
+ "type": "string",
+ "enum": [
+ "String",
+ "Array",
+ "Object",
+ "Boolean",
+ "Integer",
+ "Float",
+ "DateTime"
+ ],
+ "x-ms-enum": {
+ "name": "parameterType",
+ "modelAsString": true
+ }
+ },
+ "allowedValues": {
+ "type": "array",
+ "items": {
+ "type": "object"
+ },
+ "description": "The allowed values for the parameter."
+ },
+ "defaultValue": {
+ "type": "object",
+ "description": "The default value for the parameter if no value is provided."
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "type": "string",
+ "description": "The display name for the parameter."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the parameter."
+ }
+ },
+ "additionalProperties": {
+ "type": "object"
+ },
+ "description": "General metadata for the parameter."
+ }
+ }
+ }
+ },
+ "PolicyDefinition": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PolicyDefinitionProperties",
+ "description": "The policy definition properties."
+ },
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The ID of the policy definition."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the policy definition."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The type of the resource (Microsoft.Authorization/policyDefinitions)."
+ }
+ },
+ "description": "The policy definition.",
+ "x-ms-azure-resource": true
+ },
+ "PolicyDefinitionListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PolicyDefinition"
+ },
+ "description": "An array of policy definitions."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to use for getting the next set of results."
+ }
+ },
+ "description": "List of policy definitions."
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the target subscription."
+ },
+ "ManagementGroupIdParameter": {
+ "name": "managementGroupId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the management group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The API version to use for the operation."
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policySetDefinitions.json b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policySetDefinitions.json
new file mode 100644
index 000000000000..5c20ef92626d
--- /dev/null
+++ b/specification/resources/resource-manager/Microsoft.Authorization/stable/2019-09-01/policySetDefinitions.json
@@ -0,0 +1,672 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "PolicyClient",
+ "version": "2019-09-01",
+ "description": "To manage and control access to your resources, you can define customized policies and assign them at a scope."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}": {
+ "put": {
+ "tags": [
+ "PolicySetDefinitions"
+ ],
+ "operationId": "PolicySetDefinitions_CreateOrUpdate",
+ "summary": "Creates or updates a policy set definition.",
+ "description": "This operation creates or updates a policy set definition in the given subscription with the given name.",
+ "x-ms-examples": {
+ "Create or update a policy set definition": {
+ "$ref": "./examples/createOrUpdatePolicySetDefinition.json"
+ },
+ "Create or update a policy set definition with groups": {
+ "$ref": "./examples/createOrUpdatePolicySetDefinitionWithGroups.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "policySetDefinitionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the policy set definition to create."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PolicySetDefinition"
+ },
+ "description": "The policy set definition properties."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Created - Returns information about the policy set definition.",
+ "schema": {
+ "$ref": "#/definitions/PolicySetDefinition"
+ }
+ },
+ "200": {
+ "description": "OK - Returns information about the policy set definition.",
+ "schema": {
+ "$ref": "#/definitions/PolicySetDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "PolicySetDefinitions"
+ ],
+ "operationId": "PolicySetDefinitions_Delete",
+ "summary": "Deletes a policy set definition.",
+ "description": "This operation deletes the policy set definition in the given subscription with the given name.",
+ "x-ms-examples": {
+ "Delete a policy set definition": {
+ "$ref": "./examples/deletePolicySetDefinition.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "policySetDefinitionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the policy set definition to delete."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "No Content - the policy set definition doesn't exist in the subscription."
+ },
+ "200": {
+ "description": "OK"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "PolicySetDefinitions"
+ ],
+ "operationId": "PolicySetDefinitions_Get",
+ "summary": "Retrieves a policy set definition.",
+ "description": "This operation retrieves the policy set definition in the given subscription with the given name.",
+ "x-ms-examples": {
+ "Retrieve a policy set definition": {
+ "$ref": "./examples/getPolicySetDefinition.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "policySetDefinitionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the policy set definition to get."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns information about the policy set definition.",
+ "schema": {
+ "$ref": "#/definitions/PolicySetDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}": {
+ "get": {
+ "tags": [
+ "PolicySetDefinitions"
+ ],
+ "operationId": "PolicySetDefinitions_GetBuiltIn",
+ "summary": "Retrieves a built in policy set definition.",
+ "description": "This operation retrieves the built-in policy set definition with the given name.",
+ "x-ms-examples": {
+ "Retrieve a built-in policy set definition": {
+ "$ref": "./examples/getBuiltInPolicySetDefinition.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "policySetDefinitionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the policy set definition to get."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns information about the built in policy set definition.",
+ "schema": {
+ "$ref": "#/definitions/PolicySetDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions": {
+ "get": {
+ "tags": [
+ "PolicySetDefinitions"
+ ],
+ "operationId": "PolicySetDefinitions_List",
+ "summary": "Retrieves the policy set definitions for a subscription.",
+ "description": "This operation retrieves a list of all the policy set definitions in the given subscription.",
+ "x-ms-examples": {
+ "List policy set definitions": {
+ "$ref": "./examples/listPolicySetDefinitions.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns an array of policy set definitions.",
+ "schema": {
+ "$ref": "#/definitions/PolicySetDefinitionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Authorization/policySetDefinitions": {
+ "get": {
+ "tags": [
+ "PolicySetDefinitions"
+ ],
+ "operationId": "PolicySetDefinitions_ListBuiltIn",
+ "summary": "Retrieves built-in policy set definitions.",
+ "description": "This operation retrieves a list of all the built-in policy set definitions.",
+ "x-ms-examples": {
+ "List built-in policy set definitions": {
+ "$ref": "./examples/listBuiltInPolicySetDefinitions.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns an array of built in policy set definitions.",
+ "schema": {
+ "$ref": "#/definitions/PolicySetDefinitionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}": {
+ "put": {
+ "tags": [
+ "PolicySetDefinitions"
+ ],
+ "operationId": "PolicySetDefinitions_CreateOrUpdateAtManagementGroup",
+ "summary": "Creates or updates a policy set definition.",
+ "description": "This operation creates or updates a policy set definition in the given management group with the given name.",
+ "x-ms-examples": {
+ "Create or update a policy set definition at management group level": {
+ "$ref": "./examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json"
+ },
+ "Create or update a policy set definition with groups at management group level": {
+ "$ref": "./examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "policySetDefinitionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the policy set definition to create."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PolicySetDefinition"
+ },
+ "description": "The policy set definition properties."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagementGroupIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Created - Returns information about the policy set definition.",
+ "schema": {
+ "$ref": "#/definitions/PolicySetDefinition"
+ }
+ },
+ "200": {
+ "description": "OK - Returns information about the policy set definition.",
+ "schema": {
+ "$ref": "#/definitions/PolicySetDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "PolicySetDefinitions"
+ ],
+ "operationId": "PolicySetDefinitions_DeleteAtManagementGroup",
+ "summary": "Deletes a policy set definition.",
+ "description": "This operation deletes the policy set definition in the given management group with the given name.",
+ "x-ms-examples": {
+ "Delete a policy set definition at management group level": {
+ "$ref": "./examples/deletePolicySetDefinitionAtManagementGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "policySetDefinitionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the policy set definition to delete."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagementGroupIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "No Content - the policy set definition doesn't exist in the subscription."
+ },
+ "200": {
+ "description": "OK"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "PolicySetDefinitions"
+ ],
+ "operationId": "PolicySetDefinitions_GetAtManagementGroup",
+ "summary": "Retrieves a policy set definition.",
+ "description": "This operation retrieves the policy set definition in the given management group with the given name.",
+ "x-ms-examples": {
+ "Retrieve a policy set definition at management group level": {
+ "$ref": "./examples/getPolicySetDefinitionAtManagementGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "policySetDefinitionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the policy set definition to get."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagementGroupIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns information about the policy set definition.",
+ "schema": {
+ "$ref": "#/definitions/PolicySetDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions": {
+ "get": {
+ "tags": [
+ "PolicySetDefinitions"
+ ],
+ "operationId": "PolicySetDefinitions_ListByManagementGroup",
+ "summary": "Retrieves all policy set definitions in management group.",
+ "description": "This operation retrieves a list of all the a policy set definition in the given management group.",
+ "x-ms-examples": {
+ "List policy set definitions at management group level": {
+ "$ref": "./examples/listPolicySetDefinitionsByManagementGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagementGroupIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns an array of policy set definitions.",
+ "schema": {
+ "$ref": "#/definitions/PolicySetDefinitionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "description": "An error response from a policy operation."
+ },
+ "PolicySetDefinitionProperties": {
+ "properties": {
+ "policyType": {
+ "type": "string",
+ "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.",
+ "enum": [
+ "NotSpecified",
+ "BuiltIn",
+ "Custom",
+ "Static"
+ ],
+ "x-ms-enum": {
+ "name": "policyType",
+ "modelAsString": true
+ }
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The display name of the policy set definition."
+ },
+ "description": {
+ "type": "string",
+ "description": "The policy set definition description."
+ },
+ "metadata": {
+ "type": "object",
+ "description": "The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs."
+ },
+ "parameters": {
+ "description": "The policy set definition parameters that can be used in policy definition references.",
+ "$ref": "./policyDefinitions.json#/definitions/ParameterDefinitions"
+ },
+ "policyDefinitions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PolicyDefinitionReference"
+ },
+ "description": "An array of policy definition references."
+ },
+ "policyDefinitionGroups": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PolicyDefinitionGroup"
+ },
+ "description": "The metadata describing groups of policy definition references within the policy set definition."
+ }
+ },
+ "required": [
+ "policyDefinitions"
+ ],
+ "description": "The policy set definition properties."
+ },
+ "PolicyDefinitionReference": {
+ "properties": {
+ "policyDefinitionId": {
+ "type": "string",
+ "description": "The ID of the policy definition or policy set definition."
+ },
+ "parameters": {
+ "description": "The parameter values for the referenced policy rule. The keys are the parameter names.",
+ "$ref": "./policyAssignments.json#/definitions/ParameterValues"
+ },
+ "policyDefinitionReferenceId": {
+ "type": "string",
+ "description": "A unique id (within the policy set definition) for this policy definition reference."
+ },
+ "groupNames": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The name of the groups that this policy definition reference belongs to."
+ }
+ },
+ "required": [
+ "policyDefinitionId"
+ ],
+ "description": "The policy definition reference."
+ },
+ "PolicyDefinitionGroup": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the group."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The group's display name."
+ },
+ "category": {
+ "type": "string",
+ "description": "The group's category."
+ },
+ "description": {
+ "type": "string",
+ "description": "The group's description."
+ },
+ "additionalMetadataId": {
+ "type": "string",
+ "description": "A resource ID of a resource that contains additional metadata about the group."
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "description": "The policy definition group."
+ },
+ "PolicySetDefinition": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PolicySetDefinitionProperties",
+ "description": "The policy definition properties."
+ },
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The ID of the policy set definition."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the policy set definition."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The type of the resource (Microsoft.Authorization/policySetDefinitions)."
+ }
+ },
+ "description": "The policy set definition.",
+ "x-ms-azure-resource": true
+ },
+ "PolicySetDefinitionListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PolicySetDefinition"
+ },
+ "description": "An array of policy set definitions."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to use for getting the next set of results."
+ }
+ },
+ "description": "List of policy set definitions."
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the target subscription."
+ },
+ "ManagementGroupIdParameter": {
+ "name": "managementGroupId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the management group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The API version to use for the operation."
+ }
+ }
+}
diff --git a/specification/resources/resource-manager/readme.go.md b/specification/resources/resource-manager/readme.go.md
index f64ecf56f7a9..b82b65cea72e 100644
--- a/specification/resources/resource-manager/readme.go.md
+++ b/specification/resources/resource-manager/readme.go.md
@@ -25,6 +25,7 @@ batch:
- tag: package-features-2015-12
- tag: package-locks-2016-09
- tag: package-locks-2015-01
+ - tag: package-policy-2019-09
- tag: package-policy-2019-06
- tag: package-policy-2019-01
- tag: package-policy-2018-05
@@ -93,6 +94,16 @@ namespace: locks
output-folder: $(go-sdk-folder)/services/resources/mgmt/2015-01-01/locks
```
+### Tag: package-policy-2019-09 and go
+
+These settings apply only when `--tag=package-policy-2019-09 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-policy-2019-09' && $(go)
+namespace: policy
+output-folder: $(go-sdk-folder)/services/resources/mgmt/2019-09-01/policy
+```
+
### Tag: package-policy-2019-06 and go
These settings apply only when `--tag=package-policy-2019-06 --go` is specified on the command line.
diff --git a/specification/resources/resource-manager/readme.java.md b/specification/resources/resource-manager/readme.java.md
index c55819b454fe..055bd5dee813 100644
--- a/specification/resources/resource-manager/readme.java.md
+++ b/specification/resources/resource-manager/readme.java.md
@@ -20,6 +20,7 @@ Generate all API versions currently shipped for this package
batch:
- tag: package-features-2015-12
- tag: package-locks-2016-09
+ - tag: package-policy-2019-09
- tag: package-policy-2019-06
- tag: package-policy-2019-01
- tag: package-policy-2018-05
@@ -65,6 +66,24 @@ generate-interface: true
fconfig: '{"moduleName": "Locks"}'
```
+### Tag: package-policy-2019-09 and java
+
+These settings apply only when `--tag=package-policy-2019-09 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-policy-2019-09' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.policy.v2019_09_01
+ output-folder: $(azure-libraries-for-java-folder)/policy/resource-manager/v2019_09_01
+regenerate-manager: true
+generate-interface: true
+fconfig: '{"moduleName": "Policy"}'
+directive:
+ from: policyAssignments.json
+ where: $.definitions.PolicyAssignmentProperties.properties.scope
+ transform: $['x-ms-client-name'] = 'scopeProperty'
+```
+
### Tag: package-policy-2019-06 and java
These settings apply only when `--tag=package-policy-2019-06 --java` is specified on the command line.
diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md
index 8398bdb3ab99..7843b885d290 100644
--- a/specification/resources/resource-manager/readme.md
+++ b/specification/resources/resource-manager/readme.md
@@ -37,7 +37,7 @@ tag: package-locks-2016-09
```
``` yaml $(package-policy)
-tag: package-policy-2019-06
+tag: package-policy-2019-09
```
``` yaml $(package-resources)
@@ -95,6 +95,21 @@ input-file:
- Microsoft.Authorization/stable/2015-01-01/locks.json
```
+### Tag: package-policy-2019-09
+
+These settings apply only when `--tag=package-policy-2019-09` is specified on the command line.
+
+``` yaml $(tag) == 'package-policy-2019-09'
+input-file:
+- Microsoft.Authorization/stable/2019-09-01/policyAssignments.json
+- Microsoft.Authorization/stable/2019-09-01/policyDefinitions.json
+- Microsoft.Authorization/stable/2019-09-01/policySetDefinitions.json
+
+# Needed when there is more than one input file
+override-info:
+ title: PolicyClient
+```
+
### Tag: package-policy-2019-06
These settings apply only when `--tag=package-policy-2019-06` is specified on the command line.
@@ -565,6 +580,9 @@ input-file:
- $(this-folder)/Microsoft.Features/stable/2015-12-01/features.json
- $(this-folder)/Microsoft.Authorization/stable/2016-09-01/locks.json
- $(this-folder)/Microsoft.Authorization/stable/2015-01-01/locks.json
+ - $(this-folder)/Microsoft.Authorization/stable/2019-09-01/policyAssignments.json
+ - $(this-folder)/Microsoft.Authorization/stable/2019-09-01/policyDefinitions.json
+ - $(this-folder)/Microsoft.Authorization/stable/2019-09-01/policySetDefinitions.json
- $(this-folder)/Microsoft.Authorization/stable/2019-06-01/policyAssignments.json
- $(this-folder)/Microsoft.Authorization/stable/2019-06-01/policyDefinitions.json
- $(this-folder)/Microsoft.Authorization/stable/2019-06-01/policySetDefinitions.json
diff --git a/specification/resources/resource-manager/readme.python.md b/specification/resources/resource-manager/readme.python.md
index 433fad5215c0..d0dd9e465b48 100644
--- a/specification/resources/resource-manager/readme.python.md
+++ b/specification/resources/resource-manager/readme.python.md
@@ -25,6 +25,7 @@ batch:
- tag: package-locks-2016-09
- tag: package-locks-2015-01
- tag: package-managedapplications-2018-06
+ - tag: package-policy-2019-09
- tag: package-policy-2019-06
- tag: package-policy-2019-01
- tag: package-policy-2018-05
@@ -103,6 +104,17 @@ python:
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/managedapplications
```
+### Tag: package-policy-2019-09 and python
+
+These settings apply only when `--tag=package-policy-2019-09 --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-policy-2019-09' && $(python)
+python:
+ namespace: azure.mgmt.resource.policy.v2019_09_01
+ output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy/v2019_09_01
+```
+
### Tag: package-policy-2019-06 and python
These settings apply only when `--tag=package-policy-2019-06 --python` is specified on the command line.
From 3aa6629afea7bfd04edf780ed88cd06c2822b212 Mon Sep 17 00:00:00 2001
From: Tiano2017 <31759375+Tiano2017@users.noreply.github.com>
Date: Thu, 31 Oct 2019 01:23:33 +0000
Subject: [PATCH 113/189] Make 'location' required for sub/mg/tenant
deployment. (#7543)
---
.../stable/2019-08-01/resources.json | 25 ++++++++++++++++---
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-08-01/resources.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-08-01/resources.json
index ef78bef03d25..007c300b70ab 100644
--- a/specification/resources/resource-manager/Microsoft.Resources/stable/2019-08-01/resources.json
+++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2019-08-01/resources.json
@@ -461,7 +461,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/Deployment"
+ "$ref": "#/definitions/ScopedDeployment"
},
"description": "Additional parameters supplied to the operation."
},
@@ -571,7 +571,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/Deployment"
+ "$ref": "#/definitions/ScopedDeployment"
},
"description": "Parameters to validate."
},
@@ -765,7 +765,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/Deployment"
+ "$ref": "#/definitions/ScopedDeployment"
},
"description": "Additional parameters supplied to the operation."
},
@@ -884,7 +884,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/Deployment"
+ "$ref": "#/definitions/ScopedDeployment"
},
"description": "Parameters to validate."
},
@@ -4146,6 +4146,23 @@
],
"description": "Deployment operation parameters."
},
+ "ScopedDeployment": {
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "The location to store the deployment data."
+ },
+ "properties": {
+ "$ref": "#/definitions/DeploymentProperties",
+ "description": "The deployment properties."
+ }
+ },
+ "required": [
+ "location",
+ "properties"
+ ],
+ "description": "Deployment operation parameters."
+ },
"DeploymentExportResult": {
"properties": {
"template": {
From 56f4518e4dcbc103ae27c6f194966f29341d5c8d Mon Sep 17 00:00:00 2001
From: bowen0106 <49418659+bowen0106@users.noreply.github.com>
Date: Wed, 30 Oct 2019 21:31:46 -0700
Subject: [PATCH 114/189] Fix the typo for actionsRequired in
PrivateLinkServiceConnectionState. (#7672)
---
.../stable/2019-04-01/examples/PrivateEndpointCreate.json | 4 ++--
.../examples/PrivateEndpointCreateForManualApproval.json | 4 ++--
.../stable/2019-04-01/examples/PrivateEndpointGet.json | 2 +-
.../examples/PrivateEndpointGetForManualApproval.json | 2 +-
.../stable/2019-04-01/examples/PrivateEndpointList.json | 4 ++--
.../stable/2019-04-01/examples/PrivateEndpointListAll.json | 6 +++---
.../stable/2019-04-01/privateLinkService.json | 2 +-
.../stable/2019-06-01/examples/PrivateEndpointCreate.json | 4 ++--
.../examples/PrivateEndpointCreateForManualApproval.json | 4 ++--
.../stable/2019-06-01/examples/PrivateEndpointGet.json | 2 +-
.../examples/PrivateEndpointGetForManualApproval.json | 2 +-
.../stable/2019-06-01/examples/PrivateEndpointList.json | 4 ++--
.../stable/2019-06-01/examples/PrivateEndpointListAll.json | 6 +++---
.../stable/2019-06-01/privateLinkService.json | 2 +-
.../stable/2019-07-01/examples/PrivateEndpointCreate.json | 4 ++--
.../examples/PrivateEndpointCreateForManualApproval.json | 4 ++--
.../stable/2019-07-01/examples/PrivateEndpointGet.json | 2 +-
.../examples/PrivateEndpointGetForManualApproval.json | 2 +-
.../stable/2019-07-01/examples/PrivateEndpointList.json | 4 ++--
.../stable/2019-07-01/examples/PrivateEndpointListAll.json | 6 +++---
.../stable/2019-07-01/privateLinkService.json | 2 +-
.../stable/2019-08-01/examples/PrivateEndpointCreate.json | 4 ++--
.../examples/PrivateEndpointCreateForManualApproval.json | 4 ++--
.../stable/2019-08-01/examples/PrivateEndpointGet.json | 2 +-
.../examples/PrivateEndpointGetForManualApproval.json | 2 +-
.../stable/2019-08-01/examples/PrivateEndpointList.json | 4 ++--
.../stable/2019-08-01/examples/PrivateEndpointListAll.json | 6 +++---
.../stable/2019-08-01/privateLinkService.json | 2 +-
.../stable/2019-09-01/examples/PrivateEndpointCreate.json | 4 ++--
.../examples/PrivateEndpointCreateForManualApproval.json | 4 ++--
.../stable/2019-09-01/examples/PrivateEndpointGet.json | 2 +-
.../examples/PrivateEndpointGetForManualApproval.json | 2 +-
.../stable/2019-09-01/examples/PrivateEndpointList.json | 4 ++--
.../stable/2019-09-01/examples/PrivateEndpointListAll.json | 6 +++---
.../stable/2019-09-01/privateLinkService.json | 2 +-
35 files changed, 60 insertions(+), 60 deletions(-)
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreate.json
index 95eb2657e574..7a4376b9bf32 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreate.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreate.json
@@ -42,7 +42,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -77,7 +77,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreateForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreateForManualApproval.json
index c51ed2e20d1b..a6974b643284 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreateForManualApproval.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreateForManualApproval.json
@@ -44,7 +44,7 @@
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Awaiting approval",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -78,7 +78,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointGet.json
index 575a9d6a50ef..b71082704fbd 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointGet.json
@@ -25,7 +25,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointGetForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointGetForManualApproval.json
index 5eb53858dffa..1512096deca1 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointGetForManualApproval.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointGetForManualApproval.json
@@ -26,7 +26,7 @@
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Awaiting approval",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointList.json
index a3ce9fb8c8ab..e53715a1df38 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointList.json
@@ -26,7 +26,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -61,7 +61,7 @@
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Awaiting approval",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointListAll.json
index 3a875c884a50..18e466504784 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointListAll.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointListAll.json
@@ -25,7 +25,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -59,7 +59,7 @@
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Awaiting approval",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -92,7 +92,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json
index 06321a2cb0f1..2c83b38d7560 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json
@@ -828,7 +828,7 @@
"type": "string",
"description": "The reason for approval/rejection of the connection."
},
- "actionRequired": {
+ "actionsRequired": {
"type": "string",
"description": "A message indicating if changes on the service provider require any updates on the consumer."
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreate.json
index ecb7044a44a3..229ea74618bb 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreate.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreate.json
@@ -43,7 +43,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -78,7 +78,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreateForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreateForManualApproval.json
index d82668b67042..7944fc9459c8 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreateForManualApproval.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreateForManualApproval.json
@@ -44,7 +44,7 @@
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Awaiting approval",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -78,7 +78,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGet.json
index 425fddb7053d..353f7c197f36 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGet.json
@@ -25,7 +25,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGetForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGetForManualApproval.json
index 09540ed0e65f..1aaa898cffcf 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGetForManualApproval.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGetForManualApproval.json
@@ -26,7 +26,7 @@
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Awaiting approval",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointList.json
index f837a0575124..40ca6f76960a 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointList.json
@@ -26,7 +26,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -61,7 +61,7 @@
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Awaiting approval",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointListAll.json
index 6f4ee037b66d..865dbb7487e1 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointListAll.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointListAll.json
@@ -25,7 +25,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -59,7 +59,7 @@
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Awaiting approval",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -92,7 +92,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json
index a022fe0691a7..e353c3b3854a 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json
@@ -825,7 +825,7 @@
"type": "string",
"description": "The reason for approval/rejection of the connection."
},
- "actionRequired": {
+ "actionsRequired": {
"type": "string",
"description": "A message indicating if changes on the service provider require any updates on the consumer."
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointCreate.json
index bcff39d3e3cf..7f17b5de78ae 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointCreate.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointCreate.json
@@ -43,7 +43,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -78,7 +78,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointCreateForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointCreateForManualApproval.json
index bbd459535336..acaa3cacaeb6 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointCreateForManualApproval.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointCreateForManualApproval.json
@@ -44,7 +44,7 @@
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Awaiting approval",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -78,7 +78,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointGet.json
index 6540feb1a231..4db93a8ca5b9 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointGet.json
@@ -25,7 +25,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointGetForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointGetForManualApproval.json
index bcdf026d4935..192cf2e677bc 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointGetForManualApproval.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointGetForManualApproval.json
@@ -26,7 +26,7 @@
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Awaiting approval",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointList.json
index 237d5b0f6c1e..24fda3bc2416 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointList.json
@@ -26,7 +26,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -61,7 +61,7 @@
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Awaiting approval",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointListAll.json
index a664c95aca66..cc0fb626c78a 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointListAll.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/examples/PrivateEndpointListAll.json
@@ -25,7 +25,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -59,7 +59,7 @@
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Awaiting approval",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -92,7 +92,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/privateLinkService.json
index 19d6680d4d3b..c773f0407dda 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/privateLinkService.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-07-01/privateLinkService.json
@@ -825,7 +825,7 @@
"type": "string",
"description": "The reason for approval/rejection of the connection."
},
- "actionRequired": {
+ "actionsRequired": {
"type": "string",
"description": "A message indicating if changes on the service provider require any updates on the consumer."
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointCreate.json
index 59145ed1c10c..288790991b03 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointCreate.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointCreate.json
@@ -43,7 +43,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -78,7 +78,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointCreateForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointCreateForManualApproval.json
index 99ca1a9176e1..39dda20400a9 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointCreateForManualApproval.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointCreateForManualApproval.json
@@ -44,7 +44,7 @@
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Awaiting approval",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -78,7 +78,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointGet.json
index 1e3bbb6b4f6b..ff388f373c23 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointGet.json
@@ -25,7 +25,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointGetForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointGetForManualApproval.json
index 792565c39e07..78189e13ce1f 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointGetForManualApproval.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointGetForManualApproval.json
@@ -26,7 +26,7 @@
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Awaiting approval",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointList.json
index e64f0a048116..60ed37ab33b4 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointList.json
@@ -26,7 +26,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -61,7 +61,7 @@
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Awaiting approval",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointListAll.json
index 7ab573743376..bda8df701335 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointListAll.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/PrivateEndpointListAll.json
@@ -25,7 +25,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -59,7 +59,7 @@
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Awaiting approval",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -92,7 +92,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/privateLinkService.json
index be3ba8a28bf3..9d62becd6bdd 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/privateLinkService.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/privateLinkService.json
@@ -825,7 +825,7 @@
"type": "string",
"description": "The reason for approval/rejection of the connection."
},
- "actionRequired": {
+ "actionsRequired": {
"type": "string",
"description": "A message indicating if changes on the service provider require any updates on the consumer."
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointCreate.json
index 88987b0911f5..1b984ae021ed 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointCreate.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointCreate.json
@@ -43,7 +43,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -78,7 +78,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointCreateForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointCreateForManualApproval.json
index debd88127751..e9e1a14ddbfc 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointCreateForManualApproval.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointCreateForManualApproval.json
@@ -44,7 +44,7 @@
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Awaiting approval",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -78,7 +78,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointGet.json
index 6ac3d4463383..87b0dc28ad83 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointGet.json
@@ -25,7 +25,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointGetForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointGetForManualApproval.json
index e8b2c7e4594e..def6fd5da30a 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointGetForManualApproval.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointGetForManualApproval.json
@@ -26,7 +26,7 @@
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Awaiting approval",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointList.json
index 520c56bf8b2e..a670b60354ce 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointList.json
@@ -26,7 +26,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -61,7 +61,7 @@
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Awaiting approval",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointListAll.json
index f105f0abb19a..2d2cd4096c73 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointListAll.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/PrivateEndpointListAll.json
@@ -25,7 +25,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -59,7 +59,7 @@
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Awaiting approval",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
@@ -92,7 +92,7 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
- "actionRequired": "None"
+ "actionsRequired": "None"
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/privateLinkService.json
index 37af797fd7d9..19096cbeeece 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/privateLinkService.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/privateLinkService.json
@@ -979,7 +979,7 @@
"type": "string",
"description": "The reason for approval/rejection of the connection."
},
- "actionRequired": {
+ "actionsRequired": {
"type": "string",
"description": "A message indicating if changes on the service provider require any updates on the consumer."
}
From 162e13462627603c812965c4143a83f061500bed Mon Sep 17 00:00:00 2001
From: Kfir Behar <40736075+kfbehar@users.noreply.github.com>
Date: Thu, 31 Oct 2019 07:35:21 +0200
Subject: [PATCH 115/189] Add Azure Security Center for IoT to productFilter
enum (#7645)
---
.../preview/2019-01-01-preview/SecurityInsights.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json
index eaf5bfa8fc8f..3ab4ff56ac66 100644
--- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json
+++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json
@@ -4966,7 +4966,8 @@
"Microsoft Cloud App Security",
"Azure Security Center",
"Azure Advanced Threat Protection",
- "Azure Active Directory Identity Protection"
+ "Azure Active Directory Identity Protection",
+ "Azure Security Center for IoT"
],
"type": "string",
"x-ms-enum": {
From 0e99ef8c7d92e4d8e192fcf8badac2e9dedbd0ff Mon Sep 17 00:00:00 2001
From: Zhenfeng
Date: Wed, 30 Oct 2019 23:04:40 -0700
Subject: [PATCH 116/189] [SRP] Add delete retention policy for blob container
and file share (#7626)
---
.../stable/2019-06-01/blob.json | 23 +++++--------------
.../stable/2019-06-01/common.json | 15 ++++++++++++
.../stable/2019-06-01/file.json | 4 ++++
3 files changed, 25 insertions(+), 17 deletions(-)
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json
index a3e7f61c4865..16b0f690b282 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json
@@ -1132,8 +1132,8 @@
"description": "DefaultServiceVersion indicates the default version to use for requests to the Blob service if an incoming request’s version is not specified. Possible values include version 2008-10-27 and all more recent versions."
},
"deleteRetentionPolicy": {
- "$ref": "#/definitions/DeleteRetentionPolicy",
- "description": "The blob service properties for soft delete."
+ "$ref": "./common.json#/definitions/DeleteRetentionPolicy",
+ "description": "The blob service properties for blob soft delete."
},
"automaticSnapshotPolicyEnabled": {
"type": "boolean",
@@ -1142,6 +1142,10 @@
"changeFeed": {
"$ref": "#/definitions/ChangeFeed",
"description": "The blob service properties for change feed events."
+ },
+ "containerDeleteRetentionPolicy": {
+ "$ref": "./common.json#/definitions/DeleteRetentionPolicy",
+ "description": "The blob service properties for container soft delete."
}
},
"x-ms-client-flatten": true,
@@ -1177,21 +1181,6 @@
},
"description": "The blob service properties for change feed events."
},
- "DeleteRetentionPolicy": {
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Indicates whether DeleteRetentionPolicy is enabled for the Blob service."
- },
- "days": {
- "type": "integer",
- "minimum": 1,
- "maximum": 365,
- "description": "Indicates the number of days that the deleted blob should be retained. The minimum specified value can be 1 and the maximum value can be 365."
- }
- },
- "description": "The blob service properties for soft delete."
- },
"LeaseContainerRequest": {
"properties": {
"action": {
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/common.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/common.json
index d3734f098d55..a00b2ec09c97 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/common.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/common.json
@@ -71,6 +71,21 @@
"allowedHeaders"
],
"description": "Specifies a CORS rule for the Blob service."
+ },
+ "DeleteRetentionPolicy": {
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "description": "Indicates whether DeleteRetentionPolicy is enabled for the Blob service."
+ },
+ "days": {
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 365,
+ "description": "Indicates the number of days that the deleted blob should be retained. The minimum specified value can be 1 and the maximum value can be 365."
+ }
+ },
+ "description": "The blob service properties for soft delete."
}
}
}
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/file.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/file.json
index b781e6ec5f61..bdf58b61f540 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/file.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/file.json
@@ -432,6 +432,10 @@
"cors": {
"$ref": "./common.json#/definitions/CorsRules",
"description": "Specifies CORS rules for the File service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the File service."
+ },
+ "shareDeleteRetentionPolicy": {
+ "$ref": "./common.json#/definitions/DeleteRetentionPolicy",
+ "description": "The file service properties for share soft delete."
}
},
"x-ms-client-flatten": true,
From 719dc0c56b4edc2fedd341381f76c158c0d3cd26 Mon Sep 17 00:00:00 2001
From: xichen
Date: Thu, 31 Oct 2019 16:31:37 +0800
Subject: [PATCH 117/189] Add Properties for ssis embedded package (#7646)
---
.../2018-06-01/entityTypes/Pipeline.json | 53 +++++++++++++++++--
1 file changed, 48 insertions(+), 5 deletions(-)
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
index 2c571ade0023..d4e682a34bfc 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
@@ -4173,7 +4173,8 @@
"type": "string",
"enum": [
"SSISDB",
- "File"
+ "File",
+ "InlinePackage"
],
"x-ms-enum": {
"name": "SsisPackageLocationType",
@@ -4185,10 +4186,7 @@
"description": "SSIS package location properties.",
"$ref": "#/definitions/SSISPackageLocationTypeProperties"
}
- },
- "required": [
- "packagePath"
- ]
+ }
},
"SSISPackageLocationTypeProperties": {
"description": "SSIS package location properties.",
@@ -4205,6 +4203,25 @@
"configurationPath": {
"description": "The configuration file of the package execution. Type: string (or Expression with resultType string).",
"type": "object"
+ },
+ "packageName": {
+ "description": "The package name.",
+ "type": "string"
+ },
+ "packageContent": {
+ "description": "The embedded package content. Type: string (or Expression with resultType string).",
+ "type": "object"
+ },
+ "packageLastModifiedDate": {
+ "description": "The embedded package last modified date.",
+ "type": "string"
+ },
+ "childPackages": {
+ "description": "The embedded child package list.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SSISChildPackage"
+ }
}
}
},
@@ -4291,6 +4308,32 @@
"password"
]
},
+ "SSISChildPackage": {
+ "description": "SSIS embedded child package.",
+ "type": "object",
+ "properties": {
+ "packagePath": {
+ "type": "object",
+ "description": "Path for embedded child package. Type: string (or Expression with resultType string)."
+ },
+ "packageName": {
+ "type": "string",
+ "description": "Name for embedded child package."
+ },
+ "packageContent": {
+ "type": "object",
+ "description": "Content for embedded child package. Type: string (or Expression with resultType string)."
+ },
+ "packageLastModifiedDate": {
+ "type": "string",
+ "description": "Last modified date for embedded child package."
+ }
+ },
+ "required": [
+ "packagePath",
+ "packageContent"
+ ]
+ },
"SSISLogLocation": {
"description": "SSIS package execution log location",
"type": "object",
From df6ab1d2b2f424bdc10a69a0e0b8fc065f7fc70e Mon Sep 17 00:00:00 2001
From: MyronFanQiu <49134743+MyronFanQiu@users.noreply.github.com>
Date: Thu, 31 Oct 2019 17:48:06 +0800
Subject: [PATCH 118/189] fix ruby.md for release (#7680)
---
specification/eventgrid/resource-manager/readme.ruby.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/specification/eventgrid/resource-manager/readme.ruby.md b/specification/eventgrid/resource-manager/readme.ruby.md
index 2a0710261160..039c28ca3a6f 100644
--- a/specification/eventgrid/resource-manager/readme.ruby.md
+++ b/specification/eventgrid/resource-manager/readme.ruby.md
@@ -31,6 +31,7 @@ Please also specify `--ruby-sdks-folder=
Date: Thu, 31 Oct 2019 13:51:44 -0700
Subject: [PATCH 119/189] Managementgroups/20191101 (#7673)
* new api version for management groups
* modify type in MG entities
* moving to stable folder
* fix example
* update read me
* fix model validations
* PR comment resolved
* remove input file
* change file extension case
* Rename management.JSON to management.json
* fixed checks
---
.../AddManagementGroupSubscription.json | 11 +
.../CheckManagementGroupNameAvailability.json | 19 +
.../examples/DeleteManagementGroup.json | 18 +
.../2019-11-01/examples/GetDescendants.json | 37 +
.../2019-11-01/examples/GetEntities.json | 65 +
.../examples/GetManagementGroup.json | 30 +
.../GetManagementGroupWithExpand.json | 63 +
...etManagementGroupWithExpandAndRecurse.json | 74 +
.../examples/ListManagementGroups.json | 33 +
.../examples/PatchManagementGroup.json | 34 +
.../examples/PutManagementGroup.json | 52 +
.../RemoveManagementGroupSubscription.json | 11 +
.../examples/StartTenantBackfillRequest.json | 14 +
.../examples/TenantBackfillStatusRequest.json | 14 +
.../stable/2019-11-01/management.json | 1654 +++++++++++++++++
.../resource-manager/readme.go.md | 9 +
.../resource-manager/readme.md | 24 +-
17 files changed, 2161 insertions(+), 1 deletion(-)
create mode 100644 specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/AddManagementGroupSubscription.json
create mode 100644 specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/CheckManagementGroupNameAvailability.json
create mode 100644 specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/DeleteManagementGroup.json
create mode 100644 specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/GetDescendants.json
create mode 100644 specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/GetEntities.json
create mode 100644 specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/GetManagementGroup.json
create mode 100644 specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/GetManagementGroupWithExpand.json
create mode 100644 specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/GetManagementGroupWithExpandAndRecurse.json
create mode 100644 specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/ListManagementGroups.json
create mode 100644 specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/PatchManagementGroup.json
create mode 100644 specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/PutManagementGroup.json
create mode 100644 specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/RemoveManagementGroupSubscription.json
create mode 100644 specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/StartTenantBackfillRequest.json
create mode 100644 specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/TenantBackfillStatusRequest.json
create mode 100644 specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/management.json
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/AddManagementGroupSubscription.json b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/AddManagementGroupSubscription.json
new file mode 100644
index 000000000000..aedc1df12223
--- /dev/null
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/AddManagementGroupSubscription.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "groupId": "Group",
+ "subscriptionId": "728bcbe4-8d56-4510-86c2-4921b8beefbc",
+ "Cache-Control": "no-cache"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/CheckManagementGroupNameAvailability.json b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/CheckManagementGroupNameAvailability.json
new file mode 100644
index 000000000000..a820fac179a2
--- /dev/null
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/CheckManagementGroupNameAvailability.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "checkNameAvailabilityRequest": {
+ "name": "nameTocheck",
+ "type": "Microsoft.Management/managementGroups"
+ },
+ "Cache-Control": "no-cache"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nameAvailable": false,
+ "reason": "AlreadyExists",
+ "message": ""
+ }
+ }
+ }
+}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/DeleteManagementGroup.json b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/DeleteManagementGroup.json
new file mode 100644
index 000000000000..afa7c9c73018
--- /dev/null
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/DeleteManagementGroup.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "groupId": "GroupToDelete",
+ "Cache-Control": "no-cache"
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "id": "/providers/Microsoft.Management/managementGroups/GroupToDelete",
+ "type": "Microsoft.Management/managementGroups",
+ "name": "GroupToDelete",
+ "status": "NotStarted"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/GetDescendants.json b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/GetDescendants.json
new file mode 100644
index 000000000000..67c19b5f05a3
--- /dev/null
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/GetDescendants.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "groupId": "20000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000",
+ "type": "Microsoft.Management/managementGroups",
+ "name": "20000000-0001-0000-0000-000000000000",
+ "properties": {
+ "displayName": "Group 1",
+ "parent": {
+ "id": "/providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/20000000-0004-0000-0000-000000000000",
+ "type": "/subscriptions",
+ "name": "20000000-0004-0000-0000-000000000000",
+ "properties": {
+ "displayName": "Subscription 4",
+ "parent": {
+ "id": "/providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000"
+ }
+ }
+ }
+ ],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/GetEntities.json b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/GetEntities.json
new file mode 100644
index 000000000000..3fa3c771a2ab
--- /dev/null
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/GetEntities.json
@@ -0,0 +1,65 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "Cache-Control": "no-cache"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000",
+ "type": "Microsoft.Management/managementGroups",
+ "name": "20000000-0001-0000-0000-000000000000",
+ "properties": {
+ "tenantId": "20000000-0000-0000-0000-000000000000",
+ "displayName": "Group 1 Tenant 2",
+ "parent": {
+ "id": "/providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000"
+ },
+ "permissions": "view",
+ "inheritedPermissions": "view",
+ "parentDisplayNameChain": [
+ "Tenant Root Group",
+ "Group 1 Tenant 2 Parent"
+ ],
+ "parentNameChain": [
+ "TenantRootGroup",
+ "Group1Tenant2Parent"
+ ],
+ "numberOfDescendants": 3,
+ "numberOfChildren": 2,
+ "numberOfChildGroups": 1
+ }
+ },
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/20000000-0004-0000-0000-000000000000",
+ "type": "Microsoft.Management/managementGroups",
+ "name": "20000000-0004-0000-0000-000000000000",
+ "properties": {
+ "tenantId": "20000000-0000-0000-0000-000000000000",
+ "displayName": "Group 4 Tenant 2",
+ "parent": {
+ "id": "/providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000"
+ },
+ "permissions": "delete",
+ "inheritedPermissions": "delete",
+ "parentDisplayNameChain": [
+ "Tenant Root Group",
+ "Group 4 Tenant 2 Parent"
+ ],
+ "parentNameChain": [
+ "TenantRootGroup",
+ "Group4 Tenant2Parent"
+ ],
+ "numberOfDescendants": 0,
+ "numberOfChildren": 0,
+ "numberOfChildGroups": 0
+ }
+ }
+ ],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/GetManagementGroup.json b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/GetManagementGroup.json
new file mode 100644
index 000000000000..21330ff03ced
--- /dev/null
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/GetManagementGroup.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "groupId": "20000000-0001-0000-0000-000000000000",
+ "Cache-Control": "no-cache"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000",
+ "type": "Microsoft.Management/managementGroups",
+ "name": "20000000-0001-0000-0000-000000000000",
+ "properties": {
+ "tenantId": "20000000-0000-0000-0000-000000000000",
+ "displayName": "Group 1 Tenant 2",
+ "details": {
+ "version": 1,
+ "updatedTime": "2018-01-01T00:00:00.00Z",
+ "updatedBy": "16b8ef21-5c9f-420c-bcc9-e4f8c9f30b4b",
+ "parent": {
+ "id": "/providers/Microsoft.Management/managementGroups/RootGroup",
+ "name": "RootGroup",
+ "displayName": "RootGroup"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/GetManagementGroupWithExpand.json b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/GetManagementGroupWithExpand.json
new file mode 100644
index 000000000000..e9f8f0eb4ae4
--- /dev/null
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/GetManagementGroupWithExpand.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "groupId": "20000000-0001-0000-0000-000000000000",
+ "$expand": "children",
+ "Cache-Control": "no-cache"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000",
+ "type": "Microsoft.Management/managementGroups",
+ "name": "20000000-0001-0000-0000-000000000000",
+ "properties": {
+ "tenantId": "20000000-0000-0000-0000-000000000000",
+ "displayName": "Group 1 Tenant 2",
+ "details": {
+ "version": 1,
+ "updatedTime": "2018-01-01T00:00:00.00Z",
+ "updatedBy": "Test",
+ "parent": {
+ "id": "/providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000",
+ "name": "20000000-0000-0000-0000-000000000000",
+ "displayName": "20000000-0000-0000-0000-000000000000"
+ }
+ },
+ "children": [
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000",
+ "type": "Microsoft.Management/managementGroups",
+ "name": "20000000-0002-0000-0000-000000000000",
+ "displayName": "Group 2 Tenant 2"
+ },
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/20000000-0003-0000-0000-000000000000",
+ "type": "Microsoft.Management/managementGroups",
+ "name": "20000000-0003-0000-0000-000000000000",
+ "displayName": "Group 3 Tenant 2"
+ },
+ {
+ "id": "/subscriptions/10000000-F004-0000-0000-000000000000",
+ "type": "/subscriptions",
+ "name": "10000000-F004-0000-0000-000000000000",
+ "displayName": "Subscription 4 Tenant 1"
+ },
+ {
+ "id": "/subscriptions/20000000-F005-0000-0000-000000000000",
+ "type": "/subscriptions",
+ "name": "20000000-F005-0000-0000-000000000000",
+ "displayName": "Subscription 5 Tenant 2"
+ },
+ {
+ "id": "/subscriptions/30000000-F003-0000-0000-000000000000",
+ "type": "/subscriptions",
+ "name": "30000000-F003-0000-0000-000000000000",
+ "displayName": "Subscription 3 Tenant 3"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/GetManagementGroupWithExpandAndRecurse.json b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/GetManagementGroupWithExpandAndRecurse.json
new file mode 100644
index 000000000000..279cca0696eb
--- /dev/null
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/GetManagementGroupWithExpandAndRecurse.json
@@ -0,0 +1,74 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "groupId": "20000000-0001-0000-0000-000000000000",
+ "$expand": "children",
+ "$recurse": true,
+ "Cache-Control": "no-cache"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Management/managementGroups/RootGroup",
+ "type": "Microsoft.Management/managementGroups",
+ "name": "RootGroup",
+ "properties": {
+ "tenantId": "20000000-0000-0000-0000-000000000000",
+ "displayName": "RootGroup",
+ "details": {
+ "version": 2,
+ "updatedTime": "2018-01-25T02:26:49.0022093Z",
+ "updatedBy": "bd490e30-04cb-433e-b8c8-6066959a8bab",
+ "parent": {
+ "id": "/providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000",
+ "name": "20000000-0000-0000-0000-000000000000",
+ "displayName": "20000000-0000-0000-0000-000000000000"
+ }
+ },
+ "children": [
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/Child",
+ "type": "Microsoft.Management/managementGroups",
+ "name": "Child",
+ "displayName": "Child",
+ "roles": [
+ "/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635"
+ ],
+ "children": [
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/Leaf",
+ "type": "Microsoft.Management/managementGroups",
+ "name": "Leaf",
+ "displayName": "Leaf",
+ "roles": [
+ "/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635"
+ ],
+ "children": [
+ {
+ "id": "/subscriptions/728bcbe4-8d56-4510-86c2-4921b8beefbc",
+ "type": "/subscriptions",
+ "name": "728bcbe4-8d56-4510-86c2-4921b8beefbc",
+ "displayName": "Pay-As-You-Go",
+ "roles": [
+ "/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635"
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/AnotherChild",
+ "type": "Microsoft.Management/managementGroups",
+ "name": "AnotherChild",
+ "displayName": "Leaf",
+ "roles": [
+ "/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635"
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/ListManagementGroups.json b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/ListManagementGroups.json
new file mode 100644
index 000000000000..da6c467ca79e
--- /dev/null
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/ListManagementGroups.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "Cache-Control": "no-cache"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000",
+ "type": "Microsoft.Management/managementGroups",
+ "name": "20000000-0001-0000-0000-000000000000",
+ "properties": {
+ "tenantId": "20000000-0000-0000-0000-000000000000",
+ "displayName": "Group 1 Tenant 2"
+ }
+ },
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/20000000-0004-0000-0000-000000000000",
+ "type": "Microsoft.Management/managementGroups",
+ "name": "20000000-0004-0000-0000-000000000000",
+ "properties": {
+ "tenantId": "20000000-0000-0000-0000-000000000000",
+ "displayName": "Group 4 Tenant 2"
+ }
+ }
+ ],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/PatchManagementGroup.json b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/PatchManagementGroup.json
new file mode 100644
index 000000000000..4a664652f1f0
--- /dev/null
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/PatchManagementGroup.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "groupId": "ChildGroup",
+ "patchGroupRequest": {
+ "displayName": "AlternateDisplayName",
+ "parentGroupId": "/providers/Microsoft.Management/managementGroups/AlternateRootGroup"
+ },
+ "Cache-Control": "no-cache"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Management/managementGroups/ChildGroup",
+ "type": "Microsoft.Management/managementGroups",
+ "name": "ChildGroup",
+ "properties": {
+ "tenantId": "20000000-0000-0000-0000-000000000000",
+ "displayName": "AlternateDisplayName",
+ "details": {
+ "version": 2,
+ "updatedTime": "2018-01-25T02:46:59.0545645Z",
+ "updatedBy": "bd490e30-04cb-433e-b8c8-6066959a8bab",
+ "parent": {
+ "id": "/providers/Microsoft.Management/managementGroups/AlternateRootGroup",
+ "name": "AlternateRootGroup",
+ "displayName": "AlternateRootGroup"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/PutManagementGroup.json b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/PutManagementGroup.json
new file mode 100644
index 000000000000..c3e1bc7d00bd
--- /dev/null
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/PutManagementGroup.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "groupId": "ChildGroup",
+ "createManagementGroupRequest": {
+ "id": "/providers/Microsoft.Management/managementGroups/ChildGroup",
+ "type": "Microsoft.Management/managementGroups",
+ "name": "ChildGroup",
+ "properties": {
+ "tenantId": "20000000-0000-0000-0000-000000000000",
+ "displayName": "ChildGroup",
+ "details": {
+ "parent": {
+ "id": "/providers/Microsoft.Management/managementGroups/RootGroup"
+ }
+ }
+ }
+ },
+ "Cache-Control": "no-cache"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Management/managementGroups/ChildGroup",
+ "type": "Microsoft.Management/managementGroups",
+ "name": "ChildGroup",
+ "properties": {
+ "tenantId": "20000000-0000-0000-0000-000000000000",
+ "displayName": "ChildGroup",
+ "details": {
+ "version": 1,
+ "updatedTime": "2018-01-01T00:00:00.00Z",
+ "updatedBy": "16b8ef21-5c9f-420c-bcc9-e4f8c9f30b4b",
+ "parent": {
+ "id": "/providers/Microsoft.Management/managementGroups/RootGroup",
+ "name": "RootGroup",
+ "displayName": "RootGroup"
+ }
+ }
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/providers/Microsoft.Management/managementGroups/ChildGroup",
+ "type": "Microsoft.Management/managementGroups",
+ "name": "ChildGroup",
+ "status": "NotStarted"
+ }
+ }
+ }
+}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/RemoveManagementGroupSubscription.json b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/RemoveManagementGroupSubscription.json
new file mode 100644
index 000000000000..aedc1df12223
--- /dev/null
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/RemoveManagementGroupSubscription.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "groupId": "Group",
+ "subscriptionId": "728bcbe4-8d56-4510-86c2-4921b8beefbc",
+ "Cache-Control": "no-cache"
+ },
+ "responses": {
+ "204": {}
+ }
+}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/StartTenantBackfillRequest.json b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/StartTenantBackfillRequest.json
new file mode 100644
index 000000000000..7741e8bdf9cd
--- /dev/null
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/StartTenantBackfillRequest.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "startTenantBackfillRequest": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tenantId": "20000000-0000-0000-0000-000000000000",
+ "status": "Started"
+ }
+ }
+ }
+}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/TenantBackfillStatusRequest.json b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/TenantBackfillStatusRequest.json
new file mode 100644
index 000000000000..16447e0f39e4
--- /dev/null
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/examples/TenantBackfillStatusRequest.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "tenantBackfillStatusRequest": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tenantId": "20000000-0000-0000-0000-000000000000",
+ "status": "Started"
+ }
+ }
+ }
+}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/management.json b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/management.json
new file mode 100644
index 000000000000..edc380a27f17
--- /dev/null
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/stable/2019-11-01/management.json
@@ -0,0 +1,1654 @@
+{
+ "swagger": "2.0",
+ "host": "management.azure.com",
+ "info": {
+ "version": "2019-11-01",
+ "title": "Management Groups API",
+ "description": "The Azure Management Groups API enables consolidation of multiple subscriptions/resources into an organizational hierarchy and centrally manage access control, policies, alerting and reporting for those resources."
+ },
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "tags": [
+ {
+ "name": "ManagementGroups",
+ "description": "A Management Group is a customer defined scope (grouping mechanism) that provides access control (authorization), policy management and reporting. Management Groups are organized in a strictly tree-based hierarchy."
+ },
+ {
+ "name": "Operations",
+ "description": "Management operations supported by the Microsoft.Management resource provider."
+ },
+ {
+ "name": "Entities",
+ "description": "A list of entities that belong to the Management Groups."
+ }
+ ],
+ "paths": {
+ "/providers/Microsoft.Management/managementGroups": {
+ "get": {
+ "tags": [
+ "ManagementGroups"
+ ],
+ "operationId": "ManagementGroups_List",
+ "description": "List management groups for the authenticated user.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheControlHeader"
+ },
+ {
+ "$ref": "#/parameters/SkipTokenParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagementGroupListResult"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ListManagementGroups": {
+ "$ref": "./examples/ListManagementGroups.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Management/managementGroups/{groupId}": {
+ "get": {
+ "tags": [
+ "ManagementGroups"
+ ],
+ "operationId": "ManagementGroups_Get",
+ "description": "Get the details of the management group.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/GroupIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ExpandParameter"
+ },
+ {
+ "$ref": "#/parameters/RecurseParameter"
+ },
+ {
+ "$ref": "#/parameters/FilterParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheControlHeader"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagementGroup"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetManagementGroup": {
+ "$ref": "./examples/GetManagementGroup.json"
+ },
+ "GetManagementGroupWithExpand": {
+ "$ref": "./examples/GetManagementGroupWithExpand.json"
+ },
+ "GetManagementGroupsWithExpandAndRecurse": {
+ "$ref": "./examples/GetManagementGroupWithExpandAndRecurse.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ManagementGroups"
+ ],
+ "operationId": "ManagementGroups_CreateOrUpdate",
+ "description": "Create or update a management group. If a management group is already created and a subsequent create request is issued with different properties, the management group properties will be updated.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/GroupIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheControlHeader"
+ },
+ {
+ "$ref": "#/parameters/CreateManagementGroupRequestParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagementGroup"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/OperationResults"
+ },
+ "headers": {
+ "Location": {
+ "description": "URL for determining when an operation has completed. Send a GET request to the URL in Location header.\n The URI should return a 202 until the operation reaches a terminal state and 200 once it reaches a terminal state \n\nFor more info: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#202-accepted-and-location-headers",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URL for checking the ongoing status of the operation.\n To get the status of the asynchronous operation, send a GET request to the URL in Azure-AsyncOperation header value.\n\nFor more info: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#asynchronous-operations",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "PutManagementGroup": {
+ "$ref": "./examples/PutManagementGroup.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "ManagementGroups"
+ ],
+ "operationId": "ManagementGroups_Update",
+ "description": "Update a management group.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/GroupIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheControlHeader"
+ },
+ {
+ "$ref": "#/parameters/PatchGroupRequestParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ManagementGroup"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "PatchManagementGroup": {
+ "$ref": "./examples/PatchManagementGroup.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ManagementGroups"
+ ],
+ "operationId": "ManagementGroups_Delete",
+ "description": "Delete management group. If a management group contains child resources, the request will fail.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/GroupIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheControlHeader"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/OperationResults"
+ },
+ "headers": {
+ "Location": {
+ "description": "URL for determining when an operation has completed. Send a GET request to the URL in Location header.\n The URI should return a 202 until the operation reaches a terminal state and 200 once it reaches a terminal state \n\nFor more info: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#202-accepted-and-location-headers",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "URL for checking the ongoing status of the operation.\n To get the status of the asynchronous operation, send a GET request to the URL in Azure-AsyncOperation header value.\n\nFor more info: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#asynchronous-operations",
+ "type": "string"
+ }
+ }
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DeleteManagementGroup": {
+ "$ref": "./examples/DeleteManagementGroup.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/providers/Microsoft.Management/managementGroups/{groupId}/descendants": {
+ "post": {
+ "tags": [
+ "ManagementGroups_Descendants"
+ ],
+ "operationId": "ManagementGroups_GetDescendants",
+ "description": "List all entities that descend from a management group.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/GroupIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SkipTokenParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DescendantListResult"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "GetDescendants": {
+ "$ref": "./examples/GetDescendants.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Management/managementGroups/{groupId}/subscriptions/{subscriptionId}": {
+ "put": {
+ "tags": [
+ "ManagementGroups"
+ ],
+ "operationId": "ManagementGroupSubscriptions_Create",
+ "description": "Associates existing subscription with the management group.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/GroupIdParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheControlHeader"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "AddSubscriptionToManagementGroup": {
+ "$ref": "./examples/AddManagementGroupSubscription.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ManagementGroups"
+ ],
+ "operationId": "ManagementGroupSubscriptions_Delete",
+ "description": "De-associates subscription from the management group.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/GroupIdParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheControlHeader"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DeleteSubscriptionFromManagementGroup": {
+ "$ref": "./examples/RemoveManagementGroupSubscription.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Management/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "operationId": "Operations_List",
+ "description": "Lists all of the available Management REST API operations.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Management/checkNameAvailability": {
+ "post": {
+ "tags": [
+ "CheckNameAvailability"
+ ],
+ "operationId": "CheckNameAvailability",
+ "description": "Checks if the specified management group name is valid and unique",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/CheckNameAvailabilityParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/CheckNameAvailabilityResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "CheckManagementGroupNameAvailability": {
+ "$ref": "./examples/CheckManagementGroupNameAvailability.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Management/getEntities": {
+ "post": {
+ "tags": [
+ "Entities"
+ ],
+ "operationId": "Entities_List",
+ "description": "List all entities (Management Groups, Subscriptions, etc.) for the authenticated user.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SkipTokenParameter"
+ },
+ {
+ "$ref": "#/parameters/SkipParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ },
+ {
+ "$ref": "#/parameters/SelectParameter"
+ },
+ {
+ "$ref": "#/parameters/SearchParameter"
+ },
+ {
+ "$ref": "#/parameters/EntityFilterParameter"
+ },
+ {
+ "$ref": "#/parameters/EntityViewParameter"
+ },
+ {
+ "$ref": "#/parameters/GroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CacheControlHeader"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EntityListResult"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "GetEntities": {
+ "$ref": "./examples/GetEntities.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Management/startTenantBackfill": {
+ "post": {
+ "tags": [
+ "TenantBackfill"
+ ],
+ "operationId": "StartTenantBackfill",
+ "description": "Starts backfilling subscriptions for the Tenant.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/TenantBackfillStatusResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "StartTenantBackfill": {
+ "$ref": "./examples/StartTenantBackfillRequest.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Management/tenantBackfillStatus": {
+ "post": {
+ "tags": [
+ "TenantBackfill"
+ ],
+ "operationId": "TenantBackfillStatus",
+ "description": "Gets tenant backfill status",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/TenantBackfillStatusResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "TenantBackfillStatus": {
+ "$ref": "./examples/TenantBackfillStatusRequest.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ErrorResponse": {
+ "description": "The error object.",
+ "properties": {
+ "error": {
+ "title": "Error",
+ "$ref": "#/definitions/ErrorDetails"
+ }
+ }
+ },
+ "ErrorDetails": {
+ "description": "The details of the error.",
+ "properties": {
+ "code": {
+ "description": "One of a server-defined set of error codes.",
+ "type": "string"
+ },
+ "message": {
+ "description": "A human-readable representation of the error.",
+ "type": "string"
+ },
+ "details": {
+ "description": "A human-readable representation of the error's details.",
+ "type": "string"
+ }
+ }
+ },
+ "Operation": {
+ "description": "Operation supported by the Microsoft.Management resource provider.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}.",
+ "type": "string",
+ "readOnly": true
+ },
+ "display": {
+ "title": "Display",
+ "$ref": "#/definitions/OperationDisplayProperties"
+ }
+ }
+ },
+ "OperationDisplayProperties": {
+ "description": "The object that represents the operation.",
+ "properties": {
+ "provider": {
+ "description": "The name of the provider.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resource": {
+ "description": "The resource on which the operation is performed.",
+ "type": "string",
+ "readOnly": true
+ },
+ "operation": {
+ "description": "The operation that can be performed.",
+ "type": "string",
+ "readOnly": true
+ },
+ "description": {
+ "description": "Operation description.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "OperationListResult": {
+ "description": "Describes the result of the request to list Microsoft.Management operations.",
+ "properties": {
+ "value": {
+ "description": "List of operations supported by the Microsoft.Management resource provider.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Operation"
+ }
+ },
+ "nextLink": {
+ "description": "URL to get the next set of operation list results if there are any.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "CheckNameAvailabilityResult": {
+ "description": "Describes the result of the request to check management group name availability.",
+ "properties": {
+ "nameAvailable": {
+ "description": "Required. True indicates name is valid and available. False indicates the name is invalid, unavailable, or both.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "reason": {
+ "description": "Required if nameAvailable == false. Invalid indicates the name provided does not match the resource provider's naming requirements (incorrect length, unsupported characters, etc.) AlreadyExists indicates that the name is already in use and is therefore unavailable.",
+ "type": "string",
+ "enum": [
+ "Invalid",
+ "AlreadyExists"
+ ],
+ "x-ms-enum": {
+ "name": "Reason",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "Invalid"
+ },
+ {
+ "value": "AlreadyExists"
+ }
+ ]
+ },
+ "readOnly": true
+ },
+ "message": {
+ "description": "Required if nameAvailable == false. Localized. If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that is already in use, and direct them to select a different name.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "TenantBackfillStatusResult": {
+ "description": "The tenant backfill status",
+ "properties": {
+ "tenantId": {
+ "type": "string",
+ "description": "The AAD Tenant ID associated with the management group. For example, 00000000-0000-0000-0000-000000000000",
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of the Tenant Backfill",
+ "type": "string",
+ "enum": [
+ "NotStarted",
+ "NotStartedButGroupsExist",
+ "Started",
+ "Failed",
+ "Cancelled",
+ "Completed"
+ ],
+ "x-ms-enum": {
+ "name": "Status",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "NotStarted"
+ },
+ {
+ "value": "NotStartedButGroupsExist"
+ },
+ {
+ "value": "Started"
+ },
+ {
+ "value": "Failed"
+ },
+ {
+ "value": "Cancelled"
+ },
+ {
+ "value": "Completed"
+ }
+ ]
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "ManagementGroupListResult": {
+ "description": "Describes the result of the request to list management groups.",
+ "properties": {
+ "value": {
+ "description": "The list of management groups.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagementGroupInfo"
+ }
+ },
+ "nextLink": {
+ "description": "The URL to use for getting the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ManagementGroupInfo": {
+ "description": "The management group resource.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fully qualified ID for the management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000",
+ "readOnly": true
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the resource. For example, Microsoft.Management/managementGroups",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the management group. For example, 00000000-0000-0000-0000-000000000000",
+ "readOnly": true
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "title": "Properties",
+ "$ref": "#/definitions/ManagementGroupInfoProperties"
+ }
+ }
+ },
+ "ManagementGroupInfoProperties": {
+ "description": "The generic properties of a management group.",
+ "type": "object",
+ "properties": {
+ "tenantId": {
+ "type": "string",
+ "description": "The AAD Tenant ID associated with the management group. For example, 00000000-0000-0000-0000-000000000000"
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The friendly name of the management group."
+ }
+ }
+ },
+ "ManagementGroup": {
+ "description": "The management group details.",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fully qualified ID for the management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000",
+ "readOnly": true
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the resource. For example, Microsoft.Management/managementGroups",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the management group. For example, 00000000-0000-0000-0000-000000000000",
+ "readOnly": true
+ },
+ "properties": {
+ "title": "Properties",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ManagementGroupProperties"
+ }
+ }
+ },
+ "ManagementGroupProperties": {
+ "description": "The generic properties of a management group.",
+ "type": "object",
+ "properties": {
+ "tenantId": {
+ "type": "string",
+ "description": "The AAD Tenant ID associated with the management group. For example, 00000000-0000-0000-0000-000000000000"
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The friendly name of the management group."
+ },
+ "roles": {
+ "description": "The role definitions associated with the management group.",
+ "type": "array",
+ "x-nullable": true,
+ "items": {
+ "type": "string"
+ }
+ },
+ "details": {
+ "title": "Details",
+ "$ref": "#/definitions/ManagementGroupDetails"
+ },
+ "children": {
+ "description": "The list of children.",
+ "x-nullable": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagementGroupChildInfo"
+ }
+ },
+ "path": {
+ "description": "The hierarchial path from the root group to the current group.",
+ "x-nullable": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagementGroupPathElement"
+ }
+ }
+ }
+ },
+ "ManagementGroupDetails": {
+ "description": "The details of a management group.",
+ "type": "object",
+ "properties": {
+ "version": {
+ "type": "number",
+ "format": "int32",
+ "description": "The version number of the object."
+ },
+ "updatedTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The date and time when this object was last updated."
+ },
+ "updatedBy": {
+ "type": "string",
+ "description": "The identity of the principal or process that updated the object."
+ },
+ "parent": {
+ "title": "Parent",
+ "$ref": "#/definitions/ParentGroupInfo"
+ }
+ }
+ },
+ "ManagementGroupChildInfo": {
+ "description": "The child information of a management group.",
+ "properties": {
+ "type": {
+ "title": "The type of child resource.",
+ "$ref": "#/definitions/ManagementGroupChildType",
+ "description": "The fully qualified resource type which includes provider namespace (e.g. Microsoft.Management/managementGroups)"
+ },
+ "id": {
+ "type": "string",
+ "description": "The fully qualified ID for the child resource (management group or subscription). For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000"
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the child entity."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The friendly name of the child resource."
+ },
+ "roles": {
+ "description": "The roles definitions associated with the management group.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "children": {
+ "description": "The list of children.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagementGroupChildInfo"
+ }
+ }
+ }
+ },
+ "ManagementGroupPathElement": {
+ "description": "A path element of a management group ancestors.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the group."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The friendly name of the group."
+ }
+ }
+ },
+ "ParentGroupInfo": {
+ "description": "(Optional) The ID of the parent management group.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000"
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the parent management group"
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The friendly name of the parent management group."
+ }
+ }
+ },
+ "ManagementGroupChildType": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Management/managementGroups",
+ "/subscriptions"
+ ],
+ "description": "The type of child resource."
+ },
+ "OperationResults": {
+ "description": "The results of an asynchronous operation.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fully qualified ID for the management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000",
+ "readOnly": true
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the resource. For example, Microsoft.Management/managementGroups",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the management group. For example, 00000000-0000-0000-0000-000000000000",
+ "readOnly": true
+ },
+ "status": {
+ "type": "string",
+ "description": "The current status of the operation",
+ "readOnly": true
+ }
+ }
+ },
+ "DescendantListResult": {
+ "description": "Describes the result of the request to view descendants.",
+ "properties": {
+ "value": {
+ "description": "The list of descendants.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DescendantInfo"
+ }
+ },
+ "nextLink": {
+ "description": "The URL to use for getting the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "DescendantInfo": {
+ "description": "The descendant.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fully qualified ID for the descendant. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000 or /subscriptions/0000000-0000-0000-0000-000000000000",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the resource. For example, Microsoft.Management/managementGroups or /subscriptions",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the descendant. For example, 00000000-0000-0000-0000-000000000000",
+ "readOnly": true
+ },
+ "properties": {
+ "title": "Properties",
+ "x-ms-client-flatten": true,
+ "x-nullable": true,
+ "$ref": "#/definitions/DescendantInfoProperties"
+ }
+ }
+ },
+ "DescendantInfoProperties": {
+ "description": "The generic properties of an descendant.",
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "type": "string",
+ "description": "The friendly name of the management group.",
+ "x-nullable": true
+ },
+ "parent": {
+ "title": "Parent",
+ "$ref": "#/definitions/DescendantParentGroupInfo",
+ "x-nullable": true
+ }
+ }
+ },
+ "DescendantParentGroupInfo": {
+ "description": "The ID of the parent management group.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000"
+ }
+ }
+ },
+ "EntityListResult": {
+ "description": "Describes the result of the request to view entities.",
+ "properties": {
+ "value": {
+ "description": "The list of entities.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EntityInfo"
+ }
+ },
+ "count": {
+ "description": "Total count of records that match the filter",
+ "type": "integer",
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "The URL to use for getting the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "EntityInfo": {
+ "description": "The entity.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fully qualified ID for the entity. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the resource. For example, Microsoft.Management/managementGroups",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the entity. For example, 00000000-0000-0000-0000-000000000000",
+ "readOnly": true
+ },
+ "properties": {
+ "title": "Properties",
+ "x-ms-client-flatten": true,
+ "x-nullable": true,
+ "$ref": "#/definitions/EntityInfoProperties"
+ }
+ }
+ },
+ "EntityInfoProperties": {
+ "description": "The generic properties of an entity.",
+ "type": "object",
+ "properties": {
+ "tenantId": {
+ "type": "string",
+ "description": "The AAD Tenant ID associated with the entity. For example, 00000000-0000-0000-0000-000000000000",
+ "x-nullable": true
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The friendly name of the management group.",
+ "x-nullable": true
+ },
+ "parent": {
+ "title": "Parent",
+ "$ref": "#/definitions/EntityParentGroupInfo",
+ "x-nullable": true
+ },
+ "permissions": {
+ "title": "Permissions",
+ "x-nullable": true,
+ "$ref": "#/definitions/Permissions"
+ },
+ "inheritedPermissions": {
+ "title": "Inherited Permissions",
+ "x-nullable": true,
+ "$ref": "#/definitions/Permissions"
+ },
+ "numberOfDescendants": {
+ "title": "Number of Descendants",
+ "type": "integer",
+ "x-nullable": true
+ },
+ "numberOfChildren": {
+ "title": "Number of Children",
+ "description": "Number of children is the number of Groups and Subscriptions that are exactly one level underneath the current Group.",
+ "type": "integer",
+ "x-nullable": true
+ },
+ "numberOfChildGroups": {
+ "title": "Number of Child Groups",
+ "description": "Number of children is the number of Groups that are exactly one level underneath the current Group.",
+ "type": "integer",
+ "x-nullable": true
+ },
+ "parentDisplayNameChain": {
+ "type": "array",
+ "description": "The parent display name chain from the root group to the immediate parent",
+ "x-nullable": true,
+ "items": {
+ "type": "string"
+ }
+ },
+ "parentNameChain": {
+ "type": "array",
+ "description": "The parent name chain from the root group to the immediate parent",
+ "x-nullable": true,
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "EntityParentGroupInfo": {
+ "description": "(Optional) The ID of the parent management group.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000"
+ }
+ }
+ },
+ "EntityHierarchyItem": {
+ "description": "The management group details for the hierarchy view.",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fully qualified ID for the management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000",
+ "readOnly": true
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the resource. For example, Microsoft.Management/managementGroups",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the management group. For example, 00000000-0000-0000-0000-000000000000",
+ "readOnly": true
+ },
+ "properties": {
+ "title": "Properties",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/EntityHierarchyItemProperties"
+ }
+ }
+ },
+ "EntityHierarchyItemProperties": {
+ "description": "The generic properties of a management group.",
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "type": "string",
+ "description": "The friendly name of the management group."
+ },
+ "permissions": {
+ "title": "Permissions",
+ "$ref": "#/definitions/Permissions"
+ },
+ "children": {
+ "type": "array",
+ "description": "The list of children.",
+ "x-nullable": true,
+ "items": {
+ "$ref": "#/definitions/EntityHierarchyItem"
+ }
+ }
+ }
+ },
+ "PatchManagementGroupRequest": {
+ "description": "Management group patch parameters.",
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "type": "string",
+ "description": "The friendly name of the management group.",
+ "x-nullable": true
+ },
+ "parentId": {
+ "type": "string",
+ "description": "(Optional) The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000",
+ "x-nullable": true
+ }
+ }
+ },
+ "CreateManagementGroupRequest": {
+ "description": "Management group creation parameters.",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fully qualified ID for the management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000",
+ "readOnly": true
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the resource. For example, Microsoft.Management/managementGroups",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the management group. For example, 00000000-0000-0000-0000-000000000000"
+ },
+ "properties": {
+ "title": "Properties",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/CreateManagementGroupProperties"
+ }
+ }
+ },
+ "CreateManagementGroupProperties": {
+ "description": "The generic properties of a management group used during creation.",
+ "type": "object",
+ "properties": {
+ "tenantId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The AAD Tenant ID associated with the management group. For example, 00000000-0000-0000-0000-000000000000"
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The friendly name of the management group. If no value is passed then this field will be set to the groupId.",
+ "x-nullable": true
+ },
+ "roles": {
+ "description": "The roles definitions associated with the management group.",
+ "readOnly": true,
+ "type": "array",
+ "x-nullable": true,
+ "items": {
+ "type": "string"
+ }
+ },
+ "details": {
+ "title": "Details",
+ "$ref": "#/definitions/CreateManagementGroupDetails"
+ },
+ "children": {
+ "description": "The list of children.",
+ "readOnly": true,
+ "x-nullable": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CreateManagementGroupChildInfo"
+ }
+ }
+ }
+ },
+ "CreateManagementGroupDetails": {
+ "description": "The details of a management group used during creation.",
+ "type": "object",
+ "properties": {
+ "version": {
+ "type": "number",
+ "readOnly": true,
+ "format": "int32",
+ "description": "The version number of the object."
+ },
+ "updatedTime": {
+ "type": "string",
+ "readOnly": true,
+ "format": "date-time",
+ "description": "The date and time when this object was last updated."
+ },
+ "updatedBy": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The identity of the principal or process that updated the object."
+ },
+ "parent": {
+ "title": "Parent",
+ "$ref": "#/definitions/CreateParentGroupInfo"
+ }
+ }
+ },
+ "CreateManagementGroupChildInfo": {
+ "description": "The child information of a management group used during creation.",
+ "properties": {
+ "type": {
+ "title": "The type of child resource.",
+ "readOnly": true,
+ "$ref": "#/definitions/ManagementGroupChildType",
+ "description": "The fully qualified resource type which includes provider namespace (e.g. Microsoft.Management/managementGroups)"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The fully qualified ID for the child resource (management group or subscription). For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the child entity."
+ },
+ "displayName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The friendly name of the child resource."
+ },
+ "roles": {
+ "description": "The roles definitions associated with the management group.",
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "children": {
+ "description": "The list of children.",
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CreateManagementGroupChildInfo"
+ }
+ }
+ }
+ },
+ "CreateParentGroupInfo": {
+ "description": "(Optional) The ID of the parent management group used during creation.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of the parent management group"
+ },
+ "displayName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The friendly name of the parent management group."
+ }
+ }
+ },
+ "Permissions": {
+ "type": "string",
+ "enum": [
+ "noaccess",
+ "view",
+ "edit",
+ "delete"
+ ],
+ "description": "The users specific permissions to this item."
+ },
+ "CheckNameAvailabilityRequest": {
+ "description": "Management group name availability check parameters.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "the name to check for availability"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.Management/managementGroups"
+ ],
+ "x-ms-enum": {
+ "name": "Type",
+ "modelAsString": false,
+ "values": [
+ {
+ "value": "Microsoft.Management/managementGroups"
+ }
+ ]
+ },
+ "description": "fully qualified resource type which includes provider namespace"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "GroupIdParameter": {
+ "name": "groupId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Management Group ID.",
+ "x-ms-parameter-location": "method"
+ },
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Subscription ID.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Version of the API to be used with the client request. The current version is 2018-01-01-preview."
+ },
+ "ExpandParameter": {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "enum": [
+ "children",
+ "path"
+ ],
+ "x-ms-parameter-location": "method",
+ "description": "The $expand=children query string parameter allows clients to request inclusion of children in the response payload. $expand=path includes the path from the root group to the current group."
+ },
+ "RecurseParameter": {
+ "name": "$recurse",
+ "in": "query",
+ "required": false,
+ "type": "boolean",
+ "x-ms-parameter-location": "method",
+ "description": "The $recurse=true query string parameter allows clients to request inclusion of entire hierarchy in the response payload. Note that $expand=children must be passed up if $recurse is set to true."
+ },
+ "CreateManagementGroupRequestParameter": {
+ "name": "createManagementGroupRequest",
+ "in": "body",
+ "required": true,
+ "description": "Management group creation parameters.",
+ "schema": {
+ "$ref": "#/definitions/CreateManagementGroupRequest"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "PatchGroupRequestParameter": {
+ "name": "patchGroupRequest",
+ "in": "body",
+ "required": true,
+ "description": "Management group patch parameters.",
+ "schema": {
+ "$ref": "#/definitions/PatchManagementGroupRequest"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "FilterParameter": {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "description": "A filter which allows the exclusion of subscriptions from results (i.e. '$filter=children.childType ne Subscription')",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "EntityFilterParameter": {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "description": "The filter parameter allows you to filter on the the name or display name fields. You can check for equality on the name field (e.g. name eq '{entityName}') and you can check for substrings on either the name or display name fields(e.g. contains(name, '{substringToSearch}'), contains(displayName, '{substringToSearch')). Note that the '{entityName}' and '{substringToSearch}' fields are checked case insensitively.",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "SelectParameter": {
+ "name": "$select",
+ "in": "query",
+ "required": false,
+ "description": "This parameter specifies the fields to include in the response. Can include any combination of Name,DisplayName,Type,ParentDisplayNameChain,ParentChain, e.g. '$select=Name,DisplayName,Type,ParentDisplayNameChain,ParentNameChain'. When specified the $select parameter can override select in $skipToken.",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "SearchParameter": {
+ "name": "$search",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "enum": [
+ "AllowedParents",
+ "AllowedChildren",
+ "ParentAndFirstLevelChildren",
+ "ParentOnly",
+ "ChildrenOnly"
+ ],
+ "x-ms-parameter-location": "method",
+ "description": "The $search parameter is used in conjunction with the $filter parameter to return three different outputs depending on the parameter passed in. With $search=AllowedParents the API will return the entity info of all groups that the requested entity will be able to reparent to as determined by the user's permissions.With $search=AllowedChildren the API will return the entity info of all entities that can be added as children of the requested entity.With $search=ParentAndFirstLevelChildren the API will return the parent and first level of children that the user has either direct access to or indirect access via one of their descendants.With $search=ParentOnly the API will return only the group if the user has access to at least one of the descendants of the group.With $search=ChildrenOnly the API will return only the first level of children of the group entity info specified in $filter. The user must have direct access to the children entities or one of it's descendants for it to show up in the results."
+ },
+ "GroupNameParameter": {
+ "name": "groupName",
+ "in": "query",
+ "required": false,
+ "description": "A filter which allows the get entities call to focus on a particular group (i.e. \"$filter=name eq 'groupName'\")",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "OperationResultIdParameter": {
+ "name": "operationResultId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "create",
+ "delete"
+ ],
+ "description": "The id of the operation result.",
+ "x-ms-parameter-location": "method"
+ },
+ "CheckNameAvailabilityParameter": {
+ "name": "checkNameAvailabilityRequest",
+ "in": "body",
+ "required": true,
+ "description": "Management group name availability check parameters.",
+ "schema": {
+ "$ref": "#/definitions/CheckNameAvailabilityRequest"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "SkipParameter": {
+ "name": "$skip",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "description": "Number of entities to skip over when retrieving results. Passing this in will override $skipToken.",
+ "x-ms-parameter-location": "method"
+ },
+ "TopParameter": {
+ "name": "$top",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "description": "Number of elements to return when retrieving results. Passing this in will override $skipToken.",
+ "x-ms-parameter-location": "method"
+ },
+ "SkipTokenParameter": {
+ "name": "$skiptoken",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Page continuation token is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a token parameter that specifies a starting point to use for subsequent calls.",
+ "x-ms-parameter-location": "method"
+ },
+ "CacheControlHeader": {
+ "name": "Cache-Control",
+ "in": "header",
+ "default": "no-cache",
+ "description": "Indicates that the request shouldn't utilize any caches.",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "EntityViewParameter": {
+ "name": "$view",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "enum": [
+ "FullHierarchy",
+ "GroupsOnly",
+ "SubscriptionsOnly",
+ "Audit"
+ ],
+ "x-ms-parameter-location": "method",
+ "description": "The view parameter allows clients to filter the type of data that is returned by the getEntities call."
+ }
+ }
+}
diff --git a/specification/managementgroups/resource-manager/readme.go.md b/specification/managementgroups/resource-manager/readme.go.md
index c3b2843170a6..b39d9b2ccfc1 100644
--- a/specification/managementgroups/resource-manager/readme.go.md
+++ b/specification/managementgroups/resource-manager/readme.go.md
@@ -13,11 +13,20 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-2019-11
- tag: package-2018-03
- tag: package-2018-01
- tag: package-2017-11
- tag: package-2017-08
```
+### Tag: package-2019-11 and go
+
+These settings apply only when `--tag=package-2019-11 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag)=='package-2019-11' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/resources/mgmt/2019-11-01/$(namespace)
+```
### Tag: package-2018-03 and go
diff --git a/specification/managementgroups/resource-manager/readme.md b/specification/managementgroups/resource-manager/readme.md
index c8b28e279208..359695603332 100644
--- a/specification/managementgroups/resource-manager/readme.md
+++ b/specification/managementgroups/resource-manager/readme.md
@@ -24,8 +24,17 @@ These are the global settings for the API.
``` yaml
openapi-type: arm
-tag: package-2018-03
+tag: package-2019-11
```
+
+### Tag: package-2019-11
+These settings apply only when `--tag=package-2019-11` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-11'
+input-file:
+ - Microsoft.Management/stable/2019-11-01/management.json
+```
+
### Tag: package-2018-03
These settings apply only when `--tag=package-2018-03` is specified on the command line.
@@ -144,6 +153,7 @@ batch:
- tag: package-2017-11
- tag: package-2018-01
- tag: package-2018-03
+ - tag: package-2019-11
```
### Tag: package-2017-08 and java
@@ -197,6 +207,18 @@ java:
regenerate-manager: true
generate-interface: true
```
+### Tag: package-2019-11 and java
+
+These settings apply only when `--tag=package-2019-11 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2019-11' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.managementgroups.v2019_11_01
+ output-folder: $(azure-libraries-for-java-folder)/managementgroups/resource-manager/v2019_11_01
+regenerate-manager: true
+generate-interface: true
+```
From 8882b476fcb68582e3d3e1e8fcdb7064c26c9761 Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Thu, 31 Oct 2019 20:53:12 +0000
Subject: [PATCH 120/189] regenerated all-api-versions
---
specification/managementgroups/resource-manager/readme.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/specification/managementgroups/resource-manager/readme.md b/specification/managementgroups/resource-manager/readme.md
index 359695603332..52fd23937dd1 100644
--- a/specification/managementgroups/resource-manager/readme.md
+++ b/specification/managementgroups/resource-manager/readme.md
@@ -234,6 +234,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.Management/stable/2019-11-01/management.json
- $(this-folder)/Microsoft.Management/preview/2018-03-01-preview/management.json
- $(this-folder)/Microsoft.Management/preview/2018-01-01-preview/management.json
- $(this-folder)/Microsoft.Management/preview/2017-11-01-preview/management.json
From ba33854555a73e2e7bd4f5d2b885e3d7169758f5 Mon Sep 17 00:00:00 2001
From: Sarangan Rajamanickam
Date: Thu, 31 Oct 2019 15:25:47 -0700
Subject: [PATCH 121/189] Fix issue with CloudError in Storage Cache (#7684)
---
.../preview/2019-08-01-preview/storagecache.json | 1 +
.../Microsoft.StorageCache/stable/2019-11-01/storagecache.json | 1 +
2 files changed, 2 insertions(+)
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json
index 22fa8da92cd9..94ff428c7002 100644
--- a/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2019-08-01-preview/storagecache.json
@@ -1105,6 +1105,7 @@
"type": "object"
},
"CloudError": {
+ "x-ms-external": true,
"description": "An error response.",
"properties": {
"error": {
diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/storagecache.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/storagecache.json
index c2be5dd6a877..30bed164d751 100644
--- a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/storagecache.json
+++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/storagecache.json
@@ -1050,6 +1050,7 @@
"type": "object"
},
"CloudError": {
+ "x-ms-external": true,
"description": "An error response.",
"properties": {
"error": {
From e0ad5cf9c545509d6704f638e484cba25fd1e6d8 Mon Sep 17 00:00:00 2001
From: vrushg-ms <54859794+vrushg-ms@users.noreply.github.com>
Date: Thu, 31 Oct 2019 18:36:50 -0700
Subject: [PATCH 122/189] [Ready-To-Merge]Dev mlservices 2019 11 01 - private
repo pr Azure/azure-rest-api-specs-pr#902 (#7267)
---
.../2019-10-01/examples/CreateWorkspace.json | 49 +
.../2019-10-01/examples/DeleteWorkspace.json | 12 +
.../2019-10-01/examples/GetWorkspace.json | 35 +
.../examples/ListWorkspaceKeys.json | 16 +
.../examples/ListWorkspaceResourceGroup.json | 55 +
.../2019-10-01/examples/ListWorkspaces.json | 54 +
.../examples/ResyncStorageKeys.json | 11 +
.../2019-10-01/examples/UpdateWorkspace.json | 47 +
.../stable/2019-10-01/workspaces.json | 722 +++++
.../resource-manager/readme.go.md | 13 +-
.../resource-manager/readme.md | 35 +-
.../stable/2019-11-01/examples/ListSkus.json | 79 +
.../2019-11-01/examples/ListUsages.json | 400 +++
.../examples/ListVMSizesResult.json | 455 +++
.../examples/ListWorkspaceFeatures.json | 26 +
.../ListWorkspaceQuotasByVMFamily.json | 415 +++
.../examples/amlComputeListNodes.json | 34 +
.../examples/createBasicAKSCompute.json | 44 +
.../examples/createBasicAmlCompute.json | 54 +
.../createBasicDataFactoryCompute.json | 44 +
.../2019-11-01/examples/createWorkspace.json | 69 +
.../2019-11-01/examples/deleteCompute.json | 19 +
.../2019-11-01/examples/deleteWorkspace.json | 12 +
.../2019-11-01/examples/getAKSCompute.json | 25 +
.../2019-11-01/examples/getAmlCompute.json | 49 +
.../2019-11-01/examples/getComputes.json | 41 +
.../2019-11-01/examples/getWorkspace.json | 32 +
.../getWorkspacesByResourceGroup.json | 56 +
.../examples/getWorkspacesBySubscription.json | 55 +
.../examples/listKeysAKSCompute.json | 19 +
.../examples/listWorkspaceKeys.json | 31 +
.../2019-11-01/examples/patchAmlCompute.json | 36 +
.../examples/resyncWorkspaceKeys.json | 11 +
.../2019-11-01/examples/updateAKSCompute.json | 54 +
.../2019-11-01/examples/updateAmlCompute.json | 57 +
.../2019-11-01/examples/updateQuota.json | 45 +
.../2019-11-01/examples/updateWorkspace.json | 42 +
.../2019-11-01/machineLearningServices.json | 2861 +++++++++++++++++
.../resource-manager/readme.go.md | 11 +
.../resource-manager/readme.md | 45 +-
40 files changed, 6154 insertions(+), 16 deletions(-)
create mode 100644 specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/CreateWorkspace.json
create mode 100644 specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/DeleteWorkspace.json
create mode 100644 specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/GetWorkspace.json
create mode 100644 specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ListWorkspaceKeys.json
create mode 100644 specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ListWorkspaceResourceGroup.json
create mode 100644 specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ListWorkspaces.json
create mode 100644 specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ResyncStorageKeys.json
create mode 100644 specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/UpdateWorkspace.json
create mode 100644 specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/workspaces.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListSkus.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListUsages.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListVMSizesResult.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListWorkspaceFeatures.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListWorkspaceQuotasByVMFamily.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/amlComputeListNodes.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createBasicAKSCompute.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createBasicAmlCompute.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createBasicDataFactoryCompute.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createWorkspace.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/deleteCompute.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/deleteWorkspace.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getAKSCompute.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getAmlCompute.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getComputes.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspace.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspacesByResourceGroup.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspacesBySubscription.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/listKeysAKSCompute.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/listWorkspaceKeys.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/patchAmlCompute.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/resyncWorkspaceKeys.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/updateAKSCompute.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/updateAmlCompute.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/updateQuota.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/updateWorkspace.json
create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/machineLearningServices.json
diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/CreateWorkspace.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/CreateWorkspace.json
new file mode 100644
index 000000000000..5385d4b1e2bb
--- /dev/null
+++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/CreateWorkspace.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "workspaceName": "testworkspace",
+ "parameters": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "West Europe",
+ "sku": {
+ "name": "Enterprise",
+ "tier": "Enterprise"
+ },
+ "properties": {
+ "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage",
+ "ownerEmail": "abc@microsoft.com"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearning/workspaces",
+ "location": "East US",
+ "sku": {
+ "name": "Enterprise",
+ "tier": "Enterprise"
+ },
+ "properties": {
+ "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage",
+ "ownerEmail": "abc@microsoft.com",
+ "workspaceType": "PaidStandard",
+ "workspaceState": "Enabled",
+ "workspaceId": "00000000-1111-2222-3333-444444444444",
+ "studioEndpoint": "https://studioapi.azureml.net",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "keyVaultIdentifierId": "kvid"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/DeleteWorkspace.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/DeleteWorkspace.json
new file mode 100644
index 000000000000..7496acfbd6ce
--- /dev/null
+++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/DeleteWorkspace.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "workspaceName": "testworkspace"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/GetWorkspace.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/GetWorkspace.json
new file mode 100644
index 000000000000..48153a312214
--- /dev/null
+++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/GetWorkspace.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "workspaceName": "testworkspace"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearning/workspaces",
+ "location": "East US",
+ "sku": {
+ "name": "Enterprise",
+ "tier": "Enterprise"
+ },
+ "properties": {
+ "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage",
+ "ownerEmail": "abc@microsoft.com",
+ "workspaceType": "PaidStandard",
+ "workspaceState": "Enabled",
+ "workspaceId": "00000000-1111-2222-3333-444444444444",
+ "studioEndpoint": "https://studioapi.azureml.net",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "keyVaultIdentifierId": "kvid"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ListWorkspaceKeys.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ListWorkspaceKeys.json
new file mode 100644
index 000000000000..6ce5019c7d22
--- /dev/null
+++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ListWorkspaceKeys.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "workspaceName": "testworkspace"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "primaryToken": "cZdmqKBYLEPcPo7dsfdfefeSlKpnxybJ86KSQGLarmLik2MYMxHijwsDIZ+d1mGtYJz3mlI5AEnxu8QqHcUjSA==",
+ "secondaryToken": "NPtbk8ksmLvsasasonFeTjw/k7QLz/SEdKN8+SyzKRcPzOVTQcR6C0O1fwmlELnCsYLjs+13yzdJ+4+Lxo3LtZ2g=="
+ }
+ }
+ }
+}
diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ListWorkspaceResourceGroup.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ListWorkspaceResourceGroup.json
new file mode 100644
index 000000000000..b1314b5dad30
--- /dev/null
+++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ListWorkspaceResourceGroup.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-10-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearning/workspaces",
+ "location": "East US",
+ "sku": {
+ "name": "Enterprise",
+ "tier": "Enterprise"
+ },
+ "properties": {
+ "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage1",
+ "ownerEmail": "abc@microsoft.com",
+ "workspaceType": "PaidStandard",
+ "workspaceState": "Enabled",
+ "workspaceId": "00000000-1111-2222-3333-444444444444",
+ "studioEndpoint": "https://studioapi.azureml.net",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "keyVaultIdentifierId": "kvid"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace1",
+ "name": "testworkspace1",
+ "type": "Microsoft.MachineLearning/workspaces",
+ "location": "East US",
+ "sku": {
+ "name": "Basic",
+ "tier": "Basic"
+ },
+ "properties": {
+ "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage1",
+ "ownerEmail": "abc@microsoft.com",
+ "workspaceType": "PaidStandard",
+ "workspaceState": "Enabled",
+ "workspaceId": "00000000-1111-2222-3333-444444444444",
+ "studioEndpoint": "https://studioapi.azureml.net",
+ "creationTime": "2017-03-01T23:16:37.0707808Z",
+ "keyVaultIdentifierId": "kvid"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ListWorkspaces.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ListWorkspaces.json
new file mode 100644
index 000000000000..9b4db2d27636
--- /dev/null
+++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ListWorkspaces.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "api-version": "2019-10-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearning/workspaces",
+ "location": "East US",
+ "sku": {
+ "name": "Enterprise",
+ "tier": "Enterprise"
+ },
+ "properties": {
+ "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage1",
+ "ownerEmail": "abc@microsoft.com",
+ "workspaceType": "PaidStandard",
+ "workspaceState": "Enabled",
+ "workspaceId": "00000000-1111-2222-3333-444444444444",
+ "studioEndpoint": "https://studioapi.azureml.net",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "keyVaultIdentifierId": "kvid"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace1",
+ "name": "testworkspace1",
+ "type": "Microsoft.MachineLearning/workspaces",
+ "location": "East US",
+ "sku": {
+ "name": "Basic",
+ "tier": "Basic"
+ },
+ "properties": {
+ "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage1",
+ "ownerEmail": "abc@microsoft.com",
+ "workspaceType": "PaidStandard",
+ "workspaceState": "Enabled",
+ "workspaceId": "00000000-1111-2222-3333-444444444444",
+ "studioEndpoint": "https://studioapi.azureml.net",
+ "creationTime": "2017-03-01T23:16:37.0707808Z",
+ "keyVaultIdentifierId": "kvid"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ResyncStorageKeys.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ResyncStorageKeys.json
new file mode 100644
index 000000000000..b40d77ada0fa
--- /dev/null
+++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ResyncStorageKeys.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "workspaceName": "testworkspace"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/UpdateWorkspace.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/UpdateWorkspace.json
new file mode 100644
index 000000000000..5b9e50d1d01a
--- /dev/null
+++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/UpdateWorkspace.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "workspaceName": "testworkspace",
+ "parameters": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "properties": {
+ "keyVaultIdentifierId": "kvidnew",
+ "sku": {
+ "name": "Enterprise",
+ "tier": "Enterprise"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.MachineLearning/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearning/workspaces",
+ "location": "East US",
+ "sku": {
+ "name": "Enterprise",
+ "tier": "Enterprise"
+ },
+ "properties": {
+ "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage",
+ "ownerEmail": "abc@microsoft.com",
+ "workspaceType": "PaidStandard",
+ "workspaceState": "Enabled",
+ "workspaceId": "00000000-1111-2222-3333-444444444444",
+ "studioEndpoint": "https://studioapi.azureml.net",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "keyVaultIdentifierId": "kvidnew"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/workspaces.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/workspaces.json
new file mode 100644
index 000000000000..116846b48bf4
--- /dev/null
+++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/workspaces.json
@@ -0,0 +1,722 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Machine Learning Workspaces Management Client",
+ "description": "These APIs allow end users to operate on Azure Machine Learning Workspace resources. They support CRUD operations for Azure Machine Learning Workspaces.",
+ "version": "2019-10-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.MachineLearning/operations": {
+ "get": {
+ "tags": [
+ "Operation"
+ ],
+ "description": "Lists all of the available Azure Machine Learning Studio REST API operations.",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}": {
+ "get": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Gets the properties of the specified machine learning workspace.",
+ "operationId": "Workspaces_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "x-ms-examples": {
+ "WorkspaceGet": {
+ "$ref": "./examples/GetWorkspace.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Creates or updates a workspace with the specified parameters.",
+ "operationId": "Workspaces_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The parameters for creating or updating a machine learning workspace.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ }
+ ],
+ "x-ms-examples": {
+ "WorkspaceCreate": {
+ "$ref": "./examples/CreateWorkspace.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The request was successful; the resource already exists and was updated.",
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Deletes a machine learning workspace.",
+ "operationId": "Workspaces_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "x-ms-examples": {
+ "WorkspaceDelete": {
+ "$ref": "./examples/DeleteWorkspace.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly."
+ },
+ "204": {
+ "description": "The machine learning workspace does not exist in the subscription."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Updates a machine learning workspace with the specified parameters.",
+ "operationId": "Workspaces_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The parameters for updating a machine learning workspace.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/WorkspaceUpdateParameters"
+ }
+ }
+ ],
+ "x-ms-examples": {
+ "WorkspaceUpdate": {
+ "$ref": "./examples/UpdateWorkspace.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}/resyncStorageKeys": {
+ "post": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Resync storage keys associated with this workspace.",
+ "operationId": "Workspaces_ResyncStorageKeys",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ }
+ ],
+ "x-ms-examples": {
+ "ResyncStorageKeys": {
+ "$ref": "./examples/ResyncStorageKeys.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces/{workspaceName}/listWorkspaceKeys": {
+ "post": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "List the authorization keys associated with this workspace.",
+ "operationId": "Workspaces_ListWorkspaceKeys",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ }
+ ],
+ "x-ms-examples": {
+ "ListWorkspaceKeys": {
+ "$ref": "./examples/ListWorkspaceKeys.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/WorkspaceKeysResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/workspaces": {
+ "get": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Lists all the available machine learning workspaces under the specified resource group.",
+ "operationId": "Workspaces_ListByResourceGroup",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ }
+ ],
+ "x-ms-examples": {
+ "WorkspaceListResourceGroup": {
+ "$ref": "./examples/ListWorkspaceResourceGroup.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/WorkspaceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/workspaces": {
+ "get": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Lists all the available machine learning workspaces under the specified subscription.",
+ "operationId": "Workspaces_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "x-ms-examples": {
+ "WorkspaceGetBySubscription": {
+ "$ref": "./examples/ListWorkspaces.json"
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/WorkspaceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ErrorResponse": {
+ "description": "The error response send when an operation fails.",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "error code"
+ },
+ "message": {
+ "type": "string",
+ "description": "error message"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ]
+ },
+ "Workspace": {
+ "type": "object",
+ "description": "An object that represents a machine learning workspace.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/WorkspaceProperties",
+ "description": "The properties of the machine learning workspace.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "WorkspaceProperties": {
+ "type": "object",
+ "description": "The properties of a machine learning workspace.",
+ "required": [
+ "userStorageAccountId",
+ "ownerEmail"
+ ],
+ "properties": {
+ "userStorageAccountId": {
+ "description": "The fully qualified arm id of the storage account associated with this workspace.",
+ "type": "string"
+ },
+ "ownerEmail": {
+ "description": "The email id of the owner for this workspace.",
+ "type": "string"
+ },
+ "workspaceType": {
+ "type": "string",
+ "enum": [
+ "Production",
+ "Free",
+ "Anonymous",
+ "PaidStandard",
+ "PaidPremium"
+ ],
+ "x-ms-enum": {
+ "name": "WorkspaceType",
+ "modelAsString": false
+ },
+ "readOnly": true,
+ "description": "The type of this workspace."
+ },
+ "workspaceState": {
+ "type": "string",
+ "enum": [
+ "Deleted",
+ "Enabled",
+ "Disabled",
+ "Migrated",
+ "Updated",
+ "Registered",
+ "Unregistered"
+ ],
+ "x-ms-enum": {
+ "name": "WorkspaceState",
+ "modelAsString": false
+ },
+ "readOnly": true,
+ "description": "The current state of workspace resource."
+ },
+ "workspaceId": {
+ "description": "The immutable id associated with this workspace.",
+ "type": "string",
+ "readOnly": true
+ },
+ "creationTime": {
+ "description": "The creation time for this workspace resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "studioEndpoint": {
+ "description": "The regional endpoint for the machine learning studio service which hosts this workspace.",
+ "type": "string",
+ "readOnly": true
+ },
+ "keyVaultIdentifierId": {
+ "description": "The key vault identifier used for encrypted workspaces.",
+ "type": "string"
+ }
+ }
+ },
+ "WorkspaceUpdateParameters": {
+ "description": "The parameters for updating a machine learning workspace.",
+ "properties": {
+ "tags": {
+ "description": "The resource tags for the machine learning workspace.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "properties": {
+ "$ref": "#/definitions/WorkspacePropertiesUpdateParameters",
+ "description": "The properties that the machine learning workspace will be updated with.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "WorkspacePropertiesUpdateParameters": {
+ "description": "The parameters for updating the properties of a machine learning workspace.",
+ "properties": {
+ "workspaceState": {
+ "type": "string",
+ "enum": [
+ "Deleted",
+ "Enabled",
+ "Disabled",
+ "Migrated",
+ "Updated",
+ "Registered",
+ "Unregistered"
+ ],
+ "x-ms-enum": {
+ "name": "WorkspaceState",
+ "modelAsString": false
+ },
+ "description": "The current state of workspace resource."
+ },
+ "keyVaultIdentifierId": {
+ "description": "The key vault identifier used for encrypted workspaces.",
+ "type": "string"
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "The sku of the workspace."
+ }
+ }
+ },
+ "WorkspaceKeysResponse": {
+ "type": "object",
+ "description": "Workspace authorization keys for a workspace.",
+ "properties": {
+ "primaryToken": {
+ "type": "string",
+ "description": "Primary authorization key for this workspace."
+ },
+ "secondaryToken": {
+ "type": "string",
+ "description": "Secondary authorization key for this workspace."
+ }
+ }
+ },
+ "WorkspaceListResult": {
+ "description": "The result of a request to list machine learning workspace keys.",
+ "properties": {
+ "value": {
+ "description": "The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "nextLink": {
+ "description": "The URI that can be used to request the next list of machine learning workspaces.",
+ "type": "string"
+ }
+ }
+ },
+ "Operation": {
+ "description": "Azure Machine Learning Studio REST API operation",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}",
+ "type": "string"
+ },
+ "display": {
+ "description": "Display name of operation",
+ "properties": {
+ "provider": {
+ "description": "The resource provider name: Microsoft.MachineLearning",
+ "type": "string"
+ },
+ "resource": {
+ "description": "The resource on which the operation is performed.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "The operation that users can perform.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The description for the operation.",
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "OperationListResult": {
+ "description": "An array of operations supported by the resource provider.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of AML Studio operations supported by the AML Studio resource provider."
+ }
+ }
+ },
+ "Resource": {
+ "description": "An Azure resource.",
+ "required": [
+ "location"
+ ],
+ "properties": {
+ "id": {
+ "description": "The resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "The name of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "The type of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "location": {
+ "description": "The location of the resource. This cannot be changed after the resource is created.",
+ "type": "string"
+ },
+ "tags": {
+ "description": "The tags of the resource.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "The sku of the workspace."
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "Sku": {
+ "description": "Sku of the resource",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the sku",
+ "type": "string"
+ },
+ "tier": {
+ "description": "Tier of the sku like Basic or Enterprise",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The Microsoft Azure subscription ID.",
+ "required": true,
+ "type": "string"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The client API version.",
+ "required": true,
+ "type": "string"
+ },
+ "ResourceGroupParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group to which the machine learning workspace belongs.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "WorkspaceNameParameter": {
+ "name": "workspaceName",
+ "in": "path",
+ "description": "The name of the machine learning workspace.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/machinelearning/resource-manager/readme.go.md b/specification/machinelearning/resource-manager/readme.go.md
index 3c623e0b8bd6..0997e567ae12 100644
--- a/specification/machinelearning/resource-manager/readme.go.md
+++ b/specification/machinelearning/resource-manager/readme.go.md
@@ -15,6 +15,7 @@ batch:
- tag: package-webservices-2017-01
- tag: package-webservices-2016-05-preview
- tag: package-workspaces-2016-04
+ - tag: package-workspaces-2019-10
- tag: package-commitmentPlans-2016-05-preview
```
@@ -48,6 +49,16 @@ namespace: workspaces
output-folder: $(go-sdk-folder)/services/machinelearning/mgmt/2016-04-01/workspaces
```
+### Tag: package-workspaces-2019-10 and go
+
+These settings apply only when `--tag=package-workspaces-2019-10 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-workspaces-2019-10' && $(go)
+namespace: workspaces
+output-folder: $(go-sdk-folder)/services/machinelearning/mgmt/2019-10-01/workspaces
+```
+
### Tag: package-commitmentPlans-2016-05-preview and go
These settings apply only when `--tag=package-commitmentPlans-2016-05-preview --go` is specified on the command line.
@@ -56,4 +67,4 @@ Please also specify `--go-sdk-folder=`.
-## Multi-API/Profile support for AutoRest v3 generators
+``` yaml $(tag) == 'package-workspaces-2019-10' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.machinelearning.v2019_10_01
+ output-folder: $(azure-libraries-for-java-folder)/machinelearning/resource-manager/v2019_10_01
+regenerate-manager: true
+generate-interface: true
+```
+
+
+
+## Multi-API/Profile support for AutoRest v3 generators
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
@@ -239,15 +266,15 @@ input-file:
- $(this-folder)/Microsoft.MachineLearning/stable/2017-01-01/webservices.json
- $(this-folder)/Microsoft.MachineLearning/preview/2016-05-01-preview/commitmentPlans.json
- $(this-folder)/Microsoft.MachineLearning/stable/2016-04-01/workspaces.json
+ - $(this-folder)/Microsoft.MachineLearning/stable/2019-10-01/workspaces.json
- $(this-folder)/Microsoft.MachineLearning/preview/2016-05-01-preview/webservices.json
```
-If there are files that should not be in the `all-api-versions` set,
+If there are files that should not be in the `all-api-versions` set,
uncomment the `exclude-file` section below and add the file paths.
``` yaml $(tag) == 'all-api-versions'
-#exclude-file:
+#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```
-
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListSkus.json
new file mode 100644
index 000000000000..93b612a8e991
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListSkus.json
@@ -0,0 +1,79 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "{subscription-id}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "resourceType": "workspaces",
+ "name": "Basic",
+ "tier": "Basic",
+ "locations": [
+ "westus"
+ ],
+ "locationInfo": [
+ {
+ "location": "westus",
+ "zones": [
+ "westus-AZ02",
+ "westus-AZ01"
+ ]
+ }
+ ],
+ "capabilities": [
+ {
+ "name": "automatedml_readhyperdrivesdk",
+ "value": "{\n \"id\": \"automatedml_ readhyperdrivesdk\",\n \"name\": \"Read hyperdrive SDK\",\n \"description\": \"Read only access to Hyperdrive in the SDK\"\n}"
+ },
+ {
+ "name": "workspace_upgradeworkspacesdk",
+ "value": "{\n \"id\": \"workspace_upgradeworkspacesdk\",\n \"name\": \"Upgrade workspace SDK\",\n \"description\": \"Upgrade workspace from Basic to enterprise from the SDK\"\n}"
+ }
+ ],
+ "restrictions": []
+ },
+ {
+ "resourceType": "workspaces",
+ "name": "Enterprise",
+ "tier": "Enterprise",
+ "locations": [
+ "westus"
+ ],
+ "locationInfo": [
+ {
+ "location": "westus",
+ "zones": [
+ "westus-AZ01"
+ ],
+ "zoneDetails": [
+ {
+ "name": [
+ "westus-AZ01"
+ ],
+ "capabilities": [
+ {
+ "name": "automatedml_createeditexperimentssdk",
+ "value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "capabilities": [
+ {
+ "name": "automatedml_createeditexperimentssdk",
+ "value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}"
+ }
+ ],
+ "restrictions": []
+ }
+ ],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListUsages.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListUsages.json
new file mode 100644
index 000000000000..3a2950da1ab0
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListUsages.json
@@ -0,0 +1,400 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "location": "eastus",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages",
+ "type": "Microsoft.MachineLearningServices/totalCores/usages",
+ "currentValue": 7,
+ "limit": 100,
+ "name": {
+ "localizedValue": "Clusters",
+ "value": "Clusters"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages",
+ "type": "Microsoft.MachineLearningServices/dedicatedCores/usages",
+ "currentValue": 14,
+ "limit": 24,
+ "name": {
+ "localizedValue": "Total Cluster Dedicated Regional vCPUs",
+ "value": "Total Cluster Dedicated Regional vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 48,
+ "name": {
+ "localizedValue": "Standard D Family Cluster Dedicated vCPUs",
+ "value": "Standard D Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 2,
+ "limit": 24,
+ "name": {
+ "value": "Standard DSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/usages",
+ "currentValue": 2,
+ "limit": 24,
+ "name": {
+ "value": "Standard DSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/computes/demo_cluster1_dsv2/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes/usages",
+ "currentValue": 2,
+ "limit": 24,
+ "name": {
+ "value": "Standard DSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/computes/demo_cluster2_dsv2/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes/usages",
+ "currentValue": 0,
+ "limit": 24,
+ "name": {
+ "value": "Standard DSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 24,
+ "name": {
+ "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs",
+ "value": "Standard Dv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 24,
+ "name": {
+ "value": "Standard FSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 12,
+ "limit": 24,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs",
+ "value": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspace/usages",
+ "currentValue": 6,
+ "limit": 24,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs",
+ "value": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/computes/demo_cluster1_nc/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspace/computes/usages",
+ "currentValue": 6,
+ "limit": 24,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs",
+ "value": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/usages",
+ "currentValue": 6,
+ "limit": 24,
+ "name": {
+ "value": "Standard NC Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/computes/demo_cluser1_nc/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes/usages",
+ "currentValue": 6,
+ "limit": 24,
+ "name": {
+ "value": "Standard NC Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 0,
+ "name": {
+ "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs",
+ "value": "Standard NCv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 0,
+ "name": {
+ "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs",
+ "value": "Standard NCv3 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 0,
+ "name": {
+ "localizedValue": "Standard ND Family Cluster Dedicated vCPUs",
+ "value": "Standard ND Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 0,
+ "name": {
+ "value": "Standard NDv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 24,
+ "name": {
+ "localizedValue": "Standard NV Family Cluster Dedicated vCPUs",
+ "value": "Standard NV Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages",
+ "type": "Microsoft.MachineLearningServices/lowPriorityCores/usages",
+ "currentValue": 18,
+ "limit": 50,
+ "name": {
+ "localizedValue": "Total Cluster LowPriority Regional vCPUs",
+ "value": "Total Cluster LowPriority Regional vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "value": "Standard D Family Cluster LowPriority vCPUs",
+ "localizedValue": "Standard D Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard DSv2 Family Cluster LowPriority vCPUs",
+ "value": "Standard DSv2 Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard Dv2 Family Cluster LowPriority vCPUs",
+ "value": "Standard Dv2 Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard FSv2 Family Cluster LowPriority vCPUs",
+ "value": "Standard FSv2 Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 18,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
+ "value": "Standard NC Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspace/usages",
+ "currentValue": 6,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
+ "value": "Standard NC Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/computes/demo_cluster1_lowPriority_nc/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspace/computes/usages",
+ "currentValue": 6,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
+ "value": "Standard NC Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspace/usages",
+ "currentValue": 12,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
+ "value": "Standard NC Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/computes/demo_cluster2_lowPriority_nc/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspace/computes/usages",
+ "currentValue": 6,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
+ "value": "Standard NC Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/computes/demo_cluster3_lowPriority_nc/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspace/computes/usages",
+ "currentValue": 6,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
+ "value": "Standard NC Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NCv2 Family Cluster LowPriority vCPUs",
+ "value": "Standard NCv2 Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NCv3 Family Cluster LowPriority vCPUs",
+ "value": "Standard NCv3 Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard ND Family Cluster LowPriority vCPUs",
+ "value": "Standard ND Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NDv2 Family Cluster LowPriority vCPUs",
+ "value": "Standard NDv2 Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NV Family Cluster LowPriority vCPUs",
+ "value": "Standard NV Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListVMSizesResult.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListVMSizesResult.json
new file mode 100644
index 000000000000..e133ffd940c2
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListVMSizesResult.json
@@ -0,0 +1,455 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "api-version": "2019-11-01",
+ "location": "eastus"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "amlCompute": [
+ {
+ "name": "Standard_F2s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 2,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 16384,
+ "memoryGB": 4.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F4s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 4,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 32768,
+ "memoryGB": 8.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F8s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 8,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 65536,
+ "memoryGB": 16.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F16s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 16,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 131072,
+ "memoryGB": 32.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F32s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 32,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 262144,
+ "memoryGB": 64.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F64s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 64,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 524288,
+ "memoryGB": 128.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F72s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 72,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 589824,
+ "memoryGB": 144.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_D1_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 1,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 51200,
+ "memoryGB": 3.5,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D2_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 2,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 102400,
+ "memoryGB": 7.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D3_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 4,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 204800,
+ "memoryGB": 14.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D4_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 8,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 409600,
+ "memoryGB": 28.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D11_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 2,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 102400,
+ "memoryGB": 14.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D12_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 4,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 204800,
+ "memoryGB": 28.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D13_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 8,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 409600,
+ "memoryGB": 56.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D14_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 16,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 819200,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_DS1_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 1,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 7168,
+ "memoryGB": 3.5,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS2_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 2,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 14336,
+ "memoryGB": 7.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS3_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 4,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 28672,
+ "memoryGB": 14.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS4_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 8,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 57344,
+ "memoryGB": 28.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS5_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 16,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 114688,
+ "memoryGB": 56.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS11_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 2,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 28672,
+ "memoryGB": 14.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS12_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 4,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 57344,
+ "memoryGB": 28.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS13_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 8,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 114688,
+ "memoryGB": 56.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS14_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 16,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 229376,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS15_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 20,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 286720,
+ "memoryGB": 140.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC6s_v2",
+ "family": "standardNCSv2Family",
+ "vCPUs": 6,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 344064,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC12s_v2",
+ "family": "standardNCSv2Family",
+ "vCPUs": 12,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 688128,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC24rs_v2",
+ "family": "standardNCSv2Family",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC24s_v2",
+ "family": "standardNCSv2Family",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC6s_v3",
+ "family": "standardNCSv3Family",
+ "vCPUs": 6,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 344064,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC12s_v3",
+ "family": "standardNCSv3Family",
+ "vCPUs": 12,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 688128,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC24rs_v3",
+ "family": "standardNCSv3Family",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC24s_v3",
+ "family": "standardNCSv3Family",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC6",
+ "family": "standardNCFamily",
+ "vCPUs": 6,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 389120,
+ "memoryGB": 56.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NC12",
+ "family": "standardNCFamily",
+ "vCPUs": 12,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 696320,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NC24",
+ "family": "standardNCFamily",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1474560,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NC24r",
+ "family": "standardNCFamily",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1474560,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NV6",
+ "family": "standardNVFamily",
+ "vCPUs": 6,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 389120,
+ "memoryGB": 56.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NV12",
+ "family": "standardNVFamily",
+ "vCPUs": 12,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 696320,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NV24",
+ "family": "standardNVFamily",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1474560,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_ND6s",
+ "family": "standardNDSFamily",
+ "vCPUs": 6,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 344064,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_ND12s",
+ "family": "standardNDSFamily",
+ "vCPUs": 12,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 688128,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_ND24rs",
+ "family": "standardNDSFamily",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_ND24s",
+ "family": "standardNDSFamily",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListWorkspaceFeatures.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListWorkspaceFeatures.json
new file mode 100644
index 000000000000..f75711f2c3cc
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListWorkspaceFeatures.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "api-version": "2019-11-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "workspaceName": "testworkspace"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "automatedml_createeditexperimentsui",
+ "displayName": "Create edit experiments UI",
+ "description": "Create, edit or delete AutoML experiments in the SDK"
+ },
+ {
+ "id": "workspace_upgradeworkspaceui",
+ "displayName": "Upgrade workspace UI",
+ "description": "Upgrade workspace from Basic to enterprise from the UI"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListWorkspaceQuotasByVMFamily.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListWorkspaceQuotasByVMFamily.json
new file mode 100644
index 000000000000..2c834dd11a5b
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListWorkspaceQuotasByVMFamily.json
@@ -0,0 +1,415 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "location": "eastus",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/quotas",
+ "limit": 48,
+ "name": {
+ "localizedValue": "Standard D Family Cluster Dedicated vCPUs",
+ "value": "Standard D Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 12,
+ "name": {
+ "value": "Standard D Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard D Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 12,
+ "name": {
+ "value": "Standard D Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard D Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard D Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard D Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/quota",
+ "limit": 24,
+ "name": {
+ "value": "Standard DSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard DSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 12,
+ "name": {
+ "value": "Standard DSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 12,
+ "name": {
+ "value": "Standard DSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/quotas",
+ "limit": 24,
+ "name": {
+ "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs",
+ "value": "Standard Dv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard Dv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard Dv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard Dv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard FSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard FSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard FSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 12,
+ "name": {
+ "value": "Standard FSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/quotas",
+ "limit": 24,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs",
+ "value": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard NC Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard NC Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard NC Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/quotas",
+ "limit": 0,
+ "name": {
+ "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs",
+ "value": "Standard NCv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard NCv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard NCv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard NCv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/quotas",
+ "limit": 0,
+ "name": {
+ "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs",
+ "value": "Standard NCv3 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard NCv3 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard NCv3 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard NCv3 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/quotas",
+ "limit": 0,
+ "name": {
+ "localizedValue": "Standard ND Family Cluster Dedicated vCPUs",
+ "value": "Standard ND Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard ND Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard ND Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard ND Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard ND Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard ND Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard ND Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard NDv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard NDv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard NDv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 0,
+ "name": {
+ "value": "Standard NDv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/quotas",
+ "limit": 24,
+ "name": {
+ "localizedValue": "Standard NV Family Cluster Dedicated vCPUs",
+ "value": "Standard NV Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard NV Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NV Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard NV Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NV Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 24,
+ "name": {
+ "value": "Standard NV Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NV Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/amlComputeListNodes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/amlComputeListNodes.json
new file mode 100644
index 000000000000..a0efa7a674cc
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/amlComputeListNodes.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeType": "AmlCompute",
+ "nodes": [
+ {
+ "nodeId": "tvm-3601533753_1-20170719t162906z",
+ "privateIpAddress": "13.84.190.124",
+ "publicIpAddress": "13.84.190.134",
+ "port": 50000,
+ "nodeState": "running",
+ "runId": "2f378a44-38f2-443a-9f0d-9909d0b47890"
+ },
+ {
+ "nodeId": "tvm-3601533753_2-20170719t162906z",
+ "privateIpAddress": "13.84.190.124",
+ "publicIpAddress": "13.84.190.134",
+ "port": 50001,
+ "nodeState": "idle"
+ }
+ ],
+ "nextLink": "nextLink"
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createBasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createBasicAKSCompute.json
new file mode 100644
index 000000000000..8e543629867c
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createBasicAKSCompute.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-11-01",
+ "parameters": {
+ "location": "eastus",
+ "properties": {
+ "computeType": "AKS"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AKS",
+ "provisioningState": "Creating"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AKS",
+ "provisioningState": "Creating"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createBasicAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createBasicAmlCompute.json
new file mode 100644
index 000000000000..5b29a18b028e
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createBasicAmlCompute.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-11-01",
+ "parameters": {
+ "location": "eastus",
+ "properties": {
+ "computeType": "AmlCompute",
+ "properties": {
+ "vmSize": "STANDARD_NC6",
+ "vmPriority": "Dedicated",
+ "scaleSettings": {
+ "maxNodeCount": 1,
+ "minNodeCount": 0,
+ "nodeIdleTimeBeforeScaleDown": "PT5M"
+ },
+ "remoteLoginPortPublicAccess": "NotSpecified"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AmlCompute",
+ "provisioningState": "Creating"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AmlCompute",
+ "provisioningState": "Creating"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createBasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createBasicDataFactoryCompute.json
new file mode 100644
index 000000000000..27c9f9c03ca2
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createBasicDataFactoryCompute.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-11-01",
+ "parameters": {
+ "location": "eastus",
+ "properties": {
+ "computeType": "DataFactory"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "DataFactory",
+ "provisioningState": "Creating"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "DataFactory",
+ "provisioningState": "Creating"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createWorkspace.json
new file mode 100644
index 000000000000..48198f9043aa
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createWorkspace.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2019-11-01",
+ "parameters": {
+ "location": "eastus2euap",
+ "sku": {
+ "name": "Basic",
+ "tier": "Basic"
+ },
+ "properties": {
+ "friendlyName": "HelloName",
+ "description": "test description",
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "sku": {
+ "name": "Basic",
+ "tier": "Basic"
+ },
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "sku": {
+ "name": "Basic",
+ "tier": "Basic"
+ },
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/deleteCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/deleteCompute.json
new file mode 100644
index 000000000000..13ced208ebc2
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/deleteCompute.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-11-01",
+ "underlyingResourceAction": "Delete"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...",
+ "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..."
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/deleteWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/deleteWorkspace.json
new file mode 100644
index 000000000000..b9e0d6fd045c
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/deleteWorkspace.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getAKSCompute.json
new file mode 100644
index 000000000000..e48c649d2d3c
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getAKSCompute.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getAmlCompute.json
new file mode 100644
index 000000000000..74e8b3851cea
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getAmlCompute.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "createdOn": "2017-09-26T22:28:08.327Z",
+ "provisioningState": "Succeeded",
+ "properties": {
+ "vmSize": "STANDARD_NC6",
+ "vmPriority": "Dedicated",
+ "subnet": "test-subnet-resource-id",
+ "scaleSettings": {
+ "maxNodeCount": 1,
+ "minNodeCount": 0,
+ "nodeIdleTimeBeforeScaleDown": "PT5M"
+ },
+ "remoteLoginPortPublicAccess": "Enabled",
+ "allocationState": "Resizing",
+ "allocationStateTransitionTime": "2017-09-27T22:28:08.998Z",
+ "errors": null,
+ "currentNodeCount": 0,
+ "targetNodeCount": 1,
+ "nodeStateCounts": {
+ "preparingNodeCount": 0,
+ "runningNodeCount": 0,
+ "idleNodeCount": 0,
+ "unusableNodeCount": 0,
+ "leavingNodeCount": 0,
+ "preemptedNodeCount": 0
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getComputes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getComputes.json
new file mode 100644
index 000000000000..e79b34f9f803
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getComputes.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute1234",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "nextLink": "nextLink"
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspace.json
new file mode 100644
index 000000000000..13f336125264
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspace.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "sku": {
+ "name": "Enterprise",
+ "tier": "Enterprise"
+ },
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspacesByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspacesByResourceGroup.json
new file mode 100644
index 000000000000..705a2f5e024a
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspacesByResourceGroup.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "sku": {
+ "name": "Basic",
+ "tier": "Basic"
+ },
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1",
+ "name": "testworkspace1",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "sku": {
+ "name": "Basic",
+ "tier": "Basic"
+ },
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName 1",
+ "description": "test description"
+ }
+ }
+ ],
+ "nextLink": "nextLink"
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspacesBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspacesBySubscription.json
new file mode 100644
index 000000000000..0d305a1d37da
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspacesBySubscription.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "sku": {
+ "name": "Enterprise",
+ "tier": "Enterprise"
+ },
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "sku": {
+ "name": "Enterprise",
+ "tier": "Enterprise"
+ },
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
+ }
+ }
+ ],
+ "nextLink": "nextLink"
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/listKeysAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/listKeysAKSCompute.json
new file mode 100644
index 000000000000..6294b947ae45
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/listKeysAKSCompute.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeType": "AKS",
+ "userKubeConfig": "user kube config...",
+ "adminKubeConfig": "admin kube config...",
+ "imagePullSecretName": "the image pull secret name"
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/listWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/listWorkspaceKeys.json
new file mode 100644
index 000000000000..988e5e22a5d3
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/listWorkspaceKeys.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "userStorageKey": "r5rKCJ018TLk+bdAi/9YaVzgcQ0nkLsUqGyUN03KsdCFtqG0SjFGPV8+vT1frWqkvBL0bGoPpLc1BlZSSaZmOA==",
+ "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr",
+ "appInsightsInstrumentationKey": null,
+ "containerRegistryCredentials": {
+ "location": null,
+ "username": "testdemoworkjmjmeykp",
+ "passwords": [
+ {
+ "name": "password",
+ "value": "vBvVhYgAGtUSewVCUv3w95p4/q5Yrsnw"
+ },
+ {
+ "name": "password2",
+ "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/patchAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/patchAmlCompute.json
new file mode 100644
index 000000000000..d5d44c8a2669
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/patchAmlCompute.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-11-01",
+ "parameters": {
+ "properties": {
+ "scaleSettings": {
+ "maxNodeCount": 4,
+ "minNodeCount": 4,
+ "nodeIdleTimeBeforeScaleDown": "PT5M"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "provisioningState": "Updating"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/resyncWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/resyncWorkspaceKeys.json
new file mode 100644
index 000000000000..9765550738d4
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/resyncWorkspaceKeys.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "api-version": "2019-11-01"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/updateAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/updateAKSCompute.json
new file mode 100644
index 000000000000..98cc1580c1a5
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/updateAKSCompute.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-11-01",
+ "parameters": {
+ "id": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "properties": {
+ "agentCount": 4
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Updating"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Updating"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/updateAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/updateAmlCompute.json
new file mode 100644
index 000000000000..a724186e04cb
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/updateAmlCompute.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-11-01",
+ "parameters": {
+ "location": "eastus",
+ "properties": {
+ "computeType": "AmlCompute",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "properties": {
+ "scaleSettings": {
+ "maxNodeCount": 4,
+ "minNodeCount": 4,
+ "nodeIdleTimeBeforeScaleDown": "PT5M"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "provisioningState": "Updating"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "provisioningState": "Updating"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/updateQuota.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/updateQuota.json
new file mode 100644
index 000000000000..d38508fd70c9
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/updateQuota.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "location": "eastus",
+ "api-version": "2019-11-01",
+ "parameters": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 100,
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 200,
+ "unit": "Count"
+ }
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 100,
+ "unit": "Count",
+ "status": "Success"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/quotas",
+ "limit": 200,
+ "unit": "Count",
+ "status": "Success"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/updateWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/updateWorkspace.json
new file mode 100644
index 000000000000..c13804538ec5
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/updateWorkspace.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2019-11-01",
+ "parameters": {
+ "sku": {
+ "name": "Enterprise",
+ "tier": "Enterprise"
+ },
+ "properties": {
+ "friendlyName": "New friendly name",
+ "description": "new description"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "sku": {
+ "name": "Enterprise",
+ "tier": "Enterprise"
+ },
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "New friendly name",
+ "description": "new description"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/machineLearningServices.json
new file mode 100644
index 000000000000..f30d20db8701
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/machineLearningServices.json
@@ -0,0 +1,2861 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Machine Learning Workspaces",
+ "description": "These APIs allow end users to operate on Azure Machine Learning Workspace resources.",
+ "version": "2019-11-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.MachineLearningServices/operations": {
+ "get": {
+ "tags": [
+ "Operation"
+ ],
+ "description": "Lists all of the available Azure Machine Learning Workspaces REST API operations.",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}": {
+ "get": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Gets the properties of the specified machine learning workspace.",
+ "operationId": "Workspaces_Get",
+ "x-ms-examples": {
+ "Get Workspace": {
+ "$ref": "./examples/getWorkspace.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Creates or updates a workspace with the specified parameters.",
+ "operationId": "Workspaces_CreateOrUpdate",
+ "x-ms-examples": {
+ "Create Workspace": {
+ "$ref": "./examples/createWorkspace.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The parameters for creating or updating a machine learning workspace.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "201": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Deletes a machine learning workspace.",
+ "operationId": "Workspaces_Delete",
+ "x-ms-examples": {
+ "Delete Workspace": {
+ "$ref": "./examples/deleteWorkspace.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly."
+ },
+ "204": {
+ "description": "The machine learning workspace does not exist in the subscription."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Updates a machine learning workspace with the specified parameters.",
+ "operationId": "Workspaces_Update",
+ "x-ms-examples": {
+ "Update Workspace": {
+ "$ref": "./examples/updateWorkspace.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The parameters for updating a machine learning workspace.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/WorkspaceUpdateParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/features": {
+ "get": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Lists all enabled features for a workspace",
+ "operationId": "WorkspaceFeatures_List",
+ "x-ms-examples": {
+ "List Workspace features": {
+ "$ref": "./examples/ListWorkspaceFeatures.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/ListAmlUserFeatureResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces": {
+ "get": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Lists all the available machine learning workspaces under the specified resource group.",
+ "operationId": "Workspaces_ListByResourceGroup",
+ "x-ms-examples": {
+ "Get Workspaces by Resource Group": {
+ "$ref": "./examples/getWorkspacesByResourceGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PaginationParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/WorkspaceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys": {
+ "post": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry",
+ "operationId": "Workspaces_ListKeys",
+ "x-ms-examples": {
+ "List Workspace Keys": {
+ "$ref": "./examples/listWorkspaceKeys.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/ListWorkspaceKeysResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys": {
+ "post": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Resync all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry",
+ "operationId": "Workspaces_ResyncKeys",
+ "x-ms-examples": {
+ "Resync Workspace Keys": {
+ "$ref": "./examples/resyncWorkspaceKeys.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages": {
+ "get": {
+ "tags": [
+ "Usage"
+ ],
+ "operationId": "Usages_List",
+ "description": "Gets the current usage information as well as limits for AML resources for given subscription and location.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location for which resource usage is queried.",
+ "pattern": "^[-\\w\\._]+$"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ListUsagesResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List Usages": {
+ "$ref": "./examples/ListUsages.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes": {
+ "get": {
+ "tags": [
+ "VirtualMachineSizes"
+ ],
+ "operationId": "VirtualMachineSizes_List",
+ "description": "Returns supported VM Sizes in a location",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location upon which virtual-machine-sizes is queried.",
+ "pattern": "^[-\\w\\._]+$"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineSizeListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List VM Sizes": {
+ "$ref": "./examples/ListVMSizesResult.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/updateQuotas": {
+ "post": {
+ "tags": [
+ "Quota"
+ ],
+ "operationId": "Quotas_Update",
+ "description": "Update quota for each VM family in workspace.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location for update quota is queried.",
+ "pattern": "^[-\\w\\._]+$"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/QuotaUpdateParameters"
+ },
+ "description": "Quota update parameters."
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation was successful.",
+ "schema": {
+ "$ref": "#/definitions/UpdateWorkspaceQuotasResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "update quotas": {
+ "$ref": "./examples/updateQuota.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/Quotas": {
+ "get": {
+ "tags": [
+ "Quota"
+ ],
+ "operationId": "Quotas_List",
+ "description": "Gets the currently assigned Workspace Quotas based on VMFamily.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location for which resource usage is queried.",
+ "pattern": "^[-\\w\\._]+$"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ListWorkspaceQuotas"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List workspace quotas by VMFamily": {
+ "$ref": "./examples/ListWorkspaceQuotasByVMFamily.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces": {
+ "get": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Lists all the available machine learning workspaces under the specified subscription.",
+ "operationId": "Workspaces_ListBySubscription",
+ "x-ms-examples": {
+ "Get Workspaces by subscription": {
+ "$ref": "./examples/getWorkspacesBySubscription.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/PaginationParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/WorkspaceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes": {
+ "get": {
+ "tags": [
+ "OperationalizationClusters",
+ "MachineLearningComputes"
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "operationId": "MachineLearningCompute_ListByWorkspace",
+ "description": "Gets computes in specified workspace.",
+ "x-ms-examples": {
+ "Get Computes": {
+ "$ref": "./examples/getComputes.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/PaginationParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The response includes a paginated array of Machine Learning computes and a URI to the next set of results, if any. For the more information the limits of the number of items in a resource group, see https://azure.microsoft.com/en-us/documentation/articles/azure-subscription-service-limits/.",
+ "schema": {
+ "$ref": "#/definitions/PaginatedComputeResourcesList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the request failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}": {
+ "get": {
+ "tags": [
+ "OperationalizationClusters",
+ "MachineLearningComputes"
+ ],
+ "operationId": "MachineLearningCompute_Get",
+ "description": "Gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not returned - use 'keys' nested resource to get them.",
+ "x-ms-examples": {
+ "Get a AKS Compute": {
+ "$ref": "./examples/getAKSCompute.json"
+ },
+ "Get a AML Compute": {
+ "$ref": "./examples/getAmlCompute.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success.",
+ "schema": {
+ "$ref": "#/definitions/ComputeResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the request failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "OperationalizationClusters",
+ "MachineLearningComputes"
+ ],
+ "operationId": "MachineLearningCompute_CreateOrUpdate",
+ "description": "Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation. If your intent is to create a new compute, do a GET first to verify that it does not exist yet.",
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create a AML Compute": {
+ "$ref": "./examples/createBasicAmlCompute.json"
+ },
+ "Create AKS Compute": {
+ "$ref": "./examples/createBasicAKSCompute.json"
+ },
+ "Create a DataFactory Compute": {
+ "$ref": "./examples/createBasicDataFactoryCompute.json"
+ },
+ "Update a AML Compute": {
+ "$ref": "./examples/updateAmlCompute.json"
+ },
+ "Update a AKS Compute": {
+ "$ref": "./examples/updateAKSCompute.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeDefinitionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Compute creation or update initiated.",
+ "schema": {
+ "$ref": "#/definitions/ComputeResource"
+ }
+ },
+ "201": {
+ "description": "Compute creation or update initiated.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for asynchronous operation status.",
+ "type": "string"
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/ComputeResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the request failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "OperationalizationClusters",
+ "MachineLearningComputes"
+ ],
+ "operationId": "MachineLearningCompute_Update",
+ "description": "Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.",
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Update a AmlCompute Compute": {
+ "$ref": "./examples/patchAmlCompute.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ClusterUpdateParameters"
+ },
+ "description": "Additional parameters for cluster update."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Compute update initiated.",
+ "schema": {
+ "$ref": "#/definitions/ComputeResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the request failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "OperationalizationClusters",
+ "MachineLearningComputes"
+ ],
+ "operationId": "MachineLearningCompute_Delete",
+ "description": "Deletes specified Machine Learning compute.",
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete Compute": {
+ "$ref": "./examples/deleteCompute.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/UnderlyingResourceActionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly."
+ },
+ "202": {
+ "description": "Compute deletion initiated.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for asynchronous operation status.",
+ "type": "string"
+ },
+ "Location": {
+ "description": "URI to poll for asynchronous operation result.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the request failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes": {
+ "post": {
+ "tags": [
+ "MachineLearningComputes"
+ ],
+ "operationId": "MachineLearningCompute_ListNodes",
+ "description": "Get the details (e.g IP address, port etc) of all the compute nodes in the compute.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation was successful. The response contains the list of IP addresses.",
+ "schema": {
+ "$ref": "#/definitions/AmlComputeNodesInformation"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get compute nodes information for a compute": {
+ "$ref": "./examples/amlComputeListNodes.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listKeys": {
+ "post": {
+ "tags": [
+ "OperationalizationClusters",
+ "MachineLearningComputes"
+ ],
+ "operationId": "MachineLearningCompute_ListKeys",
+ "description": "Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).",
+ "x-ms-examples": {
+ "List AKS Compute Keys": {
+ "$ref": "./examples/listKeysAKSCompute.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success.",
+ "schema": {
+ "$ref": "#/definitions/ComputeSecrets"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces/skus": {
+ "get": {
+ "tags": [
+ "WorkspaceSkus"
+ ],
+ "description": "Lists all skus with associated features",
+ "operationId": "ListSkus",
+ "x-ms-examples": {
+ "List Skus": {
+ "$ref": "./examples/ListSkus.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/SkuListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "description": "Azure subscription identifier.",
+ "in": "path",
+ "type": "string",
+ "required": true
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "description": "Name of the resource group in which workspace is located.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "WorkspaceNameParameter": {
+ "name": "workspaceName",
+ "description": "Name of Azure Machine Learning workspace.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "ComputeNameParameter": {
+ "name": "computeName",
+ "description": "Name of the Azure Machine Learning compute.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "AsyncOperationIdParameter": {
+ "name": "asyncOperationId",
+ "description": "Identifier of an asynchronous Azure Machine Learning compute operation.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "LocationParameter": {
+ "name": "location",
+ "description": "The name of the Azure location/region.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "APIVersionParameter": {
+ "in": "query",
+ "name": "api-version",
+ "type": "string",
+ "description": "Version of Azure Machine Learning resource provider API.",
+ "required": true
+ },
+ "PaginationParameter": {
+ "in": "query",
+ "name": "$skiptoken",
+ "type": "string",
+ "description": "Continuation token for pagination.",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "ComputeDefinitionParameter": {
+ "in": "body",
+ "name": "parameters",
+ "description": "Payload with Machine Learning compute definition.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ComputeResource"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "ComputeTypeParameter": {
+ "in": "query",
+ "name": "compute-type",
+ "type": "string",
+ "description": "Type of compute to filter by.",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "UnderlyingResourceActionParameter": {
+ "in": "query",
+ "name": "underlyingResourceAction",
+ "type": "string",
+ "description": "Delete the underlying compute if 'Delete', or detach the underlying compute from workspace if 'Detach'.",
+ "required": true,
+ "enum": [
+ "Delete",
+ "Detach"
+ ],
+ "x-ms-enum": {
+ "name": "UnderlyingResourceAction",
+ "modelAsString": true
+ },
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "definitions": {
+ "Operation": {
+ "description": "Azure Machine Learning workspace REST API operation",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}",
+ "type": "string"
+ },
+ "display": {
+ "description": "Display name of operation",
+ "properties": {
+ "provider": {
+ "description": "The resource provider name: Microsoft.MachineLearningExperimentation",
+ "type": "string"
+ },
+ "resource": {
+ "description": "The resource on which the operation is performed.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "The operation that users can perform.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The description for the operation.",
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "OperationListResult": {
+ "description": "An array of operations supported by the resource provider.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of AML workspace operations supported by the AML workspace resource provider."
+ }
+ }
+ },
+ "Workspace": {
+ "type": "object",
+ "description": "An object that represents a machine learning workspace.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/WorkspaceProperties",
+ "description": "The properties of the machine learning workspace.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "WorkspaceProperties": {
+ "type": "object",
+ "description": "The properties of a machine learning workspace.",
+ "properties": {
+ "workspaceId": {
+ "description": "The immutable id associated with this workspace.",
+ "type": "string",
+ "readOnly": true
+ },
+ "description": {
+ "description": "The description of this workspace.",
+ "type": "string"
+ },
+ "friendlyName": {
+ "description": "The friendly name for this workspace. This name in mutable",
+ "type": "string"
+ },
+ "creationTime": {
+ "format": "date-time",
+ "description": "The creation time of the machine learning workspace in ISO8601 format.",
+ "type": "string",
+ "readOnly": true
+ },
+ "keyVault": {
+ "description": "ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created",
+ "type": "string"
+ },
+ "applicationInsights": {
+ "description": "ARM id of the application insights associated with this workspace. This cannot be changed once the workspace has been created",
+ "type": "string"
+ },
+ "containerRegistry": {
+ "description": "ARM id of the container registry associated with this workspace. This cannot be changed once the workspace has been created",
+ "type": "string"
+ },
+ "storageAccount": {
+ "description": "ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created",
+ "type": "string"
+ },
+ "discoveryUrl": {
+ "description": "Url for the discovery service to identify regional endpoints for machine learning experimentation services",
+ "type": "string"
+ },
+ "provisioningState": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Updating",
+ "Creating",
+ "Deleting",
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ },
+ "readOnly": true,
+ "description": "The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning."
+ }
+ }
+ },
+ "WorkspaceUpdateParameters": {
+ "description": "The parameters for updating a machine learning workspace.",
+ "properties": {
+ "tags": {
+ "description": "The resource tags for the machine learning workspace.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "The sku of the workspace."
+ },
+ "properties": {
+ "$ref": "#/definitions/WorkspacePropertiesUpdateParameters",
+ "description": "The properties that the machine learning workspace will be updated with.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "WorkspacePropertiesUpdateParameters": {
+ "description": "The parameters for updating the properties of a machine learning workspace.",
+ "properties": {
+ "description": {
+ "description": "The description of this workspace.",
+ "type": "string"
+ },
+ "friendlyName": {
+ "description": "The friendly name for this workspace.",
+ "type": "string"
+ }
+ }
+ },
+ "AmlUserFeature": {
+ "description": "Features enabled for a workspace",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Specifies the feature ID",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Specifies the feature name ",
+ "type": "string"
+ },
+ "description": {
+ "description": "Describes the feature for user experience",
+ "type": "string"
+ }
+ }
+ },
+ "ListAmlUserFeatureResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AmlUserFeature"
+ },
+ "description": "The list of AML user facing features."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URI to fetch the next page of AML user features information. Call ListNext() with this to fetch the next page of AML user features information."
+ }
+ },
+ "description": "The List Aml user feature operation response."
+ },
+ "UsageName": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the resource."
+ },
+ "localizedValue": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The localized name of the resource."
+ }
+ },
+ "description": "The Usage Names."
+ },
+ "Usage": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the resource ID."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the resource type."
+ },
+ "unit": {
+ "readOnly": true,
+ "type": "string",
+ "description": "An enum describing the unit of usage measurement.",
+ "enum": [
+ "Count"
+ ],
+ "x-ms-enum": {
+ "name": "UsageUnit",
+ "modelAsString": true
+ }
+ },
+ "currentValue": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int64",
+ "description": "The current usage of the resource."
+ },
+ "limit": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int64",
+ "description": "The maximum permitted usage of the resource."
+ },
+ "name": {
+ "readOnly": true,
+ "$ref": "#/definitions/UsageName",
+ "description": "The name of the type of usage."
+ }
+ },
+ "description": "Describes AML Resource Usage."
+ },
+ "ListUsagesResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Usage"
+ },
+ "description": "The list of AML resource usages."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URI to fetch the next page of AML resource usage information. Call ListNext() with this to fetch the next page of AML resource usage information."
+ }
+ },
+ "description": "The List Usages operation response."
+ },
+ "VirtualMachineSize": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "title": "Virtual Machine size name",
+ "description": "The name of the virtual machine size.",
+ "readOnly": true
+ },
+ "family": {
+ "type": "string",
+ "title": "Virtual Machine family name",
+ "description": "The family name of the virtual machine size.",
+ "readOnly": true
+ },
+ "vCPUs": {
+ "type": "integer",
+ "format": "int32",
+ "title": "Number of vPUs",
+ "description": "The number of vCPUs supported by the virtual machine size.",
+ "readOnly": true
+ },
+ "gpus": {
+ "type": "integer",
+ "format": "int32",
+ "title": "Number of gPUs",
+ "description": "The number of gPUs supported by the virtual machine size.",
+ "readOnly": true
+ },
+ "osVhdSizeMB": {
+ "type": "integer",
+ "format": "int32",
+ "title": "OS VHD Disk size",
+ "description": "The OS VHD disk size, in MB, allowed by the virtual machine size.",
+ "readOnly": true
+ },
+ "maxResourceVolumeMB": {
+ "type": "integer",
+ "format": "int32",
+ "title": "Resource volume size",
+ "description": "The resource volume size, in MB, allowed by the virtual machine size.",
+ "readOnly": true
+ },
+ "memoryGB": {
+ "type": "number",
+ "format": "double",
+ "title": "Memory size",
+ "description": "The amount of memory, in GB, supported by the virtual machine size.",
+ "readOnly": true
+ },
+ "lowPriorityCapable": {
+ "type": "boolean",
+ "title": "Low priority capable",
+ "description": "Specifies if the virtual machine size supports low priority VMs.",
+ "readOnly": true
+ },
+ "premiumIO": {
+ "type": "boolean",
+ "title": "Premium IO supported",
+ "description": "Specifies if the virtual machine size supports premium IO.",
+ "readOnly": true
+ }
+ },
+ "description": "Describes the properties of a VM size."
+ },
+ "VirtualMachineSizeListResult": {
+ "properties": {
+ "amlCompute": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineSize"
+ },
+ "description": "The list of virtual machine sizes supported by AmlCompute."
+ }
+ },
+ "description": "The List Virtual Machine size operation response."
+ },
+ "WorkspaceListResult": {
+ "description": "The result of a request to list machine learning workspaces.",
+ "properties": {
+ "value": {
+ "description": "The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "nextLink": {
+ "description": "The URI that can be used to request the next list of machine learning workspaces.",
+ "type": "string"
+ }
+ }
+ },
+ "QuotaBaseProperties": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Specifies the resource ID."
+ },
+ "type": {
+ "type": "string",
+ "description": "Specifies the resource type."
+ },
+ "limit": {
+ "type": "integer",
+ "format": "int64",
+ "title": "Limit.",
+ "description": "The maximum permitted quota of the resource."
+ },
+ "unit": {
+ "type": "string",
+ "description": "An enum describing the unit of quota measurement.",
+ "enum": [
+ "Count"
+ ],
+ "x-ms-enum": {
+ "name": "QuotaUnit",
+ "modelAsString": true
+ }
+ }
+ },
+ "description": "The properties for Quota update or retrieval."
+ },
+ "QuotaUpdateParameters": {
+ "properties": {
+ "value": {
+ "description": "The list for update quota.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/QuotaBaseProperties"
+ }
+ }
+ },
+ "description": "Quota update parameters."
+ },
+ "UpdateWorkspaceQuotasResult": {
+ "properties": {
+ "value": {
+ "description": "The list of workspace quota update result.",
+ "items": {
+ "$ref": "#/definitions/UpdateWorkspaceQuotas"
+ },
+ "readOnly": true,
+ "type": "array"
+ },
+ "nextLink": {
+ "description": "The URI to fetch the next page of workspace quota update result. Call ListNext() with this to fetch the next page of Workspace Quota update result.",
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "description": "The result of update workspace quota."
+ },
+ "UpdateWorkspaceQuotas": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the resource ID."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the resource type."
+ },
+ "limit": {
+ "type": "integer",
+ "format": "int64",
+ "title": "Limit.",
+ "description": "The maximum permitted quota of the resource."
+ },
+ "unit": {
+ "readOnly": true,
+ "type": "string",
+ "description": "An enum describing the unit of quota measurement.",
+ "enum": [
+ "Count"
+ ],
+ "x-ms-enum": {
+ "name": "QuotaUnit",
+ "modelAsString": true
+ }
+ },
+ "status": {
+ "type": "string",
+ "readOnly": false,
+ "title": "Update Workspace Quota Status.",
+ "description": "Status of update workspace quota.",
+ "enum": [
+ "Undefined",
+ "Success",
+ "Failure",
+ "InvalidQuotaBelowClusterMinimum",
+ "InvalidQuotaExceedsSubscriptionLimit",
+ "InvalidVMFamilyName",
+ "OperationNotSupportedForSku",
+ "OperationNotEnabledForRegion"
+ ],
+ "x-ms-enum": {
+ "name": "status",
+ "modelAsString": true
+ }
+ }
+ },
+ "description": "The properties for update Quota response."
+ },
+ "ResourceName": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the resource."
+ },
+ "localizedValue": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The localized name of the resource."
+ }
+ },
+ "description": "The Resource Name."
+ },
+ "ResourceQuota": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the resource ID."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the resource type."
+ },
+ "name": {
+ "$ref": "#/definitions/ResourceName",
+ "description": "Name of the resource.",
+ "readOnly": true
+ },
+ "limit": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int64",
+ "title": "Limit.",
+ "description": "The maximum permitted quota of the resource."
+ },
+ "unit": {
+ "readOnly": true,
+ "type": "string",
+ "description": "An enum describing the unit of quota measurement.",
+ "enum": [
+ "Count"
+ ],
+ "x-ms-enum": {
+ "name": "QuotaUnit",
+ "modelAsString": true
+ }
+ }
+ },
+ "description": "The quota assigned to a resource."
+ },
+ "ListWorkspaceQuotas": {
+ "properties": {
+ "value": {
+ "description": "The list of Workspace Quotas by VM Family",
+ "items": {
+ "$ref": "#/definitions/ResourceQuota"
+ },
+ "readOnly": true,
+ "type": "array"
+ },
+ "nextLink": {
+ "description": "The URI to fetch the next page of workspace quota information by VM Family. Call ListNext() with this to fetch the next page of Workspace Quota information.",
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "description": "The List WorkspaceQuotasByVMFamily operation response."
+ },
+ "Identity": {
+ "properties": {
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The principal ID of resource identity."
+ },
+ "tenantId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The tenant ID of resource."
+ },
+ "type": {
+ "type": "string",
+ "description": "The identity type.",
+ "enum": [
+ "SystemAssigned"
+ ],
+ "x-ms-enum": {
+ "name": "ResourceIdentityType",
+ "modelAsString": false
+ }
+ }
+ },
+ "description": "Identity for the resource."
+ },
+ "Resource": {
+ "description": "Azure Resource Manager resource envelope.",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "id": {
+ "description": "Specifies the resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Specifies the name of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "identity": {
+ "$ref": "#/definitions/Identity",
+ "readOnly": true,
+ "description": "The identity of the resource."
+ },
+ "location": {
+ "description": "Specifies the location of the resource.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Specifies the type of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "tags": {
+ "description": "Contains resource tags defined as key/value pairs.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "The sku of the workspace."
+ }
+ }
+ },
+ "ResourceId": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The ID of the resource"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.",
+ "x-ms-azure-resource": true
+ },
+ "ListWorkspaceKeysResult": {
+ "type": "object",
+ "properties": {
+ "userStorageKey": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "userStorageResourceId": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "appInsightsInstrumentationKey": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "containerRegistryCredentials": {
+ "readOnly": true,
+ "$ref": "#/definitions/RegistryListCredentialsResult"
+ }
+ }
+ },
+ "RegistryListCredentialsResult": {
+ "type": "object",
+ "properties": {
+ "location": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "username": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "passwords": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Password"
+ }
+ }
+ }
+ },
+ "Password": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "value": {
+ "readOnly": true,
+ "type": "string"
+ }
+ }
+ },
+ "PaginatedComputeResourcesList": {
+ "type": "object",
+ "description": "Paginated list of Machine Learning compute objects wrapped in ARM resource envelope.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "An array of Machine Learning compute objects wrapped in ARM resource envelope.",
+ "items": {
+ "$ref": "#/definitions/ComputeResource"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "A continuation link (absolute URI) to the next page of results in the list."
+ }
+ }
+ },
+ "ComputeResource": {
+ "type": "object",
+ "description": "Machine Learning compute object wrapped into ARM resource envelope.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "Compute properties",
+ "$ref": "#/definitions/Compute"
+ }
+ }
+ }
+ ]
+ },
+ "Compute": {
+ "type": "object",
+ "description": "Machine Learning compute object.",
+ "discriminator": "computeType",
+ "properties": {
+ "computeType": {
+ "description": "The type of compute",
+ "$ref": "#/definitions/ComputeType"
+ },
+ "computeLocation": {
+ "description": "Location for the underlying compute",
+ "type": "string"
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.",
+ "enum": [
+ "Unknown",
+ "Updating",
+ "Creating",
+ "Deleting",
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ },
+ "readOnly": true
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the Machine Learning compute."
+ },
+ "createdOn": {
+ "type": "string",
+ "description": "The date and time when the compute was created.",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "modifiedOn": {
+ "type": "string",
+ "description": "The date and time when the compute was last modified.",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "ARM resource id of the underlying compute"
+ },
+ "provisioningErrors": {
+ "type": "array",
+ "description": "Errors during provisioning",
+ "items": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ },
+ "readOnly": true
+ },
+ "isAttachedCompute": {
+ "type": "boolean",
+ "description": "Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.",
+ "readOnly": true
+ }
+ },
+ "required": [
+ "computeType"
+ ]
+ },
+ "AKS": {
+ "description": "A Machine Learning compute based on AKS.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "type": "object",
+ "description": "AKS properties",
+ "properties": {
+ "clusterFqdn": {
+ "description": "Cluster full qualified domain name",
+ "type": "string"
+ },
+ "systemServices": {
+ "type": "array",
+ "description": "System services",
+ "items": {
+ "$ref": "#/definitions/SystemService"
+ },
+ "readOnly": true
+ },
+ "agentCount": {
+ "description": "Number of agents",
+ "type": "integer",
+ "minimum": 1
+ },
+ "agentVMSize": {
+ "description": "Agent virtual machine size",
+ "type": "string"
+ },
+ "sslConfiguration": {
+ "description": "SSL configuration",
+ "$ref": "#/definitions/SslConfiguration"
+ },
+ "aksNetworkingConfiguration": {
+ "description": "AKS networking configuration for vnet",
+ "$ref": "#/definitions/AksNetworkingConfiguration"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "AKS"
+ },
+ "AmlCompute": {
+ "description": "An Azure Machine Learning compute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "AML Compute properties",
+ "type": "object",
+ "properties": {
+ "vmSize": {
+ "description": "Virtual Machine Size",
+ "type": "string"
+ },
+ "vmPriority": {
+ "description": "Virtual Machine priority",
+ "type": "string",
+ "enum": [
+ "Dedicated",
+ "LowPriority"
+ ],
+ "x-ms-enum": {
+ "name": "VmPriority",
+ "modelAsString": true
+ }
+ },
+ "scaleSettings": {
+ "description": "Scale settings for AML Compute",
+ "$ref": "#/definitions/ScaleSettings"
+ },
+ "userAccountCredentials": {
+ "title": "User account credentials.",
+ "description": "Credentials for an administrator user account that will be created on each compute node.",
+ "$ref": "#/definitions/UserAccountCredentials"
+ },
+ "subnet": {
+ "title": "Subnet.",
+ "description": "Virtual network subnet resource ID the compute nodes belong to.",
+ "$ref": "#/definitions/ResourceId"
+ },
+ "remoteLoginPortPublicAccess": {
+ "type": "string",
+ "default": "NotSpecified",
+ "title": "Close remote Login Access Port",
+ "description": "State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on all nodes of the cluster. Enabled - Indicates that the public ssh port is open on all nodes of the cluster. NotSpecified - Indicates that the public ssh port is closed on all nodes of the cluster if VNet is defined, else is open all public nodes. It can be default only during cluster creation time, after creation it will be either enabled or disabled.",
+ "enum": [
+ "Enabled",
+ "Disabled",
+ "NotSpecified"
+ ],
+ "x-ms-enum": {
+ "name": "remoteLoginPortPublicAccess",
+ "modelAsString": true
+ }
+ },
+ "allocationState": {
+ "type": "string",
+ "readOnly": true,
+ "title": "Allocation state.",
+ "description": "Allocation state of the compute. Possible values are: steady - Indicates that the compute is not resizing. There are no changes to the number of compute nodes in the compute in progress. A compute enters this state when it is created and when no operations are being performed on the compute to change the number of compute nodes. resizing - Indicates that the compute is resizing; that is, compute nodes are being added to or removed from the compute.",
+ "enum": [
+ "Steady",
+ "Resizing"
+ ],
+ "x-ms-enum": {
+ "name": "AllocationState",
+ "modelAsString": true
+ }
+ },
+ "allocationStateTransitionTime": {
+ "type": "string",
+ "readOnly": true,
+ "format": "date-time",
+ "title": "Allocation state transition time.",
+ "description": "The time at which the compute entered its current allocation state."
+ },
+ "errors": {
+ "readOnly": true,
+ "title": "Errors.",
+ "description": "Collection of errors encountered by various compute nodes during node setup.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ },
+ "currentNodeCount": {
+ "type": "integer",
+ "readOnly": true,
+ "format": "int32",
+ "title": "Current node count.",
+ "description": "The number of compute nodes currently assigned to the compute."
+ },
+ "targetNodeCount": {
+ "type": "integer",
+ "readOnly": true,
+ "format": "int32",
+ "title": "Target node count.",
+ "description": "The target number of compute nodes for the compute. If the allocationState is resizing, this property denotes the target node count for the ongoing resize operation. If the allocationState is steady, this property denotes the target node count for the previous resize operation."
+ },
+ "nodeStateCounts": {
+ "title": "Node state counts.",
+ "description": "Counts of various node states on the compute.",
+ "readOnly": true,
+ "$ref": "#/definitions/NodeStateCounts"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "AmlCompute"
+ },
+ "VirtualMachine": {
+ "description": "A Machine Learning compute based on Azure Virtual Machines.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "type": "object",
+ "properties": {
+ "virtualMachineSize": {
+ "description": "Virtual Machine size",
+ "type": "string"
+ },
+ "sshPort": {
+ "description": "Port open for ssh connections.",
+ "type": "integer"
+ },
+ "address": {
+ "description": "Public IP address of the virtual machine.",
+ "type": "string"
+ },
+ "administratorAccount": {
+ "description": "Admin credentials for virtual machine",
+ "$ref": "#/definitions/VirtualMachineSshCredentials"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "VirtualMachine"
+ },
+ "HDInsight": {
+ "description": "A HDInsight compute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "type": "object",
+ "properties": {
+ "sshPort": {
+ "description": "Port open for ssh connections on the master node of the cluster.",
+ "type": "integer"
+ },
+ "address": {
+ "description": "Public IP address of the master node of the cluster.",
+ "type": "string"
+ },
+ "administratorAccount": {
+ "description": "Admin credentials for master node of the cluster",
+ "$ref": "#/definitions/VirtualMachineSshCredentials"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "HDInsight"
+ },
+ "DataFactory": {
+ "description": "A DataFactory compute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ }
+ ],
+ "x-ms-discriminator-value": "DataFactory"
+ },
+ "Databricks": {
+ "description": "A DataFactory compute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "type": "object",
+ "properties": {
+ "databricksAccessToken": {
+ "description": "Databricks access token",
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "Databricks"
+ },
+ "DataLakeAnalytics": {
+ "description": "A DataLakeAnalytics compute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "type": "object",
+ "properties": {
+ "dataLakeStoreAccountName": {
+ "description": "DataLake Store Account Name",
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "DataLakeAnalytics"
+ },
+ "ServicePrincipalCredentials": {
+ "type": "object",
+ "description": "Service principal credentials.",
+ "properties": {
+ "clientId": {
+ "description": "Client Id",
+ "type": "string"
+ },
+ "clientSecret": {
+ "description": "Client secret",
+ "type": "string"
+ }
+ },
+ "required": [
+ "clientId",
+ "clientSecret"
+ ]
+ },
+ "SystemService": {
+ "type": "object",
+ "description": "A system service running on a compute.",
+ "properties": {
+ "systemServiceType": {
+ "description": "The type of this system service.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "publicIpAddress": {
+ "type": "string",
+ "description": "Public IP address",
+ "readOnly": true
+ },
+ "version": {
+ "description": "The version for this type.",
+ "readOnly": true,
+ "type": "string"
+ }
+ }
+ },
+ "SslConfiguration": {
+ "type": "object",
+ "description": "The ssl configuration for scoring",
+ "properties": {
+ "status": {
+ "description": "Enable or disable ssl for scoring",
+ "type": "string",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ]
+ },
+ "cert": {
+ "description": "Cert data",
+ "type": "string"
+ },
+ "key": {
+ "description": "Key data",
+ "type": "string"
+ },
+ "cname": {
+ "description": "CNAME of the cert",
+ "type": "string"
+ }
+ }
+ },
+ "AksNetworkingConfiguration": {
+ "type": "object",
+ "description": "Advance configuration for AKS networking",
+ "properties": {
+ "subnetId": {
+ "description": "Virtual network subnet resource ID the compute nodes belong to",
+ "type": "string"
+ },
+ "serviceCidr": {
+ "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
+ "description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.",
+ "type": "string"
+ },
+ "dnsServiceIP": {
+ "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$",
+ "description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.",
+ "type": "string"
+ },
+ "dockerBridgeCidr": {
+ "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
+ "description": "A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range.",
+ "type": "string"
+ }
+ }
+ },
+ "UserAccountCredentials": {
+ "properties": {
+ "adminUserName": {
+ "type": "string",
+ "title": "User name.",
+ "description": "Name of the administrator user account which can be used to SSH to nodes."
+ },
+ "adminUserSshPublicKey": {
+ "type": "string",
+ "title": "SSH public key.",
+ "description": "SSH public key of the administrator user account."
+ },
+ "adminUserPassword": {
+ "type": "string",
+ "title": "Password.",
+ "description": "Password of the administrator user account."
+ }
+ },
+ "required": [
+ "adminUserName"
+ ],
+ "description": "Settings for user account that gets created on each on the nodes of a compute."
+ },
+ "ScaleSettings": {
+ "type": "object",
+ "description": "scale settings for AML Compute",
+ "properties": {
+ "maxNodeCount": {
+ "description": "Max number of nodes to use",
+ "type": "integer"
+ },
+ "minNodeCount": {
+ "description": "Min number of nodes to use",
+ "type": "integer",
+ "default": 0
+ },
+ "nodeIdleTimeBeforeScaleDown": {
+ "type": "string",
+ "format": "duration",
+ "description": "Node Idle Time before scaling down amlCompute"
+ }
+ },
+ "required": [
+ "maxNodeCount"
+ ]
+ },
+ "NodeStateCounts": {
+ "properties": {
+ "idleNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Idle node count.",
+ "description": "Number of compute nodes in idle state."
+ },
+ "runningNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Running node count.",
+ "description": "Number of compute nodes which are running jobs."
+ },
+ "preparingNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Preparing node count.",
+ "description": "Number of compute nodes which are being prepared."
+ },
+ "unusableNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Unusable node count.",
+ "description": "Number of compute nodes which are in unusable state."
+ },
+ "leavingNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Leaving node count.",
+ "description": "Number of compute nodes which are leaving the amlCompute."
+ },
+ "preemptedNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Preempted node count.",
+ "description": "Number of compute nodes which are in preempted state."
+ }
+ },
+ "description": "Counts of various compute node states on the amlCompute."
+ },
+ "ClusterUpdateProperties": {
+ "properties": {
+ "scaleSettings": {
+ "$ref": "#/definitions/ScaleSettings",
+ "title": "Scale settings.",
+ "description": "Desired scale settings for the amlCompute."
+ }
+ },
+ "description": "The properties of a amlCompute that need to be updated."
+ },
+ "ClusterUpdateParameters": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ClusterUpdateProperties",
+ "description": "The properties of the amlCompute."
+ }
+ },
+ "description": "AmlCompute update parameters."
+ },
+ "ComputeNodesInformation": {
+ "type": "object",
+ "description": "Compute nodes information related to a Machine Learning compute. Might differ for every type of compute.",
+ "discriminator": "computeType",
+ "properties": {
+ "computeType": {
+ "description": "The type of compute",
+ "$ref": "#/definitions/ComputeType"
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The continuation token."
+ }
+ },
+ "required": [
+ "computeType"
+ ]
+ },
+ "AmlComputeNodesInformation": {
+ "description": "Compute node information related to a AmlCompute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ComputeNodesInformation"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "nodes": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AmlComputeNodeInformation"
+ },
+ "description": "The collection of returned AmlCompute nodes details."
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "AmlCompute"
+ },
+ "AmlComputeNodeInformation": {
+ "description": "Compute node information related to a AmlCompute.",
+ "properties": {
+ "nodeId": {
+ "readOnly": true,
+ "type": "string",
+ "title": "Node ID.",
+ "description": "ID of the compute node."
+ },
+ "privateIpAddress": {
+ "readOnly": true,
+ "type": "string",
+ "title": "Private IP address.",
+ "description": "Private IP address of the compute node."
+ },
+ "publicIpAddress": {
+ "readOnly": true,
+ "type": "string",
+ "title": "Public IP address.",
+ "description": "Public IP address of the compute node."
+ },
+ "port": {
+ "readOnly": true,
+ "type": "number",
+ "format": "int32",
+ "title": "Port.",
+ "description": "SSH port number of the node."
+ },
+ "nodeState": {
+ "readOnly": true,
+ "type": "string",
+ "enum": [
+ "idle",
+ "running",
+ "preparing",
+ "unusable",
+ "leaving",
+ "preempted"
+ ],
+ "description": "State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted.",
+ "x-ms-enum": {
+ "name": "nodeState",
+ "modelAsString": true
+ }
+ },
+ "runId": {
+ "readOnly": true,
+ "type": "string",
+ "title": "Run ID.",
+ "description": "ID of the Experiment running on the node, if any else null."
+ }
+ },
+ "x-ms-discriminator-value": "AmlCompute"
+ },
+ "VirtualMachineSshCredentials": {
+ "type": "object",
+ "description": "Admin credentials for virtual machine",
+ "properties": {
+ "username": {
+ "description": "Username of admin account",
+ "type": "string"
+ },
+ "password": {
+ "description": "Password of admin account",
+ "type": "string"
+ },
+ "publicKeyData": {
+ "description": "Public key data",
+ "type": "string"
+ },
+ "privateKeyData": {
+ "description": "Private key data",
+ "type": "string"
+ }
+ }
+ },
+ "ComputeSecrets": {
+ "type": "object",
+ "description": "Secrets related to a Machine Learning compute. Might differ for every type of compute.",
+ "discriminator": "computeType",
+ "properties": {
+ "computeType": {
+ "description": "The type of compute",
+ "$ref": "#/definitions/ComputeType"
+ }
+ },
+ "required": [
+ "computeType"
+ ]
+ },
+ "AksComputeSecrets": {
+ "description": "Secrets related to a Machine Learning compute based on AKS.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ComputeSecrets"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "userKubeConfig": {
+ "type": "string",
+ "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster."
+ },
+ "adminKubeConfig": {
+ "type": "string",
+ "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster."
+ },
+ "imagePullSecretName": {
+ "type": "string",
+ "description": "Image registry pull secret."
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "AKS"
+ },
+ "VirtualMachineSecrets": {
+ "description": "Secrets related to a Machine Learning compute based on AKS.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ComputeSecrets"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "administratorAccount": {
+ "description": "Admin credentials for virtual machine.",
+ "$ref": "#/definitions/VirtualMachineSshCredentials"
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "VirtualMachine"
+ },
+ "DatabricksComputeSecrets": {
+ "description": "Secrets related to a Machine Learning compute based on Databricks.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ComputeSecrets"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "databricksAccessToken": {
+ "description": "access token for databricks account.",
+ "type": "string"
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "Databricks"
+ },
+ "ComputeType": {
+ "type": "string",
+ "description": "The type of compute",
+ "enum": [
+ "AKS",
+ "AmlCompute",
+ "DataFactory",
+ "VirtualMachine",
+ "HDInsight",
+ "Databricks",
+ "DataLakeAnalytics"
+ ],
+ "x-ms-enum": {
+ "name": "ComputeType",
+ "modelAsString": true
+ }
+ },
+ "MachineLearningServiceError": {
+ "type": "object",
+ "description": "Wrapper for error response to follow ARM guidelines.",
+ "properties": {
+ "error": {
+ "description": "The error response.",
+ "$ref": "#/definitions/ErrorResponse",
+ "readOnly": true
+ }
+ }
+ },
+ "ErrorResponse": {
+ "type": "object",
+ "description": "Error response information.",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Error code.",
+ "readOnly": true
+ },
+ "message": {
+ "type": "string",
+ "description": "Error message.",
+ "readOnly": true
+ },
+ "details": {
+ "type": "array",
+ "description": "An array of error detail objects.",
+ "items": {
+ "$ref": "#/definitions/ErrorDetail"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "ErrorDetail": {
+ "type": "object",
+ "description": "Error detail information.",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Error code."
+ },
+ "message": {
+ "type": "string",
+ "description": "Error message."
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ]
+ },
+ "SKUCapability": {
+ "description": "Features/user capabilities associated with the sku",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Capability/Feature ID",
+ "type": "string"
+ },
+ "value": {
+ "description": "Details about the feature/capability",
+ "type": "string"
+ }
+ }
+ },
+ "ResourceSkuLocationInfo": {
+ "properties": {
+ "location": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Location of the SKU"
+ },
+ "zones": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "List of availability zones where the SKU is supported."
+ },
+ "zoneDetails": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceSkuZoneDetails"
+ },
+ "description": "Details of capabilities available to a SKU in specific zones."
+ }
+ }
+ },
+ "ResourceSkuZoneDetails": {
+ "properties": {
+ "name": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "type": "string"
+ },
+ "description": "The set of zones that the SKU is available in with the specified capabilities."
+ },
+ "capabilities": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/SKUCapability"
+ },
+ "description": "A list of capabilities that are available for the SKU in the specified list of zones."
+ }
+ },
+ "description": "Describes The zonal capabilities of a SKU."
+ },
+ "WorkspaceSku": {
+ "description": "Describes Workspace Sku details and features",
+ "type": "object",
+ "properties": {
+ "locations": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.)."
+ },
+ "locationInfo": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ResourceSkuLocationInfo"
+ },
+ "description": "A list of locations and availability zones in those locations where the SKU is available."
+ },
+ "tier": {
+ "description": "Sku Tier like Basic or Enterprise",
+ "type": "string",
+ "readOnly": true
+ },
+ "resourceType": {
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true
+ },
+ "capabilities": {
+ "description": "List of features/user capabilities associated with the sku",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SKUCapability"
+ },
+ "readOnly": true
+ },
+ "restrictions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Restriction"
+ },
+ "description": "The restrictions because of which SKU cannot be used. This is empty if there are no restrictions."
+ }
+ }
+ },
+ "Restriction": {
+ "properties": {
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The type of restrictions. As of now only possible value for this is location."
+ },
+ "values": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted."
+ },
+ "reasonCode": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "NotAvailableForRegion",
+ "NotAvailableForSubscription"
+ ],
+ "x-ms-enum": {
+ "name": "ReasonCode",
+ "modelAsString": true
+ },
+ "description": "The reason for the restriction."
+ }
+ },
+ "description": "The restriction because of which SKU cannot be used."
+ },
+ "SkuListResult": {
+ "description": "List of skus with features",
+ "type": "object",
+ "properties": {
+ "value": {
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/WorkspaceSku"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URI to fetch the next page of Workspace Skus. Call ListNext() with this URI to fetch the next page of Workspace Skus"
+ }
+ }
+ },
+ "Sku": {
+ "description": "Sku of the resource",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the sku",
+ "type": "string"
+ },
+ "tier": {
+ "description": "Tier of the sku like Basic or Enterprise",
+ "type": "string"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/readme.go.md b/specification/machinelearningservices/resource-manager/readme.go.md
index 928b47efefaa..3fa2bc039b06 100644
--- a/specification/machinelearningservices/resource-manager/readme.go.md
+++ b/specification/machinelearningservices/resource-manager/readme.go.md
@@ -13,11 +13,22 @@ go:
```yaml $(go) && $(multiapi)
batch:
+ - tag: package-2019-11-01
- tag: package-2019-06-01
- tag: package-2019-05-01
- tag: package-2018-11-19
- tag: package-2018-03-preview
```
+
+## Tag: package-2019-11-01 and go
+
+These settings apply only when `--tag=package-2019-11-01 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+```yaml $(tag)=='package-2019-11-01' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-11-01/$(namespace)
+```
+
## Tag: package-2019-06-01 and go
These settings apply only when `--tag=package-2019-06-01 --go` is specified on the command line.
diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md
index 60c8d2a6d9c6..b584b69b8b59 100644
--- a/specification/machinelearningservices/resource-manager/readme.md
+++ b/specification/machinelearningservices/resource-manager/readme.md
@@ -4,10 +4,10 @@
This is the AutoRest configuration file for Machine Learning Services.
-
-
---
+
## Getting Started
+
To build the SDK for EventHub, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
> `autorest`
@@ -15,18 +15,29 @@ To build the SDK for EventHub, simply [Install AutoRest](https://aka.ms/autorest
To see additional help and options, run:
> `autorest --help`
+
---
## Configuration
### Basic Information
+
These are the global settings for the Machine Learning Services API.
``` yaml
openapi-type: arm
-tag: package-2019-06-01
+tag: package-2019-11-01
```
+
+### Tag: package-2019-11-01
+
+These settings apply only when `--tag=package-2019-11` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-11-01'
+input-file:
+ - Microsoft.MachineLearningServices/stable/2019-11-01/machineLearningServices.json
+```
### Tag: package-2019-06-01
These settings apply only when `--tag=package-2019-06-01` is specified on the command line.
@@ -64,8 +75,8 @@ input-file:
```
---
-# Code Generation
+# Code Generation
## Swagger to SDK
@@ -81,7 +92,6 @@ swagger-to-sdk:
- repo: azure-sdk-for-node
```
-
## C#
These settings apply only when `--csharp` is specified on the command line.
@@ -96,7 +106,6 @@ csharp:
clear-output-folder: true
```
-
## Go
See configuration in [readme.go.md](./readme.go.md)
@@ -119,15 +128,29 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-machinelearning/ser
``` yaml $(java) && $(multiapi)
batch:
+ - tag: package-2019-11-01
- tag: package-2019-06-01
- tag: package-2019-05-01
- tag: package-2018-11-19
- tag: package-2018-03-preview
```
+### Tag: package-2019-11-01 and java
+
+These settings apply only when `--tag=package-2019-11-01 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2019-11-01' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.machinelearningservices.v2019_11_01
+ output-folder: $(azure-libraries-for-java-folder)/machinelearningservices/resource-manager/v2019_11_01
+regenerate-manager: true
+generate-interface: true
+```
+
### Tag: package-2019-06-01 and java
-These settings apply only when `--tag=package-2019-05-01 --java` is specified on the command line.
+These settings apply only when `--tag=package-2019-06-01 --java` is specified on the command line.
Please also specify `--azure-libraries-for-java=`.
``` yaml $(tag) == 'package-2019-06-01' && $(java) && $(multiapi)
@@ -177,7 +200,7 @@ regenerate-manager: true
generate-interface: true
```
-## Multi-API/Profile support for AutoRest v3 generators
+## Multi-API/Profile support for AutoRest v3 generators
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
@@ -189,6 +212,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.MachineLearningServices/stable/2019-11-01/machineLearningServices.json
- $(this-folder)/Microsoft.MachineLearningServices/stable/2019-06-01/machineLearningServices.json
- $(this-folder)/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json
- $(this-folder)/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json
@@ -196,11 +220,10 @@ input-file:
```
-If there are files that should not be in the `all-api-versions` set,
+If there are files that should not be in the `all-api-versions` set,
uncomment the `exclude-file` section below and add the file paths.
``` yaml $(tag) == 'all-api-versions'
-#exclude-file:
+#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```
-
From 0ae018475c4aa272806e61734fadc9d65cd6438f Mon Sep 17 00:00:00 2001
From: Junbo Wang
Date: Fri, 1 Nov 2019 09:37:38 +0800
Subject: [PATCH 123/189] fix missing status code in SignalR (#7635)
---
.../examples/SignalR_CreateOrUpdate.json | 42 +++++
.../stable/2018-10-01/signalr.json | 147 +++++++++++++++++-
.../signalr/resource-manager/readme.md | 4 +
3 files changed, 189 insertions(+), 4 deletions(-)
diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CreateOrUpdate.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CreateOrUpdate.json
index 89fdfeb74e49..41b4661df3f1 100644
--- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CreateOrUpdate.json
+++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CreateOrUpdate.json
@@ -33,6 +33,48 @@
"resourceName": "mySignalRService"
},
"responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "Standard_S1",
+ "tier": "Standard",
+ "size": "S1",
+ "capacity": 1
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "externalIP": "10.0.0.1",
+ "hostName": "mysignalrservice.service.signalr.net",
+ "publicPort": 443,
+ "serverPort": 443,
+ "version": "1.0",
+ "hostNamePrefix": null,
+ "features": [
+ {
+ "flag": "ServiceMode",
+ "value": "Serverless",
+ "properties": {}
+ }
+ ],
+ "cors": {
+ "allowedOrigins": [
+ "https://foo.com",
+ "https://bar.com"
+ ]
+ }
+ },
+ "location": "eastus",
+ "tags": {
+ "key1": "value1"
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService",
+ "name": "mySignalRService",
+ "type": "Microsoft.SignalRService/SignalR"
+ },
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.SignalRService/...pathToOperationResult..."
+ }
+ },
"201": {
"body": {
"sku": {
diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json
index 3f0b94fae3f3..0395465f29b5 100644
--- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json
+++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json
@@ -34,6 +34,12 @@
"schema": {
"$ref": "#/definitions/OperationList"
}
+ },
+ "default": {
+ "description": "An unexpected error occurred during the operation.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
}
},
"x-ms-pageable": {
@@ -83,6 +89,12 @@
"schema": {
"$ref": "#/definitions/NameAvailability"
}
+ },
+ "default": {
+ "description": "An unexpected error occurred during the operation.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -113,6 +125,12 @@
"schema": {
"$ref": "#/definitions/SignalRResourceList"
}
+ },
+ "default": {
+ "description": "An unexpected error occurred during the operation.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
}
},
"x-ms-pageable": {
@@ -149,6 +167,12 @@
"schema": {
"$ref": "#/definitions/SignalRResourceList"
}
+ },
+ "default": {
+ "description": "An unexpected error occurred during the operation.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
}
},
"x-ms-pageable": {
@@ -188,6 +212,12 @@
"schema": {
"$ref": "#/definitions/SignalRKeys"
}
+ },
+ "default": {
+ "description": "An unexpected error occurred during the operation.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -233,6 +263,12 @@
"schema": {
"$ref": "#/definitions/SignalRKeys"
}
+ },
+ "default": {
+ "description": "An unexpected error occurred during the operation.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
}
},
"x-ms-long-running-operation": true,
@@ -273,6 +309,12 @@
"schema": {
"$ref": "#/definitions/SignalRResource"
}
+ },
+ "default": {
+ "description": "An unexpected error occurred during the operation.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
@@ -311,6 +353,12 @@
}
],
"responses": {
+ "200": {
+ "description": "Success. The response describes a SignalR service.",
+ "schema": {
+ "$ref": "#/definitions/SignalRResource"
+ }
+ },
"201": {
"description": "Created. The response describes the new service and contains a Location header to query the operation result.",
"schema": {
@@ -319,6 +367,12 @@
},
"202": {
"description": "Accepted. The response indicates the exiting SignalR service is now updating and contains a Location header to query the operation result.."
+ },
+ "default": {
+ "description": "An unexpected error occurred during the operation.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
}
},
"x-ms-long-running-operation": true,
@@ -354,6 +408,12 @@
},
"204": {
"description": "Success. The response indicates the resource is already deleted."
+ },
+ "default": {
+ "description": "An unexpected error occurred during the operation.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
}
},
"x-ms-long-running-operation": true,
@@ -394,13 +454,19 @@
],
"responses": {
"200": {
- "description": "Success. The response describes a SignalR service which is not up-to-date.",
+ "description": "Success. The response describes a SignalR service.",
"schema": {
"$ref": "#/definitions/SignalRResource"
}
},
"202": {
"description": "Accepted. The response indicates the exiting SignalR service is now updating and contains a Location header to query the operation result.."
+ },
+ "default": {
+ "description": "An unexpected error occurred during the operation.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
}
},
"x-ms-long-running-operation": true,
@@ -438,6 +504,12 @@
},
"204": {
"description": "Success. The response indicates the operation is successful and no content will be returned."
+ },
+ "default": {
+ "description": "An unexpected error occurred during the operation.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
}
},
"x-ms-long-running-operation": true,
@@ -479,6 +551,12 @@
"schema": {
"$ref": "#/definitions/SignalRUsageList"
}
+ },
+ "default": {
+ "description": "An unexpected error occurred during the operation.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
}
},
"x-ms-pageable": {
@@ -575,6 +653,13 @@
"items": {
"$ref": "#/definitions/MetricSpecification"
}
+ },
+ "logSpecifications": {
+ "description": "Specifications of the Logs for Azure Monitoring.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LogSpecification"
+ }
}
}
},
@@ -619,6 +704,20 @@
}
}
},
+ "LogSpecification": {
+ "description": "Specifications of the Logs for Azure Monitoring.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the log.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Localized friendly display name of the log.",
+ "type": "string"
+ }
+ }
+ },
"Dimension": {
"description": "Specifications of the Dimension of metrics.",
"type": "object",
@@ -641,6 +740,45 @@
}
}
},
+ "ErrorResponse": {
+ "description": "Contains information about an API error.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/ErrorResponseBody",
+ "description": "Describes a particular API error with an error code and a message."
+ }
+ }
+ },
+ "ErrorResponseBody": {
+ "description": "Describes a particular API error with an error code and a message.",
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "An error code that describes the error condition more precisely than an HTTP status code. \r\nCan be used to programmatically handle specific error cases.",
+ "type": "string"
+ },
+ "message": {
+ "description": "A message that describes the error in detail and provides debugging information.",
+ "type": "string"
+ },
+ "target": {
+ "description": "The target of the particular error (for example, the name of the property in error).",
+ "type": "string"
+ },
+ "details": {
+ "description": "Contains nested errors that are related to this error.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorResponseBody"
+ }
+ }
+ }
+ },
"NameAvailabilityParameters": {
"description": "Data POST-ed to the nameAvailability action",
"required": [
@@ -909,9 +1047,10 @@
"type": "object",
"properties": {
"flag": {
- "description": "Kind of feature. Required.",
+ "description": "FeatureFlags is the supported features of Azure SignalR service.\r\n- ServiceMode: Flag for backend server for SignalR service. Values allowed: \"Default\": have your own backend server; \"Serverless\": your application doesn't have a backend server; \"Classic\": for backward compatibility. Support both Default and Serverless mode but not recommended; \"PredefinedOnly\": for future use.\r\n- EnableConnectivityLogs: \"true\"/\"false\", to enable/disable the connectivity log category respectively.",
"enum": [
- "ServiceMode"
+ "ServiceMode",
+ "EnableConnectivityLogs"
],
"type": "string",
"x-ms-enum": {
@@ -1137,4 +1276,4 @@
]
}
]
-}
+}
\ No newline at end of file
diff --git a/specification/signalr/resource-manager/readme.md b/specification/signalr/resource-manager/readme.md
index b09fc7411052..356ff90245d8 100644
--- a/specification/signalr/resource-manager/readme.md
+++ b/specification/signalr/resource-manager/readme.md
@@ -41,6 +41,10 @@ directive:
from: signalr.json
where: $.definitions.Dimension.properties.toBeExportedForShoebox
reason: The boolean properties 'toBeExportedForShoebox' is defined by Geneva metrics
+ - suppress: PutRequestResponseScheme
+ from: signalr.json
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}"].put
+ reason: The schema of the PUT request body is a superset of the GET response body, we have a PATCH operation to make the resource updatable
```
### Tag: package-2018-10-01
From 64051057638896cc2773d3ac8a16b3d6e3e42427 Mon Sep 17 00:00:00 2001
From: "Raghu Shantha [MSFT]"
Date: Thu, 31 Oct 2019 18:39:00 -0700
Subject: [PATCH 124/189] Make OSName, OSVersion properties writable (#7674)
---
.../preview/2019-08-02/HybridCompute.json | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json
index 2d0be54a64f8..014ce151f8a2 100644
--- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json
@@ -576,7 +576,9 @@
}
},
"x-ms-long-running-operation": true,
- "x-ms-examples": {}
+ "x-ms-examples": {
+
+ }
},
"get": {
"tags": [
@@ -851,13 +853,11 @@
"type": "string",
"description": "Public Key that the client provides to be used during initial resource onboarding"
},
- "osName": {
- "readOnly": true,
+ "osName": {
"type": "string",
"description": "The Operating System running on the hybrid machine."
},
- "osVersion": {
- "readOnly": true,
+ "osVersion": {
"type": "string",
"description": "The version of Operating System running on the hybrid machine."
},
From 6f88187e25b09309ddfba68e6c453847bb5afb6e Mon Sep 17 00:00:00 2001
From: Arcturus
Date: Fri, 1 Nov 2019 10:05:25 +0800
Subject: [PATCH 125/189] Fix wrong preview pacakge path (#7685)
---
specification/cosmos-db/resource-manager/readme.go.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/cosmos-db/resource-manager/readme.go.md b/specification/cosmos-db/resource-manager/readme.go.md
index c0de78608413..d6dab74742fb 100644
--- a/specification/cosmos-db/resource-manager/readme.go.md
+++ b/specification/cosmos-db/resource-manager/readme.go.md
@@ -33,7 +33,7 @@ These settings apply only when `--tag=package-2019-08-preview --go` is specified
Please also specify `--go-sdk-folder=`.
``` yaml $(tag) == 'package-2019-08-preview' && $(go)
-output-folder: $(go-sdk-folder)/services/cosmos-db/mgmt/2019-08-01-preview/$(namespace)
+output-folder: $(go-sdk-folder)/services/preview/cosmos-db/mgmt/2019-08-01-preview/$(namespace)
```
### Tag: package-2015-04 and go
From b6f28f72ba984c8de8418cb0923020fd86e4063d Mon Sep 17 00:00:00 2001
From: Blair Vanderlugt
Date: Thu, 31 Oct 2019 19:46:04 -0700
Subject: [PATCH 126/189] updating with warm store features (#7643)
---
.../EnvironmentsPatchSkuCapacity.json | 2 +-
.../timeseriesinsights.json | 101 ++++++++++++++++--
2 files changed, 94 insertions(+), 9 deletions(-)
diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EnvironmentsPatchSkuCapacity.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EnvironmentsPatchSkuCapacity.json
index 8e1dd380b48a..f7da024b97f4 100644
--- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EnvironmentsPatchSkuCapacity.json
+++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/examples/EnvironmentsPatchSkuCapacity.json
@@ -3,7 +3,7 @@
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"environmentName": "env1",
- "environmentUpdateParameters": {
+ "standardEnvironmentUpdateParameters": {
"sku": {
"name": "S1",
"capacity": 10
diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/timeseriesinsights.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/timeseriesinsights.json
index 9c875fd60286..4e115cfd1aa4 100644
--- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/timeseriesinsights.json
+++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/timeseriesinsights.json
@@ -197,11 +197,11 @@
"$ref": "#/parameters/EnvironmentNameParameter"
},
{
- "name": "environmentUpdateParameters",
+ "name": "standardEnvironmentUpdateParameters",
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/EnvironmentUpdateParameters"
+ "$ref": "#/definitions/StandardEnvironmentUpdateParameters"
},
"description": "Request object that contains the updated information for the environment."
},
@@ -1228,6 +1228,7 @@
"enum": [
"S1",
"S2",
+ "P1",
"L1"
],
"x-ms-enum": {
@@ -1249,6 +1250,20 @@
],
"description": "The sku determines the type of environment, either standard (S1 or S2) or long-term (L1). For standard environments the sku determines the capacity of the environment, the ingress rate, and the billing rate."
},
+ "WarmStoreConfigurationProperties": {
+ "type": "object",
+ "properties": {
+ "dataRetention": {
+ "type": "string",
+ "format": "duration",
+ "description": "ISO8601 timespan specifying the number of days the environment's events will be available for query from the warm store."
+ }
+ },
+ "required": [
+ "dataRetention"
+ ],
+ "description": "The warm store configuration provides the details to create a warm store cache that will retain a copy of the environment's data available for faster query."
+ },
"LongTermStorageConfigurationInput": {
"type": "object",
"properties": {
@@ -1552,6 +1567,11 @@
"storageConfiguration": {
"$ref": "#/definitions/LongTermStorageConfigurationInput",
"description": "The storage configuration provides the connection details that allows the Time Series Insights service to connect to the customer storage account that is used to store the environment's data."
+ },
+ "warmStoreConfiguration": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/WarmStoreConfigurationProperties",
+ "description": "The warm store configuration provides the details to create a warm store cache that will retain a copy of the environment's data available for faster query."
}
},
"required": [
@@ -1614,6 +1634,11 @@
"storageConfiguration": {
"$ref": "#/definitions/LongTermStorageConfigurationOutput",
"description": "The storage configuration provides the connection details that allows the Time Series Insights service to connect to the customer storage account that is used to store the environment's data."
+ },
+ "warmStoreConfiguration": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/WarmStoreConfigurationProperties",
+ "description": "The warm store configuration provides the details to create a warm store cache that will retain a copy of the environment's data available for faster query."
}
},
"required": [
@@ -1668,12 +1693,10 @@
"$ref": "#/definitions/LongTermStorageConfigurationMutableProperties",
"description": "The storage configuration provides the connection details that allows the Time Series Insights service to connect to the customer storage account that is used to store the environment's data."
},
- "timeSeriesIdProperties": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/TimeSeriesIdProperty"
- },
- "description": "The list of event properties which will be used to partition data in the environment."
+ "warmStoreConfiguration": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/WarmStoreConfigurationProperties",
+ "description": "The warm store configuration provides the details to create a warm store cache that will retain a copy of the environment's data available for faster query."
}
}
},
@@ -1705,6 +1728,10 @@
"ingress": {
"$ref": "#/definitions/IngressEnvironmentStatus",
"description": "An object that represents the status of ingress on an environment."
+ },
+ "warmStorage": {
+ "$ref": "#/definitions/WarmStorageEnvironmentStatus",
+ "description": "An object that represents the status of warm storage on an environment."
}
}
},
@@ -1749,6 +1776,64 @@
}
}
},
+ "WarmStorageEnvironmentStatus": {
+ "readOnly": true,
+ "type": "object",
+ "description": "An object that represents the status of warm storage on an environment.",
+ "properties": {
+ "propertiesUsage": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/WarmStoragePropertiesUsage",
+ "description": "An object that contains the status of warm storage properties usage."
+ }
+ }
+ },
+ "WarmStoragePropertiesUsage": {
+ "readOnly": true,
+ "type": "object",
+ "description": "An object that contains the status of warm storage properties usage.",
+ "properties": {
+ "state": {
+ "type": "string",
+ "description": "This string represents the state of warm storage properties usage. It can be \"Ok\", \"Error\", \"Unknown\".",
+ "enum": [
+ "Ok",
+ "Error",
+ "Unknown"
+ ],
+ "x-ms-enum": {
+ "name": "WarmStoragePropertiesState",
+ "modelAsString": true
+ }
+ },
+ "stateDetails": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/WarmStoragePropertiesUsageStateDetails",
+ "description": "An object that contains the details about warm storage properties usage state."
+ }
+ }
+ },
+ "WarmStoragePropertiesUsageStateDetails": {
+ "readOnly": true,
+ "type": "object",
+ "description": "An object that contains the details about warm storage properties usage state.",
+ "properties": {
+ "currentCount": {
+ "format": "int32",
+ "type": "integer",
+ "description": "A value that represents the number of properties used by the environment for S1/S2 SKU and number of properties used by Warm Store for PAYG SKU",
+ "minimum": 1,
+ "maximum": 10
+ },
+ "maxCount": {
+ "format": "int32",
+ "type": "integer",
+ "description": "A value that represents the maximum number of properties used allowed by the environment for S1/S2 SKU and maximum number of properties allowed by Warm Store for PAYG SKU.",
+ "minimum": 1,
+ "maximum": 10
+ }
+ }
+ },
"EventSourceCreateOrUpdateParameters": {
"discriminator": "kind",
"properties": {
From c153b6819562aff384b05d59750518d8ccd56e3d Mon Sep 17 00:00:00 2001
From: sriramvu
Date: Thu, 31 Oct 2019 19:47:59 -0700
Subject: [PATCH 127/189] [Hub Generated] Review request for
Microsoft.Subscription: Removed an unused API to make things simple, also
corrected examples (#7540)
* Removed unused API to make things simple, also corrected examples
* Taking comments to be consistent within this API version
* Update createSubscription.json
Making minor change to rerun the checks as public.rest-api-specs check is reporting as running for more than a day when it has actually got completed.
---
.../examples/createCspSubscription.json | 6 +-
.../examples/createSubscription.json | 11 +--
...createSubscriptionUnderBillingProfile.json | 30 --------
.../2018-11-01-preview/subscriptions.json | 73 +------------------
4 files changed, 12 insertions(+), 108 deletions(-)
delete mode 100644 specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/createSubscriptionUnderBillingProfile.json
diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/createCspSubscription.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/createCspSubscription.json
index fce84d32970e..001fc82538d5 100644
--- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/createCspSubscription.json
+++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/createCspSubscription.json
@@ -1,7 +1,7 @@
{
"parameters": {
- "billingAccountName": "cd3ae1d5-9cb9-5950-9ffc-bc522547dbad:34756dd9-25b9-40c6-bc85-c25f68bff94f_2018-09-30",
- "customerName": "0ec9a816-e305-4571-8963-32db796dc43d",
+ "billingAccountName": "2bc54a6f-8d8a-5be1-5bff-bb4f285f512b:11a72812-d9a4-446e-9a1e-70c8bcadf5c0_2019-05-31",
+ "customerName": "e33ba30d-3718-4b15-bfaa-5627a57cda6f",
"api-version": "2018-11-01-preview",
"body": {
"displayName": "Contoso MCA subscription",
@@ -11,7 +11,7 @@
"responses": {
"202": {
"headers": {
- "Location": "/providers/Microsoft.Subscription/subscriptionOperations/aeb76128-ebde-4f5a-a9ed-e7bbf2dbc994?api-version=2018-11-01-preview",
+ "Location": "https://management.azure.com/providers/Microsoft.Subscription/subscriptionOperations/MzcwYzI3MDItNjA1MC00NTZkLTgyMTgtZjM0NDcyMjkwMTY0?api-version=2018-03-01-preview",
"Retry-After": 8
}
},
diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/createSubscription.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/createSubscription.json
index 8232e7c8acc8..f1f428036dab 100644
--- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/createSubscription.json
+++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/createSubscription.json
@@ -1,22 +1,23 @@
{
"parameters": {
- "billingAccountName": "12a6eed9-5d39-4103-a5db-2db1db0a8c67",
- "invoiceSectionName": "b859d705-1ed7-4769-9d4b-19238e9e8ac2_10_31",
+ "billingAccountName": "0aa27f2b-ec7f-5a65-71f6-a5ff0897bd55:ae0dae1e-de9a-41f6-8257-76b055d98372_2019-05-31",
+ "billingProfileName": "27VR-HDWX-BG7-TGB",
+ "invoiceSectionName": "JGF7-NSBG-PJA-TGB",
"api-version": "2018-11-01-preview",
"body": {
"displayName": "Contoso MCA subscription",
- "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/12a6eed9-5d39-4103-a5db-2db1db0a8c67/billingProfiles/dbcb81c8-cda9-4b01-b9fc-831e6a2e152e",
+ "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/0aa27f2b-ec7f-5a65-71f6-a5ff0897bd55:ae0dae1e-de9a-41f6-8257-76b055d98372_2019-05-31/billingProfiles/27VR-HDWX-BG7-TGB",
"skuId": "0001",
"costCenter": "135366376",
"owner": {
- "objectId": "973034ff-acb7-409c-b731-e789672c7b31"
+ "objectId": "973034ff-acb7-409c-b731-e789672c7b32"
}
}
},
"responses": {
"202": {
"headers": {
- "Location": "/providers/Microsoft.Subscription/subscriptionOperations/aeb76128-ebde-4f5a-a9ed-e7bbf2dbc994?api-version=2018-11-01-preview",
+ "Location": "https://management.azure.com/providers/Microsoft.Subscription/subscriptionOperations/ODdmYTU0MDktODc5YS00ZTEzLTg2MWItNTQ4ZjYxNzBlOTQw?api-version=2018-03-01-preview",
"Retry-After": 8
}
},
diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/createSubscriptionUnderBillingProfile.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/createSubscriptionUnderBillingProfile.json
deleted file mode 100644
index c22cccbabd93..000000000000
--- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/examples/createSubscriptionUnderBillingProfile.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "parameters": {
- "billingAccountName": "12a6eed9-5d39-4103-a5db-2db1db0a8c67",
- "billingProfileName": "27VR-HDWX-BG7-TGB",
- "invoiceSectionName": "b859d705-1ed7-4769-9d4b-19238e9e8ac2_10_31",
- "api-version": "2018-11-01-preview",
- "body": {
- "displayName": "Contoso MCA subscription",
- "billingProfileId": "/providers/Microsoft.Billing/billingAccounts/12a6eed9-5d39-4103-a5db-2db1db0a8c67/billingProfiles/27VR-HDWX-BG7-TGB",
- "skuId": "0001",
- "costCenter": "135366376",
- "owner": {
- "objectId": "973034ff-acb7-409c-b731-e789672c7b31"
- }
- }
- },
- "responses": {
- "202": {
- "headers": {
- "Location": "/providers/Microsoft.Subscription/subscriptionOperations/aeb76128-ebde-4f5a-a9ed-e7bbf2dbc994?api-version=2018-11-01-preview",
- "Retry-After": 8
- }
- },
- "200": {
- "body": {
- "subscriptionLink": "/subscriptions/d0d6ee57-6530-4fca-93a6-b755a070be35"
- }
- }
- }
-}
diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json
index aca430f3f6c9..f4f324551df5 100644
--- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json
+++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json
@@ -60,10 +60,10 @@
]
}
},
- "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Subscription/createSubscription": {
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Subscription/createSubscription": {
"post": {
"description": "The operation to create a new WebDirect or EA Azure subscription.",
- "operationId": "Subscriptions_CreateSubscription",
+ "operationId": "SubscriptionFactory_CreateSubscription",
"x-ms-examples": {
"createSubscription": {
"$ref": "./examples/createSubscription.json"
@@ -97,73 +97,6 @@
}
}
},
- "parameters": [
- {
- "name": "billingAccountName",
- "in": "path",
- "description": "The name of the Microsoft Customer Agreement billing account for which you want to create the subscription.",
- "required": true,
- "type": "string"
- },
- {
- "name": "invoiceSectionName",
- "in": "path",
- "description": "The name of the invoice section in the billing account for which you want to create the subscription.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "name": "body",
- "in": "body",
- "description": "The subscription creation parameters.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ModernSubscriptionCreationParameters"
- }
- }
- ]
- }
- },
- "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Subscription/createSubscription": {
- "post": {
- "description": "The operation to create a new WebDirect or EA Azure subscription (under billingProfiles).",
- "operationId": "Subscriptions_CreateSubscriptionUnderBillingProfile",
- "x-ms-examples": {
- "createSubscription": {
- "$ref": "./examples/createSubscriptionUnderBillingProfile.json"
- }
- },
- "x-ms-long-running-operation": true,
- "responses": {
- "200": {
- "description": "Normal response for a successful query. The response body will contain the data that matches the filters specified in the query parameters.",
- "schema": {
- "$ref": "#/definitions/SubscriptionCreationResult"
- }
- },
- "202": {
- "description": "Accepted. Subscription creation is in progress.",
- "headers": {
- "Location": {
- "description": "GET this URL to retrieve the status of the asynchronous operation.",
- "type": "string"
- },
- "Retry-After": {
- "description": "The amount of delay to use while the status of the operation is checked. The value is expressed in seconds.",
- "type": "integer"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
"parameters": [
{
"name": "billingAccountName",
@@ -204,7 +137,7 @@
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/providers/Microsoft.Subscription/createSubscription": {
"post": {
"description": "The operation to create a new CSP subscription.",
- "operationId": "Subscriptions_CreateCspSubscription",
+ "operationId": "SubscriptionFactory_CreateCspSubscription",
"x-ms-examples": {
"createSubscription": {
"$ref": "./examples/createCspSubscription.json"
From 7fb56e04458e978ee6c2f53bc08ca188a482700d Mon Sep 17 00:00:00 2001
From: Hillary Caituiro Monge
Date: Fri, 1 Nov 2019 13:00:07 -0700
Subject: [PATCH 128/189] add azureActiveDirectoryTenantId (#7681)
* add azureActiveDirectoryTenantId
Add azureActiveDirectoryTenantId as recommended by the Azure Active Directory team.
* fix typo Diretory
---
.../preview/2020-01-01-preview/EventGrid.json | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/EventGrid.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/EventGrid.json
index 0698ebb4fe5b..626c251c9a67 100644
--- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/EventGrid.json
+++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/EventGrid.json
@@ -2762,8 +2762,12 @@
"description": "Preferred batch size in Kilobytes.",
"type": "integer"
},
+ "azureActiveDirectoryTenantId": {
+ "description": "The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.",
+ "type": "string"
+ },
"azureActiveDirectoryApplicationIdOrUri": {
- "description": "The AAD application ID or URI to get the access token that will be included as the bearer token in delivery requests.",
+ "description": "The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.",
"type": "string"
}
}
From 42d8ead1da60419364bfa289632e1402c858d05f Mon Sep 17 00:00:00 2001
From: xiangpeng wang
Date: Fri, 1 Nov 2019 17:47:44 -0700
Subject: [PATCH 129/189] Added new api version 2019-09-01, which changed the
soft delete behavior (#7639)
* Copy files of api version 2018-02-14.
* Added new api version 2019-09-01, which changed the soft delete behaviour: new key vault will default to soft-delete being on (or true), if not explicitly specified.
* Fixed CI errors: The example JSON file is not referenced from the swagger file.
* Fixed Model Validation errors.
* Fixed model validation errors(2nd time).
* Fixed validation error.
---
.../examples/checkVaultNameAvailability.json | 17 +
.../2019-09-01/examples/createSecret.json | 50 +
.../2019-09-01/examples/createVault.json | 219 +++
.../examples/createVaultWithNetworkAcls.json | 114 ++
.../2019-09-01/examples/deleteVault.json | 13 +
.../2019-09-01/examples/getDeletedVault.json | 25 +
.../stable/2019-09-01/examples/getSecret.json | 28 +
.../stable/2019-09-01/examples/getVault.json | 82 +
.../examples/listDeletedVaults.json | 28 +
.../2019-09-01/examples/listOperations.json | 248 +++
.../2019-09-01/examples/listSecrets.json | 46 +
.../stable/2019-09-01/examples/listVault.json | 24 +
.../examples/listVaultByResourceGroup.json | 88 ++
.../examples/listVaultBySubscription.json | 87 ++
.../examples/purgeDeletedVault.json | 16 +
.../examples/updateAccessPoliciesAdd.json | 82 +
.../2019-09-01/examples/updateSecret.json | 50 +
.../2019-09-01/examples/updateVault.json | 218 +++
.../stable/2019-09-01/keyvault.json | 1360 +++++++++++++++++
.../stable/2019-09-01/providers.json | 180 +++
.../stable/2019-09-01/secrets.json | 459 ++++++
.../keyvault/resource-manager/readme.md | 17 +-
22 files changed, 3450 insertions(+), 1 deletion(-)
create mode 100644 specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/checkVaultNameAvailability.json
create mode 100644 specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createSecret.json
create mode 100644 specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createVault.json
create mode 100644 specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createVaultWithNetworkAcls.json
create mode 100644 specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/deleteVault.json
create mode 100644 specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getDeletedVault.json
create mode 100644 specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getSecret.json
create mode 100644 specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getVault.json
create mode 100644 specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listDeletedVaults.json
create mode 100644 specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listOperations.json
create mode 100644 specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listSecrets.json
create mode 100644 specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVault.json
create mode 100644 specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVaultByResourceGroup.json
create mode 100644 specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVaultBySubscription.json
create mode 100644 specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/purgeDeletedVault.json
create mode 100644 specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateAccessPoliciesAdd.json
create mode 100644 specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateSecret.json
create mode 100644 specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateVault.json
create mode 100644 specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/keyvault.json
create mode 100644 specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/providers.json
create mode 100644 specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/secrets.json
diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/checkVaultNameAvailability.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/checkVaultNameAvailability.json
new file mode 100644
index 000000000000..dedf8a12d1d8
--- /dev/null
+++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/checkVaultNameAvailability.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-09-01",
+ "vaultName": {
+ "name": "sample-vault",
+ "type": "Microsoft.KeyVault/vaults"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nameAvailable": true
+ }
+ }
+ }
+}
diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createSecret.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createSecret.json
new file mode 100644
index 000000000000..0d4d906f43dd
--- /dev/null
+++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createSecret.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "resourceGroupName": "sample-group",
+ "vaultName": "sample-vault",
+ "secretName": "secret-name",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-09-01",
+ "parameters": {
+ "properties": {
+ "value": "secret-value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.KeyVault/vaults/sample-vault/secrets/secret-name",
+ "name": "secret-name",
+ "type": "Microsoft.KeyVault/vaults/secrets",
+ "location": "westus",
+ "properties": {
+ "attributes": {
+ "enabled": true,
+ "created": 1514938738,
+ "updated": 1514938738
+ },
+ "secretUri": "https://sample-vault.vault.azure.net/secrets/secret-name",
+ "secretUriWithVersion": "https:/sample-vault.vault.azure.net/secrets/secret-name/baf6de32c4774c7c81345f6476cf90a4"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.KeyVault/vaults/sample-vault/secrets/secret-name",
+ "name": "secret-name",
+ "type": "Microsoft.KeyVault/vaults/secrets",
+ "location": "westus",
+ "properties": {
+ "attributes": {
+ "enabled": true,
+ "created": 1514938738,
+ "updated": 1514938738
+ },
+ "secretUri": "https://sample-vault.vault.azure.net/secrets/secret-name",
+ "secretUriWithVersion": "https:/sample-vault.vault.azure.net/secrets/secret-name/baf6de32c4774c7c81345f6476cf90a4"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createVault.json
new file mode 100644
index 000000000000..3fc271c1e345
--- /dev/null
+++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createVault.json
@@ -0,0 +1,219 @@
+{
+ "parameters": {
+ "resourceGroupName": "sample-resource-group",
+ "vaultName": "sample-vault",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-09-01",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "sku": {
+ "family": "A",
+ "name": "standard"
+ },
+ "accessPolicies": [
+ {
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "permissions": {
+ "keys": [
+ "encrypt",
+ "decrypt",
+ "wrapKey",
+ "unwrapKey",
+ "sign",
+ "verify",
+ "get",
+ "list",
+ "create",
+ "update",
+ "import",
+ "delete",
+ "backup",
+ "restore",
+ "recover",
+ "purge"
+ ],
+ "secrets": [
+ "get",
+ "list",
+ "set",
+ "delete",
+ "backup",
+ "restore",
+ "recover",
+ "purge"
+ ],
+ "certificates": [
+ "get",
+ "list",
+ "delete",
+ "create",
+ "import",
+ "update",
+ "managecontacts",
+ "getissuers",
+ "listissuers",
+ "setissuers",
+ "deleteissuers",
+ "manageissuers",
+ "recover",
+ "purge"
+ ]
+ }
+ }
+ ],
+ "enabledForDeployment": true,
+ "enabledForDiskEncryption": true,
+ "enabledForTemplateDeployment": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-resource-group/providers/Microsoft.KeyVault/vaults/sample-vault",
+ "name": "sample-vault",
+ "type": "Microsoft.KeyVault/vaults",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "sku": {
+ "family": "A",
+ "name": "standard"
+ },
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "accessPolicies": [
+ {
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "permissions": {
+ "keys": [
+ "encrypt",
+ "decrypt",
+ "wrapKey",
+ "unwrapKey",
+ "sign",
+ "verify",
+ "get",
+ "list",
+ "create",
+ "update",
+ "import",
+ "delete",
+ "backup",
+ "restore",
+ "recover",
+ "purge"
+ ],
+ "secrets": [
+ "get",
+ "list",
+ "set",
+ "delete",
+ "backup",
+ "restore",
+ "recover",
+ "purge"
+ ],
+ "certificates": [
+ "get",
+ "list",
+ "delete",
+ "create",
+ "import",
+ "update",
+ "managecontacts",
+ "getissuers",
+ "listissuers",
+ "setissuers",
+ "deleteissuers",
+ "manageissuers",
+ "recover",
+ "purge"
+ ]
+ }
+ }
+ ],
+ "enabledForDeployment": true,
+ "enabledForDiskEncryption": true,
+ "enabledForTemplateDeployment": true,
+ "vaultUri": "https://sample-vault.vault.azure.net"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-resource-group/providers/Microsoft.KeyVault/vaults/sample-vault",
+ "name": "sample-vault",
+ "type": "Microsoft.KeyVault/vaults",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "sku": {
+ "family": "A",
+ "name": "standard"
+ },
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "accessPolicies": [
+ {
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "permissions": {
+ "keys": [
+ "encrypt",
+ "decrypt",
+ "wrapKey",
+ "unwrapKey",
+ "sign",
+ "verify",
+ "get",
+ "list",
+ "create",
+ "update",
+ "import",
+ "delete",
+ "backup",
+ "restore",
+ "recover",
+ "purge"
+ ],
+ "secrets": [
+ "get",
+ "list",
+ "set",
+ "delete",
+ "backup",
+ "restore",
+ "recover",
+ "purge"
+ ],
+ "certificates": [
+ "get",
+ "list",
+ "delete",
+ "create",
+ "import",
+ "update",
+ "managecontacts",
+ "getissuers",
+ "listissuers",
+ "setissuers",
+ "deleteissuers",
+ "manageissuers",
+ "recover",
+ "purge"
+ ]
+ }
+ }
+ ],
+ "enabledForDeployment": true,
+ "enabledForDiskEncryption": true,
+ "enabledForTemplateDeployment": true,
+ "vaultUri": "https://sample-vault.vault.azure.net"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createVaultWithNetworkAcls.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createVaultWithNetworkAcls.json
new file mode 100644
index 000000000000..4ec2fd01f791
--- /dev/null
+++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createVaultWithNetworkAcls.json
@@ -0,0 +1,114 @@
+{
+ "parameters": {
+ "resourceGroupName": "sample-resource-group",
+ "vaultName": "sample-vault",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-09-01",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "sku": {
+ "family": "A",
+ "name": "standard"
+ },
+ "networkAcls": {
+ "defaultAction": "Deny",
+ "bypass": "AzureServices",
+ "ipRules": [
+ {
+ "value": "124.56.78.91"
+ },
+ {
+ "value": "'10.91.4.0/24'"
+ }
+ ],
+ "virtualNetworkRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1"
+ }
+ ]
+ },
+ "enabledForDeployment": true,
+ "enabledForDiskEncryption": true,
+ "enabledForTemplateDeployment": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-resource-group/providers/Microsoft.KeyVault/vaults/sample-vault",
+ "name": "sample-vault",
+ "type": "Microsoft.KeyVault/vaults",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "sku": {
+ "family": "A",
+ "name": "standard"
+ },
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "networkAcls": {
+ "defaultAction": "Deny",
+ "bypass": "AzureServices",
+ "ipRules": [
+ {
+ "value": "124.56.78.91/32"
+ },
+ {
+ "value": "'10.91.4.0/24'"
+ }
+ ],
+ "virtualNetworkRules": [
+ {
+ "id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.network/virtualnetworks/test-vnet/subnets/subnet1"
+ }
+ ]
+ },
+ "enabledForDeployment": true,
+ "enabledForDiskEncryption": true,
+ "enabledForTemplateDeployment": true,
+ "vaultUri": "https://sample-vault.vault.azure.net"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-resource-group/providers/Microsoft.KeyVault/vaults/sample-vault",
+ "name": "sample-vault",
+ "type": "Microsoft.KeyVault/vaults",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "sku": {
+ "family": "A",
+ "name": "standard"
+ },
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "networkAcls": {
+ "defaultAction": "Deny",
+ "bypass": "AzureServices",
+ "ipRules": [
+ {
+ "value": "124.56.78.91/32"
+ },
+ {
+ "value": "'10.91.4.0/24'"
+ }
+ ],
+ "virtualNetworkRules": [
+ {
+ "id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.network/virtualnetworks/test-vnet/subnets/subnet1"
+ }
+ ]
+ },
+ "enabledForDeployment": true,
+ "enabledForDiskEncryption": true,
+ "enabledForTemplateDeployment": true,
+ "vaultUri": "https://sample-vault.vault.azure.net"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/deleteVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/deleteVault.json
new file mode 100644
index 000000000000..8480ffede0c5
--- /dev/null
+++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/deleteVault.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "resourceGroupName": "sample-resource-group",
+ "vaultName": "sample-vault",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {}
+ }
+ }
+}
diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getDeletedVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getDeletedVault.json
new file mode 100644
index 000000000000..93c41753d287
--- /dev/null
+++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getDeletedVault.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "vaultName": "sample-vault",
+ "location": "westus",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/westus/deletedVaults/sample-vault",
+ "name": "sample-vault",
+ "type": "Microsoft.KeyVault/deletedVaults",
+ "properties": {
+ "vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.KeyVault/vaults/sample-vault",
+ "location": "westus",
+ "tags": {},
+ "deletionDate": "2017-01-01T00:00:59Z",
+ "scheduledPurgeDate": "2017-04-01T00:00:59Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getSecret.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getSecret.json
new file mode 100644
index 000000000000..983e9142ebdc
--- /dev/null
+++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getSecret.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "resourceGroupName": "sample-group",
+ "vaultName": "sample-vault",
+ "secretName": "secret-name",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.KeyVault/vaults/sample-vault/secrets/secret-name",
+ "name": "secret-name",
+ "type": "Microsoft.KeyVault/vaults/secrets",
+ "location": "westus",
+ "properties": {
+ "attributes": {
+ "enabled": true,
+ "created": 1514940950,
+ "updated": 1514940950
+ },
+ "secretUri": "https://sample-vault.vault.azure.net/secrets/secret-name",
+ "secretUriWithVersion": "https://sample-vault.vault.azure.net/secrets/secret-name/77445834f7de41bab81d0723bf996860"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getVault.json
new file mode 100644
index 000000000000..995d00bc660a
--- /dev/null
+++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getVault.json
@@ -0,0 +1,82 @@
+{
+ "parameters": {
+ "resourceGroupName": "sample-resource-group",
+ "vaultName": "sample-vault",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-resource-group/providers/Microsoft.KeyVault/vaults/sample-vault",
+ "name": "sample-vault",
+ "type": "Microsoft.KeyVault/vaults",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "sku": {
+ "family": "A",
+ "name": "standard"
+ },
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "accessPolicies": [
+ {
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "permissions": {
+ "keys": [
+ "encrypt",
+ "decrypt",
+ "wrapKey",
+ "unwrapKey",
+ "sign",
+ "verify",
+ "get",
+ "list",
+ "create",
+ "update",
+ "import",
+ "delete",
+ "backup",
+ "restore",
+ "recover",
+ "purge"
+ ],
+ "secrets": [
+ "get",
+ "list",
+ "set",
+ "delete",
+ "backup",
+ "restore",
+ "recover",
+ "purge"
+ ],
+ "certificates": [
+ "get",
+ "list",
+ "delete",
+ "create",
+ "import",
+ "update",
+ "managecontacts",
+ "getissuers",
+ "listissuers",
+ "setissuers",
+ "deleteissuers",
+ "manageissuers",
+ "recover",
+ "purge"
+ ]
+ }
+ }
+ ],
+ "enabledForDeployment": true,
+ "enabledForDiskEncryption": true,
+ "enabledForTemplateDeployment": true,
+ "vaultUri": "https://sample-vault.vault.azure.net"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listDeletedVaults.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listDeletedVaults.json
new file mode 100644
index 000000000000..25d46f0016f8
--- /dev/null
+++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listDeletedVaults.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "$top": 1,
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/westus/deletedVaults/sample-vault",
+ "name": "vault-agile-drawer-6404",
+ "type": "Microsoft.KeyVault/deletedVaults",
+ "properties": {
+ "vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.KeyVault/vaults/sample-vault",
+ "location": "westus",
+ "tags": {},
+ "deletionDate": "2017-01-01T00:00:59Z",
+ "scheduledPurgeDate": "2017-04-01T00:00:59Z"
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/deletedVaults?api-version=2019-09-01&%24skiptoken=HY3RaoMwAEX%2fRcbeYhJrnRXKYNWOuqpME0sfNcYui0Yxade19N8ne7hcDlzOvVuKX81eKKmt4G4dooLQwgqsL2NGHUDYV6o68Z4rY1e388RtNvRQn2vNJjEaMSgNvcbneMUcsKg8BFwft8DndQ0w9hu2QOiFLRs4TsNFNHzSMBFsGvTQGvuD%2f5bVuTOw4R03vPkH%2fVqNAlzm5SxfOwh7ACOA8POTlvPjILlaU1ke8jImOc23JCppQVfZnna0DXc4ISc3vSVuRo5zJE6%2bj25C3vwk2v2kEV2mMn7PyOc1DbtNGkonnzuLym1G400uI5QRZj0efw%3d%3d"
+ }
+ }
+ }
+}
diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listOperations.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listOperations.json
new file mode 100644
index 000000000000..e7dba2c4690f
--- /dev/null
+++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listOperations.json
@@ -0,0 +1,248 @@
+{
+ "parameters": {
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.KeyVault/vaults/read",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "Key Vault",
+ "operation": "View Key Vault",
+ "description": "View the properties of a key vault"
+ }
+ },
+ {
+ "name": "Microsoft.KeyVault/vaults/write",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "Key Vault",
+ "operation": "Update Key Vault",
+ "description": "Create a new key vault or update the properties of an existing key vault"
+ }
+ },
+ {
+ "name": "Microsoft.KeyVault/vaults/delete",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "Key Vault",
+ "operation": "Delete Key Vault",
+ "description": "Delete a key vault"
+ }
+ },
+ {
+ "name": "Microsoft.KeyVault/vaults/deploy/action",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "Key Vault",
+ "operation": "Use Vault for Azure Deployments",
+ "description": "Enables access to secrets in a key vault when deploying Azure resources"
+ }
+ },
+ {
+ "name": "Microsoft.KeyVault/vaults/secrets/read",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "Secret",
+ "operation": "View Secret Properties",
+ "description": "View the properties of a secret, but not its value"
+ }
+ },
+ {
+ "name": "Microsoft.KeyVault/vaults/secrets/write",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "Secret",
+ "operation": "Update Secret",
+ "description": "Create a new secret or update the value of an existing secret"
+ }
+ },
+ {
+ "name": "Microsoft.KeyVault/vaults/accessPolicies/write",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "Access Policy",
+ "operation": "Update Access Policy",
+ "description": "Update an existing access policy by merging or replacing, or add a new access policy to a vault."
+ }
+ },
+ {
+ "origin": "system",
+ "name": "Microsoft.KeyVault/vaults/providers/Microsoft.Insights/logDefinitions/read",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "Key Vault Log Definition",
+ "operation": "Read log definition",
+ "description": "Gets the available logs for a key vault"
+ },
+ "properties": {
+ "serviceSpecification": {
+ "logSpecifications": [
+ {
+ "name": "AuditEvent",
+ "displayName": "Audit Logs",
+ "blobDuration": "PT1H"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "origin": "system",
+ "name": "Microsoft.KeyVault/vaults/providers/Microsoft.Insights/diagnosticSettings/Read",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "Key Vault Diagnostic Settings",
+ "operation": "Read diagnostic setting",
+ "description": "Gets the diagnostic setting for the resource"
+ }
+ },
+ {
+ "origin": "system",
+ "name": "Microsoft.KeyVault/vaults/providers/Microsoft.Insights/diagnosticSettings/Write",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "Key Vault Diagnostic Settings",
+ "operation": "Write diagnostic setting",
+ "description": "Creates or updates the diagnostic setting for the resource"
+ }
+ },
+ {
+ "name": "Microsoft.KeyVault/register/action",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "Subscription",
+ "operation": "Register Subscription",
+ "description": "Registers a subscription"
+ }
+ },
+ {
+ "name": "Microsoft.KeyVault/unregister/action",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "Subscription",
+ "operation": "Unregister Subscription",
+ "description": "Unregisters a subscription"
+ }
+ },
+ {
+ "name": "Microsoft.KeyVault/operations/read",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "Operations",
+ "operation": "Available Key Vault Operations",
+ "description": "Lists operations available on Microsoft.KeyVault resource provider"
+ }
+ },
+ {
+ "name": "Microsoft.KeyVault/checkNameAvailability/read",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "Name Availability",
+ "operation": "Check Name Availability",
+ "description": "Checks that a key vault name is valid and is not in use"
+ }
+ },
+ {
+ "name": "Microsoft.KeyVault/deletedVaults/read",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "Soft Deleted Key Vault",
+ "operation": "View Soft Deleted Vaults",
+ "description": "View the properties of soft deleted key vaults"
+ }
+ },
+ {
+ "name": "Microsoft.KeyVault/locations/deletedVaults/read",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "Soft Deleted Key Vault",
+ "operation": "View Soft Deleted Key Vault",
+ "description": "View the properties of a soft deleted key vault"
+ }
+ },
+ {
+ "name": "Microsoft.KeyVault/locations/deletedVaults/purge/action",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "Soft Deleted Key Vault",
+ "operation": "Purge Soft Deleted Key Vault",
+ "description": "Purge a soft deleted key vault"
+ }
+ },
+ {
+ "name": "Microsoft.KeyVault/locations/operationResults/read",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "Long Run Operation Result",
+ "operation": "Check Operation Result",
+ "description": "Check the result of a long run operation"
+ }
+ },
+ {
+ "name": "Microsoft.KeyVault/hsmPools/read",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "HSM pool",
+ "operation": "View HSM pool",
+ "description": "View the properties of an HSM pool"
+ }
+ },
+ {
+ "name": "Microsoft.KeyVault/hsmPools/write",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "HSM pool",
+ "operation": "Create or Update HSM pool",
+ "description": "Create a new HSM pool of update the properties of an existing HSM pool"
+ }
+ },
+ {
+ "name": "Microsoft.KeyVault/hsmPools/delete",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "HSM pool",
+ "operation": "Delete HSM pool",
+ "description": "Delete an HSM pool"
+ }
+ },
+ {
+ "name": "Microsoft.KeyVault/hsmPools/joinVault/action",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "HSM pool",
+ "operation": "Join KeyVault to HSM pool",
+ "description": "Join a key vault to an HSM pool"
+ }
+ },
+ {
+ "origin": "system",
+ "name": "Microsoft.KeyVault/vaults/providers/Microsoft.Insights/metricDefinitions/read",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "Key Vault Metric Definition",
+ "operation": "Read metric definition",
+ "description": "Gets the available metrics for a key vault"
+ },
+ "properties": {
+ "serviceSpecification": {}
+ }
+ },
+ {
+ "origin": "system",
+ "name": "Microsoft.KeyVault/locations/deleteVirtualNetworkOrSubnets/action",
+ "display": {
+ "provider": "Microsoft Key Vault",
+ "resource": "Location",
+ "operation": "Modify Network ACLs containing the deleted Vitual Network or Subnet ",
+ "description": "Notifies Microsoft.KeyVault that a virtual network or subnet is being deleted"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listSecrets.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listSecrets.json
new file mode 100644
index 000000000000..96eee5c6afce
--- /dev/null
+++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listSecrets.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "resourceGroupName": "sample-group",
+ "vaultName": "sample-vault",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.KeyVault/vaults/sample-vault/secrets/secret-name",
+ "name": "secret-name",
+ "type": "Microsoft.KeyVault/vaults/secrets",
+ "location": "westus",
+ "properties": {
+ "attributes": {
+ "enabled": true,
+ "created": 1514941476,
+ "updated": 1514941476
+ },
+ "secretUri": "https://sample-vault.vault.azure.net/secrets/secret-name",
+ "secretUriWithVersion": "https://sample-vault.vault.azure.net/secrets/secret-name/40af42fbc10047f8a756a73211492f56"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.KeyVault/vaults/sample-vault/secrets/secret-name2",
+ "name": "secret-name2",
+ "type": "Microsoft.KeyVault/vaults/secrets",
+ "location": "westus",
+ "properties": {
+ "attributes": {
+ "enabled": true,
+ "created": 1514941476,
+ "updated": 1514941476
+ },
+ "secretUri": "https://sample-vault.vault.azure.net/secrets/secret-name2",
+ "secretUriWithVersion": "https://sample-vault.vault.azure.net/secrets/secret-name2/cd7264a6f56c44d1b594423c80609aae"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVault.json
new file mode 100644
index 000000000000..3397baaa9f83
--- /dev/null
+++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVault.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "$filter": "resourceType eq 'Microsoft.KeyVault/vaults'",
+ "$top": 1,
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2015-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.KeyVault/vaults/sample-vault",
+ "name": "sample-vault",
+ "type": "Microsoft.KeyVault/vaults",
+ "location": "westus",
+ "tags": {}
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?%24filter=resourceType+eq+%27Microsoft.KeyVault%2fvaults%27&%24top=4&api-version=2015-11-01&%24skiptoken=eyJuZXh0UGFydGl0aW9uS2V5IjoiMSE4IVEwTTJNVGMtIiwibmV4dFJvd0tleSI6IjEhMTMyIU5rUTRSVEU1UXpJelFUWXdORGd4UmpoRlFrSXhNVGhFUXpNd01EZEROVVJmVkVkT1RDMU5TVU5TVDFOUFJsUTZNa1ZMUlZsV1FWVk1WRG95UmxaQlZVeFVVeTFUVTFKSExVcEpUVG95UkZSRlUxUTZNa1JXUVZWTVZDMVhSVk5VVlZNLSJ9"
+ }
+ }
+ }
+}
diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVaultByResourceGroup.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVaultByResourceGroup.json
new file mode 100644
index 000000000000..a5b7f68d5bff
--- /dev/null
+++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVaultByResourceGroup.json
@@ -0,0 +1,88 @@
+{
+ "parameters": {
+ "$top": 1,
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "sample-group",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.KeyVault/vaults/sample-vault",
+ "name": "sample-vault",
+ "type": "Microsoft.KeyVault/vaults",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "sku": {
+ "family": "A",
+ "name": "premium"
+ },
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "accessPolicies": [
+ {
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "permissions": {
+ "keys": [
+ "encrypt",
+ "decrypt",
+ "wrapKey",
+ "unwrapKey",
+ "sign",
+ "verify",
+ "get",
+ "list",
+ "create",
+ "update",
+ "import",
+ "delete",
+ "backup",
+ "restore",
+ "recover",
+ "purge"
+ ],
+ "secrets": [
+ "get",
+ "list",
+ "set",
+ "delete",
+ "backup",
+ "restore",
+ "recover",
+ "purge"
+ ],
+ "certificates": [
+ "get",
+ "list",
+ "delete",
+ "create",
+ "import",
+ "update",
+ "managecontacts",
+ "getissuers",
+ "listissuers",
+ "setissuers",
+ "deleteissuers",
+ "manageissuers",
+ "recover",
+ "purge"
+ ]
+ }
+ }
+ ],
+ "enabledForDeployment": true,
+ "enabledForDiskEncryption": true,
+ "enabledForTemplateDeployment": true,
+ "enableSoftDelete": true,
+ "vaultUri": "https://sample-vault.vault.azure.net/"
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.KeyVault/vaults?api-version=2019-09-01&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng=="
+ }
+ }
+ }
+}
diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVaultBySubscription.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVaultBySubscription.json
new file mode 100644
index 000000000000..ca44a615c810
--- /dev/null
+++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVaultBySubscription.json
@@ -0,0 +1,87 @@
+{
+ "parameters": {
+ "$top": 1,
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.KeyVault/vaults/sample-vault",
+ "name": "sample-vault",
+ "type": "Microsoft.KeyVault/vaults",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "sku": {
+ "family": "A",
+ "name": "premium"
+ },
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "accessPolicies": [
+ {
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "permissions": {
+ "keys": [
+ "encrypt",
+ "decrypt",
+ "wrapKey",
+ "unwrapKey",
+ "sign",
+ "verify",
+ "get",
+ "list",
+ "create",
+ "update",
+ "import",
+ "delete",
+ "backup",
+ "restore",
+ "recover",
+ "purge"
+ ],
+ "secrets": [
+ "get",
+ "list",
+ "set",
+ "delete",
+ "backup",
+ "restore",
+ "recover",
+ "purge"
+ ],
+ "certificates": [
+ "get",
+ "list",
+ "delete",
+ "create",
+ "import",
+ "update",
+ "managecontacts",
+ "getissuers",
+ "listissuers",
+ "setissuers",
+ "deleteissuers",
+ "manageissuers",
+ "recover",
+ "purge"
+ ]
+ }
+ }
+ ],
+ "enabledForDeployment": true,
+ "enabledForDiskEncryption": true,
+ "enabledForTemplateDeployment": true,
+ "enableSoftDelete": true,
+ "vaultUri": "https://sample-vault.vault.azure.net/"
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?api-version=22019-09-01&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng=="
+ }
+ }
+ }
+}
diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/purgeDeletedVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/purgeDeletedVault.json
new file mode 100644
index 000000000000..77be8c8de649
--- /dev/null
+++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/purgeDeletedVault.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "vaultName": "sample-vault",
+ "location": "westus",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-09-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {}
+ },
+ "202": {
+ "headers": {}
+ }
+ }
+}
diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateAccessPoliciesAdd.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateAccessPoliciesAdd.json
new file mode 100644
index 000000000000..139a8e1e5cf4
--- /dev/null
+++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateAccessPoliciesAdd.json
@@ -0,0 +1,82 @@
+{
+ "parameters": {
+ "resourceGroupName": "sample-group",
+ "vaultName": "sample-vault",
+ "operationKind": "add",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-09-01",
+ "parameters": {
+ "properties": {
+ "accessPolicies": [
+ {
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "permissions": {
+ "keys": [
+ "encrypt"
+ ],
+ "secrets": [
+ "get"
+ ],
+ "certificates": [
+ "get"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.KeyVault/vaults/sample-vault/accessPolicies/",
+ "type": "Microsoft.KeyVault/vaults/accessPolicies",
+ "properties": {
+ "accessPolicies": [
+ {
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "permissions": {
+ "keys": [
+ "encrypt"
+ ],
+ "secrets": [
+ "get"
+ ],
+ "certificates": [
+ "get"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.KeyVault/vaults/sample-vault/accessPolicies/",
+ "type": "Microsoft.KeyVault/vaults/accessPolicies",
+ "properties": {
+ "accessPolicies": [
+ {
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "permissions": {
+ "keys": [
+ "encrypt"
+ ],
+ "secrets": [
+ "get"
+ ],
+ "certificates": [
+ "get"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateSecret.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateSecret.json
new file mode 100644
index 000000000000..436c344e0142
--- /dev/null
+++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateSecret.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "resourceGroupName": "sample-group",
+ "vaultName": "sample-vault",
+ "secretName": "secret-name",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-09-01",
+ "parameters": {
+ "properties": {
+ "value": "secret-value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.KeyVault/vaults/sample-vault/secrets/secret-name",
+ "name": "secret-name",
+ "type": "Microsoft.KeyVault/vaults/secrets",
+ "location": "westus",
+ "properties": {
+ "attributes": {
+ "enabled": true,
+ "created": 1514940684,
+ "updated": 1514940698
+ },
+ "secretUri": "https://sample-vault.vault.azure.net/secrets/secret-name",
+ "secretUriWithVersion": "https://sample-vault.vault.azure.net/secrets/secret-name/b8c802f549764f2d97885d152f92ee9d"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.KeyVault/vaults/sample-vault/secrets/secret-name",
+ "name": "secret-name",
+ "type": "Microsoft.KeyVault/vaults/secrets",
+ "location": "westus",
+ "properties": {
+ "attributes": {
+ "enabled": true,
+ "created": 1514940684,
+ "updated": 1514940698
+ },
+ "secretUri": "https://sample-vault.vault.azure.net/secrets/secret-name",
+ "secretUriWithVersion": "https://sample-vault.vault.azure.net/secrets/secret-name/b8c802f549764f2d97885d152f92ee9d"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateVault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateVault.json
new file mode 100644
index 000000000000..6b6618511a8d
--- /dev/null
+++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateVault.json
@@ -0,0 +1,218 @@
+{
+ "parameters": {
+ "resourceGroupName": "sample-resource-group",
+ "vaultName": "sample-vault",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2019-09-01",
+ "parameters": {
+ "properties": {
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "sku": {
+ "family": "A",
+ "name": "standard"
+ },
+ "accessPolicies": [
+ {
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "permissions": {
+ "keys": [
+ "encrypt",
+ "decrypt",
+ "wrapKey",
+ "unwrapKey",
+ "sign",
+ "verify",
+ "get",
+ "list",
+ "create",
+ "update",
+ "import",
+ "delete",
+ "backup",
+ "restore",
+ "recover",
+ "purge"
+ ],
+ "secrets": [
+ "get",
+ "list",
+ "set",
+ "delete",
+ "backup",
+ "restore",
+ "recover",
+ "purge"
+ ],
+ "certificates": [
+ "get",
+ "list",
+ "delete",
+ "create",
+ "import",
+ "update",
+ "managecontacts",
+ "getissuers",
+ "listissuers",
+ "setissuers",
+ "deleteissuers",
+ "manageissuers",
+ "recover",
+ "purge"
+ ]
+ }
+ }
+ ],
+ "enabledForDeployment": true,
+ "enabledForDiskEncryption": true,
+ "enabledForTemplateDeployment": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-resource-group/providers/Microsoft.KeyVault/vaults/sample-vault",
+ "name": "sample-vault",
+ "type": "Microsoft.KeyVault/vaults",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "sku": {
+ "family": "A",
+ "name": "standard"
+ },
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "accessPolicies": [
+ {
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "permissions": {
+ "keys": [
+ "encrypt",
+ "decrypt",
+ "wrapKey",
+ "unwrapKey",
+ "sign",
+ "verify",
+ "get",
+ "list",
+ "create",
+ "update",
+ "import",
+ "delete",
+ "backup",
+ "restore",
+ "recover",
+ "purge"
+ ],
+ "secrets": [
+ "get",
+ "list",
+ "set",
+ "delete",
+ "backup",
+ "restore",
+ "recover",
+ "purge"
+ ],
+ "certificates": [
+ "get",
+ "list",
+ "delete",
+ "create",
+ "import",
+ "update",
+ "managecontacts",
+ "getissuers",
+ "listissuers",
+ "setissuers",
+ "deleteissuers",
+ "manageissuers",
+ "recover",
+ "purge"
+ ]
+ }
+ }
+ ],
+ "enabledForDeployment": true,
+ "enabledForDiskEncryption": true,
+ "enabledForTemplateDeployment": true,
+ "vaultUri": "https://sample-vault.vault.azure.net"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-resource-group/providers/Microsoft.KeyVault/vaults/sample-vault",
+ "name": "sample-vault",
+ "type": "Microsoft.KeyVault/vaults",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "sku": {
+ "family": "A",
+ "name": "standard"
+ },
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "accessPolicies": [
+ {
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "objectId": "00000000-0000-0000-0000-000000000000",
+ "permissions": {
+ "keys": [
+ "encrypt",
+ "decrypt",
+ "wrapKey",
+ "unwrapKey",
+ "sign",
+ "verify",
+ "get",
+ "list",
+ "create",
+ "update",
+ "import",
+ "delete",
+ "backup",
+ "restore",
+ "recover",
+ "purge"
+ ],
+ "secrets": [
+ "get",
+ "list",
+ "set",
+ "delete",
+ "backup",
+ "restore",
+ "recover",
+ "purge"
+ ],
+ "certificates": [
+ "get",
+ "list",
+ "delete",
+ "create",
+ "import",
+ "update",
+ "managecontacts",
+ "getissuers",
+ "listissuers",
+ "setissuers",
+ "deleteissuers",
+ "manageissuers",
+ "recover",
+ "purge"
+ ]
+ }
+ }
+ ],
+ "enabledForDeployment": true,
+ "enabledForDiskEncryption": true,
+ "enabledForTemplateDeployment": true,
+ "vaultUri": "https://sample-vault.vault.azure.net"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/keyvault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/keyvault.json
new file mode 100644
index 000000000000..ff299b590eed
--- /dev/null
+++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/keyvault.json
@@ -0,0 +1,1360 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-09-01",
+ "title": "KeyVaultManagementClient",
+ "description": "The Azure management API provides a RESTful set of web services that interact with Azure Key Vault."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}": {
+ "put": {
+ "tags": [
+ "Vaults"
+ ],
+ "operationId": "Vaults_CreateOrUpdate",
+ "x-ms-long-running-operation": true,
+ "description": "Create or update a key vault in the specified subscription.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Resource Group to which the server belongs."
+ },
+ {
+ "name": "vaultName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9-]{3,24}$",
+ "description": "Name of the vault"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VaultCreateOrUpdateParameters"
+ },
+ "description": "Parameters to create or update the vault"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Created or updated vault",
+ "schema": {
+ "$ref": "#/definitions/Vault"
+ }
+ },
+ "200": {
+ "description": "Created or updated vault",
+ "schema": {
+ "$ref": "#/definitions/Vault"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create a new vault or update an existing vault": {
+ "$ref": "./examples/createVault.json"
+ },
+ "Create or update a vault with network acls": {
+ "$ref": "./examples/createVaultWithNetworkAcls.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ },
+ "patch": {
+ "tags": [
+ "Vaults"
+ ],
+ "operationId": "Vaults_Update",
+ "description": "Update a key vault in the specified subscription.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Resource Group to which the server belongs."
+ },
+ {
+ "name": "vaultName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9-]{3,24}$",
+ "description": "Name of the vault"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VaultPatchParameters"
+ },
+ "description": "Parameters to patch the vault"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Patched vault",
+ "schema": {
+ "$ref": "#/definitions/Vault"
+ }
+ },
+ "200": {
+ "description": "Patched vault",
+ "schema": {
+ "$ref": "#/definitions/Vault"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update an existing vault": {
+ "$ref": "./examples/updateVault.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ },
+ "delete": {
+ "tags": [
+ "Vaults"
+ ],
+ "operationId": "Vaults_Delete",
+ "description": "Deletes the specified Azure key vault.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Resource Group to which the vault belongs."
+ },
+ {
+ "name": "vaultName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the vault to delete"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK Response."
+ }
+ },
+ "x-ms-examples": {
+ "Delete a vault": {
+ "$ref": "./examples/deleteVault.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ },
+ "get": {
+ "tags": [
+ "Vaults"
+ ],
+ "operationId": "Vaults_Get",
+ "description": "Gets the specified Azure key vault.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Resource Group to which the vault belongs."
+ },
+ {
+ "name": "vaultName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the vault."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Retrieved vault",
+ "schema": {
+ "$ref": "#/definitions/Vault"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Retrieve a vault": {
+ "$ref": "./examples/getVault.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/accessPolicies/{operationKind}": {
+ "put": {
+ "tags": [
+ "Vaults"
+ ],
+ "operationId": "Vaults_UpdateAccessPolicy",
+ "description": "Update access policies in a key vault in the specified subscription.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Resource Group to which the vault belongs."
+ },
+ {
+ "name": "vaultName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9-]{3,24}$",
+ "description": "Name of the vault"
+ },
+ {
+ "name": "operationKind",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "add",
+ "replace",
+ "remove"
+ ],
+ "x-ms-enum": {
+ "name": "AccessPolicyUpdateKind",
+ "modelAsString": false
+ },
+ "description": "Name of the operation"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VaultAccessPolicyParameters"
+ },
+ "description": "Access policy to merge into the vault"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "The updated access policies",
+ "schema": {
+ "$ref": "#/definitions/VaultAccessPolicyParameters"
+ }
+ },
+ "200": {
+ "description": "The updated access policies",
+ "schema": {
+ "$ref": "#/definitions/VaultAccessPolicyParameters"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Add an access policy, or update an access policy with new permissions": {
+ "$ref": "./examples/updateAccessPoliciesAdd.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults": {
+ "get": {
+ "tags": [
+ "Vaults"
+ ],
+ "operationId": "Vaults_ListByResourceGroup",
+ "description": "The List operation gets information about the vaults associated with the subscription and within the specified resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Resource Group to which the vault belongs."
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "type": "integer",
+ "format": "int32",
+ "description": "Maximum number of results to return."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Get information about all key vaults in the specified resource group.",
+ "schema": {
+ "$ref": "#/definitions/VaultListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List vaults in the specified resource group": {
+ "$ref": "./examples/listVaultByResourceGroup.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/vaults": {
+ "get": {
+ "tags": [
+ "Vaults"
+ ],
+ "operationId": "Vaults_ListBySubscription",
+ "description": "The List operation gets information about the vaults associated with the subscription.",
+ "parameters": [
+ {
+ "name": "$top",
+ "in": "query",
+ "type": "integer",
+ "format": "int32",
+ "description": "Maximum number of results to return."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Get information about all key vaults in the specified subscription.",
+ "schema": {
+ "$ref": "#/definitions/VaultListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List vaults in the specified subscription": {
+ "$ref": "./examples/listVaultBySubscription.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/deletedVaults": {
+ "get": {
+ "tags": [
+ "Vaults"
+ ],
+ "operationId": "Vaults_ListDeleted",
+ "description": "Gets information about the deleted vaults in a subscription.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Retrieved information about all deleted key vaults in a subscription.",
+ "schema": {
+ "$ref": "#/definitions/DeletedVaultListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List deleted vaults in the specified subscription": {
+ "$ref": "./examples/listDeletedVaults.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}": {
+ "get": {
+ "tags": [
+ "Vaults"
+ ],
+ "operationId": "Vaults_GetDeleted",
+ "description": "Gets the deleted Azure key vault.",
+ "parameters": [
+ {
+ "name": "vaultName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the vault."
+ },
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location of the deleted vault."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Retrieved information about the deleted vault.",
+ "schema": {
+ "$ref": "#/definitions/DeletedVault"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Retrieve a deleted vault": {
+ "$ref": "./examples/getDeletedVault.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}/purge": {
+ "post": {
+ "tags": [
+ "Vaults"
+ ],
+ "operationId": "Vaults_PurgeDeleted",
+ "x-ms-long-running-operation": true,
+ "description": "Permanently deletes the specified vault. aka Purges the deleted Azure key vault.",
+ "parameters": [
+ {
+ "name": "vaultName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the soft-deleted vault."
+ },
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location of the soft-deleted vault."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The vault is purged."
+ },
+ "202": {
+ "description": "Vault is being purged."
+ }
+ },
+ "x-ms-examples": {
+ "Purge a deleted vault": {
+ "$ref": "./examples/purgeDeletedVault.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ }
+ },
+ "/subscriptions/{subscriptionId}/resources": {
+ "get": {
+ "tags": [
+ "Vaults"
+ ],
+ "operationId": "Vaults_List",
+ "description": "The List operation gets information about the vaults associated with the subscription.",
+ "parameters": [
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "resourceType eq 'Microsoft.KeyVault/vaults'"
+ ],
+ "description": "The filter to apply on the operation."
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "type": "integer",
+ "format": "int32",
+ "description": "Maximum number of results to return."
+ },
+ {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "2015-11-01"
+ ],
+ "description": "Azure Resource Manager Api Version."
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Get information about all key vaults in the subscription.",
+ "schema": {
+ "$ref": "#/definitions/ResourceListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List vaults in the specified subscription": {
+ "$ref": "./examples/listVault.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/checkNameAvailability": {
+ "post": {
+ "tags": [
+ "Vaults"
+ ],
+ "operationId": "Vaults_CheckNameAvailability",
+ "description": "Checks that the vault name is valid and is not already in use.",
+ "parameters": [
+ {
+ "name": "vaultName",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/VaultCheckNameAvailabilityParameters"
+ },
+ "description": "The name of the vault."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK -- Operation to check the vault name availability was successful.",
+ "schema": {
+ "$ref": "#/definitions/CheckNameAvailabilityResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Validate a vault name": {
+ "$ref": "./examples/checkVaultNameAvailability.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ }
+ }
+ },
+ "definitions": {
+ "Sku": {
+ "properties": {
+ "family": {
+ "type": "string",
+ "description": "SKU family name",
+ "enum": [
+ "A"
+ ],
+ "x-ms-enum": {
+ "name": "SkuFamily",
+ "modelAsString": true
+ }
+ },
+ "name": {
+ "type": "string",
+ "description": "SKU name to specify whether the key vault is a standard vault or a premium vault.",
+ "enum": [
+ "standard",
+ "premium"
+ ],
+ "x-ms-enum": {
+ "name": "SkuName",
+ "modelAsString": false
+ }
+ }
+ },
+ "description": "SKU details",
+ "required": [
+ "name",
+ "family"
+ ]
+ },
+ "AccessPolicyEntry": {
+ "properties": {
+ "tenantId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault."
+ },
+ "objectId": {
+ "type": "string",
+ "description": "The object ID of a user, service principal or security group in the Azure Active Directory tenant for the vault. The object ID must be unique for the list of access policies."
+ },
+ "applicationId": {
+ "type": "string",
+ "format": "uuid",
+ "description": " Application ID of the client making request on behalf of a principal"
+ },
+ "permissions": {
+ "$ref": "#/definitions/Permissions",
+ "description": "Permissions the identity has for keys, secrets and certificates."
+ }
+ },
+ "description": "An identity that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID.",
+ "required": [
+ "tenantId",
+ "objectId",
+ "permissions"
+ ]
+ },
+ "Permissions": {
+ "properties": {
+ "keys": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "encrypt",
+ "decrypt",
+ "wrapKey",
+ "unwrapKey",
+ "sign",
+ "verify",
+ "get",
+ "list",
+ "create",
+ "update",
+ "import",
+ "delete",
+ "backup",
+ "restore",
+ "recover",
+ "purge"
+ ],
+ "x-ms-enum": {
+ "name": "KeyPermissions",
+ "modelAsString": true
+ }
+ },
+ "description": "Permissions to keys"
+ },
+ "secrets": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "get",
+ "list",
+ "set",
+ "delete",
+ "backup",
+ "restore",
+ "recover",
+ "purge"
+ ],
+ "x-ms-enum": {
+ "name": "SecretPermissions",
+ "modelAsString": true
+ }
+ },
+ "description": "Permissions to secrets"
+ },
+ "certificates": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "get",
+ "list",
+ "delete",
+ "create",
+ "import",
+ "update",
+ "managecontacts",
+ "getissuers",
+ "listissuers",
+ "setissuers",
+ "deleteissuers",
+ "manageissuers",
+ "recover",
+ "purge",
+ "backup",
+ "restore"
+ ],
+ "x-ms-enum": {
+ "name": "CertificatePermissions",
+ "modelAsString": true
+ }
+ },
+ "description": "Permissions to certificates"
+ },
+ "storage": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "get",
+ "list",
+ "delete",
+ "set",
+ "update",
+ "regeneratekey",
+ "recover",
+ "purge",
+ "backup",
+ "restore",
+ "setsas",
+ "listsas",
+ "getsas",
+ "deletesas"
+ ],
+ "x-ms-enum": {
+ "name": "StoragePermissions",
+ "modelAsString": true
+ }
+ },
+ "description": "Permissions to storage accounts"
+ }
+ },
+ "description": "Permissions the identity has for keys, secrets, certificates and storage."
+ },
+ "VaultProperties": {
+ "properties": {
+ "tenantId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault."
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "SKU details"
+ },
+ "accessPolicies": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AccessPolicyEntry"
+ },
+ "description": "An array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. When `createMode` is set to `recover`, access policies are not required. Otherwise, access policies are required."
+ },
+ "vaultUri": {
+ "type": "string",
+ "description": "The URI of the vault for performing operations on keys and secrets."
+ },
+ "enabledForDeployment": {
+ "type": "boolean",
+ "description": "Property to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault."
+ },
+ "enabledForDiskEncryption": {
+ "type": "boolean",
+ "description": "Property to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys."
+ },
+ "enabledForTemplateDeployment": {
+ "type": "boolean",
+ "description": "Property to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault."
+ },
+ "enableSoftDelete": {
+ "type": "boolean",
+ "description": "Property to specify whether the 'soft delete' functionality is enabled for this key vault. If it's not set to any value(true or false) when creating new key vault, it will be set to true by default. Once it's been set to true value, it can NOT be reverted to false."
+ },
+ "createMode": {
+ "type": "string",
+ "description": "The vault's create mode to indicate whether the vault need to be recovered or not.",
+ "enum": [
+ "recover",
+ "default"
+ ],
+ "x-ms-enum": {
+ "name": "CreateMode",
+ "modelAsString": false
+ }
+ },
+ "enablePurgeProtection": {
+ "type": "boolean",
+ "description": "Property specifying whether protection against purge is enabled for this vault. Setting this property to true activates protection against purge for this vault and its content - only the Key Vault service may initiate a hard, irrecoverable deletion. The setting is effective only if soft delete is also enabled. Enabling this functionality is irreversible - that is, the property does not accept false as its value."
+ },
+ "networkAcls": {
+ "$ref": "#/definitions/NetworkRuleSet",
+ "description": "A collection of rules governing the accessibility of the vault from specific network locations."
+ }
+ },
+ "required": [
+ "tenantId",
+ "sku"
+ ],
+ "description": "Properties of the vault"
+ },
+ "VaultPatchProperties": {
+ "properties": {
+ "tenantId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault."
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "SKU details"
+ },
+ "accessPolicies": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AccessPolicyEntry"
+ },
+ "description": "An array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID."
+ },
+ "enabledForDeployment": {
+ "type": "boolean",
+ "description": "Property to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault."
+ },
+ "enabledForDiskEncryption": {
+ "type": "boolean",
+ "description": "Property to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys."
+ },
+ "enabledForTemplateDeployment": {
+ "type": "boolean",
+ "description": "Property to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault."
+ },
+ "enableSoftDelete": {
+ "type": "boolean",
+ "description": "Property to specify whether the 'soft delete' functionality is enabled for this key vault. If it's not set to any value(true or false) when creating new key vault, it will be set to true by default. Once it's been set to true value, it can NOT be reverted to false."
+ },
+ "createMode": {
+ "type": "string",
+ "description": "The vault's create mode to indicate whether the vault need to be recovered or not.",
+ "enum": [
+ "recover",
+ "default"
+ ],
+ "x-ms-enum": {
+ "name": "CreateMode",
+ "modelAsString": false
+ }
+ },
+ "enablePurgeProtection": {
+ "type": "boolean",
+ "description": "Property specifying whether protection against purge is enabled for this vault. Setting this property to true activates protection against purge for this vault and its content - only the Key Vault service may initiate a hard, irrecoverable deletion. The setting is effective only if soft delete is also enabled. Enabling this functionality is irreversible - that is, the property does not accept false as its value."
+ },
+ "networkAcls": {
+ "$ref": "#/definitions/NetworkRuleSet",
+ "description": "A collection of rules governing the accessibility of the vault from specific network locations."
+ }
+ },
+ "description": "Properties of the vault"
+ },
+ "VaultAccessPolicyProperties": {
+ "properties": {
+ "accessPolicies": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AccessPolicyEntry"
+ },
+ "description": "An array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID."
+ }
+ },
+ "required": [
+ "accessPolicies"
+ ],
+ "description": "Properties of the vault access policy"
+ },
+ "DeletedVaultProperties": {
+ "properties": {
+ "vaultId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource id of the original vault."
+ },
+ "location": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The location of the original vault."
+ },
+ "deletionDate": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The deleted date."
+ },
+ "scheduledPurgeDate": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The scheduled purged date."
+ },
+ "tags": {
+ "readOnly": true,
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Tags of the original vault."
+ }
+ },
+ "description": "Properties of the deleted vault."
+ },
+ "VaultCreateOrUpdateParameters": {
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "The supported Azure location where the key vault should be created."
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The tags that will be assigned to the key vault."
+ },
+ "properties": {
+ "$ref": "#/definitions/VaultProperties",
+ "description": "Properties of the vault"
+ }
+ },
+ "description": "Parameters for creating or updating a vault",
+ "required": [
+ "location",
+ "properties"
+ ],
+ "x-ms-azure-resource": true
+ },
+ "VaultPatchParameters": {
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The tags that will be assigned to the key vault. "
+ },
+ "properties": {
+ "$ref": "#/definitions/VaultPatchProperties",
+ "description": "Properties of the vault"
+ }
+ },
+ "description": "Parameters for creating or updating a vault",
+ "x-ms-azure-resource": true
+ },
+ "VaultAccessPolicyParameters": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource id of the access policy."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource name of the access policy."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource name of the access policy."
+ },
+ "location": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource type of the access policy."
+ },
+ "properties": {
+ "$ref": "#/definitions/VaultAccessPolicyProperties",
+ "description": "Properties of the access policy"
+ }
+ },
+ "description": "Parameters for updating the access policy in a vault",
+ "required": [
+ "properties"
+ ],
+ "x-ms-azure-resource": true
+ },
+ "Vault": {
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/VaultProperties",
+ "description": "Properties of the vault"
+ }
+ },
+ "required": [
+ "properties"
+ ],
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Resource information with extended details."
+ },
+ "DeletedVault": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource ID for the deleted key vault."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the key vault."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource type of the key vault."
+ },
+ "properties": {
+ "$ref": "#/definitions/DeletedVaultProperties",
+ "description": "Properties of the vault"
+ }
+ },
+ "description": "Deleted vault information with extended details."
+ },
+ "VaultListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Vault"
+ },
+ "description": "The list of vaults."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of vaults."
+ }
+ },
+ "description": "List of vaults"
+ },
+ "DeletedVaultListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DeletedVault"
+ },
+ "description": "The list of deleted vaults."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of deleted vaults."
+ }
+ },
+ "description": "List of vaults"
+ },
+ "ResourceListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Resource"
+ },
+ "description": "The list of vault resources."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of vault resources."
+ }
+ },
+ "description": "List of vault resources."
+ },
+ "Resource": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The Azure Resource Manager resource ID for the key vault."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the key vault."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource type of the key vault."
+ },
+ "location": {
+ "type": "string",
+ "description": "The supported Azure location where the key vault should be created."
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The tags that will be assigned to the key vault. "
+ }
+ },
+ "description": "Key Vault resource",
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true
+ },
+ "VaultCheckNameAvailabilityParameters": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The vault name."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Microsoft.KeyVault/vaults"
+ ],
+ "x-ms-enum": {
+ "name": "Type",
+ "modelAsString": false
+ },
+ "description": "The type of resource, Microsoft.KeyVault/vaults"
+ }
+ },
+ "required": [
+ "name",
+ "type"
+ ],
+ "description": "The parameters used to check the availability of the vault name."
+ },
+ "CheckNameAvailabilityResult": {
+ "properties": {
+ "nameAvailable": {
+ "readOnly": true,
+ "type": "boolean",
+ "description": "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 is invalid and cannot be used."
+ },
+ "reason": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The reason that a vault name could not be used. The Reason element is only returned if NameAvailable is false.",
+ "enum": [
+ "AccountNameInvalid",
+ "AlreadyExists"
+ ],
+ "x-ms-enum": {
+ "name": "Reason",
+ "modelAsString": false
+ }
+ },
+ "message": {
+ "readOnly": true,
+ "type": "string",
+ "description": "An error message explaining the Reason value in more detail."
+ }
+ },
+ "description": "The CheckNameAvailability operation response."
+ },
+ "NetworkRuleSet": {
+ "properties": {
+ "bypass": {
+ "type": "string",
+ "description": "Tells what traffic can bypass network rules. This can be 'AzureServices' or 'None'. If not specified the default is 'AzureServices'.",
+ "enum": [
+ "AzureServices",
+ "None"
+ ],
+ "x-ms-enum": {
+ "name": "NetworkRuleBypassOptions",
+ "modelAsString": true
+ }
+ },
+ "defaultAction": {
+ "type": "string",
+ "description": "The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated.",
+ "enum": [
+ "Allow",
+ "Deny"
+ ],
+ "x-ms-enum": {
+ "name": "NetworkRuleAction",
+ "modelAsString": true
+ }
+ },
+ "ipRules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IPRule"
+ },
+ "description": "The list of IP address rules."
+ },
+ "virtualNetworkRules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualNetworkRule"
+ },
+ "description": "The list of virtual network rules."
+ }
+ },
+ "description": "A set of rules governing the network accessibility of a vault."
+ },
+ "IPRule": {
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78)."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "A rule governing the accessibility of a vault from a specific ip address or ip range."
+ },
+ "VirtualNetworkRule": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'."
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "description": "A rule governing the accessibility of a vault from a specific virtual network."
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "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."
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ }
+}
diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/providers.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/providers.json
new file mode 100644
index 000000000000..57042ef41eeb
--- /dev/null
+++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/providers.json
@@ -0,0 +1,180 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-09-01",
+ "title": "KeyVaultManagementClient",
+ "description": "The Azure management API provides a RESTful set of web services that interact with Azure Key Vault."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "paths": {
+ "/providers/Microsoft.KeyVault/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "description": "Lists all of the available Key Vault Rest API operations.",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Lists available Rest API operations.": {
+ "$ref": "./examples/listOperations.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ }
+ }
+ },
+ "definitions": {
+ "OperationListResult": {
+ "description": "Result of the request to list Storage operations. It contains a list of operations and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of Storage operations supported by the Storage resource provider."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of operations."
+ }
+ }
+ },
+ "Operation": {
+ "description": "Key Vault REST API operation definition.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}",
+ "type": "string"
+ },
+ "display": {
+ "description": "Display metadata associated with the operation.",
+ "properties": {
+ "provider": {
+ "description": "Service provider: Microsoft Key Vault.",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed etc.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "Type of operation: get, read, delete, etc.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of operation.",
+ "type": "string"
+ }
+ }
+ },
+ "origin": {
+ "type": "string",
+ "description": "The origin of operations."
+ },
+ "properties": {
+ "description": "Properties of operation, include metric specifications.",
+ "x-ms-client-flatten": true,
+ "x-ms-client-name": "OperationProperties",
+ "$ref": "#/definitions/OperationProperties"
+ }
+ }
+ },
+ "OperationProperties": {
+ "description": "Properties of operation, include metric specifications.",
+ "properties": {
+ "serviceSpecification": {
+ "$ref": "#/definitions/ServiceSpecification",
+ "description": "One property of operation, include metric specifications."
+ }
+ }
+ },
+ "ServiceSpecification": {
+ "description": "One property of operation, include log specifications.",
+ "properties": {
+ "logSpecifications": {
+ "description": "Log specifications of operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LogSpecification"
+ }
+ }
+ }
+ },
+ "LogSpecification": {
+ "description": "Log specification of operation.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of log specification."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "Display name of log specification."
+ },
+ "blobDuration": {
+ "type": "string",
+ "description": "Blob duration of specification."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "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."
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ }
+}
diff --git a/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/secrets.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/secrets.json
new file mode 100644
index 000000000000..986ea6b7bfc0
--- /dev/null
+++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/secrets.json
@@ -0,0 +1,459 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-09-01",
+ "title": "KeyVaultManagementClient",
+ "description": "The Azure management API provides a RESTful set of web services that interact with Azure Key Vault."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName}": {
+ "put": {
+ "tags": [
+ "Secrets"
+ ],
+ "operationId": "Secrets_CreateOrUpdate",
+ "description": "Create or update a secret in a key vault in the specified subscription. NOTE: This API is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Resource Group to which the vault belongs."
+ },
+ {
+ "name": "vaultName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9-]{3,24}$",
+ "description": "Name of the vault"
+ },
+ {
+ "name": "secretName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9-]{1,127}$",
+ "description": "Name of the secret"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SecretCreateOrUpdateParameters"
+ },
+ "description": "Parameters to create or update the secret"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Created or updated vault",
+ "schema": {
+ "$ref": "#/definitions/Secret"
+ }
+ },
+ "200": {
+ "description": "Created or updated secret",
+ "schema": {
+ "$ref": "#/definitions/Secret"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create a secret": {
+ "$ref": "./examples/createSecret.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ },
+ "patch": {
+ "tags": [
+ "Secrets"
+ ],
+ "operationId": "Secrets_Update",
+ "description": "Update a secret in the specified subscription. NOTE: This API is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Resource Group to which the vault belongs."
+ },
+ {
+ "name": "vaultName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9-]{3,24}$",
+ "description": "Name of the vault"
+ },
+ {
+ "name": "secretName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9-]{1,127}$",
+ "description": "Name of the secret"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SecretPatchParameters"
+ },
+ "description": "Parameters to patch the secret"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Patched secret",
+ "schema": {
+ "$ref": "#/definitions/Secret"
+ }
+ },
+ "200": {
+ "description": "Patched secret",
+ "schema": {
+ "$ref": "#/definitions/Secret"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update a secret": {
+ "$ref": "./examples/updateSecret.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ },
+ "get": {
+ "tags": [
+ "Secrets"
+ ],
+ "operationId": "Secrets_Get",
+ "description": "Gets the specified secret. NOTE: This API is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Resource Group to which the vault belongs."
+ },
+ {
+ "name": "vaultName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the vault."
+ },
+ {
+ "name": "secretName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the secret."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Retrieved secret",
+ "schema": {
+ "$ref": "#/definitions/Secret"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get a secret": {
+ "$ref": "./examples/getSecret.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets": {
+ "get": {
+ "tags": [
+ "Secrets"
+ ],
+ "operationId": "Secrets_List",
+ "description": "The List operation gets information about the secrets in a vault. NOTE: This API is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Resource Group to which the vault belongs."
+ },
+ {
+ "name": "vaultName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the vault."
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "type": "integer",
+ "format": "int32",
+ "description": "Maximum number of results to return."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Get information about secrets in the specified vault.",
+ "schema": {
+ "$ref": "#/definitions/SecretListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List secrets in the vault": {
+ "$ref": "./examples/listSecrets.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ }
+ }
+ },
+ "definitions": {
+ "Attributes": {
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "description": "Determines whether the object is enabled."
+ },
+ "nbf": {
+ "x-ms-client-name": "NotBefore",
+ "type": "integer",
+ "format": "unixtime",
+ "description": "Not before date in seconds since 1970-01-01T00:00:00Z."
+ },
+ "exp": {
+ "x-ms-client-name": "Expires",
+ "type": "integer",
+ "format": "unixtime",
+ "description": "Expiry date in seconds since 1970-01-01T00:00:00Z."
+ },
+ "created": {
+ "type": "integer",
+ "format": "unixtime",
+ "readOnly": true,
+ "description": "Creation time in seconds since 1970-01-01T00:00:00Z."
+ },
+ "updated": {
+ "type": "integer",
+ "format": "unixtime",
+ "readOnly": true,
+ "description": "Last updated time in seconds since 1970-01-01T00:00:00Z."
+ }
+ },
+ "description": "The object attributes managed by the KeyVault service."
+ },
+ "SecretProperties": {
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "The value of the secret. NOTE: 'value' will never be returned from the service, as APIs using this model are is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets."
+ },
+ "contentType": {
+ "type": "string",
+ "description": "The content type of the secret."
+ },
+ "attributes": {
+ "$ref": "#/definitions/SecretAttributes",
+ "description": "The attributes of the secret."
+ },
+ "secretUri": {
+ "type": "string",
+ "description": "The URI to retrieve the current version of the secret.",
+ "readOnly": true
+ },
+ "secretUriWithVersion": {
+ "type": "string",
+ "description": "The URI to retrieve the specific version of the secret.",
+ "readOnly": true
+ }
+ },
+ "description": "Properties of the secret"
+ },
+ "SecretPatchProperties": {
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "The value of the secret."
+ },
+ "contentType": {
+ "type": "string",
+ "description": "The content type of the secret."
+ },
+ "attributes": {
+ "$ref": "#/definitions/SecretAttributes",
+ "description": "The attributes of the secret."
+ }
+ },
+ "description": "Properties of the secret"
+ },
+ "SecretAttributes": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/Attributes"
+ }
+ ],
+ "description": "The secret management attributes."
+ },
+ "SecretCreateOrUpdateParameters": {
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The tags that will be assigned to the secret. "
+ },
+ "properties": {
+ "$ref": "#/definitions/SecretProperties",
+ "description": "Properties of the secret"
+ }
+ },
+ "description": "Parameters for creating or updating a secret",
+ "required": [
+ "properties"
+ ],
+ "x-ms-azure-resource": true
+ },
+ "SecretPatchParameters": {
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The tags that will be assigned to the secret. "
+ },
+ "properties": {
+ "$ref": "#/definitions/SecretPatchProperties",
+ "description": "Properties of the secret"
+ }
+ },
+ "description": "Parameters for patching a secret",
+ "x-ms-azure-resource": true
+ },
+ "Secret": {
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/SecretProperties",
+ "description": "Properties of the secret"
+ }
+ },
+ "required": [
+ "properties"
+ ],
+ "allOf": [
+ {
+ "$ref": "./keyvault.json#/definitions/Resource"
+ }
+ ],
+ "description": "Resource information with extended details."
+ },
+ "SecretListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Secret"
+ },
+ "description": "The list of secrets."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of secrets."
+ }
+ },
+ "description": "List of secrets"
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "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."
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ }
+}
diff --git a/specification/keyvault/resource-manager/readme.md b/specification/keyvault/resource-manager/readme.md
index 973de064798b..6ebccfde4bec 100644
--- a/specification/keyvault/resource-manager/readme.md
+++ b/specification/keyvault/resource-manager/readme.md
@@ -26,7 +26,19 @@ These are the global settings for the KeyVault API.
``` yaml
openapi-type: arm
-tag: package-2018-02
+tag: package-2019-09
+```
+
+
+### Tag: package-2019-09
+
+These settings apply only when `--tag=package-2019-09` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-09'
+input-file:
+- Microsoft.KeyVault/stable/2019-09-01/keyvault.json
+- Microsoft.KeyVault/stable/2019-09-01/providers.json
+- Microsoft.KeyVault/stable/2019-09-01/secrets.json
```
@@ -119,6 +131,9 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.KeyVault/stable/2019-09-01/keyvault.json
+ - $(this-folder)/Microsoft.KeyVault/stable/2019-09-01/providers.json
+ - $(this-folder)/Microsoft.KeyVault/stable/2019-09-01/secrets.json
- $(this-folder)/Microsoft.KeyVault/preview/2018-02-14-preview/keyvault.json
- $(this-folder)/Microsoft.KeyVault/preview/2018-02-14-preview/providers.json
- $(this-folder)/Microsoft.KeyVault/preview/2018-02-14-preview/secrets.json
From 6d9255ebef8d148d0989a4fa191af594f37c8f4e Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Mon, 4 Nov 2019 09:37:43 +0800
Subject: [PATCH 130/189] add list of tests to be generated for
internet-analyzer (#7693)
---
.../frontdoor/resource-manager/readme.cli.md | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/specification/frontdoor/resource-manager/readme.cli.md b/specification/frontdoor/resource-manager/readme.cli.md
index 045f75768600..1519d62e362b 100644
--- a/specification/frontdoor/resource-manager/readme.cli.md
+++ b/specification/frontdoor/resource-manager/readme.cli.md
@@ -20,5 +20,17 @@ cli:
"/properties/endpointa": "endpointA_*/"
"/properties/endpointb": "endpointB_*/"
test-setup:
- - name: Create or Update a service with all parameters
+ - name: Creates an NetworkExperiment Profile in a Resource Group
+ - name: Creates an Experiment
+ - name: List NetworkExperiment Profiles in a Resource Group
+ # - name: Updates an Experiment
+ - name: Gets an NetworkExperiment Profile by Profile Id
+ - name: Gets an Experiment by ExperimentName
+ - name: Gets a list of Experiments
+ - name: Gets a list of Preconfigured Endpoints
+ - name: Gets a Latency Scorecard for a given Experiment
+ - name: Gets a Timeseries for a given Experiment
+ - name: Deletes an Experiment
+ - name: Deletes an NetworkExperiment Profile by ProfileName
+
```
From c2e7cf68dcc2b11fec11f4a22631c357f3b9e7b9 Mon Sep 17 00:00:00 2001
From: Jane Lijuan Zhang
Date: Sun, 3 Nov 2019 17:59:17 -0800
Subject: [PATCH 131/189] [Datafactory] Add reportStatusOnCallBack property to
webhook activity (#7682)
* Add reportStatusOnCallBack property to webhook activity
* Change type to object
---
.../stable/2018-06-01/entityTypes/Pipeline.json | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
index d4e682a34bfc..0ab21be73251 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
@@ -5664,6 +5664,10 @@
"authentication": {
"description": "Authentication method used for calling the endpoint.",
"$ref": "#/definitions/WebActivityAuthentication"
+ },
+ "reportStatusOnCallBack": {
+ "type": "object",
+ "description": "When set to true, statusCode, output and error in callback request body will be consumed by activity. The activity can be marked as failed by setting statusCode >= 400 in callback request. Default is false. Type: boolean (or Expression with resultType boolean)."
}
},
"required": [
From 7a8e92719af94d124be97d08ed441171856d1980 Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Mon, 4 Nov 2019 10:21:36 +0800
Subject: [PATCH 132/189] Fixed scope assignments and some documentation
(#7665)
---
.../ScopeAssignmentsDelete.json | 2 +-
.../ScopeAssignment/ScopeAssignmentsGet.json | 2 +-
.../ScopeAssignment/ScopeAssignmentsList.json | 2 +-
.../ScopeAssignment/ScopeAssignmentsPut.json | 2 +-
.../2019-06-01-preview/managedNetwork.json | 4 +-
.../resource-manager/readme.cli.md | 46 +++++++++++++++++--
.../web/resource-manager/readme.cli.md | 1 +
7 files changed, 49 insertions(+), 10 deletions(-)
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsDelete.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsDelete.json
index 7833f39f1a0d..f9c417947452 100644
--- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsDelete.json
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsDelete.json
@@ -2,7 +2,7 @@
"title": "Create/Update Managed Network",
"parameters": {
"api-version": "2019-06-01",
- "scope": "/subscriptions/subscriptionC",
+ "scope": "subscriptions/subscriptionC",
"scopeAssignmentName": "subscriptionCAssignment"
},
"responses": {
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsGet.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsGet.json
index ae0414848e4f..af7bedb2f4b2 100644
--- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsGet.json
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsGet.json
@@ -2,7 +2,7 @@
"title": "Create/Update Managed Network",
"parameters": {
"api-version": "2019-06-01",
- "scope": "/subscriptions/subscriptionC",
+ "scope": "subscriptions/subscriptionC",
"scopeAssignmentName": "subscriptionCAssignment"
},
"responses": {
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsList.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsList.json
index 235e7d5a3ae0..52e0a12c67a3 100644
--- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsList.json
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsList.json
@@ -2,7 +2,7 @@
"title": "Create/Update Managed Network",
"parameters": {
"api-version": "2019-06-01",
- "scope": "/subscriptions/subscriptionC"
+ "scope": "subscriptions/subscriptionC"
},
"responses": {
"200": {
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsPut.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsPut.json
index 95179433f1be..9504bee14682 100644
--- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsPut.json
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsPut.json
@@ -2,7 +2,7 @@
"title": "Create/Update Managed Network",
"parameters": {
"api-version": "2019-06-01",
- "scope": "/subscriptions/subscriptionC",
+ "scope": "subscriptions/subscriptionC",
"scopeAssignmentName": "subscriptionCAssignment",
"parameters": {
"properties": {
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/managedNetwork.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/managedNetwork.json
index 487d426e914e..a2708092d737 100644
--- a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/managedNetwork.json
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/managedNetwork.json
@@ -398,7 +398,7 @@
"in": "path",
"required": true,
"type": "string",
- "description": "The base resource of the scope assignment to create. The scope can be any REST resource instance. For example, use '/subscriptions/{subscription-id}/' for a subscription, '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource.",
+ "description": "The base resource of the scope assignment to create. The scope can be any REST resource instance. For example, use 'subscriptions/{subscription-id}' for a subscription, 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and 'subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource.",
"x-ms-skip-url-encoding": true
},
{
@@ -1469,7 +1469,7 @@
"provisioningState": {
"type": "string",
"readOnly": true,
- "description": "Provisioning state of the ManagedNetwork resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.",
+ "description": "Provisioning state of the ManagedNetwork resource.",
"enum": [
"Updating",
"Deleting",
diff --git a/specification/managednetwork/resource-manager/readme.cli.md b/specification/managednetwork/resource-manager/readme.cli.md
index ffc074b777d1..5358ff8bfd66 100644
--- a/specification/managednetwork/resource-manager/readme.cli.md
+++ b/specification/managednetwork/resource-manager/readme.cli.md
@@ -4,13 +4,51 @@ These settings apply only when `--cli` is specified on the command line.
``` yaml $(cli)
cli:
- cli-name: managednetwork
+ cli-name: managed-network
namespace: azure.mgmt.managednetwork
package-name: azure-mgmt-managednetwork
- debug: true
cmd-override:
- "^.*[/]microsoft.managednetwork/scopeassignments([/][^/]*)?$": "managednetwork scope-assignment"
+ "^.*[/]microsoft.managednetwork/scopeassignments([/][^/]*)?$": "managed-network scope-assignment"
+ "^.*[/]managednetworkgroups([/][^/]*)?$": "managed-network group"
+ "^.*[/]managednetworkpeeringpolicies([/][^/]*)?$": "managed-network peering-policy"
+ option-override:
+ "scope_management_groups_id":
+ name: scope_management_groups
+ "scope_subscriptions_id":
+ name: scope_subscriptions
+ "scope_virtual_networks_id":
+ name: scope_virtual_networks
+ "scope_subnets_id":
+ name: scope_subnets
+ "management_groups_id":
+ name: management_groups
+ "subscriptions_id":
+ name: subscriptions
+ "virtual_networks_id":
+ name: virtual_networks
+ "subnets_id":
+ name: subnets
+ "spokes_id":
+ name: spokes
+ "mesh_id":
+ name: mesh
flatten-all: true
test-setup:
- - name: Create or Update a service with all parameters
+ - name: ManagedNetworksPut
+ - name: ManagementNetworkGroupsPut
+ - name: ScopeAssignmentsPut
+ - name: ManagedNetworkPeeringPoliciesPut
+ - name: ManagedNetworksGet
+ - name: ManagedNetworksListByResourceGroup
+ - name: ManagedNetworksListBySubscription
+ - name: ScopeAssignmentsGet
+ - name: ScopeAssignmentsList
+ - name: ManagementNetworkGroupsGet
+ - name: ManagedNetworksGroupsListByManagedNetwork
+ - name: ManagedNetworkPeeringPoliciesGet
+ - name: ManagedNetworkPeeringPoliciesListByManagedNetwork
+ - name: ManagedNetworkPeeringPoliciesDelete
+ - name: ScopeAssignmentsDelete
+ - name: ManagementNetworkGroupsDelete
+ - name: ManagedNetworksDelete
```
diff --git a/specification/web/resource-manager/readme.cli.md b/specification/web/resource-manager/readme.cli.md
index 01c9822abf35..607c014ddf18 100644
--- a/specification/web/resource-manager/readme.cli.md
+++ b/specification/web/resource-manager/readme.cli.md
@@ -9,4 +9,5 @@ cli:
namespace: azure.mgmt.web
test-setup:
- name: "Create Or Update App Service plan"
+ - name: "List operations"
```
From a3dae0dc2d24f690cbf9f560bbcdf6561a219787 Mon Sep 17 00:00:00 2001
From: Arcturus
Date: Mon, 4 Nov 2019 10:43:32 +0800
Subject: [PATCH 133/189] Fix output-folder error in azuredata (#7695)
---
specification/azuredata/resource-manager/readme.go.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/azuredata/resource-manager/readme.go.md b/specification/azuredata/resource-manager/readme.go.md
index 470d5832ef28..2a50752aefed 100644
--- a/specification/azuredata/resource-manager/readme.go.md
+++ b/specification/azuredata/resource-manager/readme.go.md
@@ -15,5 +15,5 @@ Please also specify `--go-sdks-folder=
Date: Mon, 4 Nov 2019 12:55:09 +0800
Subject: [PATCH 134/189] Fix namespace error in azuredata for golang (#7696)
---
specification/azuredata/resource-manager/readme.go.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/azuredata/resource-manager/readme.go.md b/specification/azuredata/resource-manager/readme.go.md
index 2a50752aefed..2530446aba4b 100644
--- a/specification/azuredata/resource-manager/readme.go.md
+++ b/specification/azuredata/resource-manager/readme.go.md
@@ -5,6 +5,7 @@ These settings apply only when `--go` is specified on the command line.
```yaml $(go)
go:
license-header: MICROSOFT_APACHE_NO_VERSION
+ namespace: azuredata
clear-output-folder: true
```
@@ -14,6 +15,5 @@ These settings apply only when `--tag=package-2017-03-01-preview --go` is specif
Please also specify `--go-sdks-folder=`.
```yaml $(tag) == 'package-2017-03-01-preview' && $(go)
-namespace: Microsoft.AzureData
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2017-03-01-preview/$(namespace)
```
From 5cfc3f8d2637184e59e4a9524e9635cf053c4f09 Mon Sep 17 00:00:00 2001
From: Vi Nguyen
Date: Mon, 4 Nov 2019 08:48:50 -0800
Subject: [PATCH 135/189] [Hub Generated] Review request for
Microsoft.Consumption to add version stable/2019-10-01 (#7653)
* Added billingFrequency docs for ARM RI transaction
* Added billingFrequency docs for ARM RI transaction + Remove unsupported resourceGroup scope for Marketplace
---
.../stable/2019-10-01/consumption.json | 7 ++++++-
.../ReservationTransactionsListByBillingAccountId.json | 6 ++++--
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json
index e9095e2221de..6dc8579fdee0 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json
@@ -3190,6 +3190,11 @@
"description": "The current enrollment.",
"type": "string",
"readOnly": true
+ },
+ "billingFrequency": {
+ "description": "The billing frequency, which can be either one-time or recurring.",
+ "type": "string",
+ "readOnly": true
}
}
},
@@ -4415,7 +4420,7 @@
"in": "path",
"required": true,
"type": "string",
- "description": "The scope associated with marketplace operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and ManagementGroup, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'",
+ "description": "The scope associated with marketplace operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and ManagementGroup, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'",
"x-ms-parameter-location": "method",
"x-ms-skip-url-encoding": true
},
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationTransactionsListByBillingAccountId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationTransactionsListByBillingAccountId.json
index 8e750c729526..6e4975760026 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationTransactionsListByBillingAccountId.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationTransactionsListByBillingAccountId.json
@@ -32,7 +32,8 @@
"accountOwnerEmail": "admin@microsoft.com",
"departmentName": "Unassigned",
"costCenter": "",
- "currentEnrollment": "123456"
+ "currentEnrollment": "123456",
+ "billingFrequency": "recurring"
}
},
{
@@ -59,7 +60,8 @@
"accountOwnerEmail": "admin@microsoft.com",
"departmentName": "Unassigned",
"costCenter": "",
- "currentEnrollment": "123456"
+ "currentEnrollment": "123456",
+ "billingFrequency": "recurring"
}
}
]
From 3653ff62fdbfaa8c9ce85f05abe8048f3ff96214 Mon Sep 17 00:00:00 2001
From: Filiz Topatan
Date: Mon, 4 Nov 2019 09:45:30 -0800
Subject: [PATCH 136/189] Add new provisioning state (#7687)
---
.../preview/2019-10-01-preview/deploymentScripts.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json
index d15176061033..6506e3c84a9e 100644
--- a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json
+++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json
@@ -617,7 +617,8 @@
"Running",
"Succeeded",
"Failed",
- "Canceled"
+ "Canceled",
+ "Expiring"
],
"x-ms-enum": {
"name": "ScriptProvisioningState",
From c05003510ad34fbd3c6c52926a6bba57070dd7fb Mon Sep 17 00:00:00 2001
From: Himanshu Chhabra
Date: Mon, 4 Nov 2019 15:05:08 -0800
Subject: [PATCH 137/189] [Routing Preference] Adding routing preferences API
changes, private repo PR# 973 (#7689)
* [Routing Preference] Adding routing preferences API changes, private repo PR#973
* Addressing Spell check validation, changed the description
---
.../stable/2019-06-01/storage.json | 110 ++++++++++++++++++
1 file changed, 110 insertions(+)
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
index d57f9625a916..3b8924b50edd 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
@@ -1630,6 +1630,11 @@
"modelAsString": true
},
"description": "Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled."
+ },
+ "routingPreference": {
+ "$ref": "#/definitions/RoutingPreference",
+ "x-ms-client-name": "RoutingPreference",
+ "description": "Maintains information about the network routing choice opted by the user for data transfer"
}
},
"description": "The parameters used to create the storage account."
@@ -1743,10 +1748,80 @@
"readOnly": true,
"type": "string",
"description": "Gets the dfs endpoint."
+ },
+ "microsoftEndpoints":{
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/StorageAccountMicrosoftEndpoints",
+ "description": "Gets the microsoft routing storage endpoints."
+ },
+ "internetEndpoints":{
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/StorageAccountInternetEndpoints",
+ "description": "Gets the internet routing storage endpoints"
}
},
"description": "The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object."
},
+ "StorageAccountMicrosoftEndpoints": {
+ "properties": {
+ "blob": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Gets the blob endpoint."
+ },
+ "queue": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Gets the queue endpoint."
+ },
+ "table": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Gets the table endpoint."
+ },
+ "file": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Gets the file endpoint."
+ },
+ "web": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Gets the web endpoint."
+ },
+ "dfs": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Gets the dfs endpoint."
+ }
+ },
+ "description": "The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object via a microsoft routing endpoint."
+ },
+ "StorageAccountInternetEndpoints": {
+ "properties": {
+ "blob": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Gets the blob endpoint."
+ },
+ "file": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Gets the file endpoint."
+ },
+ "web": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Gets the web endpoint."
+ },
+ "dfs": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Gets the dfs endpoint."
+ }
+ },
+ "description": "The URIs that are used to perform a retrieval of a public blob, file, web or dfs object via a internet routing endpoint."
+ },
"GeoReplicationStats": {
"properties": {
"status": {
@@ -1777,6 +1852,31 @@
},
"description": "Statistics related to replication for storage account's Blob, Table, Queue and File services. It is only available when geo-redundant replication is enabled for the storage account."
},
+ "RoutingPreference": {
+ "properties": {
+ "routingChoice": {
+ "type": "string",
+ "description": "Routing Choice defines the kind of network routing opted by the user. The default option is microsoft routing",
+ "enum": [
+ "MicrosoftRouting",
+ "InternetRouting"
+ ],
+ "x-ms-enum": {
+ "name": "RoutingChoice",
+ "modelAsString": true
+ }
+ },
+ "publishMicrosoftEndpoints": {
+ "type": "boolean",
+ "description": "A boolean flag which indicates whether microsoft routing storage endpoints are to be published"
+ },
+ "publishInternetEndpoints": {
+ "type": "boolean",
+ "description": "A boolean flag which indicates whether internet routing storage endpoints are to be published"
+ }
+ },
+ "description": "Routing preference defines the type of network, either microsoft or internet routing to be used to deliver the user data, the default option is microsoft routing"
+ },
"StorageAccountProperties": {
"properties": {
"provisioningState": {
@@ -1925,6 +2025,11 @@
"$ref": "#/definitions/PrivateEndpointConnection"
},
"description": "List of private endpoint connection associated with the specified storage account"
+ },
+ "routingPreference": {
+ "$ref": "#/definitions/RoutingPreference",
+ "x-ms-client-name": "RoutingPreference",
+ "description": "Maintains information about the network routing choice opted by the user for data transfer"
}
},
"description": "Properties of the storage account."
@@ -2087,6 +2192,11 @@
"modelAsString": true
},
"description": "Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled."
+ },
+ "routingPreference": {
+ "$ref": "#/definitions/RoutingPreference",
+ "x-ms-client-name": "RoutingPreference",
+ "description": "Maintains information about the network routing choice opted by the user for data transfer"
}
},
"description": "The parameters used when updating a storage account."
From d7c7f435cd8f2487a9f943aa550d70e8bc1cebae Mon Sep 17 00:00:00 2001
From: Avneep Dhanju
Date: Mon, 4 Nov 2019 15:46:02 -0800
Subject: [PATCH 138/189] [Hub Generated] Review request for Microsoft.Insights
to add version preview/2019-10-17-preview (#7611)
* Adds base for updating Microsoft.Insights from version preview/2018-06-17-preview to version 2019-10-17-preview
* Updates readme
* Updates API version in new specs and examples
* Adding initial files for Workbook templates.
* Fixing required fields.
* Adding PATCH.
* Fixing example ref for patch.
* Fixing references.
* Adding description for a property.
* Fix typo.
* Fix required properties.
* Fixing parameter types.
* Remove TagsParams.
* Fix another data type.
* Fix read only properties.
* More fixes.
* Renaming resource parameter.
* Removing operations file.
* Adding operations file.
* Fixes typo.
* Fix name.
* Adding workbooktemplates to custom words.
* Removing the operations api.
* Fix readme.
* Fixes from code review.
* Fixing examples schema.
* Fix Delete example response code.
* Fix default package in readme.
---
custom-words.txt | 1 +
.../examples/WorkbookTemplateAdd.json | 76 +++
.../examples/WorkbookTemplateDelete.json | 12 +
.../examples/WorkbookTemplateGet.json | 33 ++
.../examples/WorkbookTemplateUpdate.json | 55 +++
.../examples/WorkbookTemplatesList.json | 55 +++
.../workbookTemplates_API.json | 462 ++++++++++++++++++
.../resource-manager/readme.md | 20 +-
8 files changed, 708 insertions(+), 6 deletions(-)
create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateAdd.json
create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateDelete.json
create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateGet.json
create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateUpdate.json
create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplatesList.json
create mode 100644 specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/workbookTemplates_API.json
diff --git a/custom-words.txt b/custom-words.txt
index d49cb82d4bc6..ef7cf470ac86 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -1631,6 +1631,7 @@ Whois
Widevine
windowsazuremediaservices
wlmengg
+workbooktemplates
Workernode
workloadmonitor
workspace's
diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateAdd.json
new file mode 100644
index 000000000000..96952221b42b
--- /dev/null
+++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateAdd.json
@@ -0,0 +1,76 @@
+{
+ "parameters": {
+ "api-version": "2019-10-17-preview",
+ "resourceGroupName": "my-resource-group",
+ "resourceName": "testtemplate2",
+ "subscriptionId": "subid",
+ "workbookTemplateProperties": {
+ "location": "west us",
+ "properties": {
+ "priority": 1,
+ "author": "Contoso",
+ "galleries": [
+ {
+ "name": "Simple Template",
+ "category": "Failures",
+ "type": "tsg",
+ "resourceType": "microsoft.insights/components",
+ "order": 100
+ }
+ ],
+ "templateData": {}
+ },
+ "tags": null
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testtemplate2",
+ "location": "westeurope",
+ "tags": null,
+ "type": "microsoft.insights/workbooktemplates",
+ "id": "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba95/resourceGroups/testrg/providers/microsoft.insights/workbooktemplates/testtemplate2",
+ "properties": {
+ "priority": 1,
+ "author": "Contoso",
+ "templateData": { },
+ "galleries": [
+ {
+ "name": "Simple Template",
+ "category": "Failures",
+ "order": 100,
+ "type": "tsg",
+ "resourceType": "microsoft.insights/components"
+ }
+ ],
+ "localized": null
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testtemplate2",
+ "location": "westeurope",
+ "tags": null,
+ "type": "microsoft.insights/workbooktemplates",
+ "id": "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba95/resourceGroups/testrg/providers/microsoft.insights/workbooktemplates/testtemplate2",
+ "properties": {
+ "priority": 1,
+ "author": "Contoso",
+ "templateData": { },
+ "galleries": [
+ {
+ "name": "Simple Template",
+ "category": "Failures",
+ "order": 100,
+ "type": "tsg",
+ "resourceType": "microsoft.insights/components"
+ }
+ ],
+ "localized": null
+ }
+ }
+ }
+ }
+}
diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateDelete.json
new file mode 100644
index 000000000000..c7e8656e5c31
--- /dev/null
+++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateDelete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-10-17-preview",
+ "subscriptionId": "subid",
+ "resourceGroupName": "my-resource-group",
+ "resourceName": "my-template-resource"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateGet.json
new file mode 100644
index 000000000000..9cee90ca1109
--- /dev/null
+++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateGet.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2019-10-17-preview",
+ "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af",
+ "resourceGroupName": "my-resource-group",
+ "resourceName": "my-resource-name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "my-resource-name",
+ "type": "microsoft.insights/workbooktemplate",
+ "location": "westus",
+ "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/workbooktemplates/my-resource-name",
+ "properties": {
+ "priority": 1,
+ "author": "Contoso",
+ "galleries": [
+ {
+ "name": "Simple Template",
+ "category": "Failures",
+ "type": "tsg",
+ "resourceType": "microsoft.insights/components",
+ "order": 100
+ }
+ ],
+ "templateData": {}
+ },
+ "tags": null
+ }
+ }
+ }
+}
diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateUpdate.json
new file mode 100644
index 000000000000..f4003ff0bf85
--- /dev/null
+++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateUpdate.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2018-06-17-preview",
+ "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af",
+ "resourceGroupName": "my-resource-group",
+ "resourceName": "my-template-resource",
+ "workbookTemplateProperties": {
+ "name": "display-name-of-template",
+ "location": "west us",
+ "type": "microsoft.insights/workbooktemplates",
+ "properties": {
+ "priority": 1,
+ "author": "Contoso",
+ "galleries": [
+ {
+ "name": "Simple Template",
+ "category": "Failures",
+ "type": "tsg",
+ "resourceType": "microsoft.insights/components",
+ "order": 100
+ }
+ ],
+ "templateData": {}
+ },
+ "tags": null
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testtemplate2",
+ "location": "westeurope",
+ "tags": null,
+ "type": "microsoft.insights/workbooktemplates",
+ "id": "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba95/resourceGroups/testrg/providers/microsoft.insights/workbooktemplates/testtemplate2",
+ "properties": {
+ "priority": 1,
+ "author": "Contoso",
+ "templateData": { },
+ "galleries": [
+ {
+ "name": "Simple Template",
+ "category": "Failures",
+ "order": 100,
+ "type": "tsg",
+ "resourceType": "microsoft.insights/components"
+ }
+ ],
+ "localized": null
+ }
+ }
+ }
+ }
+ }
+
\ No newline at end of file
diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplatesList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplatesList.json
new file mode 100644
index 000000000000..0a851f164f0f
--- /dev/null
+++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplatesList.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-10-17-preview",
+ "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af",
+ "resourceGroupName": "my-resource-group"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "name": "my-resource-name",
+ "type": "microsoft.insights/workbooktemplate",
+ "location": "westus",
+ "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/workbooktemplates/my-resource-name",
+ "properties": {
+ "priority": 1,
+ "author": "Contoso",
+ "galleries": [
+ {
+ "name": "Simple Template",
+ "category": "Failures",
+ "type": "tsg",
+ "resourceType": "microsoft.insights/components",
+ "order": 100
+ }
+ ],
+ "templateData": {}
+ },
+ "tags": null
+ },
+ {
+ "name": "my-resource-name2",
+ "type": "microsoft.insights/workbooktemplate",
+ "location": "westus",
+ "id": "/subscriptions/6b643656-33eb-422f-aee8-3ac145d124af/resourceGroups/my-resource-group/providers/microsoft.insights/workbooktemplates/my-resource-name2",
+ "properties": {
+ "priority": 1,
+ "author": "Contoso",
+ "galleries": [
+ {
+ "name": "Simple Template 2",
+ "category": "Failures",
+ "type": "tsg",
+ "resourceType": "microsoft.insights/components",
+ "order": 100
+ }
+ ],
+ "templateData": {}
+ },
+ "tags": null
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/workbookTemplates_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/workbookTemplates_API.json
new file mode 100644
index 000000000000..d1c3fab2538e
--- /dev/null
+++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/workbookTemplates_API.json
@@ -0,0 +1,462 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "ApplicationInsightsManagementClient",
+ "description": "Azure Application Insights workbook template type.",
+ "version": "2019-10-17-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/microsoft.insights/workbooktemplates": {
+ "get": {
+ "description": "Get all Workbook templates defined within a specified resource group.",
+ "operationId": "WorkbookTemplates_ListByResourceGroup",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A list containing 0 or more workbook template definitions.",
+ "schema": {
+ "$ref": "#/definitions/WorkbookTemplatesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/WorkbookError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "x-ms-examples": {
+ "WorkbookTemplatesList": {
+ "$ref": "./examples/WorkbookTemplatesList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/microsoft.insights/workbooktemplates/{resourceName}": {
+ "get": {
+ "description": "Get a single workbook template by its resourceName.",
+ "operationId": "WorkbookTemplates_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkbookTemplateResourceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A workbook template definition.",
+ "schema": {
+ "$ref": "#/definitions/WorkbookTemplate"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/WorkbookError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "WorkbookTemplateGet": {
+ "$ref": "./examples/WorkbookTemplateGet.json"
+ }
+ }
+ },
+ "delete": {
+ "description": "Delete a workbook template.",
+ "operationId": "WorkbookTemplates_Delete",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkbookTemplateResourceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The workbook template has been successfully deleted."
+ },
+ "204": {
+ "description": "The resource doesn't exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/WorkbookError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "WorkbookTemplateDelete": {
+ "$ref": "./examples/WorkbookTemplateDelete.json"
+ }
+ }
+ },
+ "put": {
+ "description": "Create a new workbook template.",
+ "operationId": "WorkbookTemplates_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkbookTemplateResourceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "workbookTemplateProperties",
+ "description": "Properties that need to be specified to create a new workbook.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/WorkbookTemplate"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The newly created workbook template.",
+ "schema": {
+ "$ref": "#/definitions/WorkbookTemplate"
+ }
+ },
+ "201": {
+ "description": "The newly created workbook template.",
+ "schema": {
+ "$ref": "#/definitions/WorkbookTemplate"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/WorkbookError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "WorkbookTemplateAdd": {
+ "$ref": "./examples/WorkbookTemplateAdd.json"
+ }
+ }
+ },
+ "patch": {
+ "description": "Updates a workbook template that has already been added.",
+ "operationId": "WorkbookTemplates_Update",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkbookTemplateResourceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "WorkbookTemplateUpdateParameters",
+ "description": "Properties that need to be specified to patch a workbook template.",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/WorkbookTemplateUpdateParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The workbook template definition updated.",
+ "schema": {
+ "$ref": "#/definitions/WorkbookTemplate"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/WorkbookError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "WorkbookTemplateUpdate": {
+ "$ref": "./examples/WorkbookTemplateUpdate.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "WorkbookTemplateResource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource name."
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource type"
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true,
+ "description": "An azure resource object"
+ },
+ "WorkbookTemplatesListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/WorkbookTemplate"
+ },
+ "description": "An array of workbook templates."
+ }
+ },
+ "description": "WorkbookTemplate list result."
+ },
+ "WorkbookTemplate": {
+ "description": "An Application Insights workbook template definition.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/WorkbookTemplateResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Metadata describing a workbook template for an Azure resource.",
+ "$ref": "#/definitions/WorkbookTemplateProperties"
+ }
+ }
+ },
+ "WorkbookTemplateProperties": {
+ "description": "Properties that contain a workbook template.",
+ "required": [
+ "templateData",
+ "galleries"
+ ],
+ "properties": {
+ "priority": {
+ "type": "integer",
+ "description": "Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode."
+ },
+ "author": {
+ "type": "string",
+ "description": "Information about the author of the workbook template."
+ },
+ "templateData": {
+ "type": "object",
+ "description": "Valid JSON object containing workbook template payload."
+ },
+ "galleries": {
+ "type": "array",
+ "description": "Workbook galleries supported by the template.",
+ "items": {
+ "$ref": "#/definitions/WorkbookTemplateGallery"
+ }
+ },
+ "localized": {
+ "type": "object",
+ "description": "Key value pair of localized gallery. Each key is the locale code of languages supported by the Azure portal.",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/WorkbookTemplateLocalizedGallery"
+ }
+ }
+ }
+ }
+ },
+ "WorkbookTemplateGallery": {
+ "description": "Gallery information for a workbook template.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the workbook template in the gallery."
+ },
+ "category": {
+ "type": "string",
+ "description": "Category for the gallery."
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of workbook supported by the workbook template."
+ },
+ "order": {
+ "type": "integer",
+ "description": "Order of the template within the gallery."
+ },
+ "resourceType": {
+ "type": "string",
+ "description": "Azure resource type supported by the gallery."
+ }
+ }
+ },
+ "WorkbookTemplateLocalizedGallery": {
+ "description": "Localized template data and gallery information.",
+ "properties": {
+ "templateData": {
+ "type": "object",
+ "description": "Valid JSON object containing workbook template payload."
+ },
+ "galleries": {
+ "type": "array",
+ "description": "Workbook galleries supported by the template.",
+ "items": {
+ "$ref": "#/definitions/WorkbookTemplateGallery"
+ }
+ }
+ }
+ },
+ "WorkbookTemplateUpdateParameters": {
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Metadata describing a workbook for an Azure resource.",
+ "$ref": "#/definitions/WorkbookTemplateProperties"
+ }
+ },
+ "description": "The parameters that can be provided when updating workbook template."
+ },
+ "ErrorFieldContract": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Property level error code."
+ },
+ "message": {
+ "type": "string",
+ "description": "Human-readable representation of property-level error."
+ },
+ "target": {
+ "type": "string",
+ "description": "Property name."
+ }
+ },
+ "description": "Error Field contract."
+ },
+ "WorkbookError": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response."
+ },
+ "message": {
+ "type": "string",
+ "description": "Human-readable representation of the error."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorFieldContract"
+ },
+ "description": "The list of invalid fields send in request, in case of validation error."
+ }
+ },
+ "description": "Error message body that will indicate why the operation failed."
+ }
+ },
+ "parameters": {
+ "WorkbookTemplateResourceNameParameter": {
+ "name": "resourceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Application Insights component resource.",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md
index d9c8f32b0150..809ba5817ac3 100644
--- a/specification/applicationinsights/resource-manager/readme.md
+++ b/specification/applicationinsights/resource-manager/readme.md
@@ -19,9 +19,8 @@ To see additional help and options, run:
## Configuration
-
-
### Basic Information
+
These are the global settings for the ApplicationInsights API.
``` yaml
@@ -32,6 +31,7 @@ tag: package-2015-05
```
## Suppression
+
``` yaml
directive:
- suppress: LongRunningOperationsWithLongRunningExtension
@@ -277,6 +277,15 @@ input-file:
- Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json
```
+### Tag: package-2019-10-17-preview
+
+These settings apply only when `--tag=package-2019-10-17-preview` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-10-17-preview'
+input-file:
+ - Microsoft.Insights/preview/2019-10-17-preview/workbookTemplates_API.json
+```
+
### Tag: package-2018-05-01-preview
These settings apply only when `--tag=package-2018-05-01-preview` is specified on the command line.
@@ -297,8 +306,8 @@ input-file:
```
---
-# Code Generation
+# Code Generation
## Swagger to SDK
@@ -377,7 +386,7 @@ input-file:
- Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json
```
-## Multi-API/Profile support for AutoRest v3 generators
+## Multi-API/Profile support for AutoRest v3 generators
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
@@ -411,11 +420,10 @@ input-file:
```
-If there are files that should not be in the `all-api-versions` set,
+If there are files that should not be in the `all-api-versions` set,
uncomment the `exclude-file` section below and add the file paths.
``` yaml $(tag) == 'all-api-versions'
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```
-
From a98f1431fd75354f1f2f17bb74924e5242f615ce Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Mon, 4 Nov 2019 23:48:20 +0000
Subject: [PATCH 139/189] regenerated all-api-versions
---
specification/applicationinsights/resource-manager/readme.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md
index 809ba5817ac3..f6764b79bfc2 100644
--- a/specification/applicationinsights/resource-manager/readme.md
+++ b/specification/applicationinsights/resource-manager/readme.md
@@ -414,6 +414,7 @@ input-file:
- $(this-folder)/Microsoft.Insights/preview/2017-10-01/eaSubscriptionMigration_API.json
- $(this-folder)/Microsoft.Insights/preview/2017-10-01/componentFeaturesAndPricing_API.json
- $(this-folder)/Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json
+ - $(this-folder)/Microsoft.Insights/preview/2019-10-17-preview/workbookTemplates_API.json
- $(this-folder)/Microsoft.Insights/preview/2018-05-01/componentProactiveDetection_API.json
- $(this-folder)/Microsoft.Insights/preview/2019-09-01-preview/QueryPackQueries_API.json
- $(this-folder)/Microsoft.Insights/preview/2019-09-01-preview/QueryPacks_API.json
From 96785ccad044587b60166fe29f187061784050fb Mon Sep 17 00:00:00 2001
From: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com>
Date: Tue, 5 Nov 2019 08:02:23 +0800
Subject: [PATCH 140/189] add clear-output-folder in resource-manager
readme.typescript.md to fix js sdk build failure (#7676)
---
.../advisor/resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../appplatform/resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 2 ++
.../automation/resource-manager/readme.typescript.md | 1 +
.../azure-kusto/resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../azuredata/resource-manager/readme.typescript.md | 1 +
.../azurestack/resource-manager/readme.typescript.md | 1 +
.../batch/resource-manager/readme.typescript.md | 1 +
.../batchai/resource-manager/readme.typescript.md | 1 +
.../billing/resource-manager/readme.typescript.md | 1 +
.../blockchain/resource-manager/readme.typescript.md | 1 +
.../blueprint/resource-manager/readme.typescript.md | 1 +
.../botservice/resource-manager/readme.typescript.md | 1 +
.../cdn/resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../commerce/resource-manager/readme.typescript.md | 1 +
.../compute/resource-manager/readme.typescript.md | 1 +
.../consumption/resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../cosmos-db/resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../databox/resource-manager/readme.typescript.md | 1 +
.../databoxedge/resource-manager/readme.typescript.md | 1 +
.../databricks/resource-manager/readme.typescript.md | 1 +
.../datacatalog/resource-manager/readme.typescript.md | 1 +
.../datafactory/resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../devops/resource-manager/readme.typescript.md | 1 +
.../devspaces/resource-manager/readme.typescript.md | 1 +
.../devtestlabs/resource-manager/readme.typescript.md | 1 +
.../dns/resource-manager/readme.typescript.md | 2 ++
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../eventgrid/resource-manager/readme.typescript.md | 1 +
.../eventhub/resource-manager/readme.typescript.md | 1 +
.../frontdoor/resource-manager/readme.typescript.md | 1 +
.../hanaonazure/resource-manager/readme.typescript.md | 1 +
.../hdinsight/resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../imagebuilder/resource-manager/readme.typescript.md | 1 +
.../iotcentral/resource-manager/readme.typescript.md | 1 +
.../iothub/resource-manager/readme.typescript.md | 1 +
.../iotspaces/resource-manager/readme.typescript.md | 1 +
.../keyvault/resource-manager/readme.typescript.md | 2 ++
.../labservices/resource-manager/readme.typescript.md | 1 +
.../logic/resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 3 +++
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../maps/resource-manager/readme.typescript.md | 1 +
.../mariadb/resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../migrate/resource-manager/readme.typescript.md | 1 +
.../mixedreality/resource-manager/readme.typescript.md | 1 +
.../monitor/resource-manager/readme.typescript.md | 2 ++
.../msi/resource-manager/readme.typescript.md | 1 +
.../mysql/resource-manager/readme.typescript.md | 1 +
.../netapp/resource-manager/readme.typescript.md | 1 +
.../network/resource-manager/readme.typescript.md | 2 ++
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../peering/resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../portal/resource-manager/readme.typescript.md | 1 +
.../postgresql/resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../privatedns/resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../redis/resource-manager/readme.typescript.md | 1 +
.../relay/resource-manager/readme.typescript.md | 1 +
.../reservations/resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resources/resource-manager/readme.typescript.md | 10 ++++++++++
.../search/resource-manager/readme.typescript.md | 1 +
.../security/resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../service-map/resource-manager/readme.typescript.md | 1 +
.../servicebus/resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../signalr/resource-manager/readme.typescript.md | 1 +
.../softwareplan/resource-manager/readme.typescript.md | 1 +
.../sql/resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../storage/resource-manager/readme.typescript.md | 2 ++
.../storagecache/resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../storagesync/resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../subscription/resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../visualstudio/resource-manager/readme.typescript.md | 1 +
.../resource-manager/readme.typescript.md | 1 +
.../web/resource-manager/readme.typescript.md | 2 ++
.../windowsiot/resource-manager/readme.typescript.md | 1 +
118 files changed, 136 insertions(+)
diff --git a/specification/advisor/resource-manager/readme.typescript.md b/specification/advisor/resource-manager/readme.typescript.md
index 0bc1a0164ca7..6281961a7703 100644
--- a/specification/advisor/resource-manager/readme.typescript.md
+++ b/specification/advisor/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-advisor"
output-folder: "$(typescript-sdks-folder)/sdk/advisor/arm-advisor"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/analysisservices/resource-manager/readme.typescript.md b/specification/analysisservices/resource-manager/readme.typescript.md
index 9797529c81bd..7c303086796d 100644
--- a/specification/analysisservices/resource-manager/readme.typescript.md
+++ b/specification/analysisservices/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-analysisservices"
output-folder: "$(typescript-sdks-folder)/sdk/analysisservices/arm-analysisservices"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/apimanagement/resource-manager/readme.typescript.md b/specification/apimanagement/resource-manager/readme.typescript.md
index 2a1ed28c61fb..d5829b81d60b 100644
--- a/specification/apimanagement/resource-manager/readme.typescript.md
+++ b/specification/apimanagement/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-apimanagement"
output-folder: "$(typescript-sdks-folder)/sdk/apimanagement/arm-apimanagement"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/appconfiguration/resource-manager/readme.typescript.md b/specification/appconfiguration/resource-manager/readme.typescript.md
index e578f75f4f50..f7921465316d 100644
--- a/specification/appconfiguration/resource-manager/readme.typescript.md
+++ b/specification/appconfiguration/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-appconfiguration"
output-folder: "$(typescript-sdks-folder)/sdk/appconfiguration/arm-appconfiguration"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/applicationinsights/resource-manager/readme.typescript.md b/specification/applicationinsights/resource-manager/readme.typescript.md
index 58586fd079a9..7fe9dcb70d8e 100644
--- a/specification/applicationinsights/resource-manager/readme.typescript.md
+++ b/specification/applicationinsights/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-appinsights"
output-folder: "$(typescript-sdks-folder)/sdk/applicationinsights/arm-appinsights"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/appplatform/resource-manager/readme.typescript.md b/specification/appplatform/resource-manager/readme.typescript.md
index 5f77db04cc16..41364ec19329 100644
--- a/specification/appplatform/resource-manager/readme.typescript.md
+++ b/specification/appplatform/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-appplatform"
output-folder: "$(typescript-sdks-folder)/sdk/appplatform/arm-appplatform"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/authorization/resource-manager/readme.typescript.md b/specification/authorization/resource-manager/readme.typescript.md
index 4f6466008452..5074d3ab3c63 100644
--- a/specification/authorization/resource-manager/readme.typescript.md
+++ b/specification/authorization/resource-manager/readme.typescript.md
@@ -16,6 +16,7 @@ typescript:
typescript:
package-name: "@azure/arm-authorization"
output-folder: "$(typescript-sdks-folder)/sdk/authorization/arm-authorization"
+ clear-output-folder: true
```
### Profile: profile-hybrid-2019-03-01
@@ -26,6 +27,7 @@ These settings apply only when `--profile=profile-hybrid-2019-03-01` is specifie
typescript:
package-name: "@azure/arm-authorization-profile-2019-03-01-hybrid"
output-folder: "$(typescript-sdks-folder)/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid"
+ clear-output-folder: true
batch:
- tag: profile-hybrid-2019-03-01
```
diff --git a/specification/automation/resource-manager/readme.typescript.md b/specification/automation/resource-manager/readme.typescript.md
index ea94ced0e8e2..6099585196a2 100644
--- a/specification/automation/resource-manager/readme.typescript.md
+++ b/specification/automation/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-automation"
output-folder: "$(typescript-sdks-folder)/sdk/automation/arm-automation"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/azure-kusto/resource-manager/readme.typescript.md b/specification/azure-kusto/resource-manager/readme.typescript.md
index 727fef1297c6..c61a03a02d5f 100644
--- a/specification/azure-kusto/resource-manager/readme.typescript.md
+++ b/specification/azure-kusto/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-kusto"
output-folder: "$(typescript-sdks-folder)/packages/@azure/arm-kusto"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/azureactivedirectory/resource-manager/readme.typescript.md b/specification/azureactivedirectory/resource-manager/readme.typescript.md
index f39c6ec95767..e373ab4bb3b6 100644
--- a/specification/azureactivedirectory/resource-manager/readme.typescript.md
+++ b/specification/azureactivedirectory/resource-manager/readme.typescript.md
@@ -8,6 +8,7 @@ typescript:
azure-arm: true
package-name: "azureactivedirectory"
output-folder: "$(typescript-sdks-folder)/packages/azureactivedirectory"
+ clear-output-folder: true
payload-flattening-threshold: 1
generate-metadata: true
```
diff --git a/specification/azuredata/resource-manager/readme.typescript.md b/specification/azuredata/resource-manager/readme.typescript.md
index c1e4a949375e..662b573cd1b5 100644
--- a/specification/azuredata/resource-manager/readme.typescript.md
+++ b/specification/azuredata/resource-manager/readme.typescript.md
@@ -8,6 +8,7 @@ typescript:
azure-arm: true
package-name: "azuredata"
output-folder: "$(typescript-sdks-folder)/packages/azuredata"
+ clear-output-folder: true
payload-flattening-threshold: 1
generate-metadata: true
```
diff --git a/specification/azurestack/resource-manager/readme.typescript.md b/specification/azurestack/resource-manager/readme.typescript.md
index 07a47ea5a2f3..7f520452f5d5 100644
--- a/specification/azurestack/resource-manager/readme.typescript.md
+++ b/specification/azurestack/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-azurestack"
output-folder: "$(typescript-sdks-folder)/sdk/azurestack/arm-azurestack"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/batch/resource-manager/readme.typescript.md b/specification/batch/resource-manager/readme.typescript.md
index 26de4af5e50b..2db481be9600 100644
--- a/specification/batch/resource-manager/readme.typescript.md
+++ b/specification/batch/resource-manager/readme.typescript.md
@@ -8,6 +8,7 @@ typescript:
azure-arm: true
package-name: "@azure/arm-batch"
output-folder: "$(typescript-sdks-folder)/sdk/batch/arm-batch"
+ clear-output-folder: true
payload-flattening-threshold: 1
generate-metadata: true
```
diff --git a/specification/batchai/resource-manager/readme.typescript.md b/specification/batchai/resource-manager/readme.typescript.md
index 0affbae266b4..7fe1eb8e1ad6 100644
--- a/specification/batchai/resource-manager/readme.typescript.md
+++ b/specification/batchai/resource-manager/readme.typescript.md
@@ -8,6 +8,7 @@ typescript:
azure-arm: true
package-name: "@azure/arm-batchai"
output-folder: "$(typescript-sdks-folder)/sdk/batchai/arm-batchai"
+ clear-output-folder: true
payload-flattening-threshold: 1
generate-metadata: true
```
diff --git a/specification/billing/resource-manager/readme.typescript.md b/specification/billing/resource-manager/readme.typescript.md
index 42faf3d04bef..bfd32cfe2fe6 100644
--- a/specification/billing/resource-manager/readme.typescript.md
+++ b/specification/billing/resource-manager/readme.typescript.md
@@ -8,6 +8,7 @@ typescript:
azure-arm: true
package-name: "@azure/arm-billing"
output-folder: "$(typescript-sdks-folder)/sdk/billing/arm-billing"
+ clear-output-folder: true
payload-flattening-threshold: 1
generate-metadata: true
```
diff --git a/specification/blockchain/resource-manager/readme.typescript.md b/specification/blockchain/resource-manager/readme.typescript.md
index 8af015124e2f..ddb637e8e16a 100644
--- a/specification/blockchain/resource-manager/readme.typescript.md
+++ b/specification/blockchain/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-blockchain"
output-folder: "$(typescript-sdks-folder)/packages/@azure/arm-blockchain"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/blueprint/resource-manager/readme.typescript.md b/specification/blueprint/resource-manager/readme.typescript.md
index 118904eb0f0c..f6ed3aec8758 100644
--- a/specification/blueprint/resource-manager/readme.typescript.md
+++ b/specification/blueprint/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-blueprint"
output-folder: "$(typescript-sdks-folder)/packages/@azure/arm-blueprint"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/botservice/resource-manager/readme.typescript.md b/specification/botservice/resource-manager/readme.typescript.md
index 24198e2e4175..82dedaee02ad 100644
--- a/specification/botservice/resource-manager/readme.typescript.md
+++ b/specification/botservice/resource-manager/readme.typescript.md
@@ -15,4 +15,5 @@ typescript:
typescript:
package-name: "@azure/arm-botservice"
output-folder: "$(typescript-sdks-folder)/sdk/botservice/arm-botservice"
+ clear-output-folder: true
```
diff --git a/specification/cdn/resource-manager/readme.typescript.md b/specification/cdn/resource-manager/readme.typescript.md
index bd2a17ef3bf2..148f723dbe4b 100644
--- a/specification/cdn/resource-manager/readme.typescript.md
+++ b/specification/cdn/resource-manager/readme.typescript.md
@@ -10,5 +10,6 @@ typescript:
payload-flattening-threshold: 2
package-name: "@azure/arm-cdn"
output-folder: "$(typescript-sdks-folder)/sdk/cdn/arm-cdn"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/cognitiveservices/resource-manager/readme.typescript.md b/specification/cognitiveservices/resource-manager/readme.typescript.md
index df095dac096d..f181c61e0894 100644
--- a/specification/cognitiveservices/resource-manager/readme.typescript.md
+++ b/specification/cognitiveservices/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-cognitiveservices"
output-folder: "$(typescript-sdks-folder)/sdk/cognitiveservices/arm-cognitiveservices"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/commerce/resource-manager/readme.typescript.md b/specification/commerce/resource-manager/readme.typescript.md
index 19e413fc2967..89caa7dad746 100644
--- a/specification/commerce/resource-manager/readme.typescript.md
+++ b/specification/commerce/resource-manager/readme.typescript.md
@@ -8,6 +8,7 @@ typescript:
azure-arm: true
package-name: "@azure/arm-commerce"
output-folder: "$(typescript-sdks-folder)/sdk/commerce/arm-commerce"
+ clear-output-folder: true
payload-flattening-threshold: 2
generate-metadata: true
```
diff --git a/specification/compute/resource-manager/readme.typescript.md b/specification/compute/resource-manager/readme.typescript.md
index 825cc3cf99c0..edaa0c805343 100644
--- a/specification/compute/resource-manager/readme.typescript.md
+++ b/specification/compute/resource-manager/readme.typescript.md
@@ -14,6 +14,7 @@ typescript:
``` yaml $(typescript) && !$(profile)
package-name: "@azure/arm-compute"
output-folder: "$(typescript-sdks-folder)/sdk/compute/arm-compute"
+ clear-output-folder: true
```
diff --git a/specification/consumption/resource-manager/readme.typescript.md b/specification/consumption/resource-manager/readme.typescript.md
index 616ad88356e8..58f3afa5c5c6 100644
--- a/specification/consumption/resource-manager/readme.typescript.md
+++ b/specification/consumption/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-consumption"
output-folder: "$(typescript-sdks-folder)/sdk/consumption/arm-consumption"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/containerinstance/resource-manager/readme.typescript.md b/specification/containerinstance/resource-manager/readme.typescript.md
index 9829c1e2f88b..48302990c6c1 100644
--- a/specification/containerinstance/resource-manager/readme.typescript.md
+++ b/specification/containerinstance/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-containerinstance"
output-folder: "$(typescript-sdks-folder)/containerinstance/arm-containerinstance"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/containerregistry/resource-manager/readme.typescript.md b/specification/containerregistry/resource-manager/readme.typescript.md
index b532cf90e05c..8fc2768ada95 100644
--- a/specification/containerregistry/resource-manager/readme.typescript.md
+++ b/specification/containerregistry/resource-manager/readme.typescript.md
@@ -12,5 +12,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-containerregistry"
output-folder: "$(typescript-sdks-folder)/sdk/containerregistry/arm-containerregistry"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/containerservice/resource-manager/readme.typescript.md b/specification/containerservice/resource-manager/readme.typescript.md
index 288ba334a779..cea54a251944 100644
--- a/specification/containerservice/resource-manager/readme.typescript.md
+++ b/specification/containerservice/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-containerservice"
output-folder: "$(typescript-sdks-folder)/sdk/containerservice/arm-containerservice"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/cosmos-db/resource-manager/readme.typescript.md b/specification/cosmos-db/resource-manager/readme.typescript.md
index e9a24c5e0332..5f0942e0a68c 100644
--- a/specification/cosmos-db/resource-manager/readme.typescript.md
+++ b/specification/cosmos-db/resource-manager/readme.typescript.md
@@ -8,6 +8,7 @@ typescript:
azure-arm: true
package-name: "@azure/arm-cosmosdb"
output-folder: "$(typescript-sdks-folder)/sdk/cosmosdb/arm-cosmosdb"
+ clear-output-folder: true
override-client-name: CosmosDBManagementClient
generate-metadata: true
```
diff --git a/specification/customer-insights/resource-manager/readme.typescript.md b/specification/customer-insights/resource-manager/readme.typescript.md
index 3ac0ca83f6fc..9ef9f6ea9691 100644
--- a/specification/customer-insights/resource-manager/readme.typescript.md
+++ b/specification/customer-insights/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-customerinsights"
output-folder: "$(typescript-sdks-folder)/sdk/customer-insights/arm-customerinsights"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/customproviders/resource-manager/readme.typescript.md b/specification/customproviders/resource-manager/readme.typescript.md
index 21682a2f4bf6..c287a421427f 100644
--- a/specification/customproviders/resource-manager/readme.typescript.md
+++ b/specification/customproviders/resource-manager/readme.typescript.md
@@ -8,6 +8,7 @@ typescript:
azure-arm: true
package-name: "customproviders"
output-folder: "$(typescript-sdks-folder)/packages/customproviders"
+ clear-output-folder: true
payload-flattening-threshold: 1
generate-metadata: true
```
diff --git a/specification/databox/resource-manager/readme.typescript.md b/specification/databox/resource-manager/readme.typescript.md
index 8e6f88e9699b..874695ed003e 100644
--- a/specification/databox/resource-manager/readme.typescript.md
+++ b/specification/databox/resource-manager/readme.typescript.md
@@ -10,5 +10,6 @@ typescript:
payload-flattening-threshold: 2
package-name: "@azure/arm-databox"
output-folder: "$(typescript-sdks-folder)/sdk/databox/arm-databox"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/databoxedge/resource-manager/readme.typescript.md b/specification/databoxedge/resource-manager/readme.typescript.md
index b7be35c182a7..0a2cccd5182c 100644
--- a/specification/databoxedge/resource-manager/readme.typescript.md
+++ b/specification/databoxedge/resource-manager/readme.typescript.md
@@ -10,5 +10,6 @@ typescript:
payload-flattening-threshold: 0
package-name: "@azure/arm-databoxedge"
output-folder: "$(typescript-sdks-folder)/sdk/databoxedge/arm-databoxedge"
+ clear-output-folder: true
generate-metadata: true
```
\ No newline at end of file
diff --git a/specification/databricks/resource-manager/readme.typescript.md b/specification/databricks/resource-manager/readme.typescript.md
index 128250c7801b..9bcaffb622d9 100644
--- a/specification/databricks/resource-manager/readme.typescript.md
+++ b/specification/databricks/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-databricks"
output-folder: "$(typescript-sdks-folder)/sdk/databricks/arm-databricks"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/datacatalog/resource-manager/readme.typescript.md b/specification/datacatalog/resource-manager/readme.typescript.md
index e6a31ff2e0d1..5f64c347c73c 100644
--- a/specification/datacatalog/resource-manager/readme.typescript.md
+++ b/specification/datacatalog/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-datacatalog"
output-folder: "$(typescript-sdks-folder)/sdk/datacatalog/arm-datacatalog"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/datafactory/resource-manager/readme.typescript.md b/specification/datafactory/resource-manager/readme.typescript.md
index 82fd7faff244..9890cad1e0fa 100644
--- a/specification/datafactory/resource-manager/readme.typescript.md
+++ b/specification/datafactory/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-datafactory"
output-folder: "$(typescript-sdks-folder)/sdk/datafactory/arm-datafactory"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/datamigration/resource-manager/readme.typescript.md b/specification/datamigration/resource-manager/readme.typescript.md
index b43aa2c0f365..a73e1c2862ac 100644
--- a/specification/datamigration/resource-manager/readme.typescript.md
+++ b/specification/datamigration/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-datamigration"
output-folder: "$(typescript-sdks-folder)/sdk/datamigration/arm-datamigration"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/deploymentmanager/resource-manager/readme.typescript.md b/specification/deploymentmanager/resource-manager/readme.typescript.md
index c5770c7c83d6..c11da5069a66 100644
--- a/specification/deploymentmanager/resource-manager/readme.typescript.md
+++ b/specification/deploymentmanager/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-deploymentmanager"
output-folder: "$(typescript-sdks-folder)/sdk/deploymentmanager/arm-deploymentmanager"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/deviceprovisioningservices/resource-manager/readme.typescript.md b/specification/deviceprovisioningservices/resource-manager/readme.typescript.md
index 3a67c09ede91..8668eaf50d13 100644
--- a/specification/deviceprovisioningservices/resource-manager/readme.typescript.md
+++ b/specification/deviceprovisioningservices/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-deviceprovisioningservices"
output-folder: "$(typescript-sdks-folder)/sdk/deviceprovisioningservices/arm-deviceprovisioningservices"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/devops/resource-manager/readme.typescript.md b/specification/devops/resource-manager/readme.typescript.md
index e6d6211f234a..8d12bf2e0294 100644
--- a/specification/devops/resource-manager/readme.typescript.md
+++ b/specification/devops/resource-manager/readme.typescript.md
@@ -8,6 +8,7 @@ typescript:
azure-arm: true
package-name: "@azure/arm-devops"
output-folder: "$(typescript-sdks-folder)/sdk/devops/arm-devops"
+ clear-output-folder: true
payload-flattening-threshold: 1
generate-metadata: true
```
diff --git a/specification/devspaces/resource-manager/readme.typescript.md b/specification/devspaces/resource-manager/readme.typescript.md
index be2a39dde63e..c1b5d5c77427 100644
--- a/specification/devspaces/resource-manager/readme.typescript.md
+++ b/specification/devspaces/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-devspaces"
output-folder: "$(typescript-sdks-folder)/sdk/devspaces/arm-devspaces"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/devtestlabs/resource-manager/readme.typescript.md b/specification/devtestlabs/resource-manager/readme.typescript.md
index 36da4a241211..62f2e7d37bd4 100644
--- a/specification/devtestlabs/resource-manager/readme.typescript.md
+++ b/specification/devtestlabs/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-devtestlabs"
output-folder: "$(typescript-sdks-folder)/sdk/devtestlabs/arm-devtestlabs"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/dns/resource-manager/readme.typescript.md b/specification/dns/resource-manager/readme.typescript.md
index fa9db07c9cad..c0561c3ae210 100644
--- a/specification/dns/resource-manager/readme.typescript.md
+++ b/specification/dns/resource-manager/readme.typescript.md
@@ -15,6 +15,7 @@ typescript:
typescript:
package-name: "@azure/arm-dns"
output-folder: "$(typescript-sdks-folder)/sdk/dns/arm-dns"
+ clear-output-folder: true
```
### Profile: profile-hybrid-2019-03-01
@@ -25,6 +26,7 @@ These settings apply only when `--profile=profile-hybrid-2019-03-01` is specifie
typescript:
package-name: "@azure/arm-dns-profile-2019-03-01-hybrid"
output-folder: "$(typescript-sdks-folder)/sdk/dns/arm-dns-profile-2019-03-01-hybrid"
+ clear-output-folder: true
batch:
- tag: profile-hybrid-2019-03-01
```
\ No newline at end of file
diff --git a/specification/domainservices/resource-manager/readme.typescript.md b/specification/domainservices/resource-manager/readme.typescript.md
index 925b4ee7379c..ec5d2b24f058 100644
--- a/specification/domainservices/resource-manager/readme.typescript.md
+++ b/specification/domainservices/resource-manager/readme.typescript.md
@@ -8,6 +8,7 @@ typescript:
azure-arm: true
package-name: "@azure/arm-domainservices"
output-folder: "$(typescript-sdks-folder)/sdk/domainservices/arm-domainservices"
+ clear-output-folder: true
override-client-name: DomainservicesManagementClient
generate-metadata: true
```
diff --git a/specification/engagementfabric/resource-manager/readme.typescript.md b/specification/engagementfabric/resource-manager/readme.typescript.md
index d0aac6a76647..84f67d1bc615 100644
--- a/specification/engagementfabric/resource-manager/readme.typescript.md
+++ b/specification/engagementfabric/resource-manager/readme.typescript.md
@@ -8,6 +8,7 @@ typescript:
azure-arm: true
package-name: "@azure/arm-engagementfabric"
output-folder: "$(typescript-sdks-folder)/packages/@azure/arm-engagementfabric"
+ clear-output-folder: true
payload-flattening-threshold: 1
generate-metadata: true
```
diff --git a/specification/eventgrid/resource-manager/readme.typescript.md b/specification/eventgrid/resource-manager/readme.typescript.md
index 357755b102f7..7f2e936a0f31 100644
--- a/specification/eventgrid/resource-manager/readme.typescript.md
+++ b/specification/eventgrid/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-eventgrid"
output-folder: "$(typescript-sdks-folder)/sdk/eventgrid/arm-eventgrid"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/eventhub/resource-manager/readme.typescript.md b/specification/eventhub/resource-manager/readme.typescript.md
index 96d9b4601eda..41049a534a56 100644
--- a/specification/eventhub/resource-manager/readme.typescript.md
+++ b/specification/eventhub/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-eventhub"
output-folder: "$(typescript-sdks-folder)/sdk/eventhub/arm-eventhub"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/frontdoor/resource-manager/readme.typescript.md b/specification/frontdoor/resource-manager/readme.typescript.md
index fd86181fb8f2..90f985069362 100644
--- a/specification/frontdoor/resource-manager/readme.typescript.md
+++ b/specification/frontdoor/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-frontdoor"
output-folder: "$(typescript-sdks-folder)/sdk/frontdoor/arm-frontdoor"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/hanaonazure/resource-manager/readme.typescript.md b/specification/hanaonazure/resource-manager/readme.typescript.md
index be56f979acf2..d57f1e22ffbc 100644
--- a/specification/hanaonazure/resource-manager/readme.typescript.md
+++ b/specification/hanaonazure/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-hanaonazure"
output-folder: "$(typescript-sdks-folder)/sdk/hanaonazure/arm-hanaonazure"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/hdinsight/resource-manager/readme.typescript.md b/specification/hdinsight/resource-manager/readme.typescript.md
index 2ef596a99331..308f7f5aa3b8 100644
--- a/specification/hdinsight/resource-manager/readme.typescript.md
+++ b/specification/hdinsight/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-hdinsight"
output-folder: "$(typescript-sdks-folder)/sdk/hdinsight/arm-hdinsight"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/healthcareapis/resource-manager/readme.typescript.md b/specification/healthcareapis/resource-manager/readme.typescript.md
index 3dbe1c766327..17ada12fe828 100644
--- a/specification/healthcareapis/resource-manager/readme.typescript.md
+++ b/specification/healthcareapis/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-healthcareapis"
output-folder: "$(typescript-sdks-folder)/sdk/healthcareapis/arm-healthcareapis"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/hybriddatamanager/resource-manager/readme.typescript.md b/specification/hybriddatamanager/resource-manager/readme.typescript.md
index 9d452fda0cdb..184b48a41079 100644
--- a/specification/hybriddatamanager/resource-manager/readme.typescript.md
+++ b/specification/hybriddatamanager/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-hybriddatamanager"
output-folder: "$(typescript-sdks-folder)/packages/@azure/arm-hybriddatamanager"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/imagebuilder/resource-manager/readme.typescript.md b/specification/imagebuilder/resource-manager/readme.typescript.md
index 934968e2480d..8e1c3fa62e96 100644
--- a/specification/imagebuilder/resource-manager/readme.typescript.md
+++ b/specification/imagebuilder/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-imagebuilder"
output-folder: "$(typescript-sdks-folder)/packages/@azure/arm-imagebuilder"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/iotcentral/resource-manager/readme.typescript.md b/specification/iotcentral/resource-manager/readme.typescript.md
index 9b9a8101b171..377cacde2019 100644
--- a/specification/iotcentral/resource-manager/readme.typescript.md
+++ b/specification/iotcentral/resource-manager/readme.typescript.md
@@ -8,6 +8,7 @@ typescript:
azure-arm: true
package-name: "@azure/arm-iotcentral"
output-folder: "$(typescript-sdks-folder)/sdk/iotcentral/arm-iotcentral"
+ clear-output-folder: true
payload-flattening-threshold: 1
generate-metadata: true
```
diff --git a/specification/iothub/resource-manager/readme.typescript.md b/specification/iothub/resource-manager/readme.typescript.md
index bae092757fa8..0abab2dbb88a 100644
--- a/specification/iothub/resource-manager/readme.typescript.md
+++ b/specification/iothub/resource-manager/readme.typescript.md
@@ -8,6 +8,7 @@ typescript:
azure-arm: true
package-name: "@azure/arm-iothub"
output-folder: "$(typescript-sdks-folder)/sdk/iothub/arm-iothub"
+ clear-output-folder: true
payload-flattening-threshold: 1
generate-metadata: true
```
diff --git a/specification/iotspaces/resource-manager/readme.typescript.md b/specification/iotspaces/resource-manager/readme.typescript.md
index 9b3848ac3577..79431dd1fcef 100644
--- a/specification/iotspaces/resource-manager/readme.typescript.md
+++ b/specification/iotspaces/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-iotspaces"
output-folder: "$(typescript-sdks-folder)/sdk/iotspaces/arm-iotspaces"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/keyvault/resource-manager/readme.typescript.md b/specification/keyvault/resource-manager/readme.typescript.md
index 95fdb422ed60..fbd12792209e 100644
--- a/specification/keyvault/resource-manager/readme.typescript.md
+++ b/specification/keyvault/resource-manager/readme.typescript.md
@@ -16,6 +16,7 @@ typescript:
typescript:
package-name: "@azure/arm-keyvault"
output-folder: "$(typescript-sdks-folder)/sdk/keyvault/arm-keyvault"
+ clear-output-folder: true
auto-publish: true
```
@@ -27,6 +28,7 @@ These settings apply only when `--profile=profile-hybrid-2019-03-01` is specifie
typescript:
package-name: "@azure/arm-keyvault-profile-2019-03-01-hybrid"
output-folder: "$(typescript-sdks-folder)/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid"
+ clear-output-folder: true
batch:
- tag: profile-hybrid-2019-03-01
```
diff --git a/specification/labservices/resource-manager/readme.typescript.md b/specification/labservices/resource-manager/readme.typescript.md
index bb4be9b055ad..9ec0e65cd4b5 100644
--- a/specification/labservices/resource-manager/readme.typescript.md
+++ b/specification/labservices/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-labservices"
output-folder: "$(typescript-sdks-folder)/sdk/labservices/arm-labservices"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/logic/resource-manager/readme.typescript.md b/specification/logic/resource-manager/readme.typescript.md
index 3c73b15d81cf..f9752dec4993 100644
--- a/specification/logic/resource-manager/readme.typescript.md
+++ b/specification/logic/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-logic"
output-folder: "$(typescript-sdks-folder)/sdk/logic/arm-logic"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/machinelearning/resource-manager/readme.typescript.md b/specification/machinelearning/resource-manager/readme.typescript.md
index 583530b43744..0cde1d92dcdb 100644
--- a/specification/machinelearning/resource-manager/readme.typescript.md
+++ b/specification/machinelearning/resource-manager/readme.typescript.md
@@ -11,10 +11,13 @@ batch:
- package-commitmentPlans: true
package-name: "@azure/arm-commitmentplans"
output-folder: $(typescript-sdks-folder)/sdk/machinelearning/arm-commitmentplans
+ clear-output-folder: true
- package-webservices: true
package-name: "@azure/arm-webservices"
output-folder: $(typescript-sdks-folder)/sdk/machinelearning/arm-webservices
+ clear-output-folder: true
- package-workspaces: true
package-name: "@azure/arm-workspaces"
output-folder: $(typescript-sdks-folder)/sdk/machinelearning/arm-workspaces
+ clear-output-folder: true
```
diff --git a/specification/machinelearningcompute/resource-manager/readme.typescript.md b/specification/machinelearningcompute/resource-manager/readme.typescript.md
index 93138120faef..9c6980bad7f4 100644
--- a/specification/machinelearningcompute/resource-manager/readme.typescript.md
+++ b/specification/machinelearningcompute/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-machinelearningcompute"
output-folder: "$(typescript-sdks-folder)/sdk/machinelearningcompute/arm-machinelearningcompute"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/machinelearningexperimentation/resource-manager/readme.typescript.md b/specification/machinelearningexperimentation/resource-manager/readme.typescript.md
index 0129637dce3d..2f5fc24afd3a 100644
--- a/specification/machinelearningexperimentation/resource-manager/readme.typescript.md
+++ b/specification/machinelearningexperimentation/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-machinelearningexperimentation"
output-folder: "$(typescript-sdks-folder)/sdk/machinelearningexperimentation/arm-machinelearningexperimentation"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/machinelearningservices/resource-manager/readme.typescript.md b/specification/machinelearningservices/resource-manager/readme.typescript.md
index 79360648f82a..bb3e3676bb3b 100644
--- a/specification/machinelearningservices/resource-manager/readme.typescript.md
+++ b/specification/machinelearningservices/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-machinelearningservices"
output-folder: "$(typescript-sdks-folder)/sdk/machinelearningservices/arm-machinelearningservices"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/managementgroups/resource-manager/readme.typescript.md b/specification/managementgroups/resource-manager/readme.typescript.md
index 5c997f4e2511..a159819b32a2 100644
--- a/specification/managementgroups/resource-manager/readme.typescript.md
+++ b/specification/managementgroups/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-managementgroups"
output-folder: "$(typescript-sdks-folder)/sdk/managementgroups/arm-managementgroups"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/managementpartner/resource-manager/readme.typescript.md b/specification/managementpartner/resource-manager/readme.typescript.md
index 901caa81d797..99b2224b71d1 100644
--- a/specification/managementpartner/resource-manager/readme.typescript.md
+++ b/specification/managementpartner/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-managementpartner"
output-folder: "$(typescript-sdks-folder)/sdk/managementpartner/arm-managementpartner"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/maps/resource-manager/readme.typescript.md b/specification/maps/resource-manager/readme.typescript.md
index 0e23a6a64bce..d40caf6854a4 100644
--- a/specification/maps/resource-manager/readme.typescript.md
+++ b/specification/maps/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-maps"
output-folder: "$(typescript-sdks-folder)/sdk/maps/arm-maps"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/mariadb/resource-manager/readme.typescript.md b/specification/mariadb/resource-manager/readme.typescript.md
index 1592eb5c4f29..00c154b893d2 100644
--- a/specification/mariadb/resource-manager/readme.typescript.md
+++ b/specification/mariadb/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-mariadb"
output-folder: "$(typescript-sdks-folder)/sdk/mariadb/arm-mariadb"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/marketplaceordering/resource-manager/readme.typescript.md b/specification/marketplaceordering/resource-manager/readme.typescript.md
index b270120734b4..4f44aac33df9 100644
--- a/specification/marketplaceordering/resource-manager/readme.typescript.md
+++ b/specification/marketplaceordering/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-marketplaceordering"
output-folder: "$(typescript-sdks-folder)/sdk/marketplaceordering/arm-marketplaceordering"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/mediaservices/resource-manager/readme.typescript.md b/specification/mediaservices/resource-manager/readme.typescript.md
index 25dcf854a0d3..174a7c3ffd9f 100644
--- a/specification/mediaservices/resource-manager/readme.typescript.md
+++ b/specification/mediaservices/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-mediaservices"
output-folder: "$(typescript-sdks-folder)/sdk/mediaservices/arm-mediaservices"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/migrate/resource-manager/readme.typescript.md b/specification/migrate/resource-manager/readme.typescript.md
index cfcdaad71600..2fecc8b495db 100644
--- a/specification/migrate/resource-manager/readme.typescript.md
+++ b/specification/migrate/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-migrate"
output-folder: "$(typescript-sdks-folder)/sdk/migrate/arm-migrate"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/mixedreality/resource-manager/readme.typescript.md b/specification/mixedreality/resource-manager/readme.typescript.md
index 0a091ac01461..b071b0f7d92b 100644
--- a/specification/mixedreality/resource-manager/readme.typescript.md
+++ b/specification/mixedreality/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-mixedreality"
output-folder: "$(typescript-sdks-folder)/sdk/mixedreality/arm-mixedreality"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/monitor/resource-manager/readme.typescript.md b/specification/monitor/resource-manager/readme.typescript.md
index a083b39f7158..dd4533910cc4 100644
--- a/specification/monitor/resource-manager/readme.typescript.md
+++ b/specification/monitor/resource-manager/readme.typescript.md
@@ -16,6 +16,7 @@ typescript:
typescript:
package-name: "@azure/arm-monitor"
output-folder: "$(typescript-sdks-folder)/sdk/monitor/arm-monitor"
+ clear-output-folder: true
```
### Profile: hybrid_2019_03_01
@@ -26,6 +27,7 @@ These settings apply only when `--profile=profile-hybrid-2019-03-01` is specifie
typescript:
package-name: "@azure/arm-monitor-profile-2019-03-01-hybrid"
output-folder: "$(typescript-sdks-folder)/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid"
+ clear-output-folder: true
batch:
- tag: profile-hybrid-2019-03-01
```
\ No newline at end of file
diff --git a/specification/msi/resource-manager/readme.typescript.md b/specification/msi/resource-manager/readme.typescript.md
index 317c7cb4db19..88a3da189cbc 100644
--- a/specification/msi/resource-manager/readme.typescript.md
+++ b/specification/msi/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-msi"
output-folder: "$(typescript-sdks-folder)/sdk/msi/arm-msi"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/mysql/resource-manager/readme.typescript.md b/specification/mysql/resource-manager/readme.typescript.md
index 61d1712653f0..6d6077583140 100644
--- a/specification/mysql/resource-manager/readme.typescript.md
+++ b/specification/mysql/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-mysql"
output-folder: "$(typescript-sdks-folder)/sdk/mysql/arm-mysql"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/netapp/resource-manager/readme.typescript.md b/specification/netapp/resource-manager/readme.typescript.md
index 6dae885ae037..01d25b26ab0c 100644
--- a/specification/netapp/resource-manager/readme.typescript.md
+++ b/specification/netapp/resource-manager/readme.typescript.md
@@ -9,5 +9,6 @@ typescript:
package-name: "@azure/arm-netapp"
payload-flattening-threshold: 2
output-folder: "$(typescript-sdks-folder)/sdk/netapp/arm-netapp"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/network/resource-manager/readme.typescript.md b/specification/network/resource-manager/readme.typescript.md
index 3a9d0388b7c3..e842ddd53dee 100644
--- a/specification/network/resource-manager/readme.typescript.md
+++ b/specification/network/resource-manager/readme.typescript.md
@@ -15,6 +15,7 @@ typescript:
typescript:
package-name: "@azure/arm-network"
output-folder: "$(typescript-sdks-folder)/sdk/network/arm-network"
+ clear-output-folder: true
```
### Profile: profile-hybrid-2019-03-01
@@ -25,6 +26,7 @@ These settings apply only when `--profile=profile-hybrid-2019-03-01` is specifie
typescript:
package-name: "@azure/arm-network-profile-2019-03-01-hybrid"
output-folder: "$(typescript-sdks-folder)/sdk/network/arm-network-profile-2019-03-01-hybrid"
+ clear-output-folder: true
batch:
- tag: profile-hybrid-2019-03-01
```
diff --git a/specification/notificationhubs/resource-manager/readme.typescript.md b/specification/notificationhubs/resource-manager/readme.typescript.md
index 3efd32d6dd1c..ba14198ec75e 100644
--- a/specification/notificationhubs/resource-manager/readme.typescript.md
+++ b/specification/notificationhubs/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-notificationhubs"
output-folder: "$(typescript-sdks-folder)/sdk/notificationhubs/arm-notificationhubs"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/operationalinsights/resource-manager/readme.typescript.md b/specification/operationalinsights/resource-manager/readme.typescript.md
index b8ca9c539698..f00f71a5717b 100644
--- a/specification/operationalinsights/resource-manager/readme.typescript.md
+++ b/specification/operationalinsights/resource-manager/readme.typescript.md
@@ -8,6 +8,7 @@ typescript:
azure-arm: true
package-name: "@azure/arm-operationalinsights"
output-folder: "$(typescript-sdks-folder)/sdk/operationalinsights/arm-operationalinsights"
+ clear-output-folder: true
override-client-name: OperationalInsightsManagementClient
generate-metadata: true
```
diff --git a/specification/operationsmanagement/resource-manager/readme.typescript.md b/specification/operationsmanagement/resource-manager/readme.typescript.md
index e0c91d69a235..e4403b972ad7 100644
--- a/specification/operationsmanagement/resource-manager/readme.typescript.md
+++ b/specification/operationsmanagement/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-operations"
output-folder: "$(typescript-sdks-folder)/sdk/operationsmanagement/arm-operations"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/peering/resource-manager/readme.typescript.md b/specification/peering/resource-manager/readme.typescript.md
index 539f0bf8d32f..240ebc4f72df 100644
--- a/specification/peering/resource-manager/readme.typescript.md
+++ b/specification/peering/resource-manager/readme.typescript.md
@@ -10,5 +10,6 @@ typescript:
payload-flattening-threshold: 2
package-name: "@azure/arm-peering"
output-folder: "$(typescript-sdks-folder)/sdk/peering/arm-peering"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/policyinsights/resource-manager/readme.typescript.md b/specification/policyinsights/resource-manager/readme.typescript.md
index e27ec6f1338e..61203077a204 100644
--- a/specification/policyinsights/resource-manager/readme.typescript.md
+++ b/specification/policyinsights/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-policyinsights"
output-folder: "$(typescript-sdks-folder)/sdk/policyinsights/arm-policyinsights"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/portal/resource-manager/readme.typescript.md b/specification/portal/resource-manager/readme.typescript.md
index 0a91f375800e..392e3ce53504 100644
--- a/specification/portal/resource-manager/readme.typescript.md
+++ b/specification/portal/resource-manager/readme.typescript.md
@@ -8,6 +8,7 @@ typescript:
azure-arm: true
package-name: "portal"
output-folder: "$(typescript-sdks-folder)/packages/portal"
+ clear-output-folder: true
payload-flattening-threshold: 1
generate-metadata: true
```
diff --git a/specification/postgresql/resource-manager/readme.typescript.md b/specification/postgresql/resource-manager/readme.typescript.md
index 444daf45092c..f0fb5561e92a 100644
--- a/specification/postgresql/resource-manager/readme.typescript.md
+++ b/specification/postgresql/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-postgresql"
output-folder: "$(typescript-sdks-folder)/sdk/postgresql/arm-postgresql"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/powerbidedicated/resource-manager/readme.typescript.md b/specification/powerbidedicated/resource-manager/readme.typescript.md
index ffc2a5540e19..4ff2b7b94f71 100644
--- a/specification/powerbidedicated/resource-manager/readme.typescript.md
+++ b/specification/powerbidedicated/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-powerbidedicated"
output-folder: "$(typescript-sdks-folder)/sdk/powerbidedicated/arm-powerbidedicated"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/powerbiembedded/resource-manager/readme.typescript.md b/specification/powerbiembedded/resource-manager/readme.typescript.md
index 9572c67e61f4..e9673861ff25 100644
--- a/specification/powerbiembedded/resource-manager/readme.typescript.md
+++ b/specification/powerbiembedded/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-powerbiembedded"
output-folder: "$(typescript-sdks-folder)/sdk/powerbiembedded/arm-powerbiembedded"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/privatedns/resource-manager/readme.typescript.md b/specification/privatedns/resource-manager/readme.typescript.md
index 094cdf3aaa97..561fd910adae 100644
--- a/specification/privatedns/resource-manager/readme.typescript.md
+++ b/specification/privatedns/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-privatedns"
output-folder: "$(typescript-sdks-folder)/sdk/privatedns/arm-privatedns"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/recoveryservices/resource-manager/readme.typescript.md b/specification/recoveryservices/resource-manager/readme.typescript.md
index e77e0ff2263a..e0456b95712e 100644
--- a/specification/recoveryservices/resource-manager/readme.typescript.md
+++ b/specification/recoveryservices/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-recoveryservices"
output-folder: "$(typescript-sdks-folder)/sdk/recoveryservices/arm-recoveryservices"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/recoveryservicesbackup/resource-manager/readme.typescript.md b/specification/recoveryservicesbackup/resource-manager/readme.typescript.md
index 61a878daaa06..0fea6b02f24b 100644
--- a/specification/recoveryservicesbackup/resource-manager/readme.typescript.md
+++ b/specification/recoveryservicesbackup/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-recoveryservicesbackup"
output-folder: "$(typescript-sdks-folder)/sdk/recoveryservicesbackup/arm-recoveryservicesbackup"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/recoveryservicessiterecovery/resource-manager/readme.typescript.md b/specification/recoveryservicessiterecovery/resource-manager/readme.typescript.md
index a5128fe16c60..38eddf31d9ed 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/readme.typescript.md
+++ b/specification/recoveryservicessiterecovery/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-recoveryservices-siterecovery"
output-folder: "$(typescript-sdks-folder)/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/redis/resource-manager/readme.typescript.md b/specification/redis/resource-manager/readme.typescript.md
index a948470a599f..5a42bf9e2ebb 100644
--- a/specification/redis/resource-manager/readme.typescript.md
+++ b/specification/redis/resource-manager/readme.typescript.md
@@ -8,6 +8,7 @@ typescript:
azure-arm: true
package-name: "@azure/arm-rediscache"
output-folder: "$(typescript-sdks-folder)/sdk/redis/arm-rediscache"
+ clear-output-folder: true
payload-flattening-threshold: 1
generate-metadata: true
```
diff --git a/specification/relay/resource-manager/readme.typescript.md b/specification/relay/resource-manager/readme.typescript.md
index 97e53370ebe1..e614ec2f1636 100644
--- a/specification/relay/resource-manager/readme.typescript.md
+++ b/specification/relay/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-relay"
output-folder: "$(typescript-sdks-folder)/sdk/relay/arm-relay"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/reservations/resource-manager/readme.typescript.md b/specification/reservations/resource-manager/readme.typescript.md
index 36750842cd7f..dc61d8d7d55e 100644
--- a/specification/reservations/resource-manager/readme.typescript.md
+++ b/specification/reservations/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-reservations"
output-folder: "$(typescript-sdks-folder)/sdk/reservations/arm-reservations"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/resourcegraph/resource-manager/readme.typescript.md b/specification/resourcegraph/resource-manager/readme.typescript.md
index da99dfdc8f8f..794ddba9b78e 100644
--- a/specification/resourcegraph/resource-manager/readme.typescript.md
+++ b/specification/resourcegraph/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-resourcegraph"
output-folder: "$(typescript-sdks-folder)/sdk/resourcegraph/arm-resourcegraph"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/resourcehealth/resource-manager/readme.typescript.md b/specification/resourcehealth/resource-manager/readme.typescript.md
index 339325b6f624..923eb2e1da72 100644
--- a/specification/resourcehealth/resource-manager/readme.typescript.md
+++ b/specification/resourcehealth/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-resourcehealth"
output-folder: "$(typescript-sdks-folder)/sdk/resourcehealth/arm-resourcehealth"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/resources/resource-manager/readme.typescript.md b/specification/resources/resource-manager/readme.typescript.md
index 5806648ccd04..f864f915b27d 100644
--- a/specification/resources/resource-manager/readme.typescript.md
+++ b/specification/resources/resource-manager/readme.typescript.md
@@ -21,36 +21,42 @@ batch:
typescript:
package-name: "@azure/arm-features"
output-folder: "$(typescript-sdks-folder)/sdk/features/arm-features"
+ clear-output-folder: true
```
```yaml $(typescript) && $(package-locks) && !$(profile)
typescript:
package-name: "@azure/arm-locks"
output-folder: "$(typescript-sdks-folder)/sdk/locks/arm-locks"
+ clear-output-folder: true
```
```yaml $(typescript) && $(package-policy) && !$(profile)
typescript:
package-name: "@azure/arm-policy"
output-folder: "$(typescript-sdks-folder)/sdk/policy/arm-policy"
+ clear-output-folder: true
```
```yaml $(typescript) && $(package-resources) && !$(profile)
typescript:
package-name: "@azure/arm-resources"
output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources"
+ clear-output-folder: true
```
```yaml $(typescript) && $(package-links) && !$(profile)
typescript:
package-name: "@azure/arm-links"
output-folder: "$(typescript-sdks-folder)/sdk/links/arm-links"
+ clear-output-folder: true
```
```yaml $(typescript) && $(package-managedapplications) && !$(profile)
typescript:
package-name: "@azure/arm-managedapplications"
output-folder: "$(typescript-sdks-folder)/sdk/managedapplications/arm-managedapplications"
+ clear-output-folder: true
```
```yaml $(tag)=='package-resources-2018-05' && $(profile)=='profile-hybrid-2019-03-01'
@@ -59,6 +65,7 @@ typescript:
generate-metadata: true
package-name: "@azure/arm-resources-profile-hybrid-2019-03-01"
output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-resources-profile-hybrid-2019-03-01"
+ clear-output-folder: true
batch:
- tag: package-resources-2018-05
```
@@ -69,6 +76,7 @@ typescript:
generate-metadata: true
package-name: "@azure/arm-policy-profile-hybrid-2019-03-01"
output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-policy-profile-hybrid-2019-03-01"
+ clear-output-folder: true
batch:
- tag: package-policy-2016-12
```
@@ -79,6 +87,7 @@ typescript:
generate-metadata: true
package-name: "@azure/arm-locks-profile-hybrid-2019-03-01"
output-folder: "$(typescript-sdks-folder)/sdk/resources/arm-locks-profile-hybrid-2019-03-01"
+ clear-output-folder: true
batch:
- tag: package-locks-2016-09
```
@@ -89,6 +98,7 @@ typescript:
generate-metadata: true
package-name: "@azure/arm-subscriptions-profile-hybrid-2019-03-01"
output-folder: "$(typescript-sdks-folder)/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01"
+ clear-output-folder: true
batch:
- tag: package-subscriptions-2016-06
```
\ No newline at end of file
diff --git a/specification/search/resource-manager/readme.typescript.md b/specification/search/resource-manager/readme.typescript.md
index 63d705d081bc..70c270f2eecb 100644
--- a/specification/search/resource-manager/readme.typescript.md
+++ b/specification/search/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-search"
output-folder: "$(typescript-sdks-folder)/sdk/search/arm-search"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/security/resource-manager/readme.typescript.md b/specification/security/resource-manager/readme.typescript.md
index 2112a21f2e48..05aa1724675f 100644
--- a/specification/security/resource-manager/readme.typescript.md
+++ b/specification/security/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-security"
output-folder: "$(typescript-sdks-folder)/sdk/security/arm-security"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/securityinsights/resource-manager/readme.typescript.md b/specification/securityinsights/resource-manager/readme.typescript.md
index f361a92f380d..358eec263b93 100644
--- a/specification/securityinsights/resource-manager/readme.typescript.md
+++ b/specification/securityinsights/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-securityinsight"
output-folder: "$(typescript-sdks-folder)/packages/@azure/arm-securityinsight"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/serialconsole/resource-manager/readme.typescript.md b/specification/serialconsole/resource-manager/readme.typescript.md
index 7892a6e8c101..f03a0692fa94 100644
--- a/specification/serialconsole/resource-manager/readme.typescript.md
+++ b/specification/serialconsole/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-serialconsole"
output-folder: "$(typescript-sdks-folder)/sdk/serialconsole/arm-serialconsole"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/service-map/resource-manager/readme.typescript.md b/specification/service-map/resource-manager/readme.typescript.md
index 116abd38e0a8..ae7725780de7 100644
--- a/specification/service-map/resource-manager/readme.typescript.md
+++ b/specification/service-map/resource-manager/readme.typescript.md
@@ -8,6 +8,7 @@ typescript:
azure-arm: true
package-name: "@azure/arm-servicemap"
output-folder: "$(typescript-sdks-folder)/sdk/service-map/arm-servicemap"
+ clear-output-folder: true
override-client-name: ServicemapManagementClient
generate-metadata: true
```
diff --git a/specification/servicebus/resource-manager/readme.typescript.md b/specification/servicebus/resource-manager/readme.typescript.md
index f75d388390aa..dd2cd0835d47 100644
--- a/specification/servicebus/resource-manager/readme.typescript.md
+++ b/specification/servicebus/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-servicebus"
output-folder: "$(typescript-sdks-folder)/sdk/servicebus/arm-servicebus"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/servicefabricmesh/resource-manager/readme.typescript.md b/specification/servicefabricmesh/resource-manager/readme.typescript.md
index 5ce9629016cd..c98f2446a38d 100644
--- a/specification/servicefabricmesh/resource-manager/readme.typescript.md
+++ b/specification/servicefabricmesh/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-servicefabricmesh"
output-folder: "$(typescript-sdks-folder)/packages/@azure/arm-servicefabricmesh"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/signalr/resource-manager/readme.typescript.md b/specification/signalr/resource-manager/readme.typescript.md
index 480fbb856aa6..d2724222c01b 100644
--- a/specification/signalr/resource-manager/readme.typescript.md
+++ b/specification/signalr/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-signalr"
output-folder: "$(typescript-sdks-folder)/sdk/signalr/arm-signalr"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/softwareplan/resource-manager/readme.typescript.md b/specification/softwareplan/resource-manager/readme.typescript.md
index f6a9f0e7845a..f32fe370c9ea 100644
--- a/specification/softwareplan/resource-manager/readme.typescript.md
+++ b/specification/softwareplan/resource-manager/readme.typescript.md
@@ -8,6 +8,7 @@ typescript:
azure-arm: true
package-name: "@azure/arm-softwareplan"
output-folder: "$(typescript-sdks-folder)/sdk/softwareplan/arm-softwareplan"
+ clear-output-folder: true
payload-flattening-threshold: 1
generate-metadata: true
```
diff --git a/specification/sql/resource-manager/readme.typescript.md b/specification/sql/resource-manager/readme.typescript.md
index ae5e3582e6be..a44895eb82a8 100644
--- a/specification/sql/resource-manager/readme.typescript.md
+++ b/specification/sql/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-sql"
output-folder: "$(typescript-sdks-folder)/sdk/sql/arm-sql"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/sqlvirtualmachine/resource-manager/readme.typescript.md b/specification/sqlvirtualmachine/resource-manager/readme.typescript.md
index 6bdf81b5c9d6..6548023ae586 100644
--- a/specification/sqlvirtualmachine/resource-manager/readme.typescript.md
+++ b/specification/sqlvirtualmachine/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-sqlvirtualmachine"
output-folder: "$(typescript-sdks-folder)/sdk/sqlvirtualmachine/arm-sqlvirtualmachine"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/storSimple1200Series/resource-manager/readme.typescript.md b/specification/storSimple1200Series/resource-manager/readme.typescript.md
index 83e97288d4f7..fcab88327ba9 100644
--- a/specification/storSimple1200Series/resource-manager/readme.typescript.md
+++ b/specification/storSimple1200Series/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-storsimple1200series"
output-folder: "$(typescript-sdks-folder)/sdk/storsimple1200series/arm-storsimple1200series"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/storage/resource-manager/readme.typescript.md b/specification/storage/resource-manager/readme.typescript.md
index a20c0ad3214a..0e532d33b959 100644
--- a/specification/storage/resource-manager/readme.typescript.md
+++ b/specification/storage/resource-manager/readme.typescript.md
@@ -17,6 +17,7 @@ typescript:
typescript:
package-name: "@azure/arm-storage"
output-folder: "$(typescript-sdks-folder)/sdk/storage/arm-storage"
+ clear-output-folder: true
```
### Profile: profile-hybrid-2019-03-01
@@ -27,6 +28,7 @@ These settings apply only when `--profile=profile-hybrid-2019-03-01` is specifie
typescript:
package-name: "@azure/arm-storage-profile-2019-03-01-hybrid"
output-folder: "$(typescript-sdks-folder)/sdk/storage/arm-storage-profile-2019-03-01-hybrid"
+ clear-output-folder: true
batch:
- tag: profile-hybrid-2019-03-01
```
diff --git a/specification/storagecache/resource-manager/readme.typescript.md b/specification/storagecache/resource-manager/readme.typescript.md
index 3c8bc521c8c9..b0a7cecdadf7 100644
--- a/specification/storagecache/resource-manager/readme.typescript.md
+++ b/specification/storagecache/resource-manager/readme.typescript.md
@@ -9,5 +9,6 @@ typescript:
package-name: "@azure/arm-storagecache"
payload-flattening-threshold: 2
output-folder: "$(typescript-sdks-folder)/sdk/storagecache/arm-storagecache"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/storageimportexport/resource-manager/readme.typescript.md b/specification/storageimportexport/resource-manager/readme.typescript.md
index 2dcadfb25071..5d0b9a3dd5b1 100644
--- a/specification/storageimportexport/resource-manager/readme.typescript.md
+++ b/specification/storageimportexport/resource-manager/readme.typescript.md
@@ -8,6 +8,7 @@ typescript:
azure-arm: true
package-name: "@azure/arm-storageimportexport"
output-folder: "$(typescript-sdks-folder)/sdk/storageimportexport/arm-storageimportexport"
+ clear-output-folder: true
override-client-name: StorageImportExportManagementClient
generate-metadata: true
```
diff --git a/specification/storagesync/resource-manager/readme.typescript.md b/specification/storagesync/resource-manager/readme.typescript.md
index eae226a96bb3..76e4f5790059 100644
--- a/specification/storagesync/resource-manager/readme.typescript.md
+++ b/specification/storagesync/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-storagesync"
output-folder: "$(typescript-sdks-folder)/sdk/storagesync/arm-storagesync"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/storsimple8000series/resource-manager/readme.typescript.md b/specification/storsimple8000series/resource-manager/readme.typescript.md
index ef221e50d8bd..3dd8f4458d86 100644
--- a/specification/storsimple8000series/resource-manager/readme.typescript.md
+++ b/specification/storsimple8000series/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-storsimple8000series"
output-folder: "$(typescript-sdks-folder)/sdk/storsimple8000series/arm-storsimple8000series"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/streamanalytics/resource-manager/readme.typescript.md b/specification/streamanalytics/resource-manager/readme.typescript.md
index 2f821ca2060f..3a4f8f727c17 100644
--- a/specification/streamanalytics/resource-manager/readme.typescript.md
+++ b/specification/streamanalytics/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-streamanalytics"
output-folder: "$(typescript-sdks-folder)/sdk/streamanalytics/arm-streamanalytics"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/subscription/resource-manager/readme.typescript.md b/specification/subscription/resource-manager/readme.typescript.md
index 40abcaef2d31..6d71fe07cfb8 100644
--- a/specification/subscription/resource-manager/readme.typescript.md
+++ b/specification/subscription/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-subscriptions"
output-folder: "$(typescript-sdks-folder)/sdk/subscription/arm-subscriptions"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/timeseriesinsights/resource-manager/readme.typescript.md b/specification/timeseriesinsights/resource-manager/readme.typescript.md
index 6d21c9222e7d..b7e49d52eea8 100644
--- a/specification/timeseriesinsights/resource-manager/readme.typescript.md
+++ b/specification/timeseriesinsights/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-timeseriesinsights"
output-folder: "$(typescript-sdks-folder)/sdk/timeseriesinsights/arm-timeseriesinsights"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/trafficmanager/resource-manager/readme.typescript.md b/specification/trafficmanager/resource-manager/readme.typescript.md
index 23579a69733c..a64e9f9eaaed 100644
--- a/specification/trafficmanager/resource-manager/readme.typescript.md
+++ b/specification/trafficmanager/resource-manager/readme.typescript.md
@@ -8,6 +8,7 @@ typescript:
azure-arm: true
package-name: "@azure/arm-trafficmanager"
output-folder: "$(typescript-sdks-folder)/sdk/trafficmanager/arm-trafficmanager"
+ clear-output-folder: true
payload-flattening-threshold: 1
generate-metadata: true
```
diff --git a/specification/visualstudio/resource-manager/readme.typescript.md b/specification/visualstudio/resource-manager/readme.typescript.md
index 507cb63fbad1..023863acb78d 100644
--- a/specification/visualstudio/resource-manager/readme.typescript.md
+++ b/specification/visualstudio/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-visualstudio"
output-folder: "$(typescript-sdks-folder)/sdk/visualstudio/arm-visualstudio"
+ clear-output-folder: true
generate-metadata: true
```
diff --git a/specification/vmwarecloudsimple/resource-manager/readme.typescript.md b/specification/vmwarecloudsimple/resource-manager/readme.typescript.md
index b5fe660b9203..3311d1866389 100644
--- a/specification/vmwarecloudsimple/resource-manager/readme.typescript.md
+++ b/specification/vmwarecloudsimple/resource-manager/readme.typescript.md
@@ -8,6 +8,7 @@ typescript:
azure-arm: true
package-name: "@azure/arm-vmwarecloudsimple"
output-folder: "$(typescript-sdks-folder)/sdk/vmwarecloudsimple/arm-vmwarecloudsimple"
+ clear-output-folder: true
payload-flattening-threshold: 1
generate-metadata: true
```
diff --git a/specification/web/resource-manager/readme.typescript.md b/specification/web/resource-manager/readme.typescript.md
index 9205e1955305..272e671d559e 100644
--- a/specification/web/resource-manager/readme.typescript.md
+++ b/specification/web/resource-manager/readme.typescript.md
@@ -16,6 +16,7 @@ typescript:
typescript:
package-name: "@azure/arm-appservice"
output-folder: "$(typescript-sdks-folder)/sdk/appservice/arm-appservice"
+ clear-output-folder: true
```
### Profile: profile-hybrid-2019-03-01
@@ -26,6 +27,7 @@ These settings apply only when `--profile=profile-hybrid-2019-03-01` is specifie
typescript:
package-name: "@azure/arm-appservice-profile-2019-03-01-hybrid"
output-folder: "$(typescript-sdks-folder)/sdk/appservice/arm-appservice-profile-2019-03-01-hybrid"
+ clear-output-folder: true
batch:
- tag: profile-hybrid-2019-03-01
```
\ No newline at end of file
diff --git a/specification/windowsiot/resource-manager/readme.typescript.md b/specification/windowsiot/resource-manager/readme.typescript.md
index bd84c8098c3b..73578a325bd2 100644
--- a/specification/windowsiot/resource-manager/readme.typescript.md
+++ b/specification/windowsiot/resource-manager/readme.typescript.md
@@ -8,5 +8,6 @@ typescript:
azure-arm: true
package-name: "@azure/arm-windowsiot"
output-folder: "$(typescript-sdks-folder)/packages/@azure/arm-windowsiot"
+ clear-output-folder: true
generate-metadata: true
```
\ No newline at end of file
From c4d7552ddb2058bf39c35617db9ec69b2be3abd3 Mon Sep 17 00:00:00 2001
From: shsingla <54308096+shsingla@users.noreply.github.com>
Date: Tue, 5 Nov 2019 07:27:03 +0530
Subject: [PATCH 141/189] Swagger changes for Microsoft.Migrate namespace
(#7063)
---
custom-words.txt | 3 +
.../examples/AssessedMachines_Get.json | 82 +
.../AssessedMachines_ListByAssessment.json | 153 +
.../examples/AssessmentOptions_Get.json | 800 ++++
.../examples/AssessmentOptions_List.json | 803 ++++
.../examples/Assessments_Create.json | 164 +
.../examples/Assessments_Delete.json | 14 +
.../2019-10-01/examples/Assessments_Get.json | 69 +
.../Assessments_GetReportDownloadUrl.json | 18 +
.../examples/Assessments_ListByGroup.json | 72 +
.../examples/Assessments_ListByProject.json | 181 +
.../2019-10-01/examples/Groups_Create.json | 47 +
.../2019-10-01/examples/Groups_Delete.json | 13 +
.../2019-10-01/examples/Groups_Get.json | 29 +
.../examples/Groups_ListByProject.json | 49 +
.../examples/HyperVCollectors_Create.json | 76 +
.../examples/HyperVCollectors_Delete.json | 13 +
.../examples/HyperVCollectors_Get.json | 36 +
.../HyperVCollectors_ListByProject.json | 39 +
.../2019-10-01/examples/Machines_Get.json | 50 +
.../examples/Machines_ListByProject.json | 90 +
.../2019-10-01/examples/Operations_List.json | 35 +
.../examples/ProjectsInSubscription_List.json | 224 +
.../2019-10-01/examples/Projects_Create.json | 67 +
.../2019-10-01/examples/Projects_Delete.json | 12 +
.../2019-10-01/examples/Projects_Get.json | 33 +
.../2019-10-01/examples/Projects_List.json | 36 +
.../2019-10-01/examples/Projects_Update.json | 44 +
.../examples/VMwareCollectors_Create.json | 76 +
.../examples/VMwareCollectors_Delete.json | 13 +
.../examples/VMwareCollectors_Get.json | 36 +
.../VMwareCollectors_ListByProject.json | 39 +
.../stable/2019-10-01/migrate.json | 3907 +++++++++++++++++
.../migrate/resource-manager/readme.md | 10 +
34 files changed, 7333 insertions(+)
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessedMachines_Get.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessedMachines_ListByAssessment.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessmentOptions_Get.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessmentOptions_List.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Create.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Delete.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Get.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_GetReportDownloadUrl.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_ListByGroup.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_ListByProject.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Create.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Delete.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Get.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_ListByProject.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Create.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Delete.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Get.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_ListByProject.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Machines_Get.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Machines_ListByProject.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Operations_List.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ProjectsInSubscription_List.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Create.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Delete.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Get.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_List.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Update.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Create.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Delete.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Get.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_ListByProject.json
create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/migrate.json
diff --git a/custom-words.txt b/custom-words.txt
index ef7cf470ac86..cbf32819fc57 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -1652,3 +1652,6 @@ Zilla
ziplist
Zoho
zset
+MSAZRUSGO
+hypervcollectors
+vmwarecollectors
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessedMachines_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessedMachines_Get.json
new file mode 100644
index 000000000000..792b98200cc7
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessedMachines_Get.json
@@ -0,0 +1,82 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abgoyalWEselfhostb72bproject",
+ "groupName": "Test1",
+ "assessmentName": "assessment_5_9_2019_16_22_14",
+ "assessedMachineName": "f57fe432-3bd2-486a-a83a-6f4d99f1a952"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/Test1/assessments/assessment_5_9_2019_16_22_14/assessedMachines/f57fe432-3bd2-486a-a83a-6f4d99f1a952",
+ "name": "f57fe432-3bd2-486a-a83a-6f4d99f1a952",
+ "eTag": "\"b300e5dd-0000-0d00-0000-5cd4065f0000\"",
+ "type": "Microsoft.Migrate/assessmentprojects/groups/assessments/assessedMachines",
+ "properties": {
+ "createdTimestamp": "2019-05-09T10:52:15.7789159Z",
+ "updatedTimestamp": "2019-05-09T10:52:15.7789159Z",
+ "bootType": "BIOS",
+ "displayName": "SHubhamVMNew",
+ "description": "Microsoft Azure Migration Image on Windows Server 2016",
+ "datacenterMachineArmId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourcegroups/abgoyal-westeurope/providers/microsoft.offazure/vmwaresites/portalvcenterbc2fsite/machines/idclab-a360-fareast-corp-micros-86617dcf-effe-59ad-8c3a-cdd3ea7300d3_52e1f68c-bea5-19ff-d0ad-6a94b79a286f",
+ "datacenterManagementServerArmId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.OffAzure/VMwareSites/PortalvCenterbc2fsite/vcenters/idclab-a360-fareast-corp-micros-86617dcf-effe-59ad-8c3a-cdd3ea7300d3",
+ "datacenterManagementServerName": "IDCLAB-A360.fareast.corp.microsoft.com",
+ "megabytesOfMemory": 16384.0,
+ "numberOfCores": 8,
+ "operatingSystemType": "windowsGuest",
+ "operatingSystemName": "Microsoft Windows Server 2016 (64-bit)",
+ "operatingSystemVersion": null,
+ "monthlyBandwidthCost": 0.0,
+ "monthlyStorageCost": 5.888,
+ "monthlyPremiumStorageCost": 0.0,
+ "monthlyStandardSSDStorageCost": 0.0,
+ "confidenceRatingInPercentage": 0.0,
+ "disks": {
+ "6000C299-02f5-d137-9bab-8a8ee7b192a0": {
+ "name": "6000C299-02f5-d137-9bab-8a8ee7b192a0",
+ "displayName": "scsi0:0",
+ "gigabytesProvisioned": 80.0,
+ "megabytesPerSecondOfRead": 0.0,
+ "megabytesPerSecondOfWrite": 0.0,
+ "numberOfReadOperationsPerSecond": 0.0,
+ "numberOfWriteOperationsPerSecond": 0.0,
+ "monthlyStorageCost": 5.888,
+ "recommendedDiskSize": "Standard_S10",
+ "recommendedDiskType": "Standard",
+ "gigabytesForRecommendedDiskSize": 128,
+ "suitability": "Suitable",
+ "suitabilityExplanation": "NotApplicable",
+ "suitabilityDetail": "NumberOfReadOperationsPerSecondMissing, NumberOfWriteOperationsPerSecondMissing, MegabytesPerSecondOfReadMissing, MegabytesPerSecondOfWriteMissing"
+ }
+ },
+ "networkAdapters": {
+ "4000": {
+ "macAddress": "00:0c:29:ad:13:d3",
+ "ipAddresses": [ ],
+ "displayName": "VM Network",
+ "megabytesPerSecondReceived": 0.0,
+ "megabytesPerSecondTransmitted": 0.0,
+ "monthlyBandwidthCosts": 0.0,
+ "netGigabytesTransmittedPerMonth": 0.0,
+ "suitability": "Suitable",
+ "suitabilityExplanation": "NotApplicable",
+ "suitabilityDetail": "MegabytesOfDataTransmittedMissing"
+ }
+ },
+ "recommendedSize": "Standard_F8s_v2",
+ "numberOfCoresForRecommendedSize": 8,
+ "megabytesOfMemoryForRecommendedSize": 16384.0,
+ "monthlyComputeCostForRecommendedSize": 101.138616,
+ "percentageCoresUtilization": 0.0,
+ "percentageMemoryUtilization": 0.0,
+ "suitability": "Suitable",
+ "suitabilityExplanation": "NotApplicable",
+ "suitabilityDetail": "PercentageOfCoresUtilizedMissing, PercentageOfMemoryUtilizedMissing"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessedMachines_ListByAssessment.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessedMachines_ListByAssessment.json
new file mode 100644
index 000000000000..433bc0f28b62
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessedMachines_ListByAssessment.json
@@ -0,0 +1,153 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abgoyalWEselfhostb72bproject",
+ "groupName": "Test1",
+ "assessmentName": "assessment_5_9_2019_16_22_14"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/Test1/assessments/assessment_5_9_2019_16_22_14/assessedMachines/f57fe432-3bd2-486a-a83a-6f4d99f1a952",
+ "name": "f57fe432-3bd2-486a-a83a-6f4d99f1a952",
+ "eTag": "\"b300e5dd-0000-0d00-0000-5cd4065f0000\"",
+ "type": "Microsoft.Migrate/assessmentprojects/groups/assessments/assessedMachines",
+ "properties": {
+ "createdTimestamp": "2019-05-09T10:52:15.7789159Z",
+ "updatedTimestamp": "2019-05-09T10:52:15.7789159Z",
+ "bootType": "BIOS",
+ "displayName": "SHubhamVMNew",
+ "description": "Microsoft Azure Migration Image on Windows Server 2016",
+ "datacenterMachineArmId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourcegroups/abgoyal-westeurope/providers/microsoft.offazure/vmwaresites/portalvcenterbc2fsite/machines/idclab-a360-fareast-corp-micros-86617dcf-effe-59ad-8c3a-cdd3ea7300d3_52e1f68c-bea5-19ff-d0ad-6a94b79a286f",
+ "datacenterManagementServerArmId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.OffAzure/VMwareSites/PortalvCenterbc2fsite/vcenters/idclab-a360-fareast-corp-micros-86617dcf-effe-59ad-8c3a-cdd3ea7300d3",
+ "datacenterManagementServerName": "IDCLAB-A360.fareast.corp.microsoft.com",
+ "megabytesOfMemory": 16384.0,
+ "numberOfCores": 8,
+ "operatingSystemType": "windowsGuest",
+ "operatingSystemName": "Microsoft Windows Server 2016 (64-bit)",
+ "operatingSystemVersion": null,
+ "monthlyBandwidthCost": 0.0,
+ "monthlyStorageCost": 5.888,
+ "monthlyPremiumStorageCost": 0.0,
+ "monthlyStandardSSDStorageCost": 0.0,
+ "confidenceRatingInPercentage": 0.0,
+ "disks": {
+ "6000C299-02f5-d137-9bab-8a8ee7b192a0": {
+ "name": "6000C299-02f5-d137-9bab-8a8ee7b192a0",
+ "displayName": "scsi0:0",
+ "gigabytesProvisioned": 80.0,
+ "megabytesPerSecondOfRead": 0.0,
+ "megabytesPerSecondOfWrite": 0.0,
+ "numberOfReadOperationsPerSecond": 0.0,
+ "numberOfWriteOperationsPerSecond": 0.0,
+ "monthlyStorageCost": 5.888,
+ "recommendedDiskSize": "Standard_S10",
+ "recommendedDiskType": "Standard",
+ "gigabytesForRecommendedDiskSize": 128,
+ "suitability": "Suitable",
+ "suitabilityExplanation": "NotApplicable",
+ "suitabilityDetail": "NumberOfReadOperationsPerSecondMissing, NumberOfWriteOperationsPerSecondMissing, MegabytesPerSecondOfReadMissing, MegabytesPerSecondOfWriteMissing"
+ }
+ },
+ "networkAdapters": {
+ "4000": {
+ "macAddress": "00:0c:29:ad:13:d3",
+ "ipAddresses": [ ],
+ "displayName": "VM Network",
+ "megabytesPerSecondReceived": 0.0,
+ "megabytesPerSecondTransmitted": 0.0,
+ "monthlyBandwidthCosts": 0.0,
+ "netGigabytesTransmittedPerMonth": 0.0,
+ "suitability": "Suitable",
+ "suitabilityExplanation": "NotApplicable",
+ "suitabilityDetail": "MegabytesOfDataTransmittedMissing"
+ }
+ },
+ "recommendedSize": "Standard_F8s_v2",
+ "numberOfCoresForRecommendedSize": 8,
+ "megabytesOfMemoryForRecommendedSize": 16384.0,
+ "monthlyComputeCostForRecommendedSize": 101.138616,
+ "percentageCoresUtilization": 0.0,
+ "percentageMemoryUtilization": 0.0,
+ "suitability": "Suitable",
+ "suitabilityExplanation": "NotApplicable",
+ "suitabilityDetail": "PercentageOfCoresUtilizedMissing, PercentageOfMemoryUtilizedMissing"
+ }
+ },
+ {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/Test1/assessments/assessment_5_9_2019_16_22_14/assessedMachines/3b4a34a6-c729-46d2-bfd1-bcb52cc4935e",
+ "name": "3b4a34a6-c729-46d2-bfd1-bcb52cc4935e",
+ "eTag": "\"b300e6dd-0000-0d00-0000-5cd4065f0000\"",
+ "type": "Microsoft.Migrate/assessmentprojects/groups/assessments/assessedMachines",
+ "properties": {
+ "createdTimestamp": "2019-05-09T10:52:15.7789159Z",
+ "updatedTimestamp": "2019-05-09T10:52:15.7789159Z",
+ "bootType": "BIOS",
+ "displayName": "testfpl1",
+ "description": "Microsoft Azure Migration Image on Windows Server 2016",
+ "datacenterMachineArmId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourcegroups/abgoyal-westeurope/providers/microsoft.offazure/vmwaresites/portalvcenterbc2fsite/machines/idclab-a360-fareast-corp-micros-86617dcf-effe-59ad-8c3a-cdd3ea7300d3_50296915-8b4b-5c82-79a1-adf3966acb6b",
+ "datacenterManagementServerArmId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.OffAzure/VMwareSites/PortalvCenterbc2fsite/vcenters/idclab-a360-fareast-corp-micros-86617dcf-effe-59ad-8c3a-cdd3ea7300d3",
+ "datacenterManagementServerName": "IDCLAB-A360.fareast.corp.microsoft.com",
+ "megabytesOfMemory": 16384.0,
+ "numberOfCores": 8,
+ "operatingSystemType": "windowsguest",
+ "operatingSystemName": "Microsoft Windows Server 2016 (64-bit)",
+ "operatingSystemVersion": null,
+ "monthlyBandwidthCost": 0.0,
+ "monthlyStorageCost": 5.888,
+ "monthlyPremiumStorageCost": 0.0,
+ "monthlyStandardSSDStorageCost": 0.0,
+ "confidenceRatingInPercentage": 0.0,
+ "disks": {
+ "6000C298-8305-5635-e618-3a8675c42495": {
+ "name": "6000C298-8305-5635-e618-3a8675c42495",
+ "displayName": "scsi0:0",
+ "gigabytesProvisioned": 80.0,
+ "megabytesPerSecondOfRead": 0.0,
+ "megabytesPerSecondOfWrite": 0.0,
+ "numberOfReadOperationsPerSecond": 0.0,
+ "numberOfWriteOperationsPerSecond": 0.0,
+ "monthlyStorageCost": 5.888,
+ "recommendedDiskSize": "Standard_S10",
+ "recommendedDiskType": "Standard",
+ "gigabytesForRecommendedDiskSize": 128,
+ "suitability": "Suitable",
+ "suitabilityExplanation": "NotApplicable",
+ "suitabilityDetail": "NumberOfReadOperationsPerSecondMissing, NumberOfWriteOperationsPerSecondMissing, MegabytesPerSecondOfReadMissing, MegabytesPerSecondOfWriteMissing"
+ }
+ },
+ "networkAdapters": {
+ "4000": {
+ "macAddress": "00:50:56:a9:35:ca",
+ "ipAddresses": [ ],
+ "displayName": "VM Network",
+ "megabytesPerSecondReceived": 0.0,
+ "megabytesPerSecondTransmitted": 0.0,
+ "monthlyBandwidthCosts": 0.0,
+ "netGigabytesTransmittedPerMonth": 0.0,
+ "suitability": "Suitable",
+ "suitabilityExplanation": "NotApplicable",
+ "suitabilityDetail": "MegabytesOfDataTransmittedMissing"
+ }
+ },
+ "recommendedSize": "Standard_F8s_v2",
+ "numberOfCoresForRecommendedSize": 8,
+ "megabytesOfMemoryForRecommendedSize": 16384.0,
+ "monthlyComputeCostForRecommendedSize": 101.138616,
+ "percentageCoresUtilization": 0.0,
+ "percentageMemoryUtilization": 0.0,
+ "suitability": "Suitable",
+ "suitabilityExplanation": "NotApplicable",
+ "suitabilityDetail": "PercentageOfCoresUtilizedMissing, PercentageOfMemoryUtilizedMissing"
+ }
+ }
+ ],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessmentOptions_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessmentOptions_Get.json
new file mode 100644
index 000000000000..6f11beeaeb88
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessmentOptions_Get.json
@@ -0,0 +1,800 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abgoyalWEselfhostb72bproject",
+ "assessmentOptionsName": "default"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "default",
+ "id": "/subscriptions/5cbd71ba-5a65-4f0c-aea2-33dadde87b4e/resourceGroups/shsinglarg/providers/Microsoft.Migrate/assessmentprojects/shProject/assessmentOptions/default",
+ "properties": {
+ "vmFamilies": [
+ {
+ "familyName": "Standard_A0_A7",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovIowa",
+ "USGovVirginia",
+ "USDoDCentral",
+ "USDoDEast",
+ "ChinaNorth",
+ "ChinaEast"
+ ],
+ "category": [
+ "GeneralPurpose"
+ ]
+ },
+ {
+ "familyName": "Basic_A0_A4",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovIowa",
+ "USGovVirginia",
+ "USDoDCentral",
+ "USDoDEast",
+ "ChinaNorth",
+ "ChinaEast"
+ ],
+ "category": [
+ "GeneralPurpose"
+ ]
+ },
+ {
+ "familyName": "Dv2_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovIowa",
+ "USGovVirginia",
+ "USDoDCentral",
+ "USDoDEast",
+ "ChinaNorth",
+ "ChinaEast"
+ ],
+ "category": [
+ "GeneralPurpose",
+ "MemoryOptimized"
+ ]
+ },
+ {
+ "familyName": "F_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovIowa",
+ "USGovVirginia",
+ "USDoDCentral",
+ "USDoDEast",
+ "ChinaNorth",
+ "ChinaEast"
+ ],
+ "category": [
+ "ComputeOptimized"
+ ]
+ },
+ {
+ "familyName": "Av2_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovIowa",
+ "USGovVirginia",
+ "USDoDCentral",
+ "USDoDEast",
+ "ChinaNorth",
+ "ChinaEast"
+ ],
+ "category": [
+ "GeneralPurpose"
+ ]
+ },
+ {
+ "familyName": "Dv3_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovIowa",
+ "USGovVirginia",
+ "ChinaEast"
+ ],
+ "category": [
+ "GeneralPurpose"
+ ]
+ },
+ {
+ "familyName": "DS_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "WestEurope",
+ "NorthEurope",
+ "JapanEast",
+ "JapanWest",
+ "EastUs",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "USGovVirginia",
+ "ChinaNorth",
+ "ChinaEast"
+ ],
+ "category": [
+ "GeneralPurpose",
+ "MemoryOptimized",
+ "SupportsPremiumStorage"
+ ]
+ },
+ {
+ "familyName": "DSv2_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovVirginia",
+ "USDoDCentral",
+ "USDoDEast",
+ "ChinaNorth",
+ "ChinaEast"
+ ],
+ "category": [
+ "GeneralPurpose",
+ "MemoryOptimized",
+ "SupportsPremiumStorage"
+ ]
+ },
+ {
+ "familyName": "Fs_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovVirginia",
+ "USDoDCentral",
+ "USDoDEast",
+ "ChinaNorth",
+ "ChinaEast"
+ ],
+ "category": [
+ "ComputeOptimized",
+ "SupportsPremiumStorage"
+ ]
+ },
+ {
+ "familyName": "Dsv3_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovVirginia"
+ ],
+ "category": [
+ "GeneralPurpose",
+ "SupportsPremiumStorage"
+ ]
+ },
+ {
+ "familyName": "Ev3_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovIowa",
+ "USGovVirginia",
+ "ChinaEast"
+ ],
+ "category": [
+ "MemoryOptimized"
+ ]
+ },
+ {
+ "familyName": "Esv3_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovVirginia"
+ ],
+ "category": [
+ "MemoryOptimized",
+ "SupportsPremiumStorage"
+ ]
+ },
+ {
+ "familyName": "D_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "WestEurope",
+ "NorthEurope",
+ "JapanEast",
+ "JapanWest",
+ "NorthCentralUs",
+ "EastUs",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "USGovVirginia",
+ "ChinaNorth",
+ "ChinaEast"
+ ],
+ "category": [
+ "GeneralPurpose"
+ ]
+ },
+ {
+ "familyName": "Fsv2_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "FranceCentral",
+ "USGovArizona",
+ "USGovVirginia"
+ ],
+ "category": [
+ "ComputeOptimized",
+ "SupportsPremiumStorage"
+ ]
+ },
+ {
+ "familyName": "M_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "EastUs2",
+ "USGovArizona",
+ "USGovVirginia"
+ ],
+ "category": [
+ "MemoryOptimized",
+ "SupportsPremiumStorage"
+ ]
+ },
+ {
+ "familyName": "G_series",
+ "targetLocations": [
+ "SoutheastAsia",
+ "AustraliaEast",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "JapanEast",
+ "UkSouth",
+ "WestUs2",
+ "EastUs2",
+ "WestUs",
+ "GermanyCentral",
+ "USGovVirginia"
+ ],
+ "category": [
+ "MemoryOptimized"
+ ]
+ },
+ {
+ "familyName": "GS_series",
+ "targetLocations": [
+ "SoutheastAsia",
+ "AustraliaEast",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "JapanEast",
+ "UkSouth",
+ "WestUs2",
+ "EastUs2",
+ "WestUs",
+ "GermanyCentral",
+ "USGovVirginia"
+ ],
+ "category": [
+ "MemoryOptimized",
+ "SupportsPremiumStorage"
+ ]
+ },
+ {
+ "familyName": "Ls_series",
+ "targetLocations": [
+ "SoutheastAsia",
+ "AustraliaEast",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "JapanEast",
+ "UkSouth",
+ "WestUs2",
+ "EastUs2",
+ "WestUs",
+ "GermanyCentral",
+ "USGovVirginia"
+ ],
+ "category": [
+ "StorageOptimized",
+ "SupportsPremiumStorage"
+ ]
+ },
+ {
+ "familyName": "H_series",
+ "targetLocations": [
+ "SoutheastAsia",
+ "AustraliaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "JapanEast",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "WestUs",
+ "USGovArizona"
+ ],
+ "category": [
+ "HighPerformanceCompute"
+ ]
+ },
+ {
+ "familyName": "DC_Series",
+ "targetLocations": [
+ "WestEurope",
+ "EastUs"
+ ],
+ "category": [
+ "GeneralPurpose",
+ "SupportsPremiumStorage",
+ "Confidential"
+ ]
+ },
+ {
+ "familyName": "Standard_A8_A11",
+ "targetLocations": [
+ "WestEurope",
+ "NorthEurope",
+ "NorthCentralUs",
+ "EastUs",
+ "SouthCentralUs",
+ "WestUs"
+ ],
+ "category": [
+ "HighPerformanceCompute"
+ ]
+ }
+ ],
+ "reservedInstanceVmFamilies": [
+ "Dv2_series",
+ "F_series",
+ "Dv3_series",
+ "DS_series",
+ "DSv2_series",
+ "Fs_series",
+ "Dsv3_series",
+ "Ev3_series",
+ "Esv3_series",
+ "D_series",
+ "Fsv2_series",
+ "M_series",
+ "Ls_series",
+ "H_series"
+ ],
+ "reservedInstanceSupportedLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs"
+ ],
+ "reservedInstanceSupportedCurrencies": [
+ "USD",
+ "DKK",
+ "CAD",
+ "JPY",
+ "KRW",
+ "NZD",
+ "NOK",
+ "RUB",
+ "SEK",
+ "GBP",
+ "INR",
+ "BRL",
+ "TWD",
+ "EUR",
+ "CHF",
+ "AUD"
+ ],
+ "reservedInstanceSupportedOffers": [
+ "MSAZR0003P"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessmentOptions_List.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessmentOptions_List.json
new file mode 100644
index 000000000000..d09240f6c50e
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessmentOptions_List.json
@@ -0,0 +1,803 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abgoyalWEselfhostb72bproject"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "default",
+ "id": "/subscriptions/5cbd71ba-5a65-4f0c-aea2-33dadde87b4e/resourceGroups/shsinglarg/providers/Microsoft.Migrate/assessmentprojects/shProject/assessmentOptions/default",
+ "properties": {
+ "vmFamilies": [
+ {
+ "familyName": "Standard_A0_A7",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovIowa",
+ "USGovVirginia",
+ "USDoDCentral",
+ "USDoDEast",
+ "ChinaNorth",
+ "ChinaEast"
+ ],
+ "category": [
+ "GeneralPurpose"
+ ]
+ },
+ {
+ "familyName": "Basic_A0_A4",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovIowa",
+ "USGovVirginia",
+ "USDoDCentral",
+ "USDoDEast",
+ "ChinaNorth",
+ "ChinaEast"
+ ],
+ "category": [
+ "GeneralPurpose"
+ ]
+ },
+ {
+ "familyName": "Dv2_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovIowa",
+ "USGovVirginia",
+ "USDoDCentral",
+ "USDoDEast",
+ "ChinaNorth",
+ "ChinaEast"
+ ],
+ "category": [
+ "GeneralPurpose",
+ "MemoryOptimized"
+ ]
+ },
+ {
+ "familyName": "F_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovIowa",
+ "USGovVirginia",
+ "USDoDCentral",
+ "USDoDEast",
+ "ChinaNorth",
+ "ChinaEast"
+ ],
+ "category": [
+ "ComputeOptimized"
+ ]
+ },
+ {
+ "familyName": "Av2_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovIowa",
+ "USGovVirginia",
+ "USDoDCentral",
+ "USDoDEast",
+ "ChinaNorth",
+ "ChinaEast"
+ ],
+ "category": [
+ "GeneralPurpose"
+ ]
+ },
+ {
+ "familyName": "Dv3_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovIowa",
+ "USGovVirginia",
+ "ChinaEast"
+ ],
+ "category": [
+ "GeneralPurpose"
+ ]
+ },
+ {
+ "familyName": "DS_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "WestEurope",
+ "NorthEurope",
+ "JapanEast",
+ "JapanWest",
+ "EastUs",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "USGovVirginia",
+ "ChinaNorth",
+ "ChinaEast"
+ ],
+ "category": [
+ "GeneralPurpose",
+ "MemoryOptimized",
+ "SupportsPremiumStorage"
+ ]
+ },
+ {
+ "familyName": "DSv2_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovVirginia",
+ "USDoDCentral",
+ "USDoDEast",
+ "ChinaNorth",
+ "ChinaEast"
+ ],
+ "category": [
+ "GeneralPurpose",
+ "MemoryOptimized",
+ "SupportsPremiumStorage"
+ ]
+ },
+ {
+ "familyName": "Fs_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovVirginia",
+ "USDoDCentral",
+ "USDoDEast",
+ "ChinaNorth",
+ "ChinaEast"
+ ],
+ "category": [
+ "ComputeOptimized",
+ "SupportsPremiumStorage"
+ ]
+ },
+ {
+ "familyName": "Dsv3_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovVirginia"
+ ],
+ "category": [
+ "GeneralPurpose",
+ "SupportsPremiumStorage"
+ ]
+ },
+ {
+ "familyName": "Ev3_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovIowa",
+ "USGovVirginia",
+ "ChinaEast"
+ ],
+ "category": [
+ "MemoryOptimized"
+ ]
+ },
+ {
+ "familyName": "Esv3_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "FranceCentral",
+ "GermanyNortheast",
+ "GermanyCentral",
+ "USGovTexas",
+ "USGovArizona",
+ "USGovVirginia"
+ ],
+ "category": [
+ "MemoryOptimized",
+ "SupportsPremiumStorage"
+ ]
+ },
+ {
+ "familyName": "D_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "WestEurope",
+ "NorthEurope",
+ "JapanEast",
+ "JapanWest",
+ "NorthCentralUs",
+ "EastUs",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "USGovVirginia",
+ "ChinaNorth",
+ "ChinaEast"
+ ],
+ "category": [
+ "GeneralPurpose"
+ ]
+ },
+ {
+ "familyName": "Fsv2_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "FranceCentral",
+ "USGovArizona",
+ "USGovVirginia"
+ ],
+ "category": [
+ "ComputeOptimized",
+ "SupportsPremiumStorage"
+ ]
+ },
+ {
+ "familyName": "M_series",
+ "targetLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "EastUs2",
+ "USGovArizona",
+ "USGovVirginia"
+ ],
+ "category": [
+ "MemoryOptimized",
+ "SupportsPremiumStorage"
+ ]
+ },
+ {
+ "familyName": "G_series",
+ "targetLocations": [
+ "SoutheastAsia",
+ "AustraliaEast",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "JapanEast",
+ "UkSouth",
+ "WestUs2",
+ "EastUs2",
+ "WestUs",
+ "GermanyCentral",
+ "USGovVirginia"
+ ],
+ "category": [
+ "MemoryOptimized"
+ ]
+ },
+ {
+ "familyName": "GS_series",
+ "targetLocations": [
+ "SoutheastAsia",
+ "AustraliaEast",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "JapanEast",
+ "UkSouth",
+ "WestUs2",
+ "EastUs2",
+ "WestUs",
+ "GermanyCentral",
+ "USGovVirginia"
+ ],
+ "category": [
+ "MemoryOptimized",
+ "SupportsPremiumStorage"
+ ]
+ },
+ {
+ "familyName": "Ls_series",
+ "targetLocations": [
+ "SoutheastAsia",
+ "AustraliaEast",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "JapanEast",
+ "UkSouth",
+ "WestUs2",
+ "EastUs2",
+ "WestUs",
+ "GermanyCentral",
+ "USGovVirginia"
+ ],
+ "category": [
+ "StorageOptimized",
+ "SupportsPremiumStorage"
+ ]
+ },
+ {
+ "familyName": "H_series",
+ "targetLocations": [
+ "SoutheastAsia",
+ "AustraliaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "JapanEast",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "WestUs",
+ "USGovArizona"
+ ],
+ "category": [
+ "HighPerformanceCompute"
+ ]
+ },
+ {
+ "familyName": "DC_Series",
+ "targetLocations": [
+ "WestEurope",
+ "EastUs"
+ ],
+ "category": [
+ "GeneralPurpose",
+ "SupportsPremiumStorage",
+ "Confidential"
+ ]
+ },
+ {
+ "familyName": "Standard_A8_A11",
+ "targetLocations": [
+ "WestEurope",
+ "NorthEurope",
+ "NorthCentralUs",
+ "EastUs",
+ "SouthCentralUs",
+ "WestUs"
+ ],
+ "category": [
+ "HighPerformanceCompute"
+ ]
+ }
+ ],
+ "reservedInstanceVmFamilies": [
+ "Dv2_series",
+ "F_series",
+ "Dv3_series",
+ "DS_series",
+ "DSv2_series",
+ "Fs_series",
+ "Dsv3_series",
+ "Ev3_series",
+ "Esv3_series",
+ "D_series",
+ "Fsv2_series",
+ "M_series",
+ "Ls_series",
+ "H_series"
+ ],
+ "reservedInstanceSupportedLocations": [
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs"
+ ],
+ "reservedInstanceSupportedCurrencies": [
+ "USD",
+ "DKK",
+ "CAD",
+ "JPY",
+ "KRW",
+ "NZD",
+ "NOK",
+ "RUB",
+ "SEK",
+ "GBP",
+ "INR",
+ "BRL",
+ "TWD",
+ "EUR",
+ "CHF",
+ "AUD"
+ ],
+ "reservedInstanceSupportedOffers": [
+ "MSAZR0003P"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Create.json
new file mode 100644
index 000000000000..c859ecd84be9
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Create.json
@@ -0,0 +1,164 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abgoyalWEselfhostb72bproject",
+ "groupName": "Group2",
+ "assessmentName": "assessment_5_14_2019_16_48_47",
+ "assessment": {
+ "eTag": "\"1e000c2c-0000-0d00-0000-5cdaa4190000\"",
+ "properties": {
+ "azureLocation": "NorthEurope",
+ "azureOfferCode": "MSAZR0003P",
+ "azurePricingTier": "Standard",
+ "azureStorageRedundancy": "LocallyRedundant",
+ "scalingFactor": 1.0,
+ "percentile": "Percentile95",
+ "timeRange": "Day",
+ "stage": "InProgress",
+ "currency": "USD",
+ "azureHybridUseBenefit": "Yes",
+ "discountPercentage": 100,
+ "sizingCriterion": "PerformanceBased",
+ "vmUptime": {
+ "daysPerMonth": 31,
+ "hoursPerDay": 24
+ },
+ "azureVmFamilies": [
+ "Dv2_series",
+ "F_series",
+ "Dv3_series",
+ "DS_series",
+ "DSv2_series",
+ "Fs_series",
+ "Dsv3_series",
+ "Ev3_series",
+ "Esv3_series",
+ "D_series",
+ "M_series",
+ "Fsv2_series",
+ "H_series"
+ ],
+ "azureDiskType": "StandardOrPremium",
+ "reservedInstance": "RI3Year"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/Group2/assessments/assessment_5_14_2019_16_48_47",
+ "name": "assessment_5_14_2019_16_48_47",
+ "eTag": "\"1e000c2c-0000-0d00-0000-5cdaa4190000\"",
+ "type": "Microsoft.Migrate/assessmentprojects/groups/assessments",
+ "properties": {
+ "azureLocation": "NorthEurope",
+ "azureOfferCode": "MSAZR0003P",
+ "eaSubscriptionId": null,
+ "azurePricingTier": "Standard",
+ "azureStorageRedundancy": "LocallyRedundant",
+ "scalingFactor": 1.0,
+ "percentile": "Percentile95",
+ "timeRange": "Day",
+ "perfDataStartTime": "2019-05-13T11:18:47.7893715Z",
+ "perfDataEndTime": "2019-05-14T11:18:47.7893715Z",
+ "stage": "InProgress",
+ "currency": "USD",
+ "reservedInstance": "RI3Year",
+ "azureHybridUseBenefit": "Yes",
+ "discountPercentage": 0.0,
+ "confidenceRatingInPercentage": 0.0,
+ "sizingCriterion": "PerformanceBased",
+ "azureDiskType": "StandardOrPremium",
+ "azureVmFamilies": [
+ "Dv2_series",
+ "F_series",
+ "Dv3_series",
+ "DS_series",
+ "DSv2_series",
+ "Fs_series",
+ "Dsv3_series",
+ "Ev3_series",
+ "Esv3_series",
+ "D_series",
+ "M_series",
+ "Fsv2_series",
+ "H_series"
+ ],
+ "vmUptime": {
+ "daysPerMonth": 31,
+ "hoursPerDay": 24
+ },
+ "pricesTimestamp": "2019-03-26T11:07:37.139768Z",
+ "createdTimestamp": "2019-05-14T11:18:47.7893715Z",
+ "updatedTimestamp": "2019-05-14T11:18:47.7893715Z",
+ "monthlyComputeCost": 607.443264,
+ "monthlyBandwidthCost": 0.0,
+ "monthlyStorageCost": 111.36,
+ "monthlyPremiumStorageCost": 0.0,
+ "monthlyStandardSSDStorageCost": 0.0,
+ "status": "Completed",
+ "numberOfMachines": 5
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/Group2/assessments/assessment_5_14_2019_16_48_47",
+ "name": "assessment_5_14_2019_16_48_47",
+ "eTag": "\"1e000c2c-0000-0d00-0000-5cdaa4190000\"",
+ "type": "Microsoft.Migrate/assessmentprojects/groups/assessments",
+ "properties": {
+ "azureLocation": "NorthEurope",
+ "azureOfferCode": "MSAZR0003P",
+ "eaSubscriptionId": null,
+ "azurePricingTier": "Standard",
+ "azureStorageRedundancy": "LocallyRedundant",
+ "scalingFactor": 1.0,
+ "percentile": "Percentile95",
+ "timeRange": "Day",
+ "perfDataStartTime": "2019-05-13T11:18:47.7893715Z",
+ "perfDataEndTime": "2019-05-14T11:18:47.7893715Z",
+ "stage": "InProgress",
+ "currency": "USD",
+ "reservedInstance": "RI3Year",
+ "azureHybridUseBenefit": "Yes",
+ "discountPercentage": 0.0,
+ "confidenceRatingInPercentage": 0.0,
+ "sizingCriterion": "PerformanceBased",
+ "azureDiskType": "StandardOrPremium",
+ "azureVmFamilies": [
+ "Dv2_series",
+ "F_series",
+ "Dv3_series",
+ "DS_series",
+ "DSv2_series",
+ "Fs_series",
+ "Dsv3_series",
+ "Ev3_series",
+ "Esv3_series",
+ "D_series",
+ "M_series",
+ "Fsv2_series",
+ "H_series"
+ ],
+ "vmUptime": {
+ "daysPerMonth": 31,
+ "hoursPerDay": 24
+ },
+ "pricesTimestamp": "2019-03-26T11:07:37.139768Z",
+ "createdTimestamp": "2019-05-14T11:18:47.7893715Z",
+ "updatedTimestamp": "2019-05-14T11:18:47.7893715Z",
+ "monthlyComputeCost": 607.443264,
+ "monthlyBandwidthCost": 0.0,
+ "monthlyStorageCost": 111.36,
+ "monthlyPremiumStorageCost": 0.0,
+ "monthlyStandardSSDStorageCost": 0.0,
+ "status": "Completed",
+ "numberOfMachines": 5
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Delete.json
new file mode 100644
index 000000000000..81172ba98273
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Delete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abgoyalWEselfhostb72bproject",
+ "groupName": "Test1",
+ "assessmentName": "assessment_5_9_2019_16_22_14"
+ },
+ "responses": {
+ "200": { },
+ "204": { }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Get.json
new file mode 100644
index 000000000000..e907b4467476
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Get.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abgoyalWEselfhostb72bproject",
+ "groupName": "Test1",
+ "assessmentName": "assessment_5_9_2019_16_22_14"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/Test1/assessments/assessment_5_9_2019_16_22_14",
+ "name": "assessment_5_9_2019_16_22_14",
+ "eTag": "\"21009c31-0000-0d00-0000-5cd585ad0000\"",
+ "type": "Microsoft.Migrate/assessmentprojects/groups/assessments",
+ "properties": {
+ "azureLocation": "NorthEurope",
+ "azureOfferCode": "MSAZR0003P",
+ "eaSubscriptionId": null,
+ "azurePricingTier": "Standard",
+ "azureStorageRedundancy": "LocallyRedundant",
+ "scalingFactor": 1.0,
+ "percentile": "Percentile95",
+ "timeRange": "Day",
+ "perfDataStartTime": "2019-05-08T10:52:14.4896347Z",
+ "perfDataEndTime": "2019-05-09T10:52:14.4896347Z",
+ "stage": "InProgress",
+ "currency": "USD",
+ "reservedInstance": "RI3Year",
+ "azureHybridUseBenefit": "Yes",
+ "discountPercentage": 0.0,
+ "confidenceRatingInPercentage": 0.0,
+ "sizingCriterion": "PerformanceBased",
+ "azureDiskType": "StandardOrPremium",
+ "azureVmFamilies": [
+ "Dv2_series",
+ "F_series",
+ "Dv3_series",
+ "DS_series",
+ "DSv2_series",
+ "Fs_series",
+ "Dsv3_series",
+ "Ev3_series",
+ "Esv3_series",
+ "D_series",
+ "M_series",
+ "Fsv2_series",
+ "H_series"
+ ],
+ "vmUptime": {
+ "daysPerMonth": 31,
+ "hoursPerDay": 24
+ },
+ "pricesTimestamp": "2019-03-26T11:07:37.139768Z",
+ "createdTimestamp": "2019-05-09T10:52:14.4896347Z",
+ "updatedTimestamp": "2019-05-09T10:52:14.4896347Z",
+ "monthlyComputeCost": 2588.830584,
+ "monthlyBandwidthCost": 0.0,
+ "monthlyStorageCost": 238.016,
+ "monthlyPremiumStorageCost": 0.0,
+ "monthlyStandardSSDStorageCost": 0.0,
+ "status": "OutDated",
+ "numberOfMachines": 26
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_GetReportDownloadUrl.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_GetReportDownloadUrl.json
new file mode 100644
index 000000000000..f29014153142
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_GetReportDownloadUrl.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abgoyalWEselfhostb72bproject",
+ "groupName": "Test1",
+ "assessmentName": "assessment_5_9_2019_16_22_14"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "assessmentReportUrl": "link-to-download-assessment-report",
+ "expirationTime": "2019-09-05T13:17:23.5437337Z"
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_ListByGroup.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_ListByGroup.json
new file mode 100644
index 000000000000..67df87cba3f3
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_ListByGroup.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abgoyalWEselfhostb72bproject",
+ "groupName": "Test1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/Test1/assessments/assessment_5_9_2019_16_22_14",
+ "name": "assessment_5_9_2019_16_22_14",
+ "eTag": "\"21009c31-0000-0d00-0000-5cd585ad0000\"",
+ "type": "Microsoft.Migrate/assessmentprojects/groups/assessments",
+ "properties": {
+ "azureLocation": "NorthEurope",
+ "azureOfferCode": "MSAZR0003P",
+ "eaSubscriptionId": null,
+ "azurePricingTier": "Standard",
+ "azureStorageRedundancy": "LocallyRedundant",
+ "scalingFactor": 1.0,
+ "percentile": "Percentile95",
+ "timeRange": "Day",
+ "perfDataStartTime": "2019-05-08T10:52:14.4896347Z",
+ "perfDataEndTime": "2019-05-09T10:52:14.4896347Z",
+ "stage": "InProgress",
+ "currency": "USD",
+ "reservedInstance": "RI3Year",
+ "azureHybridUseBenefit": "Yes",
+ "discountPercentage": 0.0,
+ "confidenceRatingInPercentage": 0.0,
+ "sizingCriterion": "PerformanceBased",
+ "azureDiskType": "StandardOrPremium",
+ "azureVmFamilies": [
+ "Dv2_series",
+ "F_series",
+ "Dv3_series",
+ "DS_series",
+ "DSv2_series",
+ "Fs_series",
+ "Dsv3_series",
+ "Ev3_series",
+ "Esv3_series",
+ "D_series",
+ "M_series",
+ "Fsv2_series",
+ "H_series"
+ ],
+ "vmUptime": {
+ "daysPerMonth": 31,
+ "hoursPerDay": 24
+ },
+ "pricesTimestamp": "2019-03-26T11:07:37.139768Z",
+ "createdTimestamp": "2019-05-09T10:52:14.4896347Z",
+ "updatedTimestamp": "2019-05-09T10:52:14.4896347Z",
+ "monthlyComputeCost": 2588.830584,
+ "monthlyBandwidthCost": 0.0,
+ "monthlyStorageCost": 238.016,
+ "monthlyPremiumStorageCost": 0.0,
+ "monthlyStandardSSDStorageCost": 0.0,
+ "status": "OutDated",
+ "numberOfMachines": 26
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_ListByProject.json
new file mode 100644
index 000000000000..fe90dba6f311
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_ListByProject.json
@@ -0,0 +1,181 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abgoyalWEselfhostb72bproject"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/Test1/assessments/assessment_5_9_2019_16_22_14",
+ "name": "assessment_5_9_2019_16_22_14",
+ "eTag": "\"21009c31-0000-0d00-0000-5cd585ad0000\"",
+ "type": "Microsoft.Migrate/assessmentprojects/groups/assessments",
+ "properties": {
+ "azureLocation": "NorthEurope",
+ "azureOfferCode": "MSAZR0003P",
+ "eaSubscriptionId": null,
+ "azurePricingTier": "Standard",
+ "azureStorageRedundancy": "LocallyRedundant",
+ "scalingFactor": 1.0,
+ "percentile": "Percentile95",
+ "timeRange": "Day",
+ "perfDataStartTime": "2019-05-08T10:52:14.4896347Z",
+ "perfDataEndTime": "2019-05-09T10:52:14.4896347Z",
+ "stage": "InProgress",
+ "currency": "USD",
+ "reservedInstance": "RI3Year",
+ "azureHybridUseBenefit": "Yes",
+ "discountPercentage": 0.0,
+ "confidenceRatingInPercentage": 0.0,
+ "sizingCriterion": "PerformanceBased",
+ "azureDiskType": "StandardOrPremium",
+ "azureVmFamilies": [
+ "Dv2_series",
+ "F_series",
+ "Dv3_series",
+ "DS_series",
+ "DSv2_series",
+ "Fs_series",
+ "Dsv3_series",
+ "Ev3_series",
+ "Esv3_series",
+ "D_series",
+ "M_series",
+ "Fsv2_series",
+ "H_series"
+ ],
+ "vmUptime": {
+ "daysPerMonth": 31,
+ "hoursPerDay": 24
+ },
+ "pricesTimestamp": "2019-03-26T11:07:37.139768Z",
+ "createdTimestamp": "2019-05-09T10:52:14.4896347Z",
+ "updatedTimestamp": "2019-05-09T10:52:14.4896347Z",
+ "monthlyComputeCost": 2588.830584,
+ "monthlyBandwidthCost": 0.0,
+ "monthlyStorageCost": 238.016,
+ "monthlyPremiumStorageCost": 0.0,
+ "monthlyStandardSSDStorageCost": 0.0,
+ "status": "OutDated",
+ "numberOfMachines": 26
+ }
+ },
+ {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/Group2/assessments/assessment_5_9_2019_17_0_56",
+ "name": "assessment_5_9_2019_17_0_56",
+ "eTag": "\"1e000c2c-0000-0d00-0000-5cdaa4190000\"",
+ "type": "Microsoft.Migrate/assessmentprojects/groups/assessments",
+ "properties": {
+ "azureLocation": "NorthEurope",
+ "azureOfferCode": "MSAZR0003P",
+ "eaSubscriptionId": null,
+ "azurePricingTier": "Standard",
+ "azureStorageRedundancy": "LocallyRedundant",
+ "scalingFactor": 1.0,
+ "percentile": "Percentile95",
+ "timeRange": "Day",
+ "perfDataStartTime": "2019-05-08T11:30:57.0035869Z",
+ "perfDataEndTime": "2019-05-09T11:30:57.0035869Z",
+ "stage": "InProgress",
+ "currency": "USD",
+ "reservedInstance": "RI3Year",
+ "azureHybridUseBenefit": "Yes",
+ "discountPercentage": 0.0,
+ "confidenceRatingInPercentage": 0.0,
+ "sizingCriterion": "PerformanceBased",
+ "azureDiskType": "StandardOrPremium",
+ "azureVmFamilies": [
+ "Dv2_series",
+ "F_series",
+ "Dv3_series",
+ "DS_series",
+ "DSv2_series",
+ "Fs_series",
+ "Dsv3_series",
+ "Ev3_series",
+ "Esv3_series",
+ "D_series",
+ "M_series",
+ "Fsv2_series",
+ "H_series"
+ ],
+ "vmUptime": {
+ "daysPerMonth": 31,
+ "hoursPerDay": 24
+ },
+ "pricesTimestamp": "2019-03-26T11:07:37.139768Z",
+ "createdTimestamp": "2019-05-09T11:30:57.0035869Z",
+ "updatedTimestamp": "2019-05-09T11:30:57.0035869Z",
+ "monthlyComputeCost": 607.443264,
+ "monthlyBandwidthCost": 0.0,
+ "monthlyStorageCost": 111.36,
+ "monthlyPremiumStorageCost": 0.0,
+ "monthlyStandardSSDStorageCost": 0.0,
+ "status": "Completed",
+ "numberOfMachines": 5
+ }
+ },
+ {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/Group2/assessments/assessment_5_14_2019_16_48_47",
+ "name": "assessment_5_14_2019_16_48_47",
+ "eTag": "\"1e000c2c-0000-0d00-0000-5cdaa4190000\"",
+ "type": "Microsoft.Migrate/assessmentprojects/groups/assessments",
+ "properties": {
+ "azureLocation": "NorthEurope",
+ "azureOfferCode": "MSAZR0003P",
+ "eaSubscriptionId": null,
+ "azurePricingTier": "Standard",
+ "azureStorageRedundancy": "LocallyRedundant",
+ "scalingFactor": 1.0,
+ "percentile": "Percentile95",
+ "timeRange": "Day",
+ "perfDataStartTime": "2019-05-13T11:18:47.7893715Z",
+ "perfDataEndTime": "2019-05-14T11:18:47.7893715Z",
+ "stage": "InProgress",
+ "currency": "USD",
+ "reservedInstance": "RI3Year",
+ "azureHybridUseBenefit": "Yes",
+ "discountPercentage": 0.0,
+ "confidenceRatingInPercentage": 0.0,
+ "sizingCriterion": "PerformanceBased",
+ "azureDiskType": "StandardOrPremium",
+ "azureVmFamilies": [
+ "Dv2_series",
+ "F_series",
+ "Dv3_series",
+ "DS_series",
+ "DSv2_series",
+ "Fs_series",
+ "Dsv3_series",
+ "Ev3_series",
+ "Esv3_series",
+ "D_series",
+ "M_series",
+ "Fsv2_series",
+ "H_series"
+ ],
+ "vmUptime": {
+ "daysPerMonth": 31,
+ "hoursPerDay": 24
+ },
+ "pricesTimestamp": "2019-03-26T11:07:37.139768Z",
+ "createdTimestamp": "2019-05-14T11:18:47.7893715Z",
+ "updatedTimestamp": "2019-05-14T11:18:47.7893715Z",
+ "monthlyComputeCost": 607.443264,
+ "monthlyBandwidthCost": 0.0,
+ "monthlyStorageCost": 111.36,
+ "monthlyPremiumStorageCost": 0.0,
+ "monthlyStandardSSDStorageCost": 0.0,
+ "status": "Completed",
+ "numberOfMachines": 5
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Create.json
new file mode 100644
index 000000000000..481e7ee3d949
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Create.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abgoyalWEselfhostb72bproject",
+ "groupName": "Group2",
+ "group": {
+ "properties": {},
+ "eTag": "\"1e000c2c-0000-0d00-0000-5cdaa4190000\""
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/Group2",
+ "name": "Group2",
+ "eTag": "\"1e000c2c-0000-0d00-0000-5cdaa4190000\"",
+ "type": "Microsoft.Migrate/assessmentprojects/groups",
+ "properties": {
+ "groupStatus": "Completed",
+ "machineCount": 0,
+ "assessments": [ ],
+ "areAssessmentsRunning": false,
+ "createdTimestamp": "2019-05-09T10:52:56.1574737Z",
+ "updatedTimestamp": "2019-05-14T11:18:49.5485462Z"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/Group2",
+ "name": "Group2",
+ "eTag": "\"1e000c2c-0000-0d00-0000-5cdaa4190000\"",
+ "type": "Microsoft.Migrate/assessmentprojects/groups",
+ "properties": {
+ "groupStatus": "Completed",
+ "machineCount": 0,
+ "assessments": [ ],
+ "areAssessmentsRunning": false,
+ "createdTimestamp": "2019-05-09T10:52:56.1574737Z",
+ "updatedTimestamp": "2019-05-14T11:18:49.5485462Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Delete.json
new file mode 100644
index 000000000000..c8a5675ceb95
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abgoyalWEselfhostb72bproject",
+ "groupName": "Test1"
+ },
+ "responses": {
+ "200": { },
+ "204": { }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Get.json
new file mode 100644
index 000000000000..ac48e563bcdc
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Get.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abgoyalWEselfhostb72bproject",
+ "groupName": "Test1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/Test1",
+ "name": "Test1",
+ "eTag": "\"21009c31-0000-0d00-0000-5cd585ad0000\"",
+ "type": "Microsoft.Migrate/assessmentprojects/groups",
+ "properties": {
+ "groupStatus": "Completed",
+ "machineCount": 26,
+ "assessments": [
+ "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/Test1/assessments/assessment_5_9_2019_16_22_14"
+ ],
+ "areAssessmentsRunning": false,
+ "createdTimestamp": "2019-05-09T10:52:07.7368474Z",
+ "updatedTimestamp": "2019-05-10T14:07:41.752989Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_ListByProject.json
new file mode 100644
index 000000000000..2bffe2d990a9
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_ListByProject.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abgoyalWEselfhostb72bproject"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/Test1",
+ "name": "Test1",
+ "eTag": "\"21009c31-0000-0d00-0000-5cd585ad0000\"",
+ "type": "Microsoft.Migrate/assessmentprojects/groups",
+ "properties": {
+ "groupStatus": "Completed",
+ "machineCount": 26,
+ "assessments": [
+ "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/Test1/assessments/assessment_5_9_2019_16_22_14"
+ ],
+ "areAssessmentsRunning": false,
+ "createdTimestamp": "2019-05-09T10:52:07.7368474Z",
+ "updatedTimestamp": "2019-05-10T14:07:41.752989Z"
+ }
+ },
+ {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/Group2",
+ "name": "Group2",
+ "eTag": "\"1e000c2c-0000-0d00-0000-5cdaa4190000\"",
+ "type": "Microsoft.Migrate/assessmentprojects/groups",
+ "properties": {
+ "groupStatus": "Completed",
+ "machineCount": 5,
+ "assessments": [
+ "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/Group2/assessments/assessment_5_9_2019_17_0_56",
+ "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/Group2/assessments/assessment_5_14_2019_16_48_47"
+ ],
+ "areAssessmentsRunning": false,
+ "createdTimestamp": "2019-05-09T10:52:56.1574737Z",
+ "updatedTimestamp": "2019-05-14T11:18:49.5485462Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Create.json
new file mode 100644
index 000000000000..cbcb8eef0f93
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Create.json
@@ -0,0 +1,76 @@
+{
+ "parameters": {
+ "resourceGroupName": "contosoithyperv",
+ "api-version": "2019-10-01",
+ "subscriptionId": "8c3c936a-c09b-4de3-830b-3f5f244d72e9",
+ "projectName": "migrateprojectce73project",
+ "hyperVCollectorName": "migrateprojectce73collector",
+ "collectorBody": {
+ "properties": {
+ "discoverySiteId": "/subscriptions/8c3c936a-c09b-4de3-830b-3f5f244d72e9/resourceGroups/ContosoITHyperV/providers/Microsoft.OffAzure/HyperVSites/migrateprojectce73site",
+ "agentProperties": {
+ "spnDetails": {
+ "authority": "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
+ "applicationId": "827f1053-44dc-439f-b832-05416dcce12b",
+ "audience": "https://72f988bf-86f1-41af-91ab-2d7cd011db47/migrateprojectce73agentauthaadapp",
+ "objectId": "be75098e-c0fc-4ac4-98c7-282ebbcf8370",
+ "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
+ }
+ }
+ },
+ "eTag": "\"00000981-0000-0300-0000-5d74cd5f0000\""
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "eTag": "\"00000981-0000-0300-0000-5d74cd5f0000\"",
+ "id": "/subscriptions/8c3c936a-c09b-4de3-830b-3f5f244d72e9/resourceGroups/contosoithyperv/providers/Microsoft.Migrate/assessmentprojects/migrateprojectce73project/hypervcollectors/migrateprojectce73collector",
+ "name": "migrateprojectce73collector",
+ "type": "Microsoft.Migrate/assessmentprojects/hypervcollectors",
+ "properties": {
+ "discoverySiteId": "/subscriptions/8c3c936a-c09b-4de3-830b-3f5f244d72e9/resourceGroups/ContosoITHyperV/providers/Microsoft.OffAzure/HyperVSites/migrateprojectce73site",
+ "createdTimestamp": "2019-04-10T10:22:51.6271816Z",
+ "updatedTimestamp": "2019-09-08T09:43:59.0573145Z",
+ "agentProperties": {
+ "id": "d86c7d5a-2103-5157-bb20-9026b75e5de8",
+ "version": "1.0.8.218",
+ "lastHeartbeatUtc": "2019-09-08T09:43:59.0573145Z",
+ "spnDetails": {
+ "authority": "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
+ "applicationId": "827f1053-44dc-439f-b832-05416dcce12b",
+ "audience": "https://72f988bf-86f1-41af-91ab-2d7cd011db47/migrateprojectce73agentauthaadapp",
+ "objectId": "be75098e-c0fc-4ac4-98c7-282ebbcf8370",
+ "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
+ }
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "eTag": "\"00000981-0000-0300-0000-5d74cd5f0000\"",
+ "id": "/subscriptions/8c3c936a-c09b-4de3-830b-3f5f244d72e9/resourceGroups/contosoithyperv/providers/Microsoft.Migrate/assessmentprojects/migrateprojectce73project/hypervcollectors/migrateprojectce73collector",
+ "name": "migrateprojectce73collector",
+ "type": "Microsoft.Migrate/assessmentprojects/hypervcollectors",
+ "properties": {
+ "discoverySiteId": "/subscriptions/8c3c936a-c09b-4de3-830b-3f5f244d72e9/resourceGroups/ContosoITHyperV/providers/Microsoft.OffAzure/HyperVSites/migrateprojectce73site",
+ "createdTimestamp": "2019-04-10T10:22:51.6271816Z",
+ "updatedTimestamp": "2019-09-08T09:43:59.0573145Z",
+ "agentProperties": {
+ "id": "d86c7d5a-2103-5157-bb20-9026b75e5de8",
+ "version": "1.0.8.218",
+ "lastHeartbeatUtc": "2019-09-08T09:43:59.0573145Z",
+ "spnDetails": {
+ "authority": "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
+ "applicationId": "827f1053-44dc-439f-b832-05416dcce12b",
+ "audience": "https://72f988bf-86f1-41af-91ab-2d7cd011db47/migrateprojectce73agentauthaadapp",
+ "objectId": "be75098e-c0fc-4ac4-98c7-282ebbcf8370",
+ "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Delete.json
new file mode 100644
index 000000000000..9e45b3b9b4c6
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "resourceGroupName": "contosoithyperv",
+ "api-version": "2019-10-01",
+ "subscriptionId": "8c3c936a-c09b-4de3-830b-3f5f244d72e9",
+ "projectName": "migrateprojectce73project",
+ "hyperVCollectorName": "migrateprojectce73collector"
+ },
+ "responses": {
+ "200": { },
+ "204": { }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Get.json
new file mode 100644
index 000000000000..6e9abe3d8c55
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Get.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "resourceGroupName": "contosoithyperv",
+ "api-version": "2019-10-01",
+ "subscriptionId": "8c3c936a-c09b-4de3-830b-3f5f244d72e9",
+ "projectName": "migrateprojectce73project",
+ "hyperVCollectorName": "migrateprojectce73collector"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "eTag": "\"00000981-0000-0300-0000-5d74cd5f0000\"",
+ "id": "/subscriptions/8c3c936a-c09b-4de3-830b-3f5f244d72e9/resourceGroups/contosoithyperv/providers/Microsoft.Migrate/assessmentprojects/migrateprojectce73project/hypervcollectors/migrateprojectce73collector",
+ "name": "migrateprojectce73collector",
+ "type": "Microsoft.Migrate/assessmentprojects/hypervcollectors",
+ "properties": {
+ "discoverySiteId": "/subscriptions/8c3c936a-c09b-4de3-830b-3f5f244d72e9/resourceGroups/ContosoITHyperV/providers/Microsoft.OffAzure/HyperVSites/migrateprojectce73site",
+ "createdTimestamp": "2019-04-10T10:22:51.6271816Z",
+ "updatedTimestamp": "2019-09-08T09:43:59.0573145Z",
+ "agentProperties": {
+ "id": "d86c7d5a-2103-5157-bb20-9026b75e5de8",
+ "version": "1.0.8.218",
+ "lastHeartbeatUtc": "2019-09-08T09:43:59.0573145Z",
+ "spnDetails": {
+ "authority": "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
+ "applicationId": "827f1053-44dc-439f-b832-05416dcce12b",
+ "audience": "https://72f988bf-86f1-41af-91ab-2d7cd011db47/migrateprojectce73agentauthaadapp",
+ "objectId": "be75098e-c0fc-4ac4-98c7-282ebbcf8370",
+ "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_ListByProject.json
new file mode 100644
index 000000000000..07e41a8b1e55
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_ListByProject.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "resourceGroupName": "contosoithyperv",
+ "api-version": "2019-10-01",
+ "subscriptionId": "8c3c936a-c09b-4de3-830b-3f5f244d72e9",
+ "projectName": "migrateprojectce73project"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "eTag": "\"00000981-0000-0300-0000-5d74cd5f0000\"",
+ "id": "/subscriptions/8c3c936a-c09b-4de3-830b-3f5f244d72e9/resourceGroups/contosoithyperv/providers/Microsoft.Migrate/assessmentprojects/migrateprojectce73project/hypervcollectors/migrateprojectce73collector",
+ "name": "migrateprojectce73collector",
+ "type": "Microsoft.Migrate/assessmentprojects/hypervcollectors",
+ "properties": {
+ "discoverySiteId": "/subscriptions/8c3c936a-c09b-4de3-830b-3f5f244d72e9/resourceGroups/ContosoITHyperV/providers/Microsoft.OffAzure/HyperVSites/migrateprojectce73site",
+ "createdTimestamp": "2019-04-10T10:22:51.6271816Z",
+ "updatedTimestamp": "2019-09-08T09:43:59.0573145Z",
+ "agentProperties": {
+ "id": "d86c7d5a-2103-5157-bb20-9026b75e5de8",
+ "version": "1.0.8.218",
+ "lastHeartbeatUtc": "2019-09-08T09:43:59.0573145Z",
+ "spnDetails": {
+ "authority": "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
+ "applicationId": "827f1053-44dc-439f-b832-05416dcce12b",
+ "audience": "https://72f988bf-86f1-41af-91ab-2d7cd011db47/migrateprojectce73agentauthaadapp",
+ "objectId": "be75098e-c0fc-4ac4-98c7-282ebbcf8370",
+ "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Machines_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Machines_Get.json
new file mode 100644
index 000000000000..7208f49fd6f9
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Machines_Get.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abgoyalWEselfhostb72bproject",
+ "machineName": "269ef295-a38d-4f8f-9779-77ce79088311"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/machines/269ef295-a38d-4f8f-9779-77ce79088311",
+ "name": "269ef295-a38d-4f8f-9779-77ce79088311",
+ "type": "Microsoft.Migrate/assessmentprojects/machines",
+ "eTag": "\"04006052-0000-0d00-0000-5cd4065a0000\"",
+ "properties": {
+ "discoveryMachineArmId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourcegroups/abgoyal-westeurope/providers/microsoft.offazure/vmwaresites/portalvcenterbc2fsite/machines/idclab-a360-fareast-corp-micros-86617dcf-effe-59ad-8c3a-cdd3ea7300d3_52bd4eeb-faf4-7d95-4dd5-5524350ce2bb",
+ "datacenterManagementServerArmId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.OffAzure/VMwareSites/PortalvCenterbc2fsite/vcenters/idclab-a360-fareast-corp-micros-86617dcf-effe-59ad-8c3a-cdd3ea7300d3",
+ "datacenterManagementServerName": "IDCLAB-A360.fareast.corp.microsoft.com",
+ "bootType": "BIOS",
+ "displayName": "ShubhamFirstAndThird",
+ "megabytesOfMemory": 16384.0,
+ "numberOfCores": 8,
+ "operatingSystemType": "windowsGuest",
+ "operatingSystemName": "Microsoft Windows Server 2016 (64-bit)",
+ "operatingSystemVersion": null,
+ "description": "Microsoft Azure Migration Image on Windows Server 2016",
+ "createdTimestamp": "2019-05-09T09:58:22.1734149Z",
+ "disks": {
+ "6000C29f-9065-8fe0-ab83-7e58ff6ba442": {
+ "gigabytesAllocated": 80.0,
+ "displayName": "scsi0:0"
+ }
+ },
+ "groups": [
+ "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/test1"
+ ],
+ "networkAdapters": {
+ "4000": {
+ "macAddress": "00:0c:29:ac:e3:6d",
+ "ipAddresses": [ ],
+ "displayName": "VM Network"
+ }
+ },
+ "updatedTimestamp": "2019-05-09T09:58:22.2990529Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Machines_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Machines_ListByProject.json
new file mode 100644
index 000000000000..0c14a18aa30e
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Machines_ListByProject.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abgoyalWEselfhostb72bproject"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/machines/269ef295-a38d-4f8f-9779-77ce79088311",
+ "name": "269ef295-a38d-4f8f-9779-77ce79088311",
+ "type": "Microsoft.Migrate/assessmentprojects/machines",
+ "eTag": "\"04006052-0000-0d00-0000-5cd4065a0000\"",
+ "properties": {
+ "discoveryMachineArmId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourcegroups/abgoyal-westeurope/providers/microsoft.offazure/vmwaresites/portalvcenterbc2fsite/machines/idclab-a360-fareast-corp-micros-86617dcf-effe-59ad-8c3a-cdd3ea7300d3_52bd4eeb-faf4-7d95-4dd5-5524350ce2bb",
+ "datacenterManagementServerArmId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.OffAzure/VMwareSites/PortalvCenterbc2fsite/vcenters/idclab-a360-fareast-corp-micros-86617dcf-effe-59ad-8c3a-cdd3ea7300d3",
+ "datacenterManagementServerName": "IDCLAB-A360.fareast.corp.microsoft.com",
+ "bootType": "BIOS",
+ "displayName": "ShubhamFirstAndThird",
+ "megabytesOfMemory": 16384.0,
+ "numberOfCores": 8,
+ "operatingSystemType": "windowsGuest",
+ "operatingSystemName": "Microsoft Windows Server 2016 (64-bit)",
+ "operatingSystemVersion": null,
+ "description": "Microsoft Azure Migration Image on Windows Server 2016",
+ "createdTimestamp": "2019-05-09T09:58:22.1734149Z",
+ "disks": {
+ "6000C29f-9065-8fe0-ab83-7e58ff6ba442": {
+ "gigabytesAllocated": 80.0,
+ "displayName": "scsi0:0"
+ }
+ },
+ "groups": [
+ "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/test1"
+ ],
+ "networkAdapters": {
+ "4000": {
+ "macAddress": "00:0c:29:ac:e3:6d",
+ "ipAddresses": [ ],
+ "displayName": "VM Network"
+ }
+ },
+ "updatedTimestamp": "2019-05-09T09:58:22.2990529Z"
+ }
+ },
+ {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/machines/3ad6c8b7-08d6-45dc-87f5-cd533501f553",
+ "name": "3ad6c8b7-08d6-45dc-87f5-cd533501f553",
+ "type": "Microsoft.Migrate/assessmentprojects/machines",
+ "eTag": "\"04005652-0000-0d00-0000-5cd4065a0000\"",
+ "properties": {
+ "discoveryMachineArmId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourcegroups/abgoyal-westeurope/providers/microsoft.offazure/vmwaresites/portalvcenterbc2fsite/machines/idclab-a360-fareast-corp-micros-86617dcf-effe-59ad-8c3a-cdd3ea7300d3_52e5be9c-2758-a483-c252-eeef7919095c",
+ "datacenterManagementServerArmId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.OffAzure/VMwareSites/PortalvCenterbc2fsite/vcenters/idclab-a360-fareast-corp-micros-86617dcf-effe-59ad-8c3a-cdd3ea7300d3",
+ "datacenterManagementServerName": "IDCLAB-A360.fareast.corp.microsoft.com",
+ "bootType": "BIOS",
+ "displayName": "shsinglaVM5",
+ "megabytesOfMemory": 16384.0,
+ "numberOfCores": 8,
+ "operatingSystemType": "windowsGuest",
+ "operatingSystemName": "Microsoft Windows Server 2016 (64-bit)",
+ "operatingSystemVersion": null,
+ "description": "Microsoft Azure Migration Image on Windows Server 2016",
+ "createdTimestamp": "2019-05-09T09:58:22.1734149Z",
+ "disks": {
+ "6000C296-54c9-e29c-51be-125e76850958": {
+ "gigabytesAllocated": 80.0,
+ "displayName": "scsi0:0"
+ }
+ },
+ "groups": [
+ "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/groups/test1"
+ ],
+ "networkAdapters": {
+ "4000": {
+ "macAddress": "00:0c:29:1f:ac:0a",
+ "ipAddresses": [ ],
+ "displayName": "VM Network"
+ }
+ },
+ "updatedTimestamp": "2019-05-09T09:58:22.3142054Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Operations_List.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Operations_List.json
new file mode 100644
index 000000000000..6e2a4f21c451
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Operations_List.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Read",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/assessmentProjects",
+ "operation": "Read",
+ "description": "Reads a project"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Write",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/assessmentProjects",
+ "operation": "Write",
+ "description": "Creates or updates a project"
+ },
+ "origin": "user,system"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ProjectsInSubscription_List.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ProjectsInSubscription_List.json
new file mode 100644
index 000000000000..9cd8af893895
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ProjectsInSubscription_List.json
@@ -0,0 +1,224 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/SMSValidations/providers/Microsoft.Migrate/assessmentprojects/site1493ae9ea68project",
+ "name": "site1493ae9ea68project",
+ "type": "Microsoft.Migrate/assessmentprojects",
+ "eTag": "\"0500be57-0000-0300-0000-5cb893f70000\"",
+ "location": "centralus",
+ "properties": {
+ "numberOfGroups": 8,
+ "numberOfMachines": 26,
+ "numberOfAssessments": 12,
+ "lastAssessmentTimestamp": "2019-04-18T15:12:55.2386626Z",
+ "createdTimestamp": "2019-02-15T09:18:02.572288Z",
+ "updatedTimestamp": "2019-03-18T03:31:20.8362646Z",
+ "serviceEndpoint": "https://asmsrvprodcus.prod.migration.windowsazure.com/",
+ "assessmentSolutionId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/SMSValidations/providers/Microsoft.Migrate/MigrateProjects/SMSValidations-MigrateProject/Solutions/Servers-Assessment-ServerAssessment",
+ "projectStatus": "Active",
+ "customerWorkspaceId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourcegroups/SMSValidations/providers/Microsoft.OperationalInsights/workspaces/test-haili-01",
+ "customerWorkspaceLocation": "southeastasia",
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/ppValidation/providers/Microsoft.Migrate/assessmentprojects/site1ad5aa6cc09project",
+ "name": "site1ad5aa6cc09project",
+ "type": "Microsoft.Migrate/assessmentprojects",
+ "eTag": "\"8300bdec-0000-0300-0000-5cd678410000\"",
+ "location": "centralus",
+ "properties": {
+ "numberOfGroups": 7,
+ "numberOfMachines": 29,
+ "numberOfAssessments": 12,
+ "lastAssessmentTimestamp": "2019-05-11T07:22:41.5553328Z",
+ "createdTimestamp": "2019-02-18T16:46:46.0843984Z",
+ "updatedTimestamp": "2019-02-18T16:46:46.0843984Z",
+ "serviceEndpoint": "https://asmsrvprodcus.prod.migration.windowsazure.com/",
+ "assessmentSolutionId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/ppValidation/providers/Microsoft.Migrate/MigrateProjects/ppValidation-MigrateProject/Solutions/Servers-Assessment-ServerAssessment",
+ "projectStatus": "Active",
+ "customerWorkspaceId": null,
+ "customerWorkspaceLocation": null,
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/SDKUpgradeValidations/providers/Microsoft.Migrate/assessmentprojects/migrateproject0720project",
+ "name": "migrateproject0720project",
+ "type": "Microsoft.Migrate/assessmentprojects",
+ "eTag": "\"0d00efcf-0000-0300-0000-5d6fdac70000\"",
+ "location": "centralus",
+ "properties": {
+ "numberOfGroups": 1,
+ "numberOfMachines": 24,
+ "numberOfAssessments": 2,
+ "lastAssessmentTimestamp": "2019-09-04T15:39:51.3046884Z",
+ "createdTimestamp": "2019-03-22T07:06:04.9725546Z",
+ "updatedTimestamp": "2019-03-22T07:06:04.9725546Z",
+ "serviceEndpoint": "https://asmsrvprodcus.prod.migration.windowsazure.com/",
+ "assessmentSolutionId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/SDKUpgradeValidations/providers/Microsoft.Migrate/MigrateProjects/SDKUpgradeValidations-MigrateProject/Solutions/Servers-Assessment-ServerAssessment",
+ "projectStatus": "Active",
+ "customerWorkspaceId": null,
+ "customerWorkspaceLocation": null,
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/AccessibilityTesting/providers/Microsoft.Migrate/assessmentprojects/migrateproject03acproject",
+ "name": "migrateproject03acproject",
+ "type": "Microsoft.Migrate/assessmentprojects",
+ "eTag": "\"00004d14-0000-0300-0000-5cb820290000\"",
+ "location": "centralus",
+ "properties": {
+ "numberOfGroups": 0,
+ "numberOfMachines": 16,
+ "numberOfAssessments": 0,
+ "lastAssessmentTimestamp": null,
+ "createdTimestamp": "2019-04-18T06:53:59.4191419Z",
+ "updatedTimestamp": "2019-04-18T06:53:59.4191419Z",
+ "serviceEndpoint": "https://asmsrvprodcus.prod.migration.windowsazure.com/",
+ "assessmentSolutionId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/AccessibilityTesting/providers/Microsoft.Migrate/MigrateProjects/AccessibilityTesting-MigrateProject/Solutions/Servers-Assessment-ServerAssessment",
+ "projectStatus": "Active",
+ "customerWorkspaceId": null,
+ "customerWorkspaceLocation": null,
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/vmwaretesting/providers/Microsoft.Migrate/assessmentprojects/migrateprojecta961project",
+ "name": "migrateprojecta961project",
+ "type": "Microsoft.Migrate/assessmentprojects",
+ "eTag": "\"1300df9f-0000-0300-0000-5d6e6d860000\"",
+ "location": "centralus",
+ "properties": {
+ "numberOfGroups": 1,
+ "numberOfMachines": 47,
+ "numberOfAssessments": 0,
+ "lastAssessmentTimestamp": null,
+ "createdTimestamp": "2019-04-20T11:59:42.7355994Z",
+ "updatedTimestamp": "2019-09-03T13:41:26.6775107Z",
+ "serviceEndpoint": "https://asmsrvprodcus.prod.migration.windowsazure.com/",
+ "assessmentSolutionId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/vmwaretesting/providers/Microsoft.Migrate/MigrateProjects/vmwaretesting-MigrateProject/Solutions/Servers-Assessment-ServerAssessment",
+ "projectStatus": "Active",
+ "customerWorkspaceId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourcegroups/vmwaretesting/providers/Microsoft.OperationalInsights/workspaces/mahpar324211",
+ "customerWorkspaceLocation": "westeurope",
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/GARegressionTesting/providers/Microsoft.Migrate/assessmentprojects/PortalGAValidations43bbproject",
+ "name": "PortalGAValidations43bbproject",
+ "type": "Microsoft.Migrate/assessmentprojects",
+ "eTag": "\"02006b1f-0000-0300-0000-5d24a44a0000\"",
+ "location": "centralus",
+ "properties": {
+ "numberOfGroups": 4,
+ "numberOfMachines": 49,
+ "numberOfAssessments": 4,
+ "lastAssessmentTimestamp": "2019-07-09T14:27:22.8856571Z",
+ "createdTimestamp": "2019-07-04T03:56:50.853542Z",
+ "updatedTimestamp": "2019-07-04T03:56:50.853542Z",
+ "serviceEndpoint": "https://asmsrvprodcus.prod.migration.windowsazure.com/",
+ "assessmentSolutionId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/GARegressionTesting/providers/Microsoft.Migrate/MigrateProjects/PortalGAValidations/Solutions/Servers-Assessment-ServerAssessment",
+ "projectStatus": "Active",
+ "customerWorkspaceId": null,
+ "customerWorkspaceLocation": null,
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/vaindana-migrate-ga-rg/providers/Microsoft.Migrate/assessmentprojects/vaindana-pre-ga120dproject",
+ "name": "vaindana-pre-ga120dproject",
+ "type": "Microsoft.Migrate/assessmentprojects",
+ "eTag": "\"0400d98a-0000-0d00-0000-5cd3ff790000\"",
+ "location": "westeurope",
+ "properties": {
+ "numberOfGroups": 2,
+ "numberOfMachines": 14,
+ "numberOfAssessments": 2,
+ "lastAssessmentTimestamp": "2019-05-09T10:22:48.9730444Z",
+ "createdTimestamp": "2019-05-08T15:09:37.8565484Z",
+ "updatedTimestamp": "2019-05-08T17:12:42.1788728Z",
+ "serviceEndpoint": "https://asmsrvprodwe.prod.migration.windowsazure.com/",
+ "assessmentSolutionId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/vaindana-migrate-ga-rg/providers/Microsoft.Migrate/MigrateProjects/vaindana-pre-ga/Solutions/Servers-Assessment-ServerAssessment",
+ "projectStatus": "Active",
+ "customerWorkspaceId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourcegroups/vaindana-migrate-ga-rg/providers/Microsoft.OperationalInsights/workspaces/vaindana-pre-ga-oms",
+ "customerWorkspaceLocation": "westeurope",
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/Mahesh-RG-Eurpe-Bugbash/providers/Microsoft.Migrate/assessmentprojects/Mahesh-V2-Europe-Bugbash181eproject",
+ "name": "Mahesh-V2-Europe-Bugbash181eproject",
+ "type": "Microsoft.Migrate/assessmentprojects",
+ "eTag": "\"0b00349d-0000-0d00-0000-5d22eb5b0000\"",
+ "location": "westeurope",
+ "properties": {
+ "numberOfGroups": 3,
+ "numberOfMachines": 36,
+ "numberOfAssessments": 6,
+ "lastAssessmentTimestamp": "2019-07-02T06:38:34.2815102Z",
+ "createdTimestamp": "2019-05-09T07:38:23.0345615Z",
+ "updatedTimestamp": "2019-05-09T07:38:23.0345615Z",
+ "serviceEndpoint": "https://asmsrvprodwe.prod.migration.windowsazure.com/",
+ "assessmentSolutionId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/Mahesh-RG-Eurpe-Bugbash/providers/Microsoft.Migrate/MigrateProjects/Mahesh-V2-Europe-Bugbash/Solutions/Servers-Assessment-ServerAssessment",
+ "projectStatus": "Active",
+ "customerWorkspaceId": null,
+ "customerWorkspaceLocation": null,
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject",
+ "name": "abgoyalWEselfhostb72bproject",
+ "type": "Microsoft.Migrate/assessmentprojects",
+ "eTag": "\"0600c777-0000-0d00-0000-5cdaa4170000\"",
+ "location": "westeurope",
+ "properties": {
+ "numberOfGroups": 2,
+ "numberOfMachines": 28,
+ "numberOfAssessments": 3,
+ "lastAssessmentTimestamp": "2019-05-14T11:18:47.7893715Z",
+ "createdTimestamp": "2019-05-09T08:28:53.3305058Z",
+ "updatedTimestamp": "2019-05-09T10:11:16.0228967Z",
+ "serviceEndpoint": "https://asmsrvprodwe.prod.migration.windowsazure.com/",
+ "assessmentSolutionId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourcegroups/abgoyal-westeurope/providers/microsoft.migrate/migrateprojects/abgoyalweselfhost/Solutions/Servers-Assessment-ServerAssessment",
+ "projectStatus": "Active",
+ "customerWorkspaceId": null,
+ "customerWorkspaceLocation": null,
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/vaindana-migrate-ga-rg/providers/Microsoft.Migrate/assessmentprojects/vaindana-pre-ga-10180project",
+ "name": "vaindana-pre-ga-10180project",
+ "type": "Microsoft.Migrate/assessmentprojects",
+ "eTag": "\"01003c88-0000-0d00-0000-5d41601b0000\"",
+ "location": "westeurope",
+ "properties": {
+ "numberOfGroups": 2,
+ "numberOfMachines": 101,
+ "numberOfAssessments": 4,
+ "lastAssessmentTimestamp": "2019-07-31T09:32:11.4963946Z",
+ "createdTimestamp": "2019-05-09T11:58:13.0218178Z",
+ "updatedTimestamp": "2019-05-15T16:52:08.9189309Z",
+ "serviceEndpoint": "https://asmsrvprodwe.prod.migration.windowsazure.com/",
+ "assessmentSolutionId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/vaindana-migrate-ga-rg/providers/Microsoft.Migrate/MigrateProjects/vaindana-pre-ga-1/Solutions/Servers-Assessment-ServerAssessment",
+ "projectStatus": "Active",
+ "customerWorkspaceId": null,
+ "customerWorkspaceLocation": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Create.json
new file mode 100644
index 000000000000..d3b7da2efc58
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Create.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abGoyalProject2",
+ "project": {
+ "properties": {
+ "assessmentSolutionId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourcegroups/abgoyal-westeurope/providers/microsoft.migrate/migrateprojects/abgoyalweselfhost/Solutions/Servers-Assessment-ServerAssessment",
+ "projectStatus": "Active",
+ "customerWorkspaceId": null,
+ "customerWorkspaceLocation": null
+ },
+ "eTag": "",
+ "location": "West Europe",
+ "tags": { }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "numberOfGroups": 0,
+ "numberOfMachines": 0,
+ "numberOfAssessments": 0,
+ "lastAssessmentTimestamp": null,
+ "createdTimestamp": "2019-08-26T05:56:58.7521828Z",
+ "updatedTimestamp": "2019-08-26T05:56:58.7990948Z",
+ "serviceEndpoint": "https://localhost/",
+ "assessmentSolutionId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.Migrate/assessmentprojects/abGoyalProject2",
+ "projectStatus": "Active",
+ "customerWorkspaceId": null,
+ "customerWorkspaceLocation": null
+ },
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abGoyalProject2",
+ "name": "abGoyalProject2",
+ "type": "Microsoft.Migrate/assessmentprojects",
+ "eTag": "",
+ "location": "West Europe",
+ "tags": { }
+ }
+ },
+ "200": {
+ "body": {
+ "properties": {
+ "numberOfGroups": 0,
+ "numberOfMachines": 0,
+ "numberOfAssessments": 0,
+ "lastAssessmentTimestamp": null,
+ "createdTimestamp": "2019-08-26T05:56:58.7521828Z",
+ "updatedTimestamp": "2019-08-26T05:56:58.7990948Z",
+ "serviceEndpoint": "https://localhost/",
+ "assessmentSolutionId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.Migrate/assessmentprojects/abGoyalProject2",
+ "projectStatus": "Active",
+ "customerWorkspaceId": null,
+ "customerWorkspaceLocation": null
+ },
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abGoyalProject2",
+ "name": "abGoyalProject2",
+ "type": "Microsoft.Migrate/assessmentprojects",
+ "eTag": "",
+ "location": "West Europe",
+ "tags": { }
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Delete.json
new file mode 100644
index 000000000000..fe913fe83843
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abGoyalProject2"
+ },
+ "responses": {
+ "200": { },
+ "204": { }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Get.json
new file mode 100644
index 000000000000..dffaa6d080fd
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Get.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abgoyalWEselfhostb72bproject"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject",
+ "name": "abgoyalWEselfhostb72bproject",
+ "type": "Microsoft.Migrate/assessmentprojects",
+ "eTag": "\"0600c777-0000-0d00-0000-5cdaa4170000\"",
+ "location": "westeurope",
+ "properties": {
+ "numberOfGroups": 2,
+ "numberOfMachines": 28,
+ "numberOfAssessments": 3,
+ "lastAssessmentTimestamp": "2019-05-14T11:18:47.7893715Z",
+ "createdTimestamp": "2019-05-09T08:28:53.3305058Z",
+ "updatedTimestamp": "2019-05-09T10:11:16.0228967Z",
+ "serviceEndpoint": "https://asmsrvprodwe.prod.migration.windowsazure.com/",
+ "assessmentSolutionId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourcegroups/abgoyal-westeurope/providers/microsoft.migrate/migrateprojects/abgoyalweselfhost/Solutions/Servers-Assessment-ServerAssessment",
+ "projectStatus": "Active",
+ "customerWorkspaceId": null,
+ "customerWorkspaceLocation": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_List.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_List.json
new file mode 100644
index 000000000000..019d9e498e23
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_List.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject",
+ "name": "abgoyalWEselfhostb72bproject",
+ "type": "Microsoft.Migrate/assessmentprojects",
+ "eTag": "\"0600c777-0000-0d00-0000-5cdaa4170000\"",
+ "location": "westeurope",
+ "properties": {
+ "numberOfGroups": 2,
+ "numberOfMachines": 28,
+ "numberOfAssessments": 3,
+ "lastAssessmentTimestamp": "2019-05-14T11:18:47.7893715Z",
+ "createdTimestamp": "2019-05-09T08:28:53.3305058Z",
+ "updatedTimestamp": "2019-05-09T10:11:16.0228967Z",
+ "serviceEndpoint": "https://asmsrvprodwe.prod.migration.windowsazure.com/",
+ "assessmentSolutionId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourcegroups/abgoyal-westeurope/providers/microsoft.migrate/migrateprojects/abgoyalweselfhost/Solutions/Servers-Assessment-ServerAssessment",
+ "projectStatus": "Active",
+ "customerWorkspaceId": null,
+ "customerWorkspaceLocation": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Update.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Update.json
new file mode 100644
index 000000000000..ec365043f56b
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Update.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abGoyalProject2",
+ "project": {
+ "properties": {
+ "assessmentSolutionId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourcegroups/abgoyal-westeurope/providers/microsoft.migrate/migrateprojects/abgoyalweselfhost/Solutions/Servers-Assessment-ServerAssessment",
+ "projectStatus": "Active",
+ "customerWorkspaceId": null,
+ "customerWorkspaceLocation": null
+ },
+ "eTag": "",
+ "location": "West Europe",
+ "tags": { }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "numberOfGroups": 0,
+ "numberOfMachines": 0,
+ "numberOfAssessments": 0,
+ "lastAssessmentTimestamp": null,
+ "createdTimestamp": "2019-08-26T05:56:58.7521828Z",
+ "updatedTimestamp": "2019-08-26T05:56:58.7990948Z",
+ "serviceEndpoint": "https://localhost/",
+ "assessmentSolutionId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.Migrate/assessmentprojects/abGoyalProject2",
+ "projectStatus": "Active",
+ "customerWorkspaceId": null,
+ "customerWorkspaceLocation": null
+ },
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abGoyalProject2",
+ "name": "abGoyalProject2",
+ "type": "Microsoft.Migrate/assessmentprojects",
+ "eTag": "",
+ "location": "West Europe",
+ "tags": { }
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Create.json
new file mode 100644
index 000000000000..2f1db37d1961
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Create.json
@@ -0,0 +1,76 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abgoyalWEselfhostb72bproject",
+ "vmWareCollectorName": "PortalvCenterbc2fcollector",
+ "collectorBody": {
+ "properties": {
+ "discoverySiteId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.OffAzure/VMwareSites/PortalvCenterbc2fsite",
+ "agentProperties": {
+ "spnDetails": {
+ "authority": "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
+ "applicationId": "fc717575-8173-4b21-92a5-658b655e613e",
+ "audience": "https://72f988bf-86f1-41af-91ab-2d7cd011db47/PortalvCenterbc2fagentauthaadapp",
+ "objectId": "29d94f38-db94-4980-aec0-0cfd55ab1cd0",
+ "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
+ }
+ }
+ },
+ "eTag": "\"01003d32-0000-0d00-0000-5d74d2e50000\""
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "eTag": "\"01003d32-0000-0d00-0000-5d74d2e50000\"",
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/vmwarecollectors/PortalvCenterbc2fcollector",
+ "name": "PortalvCenterbc2fcollector",
+ "type": "Microsoft.Migrate/assessmentprojects/vmwarecollectors",
+ "properties": {
+ "discoverySiteId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.OffAzure/VMwareSites/PortalvCenterbc2fsite",
+ "createdTimestamp": "2019-05-09T09:58:21.4988104Z",
+ "updatedTimestamp": "2019-09-08T10:07:33.1996006Z",
+ "agentProperties": {
+ "id": "75b0f71e-1272-4f29-a801-29cfa4b34a6e",
+ "version": "1.0.8.227",
+ "lastHeartbeatUtc": "2019-05-28T06:21:28.7794661Z",
+ "spnDetails": {
+ "authority": "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
+ "applicationId": "fc717575-8173-4b21-92a5-658b655e613e",
+ "audience": "https://72f988bf-86f1-41af-91ab-2d7cd011db47/PortalvCenterbc2fagentauthaadapp",
+ "objectId": "29d94f38-db94-4980-aec0-0cfd55ab1cd0",
+ "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
+ }
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "eTag": "\"01003d32-0000-0d00-0000-5d74d2e50000\"",
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/vmwarecollectors/PortalvCenterbc2fcollector",
+ "name": "PortalvCenterbc2fcollector",
+ "type": "Microsoft.Migrate/assessmentprojects/vmwarecollectors",
+ "properties": {
+ "discoverySiteId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.OffAzure/VMwareSites/PortalvCenterbc2fsite",
+ "createdTimestamp": "2019-05-09T09:58:21.4988104Z",
+ "updatedTimestamp": "2019-09-08T10:07:33.1996006Z",
+ "agentProperties": {
+ "id": "75b0f71e-1272-4f29-a801-29cfa4b34a6e",
+ "version": "1.0.8.227",
+ "lastHeartbeatUtc": "2019-05-28T06:21:28.7794661Z",
+ "spnDetails": {
+ "authority": "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
+ "applicationId": "fc717575-8173-4b21-92a5-658b655e613e",
+ "audience": "https://72f988bf-86f1-41af-91ab-2d7cd011db47/PortalvCenterbc2fagentauthaadapp",
+ "objectId": "29d94f38-db94-4980-aec0-0cfd55ab1cd0",
+ "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Delete.json
new file mode 100644
index 000000000000..620497ccd032
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abgoyalWEselfhostb72bproject",
+ "vmWareCollectorName": "PortalvCenterbc2fcollector"
+ },
+ "responses": {
+ "200": { },
+ "204": { }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Get.json
new file mode 100644
index 000000000000..af9dcbe1933d
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Get.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abgoyalWEselfhostb72bproject",
+ "vmWareCollectorName": "PortalvCenterbc2fcollector"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "eTag": "\"01003d32-0000-0d00-0000-5d74d2e50000\"",
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/vmwarecollectors/PortalvCenterbc2fcollector",
+ "name": "PortalvCenterbc2fcollector",
+ "type": "Microsoft.Migrate/assessmentprojects/vmwarecollectors",
+ "properties": {
+ "discoverySiteId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.OffAzure/VMwareSites/PortalvCenterbc2fsite",
+ "createdTimestamp": "2019-05-09T09:58:21.4988104Z",
+ "updatedTimestamp": "2019-09-08T10:07:33.1996006Z",
+ "agentProperties": {
+ "id": "75b0f71e-1272-4f29-a801-29cfa4b34a6e",
+ "version": "1.0.8.227",
+ "lastHeartbeatUtc": "2019-05-28T06:21:28.7794661Z",
+ "spnDetails": {
+ "authority": "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
+ "applicationId": "fc717575-8173-4b21-92a5-658b655e613e",
+ "audience": "https://72f988bf-86f1-41af-91ab-2d7cd011db47/PortalvCenterbc2fagentauthaadapp",
+ "objectId": "29d94f38-db94-4980-aec0-0cfd55ab1cd0",
+ "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_ListByProject.json
new file mode 100644
index 000000000000..7af58ead956b
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_ListByProject.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "resourceGroupName": "abgoyal-westEurope",
+ "api-version": "2019-10-01",
+ "subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
+ "projectName": "abgoyalWEselfhostb72bproject"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "eTag": "\"01003d32-0000-0d00-0000-5d74d2e50000\"",
+ "id": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westeurope/providers/Microsoft.Migrate/assessmentprojects/abgoyalWEselfhostb72bproject/vmwarecollectors/PortalvCenterbc2fcollector",
+ "name": "PortalvCenterbc2fcollector",
+ "type": "Microsoft.Migrate/assessmentprojects/vmwarecollectors",
+ "properties": {
+ "discoverySiteId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.OffAzure/VMwareSites/PortalvCenterbc2fsite",
+ "createdTimestamp": "2019-05-09T09:58:21.4988104Z",
+ "updatedTimestamp": "2019-09-08T10:07:33.1996006Z",
+ "agentProperties": {
+ "id": "75b0f71e-1272-4f29-a801-29cfa4b34a6e",
+ "version": "1.0.8.227",
+ "lastHeartbeatUtc": "2019-05-28T06:21:28.7794661Z",
+ "spnDetails": {
+ "authority": "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
+ "applicationId": "fc717575-8173-4b21-92a5-658b655e613e",
+ "audience": "https://72f988bf-86f1-41af-91ab-2d7cd011db47/PortalvCenterbc2fagentauthaadapp",
+ "objectId": "29d94f38-db94-4980-aec0-0cfd55ab1cd0",
+ "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/migrate.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/migrate.json
new file mode 100644
index 000000000000..c4658d23411a
--- /dev/null
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/migrate.json
@@ -0,0 +1,3907 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-10-01",
+ "title": "Azure Migrate V2",
+ "description": "Assess your workloads for Azure.",
+ "contact": {
+ "name": "Microsoft",
+ "email": "azuremigrate@microsoft.com"
+ }
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "parameters": {
+ "subscriptionId": {
+ "name": "subscriptionId",
+ "description": "Azure Subscription Id in which project was created.",
+ "type": "string",
+ "in": "path",
+ "required": true
+ },
+ "resourceGroupName": {
+ "name": "resourceGroupName",
+ "description": "Name of the Azure Resource Group that project is part of.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "projectName": {
+ "name": "projectName",
+ "description": "Name of the Azure Migrate project.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "machineName": {
+ "name": "machineName",
+ "description": "Unique name of a machine in private datacenter.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "assessedMachineName": {
+ "name": "assessedMachineName",
+ "description": "Unique name of an assessed machine evaluated as part of an assessment.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "groupName": {
+ "name": "groupName",
+ "description": "Unique name of a group within a project.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "assessmentName": {
+ "name": "assessmentName",
+ "description": "Unique name of an assessment within a project.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "hyperVCollectorName": {
+ "name": "hyperVCollectorName",
+ "description": "Unique name of a Hyper-V collector within a project.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "vmWareCollectorName": {
+ "name": "vmWareCollectorName",
+ "description": "Unique name of a VMware collector within a project.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "assessmentOptionsName": {
+ "name": "assessmentOptionsName",
+ "description": "Name of the assessment options. The only name accepted in default.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "api-version": {
+ "name": "api-version",
+ "description": "Standard request header. Used by service to identify API version used by client.",
+ "type": "string",
+ "in": "query",
+ "required": true,
+ "enum": [
+ "2019-10-01"
+ ]
+ },
+ "acceptLanguage": {
+ "description": "Standard request header. Used by service to respond to client in appropriate language.",
+ "name": "Accept-Language",
+ "type": "string",
+ "in": "header"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "definitions": {
+ "Project": {
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "description": "Azure Migrate Project.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Path reference to this project /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the project.",
+ "readOnly": true
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the object = [Microsoft.Migrate/assessmentProjects].",
+ "readOnly": true
+ },
+ "eTag": {
+ "type": "string",
+ "description": "For optimistic concurrency control."
+ },
+ "location": {
+ "type": "string",
+ "description": "Azure location in which project is created."
+ },
+ "tags": {
+ "type": "object",
+ "description": "Tags provided by Azure Tagging service."
+ },
+ "properties": {
+ "description": "Properties of the project.",
+ "$ref": "#/definitions/ProjectProperties"
+ }
+ }
+ },
+ "ProjectProperties": {
+ "type": "object",
+ "description": "Properties of a project.",
+ "properties": {
+ "createdTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Time when this project was created. Date-Time represented in ISO-8601 format.",
+ "readOnly": true
+ },
+ "updatedTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Time when this project was last updated. Date-Time represented in ISO-8601 format.",
+ "readOnly": true
+ },
+ "serviceEndpoint": {
+ "type": "string",
+ "description": "Endpoint at which the collector agent can call agent REST API.",
+ "readOnly": true
+ },
+ "assessmentSolutionId": {
+ "type": "string",
+ "description": "Assessment solution ARM id tracked by Microsoft.Migrate/migrateProjects."
+ },
+ "projectStatus": {
+ "type": "string",
+ "enum": [
+ "Active",
+ "Inactive"
+ ],
+ "description": "Assessment project status.",
+ "x-ms-enum": {
+ "name": "ProjectStatus",
+ "modelAsString": true
+ }
+ },
+ "customerWorkspaceId": {
+ "type": "string",
+ "description": "The ARM id of service map workspace created by customer."
+ },
+ "customerWorkspaceLocation": {
+ "type": "string",
+ "description": "Location of service map workspace created by customer."
+ },
+ "numberOfGroups": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Number of groups created in the project.",
+ "readOnly": true
+ },
+ "numberOfMachines": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Number of machines in the project.",
+ "readOnly": true
+ },
+ "numberOfAssessments": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Number of assessments created in the project.",
+ "readOnly": true
+ },
+ "lastAssessmentTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Time when last assessment was created. Date-Time represented in ISO-8601 format. This value will be null until assessment is created.",
+ "x-nullable": true,
+ "readOnly": true
+ },
+ "provisioningState": {
+ "type": "string",
+ "enum": [
+ "Accepted",
+ "Creating",
+ "Deleting",
+ "Failed",
+ "Moving",
+ "Succeeded"
+ ],
+ "description": "Provisioning state of the project.",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "Group": {
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "description": "A group created in a Migration project.",
+ "required": [
+ "properties"
+ ],
+ "properties": {
+ "id": {
+ "description": "Path reference to this group. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Name of the group.",
+ "type": "string",
+ "readOnly": true
+ },
+ "eTag": {
+ "type": "string",
+ "description": "For optimistic concurrency control."
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the object = [Microsoft.Migrate/assessmentProjects/groups].",
+ "readOnly": true
+ },
+ "properties": {
+ "description": "Properties of the group.",
+ "$ref": "#/definitions/GroupProperties"
+ }
+ }
+ },
+ "GroupProperties": {
+ "type": "object",
+ "description": "Properties of group resource.",
+ "properties": {
+ "groupStatus": {
+ "type": "string",
+ "enum": [
+ "Created",
+ "Updated",
+ "Running",
+ "Completed",
+ "Invalid"
+ ],
+ "description": "Whether the group has been created and is valid.",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "GroupStatus",
+ "modelAsString": true
+ }
+ },
+ "machineCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Number of machines part of this group.",
+ "readOnly": true
+ },
+ "assessments": {
+ "type": "array",
+ "description": "List of References to Assessments created on this group.",
+ "readOnly": true,
+ "items": {
+ "type": "string",
+ "description": "Reference to an Assessment. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/assessments/{assessmentName}",
+ "readOnly": true
+ }
+ },
+ "areAssessmentsRunning": {
+ "type": "boolean",
+ "description": "If the assessments are in running state.",
+ "readOnly": true
+ },
+ "createdTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Time when this group was created. Date-Time represented in ISO-8601 format.",
+ "readOnly": true
+ },
+ "updatedTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Time when this group was last updated. Date-Time represented in ISO-8601 format.",
+ "readOnly": true
+ }
+ }
+ },
+ "UpdateGroupBody": {
+ "type": "object",
+ "description": "Properties of group update.",
+ "properties": {
+ "eTag": {
+ "type": "string",
+ "description": "For optimistic concurrency control."
+ },
+ "properties": {
+ "description": "Properties of the group.",
+ "$ref": "#/definitions/GroupBodyProperties"
+ }
+ }
+ },
+ "GroupBodyProperties": {
+ "type": "object",
+ "description": "Body properties of group update.",
+ "properties": {
+ "operationType": {
+ "type": "string",
+ "enum": [
+ "Add",
+ "Remove"
+ ],
+ "description": "Whether to add or remove the machines.",
+ "x-ms-enum": {
+ "name": "GroupUpdateOperation",
+ "modelAsString": true
+ }
+ },
+ "machines": {
+ "type": "array",
+ "description": "List of machine names that are part of this group.",
+ "items": {
+ "type": "string",
+ "description": "Reference to a machine. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/machines/{machineName}"
+ }
+ }
+ }
+ },
+ "Assessment": {
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "description": "An assessment created for a group in the Migration project.",
+ "required": [
+ "properties"
+ ],
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Path reference to this assessment. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/assessment/{assessmentName}",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "description": "Unique name of an assessment.",
+ "readOnly": true
+ },
+ "eTag": {
+ "type": "string",
+ "description": "For optimistic concurrency control."
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the object = [Microsoft.Migrate/assessmentProjects/groups/assessments].",
+ "readOnly": true
+ },
+ "properties": {
+ "description": "Properties of the assessment.",
+ "$ref": "#/definitions/AssessmentProperties"
+ }
+ }
+ },
+ "AssessmentProperties": {
+ "type": "object",
+ "description": "Properties of an assessment.",
+ "required": [
+ "stage",
+ "azureOfferCode",
+ "timeRange",
+ "percentile",
+ "azureLocation",
+ "azureStorageRedundancy",
+ "scalingFactor",
+ "azurePricingTier",
+ "currency",
+ "azureHybridUseBenefit",
+ "discountPercentage",
+ "sizingCriterion",
+ "reservedInstance",
+ "azureDiskType",
+ "azureVmFamilies",
+ "vmUptime"
+ ],
+ "properties": {
+ "azureLocation": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "EastAsia",
+ "SoutheastAsia",
+ "AustraliaEast",
+ "AustraliaSoutheast",
+ "BrazilSouth",
+ "CanadaCentral",
+ "CanadaEast",
+ "WestEurope",
+ "NorthEurope",
+ "CentralIndia",
+ "SouthIndia",
+ "WestIndia",
+ "JapanEast",
+ "JapanWest",
+ "KoreaCentral",
+ "KoreaSouth",
+ "UkWest",
+ "UkSouth",
+ "NorthCentralUs",
+ "EastUs",
+ "WestUs2",
+ "SouthCentralUs",
+ "CentralUs",
+ "EastUs2",
+ "WestUs",
+ "WestCentralUs",
+ "GermanyCentral",
+ "GermanyNortheast",
+ "ChinaNorth",
+ "ChinaEast",
+ "USGovArizona",
+ "USGovTexas",
+ "USGovIowa",
+ "USGovVirginia",
+ "USDoDCentral",
+ "USDoDEast"
+ ],
+ "description": "Target Azure location for which the machines should be assessed. These enums are the same as used by Compute API.",
+ "x-ms-enum": {
+ "name": "AzureLocation",
+ "modelAsString": true
+ }
+ },
+ "azureOfferCode": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "MSAZR0003P",
+ "MSAZR0044P",
+ "MSAZR0059P",
+ "MSAZR0060P",
+ "MSAZR0062P",
+ "MSAZR0063P",
+ "MSAZR0064P",
+ "MSAZR0029P",
+ "MSAZR0022P",
+ "MSAZR0023P",
+ "MSAZR0148P",
+ "MSAZR0025P",
+ "MSAZR0036P",
+ "MSAZR0120P",
+ "MSAZR0121P",
+ "MSAZR0122P",
+ "MSAZR0123P",
+ "MSAZR0124P",
+ "MSAZR0125P",
+ "MSAZR0126P",
+ "MSAZR0127P",
+ "MSAZR0128P",
+ "MSAZR0129P",
+ "MSAZR0130P",
+ "MSAZR0111P",
+ "MSAZR0144P",
+ "MSAZR0149P",
+ "MSMCAZR0044P",
+ "MSMCAZR0059P",
+ "MSMCAZR0060P",
+ "MSMCAZR0063P",
+ "MSMCAZR0120P",
+ "MSMCAZR0121P",
+ "MSMCAZR0125P",
+ "MSMCAZR0128P",
+ "MSAZRDE0003P",
+ "MSAZRDE0044P",
+ "MSAZRUSGOV0003P",
+ "EA"
+ ],
+ "description": "Offer code according to which cost estimation is done.",
+ "x-ms-enum": {
+ "name": "AzureOfferCode",
+ "modelAsString": true
+ }
+ },
+ "eaSubscriptionId": {
+ "type": "string",
+ "description": "Enterprise agreement subscription arm id.",
+ "readOnly": true
+ },
+ "azurePricingTier": {
+ "type": "string",
+ "enum": [
+ "Standard",
+ "Basic"
+ ],
+ "description": "Pricing tier for Size evaluation.",
+ "x-ms-enum": {
+ "name": "AzurePricingTier",
+ "modelAsString": true
+ }
+ },
+ "azureStorageRedundancy": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "LocallyRedundant",
+ "ZoneRedundant",
+ "GeoRedundant",
+ "ReadAccessGeoRedundant"
+ ],
+ "description": "Storage Redundancy type offered by Azure.",
+ "x-ms-enum": {
+ "name": "AzureStorageRedundancy",
+ "modelAsString": true
+ }
+ },
+ "scalingFactor": {
+ "type": "number",
+ "format": "double",
+ "description": "Scaling factor used over utilization data to add a performance buffer for new machines to be created in Azure. Min Value = 1.0, Max value = 1.9, Default = 1.3."
+ },
+ "percentile": {
+ "type": "string",
+ "enum": [
+ "Percentile50",
+ "Percentile90",
+ "Percentile95",
+ "Percentile99"
+ ],
+ "description": "Percentile of performance data used to recommend Azure size.",
+ "x-ms-enum": {
+ "name": "Percentile",
+ "modelAsString": true
+ }
+ },
+ "timeRange": {
+ "type": "string",
+ "enum": [
+ "Day",
+ "Week",
+ "Month",
+ "Custom"
+ ],
+ "description": "Time range of performance data used to recommend a size.",
+ "x-ms-enum": {
+ "name": "TimeRange",
+ "modelAsString": true
+ }
+ },
+ "perfDataStartTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Start time to consider performance data for assessment",
+ "readOnly": true
+ },
+ "perfDataEndTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "End time to consider performance data for assessment",
+ "readOnly": true
+ },
+ "stage": {
+ "type": "string",
+ "enum": [
+ "InProgress",
+ "UnderReview",
+ "Approved"
+ ],
+ "description": "User configurable setting that describes the status of the assessment.",
+ "x-ms-enum": {
+ "name": "AssessmentStage",
+ "modelAsString": true
+ }
+ },
+ "currency": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "USD",
+ "DKK",
+ "CAD",
+ "IDR",
+ "JPY",
+ "KRW",
+ "NZD",
+ "NOK",
+ "RUB",
+ "SAR",
+ "ZAR",
+ "SEK",
+ "TRY",
+ "GBP",
+ "MXN",
+ "MYR",
+ "INR",
+ "HKD",
+ "BRL",
+ "TWD",
+ "EUR",
+ "CHF",
+ "ARS",
+ "AUD",
+ "CNY"
+ ],
+ "description": "Currency to report prices in.",
+ "x-ms-enum": {
+ "name": "Currency",
+ "modelAsString": true
+ }
+ },
+ "azureHybridUseBenefit": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Yes",
+ "No"
+ ],
+ "description": "AHUB discount on windows virtual machines.",
+ "x-ms-enum": {
+ "name": "AzureHybridUseBenefit",
+ "modelAsString": true
+ }
+ },
+ "discountPercentage": {
+ "type": "number",
+ "format": "double",
+ "description": "Custom discount percentage to be applied on final costs. Can be in the range [0, 100]."
+ },
+ "confidenceRatingInPercentage": {
+ "type": "number",
+ "format": "double",
+ "description": "Confidence rating percentage for assessment. Can be in the range [0, 100].",
+ "x-nullable": true,
+ "readOnly": true
+ },
+ "sizingCriterion": {
+ "type": "string",
+ "enum": [
+ "PerformanceBased",
+ "AsOnPremises"
+ ],
+ "description": "Assessment sizing criterion.",
+ "x-ms-enum": {
+ "name": "AssessmentSizingCriterion",
+ "modelAsString": true
+ }
+ },
+ "reservedInstance": {
+ "type": "string",
+ "enum": [
+ "None",
+ "RI1Year",
+ "RI3Year"
+ ],
+ "description": "Azure reserved instance.",
+ "x-ms-enum": {
+ "name": "ReservedInstance",
+ "modelAsString": true
+ }
+ },
+ "azureVmFamilies": {
+ "type": "array",
+ "description": "List of azure VM families.",
+ "items": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Basic_A0_A4",
+ "Standard_A0_A7",
+ "Standard_A8_A11",
+ "Av2_series",
+ "D_series",
+ "Dv2_series",
+ "DS_series",
+ "DSv2_series",
+ "F_series",
+ "Fs_series",
+ "G_series",
+ "GS_series",
+ "H_series",
+ "Ls_series",
+ "Dsv3_series",
+ "Dv3_series",
+ "Fsv2_series",
+ "Ev3_series",
+ "Esv3_series",
+ "M_series",
+ "DC_Series"
+ ],
+ "description": "Azure VM family.",
+ "x-ms-enum": {
+ "name": "AzureVmFamily",
+ "modelAsString": true
+ }
+ }
+ },
+ "azureDiskType": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Standard",
+ "Premium",
+ "StandardSSD",
+ "StandardOrPremium"
+ ],
+ "description": "Storage type selected for this disk.",
+ "x-ms-enum": {
+ "name": "AzureDiskType",
+ "modelAsString": true
+ }
+ },
+ "vmUptime": {
+ "description": "Specify the duration for which the VMs are up in the on-premises environment.",
+ "$ref": "#/definitions/VmUptime"
+ },
+ "pricesTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Time when the Azure Prices were queried. Date-Time represented in ISO-8601 format.",
+ "readOnly": true
+ },
+ "createdTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Time when this project was created. Date-Time represented in ISO-8601 format.",
+ "readOnly": true
+ },
+ "updatedTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Time when this project was last updated. Date-Time represented in ISO-8601 format.",
+ "readOnly": true
+ },
+ "monthlyComputeCost": {
+ "type": "number",
+ "format": "double",
+ "description": "Monthly compute cost estimate for the machines that are part of this assessment as a group, for a 31-day month.",
+ "readOnly": true
+ },
+ "monthlyBandwidthCost": {
+ "type": "number",
+ "format": "double",
+ "description": "Monthly network cost estimate for the machines that are part of this assessment as a group, for a 31-day month.",
+ "readOnly": true
+ },
+ "monthlyStorageCost": {
+ "type": "number",
+ "format": "double",
+ "description": "Monthly storage cost estimate for the machines that are part of this assessment as a group, for a 31-day month.",
+ "readOnly": true
+ },
+ "monthlyPremiumStorageCost": {
+ "type": "number",
+ "format": "double",
+ "description": "Monthly premium storage cost estimate for the machines that are part of this assessment as a group, for a 31-day month.",
+ "readOnly": true
+ },
+ "monthlyStandardSSDStorageCost": {
+ "type": "number",
+ "format": "double",
+ "description": "Monthly standard SSD storage cost estimate for the machines that are part of this assessment as a group, for a 31-day month.",
+ "readOnly": true
+ },
+ "status": {
+ "type": "string",
+ "enum": [
+ "Created",
+ "Updated",
+ "Running",
+ "Completed",
+ "Invalid",
+ "OutOfSync",
+ "OutDated"
+ ],
+ "description": "Whether the assessment has been created and is valid.",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "AssessmentStatus",
+ "modelAsString": true
+ }
+ },
+ "numberOfMachines": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Number of assessed machines part of this assessment.",
+ "readOnly": true
+ }
+ }
+ },
+ "VmUptime": {
+ "type": "object",
+ "properties": {
+ "daysPerMonth": {
+ "type": "number",
+ "format": "int32",
+ "description": "Number of days in a month for VM uptime."
+ },
+ "hoursPerDay": {
+ "type": "number",
+ "format": "int32",
+ "description": "Number of hours per day for VM uptime."
+ }
+ }
+ },
+ "Disk": {
+ "type": "object",
+ "description": "A disk discovered on a machine.",
+ "properties": {
+ "gigabytesAllocated": {
+ "type": "number",
+ "format": "double",
+ "description": "Gigabytes of storage provisioned for this disk.",
+ "readOnly": true
+ },
+ "displayName": {
+ "type": "string",
+ "description": "User friendly name of the disk.",
+ "readOnly": true
+ }
+ }
+ },
+ "NetworkAdapter": {
+ "type": "object",
+ "description": "A network adapter discovered on a machine.",
+ "properties": {
+ "macAddress": {
+ "type": "string",
+ "description": "MAC Address of the network adapter.",
+ "readOnly": true
+ },
+ "ipAddresses": {
+ "type": "array",
+ "description": "List of IP Addresses on the network adapter.",
+ "readOnly": true,
+ "items": {
+ "type": "string",
+ "description": "IP Address of the network adapter.",
+ "readOnly": true
+ }
+ },
+ "displayName": {
+ "type": "string",
+ "description": "User friendly name of the network adapter.",
+ "readOnly": true
+ }
+ }
+ },
+ "Machine": {
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "description": "A machine in a migration project.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Path reference to this machine. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/machines/{machineName}",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the machine. It is a GUID which is unique identifier of machine in private data center. For user-readable name, we have a displayName property on this machine.",
+ "readOnly": true
+ },
+ "eTag": {
+ "type": "string",
+ "description": "For optimistic concurrency control."
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the object = [Microsoft.Migrate/assessmentProjects/machines].",
+ "readOnly": true
+ },
+ "properties": {
+ "description": "Properties of the machine.",
+ "$ref": "#/definitions/MachineProperties"
+ }
+ }
+ },
+ "MachineProperties": {
+ "type": "object",
+ "description": "Properties of a machine.",
+ "properties": {
+ "bootType": {
+ "type": "string",
+ "description": "Boot type of the machine.",
+ "enum": [
+ "Unknown",
+ "EFI",
+ "BIOS"
+ ],
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "MachineBootType",
+ "modelAsString": true
+ }
+ },
+ "datacenterManagementServerArmId": {
+ "type": "string",
+ "description": "ARM ID of the data center as tracked by the Microsoft.OffAzure.",
+ "readOnly": true
+ },
+ "discoveryMachineArmId": {
+ "type": "string",
+ "description": "ARM ID of the machine as tracked by the Microsoft.OffAzure.",
+ "readOnly": true
+ },
+ "datacenterManagementServerName": {
+ "type": "string",
+ "description": "Name of the server hosting the datacenter management solution.",
+ "readOnly": true
+ },
+ "displayName": {
+ "type": "string",
+ "description": "User readable name of the machine as defined by the user in their private datacenter.",
+ "readOnly": true
+ },
+ "megabytesOfMemory": {
+ "type": "number",
+ "description": "Memory in Megabytes.",
+ "readOnly": true
+ },
+ "numberOfCores": {
+ "type": "integer",
+ "description": "Processor count.",
+ "readOnly": true
+ },
+ "operatingSystemType": {
+ "type": "string",
+ "description": "Operating System type of the machine.",
+ "readOnly": true
+ },
+ "operatingSystemName": {
+ "type": "string",
+ "description": "Operating System name of the machine.",
+ "readOnly": true
+ },
+ "operatingSystemVersion": {
+ "type": "string",
+ "description": "Operating System version of the machine.",
+ "readOnly": true
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of the machine",
+ "readOnly": true
+ },
+ "groups": {
+ "type": "array",
+ "description": "List of references to the groups that the machine is member of.",
+ "readOnly": true,
+ "items": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Reference to a group that this machine is member of. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}"
+ }
+ },
+ "createdTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Time when this machine was created. Date-Time represented in ISO-8601 format.",
+ "readOnly": true
+ },
+ "updatedTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Time when this machine was last updated. Date-Time represented in ISO-8601 format.",
+ "readOnly": true
+ },
+ "disks": {
+ "type": "object",
+ "description": "Dictionary of disks attached to the machine. Key is ID of disk. Value is a disk object",
+ "readOnly": true,
+ "additionalProperties": {
+ "$ref": "#/definitions/Disk"
+ }
+ },
+ "networkAdapters": {
+ "type": "object",
+ "description": "Dictionary of network adapters attached to the machine. Key is ID of network adapter. Value is a network adapter object",
+ "readOnly": true,
+ "additionalProperties": {
+ "$ref": "#/definitions/NetworkAdapter"
+ }
+ }
+ }
+ },
+ "AssessedDisk": {
+ "type": "object",
+ "description": "A disk assessed for an assessment.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the assessed disk.",
+ "readOnly": true
+ },
+ "displayName": {
+ "type": "string",
+ "description": "User friendly name of the assessed disk.",
+ "readOnly": true
+ },
+ "gigabytesProvisioned": {
+ "type": "number",
+ "format": "double",
+ "description": "Gigabytes of storage provisioned for this disk.",
+ "readOnly": true
+ },
+ "megabytesPerSecondOfRead": {
+ "type": "number",
+ "format": "double",
+ "description": "Disk throughput in MegaBytes per second.",
+ "readOnly": true
+ },
+ "megabytesPerSecondOfWrite": {
+ "type": "number",
+ "format": "double",
+ "description": "Disk throughput in MegaBytes per second.",
+ "readOnly": true
+ },
+ "numberOfReadOperationsPerSecond": {
+ "type": "number",
+ "format": "double",
+ "description": "Number of read operations per second for the disk.",
+ "readOnly": true
+ },
+ "numberOfWriteOperationsPerSecond": {
+ "type": "number",
+ "format": "double",
+ "description": "Number of read and write operations per second for the disk.",
+ "readOnly": true
+ },
+ "monthlyStorageCost": {
+ "type": "number",
+ "format": "double",
+ "description": "Estimated aggregate storage cost for a 31-day month for this disk.",
+ "readOnly": true
+ },
+ "recommendedDiskType": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Standard",
+ "Premium",
+ "StandardSSD",
+ "StandardOrPremium"
+ ],
+ "description": "Storage type selected for this disk.",
+ "x-ms-enum": {
+ "name": "AzureDiskType",
+ "modelAsString": true
+ },
+ "readOnly": true
+ },
+ "recommendedDiskSize": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Standard_S4",
+ "Standard_S6",
+ "Standard_S10",
+ "Standard_S15",
+ "Standard_S20",
+ "Standard_S30",
+ "Standard_S40",
+ "Standard_S50",
+ "Premium_P4",
+ "Premium_P6",
+ "Premium_P10",
+ "Premium_P15",
+ "Premium_P20",
+ "Premium_P30",
+ "Premium_P40",
+ "Premium_P50",
+ "Standard_S60",
+ "Standard_S70",
+ "Standard_S80",
+ "Premium_P60",
+ "Premium_P70",
+ "Premium_P80",
+ "StandardSSD_E10",
+ "StandardSSD_E15",
+ "StandardSSD_E20",
+ "StandardSSD_E30",
+ "StandardSSD_E40",
+ "StandardSSD_E50",
+ "StandardSSD_E60",
+ "StandardSSD_E70",
+ "StandardSSD_E80",
+ "StandardSSD_E4",
+ "StandardSSD_E6"
+ ],
+ "description": "Recommended Azure size for the disk, given utilization data and preferences set on Assessment.",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "AzureDiskSize",
+ "modelAsString": true
+ }
+ },
+ "gigabytesForRecommendedDiskSize": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Gigabytes of storage provided by the recommended Azure disk size.",
+ "readOnly": true
+ },
+ "suitability": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "NotSuitable",
+ "Suitable",
+ "ConditionallySuitable",
+ "ReadinessUnknown"
+ ],
+ "description": "Whether this disk is suitable for Azure.",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CloudSuitability",
+ "modelAsString": true
+ }
+ },
+ "suitabilityExplanation": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "NotApplicable",
+ "DiskSizeGreaterThanSupported",
+ "NoSuitableDiskSizeForIops",
+ "NoSuitableDiskSizeForThroughput",
+ "NoDiskSizeFoundInSelectedLocation",
+ "NoDiskSizeFoundForSelectedRedundancy",
+ "InternalErrorOccurredForDiskEvaluation",
+ "NoEaPriceFoundForDiskSize"
+ ],
+ "description": "If disk is not suitable to be migrated, this explains the reasons and mitigation steps.",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "AzureDiskSuitabilityExplanation",
+ "modelAsString": true
+ }
+ },
+ "suitabilityDetail": {
+ "type": "string",
+ "enum": [
+ "None",
+ "NumberOfReadOperationsPerSecondMissing",
+ "NumberOfWriteOperationsPerSecondMissing",
+ "MegabytesPerSecondOfReadMissing",
+ "MegabytesPerSecondOfWriteMissing",
+ "DiskGigabytesConsumedMissing",
+ "DiskGigabytesProvisionedMissing",
+ "NumberOfReadOperationsPerSecondOutOfRange",
+ "NumberOfWriteOperationsPerSecondOutOfRange",
+ "MegabytesPerSecondOfReadOutOfRange",
+ "MegabytesPerSecondOfWriteOutOfRange",
+ "DiskGigabytesConsumedOutOfRange",
+ "DiskGigabytesProvisionedOutOfRange"
+ ],
+ "description": "If disk is suitable to be migrate but some conditions/checks were not considered while calculating suitability, this explains the details.",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "AzureDiskSuitabilityDetail",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "AssessedNetworkAdapter": {
+ "type": "object",
+ "description": "A network adapter assessed for an assessment.",
+ "properties": {
+ "macAddress": {
+ "type": "string",
+ "description": "MAC Address of the network adapter.",
+ "readOnly": true
+ },
+ "ipAddresses": {
+ "type": "array",
+ "description": "List of IP Addresses on the network adapter.",
+ "readOnly": true,
+ "items": {
+ "type": "string",
+ "description": "IP Address of the network adapter.",
+ "readOnly": true
+ }
+ },
+ "displayName": {
+ "type": "string",
+ "description": "User friendly name of the assessed network adapter.",
+ "readOnly": true
+ },
+ "monthlyBandwidthCosts": {
+ "type": "number",
+ "format": "double",
+ "description": "Monthly cost estimate for network bandwidth used by this network adapter.",
+ "readOnly": true
+ },
+ "megabytesPerSecondReceived": {
+ "type": "number",
+ "format": "double",
+ "description": "Adapter throughput for incoming traffic in MegaBytes per second.",
+ "readOnly": true
+ },
+ "megabytesPerSecondTransmitted": {
+ "type": "number",
+ "format": "double",
+ "description": "Adapter throughput for outgoing traffic in MegaBytes per second.",
+ "readOnly": true
+ },
+ "netGigabytesTransmittedPerMonth": {
+ "type": "number",
+ "format": "double",
+ "description": "Gigabytes transmitted through this adapter each month."
+ },
+ "suitability": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "NotSuitable",
+ "Suitable",
+ "ConditionallySuitable",
+ "ReadinessUnknown"
+ ],
+ "description": "Whether this adapter is suitable for Azure.",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CloudSuitability",
+ "modelAsString": true
+ }
+ },
+ "suitabilityExplanation": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "NotApplicable",
+ "InternalErrorOccurred"
+ ],
+ "description": "If network adapter is suitable, this explains the reasons and mitigation steps.",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "AzureNetworkAdapterSuitabilityExplanation",
+ "modelAsString": true
+ }
+ },
+ "suitabilityDetail": {
+ "type": "string",
+ "enum": [
+ "None",
+ "MegabytesOfDataTransmittedMissing",
+ "MegabytesOfDataTransmittedOutOfRange"
+ ],
+ "description": "If network adapter is not suitable for cloud, this explains the reasons.",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "AzureNetworkAdapterSuitabilityDetail",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "AssessedMachine": {
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "description": "A machine evaluated as part of an assessment.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Path reference to this assessed machine. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/assessments/{assessmentName}/assessedMachines/{assessedMachineName}",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the machine.",
+ "readOnly": true
+ },
+ "eTag": {
+ "type": "string",
+ "description": "For optimistic concurrency control."
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the object = [Microsoft.Migrate/assessmentProjects/groups/assessments/assessedMachines].",
+ "readOnly": true
+ },
+ "properties": {
+ "description": "Properties of an assessed machine.",
+ "$ref": "#/definitions/AssessedMachineProperties"
+ }
+ }
+ },
+ "AssessedMachineProperties": {
+ "type": "object",
+ "description": "Properties of an assessed machine.",
+ "properties": {
+ "bootType": {
+ "type": "string",
+ "description": "Boot type of the machine.",
+ "enum": [
+ "Unknown",
+ "EFI",
+ "BIOS"
+ ],
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "MachineBootType",
+ "modelAsString": true
+ }
+ },
+ "datacenterMachineArmId": {
+ "type": "string",
+ "description": "ARM ID of the discovered machine.",
+ "readOnly": true
+ },
+ "datacenterManagementServerArmId": {
+ "type": "string",
+ "description": "ARM ID of the discovered datacenter.",
+ "readOnly": true
+ },
+ "datacenterManagementServerName": {
+ "type": "string",
+ "description": "Name of the server hosting the datacenter management solution.",
+ "readOnly": true
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of the machine",
+ "readOnly": true
+ },
+ "displayName": {
+ "type": "string",
+ "description": "User readable name of the machine as defined by the user in their private datacenter.",
+ "readOnly": true
+ },
+ "megabytesOfMemory": {
+ "type": "number",
+ "format": "double",
+ "description": "Memory in Megabytes.",
+ "readOnly": true
+ },
+ "numberOfCores": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Processor count.",
+ "readOnly": true
+ },
+ "operatingSystemType": {
+ "type": "string",
+ "description": "Operating System type of the machine.",
+ "readOnly": true
+ },
+ "operatingSystemName": {
+ "type": "string",
+ "description": "Operating System name of the machine.",
+ "readOnly": true
+ },
+ "operatingSystemVersion": {
+ "type": "string",
+ "description": "Operating System version of the machine.",
+ "readOnly": true
+ },
+ "monthlyBandwidthCost": {
+ "type": "number",
+ "format": "double",
+ "description": "Monthly network cost estimate for the network adapters that are attached to this machine as a group, for a 31-day month.",
+ "readOnly": true
+ },
+ "monthlyStorageCost": {
+ "type": "number",
+ "format": "double",
+ "description": "Monthly storage cost estimate for the disks that are attached to this machine as a group, for a 31-day month.",
+ "readOnly": true
+ },
+ "monthlyPremiumStorageCost": {
+ "type": "number",
+ "format": "double",
+ "description": "Monthly premium storage cost estimate for the disks that are attached to this machine as a group, for a 31-day month.",
+ "readOnly": true
+ },
+ "monthlyStandardSSDStorageCost": {
+ "type": "number",
+ "format": "double",
+ "description": "Monthly standard SSD storage cost estimate for the disks that are attached to this machine as a group, for a 31-day month.",
+ "readOnly": true
+ },
+ "confidenceRatingInPercentage": {
+ "type": "number",
+ "format": "double",
+ "description": "Confidence rating of assessed machine.",
+ "x-nullable": true,
+ "readOnly": true
+ },
+ "disks": {
+ "type": "object",
+ "description": "Dictionary of disks attached to the machine. Key is ID of disk. Value is a disk object.",
+ "readOnly": true,
+ "additionalProperties": {
+ "$ref": "#/definitions/AssessedDisk"
+ }
+ },
+ "networkAdapters": {
+ "type": "object",
+ "description": "Dictionary of network adapters attached to the machine. Key is name of the adapter. Value is a network adapter object.",
+ "readOnly": true,
+ "additionalProperties": {
+ "$ref": "#/definitions/AssessedNetworkAdapter"
+ }
+ },
+ "recommendedSize": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "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_A10",
+ "Standard_A11",
+ "Standard_A1_v2",
+ "Standard_A2_v2",
+ "Standard_A4_v2",
+ "Standard_A8_v2",
+ "Standard_A2m_v2",
+ "Standard_A4m_v2",
+ "Standard_A8m_v2",
+ "Standard_D1",
+ "Standard_D2",
+ "Standard_D3",
+ "Standard_D4",
+ "Standard_D11",
+ "Standard_D12",
+ "Standard_D13",
+ "Standard_D14",
+ "Standard_D1_v2",
+ "Standard_D2_v2",
+ "Standard_D3_v2",
+ "Standard_D4_v2",
+ "Standard_D5_v2",
+ "Standard_D11_v2",
+ "Standard_D12_v2",
+ "Standard_D13_v2",
+ "Standard_D14_v2",
+ "Standard_D15_v2",
+ "Standard_DS1",
+ "Standard_DS2",
+ "Standard_DS3",
+ "Standard_DS4",
+ "Standard_DS11",
+ "Standard_DS12",
+ "Standard_DS13",
+ "Standard_DS14",
+ "Standard_DS1_v2",
+ "Standard_DS2_v2",
+ "Standard_DS3_v2",
+ "Standard_DS4_v2",
+ "Standard_DS5_v2",
+ "Standard_DS11_v2",
+ "Standard_DS12_v2",
+ "Standard_DS13_v2",
+ "Standard_DS14_v2",
+ "Standard_DS15_v2",
+ "Standard_F1",
+ "Standard_F2",
+ "Standard_F4",
+ "Standard_F8",
+ "Standard_F16",
+ "Standard_F1s",
+ "Standard_F2s",
+ "Standard_F4s",
+ "Standard_F8s",
+ "Standard_F16s",
+ "Standard_G1",
+ "Standard_G2",
+ "Standard_G3",
+ "Standard_G4",
+ "Standard_G5",
+ "Standard_GS1",
+ "Standard_GS2",
+ "Standard_GS3",
+ "Standard_GS4",
+ "Standard_GS5",
+ "Standard_H8",
+ "Standard_H16",
+ "Standard_H8m",
+ "Standard_H16m",
+ "Standard_H16r",
+ "Standard_H16mr",
+ "Standard_L4s",
+ "Standard_L8s",
+ "Standard_L16s",
+ "Standard_L32s",
+ "Standard_D2s_v3",
+ "Standard_D4s_v3",
+ "Standard_D8s_v3",
+ "Standard_D16s_v3",
+ "Standard_D32s_v3",
+ "Standard_D64s_v3",
+ "Standard_D2_v3",
+ "Standard_D4_v3",
+ "Standard_D8_v3",
+ "Standard_D16_v3",
+ "Standard_D32_v3",
+ "Standard_D64_v3",
+ "Standard_F2s_v2",
+ "Standard_F4s_v2",
+ "Standard_F8s_v2",
+ "Standard_F16s_v2",
+ "Standard_F32s_v2",
+ "Standard_F64s_v2",
+ "Standard_F72s_v2",
+ "Standard_E2_v3",
+ "Standard_E4_v3",
+ "Standard_E8_v3",
+ "Standard_E16_v3",
+ "Standard_E32_v3",
+ "Standard_E64_v3",
+ "Standard_E2s_v3",
+ "Standard_E4s_v3",
+ "Standard_E8s_v3",
+ "Standard_E16s_v3",
+ "Standard_E32s_v3",
+ "Standard_E64s_v3",
+ "Standard_M64s",
+ "Standard_M64ms",
+ "Standard_M128s",
+ "Standard_M128ms"
+ ],
+ "description": "Recommended Azure size for this machine.",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "AzureVmSize",
+ "modelAsString": true
+ }
+ },
+ "numberOfCoresForRecommendedSize": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Number of CPU cores in the Recommended Azure VM Size.",
+ "readOnly": true
+ },
+ "megabytesOfMemoryForRecommendedSize": {
+ "type": "number",
+ "format": "double",
+ "description": "Megabytes of memory in the Recommended Azure VM Size.",
+ "readOnly": true
+ },
+ "monthlyComputeCostForRecommendedSize": {
+ "type": "number",
+ "format": "double",
+ "description": "Compute Cost for a 31-day month, if the machine is migrated to Azure with the Recommended Size.",
+ "readOnly": true
+ },
+ "percentageCoresUtilization": {
+ "type": "number",
+ "format": "double",
+ "description": "Utilization percentage of the processor core as observed in the private data center, in the Time Range selected on Assessment, reported as the Percentile value based on the percentile number selected in assessment.",
+ "readOnly": true
+ },
+ "percentageMemoryUtilization": {
+ "type": "number",
+ "format": "double",
+ "description": "Utilization percentage of the memory as observed in the private data center, in the Time Range selected on Assessment, reported as the Percentile value based on the percentile number selected in assessment.",
+ "readOnly": true
+ },
+ "suitability": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "NotSuitable",
+ "Suitable",
+ "ConditionallySuitable",
+ "ReadinessUnknown"
+ ],
+ "description": "Whether machine is suitable for migration to Azure.",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CloudSuitability",
+ "modelAsString": true
+ }
+ },
+ "suitabilityExplanation": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "NotApplicable",
+ "GuestOperatingSystemArchitectureNotSupported",
+ "GuestOperatingSystemNotSupported",
+ "BootTypeNotSupported",
+ "MoreDisksThanSupported",
+ "NoSuitableVmSizeFound",
+ "OneOrMoreDisksNotSuitable",
+ "OneOrMoreAdaptersNotSuitable",
+ "InternalErrorOccurredDuringComputeEvaluation",
+ "InternalErrorOccurredDuringStorageEvaluation",
+ "InternalErrorOccurredDuringNetworkEvaluation",
+ "NoVmSizeSupportsStoragePerformance",
+ "NoVmSizeSupportsNetworkPerformance",
+ "NoVmSizeForSelectedPricingTier",
+ "NoVmSizeForSelectedAzureLocation",
+ "CheckRedHatLinuxVersion",
+ "CheckOpenSuseLinuxVersion",
+ "CheckWindowsServer2008R2Version",
+ "CheckCentOsVersion",
+ "CheckDebianLinuxVersion",
+ "CheckSuseLinuxVersion",
+ "CheckOracleLinuxVersion",
+ "CheckUbuntuLinuxVersion",
+ "CheckCoreOsLinuxVersion",
+ "WindowsServerVersionConditionallySupported",
+ "NoGuestOperatingSystemConditionallySupported",
+ "WindowsClientVersionsConditionallySupported",
+ "BootTypeUnknown",
+ "GuestOperatingSystemUnknown",
+ "WindowsServerVersionsSupportedWithCaveat",
+ "WindowsOSNoLongerUnderMSSupport",
+ "EndorsedWithConditionsLinuxDistributions",
+ "UnendorsedLinuxDistributions",
+ "NoVmSizeForStandardPricingTier",
+ "NoVmSizeForBasicPricingTier"
+ ],
+ "description": "If machine is not ready to be migrated, this explains the reasons and mitigation steps.",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "AzureVmSuitabilityExplanation",
+ "modelAsString": true
+ }
+ },
+ "suitabilityDetail": {
+ "type": "string",
+ "enum": [
+ "None",
+ "RecommendedSizeHasLessNetworkAdapters",
+ "CannotReportComputeCost",
+ "CannotReportStorageCost",
+ "CannotReportBandwidthCosts",
+ "PercentageOfCoresUtilizedMissing",
+ "PercentageOfMemoryUtilizedMissing",
+ "PercentageOfCoresUtilizedOutOfRange",
+ "PercentageOfMemoryUtilizedOutOfRange"
+ ],
+ "description": "If machine is not suitable for cloud, this explains the reasons.",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "AzureVmSuitabilityDetail",
+ "modelAsString": true
+ }
+ },
+ "createdTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Time when this machine was created. Date-Time represented in ISO-8601 format.",
+ "readOnly": true
+ },
+ "updatedTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Time when this machine was last updated. Date-Time represented in ISO-8601 format.",
+ "readOnly": true
+ }
+ }
+ },
+ "OperationDisplay": {
+ "type": "object",
+ "description": "Displayable properties of the operation.",
+ "readOnly": true,
+ "properties": {
+ "provider": {
+ "type": "string",
+ "description": "Provider of the operation.",
+ "readOnly": true
+ },
+ "resource": {
+ "type": "string",
+ "description": "Resource operated on by the operation.",
+ "readOnly": true
+ },
+ "operation": {
+ "type": "string",
+ "description": "Operation Type.",
+ "readOnly": true
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of the operation.",
+ "readOnly": true
+ }
+ }
+ },
+ "Operation": {
+ "type": "object",
+ "description": "A REST API operation supported by the provider.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the operation.",
+ "readOnly": true
+ },
+ "display": {
+ "description": "Displayable properties of the operation.",
+ "$ref": "#/definitions/OperationDisplay"
+ },
+ "origin": {
+ "type": "string",
+ "description": "Origin of the operation.",
+ "readOnly": true
+ }
+ }
+ },
+ "DownloadUrl": {
+ "type": "object",
+ "description": "Download URL for assessment report.",
+ "properties": {
+ "assessmentReportUrl": {
+ "type": "string",
+ "description": "Hyperlink to download report.",
+ "readOnly": true
+ },
+ "expirationTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Expiry date of download url.",
+ "readOnly": true
+ }
+ }
+ },
+ "ProjectResultList": {
+ "type": "object",
+ "description": "List of projects.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of projects.",
+ "items": {
+ "$ref": "#/definitions/Project"
+ }
+ }
+ }
+ },
+ "MachineResultList": {
+ "type": "object",
+ "description": "List of machines.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of machines.",
+ "items": {
+ "$ref": "#/definitions/Machine"
+ }
+ },
+ "nextLink": {
+ "type": "string"
+ }
+ }
+ },
+ "GroupResultList": {
+ "type": "object",
+ "description": "List of groups.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of groups.",
+ "items": {
+ "$ref": "#/definitions/Group"
+ }
+ }
+ }
+ },
+ "AssessedMachineResultList": {
+ "type": "object",
+ "description": "List of assessed machines.",
+ "properties": {
+ "value": {
+ "description": "List of assessed machines.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AssessedMachine"
+ }
+ },
+ "nextLink": {
+ "type": "string"
+ }
+ }
+ },
+ "AssessmentResultList": {
+ "type": "object",
+ "description": "List of assessments.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of assessments.",
+ "items": {
+ "$ref": "#/definitions/Assessment"
+ }
+ }
+ }
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ },
+ "description": "An error response from the Azure Migrate service."
+ },
+ "CloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for display in a user interface."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error. For example, the name of the property in error."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "description": "A list of additional details about the error."
+ }
+ },
+ "description": "An error response from the Azure Migrate service."
+ },
+ "CollectorBodyAgentSpnProperties": {
+ "type": "object",
+ "properties": {
+ "authority": {
+ "description": "AAD Authority URL which was used to request the token for the service principal.",
+ "type": "string"
+ },
+ "applicationId": {
+ "description": "Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.",
+ "type": "string"
+ },
+ "audience": {
+ "description": "Intended audience for the service principal.",
+ "type": "string"
+ },
+ "objectId": {
+ "description": "Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.",
+ "type": "string"
+ },
+ "tenantId": {
+ "description": "Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.",
+ "type": "string"
+ }
+ }
+ },
+ "HyperVCollector": {
+ "type": "object",
+ "properties": {
+ "eTag": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "$ref": "#/definitions/CollectorProperties"
+ }
+ }
+ },
+ "CollectorProperties": {
+ "type": "object",
+ "properties": {
+ "discoverySiteId": {
+ "type": "string",
+ "description": "The ARM id of the discovery service site."
+ },
+ "createdTimestamp": {
+ "type": "string",
+ "description": "Time when this collector was created. Date-Time represented in ISO-8601 format.",
+ "readOnly": true
+ },
+ "updatedTimestamp": {
+ "type": "string",
+ "description": "Time when this collector was updated. Date-Time represented in ISO-8601 format.",
+ "readOnly": true
+ },
+ "agentProperties": {
+ "$ref": "#/definitions/CollectorAgentProperties"
+ }
+ }
+ },
+ "CollectorAgentProperties": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true
+ },
+ "version": {
+ "type": "string",
+ "readOnly": true
+ },
+ "lastHeartbeatUtc": {
+ "type": "string",
+ "format": "date-time",
+ "x-nullable": true,
+ "readOnly": true
+ },
+ "spnDetails": {
+ "$ref": "#/definitions/CollectorBodyAgentSpnProperties"
+ }
+ }
+ },
+ "VMwareCollector": {
+ "type": "object",
+ "properties": {
+ "eTag": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "$ref": "#/definitions/CollectorProperties"
+ }
+ }
+ },
+ "HyperVCollectorList": {
+ "type": "object",
+ "description": "List of Hyper-V collectors.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of Hyper-V collectors.",
+ "items": {
+ "$ref": "#/definitions/HyperVCollector"
+ }
+ }
+ }
+ },
+ "VMwareCollectorList": {
+ "type": "object",
+ "description": "List of VMware collectors.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of VMware collectors.",
+ "items": {
+ "$ref": "#/definitions/VMwareCollector"
+ }
+ }
+ }
+ },
+ "VmFamily": {
+ "type": "object",
+ "description": "VM family name, the list of targeted azure locations and the category of the family.",
+ "properties": {
+ "familyName": {
+ "type": "string",
+ "description": "Name of the VM family.",
+ "readOnly": true
+ },
+ "targetLocations": {
+ "type": "array",
+ "description": "List of Azure regions.",
+ "readOnly": true,
+ "items": {
+ "type": "string",
+ "description": "Azure region name.",
+ "readOnly": true
+ }
+ },
+ "category": {
+ "type": "array",
+ "description": "Category of the VM family.",
+ "readOnly": true,
+ "items": {
+ "type": "string",
+ "description": "VM family Category.",
+ "readOnly": true
+ }
+ }
+ }
+ },
+ "AssessmentOptionsProperties": {
+ "type": "object",
+ "description": "Assessment options properties.",
+ "properties": {
+ "vmFamilies": {
+ "type": "array",
+ "description": "Dictionary of VM families grouped by vm family name describing the targeted azure locations of VM family and the category of the family.",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/VmFamily"
+ }
+ },
+ "reservedInstanceVmFamilies": {
+ "type": "array",
+ "description": "List of supported VM Families.",
+ "readOnly": true,
+ "items": {
+ "type": "string",
+ "description": "Azure VM family name.",
+ "readOnly": true
+ }
+ },
+ "reservedInstanceSupportedLocations": {
+ "type": "array",
+ "description": "List of supported Azure regions for reserved instances.",
+ "readOnly": true,
+ "items": {
+ "type": "string",
+ "description": "Azure region name.",
+ "readOnly": true
+ }
+ },
+ "reservedInstanceSupportedCurrencies": {
+ "type": "array",
+ "description": "List of supported currencies for reserved instances.",
+ "readOnly": true,
+ "items": {
+ "type": "string",
+ "description": "Currency to report prices in.",
+ "readOnly": true
+ }
+ },
+ "reservedInstanceSupportedOffers": {
+ "type": "array",
+ "description": "List of supported Azure offer codes for reserved instances.",
+ "readOnly": true,
+ "items": {
+ "type": "string",
+ "description": "Azure offer code to be used for cost estimation",
+ "readOnly": true
+ }
+ }
+ }
+ },
+ "AssessmentOptions": {
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "description": "Assessment options.",
+ "required": [
+ "properties"
+ ],
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Unique name of an assessment options.",
+ "readOnly": true
+ },
+ "id": {
+ "type": "string",
+ "description": "Unique identifier of an assessment options.",
+ "readOnly": true
+ },
+ "properties": {
+ "description": "Properties of the assessment options.",
+ "$ref": "#/definitions/AssessmentOptionsProperties"
+ }
+ }
+ },
+ "AssessmentOptionsResultList": {
+ "type": "object",
+ "description": "List of API operations.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of operations.",
+ "items": {
+ "$ref": "#/definitions/AssessmentOptions"
+ }
+ }
+ }
+ },
+ "OperationResultList": {
+ "type": "object",
+ "description": "List of API operations.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of operations.",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ }
+ }
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Migrate/assessmentProjects": {
+ "get": {
+ "summary": "Get all projects.",
+ "description": "Get all the projects in the subscription.",
+ "operationId": "Projects_ListBySubscription",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/ProjectResultList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Projects_List": {
+ "$ref": "./examples/ProjectsInSubscription_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects": {
+ "get": {
+ "summary": "Get all projects.",
+ "description": "Get all the projects in the resource group.",
+ "operationId": "Projects_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/ProjectResultList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Projects_List": {
+ "$ref": "./examples/Projects_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}": {
+ "get": {
+ "summary": "Get the specified project.",
+ "description": "Get the project with the specified name.",
+ "operationId": "Projects_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/Project"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Projects_Get": {
+ "$ref": "./examples/Projects_Get.json"
+ }
+ }
+ },
+ "put": {
+ "summary": "Create or update project.",
+ "description": "Create a project with specified name. If a project already exists, update it.",
+ "operationId": "Projects_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "name": "project",
+ "description": "New or Updated project object.",
+ "in": "body",
+ "schema": {
+ "$ref": "#/definitions/Project"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Existing project updated.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/Project"
+ }
+ },
+ "201": {
+ "description": "Created. New project was created.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/Project"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Projects_Create": {
+ "$ref": "./examples/Projects_Create.json"
+ }
+ }
+ },
+ "patch": {
+ "summary": "Update project.",
+ "description": "Update a project with specified name. Supports partial updates, for example only tags can be provided.",
+ "operationId": "Projects_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "name": "project",
+ "description": "Updated project object.",
+ "in": "body",
+ "schema": {
+ "$ref": "#/definitions/Project"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Existing project updated.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/Project"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Projects_Update": {
+ "$ref": "./examples/Projects_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete the project",
+ "description": "Delete the project. Deleting non-existent project is a no-operation.",
+ "operationId": "Projects_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Deleted the group.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ }
+ },
+ "204": {
+ "description": "No content. No project with specified name was found."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Projects_Delete": {
+ "$ref": "./examples/Projects_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/assessmentOptions/{assessmentOptionsName}": {
+ "get": {
+ "summary": "Get all available options for the properties of an assessment on a project.",
+ "description": "Get all available options for the properties of an assessment on a project.",
+ "operationId": "Project_AssessmentOptions",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/assessmentOptionsName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/AssessmentOptions"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "AssessmentOptions_Get": {
+ "$ref": "./examples/AssessmentOptions_Get.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/assessmentOptions": {
+ "get": {
+ "summary": "Gets list of all available options for the properties of an assessment on a project.",
+ "description": "Gets list of all available options for the properties of an assessment on a project.",
+ "operationId": "Project_AssessmentOptionsList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/AssessmentOptionsResultList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "AssessmentOptions_Get": {
+ "$ref": "./examples/AssessmentOptions_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/machines": {
+ "get": {
+ "summary": "Get all machines in the project",
+ "description": "Get data of all the machines available in the project. Returns a json array of objects of type 'machine' defined in Models section.",
+ "operationId": "Machines_ListByProject",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Returns list of all machine objects.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/MachineResultList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Machines_ListByProject": {
+ "$ref": "./examples/Machines_ListByProject.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/machines/{machineName}": {
+ "get": {
+ "summary": "Get a specific machine.",
+ "description": "Get the machine with the specified name. Returns a json object of type 'machine' defined in Models section.",
+ "operationId": "Machines_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/machineName"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Returns the machine with the specified name.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/Machine"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Machines_Get": {
+ "$ref": "./examples/Machines_Get.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups": {
+ "get": {
+ "summary": "Get all groups",
+ "description": "Get all groups created in the project. Returns a json array of objects of type 'group' as specified in the Models section.",
+ "operationId": "Groups_ListByProject",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Returns list of groups.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/GroupResultList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Groups_ListByProject": {
+ "$ref": "./examples/Groups_ListByProject.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}": {
+ "get": {
+ "summary": "Get a specific group.",
+ "description": "Get information related to a specific group in the project. Returns a json object of type 'group' as specified in the models section.",
+ "operationId": "Groups_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/groupName"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Returns the group with the specified name.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/Group"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Groups_Get": {
+ "$ref": "./examples/Groups_Get.json"
+ }
+ }
+ },
+ "put": {
+ "summary": "Create a new group with specified settings.",
+ "description": "Create a new group by sending a json object of type 'group' as given in Models section as part of the Request Body. The group name in a project is unique.\n\nThis operation is Idempotent.\n",
+ "operationId": "Groups_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/groupName"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "group",
+ "description": "New or Updated Group object.",
+ "in": "body",
+ "schema": {
+ "$ref": "#/definitions/Group"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Existing group updated.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/Group"
+ }
+ },
+ "201": {
+ "description": "Created. New group was created.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/Group"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Groups_Create": {
+ "$ref": "./examples/Groups_Create.json"
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete the group",
+ "description": "Delete the group from the project. The machines remain in the project. Deleting a non-existent group results in a no-operation.\n\nA group is an aggregation mechanism for machines in a project. Therefore, deleting group does not delete machines in it.\n",
+ "operationId": "Groups_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/groupName"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Deleted the group.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ }
+ },
+ "204": {
+ "description": "No content. No group with specified name was found."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Groups_Delete": {
+ "$ref": "./examples/Groups_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/updateMachines": {
+ "post": {
+ "summary": "Update machines in group.",
+ "description": "Update machines in group by adding or removing machines.",
+ "operationId": "Groups_UpdateMachines",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/groupName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "name": "groupUpdateProperties",
+ "description": "Machines list to be added or removed from group.",
+ "in": "body",
+ "schema": {
+ "$ref": "#/definitions/UpdateGroupBody"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Existing group updated.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/Group"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/assessments": {
+ "get": {
+ "summary": "Get all assessments created for the specified group.",
+ "description": "Get all assessments created for the specified group.\n\nReturns a json array of objects of type 'assessment' as specified in Models section.\n",
+ "operationId": "Assessments_ListByGroup",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/groupName"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Returns list of Assessment objects.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/AssessmentResultList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Assessments_ListByGroup": {
+ "$ref": "./examples/Assessments_ListByGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/assessments": {
+ "get": {
+ "summary": "Get all assessments created in the project.",
+ "description": "Get all assessments created in the project.\n\nReturns a json array of objects of type 'assessment' as specified in Models section.\n",
+ "operationId": "Assessments_ListByProject",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Returns list of Assessment objects.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/AssessmentResultList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Assessments_ListByProject": {
+ "$ref": "./examples/Assessments_ListByProject.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/assessments/{assessmentName}": {
+ "get": {
+ "summary": "Get an assessment.",
+ "description": "Get an existing assessment with the specified name. Returns a json object of type 'assessment' as specified in Models section.",
+ "operationId": "Assessments_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/groupName"
+ },
+ {
+ "$ref": "#/parameters/assessmentName"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Returns Assessment object.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/Assessment"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Assessments_Get": {
+ "$ref": "./examples/Assessments_Get.json"
+ }
+ }
+ },
+ "put": {
+ "summary": "Create or Update assessment.",
+ "description": "Create a new assessment with the given name and the specified settings. Since name of an assessment in a project is a unique identifier, if an assessment with the name provided already exists, then the existing assessment is updated.\n\nAny PUT operation, resulting in either create or update on an assessment, will cause the assessment to go in a \"InProgress\" state. This will be indicated by the field 'computationState' on the Assessment object. During this time no other PUT operation will be allowed on that assessment object, nor will a Delete operation. Once the computation for the assessment is complete, the field 'computationState' will be updated to 'Ready', and then other PUT or DELETE operations can happen on the assessment.\n\nWhen assessment is under computation, any PUT will lead to a 400 - Bad Request error.\n",
+ "operationId": "Assessments_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/groupName"
+ },
+ {
+ "$ref": "#/parameters/assessmentName"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "assessment",
+ "description": "New or Updated Assessment object.",
+ "in": "body",
+ "schema": {
+ "$ref": "#/definitions/Assessment"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Existing assessment updated.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/Assessment"
+ }
+ },
+ "201": {
+ "description": "Created. New assessment was created.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/Assessment"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Assessments_Create": {
+ "$ref": "./examples/Assessments_Create.json"
+ }
+ }
+ },
+ "delete": {
+ "summary": "Deletes an assessment from the project.",
+ "description": "Delete an assessment from the project. The machines remain in the assessment. Deleting a non-existent assessment results in a no-operation.\n\nWhen an assessment is under computation, as indicated by the 'computationState' field, it cannot be deleted. Any such attempt will return a 400 - Bad Request.\n",
+ "operationId": "Assessments_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/groupName"
+ },
+ {
+ "$ref": "#/parameters/assessmentName"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Deleted the assessment.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ }
+ },
+ "204": {
+ "description": "No content. No assessment with specified name was found."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Assessments_Delete": {
+ "$ref": "./examples/Assessments_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/assessments/{assessmentName}/downloadUrl": {
+ "post": {
+ "summary": "Get download URL for the assessment report.",
+ "description": "Get the URL for downloading the assessment in a report format.",
+ "operationId": "Assessments_GetReportDownloadUrl",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/groupName"
+ },
+ {
+ "$ref": "#/parameters/assessmentName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/DownloadUrl"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Assessments_GetReportDownloadUrl": {
+ "$ref": "./examples/Assessments_GetReportDownloadUrl.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/assessments/{assessmentName}/assessedMachines": {
+ "get": {
+ "summary": "Get assessed machines for assessment.",
+ "description": "Get list of machines that assessed as part of the specified assessment. Returns a json array of objects of type 'assessedMachine' as specified in the Models section.\n\nWhenever an assessment is created or updated, it goes under computation. During this phase, the 'status' field of Assessment object reports 'Computing'.\nDuring the period when the assessment is under computation, the list of assessed machines is empty and no assessed machines are returned by this call.\n",
+ "operationId": "AssessedMachines_ListByAssessment",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/groupName"
+ },
+ {
+ "$ref": "#/parameters/assessmentName"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Returns list of machines with their assessment data in the assessment.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/AssessedMachineResultList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "AssessedMachines_ListByAssessment": {
+ "$ref": "./examples/AssessedMachines_ListByAssessment.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/assessments/{assessmentName}/assessedMachines/{assessedMachineName}": {
+ "get": {
+ "summary": "Get an assessed machine.",
+ "description": "Get an assessed machine with its size & cost estimate that was evaluated in the specified assessment.",
+ "operationId": "AssessedMachines_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/groupName"
+ },
+ {
+ "$ref": "#/parameters/assessmentName"
+ },
+ {
+ "$ref": "#/parameters/assessedMachineName"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Returns a specific assessed machine.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/AssessedMachine"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "AssessedMachines_Get": {
+ "$ref": "./examples/AssessedMachines_Get.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/hypervcollectors": {
+ "get": {
+ "summary": "Get a list of Hyper-V collector.",
+ "description": "Get a list of Hyper-V collector.",
+ "operationId": "HyperVCollectors_ListByProject",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Returns list of Hyper-V collectors.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/HyperVCollectorList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "HyperVCollectors_ListByProject": {
+ "$ref": "./examples/HyperVCollectors_ListByProject.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/hypervcollectors/{hyperVCollectorName}": {
+ "get": {
+ "summary": "Get a Hyper-V collector.",
+ "description": "Get a Hyper-V collector.",
+ "operationId": "HyperVCollectors_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/hyperVCollectorName"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Returns the specific Hyper-V collector.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/HyperVCollector"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "HyperVCollectors_Get": {
+ "$ref": "./examples/HyperVCollectors_Get.json"
+ }
+ }
+ },
+ "put": {
+ "summary": "Create or Update Hyper-V collector.",
+ "description": "Create or Update Hyper-V collector",
+ "operationId": "HyperVCollectors_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/hyperVCollectorName"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "collectorBody",
+ "description": "New or Updated Hyper-V collector.",
+ "in": "body",
+ "schema": {
+ "$ref": "#/definitions/HyperVCollector"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Existing Hyper-V collector.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/HyperVCollector"
+ }
+ },
+ "201": {
+ "description": "Created. New Hyper-V collector was created.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/HyperVCollector"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "HyperVCollectors_Create": {
+ "$ref": "./examples/HyperVCollectors_Create.json"
+ }
+ }
+ },
+ "delete": {
+ "summary": "Deletes Hyper-V collector from the project.",
+ "description": "Delete a Hyper-V collector from the project.",
+ "operationId": "HyperVCollectors_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/hyperVCollectorName"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Deleted the Hyper-V collector.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ }
+ },
+ "204": {
+ "description": "No content. No Hyper-V collector with specified name was found."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "HyperVCollectors_Delete": {
+ "$ref": "./examples/HyperVCollectors_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/vmwarecollectors": {
+ "get": {
+ "summary": "Get a list of VMware collector.",
+ "description": "Get a list of VMware collector.",
+ "operationId": "VMwareCollectors_ListByProject",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Returns list of VMware collectors.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/VMwareCollectorList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "VMwareCollectors_ListByProject": {
+ "$ref": "./examples/VMwareCollectors_ListByProject.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/vmwarecollectors/{vmWareCollectorName}": {
+ "get": {
+ "summary": "Get a VMware collector.",
+ "description": "Get a VMware collector.",
+ "operationId": "VMwareCollectors_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/vmWareCollectorName"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Returns the specific VMware collector.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/VMwareCollector"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VMwareCollectors_Get": {
+ "$ref": "./examples/VMwareCollectors_Get.json"
+ }
+ }
+ },
+ "put": {
+ "summary": "Create or Update VMware collector.",
+ "description": "Create or Update VMware collector",
+ "operationId": "VMwareCollectors_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/vmWareCollectorName"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "collectorBody",
+ "description": "New or Updated VMware collector.",
+ "in": "body",
+ "schema": {
+ "$ref": "#/definitions/VMwareCollector"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Existing VMware collector.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/VMwareCollector"
+ }
+ },
+ "201": {
+ "description": "Created. New VMware collector was created.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/VMwareCollector"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VMwareCollectors_Create": {
+ "$ref": "./examples/VMwareCollectors_Create.json"
+ }
+ }
+ },
+ "delete": {
+ "summary": "Deletes VMware collector from the project.",
+ "description": "Delete a VMware collector from the project.",
+ "operationId": "VMwareCollectors_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/projectName"
+ },
+ {
+ "$ref": "#/parameters/vmWareCollectorName"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Deleted the VMware collector.",
+ "headers": {
+ "x-ms-request-id": {
+ "type": "string",
+ "description": "Service generated Request ID."
+ }
+ }
+ },
+ "204": {
+ "description": "No content. No VMware collector with specified name was found."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "VMwareCollectors_Delete": {
+ "$ref": "./examples/VMwareCollectors_Delete.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Migrate/operations": {
+ "get": {
+ "summary": "Get list of operations supported in the API.",
+ "description": "Get a list of REST API supported by Microsoft.Migrate provider.",
+ "operationId": "Operations_List",
+ "responses": {
+ "200": {
+ "description": "OK. Returns list of operations.",
+ "schema": {
+ "$ref": "#/definitions/OperationResultList"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Operations_List": {
+ "$ref": "./examples/Operations_List.json"
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/migrate/resource-manager/readme.md b/specification/migrate/resource-manager/readme.md
index 494f1b81e3cd..819450f532b3 100644
--- a/specification/migrate/resource-manager/readme.md
+++ b/specification/migrate/resource-manager/readme.md
@@ -59,6 +59,15 @@ input-file:
- Microsoft.Migrate/stable/2018-02-02/migrate.json
```
+### Tag: package-2019-10
+
+These settings apply only when `--tag=package-2019-10` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-10'
+input-file:
+- Microsoft.Migrate/stable/2019-10-01/migrate.json
+```
+
# Code Generation
## Swagger to SDK
@@ -89,6 +98,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
- $(this-folder)/Microsoft.Migrate/stable/2018-02-02/migrate.json
+ - $(this-folder)/Microsoft.Migrate/stable/2019-10-01/migrate.json
```
From d5da2c7fef63106abdce0d2bfac0782a57a94049 Mon Sep 17 00:00:00 2001
From: junyezhu <38572086+junyezhu@users.noreply.github.com>
Date: Mon, 4 Nov 2019 18:17:08 -0800
Subject: [PATCH 142/189] add PreferredIPVersion to ConnectivityCheck (#7205)
---
.../2019-09-01/examples/NetworkWatcherConnectivityCheck.json | 3 ++-
.../Microsoft.Network/stable/2019-09-01/networkWatcher.json | 4 ++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherConnectivityCheck.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherConnectivityCheck.json
index 48cd3a114165..264b968b0572 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherConnectivityCheck.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/NetworkWatcherConnectivityCheck.json
@@ -11,7 +11,8 @@
"destination": {
"address": "192.168.100.4",
"port": 3389
- }
+ },
+ "preferredIPVersion": "IPv4"
}
},
"responses": {
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/networkWatcher.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/networkWatcher.json
index 63f36df4ab82..9db759531fc4 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/networkWatcher.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/networkWatcher.json
@@ -2395,6 +2395,10 @@
"protocolConfiguration": {
"$ref": "#/definitions/ProtocolConfiguration",
"description": "Configuration of the protocol."
+ },
+ "preferredIPVersion": {
+ "$ref": "./network.json#/definitions/IPVersion",
+ "description": "Preferred IP version of the connection."
}
}
},
From 23158d1ba84f917db755805435cd08a5d410e5de Mon Sep 17 00:00:00 2001
From: Ruoxuan Wang <52271048+ruowan@users.noreply.github.com>
Date: Tue, 5 Nov 2019 10:26:23 +0800
Subject: [PATCH 143/189] remove waitForAzureAPIBoard label for SLA-bot (#7707)
---
.github/sla.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/sla.yml b/.github/sla.yml
index cb0be38b7751..bcc5ff3cd7e2 100644
--- a/.github/sla.yml
+++ b/.github/sla.yml
@@ -4,7 +4,7 @@
repoWhitelist:
- Azure/azure-rest-api-specs
args:
- booleanFilterExpression: "!(WaitForARMFeedback||WaitingForAzureAPIBoard||(DoNotMerge&&(ARMSignedOff||Approved)))"
+ booleanFilterExpression: "!(WaitForARMFeedback||(DoNotMerge&&(ARMSignedOff||Approved)))"
limit: 48h
message: ' Dear Swagger reviewer,
Please response to the PR ${PR_URL}. The PR isn''t updated in 48 hours.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience '
subject: "Action Required: Please respond to PR ${PR_URL}"
@@ -16,7 +16,7 @@
repoWhitelist:
- Azure/azure-rest-api-specs-pr
args:
- booleanFilterExpression: "!(WaitForARMFeedback||WaitingForAzureAPIBoard||Approved-OkToMerge||(DoNotMerge&&(ARMSignedOff||Approved))"
+ booleanFilterExpression: "!(WaitForARMFeedback||Approved-OkToMerge||(DoNotMerge&&(ARMSignedOff||Approved))"
limit: 48h
message: ' Dear Swagger reviewer,
Please response to the PR ${PR_URL}. The PR isn''t updated in 48 hours.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience '
subject: "Action Required: Please respond to PR ${PR_URL}"
From ae171b9ee784a888cd14fd2e7859f05d4ab91161 Mon Sep 17 00:00:00 2001
From: Phoenix He
Date: Tue, 5 Nov 2019 10:27:16 +0800
Subject: [PATCH 144/189] Fix prettier-check doc (#7697)
---
documentation/ci-fix.md | 8 ++++----
scripts/prettier-check.ts | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/documentation/ci-fix.md b/documentation/ci-fix.md
index 92de1bfc14ce..f58660465f5e 100644
--- a/documentation/ci-fix.md
+++ b/documentation/ci-fix.md
@@ -10,12 +10,12 @@ Please add your words to `./custom-words.txt` if you think you have the correct
Please run the following command:
-`sh
+```
npm install; npm run prettier-fix
-`
+```
Or if you want to fix specified service:
-`sh
+```
npm install; npm run prettier -- --write "specification//**/*.json"
-`
+```
diff --git a/scripts/prettier-check.ts b/scripts/prettier-check.ts
index ce869a60b8d1..0f2e461649fd 100644
--- a/scripts/prettier-check.ts
+++ b/scripts/prettier-check.ts
@@ -17,6 +17,6 @@ runCheckOverChangedSpecFiles({
},
onFinalFailed: async () => {
- logError('Code style issues found in the above file(s). Please follow https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/ci-fix.md')
+ logError('Code style issues found in the above file(s). Please follow https://aka.ms/AA6h31t to fix the issue.')
}
})
\ No newline at end of file
From c11a70855ab318c581e5d94775e948bd4a3e3422 Mon Sep 17 00:00:00 2001
From: Zhenfeng
Date: Mon, 4 Nov 2019 18:53:39 -0800
Subject: [PATCH 145/189] [SRP][Fix Typo] DeleteRetentionPolicy is a common
class that applies to both file and blob (#7703)
---
.../Microsoft.Storage/stable/2019-06-01/common.json | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/common.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/common.json
index a00b2ec09c97..d36df1e92797 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/common.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/common.json
@@ -76,16 +76,16 @@
"properties": {
"enabled": {
"type": "boolean",
- "description": "Indicates whether DeleteRetentionPolicy is enabled for the Blob service."
+ "description": "Indicates whether DeleteRetentionPolicy is enabled."
},
"days": {
"type": "integer",
"minimum": 1,
"maximum": 365,
- "description": "Indicates the number of days that the deleted blob should be retained. The minimum specified value can be 1 and the maximum value can be 365."
+ "description": "Indicates the number of days that the deleted item should be retained. The minimum specified value can be 1 and the maximum value can be 365."
}
},
- "description": "The blob service properties for soft delete."
+ "description": "The service properties for soft delete."
}
}
}
From c7b3252621b5594fef06c938796a2415292fb336 Mon Sep 17 00:00:00 2001
From: Zim Kalinowski
Date: Tue, 5 Nov 2019 13:20:10 +0800
Subject: [PATCH 146/189] upgraded integratino test for healthcare apis (#7708)
---
.../healthcareapis/resource-manager/readme.cli.md | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/specification/healthcareapis/resource-manager/readme.cli.md b/specification/healthcareapis/resource-manager/readme.cli.md
index 4bbfb78b4186..0c3b77b2754a 100644
--- a/specification/healthcareapis/resource-manager/readme.cli.md
+++ b/specification/healthcareapis/resource-manager/readme.cli.md
@@ -15,5 +15,13 @@ cli:
"/properties/cosmosdbconfiguration": "CosmosDb*/"
"/properties/accesspolicies": "AccessPolicies*/"
test-setup:
+ - name: Check name availability
+ - name: Lists all of the available Healthcare service REST API operations.
- name: Create or Update a service with all parameters
+ - name: Delete service
+ - name: Create or Update a service with minimum parameters
+ - name: Get the metadata of a service instance.
+ - name: List all services in subscription
+ - name: List all services in resource group
+ - name: Delete service
```
From 9cf0e74bdff9d0b05db8e4a3ff0a69779a80f7bb Mon Sep 17 00:00:00 2001
From: Elad Perets <7473455+eladperets@users.noreply.github.com>
Date: Tue, 5 Nov 2019 03:55:13 -0800
Subject: [PATCH 147/189] Add Microsoft.PolicyInsights/policyMetadata resource
type spec (#7675)
---
.../examples/PolicyMetadata_GetResource.json | 26 ++
.../examples/PolicyMetadata_List.json | 27 ++
.../examples/PolicyMetadata_List_WithTop.json | 28 ++
.../stable/2019-10-01/policyMetadata.json | 330 ++++++++++++++++++
.../policyinsights/resource-manager/readme.md | 14 +
5 files changed, 425 insertions(+)
create mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyMetadata_GetResource.json
create mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyMetadata_List.json
create mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyMetadata_List_WithTop.json
create mode 100644 specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyMetadata.json
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyMetadata_GetResource.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyMetadata_GetResource.json
new file mode 100644
index 000000000000..5d298367aeeb
--- /dev/null
+++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyMetadata_GetResource.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "resourceName": "NIST_SP_800-53_R4_AC-2",
+ "api-version": "2019-10-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "metadataId": "NIST SP 800-53 R4 AC-2",
+ "category": "Access control",
+ "title": "Account Management",
+ "owner": "Shared",
+ "description": "Description of NIST SP 800-53 R4 AC-2",
+ "requirements": "List the requirements for NIST SP 800-53 R4 AC-2",
+ "additionalContentUrl": "https://aka.ms/NIST_SP_800-53_R4_AC-2",
+ "metadata": {}
+ },
+ "id": "/providers/Microsoft.PolicyInsights/policyMetadata/NIST_SP_800-53_R4_AC-2",
+ "name": "NIST_SP_800-53_R4_AC-2",
+ "type": "Microsoft.PolicyInsights/policyMetadata"
+ }
+ }
+ }
+}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyMetadata_List.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyMetadata_List.json
new file mode 100644
index 000000000000..b03d33f3305f
--- /dev/null
+++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyMetadata_List.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "metadataId": "NIST SP 800-53 R4 AC-2",
+ "category": "Access control",
+ "title": "Account Management",
+ "owner": "Shared",
+ "additionalContentUrl": "https://aka.ms/NIST_SP_800-53_R4_AC-2",
+ "metadata": {}
+ },
+ "id": "/providers/Microsoft.PolicyInsights/policyMetadata/NIST_SP_800-53_R4_AC-2",
+ "name": "NIST_SP_800-53_R4_AC-2",
+ "type": "Microsoft.PolicyInsights/policyMetadata"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyMetadata_List_WithTop.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyMetadata_List_WithTop.json
new file mode 100644
index 000000000000..5cd97e829646
--- /dev/null
+++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyMetadata_List_WithTop.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-10-01",
+ "$top": 1
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "metadataId": "NIST SP 800-53 R4 AC-2",
+ "category": "Access control",
+ "title": "Account Management",
+ "owner": "Shared",
+ "additionalContentUrl": "https://aka.ms/NIST_SP_800-53_R4_AC-2",
+ "metadata": {}
+ },
+ "id": "/providers/Microsoft.PolicyInsights/policyMetadata/NIST_SP_800-53_R4_AC-2",
+ "name": "NIST_SP_800-53_R4_AC-2",
+ "type": "Microsoft.PolicyInsights/policyMetadata"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyMetadata.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyMetadata.json
new file mode 100644
index 000000000000..fe12a4462ae0
--- /dev/null
+++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyMetadata.json
@@ -0,0 +1,330 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "PolicyMetadataClient",
+ "version": "2019-10-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.PolicyInsights/policyMetadata/{resourceName}": {
+ "get": {
+ "operationId": "PolicyMetadata_GetResource",
+ "description": "Get policy metadata resource.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/resourceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Policy metadata resource definition.",
+ "schema": {
+ "$ref": "#/definitions/PolicyMetadata"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get a single policy metadata resource": {
+ "$ref": "./examples/PolicyMetadata_GetResource.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.PolicyInsights/policyMetadata": {
+ "get": {
+ "operationId": "PolicyMetadata_List",
+ "description": "Get a list of the policy metadata resources.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Policy metadata resource collection.",
+ "schema": {
+ "$ref": "#/definitions/PolicyMetadataCollection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Get collection of policy metadata resources": {
+ "$ref": "./examples/PolicyMetadata_List.json"
+ },
+ "Get collection of policy metadata resources using top query parameter": {
+ "$ref": "./examples/PolicyMetadata_List_WithTop.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "PolicyMetadata": {
+ "description": "Policy metadata resource definition.",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PolicyMetadataProperties",
+ "description": "Properties of the policy metadata."
+ },
+ "id": {
+ "type": "string",
+ "description": "The ID of the policy metadata.",
+ "readOnly": true
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the policy metadata.",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the policy metadata.",
+ "readOnly": true
+ }
+ }
+ },
+ "PolicyMetadataSlimProperties": {
+ "description": "The properties of the policy metadata, excluding properties containing large strings",
+ "properties": {
+ "metadataId": {
+ "description": "The policy metadata identifier.",
+ "type": "string",
+ "readOnly": true
+ },
+ "category": {
+ "description": "The category of the policy metadata.",
+ "type": "string",
+ "readOnly": true
+ },
+ "title": {
+ "description": "The title of the policy metadata.",
+ "type": "string",
+ "readOnly": true
+ },
+ "owner": {
+ "description": "The owner of the policy metadata.",
+ "type": "string",
+ "readOnly": true
+ },
+ "description": {
+ "description": "The description of the policy metadata.",
+ "type": "string",
+ "readOnly": true
+ },
+ "requirements": {
+ "description": "The requirements of the policy metadata.",
+ "type": "string",
+ "readOnly": true
+ },
+ "additionalContentUrl": {
+ "description": "Url for getting additional content about the resource metadata.",
+ "type": "string",
+ "readOnly": true
+ },
+ "metadata": {
+ "description": "Additional metadata.",
+ "type": "object",
+ "readOnly": true
+ }
+ }
+ },
+ "PolicyMetadataProperties": {
+ "description": "The properties of the policy metadata.",
+ "properties": {
+ "description": {
+ "description": "The description of the policy metadata.",
+ "type": "string",
+ "readOnly": true
+ },
+ "requirements": {
+ "description": "The requirements of the policy metadata.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/PolicyMetadataSlimProperties"
+ }
+ ]
+ },
+ "SlimPolicyMetadata": {
+ "description": "Slim version of policy metadata resource definition, excluding properties with large strings",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PolicyMetadataSlimProperties",
+ "description": "Properties of the policy metadata."
+ },
+ "id": {
+ "type": "string",
+ "description": "The ID of the policy metadata.",
+ "readOnly": true
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the policy metadata.",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the policy metadata.",
+ "readOnly": true
+ }
+ }
+ },
+ "PolicyMetadataCollection": {
+ "description": "Collection of policy metadata resources.",
+ "properties": {
+ "value": {
+ "description": "Array of policy metadata definitions.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SlimPolicyMetadata"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results.",
+ "readOnly": true
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "Error response.",
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/ErrorDefinition",
+ "description": "The error details."
+ }
+ }
+ },
+ "ErrorDefinition": {
+ "description": "Error definition.",
+ "properties": {
+ "code": {
+ "description": "Service specific error code which serves as the substatus for the HTTP error code.",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "Description of the error.",
+ "type": "string",
+ "readOnly": true
+ },
+ "target": {
+ "description": "The target of the error.",
+ "type": "string",
+ "readOnly": true
+ },
+ "details": {
+ "description": "Internal error details.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorDefinition"
+ },
+ "readOnly": true
+ },
+ "additionalInfo": {
+ "description": "Additional scenario specific error details.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TypedErrorInfo"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "TypedErrorInfo": {
+ "description": "Scenario specific error details.",
+ "properties": {
+ "type": {
+ "description": "The type of included error details.",
+ "type": "string",
+ "readOnly": true
+ },
+ "info": {
+ "description": "The scenario specific error details.",
+ "readOnly": true
+ }
+ }
+ }
+ },
+ "parameters": {
+ "resourceNameParameter": {
+ "name": "resourceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the policy metadata resource.",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "topParameter": {
+ "name": "$top",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "description": "Maximum number of records to return.",
+ "x-ms-parameter-location": "method",
+ "x-ms-parameter-grouping": {
+ "name": "QueryOptions"
+ },
+ "x-ms-client-name": "Top"
+ },
+ "apiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version.",
+ "x-ms-parameter-location": "client"
+ }
+ }
+}
diff --git a/specification/policyinsights/resource-manager/readme.md b/specification/policyinsights/resource-manager/readme.md
index 58ebb08d91c4..87d58fdd6028 100644
--- a/specification/policyinsights/resource-manager/readme.md
+++ b/specification/policyinsights/resource-manager/readme.md
@@ -61,7 +61,19 @@ directive:
- $.paths["/{scope}/providers/Microsoft.PolicyInsights/policyEvents/$metadata"].get.produces[0]
- $.paths["/{scope}/providers/Microsoft.PolicyInsights/policyStates/$metadata"].get.produces[0]
+ - suppress: OperationIdNounConflictingModelNames
+ reason: Metadata is already in plural form.
+ where:
+ - $.paths["/providers/Microsoft.PolicyInsights/policyMetadata/{resourceName}"].get.operationId
+ - $.paths["/providers/Microsoft.PolicyInsights/policyMetadata"].get.operationId
+
+ - suppress: PageableOperation
+ reason: The operations API is not pagable.
+ where:
+ - $.paths["/providers/Microsoft.PolicyInsights/operations"].get
+
```
+
### Tag: package-2019-10
These settings apply only when `--tag=package-2019-10` is specified on the command line.
@@ -72,8 +84,10 @@ input-file:
- Microsoft.PolicyInsights/preview/2018-07-01-preview/remediations.json
- Microsoft.PolicyInsights/stable/2018-04-04/policyEvents.json
- Microsoft.PolicyInsights/stable/2019-10-01/policyStates.json
+- Microsoft.PolicyInsights/stable/2019-10-01/policyMetadata.json
```
+
### Tag: package-2018-07
These settings apply only when `--tag=package-2018-07` is specified on the command line.
From da10a5ba63a90812151e882791e4bf12a4e1e3b1 Mon Sep 17 00:00:00 2001
From: Zhenfeng
Date: Tue, 5 Nov 2019 05:00:35 -0800
Subject: [PATCH 148/189] [SRP] Remove a recent added property for container
soft delete (#7706)
---
.../Microsoft.Storage/stable/2019-06-01/blob.json | 4 ----
1 file changed, 4 deletions(-)
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json
index 16b0f690b282..ec75e8a6f0ca 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json
@@ -1142,10 +1142,6 @@
"changeFeed": {
"$ref": "#/definitions/ChangeFeed",
"description": "The blob service properties for change feed events."
- },
- "containerDeleteRetentionPolicy": {
- "$ref": "./common.json#/definitions/DeleteRetentionPolicy",
- "description": "The blob service properties for container soft delete."
}
},
"x-ms-client-flatten": true,
From c42f3f3427766255b06a01846e1ec497c4d3c94a Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Tue, 5 Nov 2019 13:24:22 +0000
Subject: [PATCH 149/189] regenerated all-api-versions
---
specification/policyinsights/resource-manager/readme.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/specification/policyinsights/resource-manager/readme.md b/specification/policyinsights/resource-manager/readme.md
index 87d58fdd6028..ca94c919eb6e 100644
--- a/specification/policyinsights/resource-manager/readme.md
+++ b/specification/policyinsights/resource-manager/readme.md
@@ -290,6 +290,7 @@ input-file:
- $(this-folder)/Microsoft.PolicyInsights/preview/2018-07-01-preview/remediations.json
- $(this-folder)/Microsoft.PolicyInsights/stable/2018-04-04/policyEvents.json
- $(this-folder)/Microsoft.PolicyInsights/stable/2019-10-01/policyStates.json
+ - $(this-folder)/Microsoft.PolicyInsights/stable/2019-10-01/policyMetadata.json
- $(this-folder)/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyStates.json
- $(this-folder)/Microsoft.PolicyInsights/stable/2018-04-04/policyStates.json
- $(this-folder)/Microsoft.PolicyInsights/preview/2017-12-12-preview/policyEvents.json
From cb742dc4f7afe52a95e1ae79c1aa5a5906e49c08 Mon Sep 17 00:00:00 2001
From: Himanshu Chhabra
Date: Tue, 5 Nov 2019 12:02:40 -0800
Subject: [PATCH 150/189] [Routing Preference] : Updated the Flatten property
and added example . Linked to PR#7689 (#7714)
* Updating flatten property to false
* Updating examples
---
.../examples/StorageAccountCreate.json | 28 +++++++++++++++++--
.../examples/StorageAccountGetProperties.json | 21 +++++++++++++-
.../examples/StorageAccountList.json | 21 +++++++++++++-
.../examples/StorageAccountUpdate.json | 26 ++++++++++++++++-
.../stable/2019-06-01/storage.json | 6 ++--
5 files changed, 94 insertions(+), 8 deletions(-)
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountCreate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountCreate.json
index 23b513323e97..830acfa41d1d 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountCreate.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountCreate.json
@@ -11,7 +11,12 @@
"kind": "Storage",
"location": "eastus2euap",
"properties": {
- "isHnsEnabled": true
+ "isHnsEnabled": true,
+ "routingPreference": {
+ "routingChoice": "MicrosoftRouting",
+ "publishMicrosoftEndpoints": true,
+ "publishInternetEndpoints": true
+ }
},
"tags": {
"key1": "value1",
@@ -35,10 +40,29 @@
"blob": "https://sto4445.blob.core.windows.net/",
"file": "https://sto4445.file.core.windows.net/",
"queue": "https://sto4445.queue.core.windows.net/",
- "table": "https://sto4445.table.core.windows.net/"
+ "table": "https://sto4445.table.core.windows.net/",
+ "microsoftEndpoints": {
+ "web": "https://sto4445-microsoftrouting.web.core.windows.net/",
+ "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/",
+ "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/",
+ "file": "https://sto4445-microsoftrouting.file.core.windows.net/",
+ "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/",
+ "table": "https://sto4445-microsoftrouting.table.core.windows.net/"
+ },
+ "internetEndpoints": {
+ "web": "https://sto4445-internetrouting.web.core.windows.net/",
+ "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/",
+ "blob": "https://sto4445-internetrouting.blob.core.windows.net/",
+ "file": "https://sto4445-internetrouting.file.core.windows.net/"
+ }
},
"primaryLocation": "eastus2euap",
"provisioningState": "Succeeded",
+ "routingPreference": {
+ "routingChoice": "MicrosoftRouting",
+ "publishMicrosoftEndpoints": true,
+ "publishInternetEndpoints": true
+ },
"secondaryLocation": "centraluseuap",
"statusOfPrimary": "available",
"statusOfSecondary": "available",
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountGetProperties.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountGetProperties.json
index df0f7b8374c2..bc0987aee262 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountGetProperties.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountGetProperties.json
@@ -33,10 +33,29 @@
"blob": "https://sto8596.blob.core.windows.net/",
"file": "https://sto8596.file.core.windows.net/",
"queue": "https://sto8596.queue.core.windows.net/",
- "table": "https://sto8596.table.core.windows.net/"
+ "table": "https://sto8596.table.core.windows.net/",
+ "microsoftEndpoints": {
+ "web": "https://sto8596-microsoftrouting.web.core.windows.net/",
+ "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/",
+ "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/",
+ "file": "https://sto8596-microsoftrouting.file.core.windows.net/",
+ "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/",
+ "table": "https://sto8596-microsoftrouting.table.core.windows.net/"
+ },
+ "internetEndpoints": {
+ "web": "https://sto8596-internetrouting.web.core.windows.net/",
+ "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/",
+ "blob": "https://sto8596-internetrouting.blob.core.windows.net/",
+ "file": "https://sto8596-internetrouting.file.core.windows.net/"
+ }
},
"primaryLocation": "eastus2(stage)",
"provisioningState": "Succeeded",
+ "routingPreference": {
+ "routingChoice": "MicrosoftRouting",
+ "publishMicrosoftEndpoints": true,
+ "publishInternetEndpoints": true
+ },
"secondaryLocation": "northcentralus(stage)",
"statusOfPrimary": "available",
"statusOfSecondary": "available",
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountList.json
index 2927913adedf..5205da3e4874 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountList.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountList.json
@@ -22,10 +22,29 @@
"blob": "https://sto1125.blob.core.windows.net/",
"file": "https://sto1125.file.core.windows.net/",
"queue": "https://sto1125.queue.core.windows.net/",
- "table": "https://sto1125.table.core.windows.net/"
+ "table": "https://sto1125.table.core.windows.net/",
+ "microsoftEndpoints": {
+ "web": "https://sto1125-microsoftrouting.web.core.windows.net/",
+ "dfs": "https://sto1125-microsoftrouting.dfs.core.windows.net/",
+ "blob": "https://sto1125-microsoftrouting.blob.core.windows.net/",
+ "file": "https://sto1125-microsoftrouting.file.core.windows.net/",
+ "queue": "https://sto1125-microsoftrouting.queue.core.windows.net/",
+ "table": "https://sto1125-microsoftrouting.table.core.windows.net/"
+ },
+ "internetEndpoints": {
+ "web": "https://sto1125-internetrouting.web.core.windows.net/",
+ "dfs": "https://sto1125-internetrouting.dfs.core.windows.net/",
+ "blob": "https://sto1125-internetrouting.blob.core.windows.net/",
+ "file": "https://sto1125-internetrouting.file.core.windows.net/"
+ }
},
"primaryLocation": "eastus2euap",
"provisioningState": "Succeeded",
+ "routingPreference": {
+ "routingChoice": "MicrosoftRouting",
+ "publishMicrosoftEndpoints": true,
+ "publishInternetEndpoints": true
+ },
"secondaryLocation": "centraluseuap",
"statusOfPrimary": "available",
"statusOfSecondary": "available",
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountUpdate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountUpdate.json
index 9435b6eb1848..5a09784b26cf 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountUpdate.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountUpdate.json
@@ -9,6 +9,11 @@
"properties": {
"networkAcls": {
"defaultAction": "Allow"
+ },
+ "routingPreference": {
+ "routingChoice": "MicrosoftRouting",
+ "publishMicrosoftEndpoints": true,
+ "publishInternetEndpoints": true
}
}
}
@@ -35,10 +40,29 @@
"blob": "https://sto8596.blob.core.windows.net/",
"file": "https://sto8596.file.core.windows.net/",
"queue": "https://sto8596.queue.core.windows.net/",
- "table": "https://sto8596.table.core.windows.net/"
+ "table": "https://sto8596.table.core.windows.net/",
+ "microsoftEndpoints": {
+ "web": "https://sto8596-microsoftrouting.web.core.windows.net/",
+ "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/",
+ "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/",
+ "file": "https://sto8596-microsoftrouting.file.core.windows.net/",
+ "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/",
+ "table": "https://sto8596-microsoftrouting.table.core.windows.net/"
+ },
+ "internetEndpoints": {
+ "web": "https://sto8596-internetrouting.web.core.windows.net/",
+ "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/",
+ "blob": "https://sto8596-internetrouting.blob.core.windows.net/",
+ "file": "https://sto8596-internetrouting.file.core.windows.net/"
+ }
},
"primaryLocation": "eastus2(stage)",
"provisioningState": "Succeeded",
+ "routingPreference": {
+ "routingChoice": "MicrosoftRouting",
+ "publishMicrosoftEndpoints": true,
+ "publishInternetEndpoints": true
+ },
"secondaryLocation": "northcentralus(stage)",
"statusOfPrimary": "available",
"statusOfSecondary": "available",
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
index 3b8924b50edd..152e2623a191 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
@@ -1750,12 +1750,12 @@
"description": "Gets the dfs endpoint."
},
"microsoftEndpoints":{
- "x-ms-client-flatten": true,
+ "x-ms-client-flatten": false,
"$ref": "#/definitions/StorageAccountMicrosoftEndpoints",
"description": "Gets the microsoft routing storage endpoints."
},
"internetEndpoints":{
- "x-ms-client-flatten": true,
+ "x-ms-client-flatten": false,
"$ref": "#/definitions/StorageAccountInternetEndpoints",
"description": "Gets the internet routing storage endpoints"
}
@@ -1856,7 +1856,7 @@
"properties": {
"routingChoice": {
"type": "string",
- "description": "Routing Choice defines the kind of network routing opted by the user. The default option is microsoft routing",
+ "description": "Routing Choice defines the kind of network routing opted by the user.",
"enum": [
"MicrosoftRouting",
"InternetRouting"
From e5ec8997672bc62c8032dd6d4755bf6b8379b3e5 Mon Sep 17 00:00:00 2001
From: Feng Zhou <55177366+fengzhou-msft@users.noreply.github.com>
Date: Wed, 6 Nov 2019 10:13:29 +0800
Subject: [PATCH 151/189] add cli readme for appconfiguration (#7710)
---
.../resource-manager/readme.cli.md | 18 ++++++++++++++++++
.../resource-manager/readme.md | 4 ++++
2 files changed, 22 insertions(+)
create mode 100644 specification/appconfiguration/resource-manager/readme.cli.md
diff --git a/specification/appconfiguration/resource-manager/readme.cli.md b/specification/appconfiguration/resource-manager/readme.cli.md
new file mode 100644
index 000000000000..53fe766e5128
--- /dev/null
+++ b/specification/appconfiguration/resource-manager/readme.cli.md
@@ -0,0 +1,18 @@
+## CLI
+
+These settings apply only when `--cli` is specified on the command line.
+
+``` yaml $(cli)
+cli:
+ cli-name: appconfiguration
+ namespace: azure.mgmt.appconfiguration
+ package-name: azure-mgmt-appconfiguration
+ debug: true
+ test-setup:
+ - name: ConfigurationStores_Create
+ - name: ConfigurationStores_Get
+ - name: ConfigurationStores_CheckNameAvailable
+ - name: ConfigurationStores_ListKeys
+ - name: ConfigurationStores_List
+```
+
diff --git a/specification/appconfiguration/resource-manager/readme.md b/specification/appconfiguration/resource-manager/readme.md
index b9eaa1b90216..e80705acb889 100644
--- a/specification/appconfiguration/resource-manager/readme.md
+++ b/specification/appconfiguration/resource-manager/readme.md
@@ -88,6 +88,10 @@ See configuration in [readme.go.md](./readme.go.md)
See configuration in [readme.ruby.md](./readme.ruby.md)
+## CLI
+
+See configuration in [readme.cli.md](./readme.cli.md)
+
## Suppression
``` yaml
From f737f83e56a1fc85c75d279e3ac614abcb5fe2e0 Mon Sep 17 00:00:00 2001
From: David Zhao <31305478+davidzhaoyue@users.noreply.github.com>
Date: Wed, 6 Nov 2019 12:18:45 +0800
Subject: [PATCH 152/189] [Datafactory] Enable SQL DW Copy Command (#7700)
* [Datafactory] Enable SQL DW Copy Command
* Add MAXERRORS into custom-words.txt
---
custom-words.txt | 1 +
.../2018-06-01/entityTypes/Pipeline.json | 42 +++++++++++++++++++
2 files changed, 43 insertions(+)
diff --git a/custom-words.txt b/custom-words.txt
index cbf32819fc57..ed5773976128 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -820,6 +820,7 @@ mariadb
Marketo
marketplaceagreementsapi
marketplaceordering
+MAXERRORS
maximumblobsize
maxmemory
maxpagesize
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
index 0ab21be73251..e8b24fb4337b 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
@@ -3222,6 +3222,14 @@
"description": "Specifies PolyBase-related settings when allowPolyBase is true.",
"$ref": "#/definitions/PolybaseSettings"
},
+ "allowCopyCommand": {
+ "type": "object",
+ "description": "Indicates to use Copy Command to copy data into SQL Data Warehouse. Type: boolean (or Expression with resultType boolean)."
+ },
+ "copyCommandSettings": {
+ "description": "Specifies Copy Command related settings when allowCopyCommand is true.",
+ "$ref": "#/definitions/DWCopyCommandSettings"
+ },
"tableOption": {
"type": "object",
"description": "The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string)."
@@ -3265,6 +3273,40 @@
"modelAsString": true
}
},
+ "DWCopyCommandSettings": {
+ "description": "DW Copy Command settings.",
+ "type": "object",
+ "properties": {
+ "defaultValues": {
+ "type": "array",
+ "description": "Specifies the default values for each target column in SQL DW. The default values in the property overwrite the DEFAULT constraint set in the DB, and identity column cannot have a default value. Type: array of objects (or Expression with resultType array of objects).",
+ "items": {
+ "$ref": "#/definitions/DWCopyCommandDefaultValue"
+ }
+ },
+ "additionalOptions": {
+ "type": "object",
+ "description": "Additional options directly passed to SQL DW in Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: \"additionalOptions\": { \"MAXERRORS\": \"1000\", \"DATEFORMAT\": \"'ymd'\" }",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "DWCopyCommandDefaultValue": {
+ "description": "Default value.",
+ "type": "object",
+ "properties": {
+ "columnName": {
+ "type": "object",
+ "description": "Column name. Type: object (or Expression with resultType string)."
+ },
+ "defaultValue": {
+ "type": "object",
+ "description": "The default value of the column. Type: object (or Expression with resultType string)."
+ }
+ }
+ },
"LogStorageSettings": {
"description": "Log storage settings.",
"type": "object",
From e3b86196e58e37f5518af46bf486f5ed53957d25 Mon Sep 17 00:00:00 2001
From: punit1396 <41612766+punit1396@users.noreply.github.com>
Date: Wed, 6 Nov 2019 11:55:20 +0530
Subject: [PATCH 153/189] Adding swagger changes for GET and LIST
replicationEligibilityResults API [Do Not MERGE] (#7698)
---
.../ReplicationEligibilityResults_Get.json | 29 +++
.../ReplicationEligibilityResults_List.json | 40 ++++
.../stable/2018-07-10/service.json | 180 ++++++++++++++++++
.../resource-manager/readme.md | 7 +
4 files changed, 256 insertions(+)
create mode 100644 specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationEligibilityResults_Get.json
create mode 100644 specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationEligibilityResults_List.json
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationEligibilityResults_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationEligibilityResults_Get.json
new file mode 100644
index 000000000000..a438e8501ce2
--- /dev/null
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationEligibilityResults_Get.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "api-version": "2018-07-10",
+ "virtualMachineName": "testVm1",
+ "resourceGroupName": "testRg1",
+ "subscriptionId": "d90d145a-4cdd-45a3-b2c4-971d69775278"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "default",
+ "type": "Microsoft.RecoveryServices/replicationEligibilityResults",
+ "id": "/subscriptions/d90d145a-4cdd-45a3-b2c4-971d69775278/resourceGroups/testRg1/providers/Microsoft.Compute/virtualMachines/testVm1/providers/Microsoft.RecoveryServices/replicationEligibilityResults/default",
+ "properties": {
+ "clientRequestId": "7d72ade7-b9f7-4d9b-8a19-15d9728c6190",
+ "errors": [
+ {
+ "code": "A2AOperatingSystemNotSupported",
+ "message": "The A2A operation could not be completed as the virtual machine is running OS 'ubuntu' with version '18.04' which is not supported for replication.",
+ "possibleCauses": "OS version not supported.",
+ "recommendedAction": "The virtual machine is running unsupported Operating system. Refer to the documentation for supported OS versions - https://aka.ms/a2a-os-support-matrix.",
+ "status": "Error"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationEligibilityResults_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationEligibilityResults_List.json
new file mode 100644
index 000000000000..60e52c1cf35c
--- /dev/null
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationEligibilityResults_List.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2018-07-10",
+ "virtualMachineName": "testVm2",
+ "resourceGroupName": "testRg1",
+ "subscriptionId": "d90d145a-4cdd-45a3-b2c4-971d69775278"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "default",
+ "type": "Microsoft.RecoveryServices/replicationEligibilityResults",
+ "id": "/subscriptions/d90d145a-4cdd-45a3-b2c4-971d69775278/resourceGroups/testRg1/providers/Microsoft.Compute/virtualMachines/testVm2/providers/Microsoft.RecoveryServices/replicationEligibilityResults/default",
+ "properties": {
+ "clientRequestId": "a62c81df-e26e-47ea-ab4b-f1fcc1e5b135",
+ "errors": [
+ {
+ "code": "AzureVmIsNotInDesiredProvisioningState",
+ "message": "Azure virtual machine with Id (/subscriptions/d90d145a-4cdd-45a3-b2c4-971d69775278/resourceGroups/testRg1/providers/Microsoft.Compute/virtualMachines/testVm2) is with provisioning state 'failed'. To enable replication, VM's provisioning state should be 'succeeded'.",
+ "possibleCauses": "Virtual machine is not in desired state.",
+ "recommendedAction": "\n Ensure that the VM's provisioning state is 'succeeded'.\n Refer to https://aka.ms/a2a-vm-state-issues to troubleshoot VM provisioning state issues.\n ",
+ "status": "Error"
+ },
+ {
+ "code": "AzureVmIsNotInDesiredPowerState",
+ "message": "Azure virtual machine with Id (/subscriptions/d90d145a-4cdd-45a3-b2c4-971d69775278/resourceGroups/testRg1/providers/Microsoft.Compute/virtualMachines/testVm2) is with power status 'deallocated'. To enable replication, VM's power status should be 'running'.",
+ "possibleCauses": "Virtual machine is not in desired state.",
+ "recommendedAction": "\n Ensure that the VM's power status is 'running'.\n You can check the power status in 'VM > Settings > Properties > Status' in Azure portal.\n ",
+ "status": "Error"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json
index f2af3cb8f693..b29eea9f7945 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/service.json
@@ -205,6 +205,96 @@
}
}
},
+ "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}/providers/Microsoft.RecoveryServices/replicationEligibilityResults": {
+ "get": {
+ "tags": [
+ "ReplicationEligibilityResults"
+ ],
+ "summary": "Gets the validation errors in case the VM is unsuitable for protection.",
+ "description": "Validates whether a given VM can be protected or not in which case returns list of errors.",
+ "operationId": "ReplicationEligibilityResults_List",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "virtualMachineName",
+ "in": "path",
+ "description": "Virtual Machine name.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ReplicationEligibilityResultsCollection"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Gets the validation errors in case the VM is unsuitable for protection.": {
+ "$ref": "./examples/ReplicationEligibilityResults_List.json"
+ }
+ }
+ }
+ },
+ "/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{virtualMachineName}/providers/Microsoft.RecoveryServices/replicationEligibilityResults/default": {
+ "get": {
+ "tags": [
+ "ReplicationEligibilityResults"
+ ],
+ "summary": "Gets the validation errors in case the VM is unsuitable for protection.",
+ "description": "Validates whether a given VM can be protected or not in which case returns list of errors.",
+ "operationId": "ReplicationEligibilityResults_Get",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "virtualMachineName",
+ "in": "path",
+ "description": "Virtual Machine name.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ReplicationEligibilityResults"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Gets the validation errors in case the VM is unsuitable for protection.": {
+ "$ref": "./examples/ReplicationEligibilityResults_Get.json"
+ }
+ }
+ }
+ },
"/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents": {
"get": {
"tags": [
@@ -15037,6 +15127,96 @@
}
}
},
+ "ReplicationEligibilityResults": {
+ "description": "Replication eligibility results response model.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Gets the name of this object.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Gets the object type.",
+ "type": "string",
+ "readOnly": true
+ },
+ "id": {
+ "description": "Gets Unique ARM identifier for this object.",
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "$ref": "#/definitions/ReplicationEligibilityResultsProperties",
+ "description": "Gets properties model for replication eligibility results API.",
+ "readOnly": true
+ }
+ }
+ },
+ "ReplicationEligibilityResultsCollection": {
+ "description": "Replication eligibility results collection response model.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The replication eligibility results details.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReplicationEligibilityResults"
+ }
+ }
+ }
+ },
+ "ReplicationEligibilityResultsErrorInfo": {
+ "description": "Error model that can be exposed to the user.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The error code.",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "The error message.",
+ "type": "string",
+ "readOnly": true
+ },
+ "possibleCauses": {
+ "description": "The possible causes.",
+ "type": "string",
+ "readOnly": true
+ },
+ "recommendedAction": {
+ "description": "The recommended action.",
+ "type": "string",
+ "readOnly": true
+ },
+ "status": {
+ "description": "The error status.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ReplicationEligibilityResultsProperties": {
+ "description": "Properties model for replication eligibility results API.",
+ "type": "object",
+ "properties": {
+ "clientRequestId": {
+ "description": "The client request Id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "errors": {
+ "description": "The error details.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReplicationEligibilityResultsErrorInfo"
+ }
+ }
+ }
+ },
"ReplicationGroupDetails": {
"description": "Replication group details. This will be used in case of San and Wvr.",
"type": "object",
diff --git a/specification/recoveryservicessiterecovery/resource-manager/readme.md b/specification/recoveryservicessiterecovery/resource-manager/readme.md
index 693d85ea74ab..b5bda5bdddb8 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/readme.md
+++ b/specification/recoveryservicessiterecovery/resource-manager/readme.md
@@ -27,6 +27,13 @@ These are the global settings for the RecoveryServicesSiteRecovery API.
``` yaml
openapi-type: arm
tag: package-2018-07
+
+directive:
+ - where:
+ - $.paths
+ suppress:
+ - UniqueResourcePaths
+
```
From abf6236631a6619ff03b770d7d72964fe82cbcba Mon Sep 17 00:00:00 2001
From: Vishnu Priya Ananthu Sundaram
Date: Wed, 6 Nov 2019 00:35:16 -0800
Subject: [PATCH 154/189] Azure stack deployment resource provider admin open
api specification (#7561)
---
.../preview/2019-01-01/ActionPlan.json | 204 +++++++
.../2019-01-01/ActionPlanOperation.json | 233 ++++++++
.../preview/2019-01-01/Deployment.json | 212 +++++++
.../preview/2019-01-01/FileContainer.json | 322 ++++++++++
.../preview/2019-01-01/ProductDeployment.json | 565 ++++++++++++++++++
.../preview/2019-01-01/ProductPackage.json | 270 +++++++++
.../preview/2019-01-01/ProductSecret.json | 513 ++++++++++++++++
.../2019-01-01/examples/ActionPlan/Get.json | 28 +
.../2019-01-01/examples/ActionPlan/List.json | 32 +
.../examples/ActionPlanOperations/Get.json | 84 +++
.../examples/ActionPlanOperations/List.json | 447 ++++++++++++++
.../examples/FileContainer/Create.json | 29 +
.../examples/FileContainer/Delete.json | 12 +
.../examples/FileContainer/Get.json | 24 +
.../examples/FileContainer/List.json | 26 +
.../2019-01-01/examples/Operations/List.json | 159 +++++
.../examples/ProductDeployment/Bootstrap.json | 15 +
.../examples/ProductDeployment/Deploy.json | 15 +
.../examples/ProductDeployment/Get.json | 23 +
.../examples/ProductDeployment/List.json | 43 ++
.../examples/ProductDeployment/Lock.json | 11 +
.../examples/ProductDeployment/Remove.json | 12 +
.../ProductDeployment/RotateSecrets.json | 12 +
.../examples/ProductDeployment/Unlock.json | 14 +
.../examples/ProductPackage/Create.json | 29 +
.../examples/ProductPackage/Delete.json | 12 +
.../examples/ProductPackage/Get.json | 24 +
.../examples/ProductPackage/List.json | 26 +
.../examples/ProductSecret/Get.Json | 34 ++
.../examples/ProductSecret/Import.json | 24 +
.../examples/ProductSecret/List.json | 92 +++
.../examples/ProductSecret/Validate.json | 25 +
.../resource-manager/deployment/readme.md | 87 +++
33 files changed, 3658 insertions(+)
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/ActionPlan.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/ActionPlanOperation.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/Deployment.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/FileContainer.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/ProductDeployment.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/ProductPackage.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ActionPlan/Get.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ActionPlan/List.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ActionPlanOperations/Get.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ActionPlanOperations/List.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/FileContainer/Create.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/FileContainer/Delete.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/FileContainer/Get.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/FileContainer/List.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/Operations/List.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Bootstrap.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Deploy.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Get.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/List.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Lock.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Remove.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/RotateSecrets.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Unlock.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductPackage/Create.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductPackage/Delete.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductPackage/Get.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductPackage/List.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductSecret/Get.Json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductSecret/Import.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductSecret/List.json
create mode 100644 specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductSecret/Validate.json
create mode 100644 specification/azsadmin/resource-manager/deployment/readme.md
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/ActionPlan.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/ActionPlan.json
new file mode 100644
index 000000000000..0f24730ed82f
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/ActionPlan.json
@@ -0,0 +1,204 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-01-01",
+ "title": "DeploymentAdminClient",
+ "description": "Deployment Admin Client."
+ },
+ "host": "adminmanagement.local.azurestack.external",
+ "schemes": [
+ "https"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/actionPlans": {
+ "get": {
+ "x-ms-examples": {
+ "Gets the list of action plans": {
+ "$ref": "./examples/ActionPlan/List.json"
+ }
+ },
+ "description": "Gets the list of action plans",
+ "tags": [
+ "ActionPlans"
+ ],
+ "operationId": "ActionPlans_List",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ActionPlanList"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/actionPlans/{planId}": {
+ "get": {
+ "x-ms-examples": {
+ "Gets the specified action plan": {
+ "$ref": "./examples/ActionPlan/Get.json"
+ }
+ },
+ "description": "Gets the specified action plan",
+ "tags": [
+ "ActionPlans"
+ ],
+ "operationId": "ActionPlans_Get",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/PlanIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ActionPlanResourceEntity"
+ }
+ },
+ "404": {
+ "description": "NOT FOUND"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ActionPlanList": {
+ "description": "List of action plans",
+ "properties": {
+ "value": {
+ "description": "Array of action plans.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionPlanResourceEntity"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "Continuation token"
+ }
+ }
+ },
+ "ActionPlanResourceEntity": {
+ "type": "object",
+ "description": "Action Plan Resource Entity",
+ "properties": {
+ "properties": {
+ "description": "Action Plan Properties",
+ "$ref": "#/definitions/ActionPlanAdminProperties",
+ "x-ms-client-flatten": true
+ },
+ "eTag": {
+ "description": "Entity tag of the resource",
+ "type": "string"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "Deployment.json#/definitions/Resource"
+ }
+ ]
+ },
+ "ActionPlanAdminProperties": {
+ "type": "object",
+ "description": "Action Plan Properties",
+ "properties": {
+ "actionPlanUri": {
+ "description": "Action plan uri",
+ "type": "string"
+ },
+ "resourceGroupName": {
+ "description": "The target resource group name",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "The target subscription identifier",
+ "type": "string"
+ },
+ "parameters": {
+ "description": "The deployment parameters in JToken format",
+ "type": "object",
+ "$ref": "Deployment.json#/definitions/JTokenString"
+ },
+ "startTime": {
+ "description": "The deployment start time",
+ "type": "string",
+ "format": "date-time"
+ },
+ "endTime": {
+ "description": "The deployment end time",
+ "type": "string",
+ "format": "date-time"
+ },
+ "error": {
+ "description": "Error Information",
+ "$ref": "Deployment.json#/definitions/ExtendedErrorInfo"
+ },
+ "provisioningState": {
+ "description": "The provisioning state",
+ "type": "string"
+ },
+ "actionPlanInstanceId": {
+ "description": "Action plan instance identifier",
+ "type": "string"
+ },
+ "blobContainerName": {
+ "description": "Blob container name storing the deployment data",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "PlanIdParameter": {
+ "description": "Identifier of the action plan.",
+ "name": "planId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/ActionPlanOperation.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/ActionPlanOperation.json
new file mode 100644
index 000000000000..9de1d44fcdc7
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/ActionPlanOperation.json
@@ -0,0 +1,233 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-01-01",
+ "title": "DeploymentAdminClient",
+ "description": "Deployment Admin Client."
+ },
+ "host": "adminmanagement.local.azurestack.external",
+ "schemes": [
+ "https"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/actionPlans/{planId}/operations": {
+ "get": {
+ "x-ms-examples": {
+ "Lists the action plan operations": {
+ "$ref": "./examples/ActionPlanOperations/List.json"
+ }
+ },
+ "description": "Lists the action plan operations",
+ "tags": [
+ "ActionPlanOperations"
+ ],
+ "operationId": "ActionPlanOperations_List",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/PlanIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ActionPlanOperationsList"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/actionPlans/{planId}/operations/{operationId}": {
+ "get": {
+ "x-ms-examples": {
+ "Gets the specified action plan operation": {
+ "$ref": "./examples/ActionPlanOperations/Get.json"
+ }
+ },
+ "description": "Gets the specified action plan operation",
+ "tags": [
+ "ActionPlanOperations"
+ ],
+ "operationId": "ActionPlanOperations_Get",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/PlanIdParameter"
+ },
+ {
+ "$ref": "#/parameters/OperationIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ActionPlanOperationResourceEntity"
+ }
+ },
+ "404": {
+ "description": "NOT FOUND"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ActionPlanOperationsList": {
+ "description": "List of action plan operations",
+ "properties": {
+ "value": {
+ "description": "Array of action plan operations.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionPlanOperationResourceEntity"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "Continuation token"
+ }
+ }
+ },
+ "ActionPlanOperationResourceEntity": {
+ "type": "object",
+ "description": "Action Plan Operation Resource Entity",
+ "properties": {
+ "properties": {
+ "description": "Action Plan Properties",
+ "$ref": "#/definitions/ActionPlanOperationAdminProperties",
+ "x-ms-client-flatten": true
+ },
+ "eTag": {
+ "description": "Entity tag of the resource",
+ "type": "string"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "Deployment.json#/definitions/Resource"
+ }
+ ]
+ },
+ "ActionPlanOperationAdminProperties": {
+ "description": "Action Plan Operation Properties",
+ "type": "object",
+ "properties": {
+ "title": {
+ "description": "The operation title",
+ "type": "string"
+ },
+ "description": {
+ "description": "The operation description",
+ "type": "string"
+ },
+ "type": {
+ "description": "The action plan operation type",
+ "$ref": "#/definitions/ActionType"
+ },
+ "subscriptionId": {
+ "description": "The target subscription identifier",
+ "type": "string"
+ },
+ "parameters": {
+ "description": "The deployment parameters in JToken format",
+ "type": "object"
+ },
+ "startTime": {
+ "description": "The deployment start time",
+ "type": "string",
+ "format": "date-time"
+ },
+ "endTime": {
+ "description": "The deployment end time",
+ "type": "string",
+ "format": "date-time"
+ },
+ "outputs": {
+ "description": "The action plan operation outputs in JToken format",
+ "type": "object"
+ },
+ "error": {
+ "description": "Error Information",
+ "$ref": "Deployment.json#/definitions/ExtendedErrorInfo"
+ },
+ "provisioningState": {
+ "description": "The provisioning state",
+ "type": "string"
+ },
+ "actionPlanInstanceId": {
+ "description": "Action plan instance identifier",
+ "type": "string"
+ },
+ "actionPlanOperationId": {
+ "description": "Action plan operation identifier",
+ "type": "string"
+ },
+ "blobContainerName": {
+ "description": "Blob container name storing the deployment data",
+ "type": "string"
+ }
+ }
+ },
+ "ActionType": {
+ "description": "Action plan operation type",
+ "type": "string"
+ }
+ },
+ "parameters": {
+ "PlanIdParameter": {
+ "description": "Identifier of the action plan.",
+ "name": "planId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "OperationIdParameter": {
+ "description": "Identifier of the action plan operation.",
+ "name": "operationId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/Deployment.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/Deployment.json
new file mode 100644
index 000000000000..8d0057c40a0b
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/Deployment.json
@@ -0,0 +1,212 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-01-01",
+ "title": "DeploymentAdminClient",
+ "description": "Deployment Admin Client."
+ },
+ "host": "adminmanagement.local.azurestack.external",
+ "schemes": [
+ "https"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "paths": {
+ "/providers/Microsoft.Deployment.Admin/operations": {
+ "get": {
+ "x-ms-examples": {
+ "Returns the list of supported REST operations.": {
+ "$ref": "./examples/Operations/List.json"
+ }
+ },
+ "description": "Returns the list of supported REST operations.",
+ "tags": [
+ "Deployment"
+ ],
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/OperationList"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Resource": {
+ "description": "Object model of azure resource manager base.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "description": "ID of the resource.",
+ "type": "string"
+ },
+ "name": {
+ "readOnly": true,
+ "description": "Name of the resource.",
+ "type": "string"
+ },
+ "type": {
+ "readOnly": true,
+ "description": "Type of Resource.",
+ "type": "string"
+ },
+ "location": {
+ "description": "Location of the resource.",
+ "type": "string"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ExtendedErrorInfo": {
+ "description": "Error information",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error Code",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error Message",
+ "type": "string"
+ },
+ "details": {
+ "description": "Error message details",
+ "$ref": "#/definitions/ExtendedErrorInfo"
+ }
+ }
+ },
+ "JTokenString": {
+ "description": "Error information",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Parameters as JToken string",
+ "type": "string"
+ }
+ }
+ },
+ "Operation": {
+ "description": "Describes the supported REST operation.",
+ "properties": {
+ "name": {
+ "description": "The name of the operation being performed on this particular object. This name should match the name that appears in RBAC or the event service.",
+ "type": "string"
+ },
+ "display": {
+ "description": "Contains the localized display information for this particular operation or action.",
+ "$ref": "#/definitions/Display"
+ },
+ "origin": {
+ "description": "Origin for the operation. Eg. User, System",
+ "type": "string"
+ }
+ }
+ },
+ "Display": {
+ "description": "Contains the localized display information for this particular operation or action.",
+ "properties": {
+ "provider": {
+ "description": "The localized, friendly version of the resource provider name. The provider name is expected to include the name of the publisher or company responsible. The provider name format should use title case and begin with \"Microsoft\" for first-party services. For example, the provider name may be\"Microsoft Monitoring Insights\" or \"Microsoft Compute.\"",
+ "type": "string"
+ },
+ "resource": {
+ "description": "The localized, friendly version of the resource type related to this action or operation; the resource type should match the public documentation for the resource provider.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "The localized, friendly name for the operation. Use the name as it will displayed to the user.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The localized, friendly description for the operation. The description will be displayed to the user. It should be thorough and concise for used in both tooltips and detailed views.",
+ "type": "string"
+ }
+ }
+ },
+ "OperationList": {
+ "description": "List of Operations",
+ "properties": {
+ "value": {
+ "description": "Array of operations",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ }
+ },
+ "nextLink": {
+ "description": "URI to the next page of operations.",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
+ "required": true,
+ "type": "string"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "Client API Version.",
+ "required": true,
+ "type": "string",
+ "default": "2019-01-01"
+ },
+ "LocationParameter": {
+ "description": "Location of the resource.",
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "default": "2019-01-01"
+ },
+ "ProductIdParameter": {
+ "name": "productId",
+ "in": "path",
+ "description": "The product identifier.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/FileContainer.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/FileContainer.json
new file mode 100644
index 000000000000..282c10ba7140
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/FileContainer.json
@@ -0,0 +1,322 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-01-01",
+ "title": "DeploymentAdminClient",
+ "description": "Deployment Admin Client."
+ },
+ "host": "adminmanagement.local.azurestack.external",
+ "schemes": [
+ "https"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/fileContainers": {
+ "get": {
+ "x-ms-examples": {
+ "Return file containers list.": {
+ "$ref": "./examples/FileContainer/List.json"
+ }
+ },
+ "description": "Returns an array of file containers.",
+ "tags": [
+ "FileContainers"
+ ],
+ "operationId": "FileContainers_List",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/FileContainersList"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/fileContainers/{fileContainerId}": {
+ "get": {
+ "x-ms-examples": {
+ "Return the file container details.": {
+ "$ref": "./examples/FileContainer/Get.json"
+ }
+ },
+ "description": "Retrieves the specific file container details.",
+ "tags": [
+ "FileContainers"
+ ],
+ "operationId": "FileContainers_Get",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/FileContainerIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/FileContainer"
+ }
+ },
+ "404": {
+ "description": "Not Found"
+ }
+ }
+ },
+ "put": {
+ "x-ms-examples": {
+ "Creates a new file container.": {
+ "$ref": "./examples/FileContainer/Create.json"
+ }
+ },
+ "description": "Creates a new file container.",
+ "tags": [
+ "FileContainers"
+ ],
+ "operationId": "FileContainers_Create",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/FileContainerParameters"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/FileContainerIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/FileContainer"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ },
+ "delete": {
+ "x-ms-examples": {
+ "Deletes specified file container.": {
+ "$ref": "examples/FileContainer/Delete.json"
+ }
+ },
+ "tags": [
+ "FileContainers"
+ ],
+ "summary": "Deletes specified file container.",
+ "description": "Delete an existing file container.",
+ "operationId": "FileContainers_Delete",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/FileContainerIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "404": {
+ "description": "Not found"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "FileContainer": {
+ "type": "object",
+ "description": "File container entity.",
+ "properties": {
+ "properties": {
+ "description": "File Container properties",
+ "$ref": "#/definitions/FileContainerAdminProperties",
+ "x-ms-client-flatten": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "Deployment.json#/definitions/Resource"
+ }
+ ]
+ },
+ "FileContainerAdminProperties": {
+ "description": "File Container Properties.",
+ "type": "object",
+ "properties": {
+ "fileContainerId": {
+ "description": "File container resource identifier containing product manifest.",
+ "$ref": "#/definitions/FileContainerId"
+ },
+ "sourceUri": {
+ "description": "The remote file location. This is write-only property, DRP never returns it back to a user.",
+ "$ref": "#/definitions/SourceUri"
+ },
+ "uri": {
+ "description": "The file or container Uri. This is read-only property; a user cannot set it.",
+ "type": "string"
+ },
+ "postCopyAction": {
+ "description": "Specifies the file post copy action.",
+ "$ref": "#/definitions/PostCopyAction"
+ },
+ "error": {
+ "description": "The error response message.",
+ "$ref": "#/definitions/ErrorInfo"
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the resource.",
+ "type": "string"
+ }
+ }
+ },
+ "FileContainersList": {
+ "description": "List of file containers.",
+ "properties": {
+ "value": {
+ "description": "List of file containers.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FileContainer"
+ }
+ },
+ "nextLink": {
+ "description": "Continuation token.",
+ "type": "string"
+ }
+ }
+ },
+ "ErrorInfo": {
+ "description": "Extended Error Information.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The error code.",
+ "type": "string"
+ },
+ "message": {
+ "description": "The error message.",
+ "type": "string"
+ },
+ "details": {
+ "description": "The detailed error messages.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorInfo"
+ }
+ }
+ }
+ },
+ "PostCopyAction": {
+ "description": "Specifies the file post copy action.",
+ "type": "string",
+ "enum": [
+ "None",
+ "Unzip"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "PostCopyAction"
+ }
+ },
+ "SourceUri": {
+ "description": "Specifies The remote file location.",
+ "type": "string"
+ },
+ "FileContainerId": {
+ "description": "File container resource identifier containing product manifest.",
+ "type": "string"
+ },
+ "FileContainerParameters": {
+ "description": "Parameters for creating a new file container.",
+ "type": "object",
+ "properties": {
+ "postCopyAction": {
+ "description": "Specifies the file post copy action.",
+ "$ref": "#/definitions/PostCopyAction"
+ },
+ "sourceUri": {
+ "description": "Specifies The remote file location.",
+ "$ref": "#/definitions/SourceUri"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "FileContainerIdParameter": {
+ "description": "The file container identifier.",
+ "name": "fileContainerId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "FileContainerParameters": {
+ "description": "The parameters required to create a new file container.",
+ "name": "fileContainerParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/FileContainerParameters"
+ },
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/ProductDeployment.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/ProductDeployment.json
new file mode 100644
index 000000000000..7402634f6765
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/ProductDeployment.json
@@ -0,0 +1,565 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-01-01",
+ "title": "DeploymentAdminClient",
+ "description": "Deployment Admin Client."
+ },
+ "host": "adminmanagement.local.azurestack.external",
+ "schemes": [
+ "https"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productDeployments": {
+ "get": {
+ "x-ms-examples": {
+ "List the product deployments": {
+ "$ref": "./examples/ProductDeployment/List.json"
+ }
+ },
+ "description": "Invokes bootstrap action on the product deployment",
+ "tags": [
+ "ProductDeployments"
+ ],
+ "operationId": "ProductDeployments_List",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Ok",
+ "schema": {
+ "$ref": "#/definitions/ProductDeploymentsList"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productDeployments/{productId}": {
+ "get": {
+ "x-ms-examples": {
+ "Gets the specified product deployment": {
+ "$ref": "./examples/ProductDeployment/Get.json"
+ }
+ },
+ "description": "Invokes bootstrap action on the product deployment",
+ "tags": [
+ "ProductDeployments"
+ ],
+ "operationId": "ProductDeployments_Get",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ProductIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Ok",
+ "schema": {
+ "$ref": "#/definitions/ProductDeploymentResourceEntity"
+ }
+ },
+ "404": {
+ "description": "NOT FOUND"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productDeployments/{productId}/bootstrap": {
+ "post": {
+ "x-ms-examples": {
+ "Invokes bootstrap action on the product deployment": {
+ "$ref": "./examples/ProductDeployment/Bootstrap.json"
+ }
+ },
+ "description": "Invokes bootstrap action on the product deployment",
+ "tags": [
+ "ProductDeployments"
+ ],
+ "operationId": "ProductDeployments_BootStrap",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ProductIdParameter"
+ },
+ {
+ "$ref": "ProductDeployment.json#/parameters/BootstrapActionParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Ok"
+ },
+ "202": {
+ "description": "ACCEPTED"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productDeployments/{productId}/deploy": {
+ "post": {
+ "x-ms-examples": {
+ "Invokes deploy action on the product": {
+ "$ref": "./examples/ProductDeployment/Deploy.json"
+ }
+ },
+ "description": "Invokes deploy action on the product",
+ "tags": [
+ "ProductDeployments"
+ ],
+ "operationId": "ProductDeployments_Deploy",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ProductIdParameter"
+ },
+ {
+ "$ref": "ProductDeployment.json#/parameters/DeployActionParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Ok"
+ },
+ "202": {
+ "description": "ACCEPTED"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productDeployments/{productId}/remove": {
+ "post": {
+ "x-ms-examples": {
+ "Invokes remove action on the product deployment": {
+ "$ref": "./examples/ProductDeployment/Remove.json"
+ }
+ },
+ "description": "Invokes remove action on the product deployment",
+ "tags": [
+ "ProductDeployments"
+ ],
+ "operationId": "ProductDeployments_Remove",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ProductIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Ok"
+ },
+ "202": {
+ "description": "ACCEPTED"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productDeployments/{productId}/rotateSecrets": {
+ "post": {
+ "x-ms-examples": {
+ "Invokes rotate secrets action on the product deployment": {
+ "$ref": "./examples/ProductDeployment/RotateSecrets.json"
+ }
+ },
+ "description": "Invokes rotate secrets action on the product deployment",
+ "tags": [
+ "ProductDeployments"
+ ],
+ "operationId": "ProductDeployments_RotateSecrets",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ProductIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "ACCEPTED"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productDeployments/{productId}/unlock": {
+ "post": {
+ "x-ms-examples": {
+ "Unlocks the product subscription": {
+ "$ref": "./examples/ProductDeployment/Unlock.json"
+ }
+ },
+ "description": "Unlocks the product subscription",
+ "tags": [
+ "ProductDeployments"
+ ],
+ "operationId": "ProductDeployments_Unlock",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ProductIdParameter"
+ },
+ {
+ "$ref": "ProductDeployment.json#/parameters/UnlockActionParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productDeployments/{productId}/lock": {
+ "post": {
+ "x-ms-examples": {
+ "locks the product subscription": {
+ "$ref": "./examples/ProductDeployment/Lock.json"
+ }
+ },
+ "description": "locks the product subscription",
+ "tags": [
+ "ProductDeployments"
+ ],
+ "operationId": "ProductDeployments_Lock",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ProductIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ProductDeploymentsList": {
+ "description": "List of Product Deployments.",
+ "properties": {
+ "value": {
+ "description": "List of Product Deployments.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProductDeploymentResourceEntity"
+ }
+ },
+ "nextLink": {
+ "description": "URI to the next page.",
+ "type": "string"
+ }
+ }
+ },
+ "ProductDeploymentResourceEntity": {
+ "type": "object",
+ "description": "Product deployment entity",
+ "properties": {
+ "properties": {
+ "description": "Product deployment resource properties",
+ "$ref": "#/definitions/ProductDeploymentsProperties",
+ "x-ms-client-flatten": true
+ },
+ "eTag": {
+ "description": "entity tag",
+ "type": "string"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "Deployment.json#/definitions/Resource"
+ }
+ ]
+ },
+ "ProductDeploymentsProperties": {
+ "type": "object",
+ "description": "Product deployment resource properties",
+ "properties": {
+ "status": {
+ "description": "Status of the product deployment.",
+ "$ref": "#/definitions/DeploymentStatus"
+ },
+ "subscriptionId": {
+ "description": "The product subscription identifier",
+ "type": "string"
+ },
+ "deployment": {
+ "description": "The current deployment information",
+ "$ref": "#/definitions/DeploymentInfo"
+ },
+ "lastSuccessfulDeployment": {
+ "description": "The last successful deployment information",
+ "$ref": "#/definitions/DeploymentInfo"
+ },
+ "secretRotation": {
+ "description": "Resource provider secret rotation information",
+ "$ref": "#/definitions/SecretRotationInfo"
+ },
+ "internalState": {
+ "description": "Product deployment resource internal state",
+ "$ref": "#/definitions/ProductDeploymentsInternalState"
+ },
+ "error": {
+ "description": "Error Information",
+ "$ref": "Deployment.json#/definitions/ExtendedErrorInfo"
+ },
+ "externalAccess": {
+ "description": "Resource provider secret rotation information",
+ "$ref": "#/definitions/ExternalAccessInfo"
+ },
+ "provisioningState": {
+ "description": "The provisioning state",
+ "type": "string"
+ },
+ "productId": {
+ "description": "The product identifier",
+ "type": "string"
+ }
+ }
+ },
+ "DeploymentStatus": {
+ "description": "Status of an operation.",
+ "type": "string",
+ "enum": [
+ "None",
+ "Bootstrapping",
+ "BootstrapSucceeded",
+ "BootstrapFailed",
+ "Deploying",
+ "DeploymentSucceeded",
+ "DeploymentFailed",
+ "Updating",
+ "UpdateSucceeded",
+ "UpdateFailed",
+ "Removing",
+ "RemoveFailed",
+ "SecretRotationInProgress",
+ "SecretRotationSucceeded",
+ "SecretRotationFailed",
+ "Migrated"
+ ],
+ "x-ms-enum": {
+ "name": "DeploymentStatus",
+ "modelAsString": true
+ }
+ },
+ "DeploymentInfo": {
+ "type": "object",
+ "description": "Resource provider deployment information",
+ "properties": {
+ "version": {
+ "description": "The product version",
+ "type": "string"
+ },
+ "parameters": {
+ "description": "The latest deployment parameters as JToken",
+ "type": "string"
+ },
+ "actionPlanInstanceResourceId": {
+ "description": "The identifier of the latest action plan instance resource.",
+ "type": "string"
+ },
+ "eTag": {
+ "description": "entity tag",
+ "type": "string"
+ }
+ }
+ },
+ "SecretRotationInfo": {
+ "type": "object",
+ "description": "Resource provider deployment information",
+ "properties": {
+ "secretRotationPlanInstanceResourceId": {
+ "description": "The identifier of the latest secret rotation plan instance resource.",
+ "type": "string"
+ }
+ }
+ },
+ "ExternalAccessInfo": {
+ "type": "object",
+ "description": "Resource provider deployment information",
+ "properties": {
+ "principalId": {
+ "description": "The object identifier of the user, group or service principal that have access to resource provider subscription.",
+ "type": "string"
+ },
+ "expirationTime": {
+ "description": "The deployment start time",
+ "type": "string",
+ "format": "date-time"
+ }
+ }
+ },
+ "ProductDeploymentsInternalState": {
+ "type": "object",
+ "description": "Resource type internal state",
+ "properties": {
+ "jobId": {
+ "description": "The latest deployment job identifier",
+ "type": "string"
+ },
+ "intermediateVaultId": {
+ "description": "The intermediate vault resource identifier",
+ "type": "string"
+ },
+ "intermediateVaultUri": {
+ "description": "The intermediate vault Uri.",
+ "type": "string"
+ },
+ "externalAccessRoleAssignmentId": {
+ "description": "The current external access role assignment identifier",
+ "type": "string"
+ }
+ }
+ },
+ "DeployActionParameters": {
+ "description": "Parameters for deploy action",
+ "type": "object",
+ "properties": {
+ "version": {
+ "description": "Generic Version object",
+ "type": "string"
+ },
+ "parameters": {
+ "description": "Deployment parameters, value in JToken",
+ "type": "string"
+ }
+ }
+ },
+ "BootStrapActionParameters": {
+ "description": "Parameters for bootstrap action",
+ "type": "object",
+ "properties": {
+ "version": {
+ "description": "Generic Version object",
+ "type": "string"
+ }
+ }
+ },
+ "UnlockActionParameters": {
+ "description": "Parameters for bootstrap action",
+ "type": "object",
+ "properties": {
+ "duration": {
+ "description": "Duration in TimeSpan format(Define which ISO format)",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ResourceGroupParameter": {
+ "description": "The resource group the resource is located under.",
+ "name": "resourceGroup",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "BootstrapActionParameter": {
+ "description": "Represents bootstrap action parameter",
+ "name": "bootstrapActionParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/BootStrapActionParameters"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "UnlockActionParameter": {
+ "description": "Represents bootstrap action parameter",
+ "name": "unlockActionParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/UnlockActionParameters"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "DeployActionParameter": {
+ "description": "Represents bootstrap action parameter",
+ "name": "deployActionParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DeployActionParameters"
+ },
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/ProductPackage.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/ProductPackage.json
new file mode 100644
index 000000000000..472aecdd40a0
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/ProductPackage.json
@@ -0,0 +1,270 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-01-01",
+ "title": "DeploymentAdminClient",
+ "description": "Deployment Admin Client."
+ },
+ "host": "adminmanagement.local.azurestack.external",
+ "schemes": [
+ "https"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productPackages": {
+ "get": {
+ "x-ms-examples": {
+ "Return product packages list.": {
+ "$ref": "./examples/ProductPackage/List.json"
+ }
+ },
+ "description": "Returns an array of product packages.",
+ "tags": [
+ "ProductPackages"
+ ],
+ "operationId": "ProductPackages_List",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProductPackagesList"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productPackages/{productId}": {
+ "get": {
+ "x-ms-examples": {
+ "Return the product package details.": {
+ "$ref": "./examples/ProductPackage/Get.json"
+ }
+ },
+ "description": "Retrieves the specific product package details.",
+ "tags": [
+ "ProductPackages"
+ ],
+ "operationId": "ProductPackages_Get",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ProductIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProductPackage"
+ }
+ },
+ "404": {
+ "description": "Not Found"
+ }
+ }
+ },
+ "put": {
+ "x-ms-examples": {
+ "Creates a new product package.": {
+ "$ref": "./examples/ProductPackage/Create.json"
+ }
+ },
+ "description": "Creates a new product package.",
+ "tags": [
+ "ProductPackages"
+ ],
+ "operationId": "ProductPackages_Create",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ProductIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProductPackage"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "x-ms-examples": {
+ "Removes a product package.": {
+ "$ref": "./examples/ProductPackage/Delete.json"
+ }
+ },
+ "description": "Deletes a product package.",
+ "tags": [
+ "ProductPackages"
+ ],
+ "operationId": "ProductPackages_Delete",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ProductIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "404": {
+ "description": "Not found"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ }
+ },
+ "definitions": {
+ "ProductPackage": {
+ "description": "Properties for a product package.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "Properties of a product package.",
+ "$ref": "#/definitions/ProductPackageProperties",
+ "x-ms-client-flatten": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "Deployment.json#/definitions/Resource"
+ }
+ ]
+ },
+ "ProductPackagesList": {
+ "description": "List of product packages.",
+ "properties": {
+ "value": {
+ "description": "List of product packages.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProductPackage"
+ }
+ },
+ "nextLink": {
+ "description": "Continuation Token.",
+ "type": "string"
+ }
+ }
+ },
+ "ProductPackageProperties": {
+ "type": "object",
+ "description": "Properties for Product package.",
+ "properties": {
+ "fileContainerId": {
+ "description": "File container resource identifier containing product manifest.",
+ "$ref": "#/definitions/FileContainerId"
+ },
+ "isDeployable": {
+ "description": "Value indicating whether the package is applicable for deployment.",
+ "type": "boolean"
+ },
+ "isUpdatable": {
+ "description": "Value indicating whether the package is applicable for update.",
+ "type": "boolean"
+ },
+ "productDeploymentId": {
+ "description": "The identifier of product deployment; null if this version is not installed.",
+ "type": "string"
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the resource.",
+ "type": "string"
+ }
+ }
+ },
+ "FileContainerId": {
+ "description": "File container resource identifier containing product manifest.",
+ "type": "string"
+ },
+ "ProductProperties": {
+ "description": "Additional properties of the product",
+ "type": "object",
+ "properties": {
+ "version": {
+ "description": "The version of the product",
+ "type": "string"
+ }
+ }
+ },
+ "ProductLink": {
+ "description": "Link to a product.",
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "description": "Displayed name of product.",
+ "type": "string"
+ },
+ "uri": {
+ "description": "URI to product.",
+ "type": "string"
+ }
+ }
+ },
+ "ProductLinks": {
+ "description": "List of product links.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProductLink"
+ }
+ }
+ },
+ "parameters": {},
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json
new file mode 100644
index 000000000000..3d2c2693a1d9
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json
@@ -0,0 +1,513 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-01-01",
+ "title": "DeploymentAdminClient",
+ "description": "Deployment Admin Client."
+ },
+ "host": "adminmanagement.local.azurestack.external",
+ "schemes": [
+ "https"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productPackages/{productId}/secrets": {
+ "get": {
+ "x-ms-examples": {
+ "Return product secrets list.": {
+ "$ref": "./examples/ProductSecret/List.json"
+ }
+ },
+ "description": "Returns an array of product secrets.",
+ "tags": [
+ "ProductSecrets"
+ ],
+ "operationId": "ProductSecrets_List",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ProductIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProductSecretsList"
+ }
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productSecrets/{productId}/secrets/{secretName}": {
+ "get": {
+ "x-ms-examples": {
+ "Return the product package details.": {
+ "$ref": "./examples/ProductSecret/Get.Json"
+ }
+ },
+ "description": "Retrieves the specific product secret details.",
+ "tags": [
+ "ProductSecrets"
+ ],
+ "operationId": "ProductSecrets_Get",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ProductIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SecretNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProductSecret"
+ }
+ },
+ "404": {
+ "description": "Not Found"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productSecrets/{productId}/secrets/{secretName}/import": {
+ "post": {
+ "x-ms-examples": {
+ "Imports a product secret.": {
+ "$ref": "./examples/ProductSecret/Import.json"
+ }
+ },
+ "description": "Imports a product secret.",
+ "tags": [
+ "ProductSecrets"
+ ],
+ "operationId": "ProductSecrets_Import",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ProductIdParameter"
+ },
+ {
+ "$ref": "#/parameters/SecretNameParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SecretParameters"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Accepted"
+ },
+ "404": {
+ "description": "Not Found"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productSecrets/{productId}/secrets/{secretName}/validate": {
+ "post": {
+ "x-ms-examples": {
+ "Validates a product secret.": {
+ "$ref": "./examples/ProductSecret/Validate.json"
+ }
+ },
+ "description": "Validates a product secret.",
+ "tags": [
+ "ProductSecrets"
+ ],
+ "operationId": "ProductSecrets_Validate",
+ "parameters": [
+ {
+ "$ref": "Deployment.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ProductIdParameter"
+ },
+ {
+ "$ref": "#/parameters/SecretNameParameter"
+ },
+ {
+ "$ref": "Deployment.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SecretParameters"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Accepted"
+ },
+ "404": {
+ "description": "Not Found"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ]
+ }
+ }
+ },
+ "definitions": {
+ "ProductSecret": {
+ "description": "Properties for a product secret.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "Properties of a product secret.",
+ "$ref": "#/definitions/ProductSecretProperties",
+ "x-ms-client-flatten": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "Deployment.json#/definitions/Resource"
+ }
+ ]
+ },
+ "ProductSecretsList": {
+ "description": "List of product secrets.",
+ "properties": {
+ "value": {
+ "description": "List of product secrets.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProductSecret"
+ }
+ },
+ "nextLink": {
+ "description": "URI to the next page.",
+ "type": "string"
+ }
+ }
+ },
+ "ProductSecretProperties": {
+ "type": "object",
+ "description": "Properties of product secret.",
+ "properties": {
+ "secretState": {
+ "description": "The secret state.",
+ "$ref": "#/definitions/SecretState"
+ },
+ "secretDescriptor": {
+ "description": "The secret type-specific descriptor.",
+ "$ref": "#/definitions/SecretDescriptor"
+ },
+ "expiresAfter": {
+ "description": "The expiration period of the secret (in ISO8601 format).",
+ "type": "string"
+ },
+ "description": {
+ "description": "The secret description.",
+ "type": "string"
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the resource.",
+ "type": "string"
+ },
+ "secretKind": {
+ "description": "Specifies the secret kind.",
+ "type": "string",
+ "enum": [
+ "AdHoc",
+ "Certificate",
+ "Password",
+ "StorageAccount",
+ "SymmetricKey"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "SecretKind"
+ }
+ }
+ }
+ },
+ "SecretDescriptor": {
+ "description": "The secret type-specific descriptor.",
+ "type": "object",
+ "properties": {
+ "keyLength": {
+ "description": "The key length.",
+ "type": "integer"
+ },
+ "alternativeDnsNames": {
+ "description": "Alternative DNS Names.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AlternativeDnsNames"
+ }
+ },
+ "secondaryKeyIsActive": {
+ "description": "A value indicating whether the secondary or primary storage account key is active as a secret.",
+ "type": "boolean"
+ },
+ "rotationStatus": {
+ "description": "The storage account key secret rotation status.",
+ "type": "string",
+ "enum": [
+ "None",
+ "PlantNewSak",
+ "RotateInactiveSak",
+ "Complete"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "RotationStatus"
+ }
+ },
+ "passwordLength": {
+ "description": "The minimum password length is 8 characters, and the maximum password length is 128 characters.",
+ "type": "integer"
+ },
+ "allowedCharacters": {
+ "description": "The allowed characters in the password",
+ "type": "string"
+ },
+ "passwordValidationRegex": {
+ "description": "Password validation regular expression.",
+ "type": "string"
+ },
+ "subject": {
+ "description": "Certificate's subject",
+ "type": "string"
+ },
+ "alternativeIpAddresses": {
+ "description": "The list of alternative IP addresses.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AlternativeIpAddresses"
+ }
+ }
+ }
+ },
+ "AlternativeDnsNames": {
+ "description": "List of alternative DNS names.",
+ "type": "string"
+ },
+ "AlternativeIpAddresses": {
+ "description": "List of alternative IP Addresses.",
+ "type": "string"
+ },
+ "SecretState": {
+ "description": "Represents the secret state.",
+ "type": "object",
+ "properties": {
+ "status": {
+ "description": "The secret status.",
+ "$ref": "#/definitions/SecretStatus"
+ },
+ "rotationStatus": {
+ "description": "the secret rotation status.",
+ "$ref": "#/definitions/SecretRotationStatus"
+ },
+ "expirationDate": {
+ "description": "The secret expiration date.",
+ "type": "string",
+ "format": "date-time"
+ }
+ }
+ },
+ "SecretStatus": {
+ "description": "Specifies the secret status.",
+ "type": "string",
+ "enum": [
+ "NotUploaded",
+ "Uploaded",
+ "Deployed"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "SecretStatus"
+ }
+ },
+ "SecretRotationStatus": {
+ "description": "Specifies the secret rotation status.",
+ "type": "string",
+ "enum": [
+ "None",
+ "InProgress",
+ "Complete"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "SecretRotationStatus"
+ }
+ },
+ "SecretValue": {
+ "description": "The secret value in a secure string format.",
+ "type": "string"
+ },
+ "PfxFileName": {
+ "description": "The pfx certificate file location.",
+ "type": "string"
+ },
+ "PfxPassword": {
+ "description": "The pfx certificate file password as a secure string.",
+ "type": "string"
+ },
+ "SymmetricKey": {
+ "description": "The symmetric key as a secure string.",
+ "type": "string"
+ },
+ "Password": {
+ "description": "The password as a secure string.",
+ "type": "string"
+ },
+ "SecretParameters": {
+ "description": "Parameters required for creating/updating a product secret.",
+ "type": "object",
+ "properties": {
+ "secretValue": {
+ "description": "The secret value in a secure string format.",
+ "$ref": "#/definitions/SecretValue"
+ },
+ "pfxFileName": {
+ "description": "The pfx certificate file location.",
+ "$ref": "#/definitions/PfxFileName"
+ },
+ "pfxPassword": {
+ "description": "The pfx certificate file password.",
+ "$ref": "#/definitions/PfxPassword"
+ },
+ "symmetricKey": {
+ "description": "The symmetric key.",
+ "$ref": "#/definitions/SymmetricKey"
+ },
+ "password": {
+ "description": "The pfx certificate file password.",
+ "$ref": "#/definitions/Password"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SecretNameParameter": {
+ "description": "The secret name.",
+ "name": "secretName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "SecretParameters": {
+ "description": "The parameters required for creating/updating a product secret.",
+ "name": "secretParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SecretParameters"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "SecretValueParameter": {
+ "description": "The secret value in a secure string format.",
+ "name": "secretValue",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SecretValue"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "PfxFileNameParameter": {
+ "description": "The pfx certificate file location.",
+ "name": "pfxFileName",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PfxFileName"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "PfxPasswordParameter": {
+ "description": "The pfx certificate file password.",
+ "name": "pfxPasswordParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PfxPassword"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "SymmetricKeyParameter": {
+ "description": "The symmetric key.",
+ "name": "SymmetricKeyParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SymmetricKey"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "PasswordParameter": {
+ "description": "The password.",
+ "name": "PasswordParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Password"
+ },
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ActionPlan/Get.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ActionPlan/Get.json
new file mode 100644
index 000000000000..bd293cc207e7
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ActionPlan/Get.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "productId": "Microsoft.IotHubPreview.1.0.2",
+ "planId": "5f7d40b0-c504-4ebe-9db2-6f906d0faf6e"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/be8b2e19-7f92-4644-b808-a18283aebb01/providers/Microsoft.Deployment.Admin/locations/global/actionplans/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e",
+ "name": "global/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e",
+ "type": "Microsoft.Deployment.Admin/locations/actionplans",
+ "properties": {
+ "actionPlanUri": "https://deploymentrp.blob.redmond.ext-n22r1708.masd.stbtest.microsoft.com/msdpfilecontainer-cb72641657134ed79ffeb632a58a671e/Deployment/DeploymentPlan.json",
+ "subscriptionId": "ca13578c-6d3b-4478-b63e-a65c89601d86",
+ "resourceGroupName": "Microsoft.NullProvider",
+ "parameters": {},
+ "startTime": "2019-10-15T19:29:22.6861068Z",
+ "endTime": "2019-10-15T19:36:29.5214075Z",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "404": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ActionPlan/List.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ActionPlan/List.json
new file mode 100644
index 000000000000..9dcd1b396f30
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ActionPlan/List.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "productId": "Microsoft.IotHubPreview.1.0.2",
+ "planId": "5f7d40b0-c504-4ebe-9db2-6f906d0faf6e"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/be8b2e19-7f92-4644-b808-a18283aebb01/providers/Microsoft.Deployment.Admin/locations/global/actionplans/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e",
+ "name": "global/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e",
+ "type": "Microsoft.Deployment.Admin/locations/actionplans",
+ "properties": {
+ "actionPlanUri": "https://deploymentrp.blob.redmond.ext-n22r1708.masd.stbtest.microsoft.com/msdpfilecontainer-cb72641657134ed79ffeb632a58a671e/Deployment/DeploymentPlan.json",
+ "subscriptionId": "ca13578c-6d3b-4478-b63e-a65c89601d86",
+ "resourceGroupName": "Microsoft.NullProvider",
+ "parameters": {},
+ "startTime": "2019-10-15T19:29:22.6861068Z",
+ "endTime": "2019-10-15T19:36:29.5214075Z",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ },
+ "404": {}
+ }
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ActionPlanOperations/Get.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ActionPlanOperations/Get.json
new file mode 100644
index 000000000000..916645557aa5
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ActionPlanOperations/Get.json
@@ -0,0 +1,84 @@
+{
+ "parameters": {
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "productId": "Microsoft.IotHubPreview.1.0.2",
+ "planId": "5f7d40b0-c504-4ebe-9db2-6f906d0faf6e",
+ "operationId": "DeploySubOwnerResources"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/be8b2e19-7f92-4644-b808-a18283aebb01/providers/Microsoft.Deployment.Admin/locations/global/actionplans/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e/operations/DeploySubOwnerResources",
+ "name": "global/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e/DeploySubOwnerResources",
+ "type": "Microsoft.Deployment.Admin/locations/actionplans/operations",
+ "properties": {
+ "title": "Deploy Subscription Owner RG",
+ "description": "Script demonstrating how to deploy resources from subscription owner access.",
+ "type": "Script",
+ "parameters": {
+ "vault": {
+ "name": "null-provider-vault",
+ "id": "/subscriptions/ca13578c-6d3b-4478-b63e-a65c89601d86/resourceGroups/Microsoft.NullProvider/providers/Microsoft.KeyVault/vaults/null-provider-vault"
+ },
+ "providerIdentity": {
+ "identifierUriPrefix": "nullprovider",
+ "displayName": "Azure Stack - NullProvider App",
+ "certificates": [
+ {
+ "secretUri": "https://null-provider-vault.adminvault.redmond.ext-n22r1708.masd.stbtest.microsoft.com/secrets/ProviderIdentityClientCertPublic"
+ }
+ ],
+ "applicationId": "99011b1e-4056-44d0-b1a2-9c9ed959f024",
+ "servicePrincipalObjectId": "b0121fa7-fcdb-4d09-80ef-cdcc9d04493b",
+ "identifierUris": [
+ "https://nullprovider.rp.azurestackci02.onmicrosoft.com/3d6d059d-5b08-4432-bc39-a29fe8de30c1"
+ ],
+ "tenantId": "6a8092d6-08d4-45af-894a-121400ef36a1",
+ "loginBaseEndpoint": "https://login.microsoftonline.com/",
+ "graphBaseEndpoint": "https://graph.windows.net/",
+ "graphResource": "https://graph.windows.net/",
+ "graphApiVersion": "1.6",
+ "identitySystem": "AzureAD",
+ "provisioningState": "Succeeded"
+ },
+ "result": true
+ },
+ "startTime": "2019-10-15T19:35:23.8889341Z",
+ "endTime": "2019-10-15T19:36:29.4432822Z",
+ "outputs": {
+ "vault": {
+ "name": "null-provider-vault",
+ "id": "/subscriptions/ca13578c-6d3b-4478-b63e-a65c89601d86/resourceGroups/Microsoft.NullProvider/providers/Microsoft.KeyVault/vaults/null-provider-vault"
+ },
+ "providerIdentity": {
+ "identifierUriPrefix": "nullprovider",
+ "displayName": "Azure Stack - NullProvider App",
+ "certificates": [
+ {
+ "secretUri": "https://null-provider-vault.adminvault.redmond.ext-n22r1708.masd.stbtest.microsoft.com/secrets/ProviderIdentityClientCertPublic"
+ }
+ ],
+ "applicationId": "99011b1e-4056-44d0-b1a2-9c9ed959f024",
+ "servicePrincipalObjectId": "b0121fa7-fcdb-4d09-80ef-cdcc9d04493b",
+ "identifierUris": [
+ "https://nullprovider.rp.azurestackci02.onmicrosoft.com/3d6d059d-5b08-4432-bc39-a29fe8de30c1"
+ ],
+ "tenantId": "6a8092d6-08d4-45af-894a-121400ef36a1",
+ "loginBaseEndpoint": "https://login.microsoftonline.com/",
+ "graphBaseEndpoint": "https://graph.windows.net/",
+ "graphResource": "https://graph.windows.net/",
+ "graphApiVersion": "1.6",
+ "identitySystem": "AzureAD",
+ "provisioningState": "Succeeded"
+ },
+ "result": true
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "404": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ActionPlanOperations/List.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ActionPlanOperations/List.json
new file mode 100644
index 000000000000..90e650806121
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ActionPlanOperations/List.json
@@ -0,0 +1,447 @@
+{
+ "parameters": {
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "productId": "Microsoft.IotHubPreview.1.0.2",
+ "planId": "5f7d40b0-c504-4ebe-9db2-6f906d0faf6e",
+ "operationId": "DeploySubOwnerResources"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/be8b2e19-7f92-4644-b808-a18283aebb01/providers/Microsoft.Deployment.Admin/locations/global/actionplans/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e/operations/DeploySubOwnerResources",
+ "name": "global/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e/DeploySubOwnerResources",
+ "type": "Microsoft.Deployment.Admin/locations/actionplans/operations",
+ "properties": {
+ "title": "Deploy Subscription Owner RG",
+ "description": "Script demonstrating how to deploy resources from subscription owner access.",
+ "type": "Script",
+ "parameters": {
+ "vault": {
+ "name": "null-provider-vault",
+ "id": "/subscriptions/ca13578c-6d3b-4478-b63e-a65c89601d86/resourceGroups/Microsoft.NullProvider/providers/Microsoft.KeyVault/vaults/null-provider-vault"
+ },
+ "providerIdentity": {
+ "identifierUriPrefix": "nullprovider",
+ "displayName": "Azure Stack - NullProvider App",
+ "certificates": [
+ {
+ "secretUri": "https://null-provider-vault.adminvault.redmond.ext-n22r1708.masd.stbtest.microsoft.com/secrets/ProviderIdentityClientCertPublic"
+ }
+ ],
+ "applicationId": "99011b1e-4056-44d0-b1a2-9c9ed959f024",
+ "servicePrincipalObjectId": "b0121fa7-fcdb-4d09-80ef-cdcc9d04493b",
+ "identifierUris": [
+ "https://nullprovider.rp.azurestackci02.onmicrosoft.com/3d6d059d-5b08-4432-bc39-a29fe8de30c1"
+ ],
+ "tenantId": "6a8092d6-08d4-45af-894a-121400ef36a1",
+ "loginBaseEndpoint": "https://login.microsoftonline.com/",
+ "graphBaseEndpoint": "https://graph.windows.net/",
+ "graphResource": "https://graph.windows.net/",
+ "graphApiVersion": "1.6",
+ "identitySystem": "AzureAD",
+ "provisioningState": "Succeeded"
+ },
+ "result": true
+ },
+ "startTime": "2019-10-15T19:35:23.8889341Z",
+ "endTime": "2019-10-15T19:36:29.4432822Z",
+ "outputs": {
+ "vault": {
+ "name": "null-provider-vault",
+ "id": "/subscriptions/ca13578c-6d3b-4478-b63e-a65c89601d86/resourceGroups/Microsoft.NullProvider/providers/Microsoft.KeyVault/vaults/null-provider-vault"
+ },
+ "providerIdentity": {
+ "identifierUriPrefix": "nullprovider",
+ "displayName": "Azure Stack - NullProvider App",
+ "certificates": [
+ {
+ "secretUri": "https://null-provider-vault.adminvault.redmond.ext-n22r1708.masd.stbtest.microsoft.com/secrets/ProviderIdentityClientCertPublic"
+ }
+ ],
+ "applicationId": "99011b1e-4056-44d0-b1a2-9c9ed959f024",
+ "servicePrincipalObjectId": "b0121fa7-fcdb-4d09-80ef-cdcc9d04493b",
+ "identifierUris": [
+ "https://nullprovider.rp.azurestackci02.onmicrosoft.com/3d6d059d-5b08-4432-bc39-a29fe8de30c1"
+ ],
+ "tenantId": "6a8092d6-08d4-45af-894a-121400ef36a1",
+ "loginBaseEndpoint": "https://login.microsoftonline.com/",
+ "graphBaseEndpoint": "https://graph.windows.net/",
+ "graphResource": "https://graph.windows.net/",
+ "graphApiVersion": "1.6",
+ "identitySystem": "AzureAD",
+ "provisioningState": "Succeeded"
+ },
+ "result": true
+ },
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/be8b2e19-7f92-4644-b808-a18283aebb01/providers/Microsoft.Deployment.Admin/locations/global/actionplans/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e/operations/Configure",
+ "name": "global/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e/Configure",
+ "type": "Microsoft.Deployment.Admin/locations/actionplans/operations",
+ "properties": {
+ "title": "Configure Something",
+ "description": "Sample script demonstrating how to connect to ARM and how get secrets from provider's vault.",
+ "type": "Script",
+ "parameters": {
+ "vault": {
+ "name": "null-provider-vault",
+ "id": "/subscriptions/ca13578c-6d3b-4478-b63e-a65c89601d86/resourceGroups/Microsoft.NullProvider/providers/Microsoft.KeyVault/vaults/null-provider-vault"
+ },
+ "providerIdentity": {
+ "identifierUriPrefix": "nullprovider",
+ "displayName": "Azure Stack - NullProvider App",
+ "certificates": [
+ {
+ "secretUri": "https://null-provider-vault.adminvault.redmond.ext-n22r1708.masd.stbtest.microsoft.com/secrets/ProviderIdentityClientCertPublic"
+ }
+ ],
+ "applicationId": "99011b1e-4056-44d0-b1a2-9c9ed959f024",
+ "servicePrincipalObjectId": "b0121fa7-fcdb-4d09-80ef-cdcc9d04493b",
+ "identifierUris": [
+ "https://nullprovider.rp.azurestackci02.onmicrosoft.com/3d6d059d-5b08-4432-bc39-a29fe8de30c1"
+ ],
+ "tenantId": "6a8092d6-08d4-45af-894a-121400ef36a1",
+ "loginBaseEndpoint": "https://login.microsoftonline.com/",
+ "graphBaseEndpoint": "https://graph.windows.net/",
+ "graphResource": "https://graph.windows.net/",
+ "graphApiVersion": "1.6",
+ "identitySystem": "AzureAD",
+ "provisioningState": "Succeeded"
+ }
+ },
+ "startTime": "2019-10-15T19:33:58.9810782Z",
+ "endTime": "2019-10-15T19:35:23.7610359Z",
+ "outputs": {
+ "vault": {
+ "name": "null-provider-vault",
+ "id": "/subscriptions/ca13578c-6d3b-4478-b63e-a65c89601d86/resourceGroups/Microsoft.NullProvider/providers/Microsoft.KeyVault/vaults/null-provider-vault"
+ },
+ "providerIdentity": {
+ "identifierUriPrefix": "nullprovider",
+ "displayName": "Azure Stack - NullProvider App",
+ "certificates": [
+ {
+ "secretUri": "https://null-provider-vault.adminvault.redmond.ext-n22r1708.masd.stbtest.microsoft.com/secrets/ProviderIdentityClientCertPublic"
+ }
+ ],
+ "applicationId": "99011b1e-4056-44d0-b1a2-9c9ed959f024",
+ "servicePrincipalObjectId": "b0121fa7-fcdb-4d09-80ef-cdcc9d04493b",
+ "identifierUris": [
+ "https://nullprovider.rp.azurestackci02.onmicrosoft.com/3d6d059d-5b08-4432-bc39-a29fe8de30c1"
+ ],
+ "tenantId": "6a8092d6-08d4-45af-894a-121400ef36a1",
+ "loginBaseEndpoint": "https://login.microsoftonline.com/",
+ "graphBaseEndpoint": "https://graph.windows.net/",
+ "graphResource": "https://graph.windows.net/",
+ "graphApiVersion": "1.6",
+ "identitySystem": "AzureAD",
+ "provisioningState": "Succeeded"
+ },
+ "result": true
+ },
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/be8b2e19-7f92-4644-b808-a18283aebb01/providers/Microsoft.Deployment.Admin/locations/global/actionplans/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e/operations/Secrets",
+ "name": "global/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e/Secrets",
+ "type": "Microsoft.Deployment.Admin/locations/actionplans/operations",
+ "properties": {
+ "title": "Import and/or Create Secrets",
+ "description": "Import external secrets and/or create internal secrets.",
+ "type": "Template",
+ "parameters": {
+ "vault": {
+ "name": "null-provider-vault",
+ "id": "/subscriptions/ca13578c-6d3b-4478-b63e-a65c89601d86/resourceGroups/Microsoft.NullProvider/providers/Microsoft.KeyVault/vaults/null-provider-vault"
+ },
+ "providerIdentity": {
+ "identifierUriPrefix": "nullprovider",
+ "displayName": "Azure Stack - NullProvider App",
+ "certificates": [
+ {
+ "secretUri": "https://null-provider-vault.adminvault.redmond.ext-n22r1708.masd.stbtest.microsoft.com/secrets/ProviderIdentityClientCertPublic"
+ }
+ ],
+ "applicationId": "99011b1e-4056-44d0-b1a2-9c9ed959f024",
+ "servicePrincipalObjectId": "b0121fa7-fcdb-4d09-80ef-cdcc9d04493b",
+ "identifierUris": [
+ "https://nullprovider.rp.azurestackci02.onmicrosoft.com/3d6d059d-5b08-4432-bc39-a29fe8de30c1"
+ ],
+ "tenantId": "6a8092d6-08d4-45af-894a-121400ef36a1",
+ "loginBaseEndpoint": "https://login.microsoftonline.com/",
+ "graphBaseEndpoint": "https://graph.windows.net/",
+ "graphResource": "https://graph.windows.net/",
+ "graphApiVersion": "1.6",
+ "identitySystem": "AzureAD",
+ "provisioningState": "Succeeded"
+ }
+ },
+ "startTime": "2019-10-15T19:33:00.5573558Z",
+ "endTime": "2019-10-15T19:33:58.9185836Z",
+ "outputs": {
+ "vault": {
+ "name": "null-provider-vault",
+ "id": "/subscriptions/ca13578c-6d3b-4478-b63e-a65c89601d86/resourceGroups/Microsoft.NullProvider/providers/Microsoft.KeyVault/vaults/null-provider-vault"
+ },
+ "providerIdentity": {
+ "identifierUriPrefix": "nullprovider",
+ "displayName": "Azure Stack - NullProvider App",
+ "certificates": [
+ {
+ "secretUri": "https://null-provider-vault.adminvault.redmond.ext-n22r1708.masd.stbtest.microsoft.com/secrets/ProviderIdentityClientCertPublic"
+ }
+ ],
+ "applicationId": "99011b1e-4056-44d0-b1a2-9c9ed959f024",
+ "servicePrincipalObjectId": "b0121fa7-fcdb-4d09-80ef-cdcc9d04493b",
+ "identifierUris": [
+ "https://nullprovider.rp.azurestackci02.onmicrosoft.com/3d6d059d-5b08-4432-bc39-a29fe8de30c1"
+ ],
+ "tenantId": "6a8092d6-08d4-45af-894a-121400ef36a1",
+ "loginBaseEndpoint": "https://login.microsoftonline.com/",
+ "graphBaseEndpoint": "https://graph.windows.net/",
+ "graphResource": "https://graph.windows.net/",
+ "graphApiVersion": "1.6",
+ "identitySystem": "AzureAD",
+ "provisioningState": "Succeeded"
+ }
+ },
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/be8b2e19-7f92-4644-b808-a18283aebb01/providers/Microsoft.Deployment.Admin/locations/global/actionplans/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e/operations/AddSubscriptionOwner",
+ "name": "global/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e/AddSubscriptionOwner",
+ "type": "Microsoft.Deployment.Admin/locations/actionplans/operations",
+ "properties": {
+ "title": "Add Subscription Owner",
+ "description": "Grant subscription owner access to the add-on RP",
+ "type": "AddSubscriptionOwner",
+ "parameters": {
+ "vault": {
+ "name": "null-provider-vault",
+ "id": "/subscriptions/ca13578c-6d3b-4478-b63e-a65c89601d86/resourceGroups/Microsoft.NullProvider/providers/Microsoft.KeyVault/vaults/null-provider-vault"
+ },
+ "providerIdentity": {
+ "identifierUriPrefix": "nullprovider",
+ "displayName": "Azure Stack - NullProvider App",
+ "certificates": [
+ {
+ "secretUri": "https://null-provider-vault.adminvault.redmond.ext-n22r1708.masd.stbtest.microsoft.com/secrets/ProviderIdentityClientCertPublic"
+ }
+ ],
+ "applicationId": "99011b1e-4056-44d0-b1a2-9c9ed959f024",
+ "servicePrincipalObjectId": "b0121fa7-fcdb-4d09-80ef-cdcc9d04493b",
+ "identifierUris": [
+ "https://nullprovider.rp.azurestackci02.onmicrosoft.com/3d6d059d-5b08-4432-bc39-a29fe8de30c1"
+ ],
+ "tenantId": "6a8092d6-08d4-45af-894a-121400ef36a1",
+ "loginBaseEndpoint": "https://login.microsoftonline.com/",
+ "graphBaseEndpoint": "https://graph.windows.net/",
+ "graphResource": "https://graph.windows.net/",
+ "graphApiVersion": "1.6",
+ "identitySystem": "AzureAD",
+ "provisioningState": "Succeeded"
+ }
+ },
+ "startTime": "2019-10-15T19:32:59.882963Z",
+ "endTime": "2019-10-15T19:33:00.5417235Z",
+ "outputs": {
+ "vault": {
+ "name": "null-provider-vault",
+ "id": "/subscriptions/ca13578c-6d3b-4478-b63e-a65c89601d86/resourceGroups/Microsoft.NullProvider/providers/Microsoft.KeyVault/vaults/null-provider-vault"
+ },
+ "providerIdentity": {
+ "identifierUriPrefix": "nullprovider",
+ "displayName": "Azure Stack - NullProvider App",
+ "certificates": [
+ {
+ "secretUri": "https://null-provider-vault.adminvault.redmond.ext-n22r1708.masd.stbtest.microsoft.com/secrets/ProviderIdentityClientCertPublic"
+ }
+ ],
+ "applicationId": "99011b1e-4056-44d0-b1a2-9c9ed959f024",
+ "servicePrincipalObjectId": "b0121fa7-fcdb-4d09-80ef-cdcc9d04493b",
+ "identifierUris": [
+ "https://nullprovider.rp.azurestackci02.onmicrosoft.com/3d6d059d-5b08-4432-bc39-a29fe8de30c1"
+ ],
+ "tenantId": "6a8092d6-08d4-45af-894a-121400ef36a1",
+ "loginBaseEndpoint": "https://login.microsoftonline.com/",
+ "graphBaseEndpoint": "https://graph.windows.net/",
+ "graphResource": "https://graph.windows.net/",
+ "graphApiVersion": "1.6",
+ "identitySystem": "AzureAD",
+ "provisioningState": "Succeeded"
+ }
+ },
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/be8b2e19-7f92-4644-b808-a18283aebb01/providers/Microsoft.Deployment.Admin/locations/global/actionplans/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e/operations/SetVaultAccessPolicies",
+ "name": "global/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e/SetVaultAccessPolicies",
+ "type": "Microsoft.Deployment.Admin/locations/actionplans/operations",
+ "properties": {
+ "title": "Set Vault Access Policies",
+ "description": "Grant access to provider's vault to provider's identity.",
+ "type": "Template",
+ "parameters": {
+ "vault": {
+ "name": "null-provider-vault",
+ "id": "/subscriptions/ca13578c-6d3b-4478-b63e-a65c89601d86/resourceGroups/Microsoft.NullProvider/providers/Microsoft.KeyVault/vaults/null-provider-vault"
+ },
+ "providerIdentity": {
+ "identifierUriPrefix": "nullprovider",
+ "displayName": "Azure Stack - NullProvider App",
+ "certificates": [
+ {
+ "secretUri": "https://null-provider-vault.adminvault.redmond.ext-n22r1708.masd.stbtest.microsoft.com/secrets/ProviderIdentityClientCertPublic"
+ }
+ ],
+ "applicationId": "99011b1e-4056-44d0-b1a2-9c9ed959f024",
+ "servicePrincipalObjectId": "b0121fa7-fcdb-4d09-80ef-cdcc9d04493b",
+ "identifierUris": [
+ "https://nullprovider.rp.azurestackci02.onmicrosoft.com/3d6d059d-5b08-4432-bc39-a29fe8de30c1"
+ ],
+ "tenantId": "6a8092d6-08d4-45af-894a-121400ef36a1",
+ "loginBaseEndpoint": "https://login.microsoftonline.com/",
+ "graphBaseEndpoint": "https://graph.windows.net/",
+ "graphResource": "https://graph.windows.net/",
+ "graphApiVersion": "1.6",
+ "identitySystem": "AzureAD",
+ "provisioningState": "Succeeded"
+ }
+ },
+ "startTime": "2019-10-15T19:32:00.433533Z",
+ "endTime": "2019-10-15T19:32:59.8360901Z",
+ "outputs": {
+ "vault": {
+ "name": "null-provider-vault",
+ "id": "/subscriptions/ca13578c-6d3b-4478-b63e-a65c89601d86/resourceGroups/Microsoft.NullProvider/providers/Microsoft.KeyVault/vaults/null-provider-vault"
+ },
+ "providerIdentity": {
+ "identifierUriPrefix": "nullprovider",
+ "displayName": "Azure Stack - NullProvider App",
+ "certificates": [
+ {
+ "secretUri": "https://null-provider-vault.adminvault.redmond.ext-n22r1708.masd.stbtest.microsoft.com/secrets/ProviderIdentityClientCertPublic"
+ }
+ ],
+ "applicationId": "99011b1e-4056-44d0-b1a2-9c9ed959f024",
+ "servicePrincipalObjectId": "b0121fa7-fcdb-4d09-80ef-cdcc9d04493b",
+ "identifierUris": [
+ "https://nullprovider.rp.azurestackci02.onmicrosoft.com/3d6d059d-5b08-4432-bc39-a29fe8de30c1"
+ ],
+ "tenantId": "6a8092d6-08d4-45af-894a-121400ef36a1",
+ "loginBaseEndpoint": "https://login.microsoftonline.com/",
+ "graphBaseEndpoint": "https://graph.windows.net/",
+ "graphResource": "https://graph.windows.net/",
+ "graphApiVersion": "1.6",
+ "identitySystem": "AzureAD",
+ "provisioningState": "Succeeded"
+ }
+ },
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/be8b2e19-7f92-4644-b808-a18283aebb01/providers/Microsoft.Deployment.Admin/locations/global/actionplans/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e/operations/Identity",
+ "name": "global/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e/Identity",
+ "type": "Microsoft.Deployment.Admin/locations/actionplans/operations",
+ "properties": {
+ "title": "Create Identity",
+ "description": "Create provider's identity.",
+ "type": "Template",
+ "parameters": {
+ "vault": {
+ "name": "null-provider-vault",
+ "id": "/subscriptions/ca13578c-6d3b-4478-b63e-a65c89601d86/resourceGroups/Microsoft.NullProvider/providers/Microsoft.KeyVault/vaults/null-provider-vault"
+ }
+ },
+ "startTime": "2019-10-15T19:30:30.1106752Z",
+ "endTime": "2019-10-15T19:32:00.3866607Z",
+ "outputs": {
+ "vault": {
+ "name": "null-provider-vault",
+ "id": "/subscriptions/ca13578c-6d3b-4478-b63e-a65c89601d86/resourceGroups/Microsoft.NullProvider/providers/Microsoft.KeyVault/vaults/null-provider-vault"
+ },
+ "providerIdentity": {
+ "identifierUriPrefix": "nullprovider",
+ "displayName": "Azure Stack - NullProvider App",
+ "certificates": [
+ {
+ "secretUri": "https://null-provider-vault.adminvault.redmond.ext-n22r1708.masd.stbtest.microsoft.com/secrets/ProviderIdentityClientCertPublic"
+ }
+ ],
+ "applicationId": "99011b1e-4056-44d0-b1a2-9c9ed959f024",
+ "servicePrincipalObjectId": "b0121fa7-fcdb-4d09-80ef-cdcc9d04493b",
+ "identifierUris": [
+ "https://nullprovider.rp.azurestackci02.onmicrosoft.com/3d6d059d-5b08-4432-bc39-a29fe8de30c1"
+ ],
+ "tenantId": "6a8092d6-08d4-45af-894a-121400ef36a1",
+ "loginBaseEndpoint": "https://login.microsoftonline.com/",
+ "graphBaseEndpoint": "https://graph.windows.net/",
+ "graphResource": "https://graph.windows.net/",
+ "graphApiVersion": "1.6",
+ "identitySystem": "AzureAD",
+ "provisioningState": "Succeeded"
+ }
+ },
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/be8b2e19-7f92-4644-b808-a18283aebb01/providers/Microsoft.Deployment.Admin/locations/global/actionplans/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e/operations/CreateVault",
+ "name": "global/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e/CreateVault",
+ "type": "Microsoft.Deployment.Admin/locations/actionplans/operations",
+ "properties": {
+ "title": "Create Vault",
+ "description": "Create provider's vault with minimal access policies.",
+ "type": "Template",
+ "parameters": {
+ "vault": {
+ "name": "null-provider-vault",
+ "id": "/subscriptions/ca13578c-6d3b-4478-b63e-a65c89601d86/resourceGroups/Microsoft.NullProvider/providers/Microsoft.KeyVault/vaults/null-provider-vault"
+ }
+ },
+ "startTime": "2019-10-15T19:29:56.6504711Z",
+ "endTime": "2019-10-15T19:30:30.0794295Z",
+ "outputs": {
+ "vault": {
+ "name": "null-provider-vault",
+ "id": "/subscriptions/ca13578c-6d3b-4478-b63e-a65c89601d86/resourceGroups/Microsoft.NullProvider/providers/Microsoft.KeyVault/vaults/null-provider-vault"
+ }
+ },
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/be8b2e19-7f92-4644-b808-a18283aebb01/providers/Microsoft.Deployment.Admin/locations/global/actionplans/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e/operations/Constants",
+ "name": "global/5f7d40b0-c504-4ebe-9db2-6f906d0faf6e/Constants",
+ "type": "Microsoft.Deployment.Admin/locations/actionplans/operations",
+ "properties": {
+ "title": "Create Constants",
+ "description": "Create deployment constants.",
+ "type": "Template",
+ "parameters": {},
+ "startTime": "2019-10-15T19:29:22.7017314Z",
+ "endTime": "2019-10-15T19:29:56.6348495Z",
+ "outputs": {
+ "vault": {
+ "name": "null-provider-vault",
+ "id": "/subscriptions/ca13578c-6d3b-4478-b63e-a65c89601d86/resourceGroups/Microsoft.NullProvider/providers/Microsoft.KeyVault/vaults/null-provider-vault"
+ }
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/FileContainer/Create.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/FileContainer/Create.json
new file mode 100644
index 000000000000..66908fa86cf1
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/FileContainer/Create.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "be8b2e19-7f92-4644-b808-a18283aebb01",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "fileContainerId": "Microsoft.NullProvider.1.1",
+ "fileContainerParameters": {
+ "properties": {
+ "sourceUri": "https://deploymentproviderbvts.blob.redmond.ext-n22r1708.masd.stbtest.microsoft.com/temp/Microsoft.NullProvider.1.1.zip",
+ "postCopyAction": "Unzip"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/be8b2e19-7f92-4644-b808-a18283aebb01/providers/Microsoft.Deployment.Admin/locations/global/fileContainers/Microsoft.NullProvider.1.1",
+ "name": "global/Microsoft.NullProvider.1.1",
+ "type": "Microsoft.Deployment.Admin/locations/fileContainers",
+ "location": "global",
+ "properties": {
+ "postCopyAction": "Unzip",
+ "provisioningState": "Creating"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/FileContainer/Delete.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/FileContainer/Delete.json
new file mode 100644
index 000000000000..7ee403600e6d
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/FileContainer/Delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "be8b2e19-7f92-4644-b808-a18283aebb01",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "fileContainerId": "Microsoft.NullProvider.1.1"
+ },
+ "responses": {
+ "200": {},
+ "404": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/FileContainer/Get.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/FileContainer/Get.json
new file mode 100644
index 000000000000..1825d47eb2a0
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/FileContainer/Get.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "be8b2e19-7f92-4644-b808-a18283aebb01",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "fileContainerId": "Microsoft.NullProvider.1.1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/be8b2e19-7f92-4644-b808-a18283aebb01/providers/Microsoft.Deployment.Admin/locations/global/fileContainers/Microsoft.NullProvider.1.1",
+ "name": "global/Microsoft.NullProvider.1.1",
+ "type": "Microsoft.Deployment.Admin/locations/fileContainers",
+ "location": "global",
+ "properties": {
+ "postCopyAction": "Unzip",
+ "uri": "https://deploymentrp.blob.redmond.ext-n22r1708.masd.stbtest.microsoft.com/msdpfilecontainer-cb72641657134ed79ffeb632a58a671e/",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "404": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/FileContainer/List.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/FileContainer/List.json
new file mode 100644
index 000000000000..7516a854589b
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/FileContainer/List.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "be8b2e19-7f92-4644-b808-a18283aebb01",
+ "location": "global",
+ "api-version": "2019-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/be8b2e19-7f92-4644-b808-a18283aebb01/providers/Microsoft.Deployment.Admin/locations/global/fileContainers/Microsoft.NullProvider.1.1",
+ "name": "global/Microsoft.NullProvider.1.1",
+ "type": "Microsoft.Deployment.Admin/locations/fileContainers",
+ "location": "global",
+ "properties": {
+ "postCopyAction": "Unzip",
+ "uri": "https://deploymentrp.blob.redmond.ext-n22r1708.masd.stbtest.microsoft.com/msdpfilecontainer-cb72641657134ed79ffeb632a58a671e/",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/Operations/List.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/Operations/List.json
new file mode 100644
index 000000000000..6a927b325599
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/Operations/List.json
@@ -0,0 +1,159 @@
+{
+ "parameters": {
+ "api-version": "2019-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Deployment.Admin/locations/fileContainers/read",
+ "display": {
+ "provider": "Microsoft Deployment Provider",
+ "resource": "File Container",
+ "operation": "List/Get File Container(s)",
+ "description": "Returns the list of file containers or gets properties for the specified file container."
+ }
+ },
+ {
+ "name": "Microsoft.Deployment.Admin/locations/fileContainers/write",
+ "display": {
+ "provider": "Microsoft Deployment Provider",
+ "resource": "File Container",
+ "operation": "Create/Update File Container",
+ "description": "Creates or updates a file container."
+ }
+ },
+ {
+ "name": "Microsoft.Deployment.Admin/locations/fileContainers/delete",
+ "display": {
+ "provider": "Microsoft Deployment Provider",
+ "resource": "File Container",
+ "operation": "Delete File Container",
+ "description": "Deletes an existing file container."
+ }
+ },
+ {
+ "name": "Microsoft.Deployment.Admin/locations/operationresults/read",
+ "display": {
+ "provider": "Microsoft Deployment Provider",
+ "resource": "Operation Result",
+ "operation": "Poll Asynchronous Operation",
+ "description": "Polls the status of an asynchronous operation."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Deployment.Admin/Operations/read",
+ "display": {
+ "provider": "Microsoft Deployment Provider",
+ "resource": "Operation",
+ "operation": "List Supported Operations",
+ "description": "Returns the list of supported operations."
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Deployment.Admin/locations/productDeployments/read",
+ "display": {
+ "provider": "Microsoft Deployment Provider",
+ "resource": "Product Deployment",
+ "operation": "List/Get Product Deployment(s)",
+ "description": "Returns the list of product deployments or gets properties for the specified product deployment."
+ }
+ },
+ {
+ "name": "Microsoft.Deployment.Admin/locations/productDeployments/bootstrap/action",
+ "display": {
+ "provider": "Microsoft Deployment Provider",
+ "resource": "Product Deployment",
+ "operation": "Execute Bootstrap Deployment Phase",
+ "description": "Executes 'bootstrap' deployment phase."
+ }
+ },
+ {
+ "name": "Microsoft.Deployment.Admin/locations/productDeployments/deploy/action",
+ "display": {
+ "provider": "Microsoft Deployment Provider",
+ "resource": "Product Deployment",
+ "operation": "Execute Provision Deployment Phase",
+ "description": "Executes 'provision' deployment phase."
+ }
+ },
+ {
+ "name": "Microsoft.Deployment.Admin/locations/productDeployments/remove/action",
+ "display": {
+ "provider": "Microsoft Deployment Provider",
+ "resource": "Product Deployment",
+ "operation": "Remove Installed Product",
+ "description": "Removes installed product."
+ }
+ },
+ {
+ "name": "Microsoft.Deployment.Admin/locations/productDeployments/setexternalaccess/action",
+ "display": {
+ "provider": "Microsoft Deployment Provider",
+ "resource": "Product Deployment",
+ "operation": "Set External Access",
+ "description": "Enables or disables operator's access to product subscription."
+ }
+ },
+ {
+ "name": "Microsoft.Deployment.Admin/locations/productDeployments/secrets/read",
+ "display": {
+ "provider": "Microsoft Deployment Provider",
+ "resource": "Secret",
+ "operation": "List/Get Secret(s)",
+ "description": "Returns the list of secrets or gets properties for the specified secret."
+ }
+ },
+ {
+ "name": "Microsoft.Deployment.Admin/locations/productDeployments/secrets/import/action",
+ "display": {
+ "provider": "Microsoft Deployment Provider",
+ "resource": "Secret",
+ "operation": "Import Secret Value",
+ "description": "Imports a new secret value."
+ }
+ },
+ {
+ "name": "Microsoft.Deployment.Admin/locations/productDeployments/secrets/validateImport/action",
+ "display": {
+ "provider": "Microsoft Deployment Provider",
+ "resource": "Secret",
+ "operation": "Validate Import",
+ "description": "Validates input for the import action."
+ }
+ },
+ {
+ "name": "Microsoft.Deployment.Admin/locations/productPackages/read",
+ "display": {
+ "provider": "Microsoft Deployment Provider",
+ "resource": "Product Package",
+ "operation": "List/Get Product Package(s)",
+ "description": "Returns the list of product packages or gets properties for the specified product package."
+ }
+ },
+ {
+ "name": "Microsoft.Deployment.Admin/locations/productPackages/write",
+ "display": {
+ "provider": "Microsoft Deployment Provider",
+ "resource": "Product Package",
+ "operation": "Create/Update Product Package",
+ "description": "Creates or updates a product package."
+ }
+ },
+ {
+ "name": "Microsoft.Deployment.Admin/locations/productPackages/delete",
+ "display": {
+ "provider": "Microsoft Deployment Provider",
+ "resource": "Product Package",
+ "operation": "Delete Product Package",
+ "description": "Deletes an existing product package."
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Bootstrap.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Bootstrap.json
new file mode 100644
index 000000000000..1231430f0a43
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Bootstrap.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "productId": "Microsoft.IotHubPreview",
+ "bootstrapActionParameter": {
+ "version": "1.0.2"
+ }
+ },
+ "responses": {
+ "202": {},
+ "200": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Deploy.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Deploy.json
new file mode 100644
index 000000000000..47466509160e
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Deploy.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "productId": "Microsoft.IotHubPreview",
+ "deployActionParameter": {
+ "version": "1.0.2"
+ }
+ },
+ "responses": {
+ "202": {},
+ "200": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Get.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Get.json
new file mode 100644
index 000000000000..260d2b3f837e
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Get.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "productId": "Microsoft.IotHubPreview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Deployment.Admin/locations/global/productDeployments/microsoft.iothubpreview",
+ "name": "global/microsoft.iothubpreview",
+ "type": "Microsoft.Deployment.Admin/locations/productDeployments",
+ "properties": {
+ "status": "BootstrapSucceeded",
+ "subscriptionId": "c487a9cf-9841-44fa-9370-7b9e094db57e",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "404": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/List.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/List.json
new file mode 100644
index 000000000000..d505ca50cf2e
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/List.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "productId": "Microsoft.IotHubPreview"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "id": "/subscriptions/0a581108-e747-40cf-8a80-2c82ddd0438a/providers/Microsoft.Deployment.Admin/locations/global/productDeployments/microsoft.iothubpreview",
+ "name": "global/microsoft.iothubpreview",
+ "type": "Microsoft.Deployment.Admin/locations/productDeployments",
+ "properties": {
+ "status": "None",
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/0a581108-e747-40cf-8a80-2c82ddd0438a/providers/Microsoft.Deployment.Admin/locations/global/productDeployments/microsoft.eventhubstaging",
+ "name": "global/microsoft.eventhubstaging",
+ "type": "Microsoft.Deployment.Admin/locations/productDeployments",
+ "properties": {
+ "status": "DeploymentSucceeded",
+ "subscriptionId": "bc070a98-3728-476c-aeb0-8957e067c29d",
+ "deployment": {
+ "version": "1.3.1",
+ "actionPlanInstanceResourceId": "/subscriptions/0a581108-e747-40cf-8a80-2c82ddd0438a/providers/Microsoft.Deployment.Admin/locations/global/actionplans/33a10be1-2365-44a9-8c69-c8a06e8fd81c",
+ "parameters": {}
+ },
+ "lastSuccessfulDeployment": {
+ "version": "1.3.1",
+ "actionPlanInstanceResourceId": "/subscriptions/0a581108-e747-40cf-8a80-2c82ddd0438a/providers/Microsoft.Deployment.Admin/locations/global/actionplans/33a10be1-2365-44a9-8c69-c8a06e8fd81c",
+ "parameters": {}
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Lock.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Lock.json
new file mode 100644
index 000000000000..2f0b39fa1bb4
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Lock.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "productId": "Microsoft.IotHubPreview"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Remove.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Remove.json
new file mode 100644
index 000000000000..05fdceedfbb6
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Remove.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "productId": "Microsoft.IotHubPreview"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/RotateSecrets.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/RotateSecrets.json
new file mode 100644
index 000000000000..05fdceedfbb6
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/RotateSecrets.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "productId": "Microsoft.IotHubPreview"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Unlock.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Unlock.json
new file mode 100644
index 000000000000..648670de33b3
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductDeployment/Unlock.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "productId": "Microsoft.IotHubPreview",
+ "unlockActionParameter": {
+ "duration": "P5D"
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductPackage/Create.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductPackage/Create.json
new file mode 100644
index 000000000000..b3439f9c6e71
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductPackage/Create.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "be8b2e19-7f92-4644-b808-a18283aebb01",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "productId": "Microsoft.NullProvider.1.1",
+ "fileContainerParameter": {
+ "properties": {
+ "fileContainerId": "Microsoft.NullProvider.1.1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/be8b2e19-7f92-4644-b808-a18283aebb01/providers/Microsoft.Deployment.Admin/locations/global/productPackages/Microsoft.NullProvider.1.1",
+ "name": "global/Microsoft.NullProvider.1.1",
+ "type": "Microsoft.Deployment.Admin/locations/productPackages",
+ "properties": {
+ "fileContainerId": "Microsoft.NullProvider.1.1",
+ "isDeployable": true,
+ "isUpdatable": true,
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductPackage/Delete.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductPackage/Delete.json
new file mode 100644
index 000000000000..106199cd1975
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductPackage/Delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "be8b2e19-7f92-4644-b808-a18283aebb01",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "productId": "Microsoft.NullProvider.1.1"
+ },
+ "responses": {
+ "200": {},
+ "404": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductPackage/Get.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductPackage/Get.json
new file mode 100644
index 000000000000..593f444612a6
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductPackage/Get.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "be8b2e19-7f92-4644-b808-a18283aebb01",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "productId": "Microsoft.NullProvider.1.1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/be8b2e19-7f92-4644-b808-a18283aebb01/providers/Microsoft.Deployment.Admin/locations/global/productPackages/Microsoft.NullProvider.1.1",
+ "name": "global/Microsoft.NullProvider.1.1",
+ "type": "Microsoft.Deployment.Admin/locations/productPackages",
+ "properties": {
+ "fileContainerId": "Microsoft.NullProvider.1.1",
+ "isDeployable": true,
+ "isUpdatable": true,
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "404": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductPackage/List.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductPackage/List.json
new file mode 100644
index 000000000000..6138961357d4
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductPackage/List.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "be8b2e19-7f92-4644-b808-a18283aebb01",
+ "location": "global",
+ "api-version": "2019-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/be8b2e19-7f92-4644-b808-a18283aebb01/providers/Microsoft.Deployment.Admin/locations/global/productPackages/Microsoft.NullProvider.1.1",
+ "name": "global/Microsoft.NullProvider.1.1",
+ "type": "Microsoft.Deployment.Admin/locations/productPackages",
+ "properties": {
+ "fileContainerId": "Microsoft.NullProvider.1.1",
+ "isDeployable": true,
+ "isUpdatable": true,
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductSecret/Get.Json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductSecret/Get.Json
new file mode 100644
index 000000000000..b6c83ec44937
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductSecret/Get.Json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "productId": "Microsoft.IotHubPreview.1.0.2",
+ "secretName": "secretName",
+ "secretValue": "sslCert"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/0a581108-e747-40cf-8a80-2c82ddd0438a/providers/Microsoft.Deployment.Admin/locations/global/productPackages/Microsoft.IotHubPreview.1.0.2/secrets/sslCert",
+ "name": "global/Microsoft.IotHubPreview.1.0.2/sslCert",
+ "type": "Microsoft.Deployment.Admin/locations/productPackages/secrets",
+ "properties": {
+ "secretKind": "Certificate",
+ "description": "Application SSL certificate.",
+ "expiresAfter": "P365D",
+ "secretDescriptor": {
+ "keyLength": 3072,
+ "alternativeDnsNames": []
+ },
+ "secretState": {
+ "status": "NotUploaded",
+ "rotationStatus": "None"
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "404": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductSecret/Import.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductSecret/Import.json
new file mode 100644
index 000000000000..bf7340c44ac4
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductSecret/Import.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "productId": "Microsoft.IotHubPreview.1.0.2",
+ "secretName": "secretName",
+ "secretParameters": {
+ "properties": {
+ "secretValue": "sslCert"
+ }
+ },
+ "newOffer": {
+ "properties": {
+ "password": "password",
+ "data": "MIIasdajCasdadIIKlDCCCpAGCyqGSIb3DQEMCgECoIIJfjCCCXowHAYKKoZIhvcNAQwBAzAOBAg8H9AO2t5mSwICB9AEgglYZET8GdClyLmngkqx8gob6P56kmMBIB72BG9BZtjnCpY/D4E9Rhl2hmxHFPY2ivsRSgFKDg8tVs+hnMuokWShJhZ0oIaBo4nHRcKk4sWzCfgEN21T2tgCnkG+Fz2kpvv485YaRpnU+vRU19NfwOe34A+zxI63H7V8cnAOuy5fI7MPqWYFDYLAWtJwVbslLVBDmdyKTah7+53g4P71wZD3rupW/ntOJQUzmZUV5RXphIyQn1pN15DCLRPwgc0FwqglrUJMxHD/MJ8w23JXG9HcgVS7tCEDEVGs2X7P/svcy8zV14Amhy73Lcqy7ZS8lxlyvyuXMCbRmY9UxsGc3SvbgWZqVzWaaHbiq/8jEncq0Cd21I0Ynv3cGBwGR9ERml3NNeZWon1NFUxkZhG2CQ5z6W4NhnVX3iq9D1lklRbzYls8qcCKTIsT6qPbBonAKFBZ9+JqJxZSkzoiWVR3GqTdGaaSrY56g2WKwQ330/rJXSR2iaeWc/V+JXRz0GJ9bIrgqrFXunmyVJ6zXftu9sfFz/PTD9exbHVlYItzxxMTuCIfeHs6Neb4s1IP8JKEGHfmldoFOoInwL2NW7Q6EERLmvAZ600JTsD5lyDum8ne4J9yzCP09Qoruo7TtoFPE+CBqbb3hUVfT/kDp8EbqseWG6fyydXwI49VGwX5xUfO8qNW56tpjPZWg6wx4zLfkqxkEu3/+4/2IWtyAfFp6L0VdpyCFwJ0dcWJUI13WujHOobfjPWJ+atdXR4qbZ6QpKeotYKq+twmZXIkgSvWxkg/QR1j1wf+PMFnVoexPiqH0rxMS+VcLLUA/fXfrBaD/Q/0ZPChLOM9rBBN0tb6Kj09jlFKrqm0PsqPsXg9j1PwH5h0Ou6aaJ0GKj5LFAESeKp8FloBq5GXzROokjMjxoXN0S1KY/zgl+J57ZzNO21MGjXTE1jmHnCGKgMSoX+myE75o46FcvFrgdxWjR0XvAjCJdF0dnMk/HCxtTHxd0U5qhsIX9chZBW83mPMHhxmPPa/V5t+3YL0v2EOmsXtb3tVi3KlMwxNQKdNgbX4OFRY27crgLTzEhwgCXhwwsHayu/R7pBYCO6czJuSxGo5xdqWeF0wewZ4+bEzGfsAkY0sXMSelz48ehtVLaiEcWNYAVvRwV5AyBfXtPBBpZa8XMROXIlFDAFHVDQ7F+r6PlbZVT9z3ziAF+CeCCEFAsT86MMPHHtCr+ljAq4ZOGR2SgsY0idcETdSfZNpC+D2JF1g98niQOk7Gws1SeWf4mLRTQTSGBGTO/CONYaGo+H5erMF9uzRd3IuqmI6rjG0Upvl4hBu8bT+Kyy/5fHRDMwF8cc2IKCFHoPuTE/u6m0VSWGuR+WnAjem+McqxmWiqWgsfLKlfs9YzxbLLvBpPTDcUZgz16BB//Az9gRT/6dtwgSZ5U0zyq4+xED+LImQ3IJXfReaas5QS0b2JAeR1EcNio6221xh78+S5K2B7+LAhMRxGn2l4NZTYatugZimjp1vJK/pHo1Ph0ILpd5DwSmQMmnvDVIgttDnsMiYkL0voQNriDeGupqgxsh3Y7fOh8EqySr63XYhkYSM/BzuUFkdnc0hkMEd96p1OhjjJ8n1+FUuHjMGYMTaZyHCHB9+wLIQUiz1Y328B2qHN2vAKnA5vcx+Y+30rc3PM1Gu0zMJDB17bsLrpNZHQ0e7bzekKdVY27bbRjDX/ZfSmEt5Iq24ilcbL3WBFChwBesDRrnFHkxNJUR+suVTlaX80axjOABtJxfSJ9xEa1orA9I1d5hlRVWGgRXsOM1u9rKauCGKZ4jdl1pfIVSUyT5N1HBUvmfn4Nau/+AsgBy4+cbVVd77gbdAt+YXp7EYF665SlipcvDzmcLp9WsCasYeNbQ9l4G4Vh8dzyuJZuJSrOe/Ue7pQgLRSZx58NLGvy2HhZ6h9i+z7967iPhUrkMb/gGorof2qCtB9VgP8Kg7VV1rym9suFj41zS0CE3BGjwFK4zvIrFKB4zH//qZdEG366zA145hWOnFWVqF88YAuZTJ2JWGoIiq5SZ8wZfOQRVAK4rdDlKVT2+wCr2mAK0xU8r2ln61xsQq7OvYi4iNvMkFcV9Y5afoHoCQdtvURN3Oipoi8om+iNOm2TDx8YtLEvWYWzOEmYHGOmfAs9wSCSI5xcW9tBPBsVCxympFcsW4tMx34sPAS8PzzkymFiUy+HMtuhyvTzQ5paqgQkelvbh3Re1hGEmHSaOn7y9vRUOMfQyGTA89ohUVYkfrOvDh+aUtWlcd7SCMeUOevE46YJJY/TzGEr4XBrfVoMI1S0oiRLvfnI8B2II06Y9Ae0zj2zQTUuIZj+8go3N6ClDFe8+C03cC6xTvnTlf33VWZzv0t33xGmVDYgQpC+cV99AJb7jS1Zkk+Ed2K79IeLAKWIydqkmRqPKuncEEYL54BGgHJqw5k/gtyAEjoqUBcsI9mUpjLSXXXRq04J41TkBEkSyMqeb9zNeuH23pLqF3k/LZxIQ6VFpZeX0DDHZfqR9DhX+7V7wuPqpiNiCnWbhDyr4RjtKSpuKnfzWgAjnkaUXaNCwyogBnV+fpt8klZSDvnyuZMQGr8rIy+P/rpWCOAkU6pvumVwNk+1CE8x0GSzWx6BoC/8ieeEv0maZnBBARe/07i+rNETbKh9YaSK5YLCer1KQeoHrFoyaka44ngYjo09X5dJlZutmsPm46Up0n1PAeqLxQbSUxiT1leaS3DiWmUaPAUFYkVKWYvlNG6jk70+ei2ivAGmcID6yQFfQRF5t/v71U2qSSKBPfsFXH69xw/UY1ivjZ2EASRG9u45bWLPhOOMQ5ilSb80nPcGHSIpz0gayGUhIgTJhOue13HnjIfmbo0pE2yECggQmvMO/833FStNzI7MG6nsiryFAShuMDPG89C4kjA0f07Q6agUtpJgHCZfHOMnKYOwO6h8QC5woNjKxhQl7cZFpPEE7xCEicmAmP3A4wS46S7MA0rGagU1AGCUUOVad62PEBsghReVkRsEelIG2NOYTyuIGXgcsQBvdNmnhtHTdIgQ6ycxR7IOmJIzN50kBx32xN+IfaLh37oAIrM/+dD9KxzrQCghtrEiGQeDdEI25rHIdtE3dwhWSEZ1fl/6B21S6Yh13YDOWpVnhgdX/9w+mdXD+mQjWxmK9ZdptgTaCoiro45zGB/jANBgkrBgEEAYI3EQIxADATBgkqhkiG9w0BCRUxBgQEAQAAADBdBgkqhkiG9w0BCRQxUB5OAHQAZQAtADYANwBiADQAYwAzAGIAMQAtADcANwBiAGQALQA0ADYAMwAxAC0AYgBhADQAYwAtADMAZABkADIANAAwAGIAMgA0ADIANQA1MHkGCSsGAQQBgjcRATFsHmoATQBpAGMAcgBvAHMAbwBmAHQAIABFAG4AaABhAG4AYwBlAGQAIABSAFMAQQAgAGEAbgBkACAAQQBFAFMAIABDAHIAeQBwAHQAbwBnAHIAYQBwAGgAaQBjACAAUAByAG8AdgBpAGQAZQByMIIMfwYJKoZIhvcNAQcGoIIMcDCCDGwCAQAwggxlBgkqhkiG9w0BBwEwHAYKKoZIhvcNAQwBAzAOBAgK726i3z4NuwICB9CAggw4LOMv7g2Y9P0912i5nlJpTiX9mjGTJyl5WDiCtLy1Ik23TOKlRpXahQ8bPGAxR2ebCgVHL3iTStiiu3Wb3V93ZUmWo9aY84BTN2PJsF8O5m2OvpY08DZUOD4F0pLfkUv7lUBGjdYmRDh7SJLFQztENdji511bz1nfonfcTgIlYou5cAhitb/bp7NHbCsCugPKXd0yG1y/jOKEQzQ7oKlPP92DgpA2VUqeQOm79FZA/F/SoH6bfwWa7tsC1uE40psgJqrQMYq7pZfSr9GFtKW1XiLvVbzAnvyn+SH2AA85W1c2w8sh4NEiLajY3NPX+jStly9N0i2Yepn493dg/Wk553FLVa+QrP62C766yyjDPkYhCbBQowB0oiH0drykL7wRbYaTtfcC9N2GdENT6SrBZfdqO0wjLTHfbpxnB2cI0ziWCsTyX1OQPrvZYmRXeeoQ569uOBGT2xXi6BSrMRDIJxyO/M/qTvLsoroB2MoCkF4t9/XZYdCDaIxSMxauQ9bHUBEkJz7srfn6OxU/2Z/PysX3sOQS5JJqeat8ryCG5MTJz69QLqDUTutBSOJ8isXC3TcjjYWzxO0jc3PmmmGIqX0D5ZLeURG1ePrkxSPKHNbMYtg/lvDNSZ6R35ApQ7EDXUVZSmlJFDnxPYjuwo9JV6W0AZMekKGdUJMOtwAy0BekBDuTAnzHRbe4QxNCbjDQXbtvOcZ1Q1DRekJtPPM20clucthlTHBgFRtoEFoIcLunY/jbpxrsjMeuKp+iuxnDVHhxxJLdtF/4WI9OKNC6sPGpqhQjGujzg+bCzYn6tuxqf5zgsEiSpqwoxIQLQ/yPJr1UXOWf6NY8AAkBjQ59ExisFGhtg88HgwC9QkMpxWBU0UOnrx7twBwlWNIVjt4yR5UMiMNOIcemZukt7GeXojcpti/mtzbaLOjCB25C6fZBBUJS7hYE3WZ+fMgyUIf1f1VqCdbVBclrduAdx9BqSCPMpjmtKN5MZewc/CNqrm8sPmjYiWI5LC1vh4dbcSpd6Pl76YV3vxPWn3cZTeDwLSU2lX7lVqS3jrj0NF8/VkVR8iS13u6baAIRN6UZNOSLwcalB/eZkRSYHqSTE4Cnh1O+qkoTX/PGYm1BIv5NKGnSJjc6+/vD3xMAIxYr4FbdCZ+VDIVRb0iAhC8hArHXjU6vHL8EAQYxeC8t5JcvfmmaDTkaymVKJz+6mNKSUhLDHJIo1h8Y4a/oVwL+bLPO8HwYQyLxVMwQLeEOc0isB1i62Kygwf+Pvg2xRgcuNwXRarsFQj+wkj0b+8vTyWVS8hTUWi9LkB95sNBwBwCKaHU6lbQBjUCApiV23F3ssJISR8nDuIgRWFYjNU8tUk4lCy0zeM0v9JzbbWm7vGfURx5CPxo4h1PL/Cw+l3QO9qG+FmawLNfF4wO3I/DaSd8aav60r7+mdj6WIcv6F5+MlFMW11kIlBwEh44umhVpzUpSFt8tI3oJ/TTzxdOgXJTg4uZk1ljOd1tXgvKG9+EpFGcFVbcm3ikljcMRY1neXFUV2p9A8tfTCFigB+j+zCQJXPDQlsgdgnBk6uwm4c7vxIEIU+ZMpv+Q2BhP69+W5RpXUo4431R5/bM8mVAmSPvMBSKYh2uZSEhGt/7rC3z61zmYGjSj8RFStBQG/Y82ZVmdFSKz+YYj/wljs1YZo2XghFfTgT/CdZyNWhLO+nHL2H9h0Po4TN5fHXsrfsyFfzIcxjfc+3iCw+Nw0IghSBDFaAkX3jV8ZF9o23vo3AopM8W+2qscnTe+wMSdrME/h7EvvnpMTBnZIpjyFw2vXoOSjitWijvbomDzyHXBwfoKqHquhPLIx7ub0xG6FhxWeKNMfxhJ0/W0Z7iHKGRXH55s05Wd3wjwnghQfFdAjftkcFEkEQIQ3xLzd1QEaRgMbYZEQkH9PYitiIbNmURaZlY5jJZwL5itouaZhsaMoPsego1e0UQfij1bUpJcFL6L4VI5eokeeAtfGguLtaKxkPuHWeWnrErnXWbI7rqFkq5fkESZSv+IaGUYZGRJ1ybpgrH6Ik7Mvi9L3kBCs6dZg6ACkDgq98kpazOCjk0JWuTHaoekTr26NBglfKWdPWke2qvKEuq9baMUkB05+PlC29TW6tvrucRiX1pO9xQjipZ7c6yF8sel/msn3Xj5EB78yPjWZjrwPst3fkFcC1kiBxSPovefaxChjG+u5nP5jbV1NGiQBk/OdIYggel74VkYQ4DANo4D+rs0s6UnzBbsMEe+qxt7ztM7AUAIXfmz0T+XD+pT5Qwv5pE/wuysSLk5KKXw/bFLRORJbzY1f03wKKlTaD7jFVbCJgy7lj2fc+sUCGdaUxmiczJc58n1RK/sqccRNQrnPyi5YYrYZ8EdvwqkHwMSIvZjT0hPw+/ooOLjN8TNPtYRnm3DDN3KN2S8iaHQOxokBD1SWzGN/v1d19+kYcG2aayosqHcr7XcAc5aQKT+M8YdZwgcTu+NsTz5o3YIG4+xIphdjiWAGWKIvlhiXDnVi5zNPt/YqnNE0Vl5mVMaPnKs31PQzErzFeF80ZQ/gSPflWadLLMcoZV3Q8VNGbcmQHuOpdS/rEBGDWE9jRGcC3i+V7CKpzt7ehNLq9b5CdX5qvkfoci/4iDNjXsR8qEMdlKjSD8H9PH7j0JP476El0TaqiuVApv+X/S10x8au086wnKu2L4dzMu9O2VV4qx1xFZI0SAD/JCVYddApkpGAweEMRHoEWqwcBwIsF2mYPmTRaU29Z4laCCMA1uCMMFcL4tM57XlptxFsZgNrWbFJdnOh0KM6TGAeXq9j6h3g0A4PaqfNAOaG5HWQBlOf5KmviO5EtcfslfL0XaS65E+fK8RoOpj0Um6b069R1NwrHy4/YdJZQFUt5EJFKa+m0MvdFxiIeiNIYhG+POH0l+6ycVz4u4nKplh0jmskj2kyNy+65TX4Y1Gg5dKVSQWfG2c5Tuim1UBB/51cS1cgS73SbdEe136kCuUg5Cc0/jm0RCS31DW/GLtrdGtgOcmPNrAk7HomiD6nHvV1yb/ghgyGKRIMmQEMOfn2ul/51Lo0sPSP++1KJKfEkqJFnjYWrmRR2x0rEf/3juYlN4GXO0YTNtfyou3DBI/mpdpHgiR1/jXKWe+h9wMWyVZt4goyQifTYSs+3L7Bx3EsrjhZQzoe/lQTywtkvLIeq5zOkRK2EPkDPjLPbD4nqp+mzQg74Y7ZGWy7DBlU97TdYyFIossYnpNxbRPodJ/xqtB5IPvCjp6uoUwRJyPNBCUCJyanVlN7R2Tju5NszpwhnN3xtcUbvA45M/b2lV4RBh6pnLi/ktajwBo331edlI4q91AGxuJvxugwPYiudkiSWnZc7LxwOPiwExivuq7Era85mci9URRnBb+EYMA4RqnFrs327POeytuMmNtGAESRA1NwlRJOTLplO7suJmnDT9A0mOfUmnkcyzah3khqCucl96w9mINmbcEoOBGp1xVske2TGhFSsDCObae0BvF2f+43ciwbxDpGTuNB9UnV8w41HV2UhZ+OjYJK0pgVlk5+vfnXEw+iJiPItSynB1HZsdqLJuEqRESRVRIozqR/bHSkv61y2Bq5isT9ZwF9FNbZuSgGoLAvuzpwN95Mx83g4MsNvYWo9EyIEGvjbecBzL9fpeunkvrD2LC8k8+sdtQQ5rPibMKV6kL6ThWbeDhXExk0vZcHos3nLBLsW5Ov/J2erN/CcJdd/CGnwzxMjfmbp2FxLFMwe4XdMsBp7WlGjMy++hRbINtwMAysboIb/YOTOylgBNSDl6uJ27MHtbLhgSyDEw18bFglqWvjvKUJKPbZE7bEw9w3HgWojsQavaqewuAp9OYyg4ZfQCApNmSievlt673v0nZ5dooS9rZroDukwIwTQpxmWaS0wo7SWkkRy99Owe08PFEsM93FrtuyTNz4+1sAWWkQrU7eU5l5C+NM9ZUhCe7jTxTBAs+VMHdMVRF5FQKPLM5CU5RIfg7RDs94TSVPEB8gG5r13+Kmf5gv1NzX8QHmrRA1k0uzF9g4btWdXhoCarB61wFXsizx3mTFEmYev5A3vb6Dn6E4Md//+gJFJ31DcmK7I1DvJCM8QV1mKQydZTef5GkrPxxCk4/kK6cbSNpaHwgNZRPoq+2q9+ZBGK8dzvWbOUwOzAfMAcGBSsOAwIaBBQYe7dTefP7Lx9vu5M0PY3co6yQXwQUiMIUs1ICQSCmLpbiC0DEBnr1JxYCAgfQ"
+ }
+ }
+ },
+ "responses": {
+ "200": {},
+ "404": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductSecret/List.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductSecret/List.json
new file mode 100644
index 000000000000..cc35a2b5b53a
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductSecret/List.json
@@ -0,0 +1,92 @@
+{
+ "parameters": {
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "productId": "Microsoft.IotHubPreview.1.0.2",
+ "secretValue": "sslCert"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/be8b2e19-7f92-4644-b808-a18283aebb01/providers/Microsoft.Deployment.Admin/locations/global/productPackages/Microsoft.NullProvider.1.1/secrets/AdHoc",
+ "name": "global/Microsoft.NullProvider.1.1/AdHoc",
+ "type": "Microsoft.Deployment.Admin/locations/productPackages/secrets",
+ "properties": {
+ "secretKind": "AdHoc",
+ "description": "This is an ad-hoc secret.",
+ "expiresAfter": "P365D",
+ "secretState": {
+ "status": "NotUploaded",
+ "rotationStatus": "None"
+ },
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/be8b2e19-7f92-4644-b808-a18283aebb01/providers/Microsoft.Deployment.Admin/locations/global/productPackages/Microsoft.NullProvider.1.1/secrets/TlsCertificate",
+ "name": "global/Microsoft.NullProvider.1.1/TlsCertificate",
+ "type": "Microsoft.Deployment.Admin/locations/productPackages/secrets",
+ "properties": {
+ "secretKind": "Certificate",
+ "description": "This is a TLS certificate.",
+ "expiresAfter": "P365D",
+ "secretDescriptor": {
+ "subject": "CN=NullProviderTLS",
+ "keyLength": 4096,
+ "alternativeDnsNames": [
+ "noterp.redmond.ext-n22r1708.masd.stbtest.microsoft.com"
+ ]
+ },
+ "secretState": {
+ "status": "NotUploaded",
+ "rotationStatus": "None"
+ },
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/be8b2e19-7f92-4644-b808-a18283aebb01/providers/Microsoft.Deployment.Admin/locations/global/productPackages/Microsoft.NullProvider.1.1/secrets/ExternalPassword",
+ "name": "global/Microsoft.NullProvider.1.1/ExternalPassword",
+ "type": "Microsoft.Deployment.Admin/locations/productPackages/secrets",
+ "properties": {
+ "secretKind": "Password",
+ "description": "This is an external password.",
+ "expiresAfter": "P365D",
+ "secretDescriptor": {
+ "passwordLength": 10,
+ "allowedCharacters": "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
+ "passwordValidationRegex": "^(?=.*\\d)(?=.*[A-Z])(?=.*[a-z]).*$"
+ },
+ "secretState": {
+ "status": "NotUploaded",
+ "rotationStatus": "None"
+ },
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/be8b2e19-7f92-4644-b808-a18283aebb01/providers/Microsoft.Deployment.Admin/locations/global/productPackages/Microsoft.NullProvider.1.1/secrets/ExternalSymmetricKey",
+ "name": "global/Microsoft.NullProvider.1.1/ExternalSymmetricKey",
+ "type": "Microsoft.Deployment.Admin/locations/productPackages/secrets",
+ "properties": {
+ "secretKind": "SymmetricKey",
+ "description": "This is an external symmetric key.",
+ "expiresAfter": "P365D",
+ "secretDescriptor": {
+ "keyLength": 128
+ },
+ "secretState": {
+ "status": "NotUploaded",
+ "rotationStatus": "None"
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductSecret/Validate.json b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductSecret/Validate.json
new file mode 100644
index 000000000000..09fc63e01e89
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/Microsoft.Deployment.Admin/preview/2019-01-01/examples/ProductSecret/Validate.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "location": "global",
+ "api-version": "2019-01-01",
+ "productId": "Microsoft.IotHubPreview.1.0.2",
+ "secretName": "secretName",
+ "secretParameters": {
+ "properties": {
+ "secretValue": "sslCert"
+ }
+ },
+ "secretValue": "sslCert",
+ "newOffer": {
+ "properties": {
+ "password": "password",
+ "data": "MIIasdajCasdadIIKlDCCCpAGCyqGSIb3DQEMCgECoIIJfjCCCXowHAYKKoZIhvcNAQwBAzAOBAg8H9AO2t5mSwICB9AEgglYZET8GdClyLmngkqx8gob6P56kmMBIB72BG9BZtjnCpY/D4E9Rhl2hmxHFPY2ivsRSgFKDg8tVs+hnMuokWShJhZ0oIaBo4nHRcKk4sWzCfgEN21T2tgCnkG+Fz2kpvv485YaRpnU+vRU19NfwOe34A+zxI63H7V8cnAOuy5fI7MPqWYFDYLAWtJwVbslLVBDmdyKTah7+53g4P71wZD3rupW/ntOJQUzmZUV5RXphIyQn1pN15DCLRPwgc0FwqglrUJMxHD/MJ8w23JXG9HcgVS7tCEDEVGs2X7P/svcy8zV14Amhy73Lcqy7ZS8lxlyvyuXMCbRmY9UxsGc3SvbgWZqVzWaaHbiq/8jEncq0Cd21I0Ynv3cGBwGR9ERml3NNeZWon1NFUxkZhG2CQ5z6W4NhnVX3iq9D1lklRbzYls8qcCKTIsT6qPbBonAKFBZ9+JqJxZSkzoiWVR3GqTdGaaSrY56g2WKwQ330/rJXSR2iaeWc/V+JXRz0GJ9bIrgqrFXunmyVJ6zXftu9sfFz/PTD9exbHVlYItzxxMTuCIfeHs6Neb4s1IP8JKEGHfmldoFOoInwL2NW7Q6EERLmvAZ600JTsD5lyDum8ne4J9yzCP09Qoruo7TtoFPE+CBqbb3hUVfT/kDp8EbqseWG6fyydXwI49VGwX5xUfO8qNW56tpjPZWg6wx4zLfkqxkEu3/+4/2IWtyAfFp6L0VdpyCFwJ0dcWJUI13WujHOobfjPWJ+atdXR4qbZ6QpKeotYKq+twmZXIkgSvWxkg/QR1j1wf+PMFnVoexPiqH0rxMS+VcLLUA/fXfrBaD/Q/0ZPChLOM9rBBN0tb6Kj09jlFKrqm0PsqPsXg9j1PwH5h0Ou6aaJ0GKj5LFAESeKp8FloBq5GXzROokjMjxoXN0S1KY/zgl+J57ZzNO21MGjXTE1jmHnCGKgMSoX+myE75o46FcvFrgdxWjR0XvAjCJdF0dnMk/HCxtTHxd0U5qhsIX9chZBW83mPMHhxmPPa/V5t+3YL0v2EOmsXtb3tVi3KlMwxNQKdNgbX4OFRY27crgLTzEhwgCXhwwsHayu/R7pBYCO6czJuSxGo5xdqWeF0wewZ4+bEzGfsAkY0sXMSelz48ehtVLaiEcWNYAVvRwV5AyBfXtPBBpZa8XMROXIlFDAFHVDQ7F+r6PlbZVT9z3ziAF+CeCCEFAsT86MMPHHtCr+ljAq4ZOGR2SgsY0idcETdSfZNpC+D2JF1g98niQOk7Gws1SeWf4mLRTQTSGBGTO/CONYaGo+H5erMF9uzRd3IuqmI6rjG0Upvl4hBu8bT+Kyy/5fHRDMwF8cc2IKCFHoPuTE/u6m0VSWGuR+WnAjem+McqxmWiqWgsfLKlfs9YzxbLLvBpPTDcUZgz16BB//Az9gRT/6dtwgSZ5U0zyq4+xED+LImQ3IJXfReaas5QS0b2JAeR1EcNio6221xh78+S5K2B7+LAhMRxGn2l4NZTYatugZimjp1vJK/pHo1Ph0ILpd5DwSmQMmnvDVIgttDnsMiYkL0voQNriDeGupqgxsh3Y7fOh8EqySr63XYhkYSM/BzuUFkdnc0hkMEd96p1OhjjJ8n1+FUuHjMGYMTaZyHCHB9+wLIQUiz1Y328B2qHN2vAKnA5vcx+Y+30rc3PM1Gu0zMJDB17bsLrpNZHQ0e7bzekKdVY27bbRjDX/ZfSmEt5Iq24ilcbL3WBFChwBesDRrnFHkxNJUR+suVTlaX80axjOABtJxfSJ9xEa1orA9I1d5hlRVWGgRXsOM1u9rKauCGKZ4jdl1pfIVSUyT5N1HBUvmfn4Nau/+AsgBy4+cbVVd77gbdAt+YXp7EYF665SlipcvDzmcLp9WsCasYeNbQ9l4G4Vh8dzyuJZuJSrOe/Ue7pQgLRSZx58NLGvy2HhZ6h9i+z7967iPhUrkMb/gGorof2qCtB9VgP8Kg7VV1rym9suFj41zS0CE3BGjwFK4zvIrFKB4zH//qZdEG366zA145hWOnFWVqF88YAuZTJ2JWGoIiq5SZ8wZfOQRVAK4rdDlKVT2+wCr2mAK0xU8r2ln61xsQq7OvYi4iNvMkFcV9Y5afoHoCQdtvURN3Oipoi8om+iNOm2TDx8YtLEvWYWzOEmYHGOmfAs9wSCSI5xcW9tBPBsVCxympFcsW4tMx34sPAS8PzzkymFiUy+HMtuhyvTzQ5paqgQkelvbh3Re1hGEmHSaOn7y9vRUOMfQyGTA89ohUVYkfrOvDh+aUtWlcd7SCMeUOevE46YJJY/TzGEr4XBrfVoMI1S0oiRLvfnI8B2II06Y9Ae0zj2zQTUuIZj+8go3N6ClDFe8+C03cC6xTvnTlf33VWZzv0t33xGmVDYgQpC+cV99AJb7jS1Zkk+Ed2K79IeLAKWIydqkmRqPKuncEEYL54BGgHJqw5k/gtyAEjoqUBcsI9mUpjLSXXXRq04J41TkBEkSyMqeb9zNeuH23pLqF3k/LZxIQ6VFpZeX0DDHZfqR9DhX+7V7wuPqpiNiCnWbhDyr4RjtKSpuKnfzWgAjnkaUXaNCwyogBnV+fpt8klZSDvnyuZMQGr8rIy+P/rpWCOAkU6pvumVwNk+1CE8x0GSzWx6BoC/8ieeEv0maZnBBARe/07i+rNETbKh9YaSK5YLCer1KQeoHrFoyaka44ngYjo09X5dJlZutmsPm46Up0n1PAeqLxQbSUxiT1leaS3DiWmUaPAUFYkVKWYvlNG6jk70+ei2ivAGmcID6yQFfQRF5t/v71U2qSSKBPfsFXH69xw/UY1ivjZ2EASRG9u45bWLPhOOMQ5ilSb80nPcGHSIpz0gayGUhIgTJhOue13HnjIfmbo0pE2yECggQmvMO/833FStNzI7MG6nsiryFAShuMDPG89C4kjA0f07Q6agUtpJgHCZfHOMnKYOwO6h8QC5woNjKxhQl7cZFpPEE7xCEicmAmP3A4wS46S7MA0rGagU1AGCUUOVad62PEBsghReVkRsEelIG2NOYTyuIGXgcsQBvdNmnhtHTdIgQ6ycxR7IOmJIzN50kBx32xN+IfaLh37oAIrM/+dD9KxzrQCghtrEiGQeDdEI25rHIdtE3dwhWSEZ1fl/6B21S6Yh13YDOWpVnhgdX/9w+mdXD+mQjWxmK9ZdptgTaCoiro45zGB/jANBgkrBgEEAYI3EQIxADATBgkqhkiG9w0BCRUxBgQEAQAAADBdBgkqhkiG9w0BCRQxUB5OAHQAZQAtADYANwBiADQAYwAzAGIAMQAtADcANwBiAGQALQA0ADYAMwAxAC0AYgBhADQAYwAtADMAZABkADIANAAwAGIAMgA0ADIANQA1MHkGCSsGAQQBgjcRATFsHmoATQBpAGMAcgBvAHMAbwBmAHQAIABFAG4AaABhAG4AYwBlAGQAIABSAFMAQQAgAGEAbgBkACAAQQBFAFMAIABDAHIAeQBwAHQAbwBnAHIAYQBwAGgAaQBjACAAUAByAG8AdgBpAGQAZQByMIIMfwYJKoZIhvcNAQcGoIIMcDCCDGwCAQAwggxlBgkqhkiG9w0BBwEwHAYKKoZIhvcNAQwBAzAOBAgK726i3z4NuwICB9CAggw4LOMv7g2Y9P0912i5nlJpTiX9mjGTJyl5WDiCtLy1Ik23TOKlRpXahQ8bPGAxR2ebCgVHL3iTStiiu3Wb3V93ZUmWo9aY84BTN2PJsF8O5m2OvpY08DZUOD4F0pLfkUv7lUBGjdYmRDh7SJLFQztENdji511bz1nfonfcTgIlYou5cAhitb/bp7NHbCsCugPKXd0yG1y/jOKEQzQ7oKlPP92DgpA2VUqeQOm79FZA/F/SoH6bfwWa7tsC1uE40psgJqrQMYq7pZfSr9GFtKW1XiLvVbzAnvyn+SH2AA85W1c2w8sh4NEiLajY3NPX+jStly9N0i2Yepn493dg/Wk553FLVa+QrP62C766yyjDPkYhCbBQowB0oiH0drykL7wRbYaTtfcC9N2GdENT6SrBZfdqO0wjLTHfbpxnB2cI0ziWCsTyX1OQPrvZYmRXeeoQ569uOBGT2xXi6BSrMRDIJxyO/M/qTvLsoroB2MoCkF4t9/XZYdCDaIxSMxauQ9bHUBEkJz7srfn6OxU/2Z/PysX3sOQS5JJqeat8ryCG5MTJz69QLqDUTutBSOJ8isXC3TcjjYWzxO0jc3PmmmGIqX0D5ZLeURG1ePrkxSPKHNbMYtg/lvDNSZ6R35ApQ7EDXUVZSmlJFDnxPYjuwo9JV6W0AZMekKGdUJMOtwAy0BekBDuTAnzHRbe4QxNCbjDQXbtvOcZ1Q1DRekJtPPM20clucthlTHBgFRtoEFoIcLunY/jbpxrsjMeuKp+iuxnDVHhxxJLdtF/4WI9OKNC6sPGpqhQjGujzg+bCzYn6tuxqf5zgsEiSpqwoxIQLQ/yPJr1UXOWf6NY8AAkBjQ59ExisFGhtg88HgwC9QkMpxWBU0UOnrx7twBwlWNIVjt4yR5UMiMNOIcemZukt7GeXojcpti/mtzbaLOjCB25C6fZBBUJS7hYE3WZ+fMgyUIf1f1VqCdbVBclrduAdx9BqSCPMpjmtKN5MZewc/CNqrm8sPmjYiWI5LC1vh4dbcSpd6Pl76YV3vxPWn3cZTeDwLSU2lX7lVqS3jrj0NF8/VkVR8iS13u6baAIRN6UZNOSLwcalB/eZkRSYHqSTE4Cnh1O+qkoTX/PGYm1BIv5NKGnSJjc6+/vD3xMAIxYr4FbdCZ+VDIVRb0iAhC8hArHXjU6vHL8EAQYxeC8t5JcvfmmaDTkaymVKJz+6mNKSUhLDHJIo1h8Y4a/oVwL+bLPO8HwYQyLxVMwQLeEOc0isB1i62Kygwf+Pvg2xRgcuNwXRarsFQj+wkj0b+8vTyWVS8hTUWi9LkB95sNBwBwCKaHU6lbQBjUCApiV23F3ssJISR8nDuIgRWFYjNU8tUk4lCy0zeM0v9JzbbWm7vGfURx5CPxo4h1PL/Cw+l3QO9qG+FmawLNfF4wO3I/DaSd8aav60r7+mdj6WIcv6F5+MlFMW11kIlBwEh44umhVpzUpSFt8tI3oJ/TTzxdOgXJTg4uZk1ljOd1tXgvKG9+EpFGcFVbcm3ikljcMRY1neXFUV2p9A8tfTCFigB+j+zCQJXPDQlsgdgnBk6uwm4c7vxIEIU+ZMpv+Q2BhP69+W5RpXUo4431R5/bM8mVAmSPvMBSKYh2uZSEhGt/7rC3z61zmYGjSj8RFStBQG/Y82ZVmdFSKz+YYj/wljs1YZo2XghFfTgT/CdZyNWhLO+nHL2H9h0Po4TN5fHXsrfsyFfzIcxjfc+3iCw+Nw0IghSBDFaAkX3jV8ZF9o23vo3AopM8W+2qscnTe+wMSdrME/h7EvvnpMTBnZIpjyFw2vXoOSjitWijvbomDzyHXBwfoKqHquhPLIx7ub0xG6FhxWeKNMfxhJ0/W0Z7iHKGRXH55s05Wd3wjwnghQfFdAjftkcFEkEQIQ3xLzd1QEaRgMbYZEQkH9PYitiIbNmURaZlY5jJZwL5itouaZhsaMoPsego1e0UQfij1bUpJcFL6L4VI5eokeeAtfGguLtaKxkPuHWeWnrErnXWbI7rqFkq5fkESZSv+IaGUYZGRJ1ybpgrH6Ik7Mvi9L3kBCs6dZg6ACkDgq98kpazOCjk0JWuTHaoekTr26NBglfKWdPWke2qvKEuq9baMUkB05+PlC29TW6tvrucRiX1pO9xQjipZ7c6yF8sel/msn3Xj5EB78yPjWZjrwPst3fkFcC1kiBxSPovefaxChjG+u5nP5jbV1NGiQBk/OdIYggel74VkYQ4DANo4D+rs0s6UnzBbsMEe+qxt7ztM7AUAIXfmz0T+XD+pT5Qwv5pE/wuysSLk5KKXw/bFLRORJbzY1f03wKKlTaD7jFVbCJgy7lj2fc+sUCGdaUxmiczJc58n1RK/sqccRNQrnPyi5YYrYZ8EdvwqkHwMSIvZjT0hPw+/ooOLjN8TNPtYRnm3DDN3KN2S8iaHQOxokBD1SWzGN/v1d19+kYcG2aayosqHcr7XcAc5aQKT+M8YdZwgcTu+NsTz5o3YIG4+xIphdjiWAGWKIvlhiXDnVi5zNPt/YqnNE0Vl5mVMaPnKs31PQzErzFeF80ZQ/gSPflWadLLMcoZV3Q8VNGbcmQHuOpdS/rEBGDWE9jRGcC3i+V7CKpzt7ehNLq9b5CdX5qvkfoci/4iDNjXsR8qEMdlKjSD8H9PH7j0JP476El0TaqiuVApv+X/S10x8au086wnKu2L4dzMu9O2VV4qx1xFZI0SAD/JCVYddApkpGAweEMRHoEWqwcBwIsF2mYPmTRaU29Z4laCCMA1uCMMFcL4tM57XlptxFsZgNrWbFJdnOh0KM6TGAeXq9j6h3g0A4PaqfNAOaG5HWQBlOf5KmviO5EtcfslfL0XaS65E+fK8RoOpj0Um6b069R1NwrHy4/YdJZQFUt5EJFKa+m0MvdFxiIeiNIYhG+POH0l+6ycVz4u4nKplh0jmskj2kyNy+65TX4Y1Gg5dKVSQWfG2c5Tuim1UBB/51cS1cgS73SbdEe136kCuUg5Cc0/jm0RCS31DW/GLtrdGtgOcmPNrAk7HomiD6nHvV1yb/ghgyGKRIMmQEMOfn2ul/51Lo0sPSP++1KJKfEkqJFnjYWrmRR2x0rEf/3juYlN4GXO0YTNtfyou3DBI/mpdpHgiR1/jXKWe+h9wMWyVZt4goyQifTYSs+3L7Bx3EsrjhZQzoe/lQTywtkvLIeq5zOkRK2EPkDPjLPbD4nqp+mzQg74Y7ZGWy7DBlU97TdYyFIossYnpNxbRPodJ/xqtB5IPvCjp6uoUwRJyPNBCUCJyanVlN7R2Tju5NszpwhnN3xtcUbvA45M/b2lV4RBh6pnLi/ktajwBo331edlI4q91AGxuJvxugwPYiudkiSWnZc7LxwOPiwExivuq7Era85mci9URRnBb+EYMA4RqnFrs327POeytuMmNtGAESRA1NwlRJOTLplO7suJmnDT9A0mOfUmnkcyzah3khqCucl96w9mINmbcEoOBGp1xVske2TGhFSsDCObae0BvF2f+43ciwbxDpGTuNB9UnV8w41HV2UhZ+OjYJK0pgVlk5+vfnXEw+iJiPItSynB1HZsdqLJuEqRESRVRIozqR/bHSkv61y2Bq5isT9ZwF9FNbZuSgGoLAvuzpwN95Mx83g4MsNvYWo9EyIEGvjbecBzL9fpeunkvrD2LC8k8+sdtQQ5rPibMKV6kL6ThWbeDhXExk0vZcHos3nLBLsW5Ov/J2erN/CcJdd/CGnwzxMjfmbp2FxLFMwe4XdMsBp7WlGjMy++hRbINtwMAysboIb/YOTOylgBNSDl6uJ27MHtbLhgSyDEw18bFglqWvjvKUJKPbZE7bEw9w3HgWojsQavaqewuAp9OYyg4ZfQCApNmSievlt673v0nZ5dooS9rZroDukwIwTQpxmWaS0wo7SWkkRy99Owe08PFEsM93FrtuyTNz4+1sAWWkQrU7eU5l5C+NM9ZUhCe7jTxTBAs+VMHdMVRF5FQKPLM5CU5RIfg7RDs94TSVPEB8gG5r13+Kmf5gv1NzX8QHmrRA1k0uzF9g4btWdXhoCarB61wFXsizx3mTFEmYev5A3vb6Dn6E4Md//+gJFJ31DcmK7I1DvJCM8QV1mKQydZTef5GkrPxxCk4/kK6cbSNpaHwgNZRPoq+2q9+ZBGK8dzvWbOUwOzAfMAcGBSsOAwIaBBQYe7dTefP7Lx9vu5M0PY3co6yQXwQUiMIUs1ICQSCmLpbiC0DEBnr1JxYCAgfQ"
+ }
+ }
+ },
+ "responses": {
+ "200": {},
+ "404": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/deployment/readme.md b/specification/azsadmin/resource-manager/deployment/readme.md
new file mode 100644
index 000000000000..3976fe43cc0f
--- /dev/null
+++ b/specification/azsadmin/resource-manager/deployment/readme.md
@@ -0,0 +1,87 @@
+# Deployment Admin
+
+> see https://aka.ms/autorest
+
+This is the AutoRest configuration file for Deployment Admin.
+
+---
+## Getting Started
+To build the SDK for Deployment Admin, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
+
+> `autorest`
+
+To see additional help and options, run:
+
+> `autorest --help`
+---
+
+## Configuration
+
+### Basic Information
+These are the global settings for the Deployment Resource Provider API.
+
+``` yaml
+title: DeploymentAdminClient
+description: Deployment Admin Client
+openapi-type: arm
+tag: package-2019-01-01
+```
+
+### Tag: package-2019-01-01
+
+These settings apply only when `--tag=package-2019-01-01` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-01-01'
+input-file:
+ - Microsoft.Deployment.Admin/preview/2019-01-01/Deployment.json
+ - Microsoft.Deployment.Admin/preview/2019-01-01/ActionPlan.json
+ - Microsoft.Deployment.Admin/preview/2019-01-01/ActionPlanOperation.json
+ - Microsoft.Deployment.Admin/preview/2019-01-01/FileContainer.json
+ - Microsoft.Deployment.Admin/preview/2019-01-01/ProductDeployment.json
+ - Microsoft.Deployment.Admin/preview/2019-01-01/ProductPackage.json
+ - Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json
+```
+
+---
+# Code Generation
+
+## C#
+
+``` yaml $(csharp)
+csharp:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ namespace: Microsoft.AzureStack.Management.Deployment.Admin
+ payload-flattening-threshold: 1
+ output-folder: $(csharp-sdks-folder)/Generated
+ clear-output-folder: true
+```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Deployment.Admin/preview/2019-01-01/Deployment.json
+ - $(this-folder)/Microsoft.Deployment.Admin/preview/2019-01-01/ActionPlan.json
+ - $(this-folder)/Microsoft.Deployment.Admin/preview/2019-01-01/ActionPlanOperation.json
+ - $(this-folder)/Microsoft.Deployment.Admin/preview/2019-01-01/FileContainer.json
+ - $(this-folder)/Microsoft.Deployment.Admin/preview/2019-01-01/ProductDeployment.json
+ - $(this-folder)/Microsoft.Deployment.Admin/preview/2019-01-01/ProductPackage.json
+ - $(this-folder)/Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
From c277dd8be545ce4919ee3a8cf34409b7d9066528 Mon Sep 17 00:00:00 2001
From: azuresdkci
Date: Wed, 6 Nov 2019 08:36:23 +0000
Subject: [PATCH 155/189] regenerated all-api-versions
---
specification/azsadmin/resource-manager/deployment/readme.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/specification/azsadmin/resource-manager/deployment/readme.md b/specification/azsadmin/resource-manager/deployment/readme.md
index 3976fe43cc0f..0fd649383551 100644
--- a/specification/azsadmin/resource-manager/deployment/readme.md
+++ b/specification/azsadmin/resource-manager/deployment/readme.md
@@ -76,6 +76,7 @@ input-file:
- $(this-folder)/Microsoft.Deployment.Admin/preview/2019-01-01/ProductDeployment.json
- $(this-folder)/Microsoft.Deployment.Admin/preview/2019-01-01/ProductPackage.json
- $(this-folder)/Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json
+
```
If there are files that should not be in the `all-api-versions` set,
From b5a4d7005c36258c8f9bbcf552358d92e4eb9dbf Mon Sep 17 00:00:00 2001
From: Ruoxuan Wang <52271048+ruowan@users.noreply.github.com>
Date: Wed, 6 Nov 2019 19:42:39 +0800
Subject: [PATCH 156/189] fix SLA-bot filter expression (#7719)
---
.github/sla.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/sla.yml b/.github/sla.yml
index bcc5ff3cd7e2..195d779f48fa 100644
--- a/.github/sla.yml
+++ b/.github/sla.yml
@@ -16,7 +16,7 @@
repoWhitelist:
- Azure/azure-rest-api-specs-pr
args:
- booleanFilterExpression: "!(WaitForARMFeedback||Approved-OkToMerge||(DoNotMerge&&(ARMSignedOff||Approved))"
+ booleanFilterExpression: "!(WaitForARMFeedback||Approved-OkToMerge||(DoNotMerge&&(ARMSignedOff||Approved)))"
limit: 48h
message: ' Dear Swagger reviewer,
Please response to the PR ${PR_URL}. The PR isn''t updated in 48 hours.
Quick info. - If no response from ARM review board, please send email to armapireview@microsoft.com.
- If need immediate ARM review, please get ARM review oncall contact point from ICM https://icm.ad.msft.net/imp/v3/oncall/current under Service "Azure Resource Manager" and Team "RP Manifest Approvers"
- If no response from Azure API review board, please send email to azureapirbcore@microsoft.com.
- If you have problem to fix CI task errors, please send email to Visual Studio China Swagger and Tool team vscswagger@microsoft.com.
- If you want to opt out from Swagger reviewing for out of office period, please set vacation date at https://inframonitorweb1.azurewebsites.net/Home/MyView.
- Pls refer to Swagger review process (onenote) for more about Swagger review process.
Best regards,
Azure Management Experience '
subject: "Action Required: Please respond to PR ${PR_URL}"
From 6dc8c8dada0ed0cb242aa56e31d1c014197f7945 Mon Sep 17 00:00:00 2001
From: Liran Chen <1437075+liranc@users.noreply.github.com>
Date: Wed, 6 Nov 2019 18:37:37 +0200
Subject: [PATCH 157/189] Add 'unmaskedIpLoggingStatus' to IotSecuritySolution
(#7283)
* Added unmaskedIpLoggingStatus field
* Converted tabs to spaces
---
.../CreateIoTSecuritySolution.json | 9 +++++---
.../GetIoTSecuritySolution.json | 3 ++-
.../GetIoTSecuritySolutionsList.json | 6 +++--
.../GetIoTSecuritySolutionsListByIotHub.json | 3 ++-
...IoTSecuritySolutionsListByIotHubAndRg.json | 3 ++-
.../GetIoTSecuritySolutionsListByRg.json | 3 ++-
.../UpdateIoTSecuritySolution.json | 3 ++-
.../2019-08-01/iotSecuritySolutions.json | 23 +++++++++++++++++++
8 files changed, 43 insertions(+), 10 deletions(-)
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/CreateIoTSecuritySolution.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/CreateIoTSecuritySolution.json
index c022e8f1680e..5bd00e0eb529 100644
--- a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/CreateIoTSecuritySolution.json
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/CreateIoTSecuritySolution.json
@@ -31,7 +31,8 @@
"recommendationType": "IoT_SharedCredentials",
"status": "Disabled"
}
- ]
+ ],
+ "unmaskedIpLoggingStatus": "Enabled"
}
}
},
@@ -143,7 +144,8 @@
"name": "TLS cipher suite upgrade",
"status": "Enabled"
}
- ]
+ ],
+ "unmaskedIpLoggingStatus": "Enabled"
}
}
},
@@ -254,7 +256,8 @@
"name": "TLS cipher suite upgrade",
"status": "Enabled"
}
- ]
+ ],
+ "unmaskedIpLoggingStatus": "Enabled"
}
}
}
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolution.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolution.json
index a45c0ff3aaba..52cc5b5d3fc1 100644
--- a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolution.json
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolution.json
@@ -113,7 +113,8 @@
"name": "TLS cipher suite upgrade",
"status": "Enabled"
}
- ]
+ ],
+ "unmaskedIpLoggingStatus": "Enabled"
}
}
}
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList.json
index d9caa82fd4ad..df5192683388 100644
--- a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList.json
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList.json
@@ -113,7 +113,8 @@
"name": "TLS cipher suite upgrade",
"status": "Enabled"
}
- ]
+ ],
+ "unmaskedIpLoggingStatus": "Enabled"
}
},
{
@@ -224,7 +225,8 @@
"name": "TLS cipher suite upgrade",
"status": "Enabled"
}
- ]
+ ],
+ "unmaskedIpLoggingStatus": "Enabled"
}
}
]
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub.json
index 47b84ec5cbd3..50fee5736079 100644
--- a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub.json
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub.json
@@ -116,7 +116,8 @@
"name": "TLS cipher suite upgrade",
"status": "Enabled"
}
- ]
+ ],
+ "unmaskedIpLoggingStatus": "Enabled"
}
}
]
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg.json
index 1e6565f1e1f3..e1beca8cbbee 100644
--- a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg.json
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg.json
@@ -117,7 +117,8 @@
"name": "TLS cipher suite upgrade",
"status": "Enabled"
}
- ]
+ ],
+ "unmaskedIpLoggingStatus": "Enabled"
}
}
]
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg.json
index 1f1ab218ec5e..639c177b9840 100644
--- a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg.json
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg.json
@@ -114,7 +114,8 @@
"name": "TLS cipher suite upgrade",
"status": "Enabled"
}
- ]
+ ],
+ "unmaskedIpLoggingStatus": "Enabled"
}
}
]
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution.json
index ba1c8a30c391..eaf11259d4d9 100644
--- a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution.json
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution.json
@@ -140,7 +140,8 @@
"name": "TLS cipher suite upgrade",
"status": "Enabled"
}
- ]
+ ],
+ "unmaskedIpLoggingStatus": "Enabled"
}
}
}
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json
index 89152b58deb0..9b9854ff0d2d 100644
--- a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json
@@ -455,6 +455,29 @@
},
"recommendationsConfiguration": {
"$ref": "#/definitions/RecommendationConfigurationList"
+ },
+ "unmaskedIpLoggingStatus" : {
+ "description": "Unmasked IP address logging status",
+ "type": "string",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "default": "Disabled",
+ "x-ms-enum": {
+ "name": "UnmaskedIpLoggingStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Disabled",
+ "description": "Unmasked IP logging is disabled"
+ },
+ {
+ "value": "Enabled",
+ "description": "Unmasked IP logging is enabled"
+ }
+ ]
+ }
}
},
"required": [
From c6bee50cb52d414ec14a3baafd6c5e8b4ab4bb2c Mon Sep 17 00:00:00 2001
From: Khushboo Baheti <37917868+Khushboo-Baheti@users.noreply.github.com>
Date: Wed, 6 Nov 2019 11:39:23 -0800
Subject: [PATCH 158/189] Fix filterdata example for VirtualNetworkGateway and
VirtualNetworkGatewayConnection (#7718)
* FilterDataChange
* prettier
---
...ualNetworkGatewayConnectionStartPacketCaptureFilterData.json | 2 +-
.../VirtualNetworkGatewayStartPacketCaptureFilterData.json | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json
index 9295c41d6ee4..f612540de350 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json
@@ -5,7 +5,7 @@
"resourceGroupName": "rg1",
"virtualNetworkGatewayConnectionName": "vpngwcn1",
"parameters": {
- "filterData": "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': null,'IpSubnetValueAsAny': true,'TcpFlags': 16,'PortValueAsAny': true}]}"
+ "filterData": "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}"
}
},
"responses": {
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayStartPacketCaptureFilterData.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayStartPacketCaptureFilterData.json
index d1a1dac25d9a..973824923702 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayStartPacketCaptureFilterData.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/VirtualNetworkGatewayStartPacketCaptureFilterData.json
@@ -5,7 +5,7 @@
"resourceGroupName": "rg1",
"virtualNetworkGatewayName": "vpngw",
"parameters": {
- "filterData": "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': null,'IpSubnetValueAsAny': true,'TcpFlags': 16,'PortValueAsAny': true}]}"
+ "filterData": "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}"
}
},
"responses": {
From 14b26fe5fd12fcf3eae5715286bcf4307cf98e72 Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Wed, 6 Nov 2019 14:30:57 -0800
Subject: [PATCH 159/189] add inaccessible database and inaccessible managed
database swaggers and examples
---
.../preview/2019-06-01-preview/databases.json | 1190 +++++++++++++++++
...eManagedDatabaseListByManagedInstance.json | 40 +
...istVCoreInaccessibleDatabasesByServer.json | 42 +
.../2019-06-01-preview/managedDatabases.json | 717 ++++++++++
4 files changed, 1989 insertions(+)
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/databases.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/InaccessibleManagedDatabaseListByManagedInstance.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreInaccessibleDatabasesByServer.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/managedDatabases.json
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/databases.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/databases.json
new file mode 100644
index 000000000000..d729aa9ae852
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/databases.json
@@ -0,0 +1,1190 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-06-01-preview",
+ "title": "SqlManagementClient",
+ "description": "The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases": {
+ "get": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Gets a list of databases.",
+ "operationId": "Databases_ListByServer",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved the list of databases.",
+ "schema": {
+ "$ref": "#/definitions/DatabaseListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription."
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Gets a list of databases.": {
+ "$ref": "./examples/ListVCoreDatabasesByServer.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}": {
+ "get": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Gets a database.",
+ "operationId": "Databases_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved the specified database.",
+ "schema": {
+ "$ref": "#/definitions/Database"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ResourceNotFound - The requested resource was not found."
+ }
+ },
+ "x-ms-examples": {
+ "Gets a database.": {
+ "$ref": "./examples/GetVCoreDatabase.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Creates a new database or updates an existing database.",
+ "operationId": "Databases_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The requested database resource state.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Database"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully updated the database.",
+ "schema": {
+ "$ref": "#/definitions/Database"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 InvalidDatabaseCreateOrUpdateRequest - The request body for the create or update database operation is invalid.\n\n * 400 InvalidResourceId - Invalid resource identifier.\n\n * 400 InvalidSourceDatabaseId - Invalid source database identifier.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MissingCollation - Collation is required.\n\n * 400 MissingMaxSizeBytes - MaxSizeBytes is required.\n\n * 400 MissingSkuName - Sku name is required.\n\n * 400 MissingSourceDatabaseId - Missing source database identifier.\n\n * 400 InvalidSkuName - Invalid SKU name.\n\n * 400 MismatchedSkuNameAndCapacity - Mismatch between SKU name and capacity.\n\n * 400 MismatchedSkuNameAndTier - Mismatch between SKU name and tier.\n\n * 400 MismatchedSkuNameAndFamily - Mismatch between SKU name and family.\n\n * 400 DatabaseNameDoesNotMatchSourceDatabaseId - The database name specified doesn’t match the database name in sourceDatabaseId.\n\n * 400 ElasticPoolNotSupportedForExternalBackupRestore - Elastic pool is not supported for external backup restore\n\n * 400 InvalidRecoverableDatabaseId - Invalid recoverable database identifier.\n\n * 400 InvalidRecoveryServicesRecoveryPointId - Invalid recovery services recovery point identifier.\n\n * 400 InvalidRestorableDroppedDatabaseDeletionDate - The restorable dropped database deletion date given is invalid\n\n * 400 InvalidRestorableDroppedDatabaseId - Invalid restorable dropped database identifier\n\n * 400 MissingRecoverableDatabaseId - Missing recoverable database identifier.\n\n * 400 MissingRecoveryServicesRecoveryPointId - Missing recovery services recovery point Id.\n\n * 400 MissingRestorableDroppedDatabaseId - Missing restorableDroppedDatabaseId\n\n * 400 MissingRestorePointInTime - Missing restore point in time\n\n * 400 MissingSourceDatabaseDeletionDate - Missing source database deletion date\n\n * 400 MissingStorageContainerSasToken - Missing storage container SAS token\n\n * 400 MissingStorageContainerUri - Missing storage container URI\n\n * 400 RestorableDroppedDatabaseIdGivenForRestoreWithSourceDatabaseId - Cannot specify restorableDroppedDatabaseId when sourceDatabaseId is already given in restore create mode\n\n * 400 InvalidCollation - Collation is not recognized by the server.\n\n * 400 ProvisioningDisabled - Displays error message from resources operation authorizer as is, without changes\n\n * 400 UnableToResolveRemoteServer - The remote partner server name could not be resolved due to an invalid server name or DNS connectivity issues.\n\n * 400 ElasticPoolOverStorageUsage - Attempting to write data to a database when the storage limit of the elastic pool has been reached.\n\n * 400 RemoteDatabaseCopyPermission - User does not have sufficient permission to create a database copy on the specified server.\n\n * 400 SourceDatabaseNotFound - The source database does not exist.\n\n * 400 UpdateNotAllowedInCurrentReplicationState - The operation is disallowed on the database in its current replication state.\n\n * 400 GeoReplicaLimitReached - The per-replica replication limit was reached.\n\n * 400 ReplicationSourceAndTargetMustHaveSameName - The replication source and target databases must have the same name.\n\n * 400 ReplicationSourceAndTargetMustBeInDifferentServers - The replication source and target databases must be in different logical servers.\n\n * 400 ChangeUnsupportedOnEntity - User attempted an unsupported create/update/delete operation on a given entity.\n\n * 400 TierChangeUnsupportedDueToMemoryOptimizedObject - The database cannot update its sku because it has memory-optimized objects.\n\n * 400 SourceServerNotFound - The server part of a source database id provided in a CreateDatabaseAsCopy API call doesn't map to an existing server.\n\n * 400 InvalidAddSecondaryPermission - User does not have sufficient permission to add secondary on the specified server.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CurrentDatabaseLogSizeExceedsMaxSize - User attempted to change the database to a sku with lower max log size than the current usage.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 InvalidSku - The user specified an invalid sku.\n\n * 400 InvalidTierSkuCombination - The specified tier does not support the specified sku.\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 400 OfferDisabledOnSubscription - Subscription offer type is restricted from provisioning the requested resource.\n\n * 400 InvalidTargetSubregion - The target server of a non-readable secondary is not in a DR paired Azure region.\n\n * 400 PartnerServerNotCompatible - The user is attempting to copy a database from a SAWA V1 server to a Sterling server or vice versa.\n\n * 400 IncorrectReplicationLinkState - The operation expects the database to be in an expected state on the replication link.\n\n * 400 TargetElasticPoolDoesNotExist - The elastic pool does not exist on a server.\n\n * 400 CurrentDatabaseSizeExceedsMaxSize - User attempted to reduce the max size for a database to a size smaller than the current usage.\n\n * 400 ElasticPoolSkuCombinationInvalid - Elastic pool and sku can be specified together only if sku is specified as 'ElasticPool'.\n\n * 400 ElasticPoolTierCombinationInvalid - The database tier is different than the elastic pool service tier.\n\n * 400 ElasticPoolNameRequired - User tired to create or update database to elastic pool service objective without specifying the name of the elastic pool.\n\n * 400 AzureKeyVaultInvalidExpirationDate - The operation could not be completed because the Azure Key Vault key expiration date is invalid.\n\n * 400 SecurityAzureKeyVaultUrlNullOrEmpty - The operation could not be completed because the Azure Key Vault Uri is null or empty.\n\n * 400 AzureKeyVaultInvalidUri - An invalid response from Azure Key Vault. Please use a valid Azure Key Vault URI.\n\n * 400 InvalidReadScaleEdition - User attempted to enable read scale on a database type that does not support it.\n\n * 400 InvalidReadScaleUnits - User attempted to provide a read scale value that is not supported.\n\n * 400 SecurityAzureKeyVaultInvalidKeyName - The operation could not be completed because of an invalid Server Key name.\n\n * 400 ElasticPoolDatabaseCountOverLimit - Attempting to create or add database to elastic pool when the database count limit of the elastic pool has been reached.\n\n * 400 CannotChangeToOrFromDataWarehouseTier - User attempted to change the sku of a database from DataWarehouse tier to non DataWarehouse tiers or vice versa.\n\n * 400 AzureKeyVaultMalformedVaultUri - The provided Key Vault uri is not valid.\n\n * 400 ElasticPoolDecreaseStorageLimitBelowUsage - Attempting to decrease the storage limit of the elastic pool below its storage usage.\n\n * 400 UpdateNotAllowedOnPausedDatabase - User attempted to perform an update on a paused database.\n\n * 400 RequestedDatabaseSizeRequiresShrink - User attempted to ALTER DATABASE MODIFY MAXSIZE to modify the MAXSIZE for a database to a smaller size then the current size.\n\n * 400 CurrentDatabaseSizeExceedsDbMaxSize - User attempted to reduce the max size for a database to a size smaller than the current usage.\n\n * 400 CannotUseTrailingWhitespacesInDatabaseName - The database name validation failed.\n\n * 400 RegionDoesNotSupportVersion - A user attempted to create a server of a specified version in a location where that server version isn't supported.\n\n * 400 SecurityAdalPrincipalCertExpiredError - The operation could not be completed because the Azure Key Vault principal certificate has expired.\n\n * 400 SecurityInvalidAzureKeyVaultRecoveryLevel - The provided Key Vault uri is not valid.\n\n * 400 KeyMaterialNotFoundOnRemoteServer - Remote server does not have access to key material used as a TDE protector.\n\n * 400 AzureKeyVaultMismatchError - Unexpected Key Vault region found in the http response.\n\n * 400 SourceDatabaseEditionCouldNotBeUpgraded - The source database cannot have higher edition than the target database.\n\n * 400 AzureKeyVaultRsaKeyNotSupported - The provided key vault uses unsupported RSA Key Size or Key Type. The supported RSA key size is 2048 or 3072 and Key Type is RSA or RSA-HSM.\n\n * 400 TargetDatabaseEditionCouldNotBeDowngraded - The target database cannot have lower edition than the source database.\n\n * 400 UpdateNotAllowedIfGeoDrOperationInProgress - The operation is disallowed because copy or failover operation for database '{0}' on server '{1}' is currently in progress.\n\n * 400 ElasticPoolOverFileSpace - Insufficient file space in the elastic pool.\n\n * 400 SecurityAzureKeyVaultGeoChainError - Creating secondary of secondary (a process known as chaining) is not supported when enabling Transparent Data Encryption using Azure Key Vault (BYOK).\n\n * 400 InvalidLicenseType - User tried to create or update a database or elastic pool with unsupported license type.\n\n * 400 UnsupportedCapacity - User tried to create or update database with capacity which is not supported.\n\n * 400 RestoreToFreeEditionNotSupported - Restore and GeoRestore target cannot be free database.\n\n * 400 RestoreNotSupportedForFreeEdition - Restore and GeoRestore are not supported for free database.\n\n * 400 InvalidDroppedDatabase - Source database dropped does not exist on server within the supported recovery period.\n\n * 400 InvalidLiveDatabase - Source database does not exist on server within the supported recovery period. If restoring a dropped database, please specify its deletion date.\n\n * 400 InvalidVldbRecoverySlo - The Hyperscale edition recovery requires both source and target databases to use Hyperscale service level objective.\n\n * 400 InvalidVldbRestoreSlo - The Hyperscale edition Point-In-Time restore requires both source and target databases to use Hyperscale service level objective.\n\n * 400 CannotSpecifyPoolOrSlo - Specifying an elastic pool and/or changing the service level objective or edition is not supported for edition.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 400 JobAgentDatabaseEditionUnsupported - The specified database's service level objective is not supported for use as a job agent database.\n\n * 400 CannotUpdateToFreeDatabase - Updating a database to the free sku is not supported.\n\n * 400 ServerNotFound - The requested server was not found.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 InvalidMaxSizeTierCombination - The specified tier does not support the specified database max size.\n\n * 400 InvalidTier - The user specified an invalid tier.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidServerName - Invalid server name specified.\n\n * 401 AzureKeyVaultKeyDisabled - The operation could not be completed on the server because the Azure Key Vault key is disabled.\n\n * 401 AzureKeyVaultNoServerIdentity - The server identity is not correctly configured.\n\n * 401 AzureKeyVaultMissingPermissions - The server is missing required permissions on the Azure Key Vault. \n\n * 401 AdalGenericError - The operation could not be completed because an Azure Active Directory error was encountered.\n\n * 401 AdalServicePrincipalNotFound - The operation could not be completed because an Azure Active Directory library Service Principal not found error was encountered.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 405 UnsupportedReplicationOperation - An unsupported replication operation was initiated on the database.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 409 InvalidOperationForDatabaseNotInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship.\n\n * 409 InvalidOperationForDatabaseInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship.\n\n * 409 RemoteDatabaseExists - The destination database name already exists on the destination server.\n\n * 409 DuplicateGeoDrRelation - The databases are already in a replication relation. This is a duplicate request.\n\n * 409 FreeDbAlreadyExists - Only one free database can exist for a subscription per region.\n\n * 409 SubscriptionDisabled - Subscription is disabled.\n\n * 409 ConflictingSystemOperationInProgress - A system maintenance operation is in progress on the database and further operations need to wait until it is completed.\n\n * 409 SkuAssignmentInProgress - The current assignment request cannot be processed because a previous request has not completed.\n\n * 409 CurrentMemoryUsageExceedsSkuQuota - User attempted an sku update operation that cannot be completed due to the higher resource consumption.\n\n * 409 ServerDtuQuotaExceeded - Could not perform the operation because server would exceed the allowed Database Throughput Unit quota.\n\n * 409 ServerKeyNameAlreadyExists - The server key already exists on the server.\n\n * 409 ServerKeyUriAlreadyExists - The server key URI already exists on the server.\n\n * 409 UnableToAlterDatabaseInReplication - User altered edition on a database in a replication relationship.\n\n * 409 ServerKeyDoesNotExists - The server key does not exist.\n\n * 409 UpdateSloInProgress - User tried to initiate an incompatible operation while a SLO update was in progress.\n\n * 409 AzureKeyVaultKeyNameNotFound - The operation could not be completed because the Azure Key Vault Key name does not exist.\n\n * 409 AzureKeyVaultKeyInUse - The key is currently being used by the server.\n\n * 409 SimultaneousSkuChangeNotAllowed - Service objective change operations cannot run on both databases of a replication relationship at the same time.\n\n * 409 TargetElasticPoolBeingUpdated - The update of elastic pool cannot be started because there is copy operation in progress for one of the databases in this elastic pool\n\n * 409 DatabaseCopyLimitPerReplicaReached - User reached the limit of concurrent database copies.\n\n * 409 ServerDisabled - Server is disabled.\n\n * 409 ConflictingDatabaseOperation - There is already some operation on the database and the current operation should wait till it is done.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 500 ActivateOrDeactivateWorkflowThrottling - Activation or deactivation workflow failed because there are too many concurrent workflows\n\n * 503 AzureKeyVaultConnectionFailed - The operation could not be completed on the server because attempts to connect to Azure Key Vault have failed\n\n * 503 AzureKeyVaultGenericConnectionError - The operation could not be completed because an error was encountered when attempting to retrieve Key Vault information .\n\n * 503 DatabaseUnavailable - The operation failed because the database is unavailable.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout."
+ },
+ "202": {
+ "description": "Creating or updating the database is in progress."
+ },
+ "201": {
+ "description": "Successfully created the database.",
+ "schema": {
+ "$ref": "#/definitions/Database"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Creates a VCore database by specifying service objective name.": {
+ "$ref": "./examples/CreateVCoreDatabaseByServiceObjective.json"
+ },
+ "Creates a VCore database by specifying sku name and capacity.": {
+ "$ref": "./examples/CreateVCoreDatabaseBySkuNameCapacity.json"
+ },
+ "Creates a data warehouse by specifying service objective name.": {
+ "$ref": "./examples/CreateDwDatabaseByServiceObjective.json"
+ },
+ "Creates a database with minimum number of parameters.": {
+ "$ref": "./examples/CreateDatabaseMin.json"
+ },
+ "Creates a database with default mode.": {
+ "$ref": "./examples/CreateDatabaseDefaultMode.json"
+ },
+ "Creates a database as a copy.": {
+ "$ref": "./examples/CreateDatabaseCopyMode.json"
+ },
+ "Creates a database as an on-line secondary.": {
+ "$ref": "./examples/CreateDatabaseSecondaryMode.json"
+ },
+ "Creates a database from PointInTimeRestore.": {
+ "$ref": "./examples/CreateDatabasePITRMode.json"
+ },
+ "Creates a database from restore with database deletion time.": {
+ "$ref": "./examples/CreateDatabaseRestoreMode.json"
+ },
+ "Creates a database from restore with restorableDroppedDatabaseId.": {
+ "$ref": "./examples/CreateDatabaseRestoreMode2.json"
+ },
+ "Creates a database from recoverableDatabaseId.": {
+ "$ref": "./examples/CreateDatabaseRecoveryMode.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Deletes the database.",
+ "operationId": "Databases_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully deleted the database."
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 409 ServerDisabled - Server is disabled.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources."
+ },
+ "202": {
+ "description": "Deleting the database is in progress."
+ },
+ "204": {
+ "description": "The specified database does not exist."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Deletes a database.": {
+ "$ref": "./examples/DeleteDatabase.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Updates an existing database.",
+ "operationId": "Databases_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The requested database resource state.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DatabaseUpdate"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully updated the database.",
+ "schema": {
+ "$ref": "#/definitions/Database"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 InvalidDatabaseCreateOrUpdateRequest - The request body for the create or update database operation is invalid.\n\n * 400 InvalidResourceId - Invalid resource identifier.\n\n * 400 InvalidSourceDatabaseId - Invalid source database identifier.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MissingCollation - Collation is required.\n\n * 400 MissingMaxSizeBytes - MaxSizeBytes is required.\n\n * 400 MissingSkuName - Sku name is required.\n\n * 400 MissingSourceDatabaseId - Missing source database identifier.\n\n * 400 InvalidSkuName - Invalid SKU name.\n\n * 400 MismatchedSkuNameAndCapacity - Mismatch between SKU name and capacity.\n\n * 400 MismatchedSkuNameAndTier - Mismatch between SKU name and tier.\n\n * 400 MismatchedSkuNameAndFamily - Mismatch between SKU name and family.\n\n * 400 DatabaseNameDoesNotMatchSourceDatabaseId - The database name specified doesn’t match the database name in sourceDatabaseId.\n\n * 400 ElasticPoolNotSupportedForExternalBackupRestore - Elastic pool is not supported for external backup restore\n\n * 400 InvalidRecoverableDatabaseId - Invalid recoverable database identifier.\n\n * 400 InvalidRecoveryServicesRecoveryPointId - Invalid recovery services recovery point identifier.\n\n * 400 InvalidRestorableDroppedDatabaseDeletionDate - The restorable dropped database deletion date given is invalid\n\n * 400 InvalidRestorableDroppedDatabaseId - Invalid restorable dropped database identifier\n\n * 400 MissingRecoverableDatabaseId - Missing recoverable database identifier.\n\n * 400 MissingRecoveryServicesRecoveryPointId - Missing recovery services recovery point Id.\n\n * 400 MissingRestorableDroppedDatabaseId - Missing restorableDroppedDatabaseId\n\n * 400 MissingRestorePointInTime - Missing restore point in time\n\n * 400 MissingSourceDatabaseDeletionDate - Missing source database deletion date\n\n * 400 MissingStorageContainerSasToken - Missing storage container SAS token\n\n * 400 MissingStorageContainerUri - Missing storage container URI\n\n * 400 RestorableDroppedDatabaseIdGivenForRestoreWithSourceDatabaseId - Cannot specify restorableDroppedDatabaseId when sourceDatabaseId is already given in restore create mode\n\n * 400 InvalidCollation - Collation is not recognized by the server.\n\n * 400 ProvisioningDisabled - Displays error message from resources operation authorizer as is, without changes\n\n * 400 UnableToResolveRemoteServer - The remote partner server name could not be resolved due to an invalid server name or DNS connectivity issues.\n\n * 400 ElasticPoolOverStorageUsage - Attempting to write data to a database when the storage limit of the elastic pool has been reached.\n\n * 400 RemoteDatabaseCopyPermission - User does not have sufficient permission to create a database copy on the specified server.\n\n * 400 SourceDatabaseNotFound - The source database does not exist.\n\n * 400 UpdateNotAllowedInCurrentReplicationState - The operation is disallowed on the database in its current replication state.\n\n * 400 GeoReplicaLimitReached - The per-replica replication limit was reached.\n\n * 400 ReplicationSourceAndTargetMustHaveSameName - The replication source and target databases must have the same name.\n\n * 400 ReplicationSourceAndTargetMustBeInDifferentServers - The replication source and target databases must be in different logical servers.\n\n * 400 ChangeUnsupportedOnEntity - User attempted an unsupported create/update/delete operation on a given entity.\n\n * 400 TierChangeUnsupportedDueToMemoryOptimizedObject - The database cannot update its sku because it has memory-optimized objects.\n\n * 400 SourceServerNotFound - The server part of a source database id provided in a CreateDatabaseAsCopy API call doesn't map to an existing server.\n\n * 400 InvalidAddSecondaryPermission - User does not have sufficient permission to add secondary on the specified server.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CurrentDatabaseLogSizeExceedsMaxSize - User attempted to change the database to a sku with lower max log size than the current usage.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 InvalidSku - The user specified an invalid sku.\n\n * 400 InvalidTierSkuCombination - The specified tier does not support the specified sku.\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 400 OfferDisabledOnSubscription - Subscription offer type is restricted from provisioning the requested resource.\n\n * 400 InvalidTargetSubregion - The target server of a non-readable secondary is not in a DR paired Azure region.\n\n * 400 PartnerServerNotCompatible - The user is attempting to copy a database from a SAWA V1 server to a Sterling server or vice versa.\n\n * 400 IncorrectReplicationLinkState - The operation expects the database to be in an expected state on the replication link.\n\n * 400 TargetElasticPoolDoesNotExist - The elastic pool does not exist on a server.\n\n * 400 CurrentDatabaseSizeExceedsMaxSize - User attempted to reduce the max size for a database to a size smaller than the current usage.\n\n * 400 ElasticPoolSkuCombinationInvalid - Elastic pool and sku can be specified together only if sku is specified as 'ElasticPool'.\n\n * 400 ElasticPoolTierCombinationInvalid - The database tier is different than the elastic pool service tier.\n\n * 400 ElasticPoolNameRequired - User tired to create or update database to elastic pool service objective without specifying the name of the elastic pool.\n\n * 400 AzureKeyVaultInvalidExpirationDate - The operation could not be completed because the Azure Key Vault key expiration date is invalid.\n\n * 400 SecurityAzureKeyVaultUrlNullOrEmpty - The operation could not be completed because the Azure Key Vault Uri is null or empty.\n\n * 400 AzureKeyVaultInvalidUri - An invalid response from Azure Key Vault. Please use a valid Azure Key Vault URI.\n\n * 400 InvalidReadScaleEdition - User attempted to enable read scale on a database type that does not support it.\n\n * 400 InvalidReadScaleUnits - User attempted to provide a read scale value that is not supported.\n\n * 400 SecurityAzureKeyVaultInvalidKeyName - The operation could not be completed because of an invalid Server Key name.\n\n * 400 ElasticPoolDatabaseCountOverLimit - Attempting to create or add database to elastic pool when the database count limit of the elastic pool has been reached.\n\n * 400 CannotChangeToOrFromDataWarehouseTier - User attempted to change the sku of a database from DataWarehouse tier to non DataWarehouse tiers or vice versa.\n\n * 400 AzureKeyVaultMalformedVaultUri - The provided Key Vault uri is not valid.\n\n * 400 ElasticPoolDecreaseStorageLimitBelowUsage - Attempting to decrease the storage limit of the elastic pool below its storage usage.\n\n * 400 UpdateNotAllowedOnPausedDatabase - User attempted to perform an update on a paused database.\n\n * 400 RequestedDatabaseSizeRequiresShrink - User attempted to ALTER DATABASE MODIFY MAXSIZE to modify the MAXSIZE for a database to a smaller size then the current size.\n\n * 400 CurrentDatabaseSizeExceedsDbMaxSize - User attempted to reduce the max size for a database to a size smaller than the current usage.\n\n * 400 CannotUseTrailingWhitespacesInDatabaseName - The database name validation failed.\n\n * 400 RegionDoesNotSupportVersion - A user attempted to create a server of a specified version in a location where that server version isn't supported.\n\n * 400 SecurityAdalPrincipalCertExpiredError - The operation could not be completed because the Azure Key Vault principal certificate has expired.\n\n * 400 SecurityInvalidAzureKeyVaultRecoveryLevel - The provided Key Vault uri is not valid.\n\n * 400 KeyMaterialNotFoundOnRemoteServer - Remote server does not have access to key material used as a TDE protector.\n\n * 400 AzureKeyVaultMismatchError - Unexpected Key Vault region found in the http response.\n\n * 400 SourceDatabaseEditionCouldNotBeUpgraded - The source database cannot have higher edition than the target database.\n\n * 400 AzureKeyVaultRsaKeyNotSupported - The provided key vault uses unsupported RSA Key Size or Key Type. The supported RSA key size is 2048 or 3072 and Key Type is RSA or RSA-HSM.\n\n * 400 TargetDatabaseEditionCouldNotBeDowngraded - The target database cannot have lower edition than the source database.\n\n * 400 UpdateNotAllowedIfGeoDrOperationInProgress - The operation is disallowed because copy or failover operation for database '{0}' on server '{1}' is currently in progress.\n\n * 400 ElasticPoolOverFileSpace - Insufficient file space in the elastic pool.\n\n * 400 SecurityAzureKeyVaultGeoChainError - Creating secondary of secondary (a process known as chaining) is not supported when enabling Transparent Data Encryption using Azure Key Vault (BYOK).\n\n * 400 InvalidLicenseType - User tried to create or update a database or elastic pool with unsupported license type.\n\n * 400 UnsupportedCapacity - User tried to create or update database with capacity which is not supported.\n\n * 400 RestoreToFreeEditionNotSupported - Restore and GeoRestore target cannot be free database.\n\n * 400 RestoreNotSupportedForFreeEdition - Restore and GeoRestore are not supported for free database.\n\n * 400 InvalidDroppedDatabase - Source database dropped does not exist on server within the supported recovery period.\n\n * 400 InvalidLiveDatabase - Source database does not exist on server within the supported recovery period. If restoring a dropped database, please specify its deletion date.\n\n * 400 InvalidVldbRecoverySlo - The Hyperscale edition recovery requires both source and target databases to use Hyperscale service level objective.\n\n * 400 InvalidVldbRestoreSlo - The Hyperscale edition Point-In-Time restore requires both source and target databases to use Hyperscale service level objective.\n\n * 400 CannotSpecifyPoolOrSlo - Specifying an elastic pool and/or changing the service level objective or edition is not supported for edition.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 400 JobAgentDatabaseEditionUnsupported - The specified database's service level objective is not supported for use as a job agent database.\n\n * 400 CannotUpdateToFreeDatabase - Updating a database to the free sku is not supported.\n\n * 400 ServerNotFound - The requested server was not found.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 InvalidMaxSizeTierCombination - The specified tier does not support the specified database max size.\n\n * 400 InvalidTier - The user specified an invalid tier.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidServerName - Invalid server name specified.\n\n * 401 AzureKeyVaultKeyDisabled - The operation could not be completed on the server because the Azure Key Vault key is disabled.\n\n * 401 AzureKeyVaultNoServerIdentity - The server identity is not correctly configured.\n\n * 401 AzureKeyVaultMissingPermissions - The server is missing required permissions on the Azure Key Vault. \n\n * 401 AdalGenericError - The operation could not be completed because an Azure Active Directory error was encountered.\n\n * 401 AdalServicePrincipalNotFound - The operation could not be completed because an Azure Active Directory library Service Principal not found error was encountered.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 405 UnsupportedReplicationOperation - An unsupported replication operation was initiated on the database.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 409 InvalidOperationForDatabaseNotInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship.\n\n * 409 InvalidOperationForDatabaseInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship.\n\n * 409 RemoteDatabaseExists - The destination database name already exists on the destination server.\n\n * 409 DuplicateGeoDrRelation - The databases are already in a replication relation. This is a duplicate request.\n\n * 409 FreeDbAlreadyExists - Only one free database can exist for a subscription per region.\n\n * 409 SubscriptionDisabled - Subscription is disabled.\n\n * 409 ConflictingSystemOperationInProgress - A system maintenance operation is in progress on the database and further operations need to wait until it is completed.\n\n * 409 SkuAssignmentInProgress - The current assignment request cannot be processed because a previous request has not completed.\n\n * 409 CurrentMemoryUsageExceedsSkuQuota - User attempted an sku update operation that cannot be completed due to the higher resource consumption.\n\n * 409 ServerDtuQuotaExceeded - Could not perform the operation because server would exceed the allowed Database Throughput Unit quota.\n\n * 409 ServerKeyNameAlreadyExists - The server key already exists on the server.\n\n * 409 ServerKeyUriAlreadyExists - The server key URI already exists on the server.\n\n * 409 UnableToAlterDatabaseInReplication - User altered edition on a database in a replication relationship.\n\n * 409 ServerKeyDoesNotExists - The server key does not exist.\n\n * 409 UpdateSloInProgress - User tried to initiate an incompatible operation while a SLO update was in progress.\n\n * 409 AzureKeyVaultKeyNameNotFound - The operation could not be completed because the Azure Key Vault Key name does not exist.\n\n * 409 AzureKeyVaultKeyInUse - The key is currently being used by the server.\n\n * 409 SimultaneousSkuChangeNotAllowed - Service objective change operations cannot run on both databases of a replication relationship at the same time.\n\n * 409 TargetElasticPoolBeingUpdated - The update of elastic pool cannot be started because there is copy operation in progress for one of the databases in this elastic pool\n\n * 409 DatabaseCopyLimitPerReplicaReached - User reached the limit of concurrent database copies.\n\n * 409 ServerDisabled - Server is disabled.\n\n * 409 ConflictingDatabaseOperation - There is already some operation on the database and the current operation should wait till it is done.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 500 ActivateOrDeactivateWorkflowThrottling - Activation or deactivation workflow failed because there are too many concurrent workflows\n\n * 503 AzureKeyVaultConnectionFailed - The operation could not be completed on the server because attempts to connect to Azure Key Vault have failed\n\n * 503 AzureKeyVaultGenericConnectionError - The operation could not be completed because an error was encountered when attempting to retrieve Key Vault information .\n\n * 503 DatabaseUnavailable - The operation failed because the database is unavailable.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout."
+ },
+ "202": {
+ "description": "Updating the database is in progress."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Updates a database.": {
+ "$ref": "./examples/PatchDatabase.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/databases": {
+ "get": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Gets a list of databases in an elastic pool.",
+ "operationId": "Databases_ListByElasticPool",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "elasticPoolName",
+ "in": "path",
+ "description": "The name of the elastic pool.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved a list of databases in an elastic pool.",
+ "schema": {
+ "$ref": "#/definitions/DatabaseListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout."
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Gets a list of databases in an elastic pool.": {
+ "$ref": "./examples/ListDatabasesByElasticPool.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/pause": {
+ "post": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Pauses a database.",
+ "operationId": "Databases_Pause",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "databaseName",
+ "in": "path",
+ "description": "The name of the database to be paused.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully paused the database.",
+ "schema": {
+ "$ref": "#/definitions/Database"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 CannotDeactivateWhenDeactivatingInProgress - Deactivation workflow failed because there is a deactivate workflow already running.\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 500 ActivateOrDeactivateWorkflowThrottling - Activation or deactivation workflow failed because there are too many concurrent workflows"
+ },
+ "202": {
+ "description": "Pausing the database is in progress."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Pauses a database.": {
+ "$ref": "./examples/PauseDatabase.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/resume": {
+ "post": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Resumes a database.",
+ "operationId": "Databases_Resume",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "databaseName",
+ "in": "path",
+ "description": "The name of the database to be resumed.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully resumed the database.",
+ "schema": {
+ "$ref": "#/definitions/Database"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 500 ActivateOrDeactivateWorkflowThrottling - Activation or deactivation workflow failed because there are too many concurrent workflows"
+ },
+ "202": {
+ "description": "Resuming the database is in progress."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Resumes a database.": {
+ "$ref": "./examples/ResumeDatabase.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/upgradeDataWarehouse": {
+ "post": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Upgrades a data warehouse.",
+ "operationId": "Databases_UpgradeDataWarehouse",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "databaseName",
+ "in": "path",
+ "description": "The name of the database to be upgraded.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully upgraded the data warehouse."
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 InvalidCollation - Collation is not recognized by the server.\n\n * 400 ProvisioningDisabled - Displays error message from resources operation authorizer as is, without changes\n\n * 400 UnableToResolveRemoteServer - The remote partner server name could not be resolved due to an invalid server name or DNS connectivity issues.\n\n * 400 ElasticPoolOverStorageUsage - Attempting to write data to a database when the storage limit of the elastic pool has been reached.\n\n * 400 RemoteDatabaseCopyPermission - User does not have sufficient permission to create a database copy on the specified server.\n\n * 400 SourceDatabaseNotFound - The source database does not exist.\n\n * 400 UpdateNotAllowedInCurrentReplicationState - The operation is disallowed on the database in its current replication state.\n\n * 400 GeoReplicaLimitReached - The per-replica replication limit was reached.\n\n * 400 ReplicationSourceAndTargetMustHaveSameName - The replication source and target databases must have the same name.\n\n * 400 ReplicationSourceAndTargetMustBeInDifferentServers - The replication source and target databases must be in different logical servers.\n\n * 400 ChangeUnsupportedOnEntity - User attempted an unsupported create/update/delete operation on a given entity.\n\n * 400 TierChangeUnsupportedDueToMemoryOptimizedObject - The database cannot update its sku because it has memory-optimized objects.\n\n * 400 SourceServerNotFound - The server part of a source database id provided in a CreateDatabaseAsCopy API call doesn't map to an existing server.\n\n * 400 InvalidAddSecondaryPermission - User does not have sufficient permission to add secondary on the specified server.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CurrentDatabaseLogSizeExceedsMaxSize - User attempted to change the database to a sku with lower max log size than the current usage.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 InvalidSku - The user specified an invalid sku.\n\n * 400 InvalidTierSkuCombination - The specified tier does not support the specified sku.\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 400 OfferDisabledOnSubscription - Subscription offer type is restricted from provisioning the requested resource.\n\n * 400 InvalidTargetSubregion - The target server of a non-readable secondary is not in a DR paired Azure region.\n\n * 400 PartnerServerNotCompatible - The user is attempting to copy a database from a SAWA V1 server to a Sterling server or vice versa.\n\n * 400 IncorrectReplicationLinkState - The operation expects the database to be in an expected state on the replication link.\n\n * 400 TargetElasticPoolDoesNotExist - The elastic pool does not exist on a server.\n\n * 400 CurrentDatabaseSizeExceedsMaxSize - User attempted to reduce the max size for a database to a size smaller than the current usage.\n\n * 400 ElasticPoolSkuCombinationInvalid - Elastic pool and sku can be specified together only if sku is specified as 'ElasticPool'.\n\n * 400 ElasticPoolTierCombinationInvalid - The database tier is different than the elastic pool service tier.\n\n * 400 ElasticPoolNameRequired - User tired to create or update database to elastic pool service objective without specifying the name of the elastic pool.\n\n * 400 AzureKeyVaultInvalidExpirationDate - The operation could not be completed because the Azure Key Vault key expiration date is invalid.\n\n * 400 SecurityAzureKeyVaultUrlNullOrEmpty - The operation could not be completed because the Azure Key Vault Uri is null or empty.\n\n * 400 AzureKeyVaultInvalidUri - An invalid response from Azure Key Vault. Please use a valid Azure Key Vault URI.\n\n * 400 InvalidReadScaleEdition - User attempted to enable read scale on a database type that does not support it.\n\n * 400 InvalidReadScaleUnits - User attempted to provide a read scale value that is not supported.\n\n * 400 SecurityAzureKeyVaultInvalidKeyName - The operation could not be completed because of an invalid Server Key name.\n\n * 400 ElasticPoolDatabaseCountOverLimit - Attempting to create or add database to elastic pool when the database count limit of the elastic pool has been reached.\n\n * 400 CannotChangeToOrFromDataWarehouseTier - User attempted to change the sku of a database from DataWarehouse tier to non DataWarehouse tiers or vice versa.\n\n * 400 AzureKeyVaultMalformedVaultUri - The provided Key Vault uri is not valid.\n\n * 400 ElasticPoolDecreaseStorageLimitBelowUsage - Attempting to decrease the storage limit of the elastic pool below its storage usage.\n\n * 400 UpdateNotAllowedOnPausedDatabase - User attempted to perform an update on a paused database.\n\n * 400 RequestedDatabaseSizeRequiresShrink - User attempted to ALTER DATABASE MODIFY MAXSIZE to modify the MAXSIZE for a database to a smaller size then the current size.\n\n * 400 CurrentDatabaseSizeExceedsDbMaxSize - User attempted to reduce the max size for a database to a size smaller than the current usage.\n\n * 400 CannotUseTrailingWhitespacesInDatabaseName - The database name validation failed.\n\n * 400 RegionDoesNotSupportVersion - A user attempted to create a server of a specified version in a location where that server version isn't supported.\n\n * 400 SecurityAdalPrincipalCertExpiredError - The operation could not be completed because the Azure Key Vault principal certificate has expired.\n\n * 400 SecurityInvalidAzureKeyVaultRecoveryLevel - The provided Key Vault uri is not valid.\n\n * 400 KeyMaterialNotFoundOnRemoteServer - Remote server does not have access to key material used as a TDE protector.\n\n * 400 AzureKeyVaultMismatchError - Unexpected Key Vault region found in the http response.\n\n * 400 SourceDatabaseEditionCouldNotBeUpgraded - The source database cannot have higher edition than the target database.\n\n * 400 AzureKeyVaultRsaKeyNotSupported - The provided key vault uses unsupported RSA Key Size or Key Type. The supported RSA key size is 2048 or 3072 and Key Type is RSA or RSA-HSM.\n\n * 400 TargetDatabaseEditionCouldNotBeDowngraded - The target database cannot have lower edition than the source database.\n\n * 400 UpdateNotAllowedIfGeoDrOperationInProgress - The operation is disallowed because copy or failover operation for database '{0}' on server '{1}' is currently in progress.\n\n * 400 ElasticPoolOverFileSpace - Insufficient file space in the elastic pool.\n\n * 400 SecurityAzureKeyVaultGeoChainError - Creating secondary of secondary (a process known as chaining) is not supported when enabling Transparent Data Encryption using Azure Key Vault (BYOK).\n\n * 400 InvalidLicenseType - User tried to create or update a database or elastic pool with unsupported license type.\n\n * 400 UnsupportedCapacity - User tried to create or update database with capacity which is not supported.\n\n * 400 RestoreToFreeEditionNotSupported - Restore and GeoRestore target cannot be free database.\n\n * 400 RestoreNotSupportedForFreeEdition - Restore and GeoRestore are not supported for free database.\n\n * 400 InvalidDroppedDatabase - Source database dropped does not exist on server within the supported recovery period.\n\n * 400 InvalidLiveDatabase - Source database does not exist on server within the supported recovery period. If restoring a dropped database, please specify its deletion date.\n\n * 400 InvalidVldbRecoverySlo - The Hyperscale edition recovery requires both source and target databases to use Hyperscale service level objective.\n\n * 400 InvalidVldbRestoreSlo - The Hyperscale edition Point-In-Time restore requires both source and target databases to use Hyperscale service level objective.\n\n * 400 CannotSpecifyPoolOrSlo - Specifying an elastic pool and/or changing the service level objective or edition is not supported for edition.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 400 JobAgentDatabaseEditionUnsupported - The specified database's service level objective is not supported for use as a job agent database.\n\n * 400 CannotUpdateToFreeDatabase - Updating a database to the free sku is not supported.\n\n * 400 ServerNotFound - The requested server was not found.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 InvalidMaxSizeTierCombination - The specified tier does not support the specified database max size.\n\n * 400 InvalidTier - The user specified an invalid tier.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidServerName - Invalid server name specified.\n\n * 400 UpgradeOnlyAllowedOnDataWarehouseInstances - User attempted to upgrade non-datawarehouse instance.\n\n * 401 AzureKeyVaultKeyDisabled - The operation could not be completed on the server because the Azure Key Vault key is disabled.\n\n * 401 AzureKeyVaultNoServerIdentity - The server identity is not correctly configured.\n\n * 401 AzureKeyVaultMissingPermissions - The server is missing required permissions on the Azure Key Vault. \n\n * 401 AdalGenericError - The operation could not be completed because an Azure Active Directory error was encountered.\n\n * 401 AdalServicePrincipalNotFound - The operation could not be completed because an Azure Active Directory library Service Principal not found error was encountered.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 405 UnsupportedReplicationOperation - An unsupported replication operation was initiated on the database.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 409 InvalidOperationForDatabaseNotInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship.\n\n * 409 InvalidOperationForDatabaseInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship.\n\n * 409 RemoteDatabaseExists - The destination database name already exists on the destination server.\n\n * 409 DuplicateGeoDrRelation - The databases are already in a replication relation. This is a duplicate request.\n\n * 409 FreeDbAlreadyExists - Only one free database can exist for a subscription per region.\n\n * 409 SubscriptionDisabled - Subscription is disabled.\n\n * 409 ConflictingSystemOperationInProgress - A system maintenance operation is in progress on the database and further operations need to wait until it is completed.\n\n * 409 SkuAssignmentInProgress - The current assignment request cannot be processed because a previous request has not completed.\n\n * 409 CurrentMemoryUsageExceedsSkuQuota - User attempted an sku update operation that cannot be completed due to the higher resource consumption.\n\n * 409 ServerDtuQuotaExceeded - Could not perform the operation because server would exceed the allowed Database Throughput Unit quota.\n\n * 409 ServerKeyNameAlreadyExists - The server key already exists on the server.\n\n * 409 ServerKeyUriAlreadyExists - The server key URI already exists on the server.\n\n * 409 UnableToAlterDatabaseInReplication - User altered edition on a database in a replication relationship.\n\n * 409 ServerKeyDoesNotExists - The server key does not exist.\n\n * 409 UpdateSloInProgress - User tried to initiate an incompatible operation while a SLO update was in progress.\n\n * 409 AzureKeyVaultKeyNameNotFound - The operation could not be completed because the Azure Key Vault Key name does not exist.\n\n * 409 AzureKeyVaultKeyInUse - The key is currently being used by the server.\n\n * 409 SimultaneousSkuChangeNotAllowed - Service objective change operations cannot run on both databases of a replication relationship at the same time.\n\n * 409 TargetElasticPoolBeingUpdated - The update of elastic pool cannot be started because there is copy operation in progress for one of the databases in this elastic pool\n\n * 409 DatabaseCopyLimitPerReplicaReached - User reached the limit of concurrent database copies.\n\n * 409 ServerDisabled - Server is disabled.\n\n * 409 ConflictingDatabaseOperation - There is already some operation on the database and the current operation should wait till it is done.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 500 ActivateOrDeactivateWorkflowThrottling - Activation or deactivation workflow failed because there are too many concurrent workflows\n\n * 503 AzureKeyVaultConnectionFailed - The operation could not be completed on the server because attempts to connect to Azure Key Vault have failed\n\n * 503 AzureKeyVaultGenericConnectionError - The operation could not be completed because an error was encountered when attempting to retrieve Key Vault information .\n\n * 503 DatabaseUnavailable - The operation failed because the database is unavailable.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout."
+ },
+ "202": {
+ "description": "Upgrading the data warehouse is in progress."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Upgrades a data warehouse.": {
+ "$ref": "./examples/UpgradeDataWarehouse.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/move": {
+ "post": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Renames a database.",
+ "operationId": "Databases_Rename",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "databaseName",
+ "in": "path",
+ "description": "The name of the database to rename.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The resource move definition for renaming this database.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ResourceMoveDefinition"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully renamed the database."
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 InvalidResourceMoveRequest - The resource move request is invalid.\n\n * 400 InvalidMoveTargetResourceId - The target resource identifier in move request is invalid.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 DatabaseNameInUse - Database already exists. Choose a different database name.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 409 InvalidOperationForDatabaseInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship."
+ }
+ },
+ "x-ms-examples": {
+ "Renames a database.": {
+ "$ref": "./examples/RenameDatabase.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/inaccessibleDatabases": {
+ "get": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Gets a list of inaccessible databases in a logical server",
+ "operationId": "Databases_ListInaccessibleByServer",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved the list of inaccessible databases in a logical server",
+ "schema": {
+ "$ref": "#/definitions/DatabaseListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription."
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Gets a list of inaccessible databases in a logical server": {
+ "$ref": "./examples/ListVCoreInaccessibleDatabasesByServer.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/failover": {
+ "post": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Failovers a database.",
+ "operationId": "Databases_Failover",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "databaseName",
+ "in": "path",
+ "description": "The name of the database to failover.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "replicaType",
+ "in": "query",
+ "description": "The type of replica to be failed over.",
+ "required": false,
+ "type": "string",
+ "enum": [
+ "Primary",
+ "ReadableSecondary"
+ ],
+ "x-ms-enum": {
+ "name": "ReplicaType",
+ "modelAsString": true
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully completed database failover."
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 ManagementServiceFeatureDisabled - User attempted to use a feature which is disabled.\n\n * 400 DatabaseFailoverThrottled - There was a recent failover on the database or pool if database belongs in an elastic pool.\n\n * 400 DatabaseFailoverNotSupportedOnSKU - This type of customer initiated failover is not supported on the given SKU.\n\n * 409 ManagementServiceDatabaseBusy - Database '{0}' is busy with another operation. Please try your operation later.\n\n * 409 DatabaseNotInStateToFailover - The database is currently in a state such that failover cannot be issued."
+ },
+ "202": {
+ "description": "Database failover is in progress."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Failover an database": {
+ "$ref": "./examples/FailoverDatabase.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "DatabaseListResult": {
+ "description": "A list of databases.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Array of results.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Database"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to retrieve next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Sku": {
+ "description": "An ARM Resource SKU.",
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the SKU, typically, a letter + Number code, e.g. P3.",
+ "type": "string"
+ },
+ "tier": {
+ "description": "The tier or edition of the particular SKU, e.g. Basic, Premium.",
+ "type": "string"
+ },
+ "size": {
+ "description": "Size of the particular SKU",
+ "type": "string"
+ },
+ "family": {
+ "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.",
+ "type": "string"
+ },
+ "capacity": {
+ "format": "int32",
+ "description": "Capacity of the particular SKU.",
+ "type": "integer"
+ }
+ }
+ },
+ "DatabaseProperties": {
+ "description": "The database's properties.",
+ "type": "object",
+ "properties": {
+ "createMode": {
+ "description": "Specifies the mode of database creation.\r\n\r\nDefault: regular database creation.\r\n\r\nCopy: creates a database as a copy of an existing database. sourceDatabaseId must be specified as the resource ID of the source database.\r\n\r\nSecondary: creates a database as a secondary replica of an existing database. sourceDatabaseId must be specified as the resource ID of the existing primary database.\r\n\r\nPointInTimeRestore: Creates a database by restoring a point in time backup of an existing database. sourceDatabaseId must be specified as the resource ID of the existing database, and restorePointInTime must be specified.\r\n\r\nRecovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be specified as the recoverable database resource ID to restore.\r\n\r\nRestore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must be specified. If sourceDatabaseId is the database's original resource ID, then sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time.\r\n\r\nRestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point resource ID.\r\n\r\nCopy, Secondary, and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition.",
+ "enum": [
+ "Default",
+ "Copy",
+ "Secondary",
+ "PointInTimeRestore",
+ "Restore",
+ "Recovery",
+ "RestoreExternalBackup",
+ "RestoreExternalBackupSecondary",
+ "RestoreLongTermRetentionBackup",
+ "OnlineSecondary"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CreateMode",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "collation": {
+ "description": "The collation of the database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "maxSizeBytes": {
+ "format": "int64",
+ "description": "The max size of the database expressed in bytes.",
+ "type": "integer"
+ },
+ "sampleName": {
+ "description": "The name of the sample schema to apply when creating this database.",
+ "enum": [
+ "AdventureWorksLT",
+ "WideWorldImportersStd",
+ "WideWorldImportersFull"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SampleName",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "elasticPoolId": {
+ "description": "The resource identifier of the elastic pool containing this database.",
+ "type": "string"
+ },
+ "sourceDatabaseId": {
+ "description": "The resource identifier of the source database associated with create operation of this database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "status": {
+ "description": "The status of the database.",
+ "enum": [
+ "Online",
+ "Restoring",
+ "RecoveryPending",
+ "Recovering",
+ "Suspect",
+ "Offline",
+ "Standby",
+ "Shutdown",
+ "EmergencyMode",
+ "AutoClosed",
+ "Copying",
+ "Creating",
+ "Inaccessible",
+ "OfflineSecondary",
+ "Pausing",
+ "Paused",
+ "Resuming",
+ "Scaling",
+ "OfflineChangingDwPerformanceTiers",
+ "OnlineChangingDwPerformanceTiers",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "DatabaseStatus",
+ "modelAsString": true
+ }
+ },
+ "databaseId": {
+ "format": "uuid",
+ "description": "The ID of the database.",
+ "type": "string",
+ "readOnly": true
+ },
+ "creationDate": {
+ "format": "date-time",
+ "description": "The creation date of the database (ISO8601 format).",
+ "type": "string",
+ "readOnly": true
+ },
+ "currentServiceObjectiveName": {
+ "description": "The current service level objective name of the database.",
+ "type": "string",
+ "readOnly": true
+ },
+ "requestedServiceObjectiveName": {
+ "description": "The requested service level objective name of the database.",
+ "type": "string",
+ "readOnly": true
+ },
+ "defaultSecondaryLocation": {
+ "description": "The default secondary region for this database.",
+ "type": "string",
+ "readOnly": true
+ },
+ "failoverGroupId": {
+ "description": "Failover Group resource identifier that this database belongs to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "restorePointInTime": {
+ "format": "date-time",
+ "description": "Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "sourceDatabaseDeletionDate": {
+ "format": "date-time",
+ "description": "Specifies the time that the database was deleted.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "recoveryServicesRecoveryPointId": {
+ "description": "The resource identifier of the recovery point associated with create operation of this database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "longTermRetentionBackupResourceId": {
+ "description": "The resource identifier of the long term retention backup associated with create operation of this database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "recoverableDatabaseId": {
+ "description": "The resource identifier of the recoverable database associated with create operation of this database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "restorableDroppedDatabaseId": {
+ "description": "The resource identifier of the restorable dropped database associated with create operation of this database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "catalogCollation": {
+ "description": "Collation of the metadata catalog.",
+ "enum": [
+ "DATABASE_DEFAULT",
+ "SQL_Latin1_General_CP1_CI_AS"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CatalogCollationType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "zoneRedundant": {
+ "description": "Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones.",
+ "type": "boolean"
+ },
+ "licenseType": {
+ "description": "The license type to apply for this database.",
+ "enum": [
+ "LicenseIncluded",
+ "BasePrice"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DatabaseLicenseType",
+ "modelAsString": true
+ }
+ },
+ "maxLogSizeBytes": {
+ "format": "int64",
+ "description": "The max log size for this database.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "earliestRestoreDate": {
+ "format": "date-time",
+ "description": "This records the earliest start date and time that restore is available for this database (ISO8601 format).",
+ "type": "string",
+ "readOnly": true
+ },
+ "readScale": {
+ "description": "The state of read-only routing. If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica in the same region.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DatabaseReadScale",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "read",
+ "update"
+ ]
+ },
+ "readReplicaCount": {
+ "format": "int32",
+ "description": "The number of readonly secondary replicas associated with the database.",
+ "type": "integer"
+ },
+ "currentSku": {
+ "$ref": "#/definitions/Sku",
+ "description": "The name and tier of the SKU.",
+ "readOnly": true
+ },
+ "autoPauseDelay": {
+ "format": "int32",
+ "description": "Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled",
+ "type": "integer"
+ },
+ "storageAccountType": {
+ "description": "The storage account type used to store backups for this database. The current options are LRS (LocallyRedundantStorage), ZRS (ZoneRedundantStorage) and GRS (GeoRedundantStorage)",
+ "enum": [
+ "GRS",
+ "LRS",
+ "ZRS"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "StorageAccountType",
+ "modelAsString": true
+ }
+ },
+ "minCapacity": {
+ "format": "double",
+ "description": "Minimal capacity that database will always have allocated, if not paused",
+ "type": "number"
+ },
+ "pausedDate": {
+ "format": "date-time",
+ "description": "The date when database was paused by user configuration or action(ISO8601 format). Null if the database is ready.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resumedDate": {
+ "format": "date-time",
+ "description": "The date when database was resumed by user action or database login (ISO8601 format). Null if the database is paused.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Resource": {
+ "description": "ARM resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Resource name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Resource type.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "TrackedResource": {
+ "description": "ARM tracked top level resource.",
+ "required": [
+ "location"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "location": {
+ "description": "Resource location.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "tags": {
+ "description": "Resource tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "Database": {
+ "description": "A database resource.",
+ "required": [
+ "location"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "The database SKU.\r\n\r\nThe list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands:\r\n\r\n```azurecli\r\naz sql db list-editions -l -o table\r\n````\r\n\r\n```powershell\r\nGet-AzSqlServerServiceObjective -Location \r\n````\r\n"
+ },
+ "kind": {
+ "description": "Kind of database. This is metadata used for the Azure portal experience.",
+ "type": "string",
+ "readOnly": true
+ },
+ "managedBy": {
+ "description": "Resource that manages the database.",
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "$ref": "#/definitions/DatabaseProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "DatabaseUpdate": {
+ "description": "A database resource.",
+ "type": "object",
+ "properties": {
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "The name and tier of the SKU."
+ },
+ "properties": {
+ "$ref": "#/definitions/DatabaseProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ },
+ "tags": {
+ "description": "Resource tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "ResourceMoveDefinition": {
+ "description": "Contains the information necessary to perform a resource move (rename).",
+ "required": [
+ "id"
+ ],
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The target ID for the resource",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The subscription ID that identifies an Azure subscription.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The API version to use for the request.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ResourceGroupParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ServerNameParameter": {
+ "name": "serverName",
+ "in": "path",
+ "description": "The name of the server.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ManagedInstanceNameParameter": {
+ "name": "managedInstanceName",
+ "in": "path",
+ "description": "The name of the managed instance.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "DatabaseNameParameter": {
+ "name": "databaseName",
+ "in": "path",
+ "description": "The name of the database.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "BlobAuditingPolicyNameParameter": {
+ "name": "blobAuditingPolicyName",
+ "in": "path",
+ "description": "The name of the blob auditing policy.",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "default"
+ ],
+ "x-ms-parameter-location": "method"
+ },
+ "SqlVirtualMachineInstanceNameParameter": {
+ "name": "sqlVirtualMachineInstanceName",
+ "in": "path",
+ "description": "The name of the SqlVirtualMachineInstance.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "SqlVirtualMachineContainerNameParameter": {
+ "name": "sqlVirtualMachineContainerName",
+ "in": "path",
+ "description": "The name of the SqlVirtualMachineContainer.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "VirtualClusterNameParameter": {
+ "name": "virtualClusterName",
+ "in": "path",
+ "description": "The name of the virtual cluster.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/InaccessibleManagedDatabaseListByManagedInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/InaccessibleManagedDatabaseListByManagedInstance.json
new file mode 100644
index 000000000000..cc5683d4d64a
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/InaccessibleManagedDatabaseListByManagedInstance.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "testrg",
+ "managedInstanceName": "testcl",
+ "api-version": "2019-06-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb1",
+ "location": "southeastasia",
+ "name": "testdb1",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "creationDate": "2017-08-04T15:00:17.73Z",
+ "defaultSecondaryLocation": "North Europe",
+ "status": "Inaccessible"
+ },
+ "type": "Microsoft.Sql/managedInstances/databases"
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb2",
+ "location": "southeastasia",
+ "name": "testdb2",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "creationDate": "2017-08-04T15:00:17.73Z",
+ "defaultSecondaryLocation": "North Europe",
+ "status": "Inaccessible"
+ },
+ "type": "Microsoft.Sql/managedInstances/databases"
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreInaccessibleDatabasesByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreInaccessibleDatabasesByServer.json
new file mode 100644
index 000000000000..ebd8398b4682
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreInaccessibleDatabasesByServer.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "api-version": "2019-06-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "capacity": 2
+ },
+ "kind": "v12.0,user,vcore",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Inaccessible",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_2",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600,
+ "readScale": "Enabled",
+ "readReplicaCount": 1
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/managedDatabases.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/managedDatabases.json
new file mode 100644
index 000000000000..12ae43a67d05
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/managedDatabases.json
@@ -0,0 +1,717 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-06-01-preview",
+ "title": "SqlManagementClient",
+ "description": "The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases": {
+ "get": {
+ "tags": [
+ "ManagedDatabases"
+ ],
+ "description": "Gets a list of managed databases.",
+ "operationId": "ManagedDatabases_ListByInstance",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved the list of databases.",
+ "schema": {
+ "$ref": "#/definitions/ManagedDatabaseListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription."
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List databases by managed instances": {
+ "$ref": "./examples/ManagedDatabaseListByManagedInstance.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}": {
+ "get": {
+ "tags": [
+ "ManagedDatabases"
+ ],
+ "description": "Gets a managed database.",
+ "operationId": "ManagedDatabases_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved the specified managed database.",
+ "schema": {
+ "$ref": "#/definitions/ManagedDatabase"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ResourceNotFound - The requested resource was not found."
+ }
+ },
+ "x-ms-examples": {
+ "Gets a managed database": {
+ "$ref": "./examples/ManagedDatabaseGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ManagedDatabases"
+ ],
+ "description": "Creates a new database or updates an existing database.",
+ "operationId": "ManagedDatabases_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The requested database resource state.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ManagedDatabase"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully updated the database.",
+ "schema": {
+ "$ref": "#/definitions/ManagedDatabase"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 PitrPointInTimeInvalid - The point in time {0} is not valid. Valid point in time range from {1} days early to now and not before source server creation time.\n\n * 400 CannotUseTrailingWhitespacesInDatabaseName - The database name validation failed.\n\n * 400 InvalidBackupRetentionPeriod - The retention days of {0} is not a valid configuration. Valid backup retention in days must be between {1} and {2}\n\n * 400 ManagedDatabaseNameInUse - Database '{0}' already exists. Choose a different database name.\n\n * 400 NoMoreSpaceInManagedInstance - The managed instance has reached its storage limit. The storage usage for the managed instance cannot exceed (%d) MBs.\n\n * 400 ManagedInstanceUpdateSloInProgress - \"The operation could not be completed because a service tier change is in progress for managed instance '{0}.' Please wait for the operation in progress to complete and try again.\"\n\n * 400 SourceDatabaseNotFound - The source database does not exist.\n\n * 400 RegionDoesNotSupportVersion - A user attempted to create a server of a specified version in a location where that server version isn't supported.\n\n * 400 PasswordNotComplex - The provided password is not complex enough.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidServerName - Invalid server name specified.\n\n * 400 SourceServerNotFound - The server part of a source database id provided in a CreateDatabaseAsCopy API call doesn't map to an existing server.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 CurrentDatabaseSizeExceedsMaxSize - User attempted to reduce the max size for a database to a size smaller than the current usage.\n\n * 400 InvalidCollation - Collation is not recognized by the server.\n\n * 400 ServerNotFound - The requested server was not found.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CurrentDatabaseLogSizeExceedsMaxSize - User attempted to change the database to a sku with lower max log size than the current usage.\n\n * 400 DatabaseNumberLimitReached - Maximum number of databases for SQL Database Managed Instance reached.\n\n * 400 InvalidDatabaseCreateOrUpdateRequest - The request body for the create or update database operation is invalid.\n\n * 400 InvalidResourceId - Invalid resource identifier.\n\n * 400 InvalidSourceDatabaseId - Invalid source database identifier.\n\n * 400 InvalidRestorableDroppedDatabaseId - Invalid restorable dropped database identifier\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MissingCollation - Collation is required.\n\n * 400 MissingSourceDatabaseId - Missing source database identifier.\n\n * 400 MissingRestorePointInTime - Missing restore point in time\n\n * 400 MissingStorageContainerSasToken - Missing storage container SAS token\n\n * 400 MissingStorageContainerUri - Missing storage container URI\n\n * 400 RestorableDroppedDatabaseIdGivenForRestoreWithSourceDatabaseId - Cannot specify restorableDroppedDatabaseId when sourceDatabaseId is already given in restore create mode\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 CannotFindServerCertificateWithThumbprint - Cannot find server certificate with thumbprint '{0}'. Please use PowerShell Cmdlet 'Add-AzureRmSqlManagedInstanceTransparentDataEncryptionCertificate' to create the certificate.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 RestoreSourceDatabaseNotFound - Could not find database '{0}' at time '{1}' that can be restored.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 RemoteDatabaseExists - The destination database name already exists on the destination server.\n\n * 409 ConflictingDatabaseOperation - There is already some operation on the database and the current operation should wait till it is done.\n\n * 409 SubscriptionDisabled - Subscription is disabled.\n\n * 409 ManagementServiceDatabaseBusy - Database '{0}' is busy with another operation. Please try your operation later.\n\n * 409 ConflictingSystemOperationInProgress - A system maintenance operation is in progress on the database and further operations need to wait until it is completed.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 500 ActivateOrDeactivateWorkflowThrottling - Activation or deactivation workflow failed because there are too many concurrent workflows\n\n * 503 DatabaseUnavailable - The operation failed because the database is unavailable.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout."
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "201": {
+ "description": "Successfully created the database.",
+ "schema": {
+ "$ref": "#/definitions/ManagedDatabase"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Creates a new managed database with minimal properties": {
+ "$ref": "./examples/ManagedDatabaseCreateMin.json"
+ },
+ "Creates a new managed database with maximal properties": {
+ "$ref": "./examples/ManagedDatabaseCreateMax.json"
+ },
+ "Creates a new managed database using point in time restore": {
+ "$ref": "./examples/ManagedDatabaseCreatePointInTimeRestore.json"
+ },
+ "Creates a new managed database by restoring from an external backup": {
+ "$ref": "./examples/ManagedDatabaseCreateRestoreExternalBackup.json"
+ },
+ "Creates a new managed database from restoring a geo-replicated backup": {
+ "$ref": "./examples/ManagedDatabaseCreateRecovery.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ManagedDatabases"
+ ],
+ "description": "Deletes a managed database.",
+ "operationId": "ManagedDatabases_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully deleted the managed database."
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 GeoReplicationDatabaseNotPrimary - The operation cannot be performed since the database '{0}' is a replication target.\n\n * 400 GeoReplicationDatabaseNotSecondary - The operation expects the database to be a replication target.\n\n * 400 ManagedInstanceUpdateSloInProgress - \"The operation could not be completed because a service tier change is in progress for managed instance '{0}.' Please wait for the operation in progress to complete and try again.\"\n\n * 400 DropDisallowedDuringFailover - Can not drop database because a failover operation is in progress on the failover group.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 409 ServerDisabled - Server is disabled.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout."
+ },
+ "202": {
+ "description": "Deleting the managed database is in progress."
+ },
+ "204": {
+ "description": "The specified managed database does not exist."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete managed database": {
+ "$ref": "./examples/ManagedDatabaseDelete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "ManagedDatabases"
+ ],
+ "description": "Updates an existing database.",
+ "operationId": "ManagedDatabases_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The requested database resource state.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ManagedDatabaseUpdate"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully updated the database.",
+ "schema": {
+ "$ref": "#/definitions/ManagedDatabase"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 PitrPointInTimeInvalid - The point in time {0} is not valid. Valid point in time range from {1} days early to now and not before source server creation time.\n\n * 400 CannotUseTrailingWhitespacesInDatabaseName - The database name validation failed.\n\n * 400 InvalidBackupRetentionPeriod - The retention days of {0} is not a valid configuration. Valid backup retention in days must be between {1} and {2}\n\n * 400 ManagedDatabaseNameInUse - Database '{0}' already exists. Choose a different database name.\n\n * 400 NoMoreSpaceInManagedInstance - The managed instance has reached its storage limit. The storage usage for the managed instance cannot exceed (%d) MBs.\n\n * 400 ManagedInstanceUpdateSloInProgress - \"The operation could not be completed because a service tier change is in progress for managed instance '{0}.' Please wait for the operation in progress to complete and try again.\"\n\n * 400 SourceDatabaseNotFound - The source database does not exist.\n\n * 400 RegionDoesNotSupportVersion - A user attempted to create a server of a specified version in a location where that server version isn't supported.\n\n * 400 PasswordNotComplex - The provided password is not complex enough.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidServerName - Invalid server name specified.\n\n * 400 SourceServerNotFound - The server part of a source database id provided in a CreateDatabaseAsCopy API call doesn't map to an existing server.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 CurrentDatabaseSizeExceedsMaxSize - User attempted to reduce the max size for a database to a size smaller than the current usage.\n\n * 400 InvalidCollation - Collation is not recognized by the server.\n\n * 400 ServerNotFound - The requested server was not found.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CurrentDatabaseLogSizeExceedsMaxSize - User attempted to change the database to a sku with lower max log size than the current usage.\n\n * 400 DatabaseNumberLimitReached - Maximum number of databases for SQL Database Managed Instance reached.\n\n * 400 InvalidDatabaseCreateOrUpdateRequest - The request body for the create or update database operation is invalid.\n\n * 400 InvalidResourceId - Invalid resource identifier.\n\n * 400 InvalidSourceDatabaseId - Invalid source database identifier.\n\n * 400 InvalidRestorableDroppedDatabaseId - Invalid restorable dropped database identifier\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MissingCollation - Collation is required.\n\n * 400 MissingSourceDatabaseId - Missing source database identifier.\n\n * 400 MissingRestorePointInTime - Missing restore point in time\n\n * 400 MissingStorageContainerSasToken - Missing storage container SAS token\n\n * 400 MissingStorageContainerUri - Missing storage container URI\n\n * 400 RestorableDroppedDatabaseIdGivenForRestoreWithSourceDatabaseId - Cannot specify restorableDroppedDatabaseId when sourceDatabaseId is already given in restore create mode\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 CannotFindServerCertificateWithThumbprint - Cannot find server certificate with thumbprint '{0}'. Please use PowerShell Cmdlet 'Add-AzureRmSqlManagedInstanceTransparentDataEncryptionCertificate' to create the certificate.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 RestoreSourceDatabaseNotFound - Could not find database '{0}' at time '{1}' that can be restored.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 RemoteDatabaseExists - The destination database name already exists on the destination server.\n\n * 409 ConflictingDatabaseOperation - There is already some operation on the database and the current operation should wait till it is done.\n\n * 409 SubscriptionDisabled - Subscription is disabled.\n\n * 409 ManagementServiceDatabaseBusy - Database '{0}' is busy with another operation. Please try your operation later.\n\n * 409 ConflictingSystemOperationInProgress - A system maintenance operation is in progress on the database and further operations need to wait until it is completed.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 500 ActivateOrDeactivateWorkflowThrottling - Activation or deactivation workflow failed because there are too many concurrent workflows\n\n * 503 DatabaseUnavailable - The operation failed because the database is unavailable.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout."
+ },
+ "202": {
+ "description": "Updating the managed database is in progress."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Updates a managed database with minimal properties": {
+ "$ref": "./examples/ManagedDatabaseUpdateMin.json"
+ },
+ "Updates a managed database with maximal properties": {
+ "$ref": "./examples/ManagedDatabaseUpdateMax.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/inaccessibleManagedDatabases": {
+ "get": {
+ "tags": [
+ "ManagedDatabases"
+ ],
+ "description": "Gets a list of inaccessible managed databases in a managed instance",
+ "operationId": "ManagedDatabases_ListInaccessibleByInstance",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved the list of inaccessible managed databases in a managed instance.",
+ "schema": {
+ "$ref": "#/definitions/ManagedDatabaseListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription."
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List inaccessible managed databases by managed instances": {
+ "$ref": "./examples/InaccessibleManagedDatabaseListByManagedInstance.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/completeRestore": {
+ "post": {
+ "tags": [
+ "ManagedDatabases"
+ ],
+ "description": "Completes the restore operation on a managed database.",
+ "operationId": "ManagedDatabases_CompleteRestore",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The definition for completing the restore of this managed database.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CompleteDatabaseRestoreDefinition"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully completed restore request."
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 InvalidDatabaseCompleteRestoreRequest - The complete database restore request is invalid\n\n * 400 InvalidDatabaseCompleteRestoreRequestLastBackupName - The last backup name is invalid\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 SourceDatabaseNotFound - The source database does not exist.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 MissingThumbprint - Can not find server certificate.\n\n * 400 PartiallyContainedDatabaseUnsupported - \"Backup for a partially contained database is not supported.\"\n\n * 400 RequiredBackupIsNotLastRestored - Migration cannot be completed because provided backup file name is not the name of the last backup file that is restored.\n\n * 400 IncompatiblePhysicalLayoutTooFewDataFiles - Database backup contains incompatible physical layout. No data files are found in the backup.\n\n * 400 IncompatiblePhysicalLayoutNonOnlineDataFilesExist - Database backup contains incompatible physical layout. Non-online data files exist.\n\n * 400 IncompatiblePhysicalLayoutWrongNumberOfLogFiles - Database backup contains incompatible physical layout. Multiple log files are not supported.\n\n * 400 IncompatiblePhysicalLayoutNonOnlineLogFilesExist - Database backup contains incompatible physical layout. Non-online log files exist.\n\n * 400 IncompatiblePhysicalLayoutTooManyNonDataLogFiles - Database backup contains incompatible physical layout. Too many non-data/log files.\n\n * 400 BackupSetNotFound - \"No backups were found to restore the database. Please contact support to restore the database.\n\n * 400 ExternalBackupAlreadySignaledToComplete - The restore request has already been signaled to complete.\n\n * 400 FullBackupNotFound - Full backup can not be found.\n\n * 400 ExternalBackupRestoreHasNotBeenStarted - The restore request can only be completed once the restore has started.\n\n * 400 ExternalBackupUpgradeInProgress - The restore request cannot be completed, since upgrade is in progress.\n\n * 400 RestoreFromStripedBackupsNotEnabled - Restoring from striped backups is not supported.\n\n * 400 BrokenRestorePlanNoFullBackup - The restore plan is broken because there is no full backup.\n\n * 400 IncompatiblePhysicalLayoutTooManyXTPFiles - Database backup contains incompatible physical layout. Multiple files found in the filegroup that contains MEMORY_OPTIMIZED_DATA.\n\n * 400 BrokenRestorePlanWrongLogBackupLSN - The restore plan is broken because firstLsn of current log backup is not <= lastLsn of next log backup.\n\n * 400 BrokenRestorePlanWrongDiffBackupLSN - The restore plan is broken because firstLsn of diff backup is not >= firstLsn of full backup.\n\n * 400 BrokenRestorePlanGapInLogBackups - The restore plan is broken because firstLsn of current log backup is not equal to lastLsn of prev log backup.\n\n * 400 XtpInitializedDuringRestore - Memory-optimized filegroup must be empty in order to be restored on General Purpose tier of SQL Database Managed Instance.\n\n * 400 FullBackupMissingChecksum - Provided full backup is missing checksum.\n\n * 400 FullBackupDamaged - Provided full backup is damaged.\n\n * 400 ManagedInstanceStorageLimitHit - The managed instance has reached its storage limit.\n\n * 404 ResourceDoesNotExist - Resource with the name '{0}' does not exist. To continue, specify a valid resource name.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources."
+ },
+ "202": {
+ "description": "Completing restore request is in progress."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Completes a managed database external backup restore.": {
+ "$ref": "./examples/ManagedDatabaseCompleteExternalRestore.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ManagedDatabaseListResult": {
+ "description": "A list of managed databases.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Array of results.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedDatabase"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to retrieve next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ManagedDatabaseProperties": {
+ "description": "The managed database's properties.",
+ "type": "object",
+ "properties": {
+ "collation": {
+ "description": "Collation of the managed database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "status": {
+ "description": "Status of the database.",
+ "enum": [
+ "Online",
+ "Offline",
+ "Shutdown",
+ "Creating",
+ "Inaccessible",
+ "Restoring",
+ "Updating"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "ManagedDatabaseStatus",
+ "modelAsString": true
+ }
+ },
+ "creationDate": {
+ "format": "date-time",
+ "description": "Creation date of the database.",
+ "type": "string",
+ "readOnly": true
+ },
+ "earliestRestorePoint": {
+ "format": "date-time",
+ "description": "Earliest restore point in time for point in time restore.",
+ "type": "string",
+ "readOnly": true
+ },
+ "restorePointInTime": {
+ "format": "date-time",
+ "description": "Conditional. If createMode is PointInTimeRestore, this value is required. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "defaultSecondaryLocation": {
+ "description": "Geo paired region.",
+ "type": "string",
+ "readOnly": true
+ },
+ "catalogCollation": {
+ "description": "Collation of the metadata catalog.",
+ "enum": [
+ "DATABASE_DEFAULT",
+ "SQL_Latin1_General_CP1_CI_AS"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CatalogCollationType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "createMode": {
+ "description": "Managed database create mode. PointInTimeRestore: Create a database by restoring a point in time backup of an existing database. SourceDatabaseName, SourceManagedInstanceName and PointInTime must be specified. RestoreExternalBackup: Create a database by restoring from external backup files. Collation, StorageContainerUri and StorageContainerSasToken must be specified. Recovery: Creates a database by restoring a geo-replicated backup. RecoverableDatabaseId must be specified as the recoverable database resource ID to restore.",
+ "enum": [
+ "Default",
+ "RestoreExternalBackup",
+ "PointInTimeRestore",
+ "Recovery"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ManagedDatabaseCreateMode",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "storageContainerUri": {
+ "description": "Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri of the storage container where backups for this restore are stored.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "sourceDatabaseId": {
+ "description": "The resource identifier of the source database associated with create operation of this database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "restorableDroppedDatabaseId": {
+ "description": "The restorable dropped database resource id to restore when creating this database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "storageContainerSasToken": {
+ "description": "Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the storage container sas token.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "failoverGroupId": {
+ "description": "Instance Failover Group resource identifier that this managed database belongs to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "recoverableDatabaseId": {
+ "description": "The resource identifier of the recoverable database associated with create operation of this database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ }
+ }
+ },
+ "Resource": {
+ "description": "ARM resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Resource name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Resource type.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "TrackedResource": {
+ "description": "ARM tracked top level resource.",
+ "required": [
+ "location"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "location": {
+ "description": "Resource location.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "tags": {
+ "description": "Resource tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "ManagedDatabase": {
+ "description": "A managed database resource.",
+ "required": [
+ "location"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ManagedDatabaseProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ManagedDatabaseUpdate": {
+ "description": "An managed database update.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ManagedDatabaseProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ },
+ "tags": {
+ "description": "Resource tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "CompleteDatabaseRestoreDefinition": {
+ "description": "Contains the information necessary to perform a complete database restore operation.",
+ "required": [
+ "lastBackupName"
+ ],
+ "type": "object",
+ "properties": {
+ "lastBackupName": {
+ "description": "The last backup name to apply",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The subscription ID that identifies an Azure subscription.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The API version to use for the request.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ResourceGroupParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ServerNameParameter": {
+ "name": "serverName",
+ "in": "path",
+ "description": "The name of the server.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ManagedInstanceNameParameter": {
+ "name": "managedInstanceName",
+ "in": "path",
+ "description": "The name of the managed instance.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "DatabaseNameParameter": {
+ "name": "databaseName",
+ "in": "path",
+ "description": "The name of the database.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "BlobAuditingPolicyNameParameter": {
+ "name": "blobAuditingPolicyName",
+ "in": "path",
+ "description": "The name of the blob auditing policy.",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "default"
+ ],
+ "x-ms-parameter-location": "method"
+ },
+ "SqlVirtualMachineInstanceNameParameter": {
+ "name": "sqlVirtualMachineInstanceName",
+ "in": "path",
+ "description": "The name of the SqlVirtualMachineInstance.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "SqlVirtualMachineContainerNameParameter": {
+ "name": "sqlVirtualMachineContainerName",
+ "in": "path",
+ "description": "The name of the SqlVirtualMachineContainer.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "VirtualClusterNameParameter": {
+ "name": "virtualClusterName",
+ "in": "path",
+ "description": "The name of the virtual cluster.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ }
+}
\ No newline at end of file
From d3d8e34b2f387400848059afa1caa7831816dd3e Mon Sep 17 00:00:00 2001
From: Tom FitzMacken
Date: Wed, 6 Nov 2019 14:58:25 -0800
Subject: [PATCH 160/189] remove locale from links (#7722)
---
.../preview/2017-07-01-preview/servicefabric.json | 6 +++---
.../preview/2019-03-01-preview/cluster.json | 10 +++++-----
.../preview/2019-06-01-preview/cluster.json | 10 +++++-----
.../stable/2018-02-01/cluster.json | 10 +++++-----
.../stable/2019-03-01/cluster.json | 10 +++++-----
5 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/servicefabric.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/servicefabric.json
index 22fc362e1fe9..3a26c651dde5 100644
--- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/servicefabric.json
+++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/servicefabric.json
@@ -1621,7 +1621,7 @@
"properties": {
"reliabilityLevel": {
"type": "string",
- "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).",
+ "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).",
"enum": [
"Bronze",
"Silver",
@@ -2133,7 +2133,7 @@
},
"DurabilityLevel": {
"type": "string",
- "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 30 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.\n",
+ "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 30 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.\n",
"enum": [
"Bronze",
"Silver",
@@ -2142,7 +2142,7 @@
},
"ReliabilityLevel": {
"type": "string",
- "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n",
+ "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n",
"enum": [
"None",
"Bronze",
diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2019-03-01-preview/cluster.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2019-03-01-preview/cluster.json
index e674cfcc9652..c770f498068c 100644
--- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2019-03-01-preview/cluster.json
+++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2019-03-01-preview/cluster.json
@@ -864,7 +864,7 @@
},
"reliabilityLevel": {
"$ref": "#/definitions/ReliabilityLevel",
- "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n"
+ "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n"
},
"reverseProxyCertificate": {
"$ref": "#/definitions/CertificateDescription",
@@ -944,7 +944,7 @@
},
"reliabilityLevel": {
"$ref": "#/definitions/ReliabilityLevel",
- "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n"
+ "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n"
},
"reverseProxyCertificate": {
"$ref": "#/definitions/CertificateDescription",
@@ -1127,7 +1127,7 @@
},
"DurabilityLevel": {
"type": "string",
- "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.\n",
+ "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.\n",
"enum": [
"Bronze",
"Silver",
@@ -1190,7 +1190,7 @@
},
"durabilityLevel": {
"$ref": "#/definitions/DurabilityLevel",
- "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.\n"
+ "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.\n"
},
"applicationPorts": {
"$ref": "#/definitions/EndpointRangeDescription",
@@ -1257,7 +1257,7 @@
},
"ReliabilityLevel": {
"type": "string",
- "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n",
+ "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n",
"enum": [
"None",
"Bronze",
diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2019-06-01-preview/cluster.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2019-06-01-preview/cluster.json
index 3553d05b6815..572e6ed4a7bb 100644
--- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2019-06-01-preview/cluster.json
+++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2019-06-01-preview/cluster.json
@@ -864,7 +864,7 @@
},
"reliabilityLevel": {
"$ref": "#/definitions/ReliabilityLevel",
- "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n"
+ "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n"
},
"reverseProxyCertificate": {
"$ref": "#/definitions/CertificateDescription",
@@ -944,7 +944,7 @@
},
"reliabilityLevel": {
"$ref": "#/definitions/ReliabilityLevel",
- "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n"
+ "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n"
},
"reverseProxyCertificate": {
"$ref": "#/definitions/CertificateDescription",
@@ -1131,7 +1131,7 @@
},
"DurabilityLevel": {
"type": "string",
- "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.\n",
+ "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.\n",
"enum": [
"Bronze",
"Silver",
@@ -1194,7 +1194,7 @@
},
"durabilityLevel": {
"$ref": "#/definitions/DurabilityLevel",
- "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.\n"
+ "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.\n"
},
"applicationPorts": {
"$ref": "#/definitions/EndpointRangeDescription",
@@ -1261,7 +1261,7 @@
},
"ReliabilityLevel": {
"type": "string",
- "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n",
+ "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n",
"enum": [
"None",
"Bronze",
diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2018-02-01/cluster.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2018-02-01/cluster.json
index effe1214dbed..37c8a0163e0d 100644
--- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2018-02-01/cluster.json
+++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2018-02-01/cluster.json
@@ -860,7 +860,7 @@
},
"reliabilityLevel": {
"$ref": "#/definitions/ReliabilityLevel",
- "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n"
+ "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n"
},
"reverseProxyCertificate": {
"$ref": "#/definitions/CertificateDescription",
@@ -936,7 +936,7 @@
},
"reliabilityLevel": {
"$ref": "#/definitions/ReliabilityLevel",
- "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n"
+ "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n"
},
"reverseProxyCertificate": {
"$ref": "#/definitions/CertificateDescription",
@@ -1119,7 +1119,7 @@
},
"DurabilityLevel": {
"type": "string",
- "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM SKUs like D15_V2, G5 etc.\n",
+ "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM SKUs like D15_V2, G5 etc.\n",
"enum": [
"Bronze",
"Silver",
@@ -1182,7 +1182,7 @@
},
"durabilityLevel": {
"$ref": "#/definitions/DurabilityLevel",
- "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM SKUs like D15_V2, G5 etc.\n"
+ "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM SKUs like D15_V2, G5 etc.\n"
},
"applicationPorts": {
"$ref": "#/definitions/EndpointRangeDescription",
@@ -1249,7 +1249,7 @@
},
"ReliabilityLevel": {
"type": "string",
- "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n",
+ "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n",
"enum": [
"None",
"Bronze",
diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/cluster.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/cluster.json
index 735621568520..5e5c17d9c6dc 100644
--- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/cluster.json
+++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2019-03-01/cluster.json
@@ -864,7 +864,7 @@
},
"reliabilityLevel": {
"$ref": "#/definitions/ReliabilityLevel",
- "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n"
+ "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n"
},
"reverseProxyCertificate": {
"$ref": "#/definitions/CertificateDescription",
@@ -944,7 +944,7 @@
},
"reliabilityLevel": {
"$ref": "#/definitions/ReliabilityLevel",
- "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n"
+ "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n"
},
"reverseProxyCertificate": {
"$ref": "#/definitions/CertificateDescription",
@@ -1127,7 +1127,7 @@
},
"DurabilityLevel": {
"type": "string",
- "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.\n",
+ "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.\n",
"enum": [
"Bronze",
"Silver",
@@ -1190,7 +1190,7 @@
},
"durabilityLevel": {
"$ref": "#/definitions/DurabilityLevel",
- "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.\n"
+ "description": "The durability level of the node type. Learn about [DurabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - Bronze - No privileges. This is the default.\n - Silver - The infrastructure jobs can be paused for a duration of 10 minutes per UD.\n - Gold - The infrastructure jobs can be paused for a duration of 2 hours per UD. Gold durability can be enabled only on full node VM skus like D15_V2, G5 etc.\n"
},
"applicationPorts": {
"$ref": "#/definitions/EndpointRangeDescription",
@@ -1257,7 +1257,7 @@
},
"ReliabilityLevel": {
"type": "string",
- "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n",
+ "description": "The reliability level sets the replica set size of system services. Learn about [ReliabilityLevel](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity).\n\n - None - Run the System services with a target replica set count of 1. This should only be used for test clusters.\n - Bronze - Run the System services with a target replica set count of 3. This should only be used for test clusters.\n - Silver - Run the System services with a target replica set count of 5.\n - Gold - Run the System services with a target replica set count of 7.\n - Platinum - Run the System services with a target replica set count of 9.\n",
"enum": [
"None",
"Bronze",
From d28c1fc24ac589422af44ef2769f8c3ad8dc44e7 Mon Sep 17 00:00:00 2001
From: Zhenfeng
Date: Wed, 6 Nov 2019 15:32:05 -0800
Subject: [PATCH 161/189] [SRP] Add account sku to file/blob service response
(#7694)
* [SRP] Add account sku to file/blob service response
* Fix the sku type
* Make skuName and tier common attributes
---
.../stable/2019-06-01/blob.json | 5 +++
.../stable/2019-06-01/common.json | 45 +++++++++++++++++++
.../2019-06-01/examples/BlobServicesGet.json | 4 ++
.../2019-06-01/examples/BlobServicesList.json | 4 ++
.../2019-06-01/examples/BlobServicesPut.json | 4 ++
.../2019-06-01/examples/FileServicesGet.json | 4 ++
.../2019-06-01/examples/FileServicesList.json | 4 ++
.../2019-06-01/examples/FileServicesPut.json | 4 ++
.../stable/2019-06-01/file.json | 5 +++
.../stable/2019-06-01/storage.json | 41 ++++-------------
10 files changed, 87 insertions(+), 33 deletions(-)
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json
index ec75e8a6f0ca..cb824822a92b 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json
@@ -1147,6 +1147,11 @@
"x-ms-client-flatten": true,
"x-ms-client-name": "BlobServiceProperties",
"description": "The properties of a storage account’s Blob service."
+ },
+ "sku": {
+ "$ref": "./common.json#/definitions/Sku",
+ "readOnly": true,
+ "description": "Sku name and tier."
}
},
"allOf": [
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/common.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/common.json
index d36df1e92797..143c8082b56c 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/common.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/common.json
@@ -86,6 +86,51 @@
}
},
"description": "The service properties for soft delete."
+ },
+ "Sku": {
+ "properties": {
+ "name": {
+ "$ref": "#/definitions/SkuName"
+ },
+ "tier": {
+ "$ref": "#/definitions/Tier"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "description": "The SKU of the storage account."
+ },
+ "SkuName": {
+ "type": "string",
+ "description": "The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.",
+ "enum": [
+ "Standard_LRS",
+ "Standard_GRS",
+ "Standard_RAGRS",
+ "Standard_ZRS",
+ "Premium_LRS",
+ "Premium_ZRS",
+ "Standard_GZRS",
+ "Standard_RAGZRS"
+ ],
+ "x-ms-enum": {
+ "name": "SkuName",
+ "modelAsString": true
+ }
+ },
+ "Tier": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The SKU tier. This is based on the SKU name.",
+ "enum": [
+ "Standard",
+ "Premium"
+ ],
+ "x-ms-enum": {
+ "name": "SkuTier",
+ "modelAsString": false
+ }
}
}
}
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/BlobServicesGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/BlobServicesGet.json
index f823f3c9ce2f..26f8a731e7b4 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/BlobServicesGet.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/BlobServicesGet.json
@@ -84,6 +84,10 @@
"changeFeed": {
"enabled": true
}
+ },
+ "sku": {
+ "name": "Standard_GRS",
+ "tier": "Standard"
}
}
}
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/BlobServicesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/BlobServicesList.json
index e1e805d22e6e..275aa71d4990 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/BlobServicesList.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/BlobServicesList.json
@@ -85,6 +85,10 @@
"changeFeed": {
"enabled": true
}
+ },
+ "sku": {
+ "name": "Standard_GRS",
+ "tier": "Standard"
}
}
]
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/BlobServicesPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/BlobServicesPut.json
index edb6669ab5db..d6bcf2ed6988 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/BlobServicesPut.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/BlobServicesPut.json
@@ -158,6 +158,10 @@
"changeFeed": {
"enabled": true
}
+ },
+ "sku": {
+ "name": "Standard_GRS",
+ "tier": "Standard"
}
}
}
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/FileServicesGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/FileServicesGet.json
index fd1cf9135663..0ab631868c4a 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/FileServicesGet.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/FileServicesGet.json
@@ -75,6 +75,10 @@
}
]
}
+ },
+ "sku": {
+ "name": "Standard_GRS",
+ "tier": "Standard"
}
}
}
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/FileServicesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/FileServicesList.json
index 4bc733bf0ee5..4f9834609d37 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/FileServicesList.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/FileServicesList.json
@@ -76,6 +76,10 @@
}
]
}
+ },
+ "sku": {
+ "name": "Standard_GRS",
+ "tier": "Standard"
}
}
]
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/FileServicesPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/FileServicesPut.json
index a99a6b58f6cf..d985c4128863 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/FileServicesPut.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/FileServicesPut.json
@@ -140,6 +140,10 @@
}
]
}
+ },
+ "sku": {
+ "name": "Standard_GRS",
+ "tier": "Standard"
}
}
}
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/file.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/file.json
index bdf58b61f540..03684e8c5818 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/file.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/file.json
@@ -441,6 +441,11 @@
"x-ms-client-flatten": true,
"x-ms-client-name": "FileServiceProperties",
"description": "The properties of File services in storage account."
+ },
+ "sku": {
+ "$ref": "./common.json#/definitions/Sku",
+ "readOnly": true,
+ "description": "Sku name and tier."
}
},
"allOf": [
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
index 152e2623a191..5ccd91b01a45 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
@@ -1176,7 +1176,7 @@
"readOnly": true,
"type": "array",
"items": {
- "$ref": "#/definitions/Sku"
+ "$ref": "#/definitions/SkuInformation"
},
"description": "Get the list result of storage SKUs and their properties."
}
@@ -1211,38 +1211,13 @@
},
"description": "The CheckNameAvailability operation response."
},
- "Sku": {
+ "SkuInformation": {
"properties": {
"name": {
- "type": "string",
- "description": "Gets or sets the SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.",
- "enum": [
- "Standard_LRS",
- "Standard_GRS",
- "Standard_RAGRS",
- "Standard_ZRS",
- "Premium_LRS",
- "Premium_ZRS",
- "Standard_GZRS",
- "Standard_RAGZRS"
- ],
- "x-ms-enum": {
- "name": "SkuName",
- "modelAsString": true
- }
+ "$ref": "./common.json#/definitions/SkuName"
},
"tier": {
- "readOnly": true,
- "type": "string",
- "description": "Gets the SKU tier. This is based on the SKU name.",
- "enum": [
- "Standard",
- "Premium"
- ],
- "x-ms-enum": {
- "name": "SkuTier",
- "modelAsString": false
- }
+ "$ref": "./common.json#/definitions/Tier"
},
"resourceType": {
"readOnly": true,
@@ -1292,7 +1267,7 @@
"required": [
"name"
],
- "description": "The SKU of the storage account."
+ "description": "Storage SKU and its properties"
},
"CustomDomain": {
"properties": {
@@ -1671,7 +1646,7 @@
"StorageAccountCreateParameters": {
"properties": {
"sku": {
- "$ref": "#/definitions/Sku",
+ "$ref": "./common.json#/definitions/Sku",
"description": "Required. Gets or sets the SKU name."
},
"kind": {
@@ -2037,7 +2012,7 @@
"StorageAccount": {
"properties": {
"sku": {
- "$ref": "#/definitions/Sku",
+ "$ref": "./common.json#/definitions/Sku",
"readOnly": true,
"description": "Gets the SKU."
},
@@ -2204,7 +2179,7 @@
"StorageAccountUpdateParameters": {
"properties": {
"sku": {
- "$ref": "#/definitions/Sku",
+ "$ref": "./common.json#/definitions/Sku",
"description": "Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any other value."
},
"tags": {
From 68d97b7d891414757541f056eec638d3989241c4 Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Wed, 6 Nov 2019 15:37:29 -0800
Subject: [PATCH 162/189] fix ci error
---
.../examples/ListVCoreDatabasesByServer.json | 63 +++++++++++++++++++
.../ManagedDatabaseListByManagedInstance.json | 41 ++++++++++++
2 files changed, 104 insertions(+)
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreDatabasesByServer.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseListByManagedInstance.json
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreDatabasesByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreDatabasesByServer.json
new file mode 100644
index 000000000000..48a370ef982c
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreDatabasesByServer.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "api-version": "2017-10-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "capacity": 2
+ },
+ "kind": "v12.0,user,vcore",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_2",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600,
+ "readScale": "Enabled",
+ "readReplicaCount": 1
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ },
+ {
+ "sku": {
+ "name": "System0",
+ "tier": "System"
+ },
+ "kind": "v12.0,system",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 32212254720,
+ "status": "Online",
+ "databaseId": "e6be351f-2cc9-4604-9e52-b0b28b2710b0",
+ "creationDate": "2017-06-07T04:23:42.537Z",
+ "currentServiceObjectiveName": "System0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/master",
+ "name": "master",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseListByManagedInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseListByManagedInstance.json
new file mode 100644
index 000000000000..1d4f9899720a
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseListByManagedInstance.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Test1",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "managedDatabase",
+ "api-version": "2015-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb1",
+ "location": "southeastasia",
+ "name": "testdb1",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "creationDate": "2017-08-04T15:00:17.73Z",
+ "defaultSecondaryLocation": "North Europe",
+ "status": "Online"
+ },
+ "type": "Microsoft.Sql/managedInstances/databases"
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb2",
+ "location": "southeastasia",
+ "name": "testdb2",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "creationDate": "2017-08-04T15:00:17.73Z",
+ "defaultSecondaryLocation": "North Europe",
+ "status": "Online"
+ },
+ "type": "Microsoft.Sql/managedInstances/databases"
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
From dc6afa978df271b1275dfb09d1a6684d720a4547 Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Wed, 6 Nov 2019 16:02:03 -0800
Subject: [PATCH 163/189] add all files
---
.../examples/CreateDatabaseCopyMode.json | 69 ++++++++++++++++
.../examples/CreateDatabaseDefaultMode.json | 70 ++++++++++++++++
.../examples/CreateDatabaseMin.json | 61 ++++++++++++++
.../examples/CreateDatabasePITRMode.json | 70 ++++++++++++++++
.../examples/CreateDatabaseRecoveryMode.json | 69 ++++++++++++++++
.../examples/CreateDatabaseRestoreMode.json | 70 ++++++++++++++++
.../examples/CreateDatabaseRestoreMode2.json | 69 ++++++++++++++++
.../examples/CreateDatabaseSecondaryMode.json | 69 ++++++++++++++++
.../CreateDwDatabaseByServiceObjective.json | 82 +++++++++++++++++++
...ateHyperscaleDatabaseWithReadReplicas.json | 79 ++++++++++++++++++
...CreateVCoreDatabaseByServiceObjective.json | 80 ++++++++++++++++++
.../CreateVCoreDatabaseBySkuNameCapacity.json | 77 +++++++++++++++++
...eVCoreDatabaseBySkuTierFamilyCapacity.json | 78 ++++++++++++++++++
.../examples/DeleteDatabase.json | 14 ++++
.../examples/FailoverDatabase.json | 14 ++++
.../examples/GetDatabase.json | 34 ++++++++
.../examples/GetVCoreDatabase.json | 39 +++++++++
.../examples/ListDatabasesByElasticPool.json | 61 ++++++++++++++
.../examples/ListDatabasesByServer.json | 56 +++++++++++++
...anagedDatabaseCompleteExternalRestore.json | 16 ++++
.../examples/ManagedDatabaseCreateMax.json | 52 ++++++++++++
.../examples/ManagedDatabaseCreateMin.json | 43 ++++++++++
...nagedDatabaseCreatePointInTimeRestore.json | 54 ++++++++++++
.../ManagedDatabaseCreateRecovery.json | 51 ++++++++++++
...edDatabaseCreateRestoreExternalBackup.json | 55 +++++++++++++
.../examples/ManagedDatabaseDelete.json | 14 ++++
.../examples/ManagedDatabaseGet.json | 25 ++++++
.../examples/ManagedDatabaseUpdateMax.json | 34 ++++++++
.../examples/ManagedDatabaseUpdateMin.json | 34 ++++++++
.../examples/PatchDatabase.json | 45 ++++++++++
.../examples/PatchVCoreDatabase.json | 47 +++++++++++
.../examples/PauseDatabase.json | 34 ++++++++
.../examples/RenameDatabase.json | 15 ++++
.../examples/ResumeDatabase.json | 34 ++++++++
.../examples/UpgradeDataWarehouse.json | 13 +++
35 files changed, 1727 insertions(+)
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseCopyMode.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseDefaultMode.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseMin.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabasePITRMode.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRecoveryMode.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode2.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseSecondaryMode.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDwDatabaseByServiceObjective.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateHyperscaleDatabaseWithReadReplicas.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseByServiceObjective.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuNameCapacity.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuTierFamilyCapacity.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/DeleteDatabase.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/FailoverDatabase.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetDatabase.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetVCoreDatabase.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByElasticPool.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByServer.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCompleteExternalRestore.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMax.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMin.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreatePointInTimeRestore.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRecovery.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRestoreExternalBackup.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseDelete.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseGet.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMax.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMin.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchDatabase.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchVCoreDatabase.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/RenameDatabase.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/UpgradeDataWarehouse.json
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseCopyMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseCopyMode.json
new file mode 100644
index 000000000000..c888714f0480
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseCopyMode.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "dbcopy",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "properties": {
+ "createMode": "Copy",
+ "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy",
+ "name": "dbcopy",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy",
+ "name": "dbcopy",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseDefaultMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseDefaultMode.json
new file mode 100644
index 000000000000..b8736ea03a02
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseDefaultMode.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "properties": {
+ "createMode": "Default",
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseMin.json
new file mode 100644
index 000000000000..871367c58ee5
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseMin.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabasePITRMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabasePITRMode.json
new file mode 100644
index 000000000000..cad9460c0e21
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabasePITRMode.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "dbpitr",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "properties": {
+ "createMode": "PointInTimeRestore",
+ "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "restorePointInTime": "2017-07-14T05:35:31.503Z"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbpitr",
+ "name": "dbpitr",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbpitr",
+ "name": "dbpitr",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRecoveryMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRecoveryMode.json
new file mode 100644
index 000000000000..2d02dcf5926d
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRecoveryMode.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "dbrestore",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "properties": {
+ "createMode": "Restore",
+ "restorableDroppedDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/restorableDroppedDatabases/testdb2,131444841315030000"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore",
+ "name": "dbrestore",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore",
+ "name": "dbrestore",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode.json
new file mode 100644
index 000000000000..5be22c3fb50e
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "dbrestore",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "properties": {
+ "createMode": "Restore",
+ "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "sourceDatabaseDeletionDate": "2017-07-14T06:41:06.613Z"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore",
+ "name": "dbrestore",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore",
+ "name": "dbrestore",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode2.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode2.json
new file mode 100644
index 000000000000..1d68ff631a3e
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode2.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "dbcopy",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "properties": {
+ "createMode": "Copy",
+ "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy",
+ "name": "dbcopy",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy",
+ "name": "dbcopy",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseSecondaryMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseSecondaryMode.json
new file mode 100644
index 000000000000..b7f18f6e0ac5
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseSecondaryMode.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "properties": {
+ "createMode": "Secondary",
+ "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-NorthEurope/providers/Microsoft.Sql/servers/testsvr1/databases/testdb"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDwDatabaseByServiceObjective.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDwDatabaseByServiceObjective.json
new file mode 100644
index 000000000000..012f36d06668
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDwDatabaseByServiceObjective.json
@@ -0,0 +1,82 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdw",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "westus",
+ "sku": {
+ "name": "DW1000c"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 9000
+ },
+ "kind": "v12.0,user,datawarehouse,gen2",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 263882790666240,
+ "status": "Online",
+ "databaseId": "188784c9-d602-4684-86cf-e67b6f03551a",
+ "creationDate": "2019-04-24T06:46:14.99Z",
+ "currentServiceObjectiveName": "DW1000c",
+ "requestedServiceObjectiveName": "DW1000c",
+ "defaultSecondaryLocation": "eastus",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "readScale": "Disabled",
+ "readReplicaCount": 0,
+ "currentSku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 9000
+ }
+ },
+ "location": "westus",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdw",
+ "name": "testdw",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 9000
+ },
+ "kind": "v12.0,user,datawarehouse,gen2",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 263882790666240,
+ "status": "Online",
+ "databaseId": "188784c9-d602-4684-86cf-e67b6f03551a",
+ "creationDate": "2019-04-24T06:46:14.99Z",
+ "currentServiceObjectiveName": "DW1000c",
+ "requestedServiceObjectiveName": "DW1000c",
+ "defaultSecondaryLocation": "eastus",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "readScale": "Disabled",
+ "readReplicaCount": 0,
+ "currentSku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 9000
+ }
+ },
+ "location": "westus",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdw",
+ "name": "testdw",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateHyperscaleDatabaseWithReadReplicas.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateHyperscaleDatabaseWithReadReplicas.json
new file mode 100644
index 000000000000..ba48154d3c5d
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateHyperscaleDatabaseWithReadReplicas.json
@@ -0,0 +1,79 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-10-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "HS_Gen4",
+ "tier": "Hyperscale",
+ "capacity": 1
+ },
+ "properties": {
+ "readReplicaCount": 3
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "HS_Gen4",
+ "tier": "Hyperscale",
+ "family": "Gen4",
+ "capacity": 1
+ },
+ "kind": "v12.0,user,vcore,hyperscale",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": -1,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "HS_Gen4_1",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "readScale": "Enabled",
+ "readReplicaCount": 3
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "HS_Gen4",
+ "tier": "Hyperscale",
+ "family": "Gen4",
+ "capacity": 1
+ },
+ "kind": "v12.0,user,vcore,hyperscale",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": -1,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "HS_Gen4_1",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "readScale": "Enabled",
+ "readReplicaCount": 3
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseByServiceObjective.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseByServiceObjective.json
new file mode 100644
index 000000000000..7dae6aee65b6
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseByServiceObjective.json
@@ -0,0 +1,80 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-10-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "BC",
+ "family": "Gen4",
+ "capacity": 2
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 2
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_2",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600,
+ "readScale": "Enabled",
+ "readReplicaCount": 1
+ },
+ "location": "southeastasia",
+ "id":
+ "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 2
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_2",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600,
+ "readScale": "Enabled",
+ "readReplicaCount": 1
+ },
+ "location": "southeastasia",
+ "id":
+ "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuNameCapacity.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuNameCapacity.json
new file mode 100644
index 000000000000..d86fb7c31820
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuNameCapacity.json
@@ -0,0 +1,77 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-10-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "BC_Gen4",
+ "capacity": 2
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 2
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_2",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600,
+ "readScale": "Enabled",
+ "readReplicaCount": 1
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 2
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_2",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600,
+ "readScale": "Enabled",
+ "readReplicaCount": 1
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuTierFamilyCapacity.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuTierFamilyCapacity.json
new file mode 100644
index 000000000000..f418610356b5
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuTierFamilyCapacity.json
@@ -0,0 +1,78 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-10-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "BC_Gen4_2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 2
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_2",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600,
+ "readScale": "Enabled",
+ "readReplicaCount": 1
+ },
+ "location": "southeastasia",
+ "id":
+ "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 2
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_2",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600,
+ "readScale": "Enabled",
+ "readReplicaCount": 1
+ },
+ "location": "southeastasia",
+ "id":
+ "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/DeleteDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/DeleteDatabase.json
new file mode 100644
index 000000000000..ed35085e9ec4
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/DeleteDatabase.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": { },
+ "204": { },
+ "202": { }
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/FailoverDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/FailoverDatabase.json
new file mode 100644
index 000000000000..04b6a792e5a6
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/FailoverDatabase.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "group1",
+ "serverName": "testServer",
+ "databaseName": "testDatabase",
+ "replicaType": "Primary",
+ "api-version": "2018-06-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetDatabase.json
new file mode 100644
index 000000000000..70e9298d0244
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetDatabase.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ }
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetVCoreDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetVCoreDatabase.json
new file mode 100644
index 000000000000..62124ea4726e
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetVCoreDatabase.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-10-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "capacity": 2
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_2",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600,
+ "readScale": "Enabled",
+ "readReplicaCount": 1
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ }
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByElasticPool.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByElasticPool.json
new file mode 100644
index 000000000000..8d7b94a8caa8
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByElasticPool.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "elasticPoolName": "pool1",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "sku": {
+ "name": "ElasticPool",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "elasticPoolId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/elasticPools/Pool1",
+ "status": "Online",
+ "databaseId": "bfe0735f-bc87-447f-b2c2-481f4b100614",
+ "creationDate": "2017-07-12T22:08:39.163Z",
+ "currentServiceObjectiveName": "ElasticPool",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/DB001",
+ "name": "DB001",
+ "type": "Microsoft.Sql/servers/databases"
+ },
+ {
+ "sku": {
+ "name": "ElasticPool",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "elasticPoolId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/elasticPools/Pool1",
+ "status": "Online",
+ "databaseId": "82246152-3177-4357-b81c-a16d87ce3593",
+ "creationDate": "2017-07-12T22:10:10.773Z",
+ "currentServiceObjectiveName": "ElasticPool",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/DB002",
+ "name": "DB002",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByServer.json
new file mode 100644
index 000000000000..b487148a6635
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByServer.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [{
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ },
+ {
+ "sku": {
+ "name": "System0",
+ "tier": "System"
+ },
+ "kind": "v12.0,system",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 32212254720,
+ "status": "Online",
+ "databaseId": "e6be351f-2cc9-4604-9e52-b0b28b2710b0",
+ "creationDate": "2017-06-07T04:23:42.537Z",
+ "currentServiceObjectiveName": "System0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/master",
+ "name": "master",
+ "type": "Microsoft.Sql/servers/databases"
+ }]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCompleteExternalRestore.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCompleteExternalRestore.json
new file mode 100644
index 000000000000..b12362441707
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCompleteExternalRestore.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "myRG",
+ "managedInstanceName": "myManagedInstanceName",
+ "databaseName": "myDatabase",
+ "api-version": "2018-06-01-preview",
+ "parameters": {
+ "lastBackupName": "testdb1_log4"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMax.json
new file mode 100644
index 000000000000..65706e3c02c8
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMax.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "managedDatabase",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1",
+ "name": "testdb1",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
+ },
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2",
+ "name": "testdb2",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
+ },
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMin.json
new file mode 100644
index 000000000000..4143d1c4dfee
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMin.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "managedDatabase",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1",
+ "name": "testdb1",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
+ },
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2",
+ "name": "testdb2",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
+ },
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreatePointInTimeRestore.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreatePointInTimeRestore.json
new file mode 100644
index 000000000000..2f950088217f
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreatePointInTimeRestore.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "managedDatabase",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "properties": {
+ "createMode": "PointInTimeRestore",
+ "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/databases/testdb",
+ "restorePointInTime": "2017-07-14T05:35:31.503Z"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1",
+ "name": "testdb1",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
+ },
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2",
+ "name": "testdb2",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
+ },
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRecovery.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRecovery.json
new file mode 100644
index 000000000000..c3b09e772765
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRecovery.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "server1",
+ "databaseName": "testdb_recovered",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "properties": {
+ "createMode": "Recovery",
+ "recoverableDatabaseId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/Default-SQL-WestEurope/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/server1/recoverableDatabases/testdb_recovered",
+ "name": "testdb_recovered",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2018-11-07T04:41:33.937Z"
+ },
+ "type": "Microsoft.Sql/managedInstances/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb_recovered",
+ "name": "testdb_recovered",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2018-11-07T04:41:33.937Z"
+ },
+ "type": "Microsoft.Sql/managedInstances/databases"
+ }
+ },
+ "202": { }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRestoreExternalBackup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRestoreExternalBackup.json
new file mode 100644
index 000000000000..c95c4f12808e
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRestoreExternalBackup.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "managedDatabase",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "properties": {
+ "createMode": "RestoreExternalBackup",
+ "storageContainerUri": "https://myaccountname.blob.core.windows.net/backups",
+ "storageContainerSasToken": "sv=2015-12-11&sr=c&sp=rl&sig=1234",
+ "collation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1",
+ "name": "testdb1",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
+ },
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2",
+ "name": "testdb2",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
+ },
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseDelete.json
new file mode 100644
index 000000000000..55ffcdc82e4a
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseGet.json
new file mode 100644
index 000000000000..6f1addb900ce
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Test1",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "managedDatabase",
+ "api-version": "2015-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb1",
+ "location": "southeastasia",
+ "name": "testdb1",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "creationDate": "2017-08-04T15:00:17.73Z",
+ "defaultSecondaryLocation": "North Europe",
+ "status": "Online"
+ },
+ "type": "Microsoft.Sql/managedInstances/databases"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMax.json
new file mode 100644
index 000000000000..fea44768a241
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMax.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb"
+ },
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMin.json
new file mode 100644
index 000000000000..fea44768a241
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMin.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb"
+ },
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchDatabase.json
new file mode 100644
index 000000000000..ecc2460ce7e9
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchDatabase.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "sku": {
+ "name": "S1",
+ "tier": "Standard"
+ },
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S1",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S1",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchVCoreDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchVCoreDatabase.json
new file mode 100644
index 000000000000..b0b211816a51
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchVCoreDatabase.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "sku": {
+ "name": "BC_Gen4_4"
+ },
+ "properties": {
+ "maxSizeBytes": 1073741824,
+ "licenseType": "LicenseIncluded"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "BC_Gen4_4",
+ "tier": "BusinessCritical",
+ "capacity": 4
+ },
+ "kind": "v12.0,user,vcore",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_4",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
new file mode 100644
index 000000000000..1759dd2d0a25
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdwdb",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+
+ },
+ "kind": "v12.0,user,datawarehouse",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 10995116277760,
+ "status": "Paused",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-07-13T02:04:26.187Z",
+ "currentServiceObjectiveName": "D1",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdwdb",
+ "name": "testdwdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/RenameDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/RenameDatabase.json
new file mode 100644
index 000000000000..2a5a534d8d02
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/RenameDatabase.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/newtestdb"
+ }
+ },
+ "responses": {
+ "200": { }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
new file mode 100644
index 000000000000..20cf7dc71a28
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdwdb",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+
+ },
+ "kind": "v12.0,user,datawarehouse",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 10995116277760,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-07-13T02:04:26.187Z",
+ "currentServiceObjectiveName": "D1",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdwdb",
+ "name": "testdwdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/UpgradeDataWarehouse.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/UpgradeDataWarehouse.json
new file mode 100644
index 000000000000..499aafe92cc7
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/UpgradeDataWarehouse.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdwdb",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
\ No newline at end of file
From e673bbc297000a72afe11a39fd36231b0ac245e7 Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Wed, 6 Nov 2019 16:15:24 -0800
Subject: [PATCH 164/189] fix MA
---
.../ListManagedInstanceOperations.json | 6 ++--
.../examples/PauseDatabase.json | 34 -------------------
.../examples/ResumeDatabase.json | 34 -------------------
3 files changed, 3 insertions(+), 71 deletions(-)
delete mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
delete mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListManagedInstanceOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListManagedInstanceOperations.json
index 5a9870148b02..977a88cb4b3b 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListManagedInstanceOperations.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListManagedInstanceOperations.json
@@ -46,10 +46,10 @@
"percentComplete": 55,
"startTime": "2019-09-23T08:05:28.687Z",
"state": "Failed",
- "errorCode": "45157",
+ "errorCode": 45157,
"errorDescription": "Server 'testcl' is busy with another operation. Please try your operation later.",
- "errorSeverity": "16",
- "isUserError": "True"
+ "errorSeverity": 16,
+ "isUserError": true
}
},
{
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
deleted file mode 100644
index 1759dd2d0a25..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "testdwdb",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "sku": {
-
- },
- "kind": "v12.0,user,datawarehouse",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 10995116277760,
- "status": "Paused",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-07-13T02:04:26.187Z",
- "currentServiceObjectiveName": "D1",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdwdb",
- "name": "testdwdb",
- "type": "Microsoft.Sql/servers/databases"
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
deleted file mode 100644
index 20cf7dc71a28..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "testdwdb",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "sku": {
-
- },
- "kind": "v12.0,user,datawarehouse",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 10995116277760,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-07-13T02:04:26.187Z",
- "currentServiceObjectiveName": "D1",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdwdb",
- "name": "testdwdb",
- "type": "Microsoft.Sql/servers/databases"
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
From 151268ea3e98dfa3f62f3af8f395b55c72068422 Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Wed, 6 Nov 2019 16:19:19 -0800
Subject: [PATCH 165/189] 1
---
.../examples/PauseDatabase.json | 34 +++++++++++++++++++
.../examples/ResumeDatabase.json | 34 +++++++++++++++++++
2 files changed, 68 insertions(+)
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
new file mode 100644
index 000000000000..1759dd2d0a25
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdwdb",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+
+ },
+ "kind": "v12.0,user,datawarehouse",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 10995116277760,
+ "status": "Paused",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-07-13T02:04:26.187Z",
+ "currentServiceObjectiveName": "D1",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdwdb",
+ "name": "testdwdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
new file mode 100644
index 000000000000..20cf7dc71a28
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdwdb",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+
+ },
+ "kind": "v12.0,user,datawarehouse",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 10995116277760,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-07-13T02:04:26.187Z",
+ "currentServiceObjectiveName": "D1",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdwdb",
+ "name": "testdwdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
From 35825d5f27395bd914d9b7bbdc14b09e7cdd3f0a Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Wed, 6 Nov 2019 16:25:28 -0800
Subject: [PATCH 166/189] fix some example error
---
.../preview/2019-06-01-preview/examples/PauseDatabase.json | 3 ++-
.../preview/2019-06-01-preview/examples/ResumeDatabase.json | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
index 1759dd2d0a25..8b44aadd52f4 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
@@ -10,7 +10,8 @@
"200": {
"body": {
"sku": {
-
+ "name": "S0",
+ "tier": "Standard"
},
"kind": "v12.0,user,datawarehouse",
"properties": {
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
index 20cf7dc71a28..9ba6563863d1 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
@@ -10,7 +10,8 @@
"200": {
"body": {
"sku": {
-
+ "name": "S0",
+ "tier": "Standard"
},
"kind": "v12.0,user,datawarehouse",
"properties": {
From 16c62d43dff497eef06b879c130f2916489ec475 Mon Sep 17 00:00:00 2001
From: Tom FitzMacken
Date: Wed, 6 Nov 2019 17:25:24 -0800
Subject: [PATCH 167/189] remove locale from link (#7723)
---
.../Microsoft.SignalRService/stable/2018-10-01/signalr.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json
index 0395465f29b5..52ad4ad0f750 100644
--- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json
+++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json
@@ -1059,7 +1059,7 @@
}
},
"value": {
- "description": "Value of the feature flag. See Azure SignalR service document https://docs.microsoft.com/en-us/azure/azure-signalr/ for allowed values.",
+ "description": "Value of the feature flag. See Azure SignalR service document https://docs.microsoft.com/azure/azure-signalr/ for allowed values.",
"maxLength": 128,
"minLength": 1,
"type": "string"
From acc45e375c6b7142196ee2f390fc4588d632d6d5 Mon Sep 17 00:00:00 2001
From: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com>
Date: Thu, 7 Nov 2019 09:33:51 +0800
Subject: [PATCH 168/189] upgrade rest-api-specs-scripts version (#7712)
---
.azure-pipelines-preproduction/package.json | 2 +-
package-lock.json | 303 ++++++++++----------
package.json | 2 +-
3 files changed, 161 insertions(+), 146 deletions(-)
diff --git a/.azure-pipelines-preproduction/package.json b/.azure-pipelines-preproduction/package.json
index 9ead8a572f7b..b896ce86aa55 100644
--- a/.azure-pipelines-preproduction/package.json
+++ b/.azure-pipelines-preproduction/package.json
@@ -11,7 +11,7 @@
"license": "MIT",
"devDependencies": {
"@azure/avocado": "^0.6.0",
- "@azure/rest-api-specs-scripts": "^0.5.1",
+ "@azure/rest-api-specs-scripts": "^0.5.7",
"@ts-common/commonmark-to-markdown": "^1.2.0",
"@ts-common/fs": "0.2.0",
"@ts-common/iterator": "^0.3.6",
diff --git a/package-lock.json b/package-lock.json
index 9a8c023c60fa..54053ae51a0c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -24,9 +24,9 @@
}
},
"@azure/oad": {
- "version": "0.6.3",
- "resolved": "https://registry.npmjs.org/@azure/oad/-/oad-0.6.3.tgz",
- "integrity": "sha512-GyyNcsVB8cHW8N5AYWuAh/6qTMcC5Do5o/ue2+dyO5v5iCqZTpOfk4CKZMKJck6qXquXUgdv/HzTOHJJ4Zer9w==",
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/@azure/oad/-/oad-0.7.0.tgz",
+ "integrity": "sha512-voz6Q71GmJpRAThFG5aDWqHiQCc6eL1ajAR0JqbqCsqStQdBauGkGZhOeawkNJIgHnFY3GG9GO/fWhfp36uBWg==",
"dev": true,
"requires": {
"@ts-common/fs": "^0.2.0",
@@ -88,19 +88,19 @@
}
},
"@azure/rest-api-specs-scripts": {
- "version": "0.4.3",
- "resolved": "https://registry.npmjs.org/@azure/rest-api-specs-scripts/-/rest-api-specs-scripts-0.4.3.tgz",
- "integrity": "sha512-FlyENJxKEaMxDLHr2VVtqYJ0dppqPVQqmT/DypAskFeorQKsILH/9ffXkLptmkuAdIRff0O+MI2Q5qHSPfnyzw==",
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/@azure/rest-api-specs-scripts/-/rest-api-specs-scripts-0.5.7.tgz",
+ "integrity": "sha512-KbhwZzENz5pB9Me9PxhhuqL7Lru8bmpSOWQ291buvxEYQ+ZwzvHyA0cA8yL5raXZX2IJhslc7ThtcPhAqC0hFw==",
"dev": true,
"requires": {
"@azure/avocado": "^0.4.1",
- "@azure/oad": "^0.6.3",
+ "@azure/oad": "^0.7.0",
"@octokit/rest": "^16.25.0",
"@ts-common/string-map": "^0.3.0",
"fs-extra": "^7.0.1",
"glob": "^7.1.3",
"js-yaml": "^3.13.1",
- "oav": "^0.18.1",
+ "oav": "0.19.6",
"request": "^2.88.0"
},
"dependencies": {
@@ -151,49 +151,50 @@
"dev": true
},
"@octokit/endpoint": {
- "version": "5.3.2",
- "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-5.3.2.tgz",
- "integrity": "sha512-gRjteEM9I6f4D8vtwU2iGUTn9RX/AJ0SVXiqBUEuYEWVGGAVjSXdT0oNmghH5lvQNWs8mwt6ZaultuG6yXivNw==",
+ "version": "5.5.1",
+ "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-5.5.1.tgz",
+ "integrity": "sha512-nBFhRUb5YzVTCX/iAK1MgQ4uWo89Gu0TH00qQHoYRCsE12dWcG1OiLd7v2EIo2+tpUKPMOQ62QFy9hy9Vg2ULg==",
"dev": true,
"requires": {
- "deepmerge": "4.0.0",
+ "@octokit/types": "^2.0.0",
"is-plain-object": "^3.0.0",
- "universal-user-agent": "^3.0.0",
- "url-template": "^2.0.8"
+ "universal-user-agent": "^4.0.0"
}
},
"@octokit/request": {
- "version": "5.0.2",
- "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.0.2.tgz",
- "integrity": "sha512-z1BQr43g4kOL4ZrIVBMHwi68Yg9VbkRUyuAgqCp1rU3vbYa69+2gIld/+gHclw15bJWQnhqqyEb7h5a5EqgZ0A==",
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.3.1.tgz",
+ "integrity": "sha512-5/X0AL1ZgoU32fAepTfEoggFinO3rxsMLtzhlUX+RctLrusn/CApJuGFCd0v7GMFhF+8UiCsTTfsu7Fh1HnEJg==",
"dev": true,
"requires": {
- "@octokit/endpoint": "^5.1.0",
+ "@octokit/endpoint": "^5.5.0",
"@octokit/request-error": "^1.0.1",
+ "@octokit/types": "^2.0.0",
"deprecation": "^2.0.0",
"is-plain-object": "^3.0.0",
"node-fetch": "^2.3.0",
"once": "^1.4.0",
- "universal-user-agent": "^3.0.0"
+ "universal-user-agent": "^4.0.0"
}
},
"@octokit/request-error": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-1.0.4.tgz",
- "integrity": "sha512-L4JaJDXn8SGT+5G0uX79rZLv0MNJmfGa4vb4vy1NnpjSnWDLJRy6m90udGwvMmavwsStgbv2QNkPzzTCMmL+ig==",
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-1.2.0.tgz",
+ "integrity": "sha512-DNBhROBYjjV/I9n7A8kVkmQNkqFAMem90dSxqvPq57e2hBr7mNTX98y3R2zDpqMQHVRpBDjsvsfIGgBzy+4PAg==",
"dev": true,
"requires": {
+ "@octokit/types": "^2.0.0",
"deprecation": "^2.0.0",
"once": "^1.4.0"
}
},
"@octokit/rest": {
- "version": "16.28.7",
- "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-16.28.7.tgz",
- "integrity": "sha512-cznFSLEhh22XD3XeqJw51OLSfyL2fcFKUO+v2Ep9MTAFfFLS1cK1Zwd1yEgQJmJoDnj4/vv3+fGGZweG+xsbIA==",
+ "version": "16.34.1",
+ "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-16.34.1.tgz",
+ "integrity": "sha512-JUoS12cdktf1fv86rgrjC/RvYLuL+o7p57W7zX1x7ANFJ7OvdV8emvUNkFlcidEaOkYrxK3SoWgQFt3FhNmabA==",
"dev": true,
"requires": {
- "@octokit/request": "^5.0.0",
+ "@octokit/request": "^5.2.0",
"@octokit/request-error": "^1.0.2",
"atob-lite": "^2.0.0",
"before-after-hook": "^2.0.0",
@@ -204,8 +205,16 @@
"lodash.uniq": "^4.5.0",
"octokit-pagination-methods": "^1.1.0",
"once": "^1.4.0",
- "universal-user-agent": "^3.0.0",
- "url-template": "^2.0.8"
+ "universal-user-agent": "^4.0.0"
+ }
+ },
+ "@octokit/types": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.0.1.tgz",
+ "integrity": "sha512-YDYgV6nCzdGdOm7wy43Ce8SQ3M5DMKegB8E5sTB/1xrxOdo2yS/KgUgML2N2ZGD621mkbdrAglwTyA4NDOlFFA==",
+ "dev": true,
+ "requires": {
+ "@types/node": ">= 8"
}
},
"@ts-common/add-position": {
@@ -373,6 +382,12 @@
"integrity": "sha512-SGGAhXLHDx+PK4YLNcNGa6goPf9XRWQNAUUbffkwVGGXIxmDKWyGGL4inzq2sPmExu431Ekb9aEMn9BkPqEYFA==",
"dev": true
},
+ "@types/jsonpath": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/@types/jsonpath/-/jsonpath-0.2.0.tgz",
+ "integrity": "sha512-v7qlPA0VpKUlEdhghbDqRoKMxFB3h3Ch688TApBJ6v+XLDdvWCGLJIYiPKGZnS6MAOie+IorCfNYVHOPIHSWwQ==",
+ "dev": true
+ },
"@types/minimatch": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz",
@@ -413,9 +428,9 @@
"dev": true
},
"abab": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.1.tgz",
- "integrity": "sha512-1zSbbCuoIjafKZ3mblY5ikvAb0ODUbqBnFuUb7f6uLeQhhGJ0vEV4ntmtxKLT2WgXCO94E07BjunsIw1jOMPZw==",
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.2.tgz",
+ "integrity": "sha512-2scffjvioEmNz0OyDSLGWDfKCVwaKc6l9Pm9kOIREU13ClXZvHpg/nRL5xyjSSSLhOnXqft2HpsAzNEEA8cFFg==",
"dev": true
},
"abbrev": {
@@ -431,9 +446,9 @@
"dev": true
},
"acorn-globals": {
- "version": "4.3.3",
- "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-4.3.3.tgz",
- "integrity": "sha512-vkR40VwS2SYO98AIeFvzWWh+xyc2qi9s7OoXSFEGIP/rOJKzjnhykaZJNnHdoq4BL2gGxI5EZOU16z896EYnOQ==",
+ "version": "4.3.4",
+ "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-4.3.4.tgz",
+ "integrity": "sha512-clfQEh21R+D0leSbUdWf3OcfqyaCSAQ8Ryq00bofSekfr9W8u1jyYZo6ir0xu9Gtcf7BjcHJpnbZH7JOCpP60A==",
"dev": true,
"requires": {
"acorn": "^6.0.1",
@@ -615,9 +630,9 @@
"dev": true
},
"autorest": {
- "version": "2.0.4283",
- "resolved": "https://registry.npmjs.org/autorest/-/autorest-2.0.4283.tgz",
- "integrity": "sha512-3jU9yDR71d2thRnKdPH03DaWbla1Iqnrx2rqUUwbMrb4di36a8+nttCQaTWG7biWPJc6Ke6zSSTzFH0uhya+Nw==",
+ "version": "2.0.4407",
+ "resolved": "https://registry.npmjs.org/autorest/-/autorest-2.0.4407.tgz",
+ "integrity": "sha512-keyeMDb/bVNN8hnDd8o08UC2C1OE8HRhubxksljSvKM5osHIJnoKBA1k3kD7MPAJ/+m6UjDQXci3ronxZeYy+Q==",
"dev": true
},
"aws-sign2": {
@@ -1042,9 +1057,9 @@
"dev": true
},
"core-js": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.9.tgz",
- "integrity": "sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A==",
+ "version": "2.6.10",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.10.tgz",
+ "integrity": "sha512-I39t74+4t+zau64EN1fE5v2W31Adtc/REhzWN+gWRRXg6WH5qAsZm62DHpQ1+Yhe4047T55jvzz7MUqF/dBBlA==",
"dev": true
},
"core-util-is": {
@@ -1440,9 +1455,9 @@
},
"dependencies": {
"whatwg-url": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.0.0.tgz",
- "integrity": "sha512-37GeVSIJ3kn1JgKyjiYNmSLP1yzbpb29jdmwBSgkD9h40/hyrR/OifpVUndji3tmwGgD8qpw7iQu3RSbCrBpsQ==",
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz",
+ "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==",
"dev": true,
"requires": {
"lodash.sortby": "^4.7.0",
@@ -1479,12 +1494,6 @@
"integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=",
"dev": true
},
- "deepmerge": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.0.0.tgz",
- "integrity": "sha512-YZ1rOP5+kHor4hMAH+HRQnBQHg+wvS1un1hAOuIcxcBy0hzcUf6Jg2a1w65kpoOUnurOfZbERwjI1TfZxNjcww==",
- "dev": true
- },
"define-properties": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
@@ -1972,9 +1981,9 @@
"dev": true
},
"fast-safe-stringify": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.6.tgz",
- "integrity": "sha512-q8BZ89jjc+mz08rSxROs8VsrBBcn1SIw1kq9NjolL509tkABRk9io01RAjSaEv1Xb2uFLt8VtRiZbGp5H8iDtg==",
+ "version": "2.0.7",
+ "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.7.tgz",
+ "integrity": "sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA==",
"dev": true
},
"fecha": {
@@ -2051,9 +2060,9 @@
"dev": true
},
"form-data": {
- "version": "2.5.0",
- "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.0.tgz",
- "integrity": "sha512-WXieX3G/8side6VIqx44ablyULoGruSde5PNTxoUyo5CeyAMX6nVWUd0rgist/EuX655cjhUhTo1Fo3tRYqbcA==",
+ "version": "2.5.1",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz",
+ "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==",
"dev": true,
"requires": {
"asynckit": "^0.4.0",
@@ -2235,9 +2244,9 @@
"dev": true
},
"handlebars": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.1.2.tgz",
- "integrity": "sha512-nvfrjqvt9xQ8Z/w0ijewdD/vvWDTOweBUm96NTr66Wfvo1mJenBLwcYmPs3TIBP5ruzYGD7Hx/DaM9RmhroGPw==",
+ "version": "4.5.1",
+ "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.5.1.tgz",
+ "integrity": "sha512-C29UoFzHe9yM61lOsIlCE5/mQVGrnIOrOq7maQl76L7tYPCgC1og0Ajt6uWnX4ZTxBPnjw+CUvawphwCfJgUnA==",
"dev": true,
"requires": {
"neo-async": "^2.6.0",
@@ -2338,9 +2347,9 @@
"dev": true
},
"hosted-git-info": {
- "version": "2.8.4",
- "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.4.tgz",
- "integrity": "sha512-pzXIvANXEFrc5oFFXRMkbLPQ2rXRoDERwDLyrcUxGhaZhgP54BBSl9Oheh7Vv0T090cszWBxPjkQQ5Sq1PbBRQ==",
+ "version": "2.8.5",
+ "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.5.tgz",
+ "integrity": "sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg==",
"dev": true
},
"html-encoding-sniffer": {
@@ -2812,13 +2821,13 @@
"dev": true
},
"json-schema-faker": {
- "version": "0.5.0-rc17",
- "resolved": "https://registry.npmjs.org/json-schema-faker/-/json-schema-faker-0.5.0-rc17.tgz",
- "integrity": "sha512-ZQSLPpnsGiMBuPOHi09cAzhsiIeOcs5im2GAQ2P6XKyWOuetO8eYdYCP/kW7VVU891Ucan0/dl8GYbRA6pf9gw==",
+ "version": "0.5.0-rc23",
+ "resolved": "https://registry.npmjs.org/json-schema-faker/-/json-schema-faker-0.5.0-rc23.tgz",
+ "integrity": "sha512-lRzFEnp55TihRzMvUBrtvTlM/aHGhCwfes0/T9bN9OiB2n36/SUFxtMn7anYoES+f95eU3viJ/foXKosCwsiJw==",
"dev": true,
"requires": {
- "json-schema-ref-parser": "^6.0.2",
- "jsonpath": "^1.0.1",
+ "json-schema-ref-parser": "^6.1.0",
+ "jsonpath-plus": "^1.0.0",
"randexp": "^0.5.3"
}
},
@@ -2873,6 +2882,12 @@
}
}
},
+ "jsonpath-plus": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-1.1.0.tgz",
+ "integrity": "sha512-ydqTBOuLcFCUr9e7AxJlKCFgxzEQ03HjnIim0hJSdk2NxD8MOsaMOrRgP6XWEm5q3VuDY5+cRT1DM9vLlGo/qA==",
+ "dev": true
+ },
"jsonschema": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/jsonschema/-/jsonschema-1.2.4.tgz",
@@ -2938,9 +2953,9 @@
}
},
"linq": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/linq/-/linq-3.2.0.tgz",
- "integrity": "sha512-rdmaLOf2tSCzZ75scdjjN/LVHGZzRu48ql9LdxppQec/pKpPtf8jlMDlPBX3rQnLMcGPtAx8Lel6YbF7jND70g==",
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/linq/-/linq-3.2.1.tgz",
+ "integrity": "sha512-BEhjQpbvrKPWlg5m/+PXTHsQoXzzR0UWCvgI8Hm+WtUMtTwPvw9Tay5CWfqsWSVk81wqbHNDFpFXyqBmm4/dqA==",
"dev": true
},
"load-json-file": {
@@ -3033,9 +3048,9 @@
},
"dependencies": {
"colors": {
- "version": "1.3.3",
- "resolved": "https://registry.npmjs.org/colors/-/colors-1.3.3.tgz",
- "integrity": "sha512-mmGt/1pZqYRjMxB1axhTo16/snVZ5krrKkcmMeVKxzECMMXoCgnvTPp10QgHfcbQZw8Dq2jMNG6je4JlWU0gWg==",
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz",
+ "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==",
"dev": true
}
}
@@ -3117,9 +3132,9 @@
}
},
"merge2": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.2.4.tgz",
- "integrity": "sha512-FYE8xI+6pjFOhokZu0We3S5NKCirLbCzSh2Usf3qEyr4X8U+0jNg9P8RZ4qz+V2UoECLVwSyzU3LxXBaLGtD3A==",
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.3.0.tgz",
+ "integrity": "sha512-2j4DAdlBOkiSZIsaXk4mTE3sRS02yBHAtfy127xRV3bQUFqXkjHCHLW6Scv7DwNRbIWNHH8zpnz9zMaKXIdvYw==",
"dev": true
},
"methods": {
@@ -3576,9 +3591,9 @@
"dev": true
},
"nwsapi": {
- "version": "2.1.4",
- "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.1.4.tgz",
- "integrity": "sha512-iGfd9Y6SFdTNldEy2L0GUhcarIutFmk+MPWIn9dmj8NMIup03G08uUF2KGbbmv/Ux4RT0VZJoP/sVbWA6d/VIw==",
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.0.tgz",
+ "integrity": "sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==",
"dev": true
},
"oauth-sign": {
@@ -3588,21 +3603,22 @@
"dev": true
},
"oav": {
- "version": "0.18.6",
- "resolved": "https://registry.npmjs.org/oav/-/oav-0.18.6.tgz",
- "integrity": "sha512-qDMtwnEMZOCdqonzxR7ICbYcSsLkzXpcrZQHsFN9EgGXKUJ9cwPwV2zEba1+fk6WsW/id79cZWfFT0y3XBxiuA==",
+ "version": "0.19.6",
+ "resolved": "https://registry.npmjs.org/oav/-/oav-0.19.6.tgz",
+ "integrity": "sha512-JAATj7YPAm7v7ciPNn3MlnHHsd6GrTPyOJRqW6adWzUg2UQ8zor4jJuotNmsCes5Xq01MqbYOnTEwc/U+or2XA==",
"dev": true,
"requires": {
"@azure/openapi-markdown": "^0.9.0",
"@microsoft.azure/autorest-extension-base": "1.0.13",
"@ts-common/commonmark-to-markdown": "^1.2.0",
- "@ts-common/iterator": "^0.3.1",
- "@ts-common/json": "^0.3.0",
- "@ts-common/json-parser": "^0.7.0",
+ "@ts-common/iterator": "^0.3.6",
+ "@ts-common/json": "^0.3.1",
+ "@ts-common/json-parser": "^0.8.0",
"@ts-common/property-set": "^0.1.0",
"@ts-common/source-map": "^0.5.0",
"@ts-common/string-map": "^0.3.0",
"@ts-common/virtual-fs": "^0.2.0",
+ "@types/jsonpath": "^0.2.0",
"commonmark": "^0.29.0",
"glob": "^5.0.15",
"globby": "^9.2.0",
@@ -3620,24 +3636,11 @@
"vscode-jsonrpc": "^3.6.2",
"winston": "^3.2.1",
"yargs": "^6.6.0",
- "yasway": "^1.8.3",
+ "yasway": "^1.8.4",
"yuml2svg": "^4.2.1",
"z-schema": "^4.1.0"
},
"dependencies": {
- "@ts-common/json-parser": {
- "version": "0.7.2",
- "resolved": "https://registry.npmjs.org/@ts-common/json-parser/-/json-parser-0.7.2.tgz",
- "integrity": "sha512-Rb0bA/maGzfjA7ZegDvfDABF+vz2norftJX80aTOLb88gLd2+SnD6gYVg3nZH9FpA5/34JXFDvMs4Fb5GuPoew==",
- "dev": true,
- "requires": {
- "@ts-common/iterator": "^0.3.4",
- "@ts-common/json": "^0.3.1",
- "@ts-common/source-map": "^0.5.0",
- "@ts-common/string-map": "^0.3.0",
- "tslib": "^1.9.3"
- }
- },
"ansi-regex": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
@@ -4198,9 +4201,9 @@
"dev": true
},
"psl": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/psl/-/psl-1.3.0.tgz",
- "integrity": "sha512-avHdspHO+9rQTLbv1RO+MPYeP/SzsCoxofjVnHanETfQhTJrmB0HlDoW+EiN/R+C0BZ+gERab9NY0lPN2TxNag==",
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/psl/-/psl-1.4.0.tgz",
+ "integrity": "sha512-HZzqCGPecFLyoRj5HLfuDSKYTJkAfB5thKBIkRHtGjWwY7p1dAyveIbXIq4tO0KYfDF2tHqPUgY9SDnGm00uFw==",
"dev": true
},
"pump": {
@@ -4220,9 +4223,9 @@
"dev": true
},
"qs": {
- "version": "6.8.0",
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.8.0.tgz",
- "integrity": "sha512-tPSkj8y92PfZVbinY1n84i1Qdx75lZjMQYx9WZhnkofyxzw2r7Ho39G3/aEvSUdebxpnnM4LZJCtvE/Aq3+s9w==",
+ "version": "6.9.0",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.0.tgz",
+ "integrity": "sha512-27RP4UotQORTpmNQDX8BHPukOnBP3p1uUJY5UnDhaJB+rMt9iMsok724XL+UHU23bEFOHRMQ2ZhI99qOWUMGFA==",
"dev": true
},
"randexp": {
@@ -4389,21 +4392,21 @@
}
},
"request-promise-core": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.2.tgz",
- "integrity": "sha512-UHYyq1MO8GsefGEt7EprS8UrXsm1TxEvFUX1IMTuSLU2Rh7fTIdFtl8xD7JiEYiWU2dl+NYAjCTksTehQUxPag==",
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.3.tgz",
+ "integrity": "sha512-QIs2+ArIGQVp5ZYbWD5ZLCY29D5CfWizP8eWnm8FoGD1TX61veauETVQbrV60662V0oFBkrDOuaBI8XgtuyYAQ==",
"dev": true,
"requires": {
- "lodash": "^4.17.11"
+ "lodash": "^4.17.15"
}
},
"request-promise-native": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.7.tgz",
- "integrity": "sha512-rIMnbBdgNViL37nZ1b3L/VfPOpSi0TqVDQPAvO6U14lMzOLrt5nilxCQqtDKhZeDiW0/hkCXGoQjhgJd/tCh6w==",
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.8.tgz",
+ "integrity": "sha512-dapwLGqkHtwL5AEbfenuzjTYg35Jd6KPytsC2/TLkVMz8rm+tNt72MGUWT1RP/aYawMpN6HqbNGBQaRcBtjQMQ==",
"dev": true,
"requires": {
- "request-promise-core": "1.1.2",
+ "request-promise-core": "1.1.3",
"stealthy-require": "^1.1.1",
"tough-cookie": "^2.3.3"
}
@@ -5134,20 +5137,20 @@
"dev": true
},
"uglify-js": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.6.0.tgz",
- "integrity": "sha512-W+jrUHJr3DXKhrsS7NUVxn3zqMOFn0hL/Ei6v0anCIMoKC93TjcflTagwIHLW7SfMFfiQuktQyFVCFHGUE0+yg==",
+ "version": "3.6.7",
+ "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.6.7.tgz",
+ "integrity": "sha512-4sXQDzmdnoXiO+xvmTzQsfIiwrjUCSA95rSP4SEd8tDb51W2TiDOlL76Hl+Kw0Ie42PSItCW8/t6pBNCF2R48A==",
"dev": true,
"optional": true,
"requires": {
- "commander": "~2.20.0",
+ "commander": "~2.20.3",
"source-map": "~0.6.1"
},
"dependencies": {
"commander": {
- "version": "2.20.0",
- "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.0.tgz",
- "integrity": "sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==",
+ "version": "2.20.3",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
"dev": true,
"optional": true
},
@@ -5188,12 +5191,12 @@
}
},
"universal-user-agent": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-3.0.0.tgz",
- "integrity": "sha512-T3siHThqoj5X0benA5H0qcDnrKGXzU8TKoX15x/tQHw1hQBvIEBHjxQ2klizYsqBOO/Q+WuxoQUihadeeqDnoA==",
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-4.0.0.tgz",
+ "integrity": "sha512-eM8knLpev67iBDizr/YtqkJsF3GK8gzDc6st/WKzrTuPtcsOKW/0IdL4cnMBsU69pOx0otavLWBDGTwg+dB0aA==",
"dev": true,
"requires": {
- "os-name": "^3.0.0"
+ "os-name": "^3.1.0"
}
},
"universalify": {
@@ -5263,12 +5266,6 @@
"integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=",
"dev": true
},
- "url-template": {
- "version": "2.0.8",
- "resolved": "https://registry.npmjs.org/url-template/-/url-template-2.0.8.tgz",
- "integrity": "sha1-/FZaPMy/93MMd19WQflVV5FDnyE=",
- "dev": true
- },
"use": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",
@@ -5712,13 +5709,14 @@
}
},
"yasway": {
- "version": "1.8.3",
- "resolved": "https://registry.npmjs.org/yasway/-/yasway-1.8.3.tgz",
- "integrity": "sha512-4cBs1eK6HiEe8AvwRNztRdWQnvkuermxRfFVRekk2y/fpna99AQ5b9ByDY/hwWkW80bGipAXoDMI3Ifqol2+tg==",
+ "version": "1.8.6",
+ "resolved": "https://registry.npmjs.org/yasway/-/yasway-1.8.6.tgz",
+ "integrity": "sha512-zRzjw9Jemtj+1NwAKjE+rExnG+2fY7KMM6PJRIOb8fO+tzq7EdCdp0iZ+O79F3J+/rOXoqFs+Tqa5oVSJq5m1g==",
"dev": true,
"requires": {
"@ts-common/json": "^0.3.0",
"@ts-common/string-map": "^0.3.0",
+ "@ts-common/z-schema": "^4.1.2",
"debug": "^4.1.1",
"faker": "^4.1.0",
"istanbul": "^0.4.5",
@@ -5730,10 +5728,28 @@
"native-promise-only": "^0.8.1",
"path-to-regexp": "^1.7.0",
"swagger-methods": "^1.0.8",
- "swagger-schema-official": "2.0.0-bab6bed",
- "z-schema": "^4.1.0"
+ "swagger-schema-official": "2.0.0-bab6bed"
},
"dependencies": {
+ "@ts-common/z-schema": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/@ts-common/z-schema/-/z-schema-4.1.2.tgz",
+ "integrity": "sha512-PDMAza1jpnCpUUSSVf3LBtTyeo5s9xLQlD68gvW3B0j+RbnxYK9CHHCeLOZxBoKviBgr8+tps6ZVmUCcMSmiFw==",
+ "dev": true,
+ "requires": {
+ "commander": "^2.7.1",
+ "core-js": "^3.2.1",
+ "lodash.get": "^4.4.2",
+ "lodash.isequal": "^4.5.0",
+ "validator": "^11.0.0"
+ }
+ },
+ "core-js": {
+ "version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.3.6.tgz",
+ "integrity": "sha512-u4oM8SHwmDuh5mWZdDg9UwNVq5s1uqq6ZDLLIs07VY+VJU91i3h4f3K/pgFvtUQPGdeStrZ+odKyfyt4EnKHfA==",
+ "dev": true
+ },
"debug": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
@@ -5742,6 +5758,12 @@
"requires": {
"ms": "^2.1.1"
}
+ },
+ "validator": {
+ "version": "11.1.0",
+ "resolved": "https://registry.npmjs.org/validator/-/validator-11.1.0.tgz",
+ "integrity": "sha512-qiQ5ktdO7CD6C/5/mYV4jku/7qnqzjrxb3C/Q5wR3vGGinHTgJZN/TdFT3ZX4vXhX2R1PXx42fB1cn5W+uJ4lg==",
+ "dev": true
}
}
},
@@ -5763,24 +5785,17 @@
}
},
"z-schema": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/z-schema/-/z-schema-4.1.1.tgz",
- "integrity": "sha512-0aKvR9FgrghUXXndYNDmAEazl8jykuHSkqkmPw2ZSuTWuLcEscn1zUTbR3LEfyxHl5EEHpqqOpF+Sd7wZvuDxw==",
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/z-schema/-/z-schema-4.2.1.tgz",
+ "integrity": "sha512-UWhAk5QzeIhks51TjHa6d4WexEokzbbwT+Dzq9yOBOx9sNnALo4hpYz9CfJ6IUE2cmzB0vWW3KHePYOfw3L4gQ==",
"dev": true,
"requires": {
"commander": "^2.7.1",
- "core-js": "^3.2.1",
"lodash.get": "^4.4.2",
"lodash.isequal": "^4.5.0",
"validator": "^11.0.0"
},
"dependencies": {
- "core-js": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.2.1.tgz",
- "integrity": "sha512-Qa5XSVefSVPRxy2XfUC13WbvqkxhkwB3ve+pgCQveNgYzbM/UxZeu1dcOX/xr4UmfUd+muuvsaxilQzCyUurMw==",
- "dev": true
- },
"validator": {
"version": "11.1.0",
"resolved": "https://registry.npmjs.org/validator/-/validator-11.1.0.tgz",
diff --git a/package.json b/package.json
index 8719d7155268..d9972d240541 100644
--- a/package.json
+++ b/package.json
@@ -12,7 +12,7 @@
"devDependencies": {
"@types/prettier": "^1.18.3",
"@azure/avocado": "^0.6.0",
- "@azure/rest-api-specs-scripts": "^0.4.0",
+ "@azure/rest-api-specs-scripts": "^0.5.7",
"@ts-common/commonmark-to-markdown": "^1.2.0",
"@ts-common/fs": "0.2.0",
"@ts-common/iterator": "^0.3.6",
From c3c96f6c082c26cb6050027fe8175ce7e83cbda1 Mon Sep 17 00:00:00 2001
From: Nilambari
Date: Wed, 6 Nov 2019 17:42:07 -0800
Subject: [PATCH 169/189] Fix Virtual Wan Point to site feature resources
property names from swagger. (#7498)
---
.../2019-08-01/examples/P2SVpnGatewayGet.json | 2 +-
.../P2SVpnGatewayGetConnectionHealth.json | 2 +-
.../examples/P2SVpnGatewayList.json | 4 ++--
.../P2SVpnGatewayListByResourceGroup.json | 4 ++--
.../2019-08-01/examples/P2SVpnGatewayPut.json | 6 ++---
.../examples/P2SVpnGatewayUpdateTags.json | 4 ++--
.../examples/VpnServerConfigurationGet.json | 8 +++----
.../examples/VpnServerConfigurationList.json | 16 ++++++-------
...erverConfigurationListByResourceGroup.json | 16 ++++++-------
.../examples/VpnServerConfigurationPut.json | 24 +++++++++----------
.../VpnServerConfigurationUpdateTags.json | 16 ++++++-------
.../stable/2019-08-01/virtualWan.json | 12 +++++-----
12 files changed, 57 insertions(+), 57 deletions(-)
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayGet.json
index e507b954f93e..59ec53d02fed 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayGet.json
@@ -21,7 +21,7 @@
"vpnServerConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"
},
- "p2sConnectionConfigurations": [
+ "p2SConnectionConfigurations": [
{
"name": "P2SConnectionConfig1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayGetConnectionHealth.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayGetConnectionHealth.json
index 2d0cf2a64a07..7973f9b3bf1a 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayGetConnectionHealth.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayGetConnectionHealth.json
@@ -21,7 +21,7 @@
"vpnServerConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"
},
- "p2sConnectionConfigurations": [
+ "p2SConnectionConfigurations": [
{
"name": "P2SConnectionConfig1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayList.json
index c98a892a68ee..8211b30fe966 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayList.json
@@ -22,7 +22,7 @@
"vpnServerConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"
},
- "p2sConnectionConfigurations": [
+ "p2SConnectionConfigurations": [
{
"name": "P2SConnectionConfig1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
@@ -63,7 +63,7 @@
"vpnServerConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"
},
- "p2sConnectionConfigurations": [
+ "p2SConnectionConfigurations": [
{
"name": "P2SConnectionConfig1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayListByResourceGroup.json
index 667121d53191..c0649501a98e 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayListByResourceGroup.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayListByResourceGroup.json
@@ -22,7 +22,7 @@
"vpnServerConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"
},
- "p2sConnectionConfigurations": [
+ "p2SConnectionConfigurations": [
{
"name": "P2SConnectionConfig1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
@@ -61,7 +61,7 @@
"vpnServerConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"
},
- "p2sConnectionConfigurations": [
+ "p2SConnectionConfigurations": [
{
"name": "P2SConnectionConfig1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayPut.json
index 17ade6555bf1..e5bea31cff64 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayPut.json
@@ -16,7 +16,7 @@
"vpnServerConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"
},
- "p2sConnectionConfigurations": [
+ "p2SConnectionConfigurations": [
{
"name": "P2SConnectionConfig1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
@@ -49,7 +49,7 @@
"vpnServerConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"
},
- "p2sConnectionConfigurations": [
+ "p2SConnectionConfigurations": [
{
"name": "P2SConnectionConfig1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
@@ -89,7 +89,7 @@
"vpnServerConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"
},
- "p2sConnectionConfigurations": [
+ "p2SConnectionConfigurations": [
{
"name": "P2SConnectionConfig1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayUpdateTags.json
index 01e57320a9c2..351da99f1784 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayUpdateTags.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/P2SVpnGatewayUpdateTags.json
@@ -31,7 +31,7 @@
"vpnServerConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"
},
- "p2sConnectionConfigurations": [
+ "p2SConnectionConfigurations": [
{
"name": "P2SConnectionConfig1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
@@ -76,7 +76,7 @@
"vpnServerConfiguration": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1"
},
- "p2sConnectionConfigurations": [
+ "p2SConnectionConfigurations": [
{
"name": "P2SConnectionConfig1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1",
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/VpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/VpnServerConfigurationGet.json
index 5cea6cc64392..832fb37cd4c5 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/VpnServerConfigurationGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/VpnServerConfigurationGet.json
@@ -36,13 +36,13 @@
"pfsGroup": "PFS14"
}
],
- "vpnServerConfigVpnClientRootCertificates": [
+ "vpnClientRootCertificates": [
{
"name": "vpnServerConfigVpnClientRootCert1",
"publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
}
],
- "vpnServerConfigVpnClientRevokedCertificates": [
+ "vpnClientRevokedCertificates": [
{
"name": "vpnServerConfigVpnClientRevokedCert1",
"thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
@@ -50,13 +50,13 @@
],
"radiusServerAddress": "8.9.9.9",
"radiusServerSecret": "123_abc",
- "vpnServerConfigRadiusServerRootCertificates": [
+ "radiusServerRootCertificates": [
{
"name": "vpnServerConfigRadiusServerRootCer1",
"publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
}
],
- "vpnServerConfigRadiusClientRootCertificates": [
+ "radiusClientRootCertificates": [
{
"name": "vpnServerConfigRadiusClientRootCert1",
"thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/VpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/VpnServerConfigurationList.json
index c637b9a170bf..b2258c4bd567 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/VpnServerConfigurationList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/VpnServerConfigurationList.json
@@ -36,13 +36,13 @@
"pfsGroup": "PFS14"
}
],
- "vpnServerConfigVpnClientRootCertificates": [
+ "vpnClientRootCertificates": [
{
"name": "vpnServerConfigVpnClientRootCert1",
"publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
}
],
- "vpnServerConfigVpnClientRevokedCertificates": [
+ "vpnClientRevokedCertificates": [
{
"name": "vpnServerConfigVpnClientRevokedCert1",
"thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
@@ -50,13 +50,13 @@
],
"radiusServerAddress": "8.9.9.9",
"radiusServerSecret": "123_abc",
- "vpnServerConfigRadiusServerRootCertificates": [
+ "radiusServerRootCertificates": [
{
"name": "vpnServerConfigRadiusServerRootCer1",
"publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
}
],
- "vpnServerConfigRadiusClientRootCertificates": [
+ "radiusClientRootCertificates": [
{
"name": "vpnServerConfigRadiusClientRootCert1",
"thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
@@ -93,13 +93,13 @@
"pfsGroup": "PFS14"
}
],
- "vpnServerConfigVpnClientRootCertificates": [
+ "vpnClientRootCertificates": [
{
"name": "vpnServerConfigVpnClientRootCert1",
"publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
}
],
- "vpnServerConfigVpnClientRevokedCertificates": [
+ "vpnClientRevokedCertificates": [
{
"name": "vpnServerConfigVpnClientRevokedCert1",
"thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
@@ -107,13 +107,13 @@
],
"radiusServerAddress": "8.9.9.9",
"radiusServerSecret": "123_abc",
- "vpnServerConfigRadiusServerRootCertificates": [
+ "radiusServerRootCertificates": [
{
"name": "vpnServerConfigRadiusServerRootCer1",
"publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
}
],
- "vpnServerConfigRadiusClientRootCertificates": [
+ "radiusClientRootCertificates": [
{
"name": "vpnServerConfigRadiusClientRootCert1",
"thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/VpnServerConfigurationListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/VpnServerConfigurationListByResourceGroup.json
index 9b18be6cbb89..cde51d814c24 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/VpnServerConfigurationListByResourceGroup.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/VpnServerConfigurationListByResourceGroup.json
@@ -37,13 +37,13 @@
"pfsGroup": "PFS14"
}
],
- "vpnServerConfigVpnClientRootCertificates": [
+ "vpnClientRootCertificates": [
{
"name": "vpnServerConfigVpnClientRootCert1",
"publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
}
],
- "vpnServerConfigVpnClientRevokedCertificates": [
+ "vpnClientRevokedCertificates": [
{
"name": "vpnServerConfigVpnClientRevokedCert1",
"thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
@@ -51,13 +51,13 @@
],
"radiusServerAddress": "8.9.9.9",
"radiusServerSecret": "123_abc",
- "vpnServerConfigRadiusServerRootCertificates": [
+ "radiusServerRootCertificates": [
{
"name": "vpnServerConfigRadiusServerRootCer1",
"publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
}
],
- "vpnServerConfigRadiusClientRootCertificates": [
+ "radiusClientRootCertificates": [
{
"name": "vpnServerConfigRadiusClientRootCert1",
"thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
@@ -94,13 +94,13 @@
"pfsGroup": "PFS14"
}
],
- "vpnServerConfigVpnClientRootCertificates": [
+ "vpnClientRootCertificates": [
{
"name": "vpnServerConfigVpnClientRootCert1",
"publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
}
],
- "vpnServerConfigVpnClientRevokedCertificates": [
+ "vpnClientRevokedCertificates": [
{
"name": "vpnServerConfigVpnClientRevokedCert1",
"thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
@@ -108,13 +108,13 @@
],
"radiusServerAddress": "8.9.9.9",
"radiusServerSecret": "123_abc",
- "vpnServerConfigRadiusServerRootCertificates": [
+ "radiusServerRootCertificates": [
{
"name": "vpnServerConfigRadiusServerRootCer1",
"publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
}
],
- "vpnServerConfigRadiusClientRootCertificates": [
+ "radiusClientRootCertificates": [
{
"name": "vpnServerConfigRadiusClientRootCert1",
"thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/VpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/VpnServerConfigurationPut.json
index ed1cb860710e..f2f94b8e3247 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/VpnServerConfigurationPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/VpnServerConfigurationPut.json
@@ -25,13 +25,13 @@
"pfsGroup": "PFS14"
}
],
- "vpnServerConfigVpnClientRootCertificates": [
+ "vpnClientRootCertificates": [
{
"name": "vpnServerConfigVpnClientRootCert1",
"publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
}
],
- "vpnServerConfigVpnClientRevokedCertificates": [
+ "vpnClientRevokedCertificates": [
{
"name": "vpnServerConfigVpnClientRevokedCert1",
"thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
@@ -39,13 +39,13 @@
],
"radiusServerAddress": "8.9.9.9",
"radiusServerSecret": "123_abc",
- "vpnServerConfigRadiusServerRootCertificates": [
+ "radiusServerRootCertificates": [
{
"name": "vpnServerConfigRadiusServerRootCer1",
"publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
}
],
- "vpnServerConfigRadiusClientRootCertificates": [
+ "radiusClientRootCertificates": [
{
"name": "vpnServerConfigRadiusClientRootCert1",
"thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
@@ -85,13 +85,13 @@
"pfsGroup": "PFS14"
}
],
- "vpnServerConfigVpnClientRootCertificates": [
+ "vpnClientRootCertificates": [
{
"name": "vpnServerConfigVpnClientRootCert1",
"publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
}
],
- "vpnServerConfigVpnClientRevokedCertificates": [
+ "vpnClientRevokedCertificates": [
{
"name": "vpnServerConfigVpnClientRevokedCert1",
"thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
@@ -99,13 +99,13 @@
],
"radiusServerAddress": "8.9.9.9",
"radiusServerSecret": "123_abc",
- "vpnServerConfigRadiusServerRootCertificates": [
+ "radiusServerRootCertificates": [
{
"name": "vpnServerConfigRadiusServerRootCer1",
"publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
}
],
- "vpnServerConfigRadiusClientRootCertificates": [
+ "radiusClientRootCertificates": [
{
"name": "vpnServerConfigRadiusClientRootCert1",
"thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
@@ -144,13 +144,13 @@
"pfsGroup": "PFS14"
}
],
- "vpnServerConfigVpnClientRootCertificates": [
+ "vpnClientRootCertificates": [
{
"name": "vpnServerConfigVpnClientRootCert1",
"publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
}
],
- "vpnServerConfigVpnClientRevokedCertificates": [
+ "vpnClientRevokedCertificates": [
{
"name": "vpnServerConfigVpnClientRevokedCert1",
"thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
@@ -158,13 +158,13 @@
],
"radiusServerAddress": "8.9.9.9",
"radiusServerSecret": "123_abc",
- "vpnServerConfigRadiusServerRootCertificates": [
+ "radiusServerRootCertificates": [
{
"name": "vpnServerConfigRadiusServerRootCer1",
"publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
}
],
- "vpnServerConfigRadiusClientRootCertificates": [
+ "radiusClientRootCertificates": [
{
"name": "vpnServerConfigRadiusClientRootCert1",
"thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/VpnServerConfigurationUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/VpnServerConfigurationUpdateTags.json
index 063d69e68cea..e739a9525686 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/VpnServerConfigurationUpdateTags.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/examples/VpnServerConfigurationUpdateTags.json
@@ -40,13 +40,13 @@
"pfsGroup": "PFS14"
}
],
- "vpnServerConfigVpnClientRootCertificates": [
+ "vpnClientRootCertificates": [
{
"name": "vpnServerConfigVpnClientRootCert1",
"publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
}
],
- "vpnServerConfigVpnClientRevokedCertificates": [
+ "vpnClientRevokedCertificates": [
{
"name": "vpnServerConfigVpnClientRevokedCert1",
"thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
@@ -54,13 +54,13 @@
],
"radiusServerAddress": "8.9.9.9",
"radiusServerSecret": "123_abc",
- "vpnServerConfigRadiusServerRootCertificates": [
+ "radiusServerRootCertificates": [
{
"name": "vpnServerConfigRadiusServerRootCer1",
"publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
}
],
- "vpnServerConfigRadiusClientRootCertificates": [
+ "radiusClientRootCertificates": [
{
"name": "vpnServerConfigRadiusClientRootCert1",
"thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
@@ -97,13 +97,13 @@
"pfsGroup": "PFS14"
}
],
- "vpnServerConfigVpnClientRootCertificates": [
+ "vpnClientRootCertificates": [
{
"name": "vpnServerConfigVpnClientRootCert1",
"publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
}
],
- "vpnServerConfigVpnClientRevokedCertificates": [
+ "vpnClientRevokedCertificates": [
{
"name": "vpnServerConfigVpnClientRevokedCert1",
"thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
@@ -111,13 +111,13 @@
],
"radiusServerAddress": "8.9.9.9",
"radiusServerSecret": "123_abc",
- "vpnServerConfigRadiusServerRootCertificates": [
+ "radiusServerRootCertificates": [
{
"name": "vpnServerConfigRadiusServerRootCer1",
"publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
}
],
- "vpnServerConfigRadiusClientRootCertificates": [
+ "radiusClientRootCertificates": [
{
"name": "vpnServerConfigRadiusClientRootCert1",
"thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/virtualWan.json
index 8895bc29b34a..7b317acef780 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/virtualWan.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/virtualWan.json
@@ -3875,28 +3875,28 @@
},
"description": "VPN authentication types for the VpnServerConfiguration."
},
- "vpnServerConfigVpnClientRootCertificates": {
+ "vpnClientRootCertificates": {
"type": "array",
"items": {
"$ref": "#/definitions/VpnServerConfigVpnClientRootCertificate"
},
"description": "VPN client root certificate of VpnServerConfiguration."
},
- "vpnServerConfigVpnClientRevokedCertificates": {
+ "vpnClientRevokedCertificates": {
"type": "array",
"items": {
"$ref": "#/definitions/VpnServerConfigVpnClientRevokedCertificate"
},
"description": "VPN client revoked certificate of VpnServerConfiguration."
},
- "vpnServerConfigRadiusServerRootCertificates": {
+ "radiusServerRootCertificates": {
"type": "array",
"items": {
"$ref": "#/definitions/VpnServerConfigRadiusServerRootCertificate"
},
"description": "Radius Server root certificate of VpnServerConfiguration."
},
- "vpnServerConfigRadiusClientRootCertificates": {
+ "radiusClientRootCertificates": {
"type": "array",
"items": {
"$ref": "#/definitions/VpnServerConfigRadiusClientRootCertificate"
@@ -4017,7 +4017,7 @@
"$ref": "./network.json#/definitions/SubResource",
"description": "The VirtualHub to which the gateway belongs."
},
- "p2sConnectionConfigurations": {
+ "p2SConnectionConfigurations": {
"type": "array",
"description": "List of all p2s connection configurations of the gateway.",
"items": {
@@ -4034,7 +4034,7 @@
"description": "The scale unit for this p2s vpn gateway."
},
"vpnServerConfiguration": {
- "$ref": "#/definitions/VpnServerConfiguration",
+ "$ref": "./network.json#/definitions/SubResource",
"description": "The VpnServerConfiguration to which the p2sVpnGateway is attached to."
},
"vpnClientConnectionHealth": {
From fc48eef5d7590314676129705f602d65455b615a Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Wed, 6 Nov 2019 17:56:53 -0800
Subject: [PATCH 170/189] update readme.md
---
specification/sql/resource-manager/readme.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md
index 01b866a42ea2..e6dbd772d046 100644
--- a/specification/sql/resource-manager/readme.md
+++ b/specification/sql/resource-manager/readme.md
@@ -125,6 +125,9 @@ input-file:
- Microsoft.Sql/preview/2018-06-01-preview/FailoverElasticPools.json
- Microsoft.Sql/preview/2018-06-01-preview/PrivateEndpointConnections.json
- Microsoft.Sql/preview/2018-06-01-preview/PrivateLinkResources.json
+- Microsoft.Sql/preview/2019-06-01-preview/databases.json
+- Microsoft.Sql/preview/2019-06-01-preview/managedDatabases.json
+- Microsoft.Sql/preview/2019-06-01-preview/serverOperations.json
# Needed when there is more than one input file
override-info:
@@ -472,6 +475,7 @@ input-file:
- ./Microsoft.Sql/preview/2018-06-01-preview/DatabaseSecurityAlertPolicies.json
- ./Microsoft.Sql/preview/2018-06-01-preview/managedDatabaseSensitivityLabels.json
- ./Microsoft.Sql/preview/2018-06-01-preview/ManagedInstanceVulnerabilityAssessments.json
+ - ./Microsoft.Sql/preview/2018-06-01-preview/managedInstanceOperations.json
- ./Microsoft.Sql/preview/2018-06-01-preview/ServerVulnerabilityAssessments.json
- ./Microsoft.Sql/preview/2018-06-01-preview/instancePools.json
- ./Microsoft.Sql/preview/2018-06-01-preview/usages.json
From c9d499944c02633a96199769a89967af92a661b6 Mon Sep 17 00:00:00 2001
From: hytao
Date: Wed, 6 Nov 2019 18:34:17 -0800
Subject: [PATCH 171/189] update description for UrlRewrite Action (#7715)
* update comment
* update
---
.../Microsoft.Cdn/stable/2019-04-15/cdn.json | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json
index 021d9f71e26d..e3ccabfbb2ca 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json
@@ -3399,15 +3399,15 @@
]
},
"sourcePattern": {
- "description": "define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched.",
+ "description": "define a request URI pattern that identifies the type of requests that may be rewritten. Currently, source pattern uses a prefix-based match. To match all URL paths, use \"/\" as the source pattern value. To match only the root directory and re-write this path, use the origin path field",
"type": "string"
},
"destination": {
- "description": "Define the relative URL to which the above requests will be rewritten by.",
+ "description": "Define the destination path for be used in the rewrite. This will overwrite the source pattern ",
"type": "string"
},
"preserveUnmatchedPath": {
- "description": "Whether to preserve unmatched path. Default value is true.",
+ "description": "If True, the remaining path after the source pattern will be appended to the new destination path. ",
"type": "boolean"
}
}
From 3b7561e0d7c15981db5097cceebe2aad7fe289f8 Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Wed, 6 Nov 2019 18:56:20 -0800
Subject: [PATCH 172/189] modify readme.md
---
specification/sql/resource-manager/readme.md | 24 +++++++++++++++++---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md
index e6dbd772d046..6b121ddf69a0 100644
--- a/specification/sql/resource-manager/readme.md
+++ b/specification/sql/resource-manager/readme.md
@@ -125,9 +125,6 @@ input-file:
- Microsoft.Sql/preview/2018-06-01-preview/FailoverElasticPools.json
- Microsoft.Sql/preview/2018-06-01-preview/PrivateEndpointConnections.json
- Microsoft.Sql/preview/2018-06-01-preview/PrivateLinkResources.json
-- Microsoft.Sql/preview/2019-06-01-preview/databases.json
-- Microsoft.Sql/preview/2019-06-01-preview/managedDatabases.json
-- Microsoft.Sql/preview/2019-06-01-preview/serverOperations.json
# Needed when there is more than one input file
override-info:
@@ -460,6 +457,27 @@ override-info:
The following packages are each composed of all apis from only one api-version.
+### Tag: package-pure-2019-06-preview
+
+These settings apply only when `--tag=package-pure-2019-06-preview` is specified on the command line.
+
+This section contains all input swagger files for version 2019-06-01-preview. All APIs of that version must be added this section when the API is ready for production.
+
+APIs must only be added to this section when the API is publicly available in at least 1 production region and at least 1 generated client has been tested end-to-end.
+
+These can be regenerated by running the following PowerShell script from this readme file's folder: `dir .\Microsoft.Sql\preview\2019-06-01-preview\ -File | Resolve-Path -Relative | % { " - $_".Replace("\", "/") }`
+
+``` yaml $(tag) == 'package-pure-2019-06-preview'
+input-file:
+ - ./Microsoft.Sql/preview/2019-06-01-preview/databases.json
+ - ./Microsoft.Sql/preview/2019-06-01-preview/managedDatabases.json
+ - ./Microsoft.Sql/preview/2019-06-01-preview/serverOperations.json
+
+# Needed when there is more than one input file
+override-info:
+ title: SqlManagementClient
+ ```
+
### Tag: package-pure-2018-06-preview
These settings apply only when `--tag=package-pure-2018-06-preview` is specified on the command line.
From 46b5a95624cca6234e371c100935e02e54437953 Mon Sep 17 00:00:00 2001
From: tfitzmac
Date: Sat, 26 Oct 2019 08:51:25 -0700
Subject: [PATCH 173/189] use secure link for documentation
---
.../Microsoft.Batch/stable/2017-09-01/BatchManagement.json | 2 +-
.../Microsoft.Batch/stable/2018-12-01/BatchManagement.json | 2 +-
.../Microsoft.Batch/stable/2019-04-01/BatchManagement.json | 2 +-
.../Microsoft.Batch/stable/2019-08-01/BatchManagement.json | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/BatchManagement.json
index 18743ad61765..784ec593d4a5 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/BatchManagement.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/BatchManagement.json
@@ -2640,7 +2640,7 @@
"vmSize": {
"type": "string",
"title": "The size of virtual machines in the pool. All VMs in a pool are the same size.",
- "description": "For information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall. For information about available VM sizes for pools using images from the Virtual Machines Marketplace (pools created with virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series)."
+ "description": "For information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall. For information about available VM sizes for pools using images from the Virtual Machines Marketplace (pools created with virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series)."
},
"deploymentConfiguration": {
"$ref": "#/definitions/DeploymentConfiguration",
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/BatchManagement.json
index 8d707a32e74e..3037aa6c6d94 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/BatchManagement.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/BatchManagement.json
@@ -2778,7 +2778,7 @@
"vmSize": {
"type": "string",
"title": "The size of virtual machines in the pool. All VMs in a pool are the same size.",
- "description": "For information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall. For information about available VM sizes for pools using images from the Virtual Machines Marketplace (pools created with virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series)."
+ "description": "For information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall. For information about available VM sizes for pools using images from the Virtual Machines Marketplace (pools created with virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series)."
},
"deploymentConfiguration": {
"$ref": "#/definitions/DeploymentConfiguration",
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/BatchManagement.json
index 317c5da8b95f..56fac274fc9b 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/BatchManagement.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/BatchManagement.json
@@ -2814,7 +2814,7 @@
"vmSize": {
"type": "string",
"title": "The size of virtual machines in the pool. All VMs in a pool are the same size.",
- "description": "For information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall. For information about available VM sizes for pools using images from the Virtual Machines Marketplace (pools created with virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series)."
+ "description": "For information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall. For information about available VM sizes for pools using images from the Virtual Machines Marketplace (pools created with virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series)."
},
"deploymentConfiguration": {
"$ref": "#/definitions/DeploymentConfiguration",
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/BatchManagement.json
index a2fc026149b8..116ce7441348 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/BatchManagement.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-08-01/BatchManagement.json
@@ -2817,7 +2817,7 @@
"vmSize": {
"type": "string",
"title": "The size of virtual machines in the pool. All VMs in a pool are the same size.",
- "description": "For information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall. For information about available VM sizes for pools using images from the Virtual Machines Marketplace (pools created with virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series)."
+ "description": "For information about available sizes of virtual machines for Cloud Services pools (pools created with cloudServiceConfiguration), see Sizes for Cloud Services (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch supports all Cloud Services VM sizes except ExtraSmall. For information about available VM sizes for pools using images from the Virtual Machines Marketplace (pools created with virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series)."
},
"deploymentConfiguration": {
"$ref": "#/definitions/DeploymentConfiguration",
From 4d8dcec4191ea5caef0f5ab78a6cd497846d672c Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Wed, 6 Nov 2019 19:08:35 -0800
Subject: [PATCH 174/189] fix avacado
---
...eVCoreDatabaseBySkuTierFamilyCapacity.json | 78 -------------------
.../examples/GetDatabase.json | 34 --------
.../examples/ListDatabasesByServer.json | 56 -------------
.../examples/PatchVCoreDatabase.json | 47 -----------
4 files changed, 215 deletions(-)
delete mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuTierFamilyCapacity.json
delete mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetDatabase.json
delete mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByServer.json
delete mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchVCoreDatabase.json
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuTierFamilyCapacity.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuTierFamilyCapacity.json
deleted file mode 100644
index f418610356b5..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuTierFamilyCapacity.json
+++ /dev/null
@@ -1,78 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "testdb",
- "api-version": "2017-10-01-preview",
- "parameters": {
- "location": "southeastasia",
- "sku": {
- "name": "BC_Gen4_2"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "BC_Gen4",
- "tier": "BusinessCritical",
- "family": "Gen4",
- "capacity": 2
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 1073741824,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "BC_Gen4_2",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
- "licenseType": "LicenseIncluded",
- "maxLogSizeBytes": 104857600,
- "readScale": "Enabled",
- "readReplicaCount": 1
- },
- "location": "southeastasia",
- "id":
- "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- }
- },
- "201": {
- "body": {
- "sku": {
- "name": "BC_Gen4",
- "tier": "BusinessCritical",
- "family": "Gen4",
- "capacity": 2
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 1073741824,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "BC_Gen4_2",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
- "licenseType": "LicenseIncluded",
- "maxLogSizeBytes": 104857600,
- "readScale": "Enabled",
- "readReplicaCount": 1
- },
- "location": "southeastasia",
- "id":
- "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetDatabase.json
deleted file mode 100644
index 70e9298d0244..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetDatabase.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "testdb",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 268435456000,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "S0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- }
- }
- }
-}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByServer.json
deleted file mode 100644
index b487148a6635..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByServer.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 268435456000,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "S0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- },
- {
- "sku": {
- "name": "System0",
- "tier": "System"
- },
- "kind": "v12.0,system",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 32212254720,
- "status": "Online",
- "databaseId": "e6be351f-2cc9-4604-9e52-b0b28b2710b0",
- "creationDate": "2017-06-07T04:23:42.537Z",
- "currentServiceObjectiveName": "System0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/master",
- "name": "master",
- "type": "Microsoft.Sql/servers/databases"
- }]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchVCoreDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchVCoreDatabase.json
deleted file mode 100644
index b0b211816a51..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchVCoreDatabase.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "testdb",
- "api-version": "2017-03-01-preview",
- "parameters": {
- "sku": {
- "name": "BC_Gen4_4"
- },
- "properties": {
- "maxSizeBytes": 1073741824,
- "licenseType": "LicenseIncluded"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "BC_Gen4_4",
- "tier": "BusinessCritical",
- "capacity": 4
- },
- "kind": "v12.0,user,vcore",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 1073741824,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "BC_Gen4_4",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
- "licenseType": "LicenseIncluded",
- "maxLogSizeBytes": 104857600
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- }
- },
- "202": {}
- }
-}
From 45d3e485950816192206a010fd47109a98a5b2b7 Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Wed, 6 Nov 2019 19:18:49 -0800
Subject: [PATCH 175/189] fix avacado 2
---
...ateHyperscaleDatabaseWithReadReplicas.json | 79 -------------------
1 file changed, 79 deletions(-)
delete mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateHyperscaleDatabaseWithReadReplicas.json
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateHyperscaleDatabaseWithReadReplicas.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateHyperscaleDatabaseWithReadReplicas.json
deleted file mode 100644
index ba48154d3c5d..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateHyperscaleDatabaseWithReadReplicas.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "testdb",
- "api-version": "2017-10-01-preview",
- "parameters": {
- "location": "southeastasia",
- "sku": {
- "name": "HS_Gen4",
- "tier": "Hyperscale",
- "capacity": 1
- },
- "properties": {
- "readReplicaCount": 3
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "HS_Gen4",
- "tier": "Hyperscale",
- "family": "Gen4",
- "capacity": 1
- },
- "kind": "v12.0,user,vcore,hyperscale",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": -1,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "HS_Gen4_1",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
- "licenseType": "LicenseIncluded",
- "readScale": "Enabled",
- "readReplicaCount": 3
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- }
- },
- "201": {
- "body": {
- "sku": {
- "name": "HS_Gen4",
- "tier": "Hyperscale",
- "family": "Gen4",
- "capacity": 1
- },
- "kind": "v12.0,user,vcore,hyperscale",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": -1,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "HS_Gen4_1",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
- "licenseType": "LicenseIncluded",
- "readScale": "Enabled",
- "readReplicaCount": 3
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
From 80a458c51677166e259b90316678e16c1ec614a0 Mon Sep 17 00:00:00 2001
From: Leonard Francis
Date: Thu, 7 Nov 2019 07:42:50 +0000
Subject: [PATCH 176/189] New swagger for 2019-08-01 API (#7660)
---
.../stable/2019-05-01/netapp.json | 2 +-
.../examples/Accounts_CreateOrUpdate.json | 2 +-
.../2019-06-01/examples/Accounts_Delete.json | 2 +-
.../2019-06-01/examples/Accounts_Get.json | 2 +-
.../2019-06-01/examples/Accounts_List.json | 2 +-
.../2019-06-01/examples/Accounts_Update.json | 2 +-
.../examples/CheckFilePathAvailability.json | 2 +-
.../examples/CheckNameAvailability.json | 2 +-
.../examples/MountTargets_List.json | 2 +-
.../examples/Pools_CreateOrUpdate.json | 2 +-
.../2019-06-01/examples/Pools_Delete.json | 2 +-
.../stable/2019-06-01/examples/Pools_Get.json | 2 +-
.../2019-06-01/examples/Pools_List.json | 2 +-
.../2019-06-01/examples/Pools_Update.json | 2 +-
.../2019-06-01/examples/Snapshots_Create.json | 2 +-
.../2019-06-01/examples/Snapshots_Delete.json | 2 +-
.../2019-06-01/examples/Snapshots_Get.json | 2 +-
.../2019-06-01/examples/Snapshots_List.json | 2 +-
.../2019-06-01/examples/Snapshots_Update.json | 2 +-
.../examples/Volumes_CreateOrUpdate.json | 2 +-
.../2019-06-01/examples/Volumes_Delete.json | 2 +-
.../2019-06-01/examples/Volumes_Get.json | 2 +-
.../2019-06-01/examples/Volumes_List.json | 2 +-
.../2019-06-01/examples/Volumes_Update.json | 2 +-
.../stable/2019-06-01/netapp.json | 2 +-
.../2019-07-01/examples/Accounts_Get.json | 2 +-
.../stable/2019-07-01/netapp.json | 1 -
.../examples/Accounts_CreateOrUpdate.json | 37 +
.../2019-08-01/examples/Accounts_Delete.json | 12 +
.../2019-08-01/examples/Accounts_Get.json | 21 +
.../2019-08-01/examples/Accounts_List.json | 24 +
.../2019-08-01/examples/Accounts_Update.json | 23 +
.../examples/CheckFilePathAvailability.json | 19 +
.../examples/CheckNameAvailability.json | 19 +
.../examples/MountTargets_List.json | 36 +
.../examples/Pools_CreateOrUpdate.json | 47 +
.../2019-08-01/examples/Pools_Delete.json | 13 +
.../stable/2019-08-01/examples/Pools_Get.json | 25 +
.../2019-08-01/examples/Pools_List.json | 28 +
.../2019-08-01/examples/Pools_Update.json | 27 +
.../2019-08-01/examples/Snapshots_Create.json | 31 +
.../2019-08-01/examples/Snapshots_Delete.json | 16 +
.../2019-08-01/examples/Snapshots_Get.json | 27 +
.../2019-08-01/examples/Snapshots_List.json | 30 +
.../2019-08-01/examples/Snapshots_Update.json | 29 +
.../examples/Volumes_CreateOrUpdate.json | 54 +
.../2019-08-01/examples/Volumes_Delete.json | 14 +
.../2019-08-01/examples/Volumes_Get.json | 28 +
.../2019-08-01/examples/Volumes_List.json | 31 +
.../2019-08-01/examples/Volumes_Update.json | 30 +
.../stable/2019-08-01/netapp.json | 2415 +++++++++++++++++
.../netapp/resource-manager/readme.go.md | 10 +
.../netapp/resource-manager/readme.java.md | 14 +
.../netapp/resource-manager/readme.md | 12 +-
54 files changed, 3097 insertions(+), 28 deletions(-)
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_CreateOrUpdate.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Delete.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Get.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_List.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Update.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckFilePathAvailability.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckNameAvailability.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/MountTargets_List.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_CreateOrUpdate.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Delete.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Get.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_List.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Update.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Create.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Delete.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Get.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_List.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Update.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_CreateOrUpdate.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Delete.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Get.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_List.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Update.json
create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json
index ecae3bae0891..245c83d88b3c 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json
@@ -1726,7 +1726,7 @@
},
"nfsv4": {
"type": "boolean",
- "description": "Allows NFSv4 protocol"
+ "description": "Deprecated: Will use the NFSv4.1 protocol, please use swagger version 2019-07-01 or later"
},
"allowedClients": {
"type": "string",
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_CreateOrUpdate.json
index f7e8185facac..0158a70fb30c 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_CreateOrUpdate.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_CreateOrUpdate.json
@@ -3,7 +3,7 @@
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
- "api-version": "2019-05-01",
+ "api-version": "2019-06-01",
"body": {
"location": "eastus"
}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Delete.json
index 8968a51a5a99..d049c0350a07 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Delete.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Delete.json
@@ -3,7 +3,7 @@
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
- "api-version": "2019-05-01"
+ "api-version": "2019-06-01"
},
"responses": {
"204": {},
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Get.json
index 8d66e1d9a64b..9729364d74c0 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Get.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Get.json
@@ -3,7 +3,7 @@
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
- "api-version": "2019-05-01"
+ "api-version": "2019-06-01"
},
"responses": {
"200": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_List.json
index 4c8836049b95..30badb9d3ee7 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_List.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_List.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
- "api-version": "2019-05-01"
+ "api-version": "2019-06-01"
},
"responses": {
"200": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Update.json
index f4d5bf8d5031..9059646327f0 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Update.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Update.json
@@ -3,7 +3,7 @@
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
- "api-version": "2019-05-01",
+ "api-version": "2019-06-01",
"body": {}
},
"responses": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckFilePathAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckFilePathAvailability.json
index cf432f1c14d7..87a3b9e12df5 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckFilePathAvailability.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckFilePathAvailability.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "subscriptionId",
"location": "eastus",
- "api-version": "2019-05-01",
+ "api-version": "2019-06-01",
"body": {
"name": "my-exact-filepth",
"type": "netAppAccount/capacityPools/volume",
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckNameAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckNameAvailability.json
index 05afbf0db5d4..8579eda54950 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckNameAvailability.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckNameAvailability.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "subscriptionId",
"location": "eastus",
- "api-version": "2019-05-01",
+ "api-version": "2019-06-01",
"body": {
"name": "accName",
"type": "netAppAccount",
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/MountTargets_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/MountTargets_List.json
index f3ee2188744e..3b9b4cb96a9f 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/MountTargets_List.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/MountTargets_List.json
@@ -5,7 +5,7 @@
"accountName": "accountName",
"poolName": "poolName",
"volumeName": "volumeName",
- "api-version": "2019-05-01"
+ "api-version": "2019-06-01"
},
"responses": {
"200": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_CreateOrUpdate.json
index 9b7c0eac8a3d..07c8118ac9df 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_CreateOrUpdate.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_CreateOrUpdate.json
@@ -4,7 +4,7 @@
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"poolName": "poolName",
- "api-version": "2019-05-01",
+ "api-version": "2019-06-01",
"body": {
"location": "eastus",
"properties": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Delete.json
index 949559f94709..fc184b1459d0 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Delete.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Delete.json
@@ -4,7 +4,7 @@
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"poolName": "poolName",
- "api-version": "2019-05-01"
+ "api-version": "2019-06-01"
},
"responses": {
"204": {},
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Get.json
index a0994c4c9805..1884e9b99420 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Get.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Get.json
@@ -4,7 +4,7 @@
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"poolName": "poolName",
- "api-version": "2019-05-01"
+ "api-version": "2019-06-01"
},
"responses": {
"200": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_List.json
index 101578bc6c93..ea75d5004fa4 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_List.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_List.json
@@ -3,7 +3,7 @@
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
- "api-version": "2019-05-01"
+ "api-version": "2019-06-01"
},
"responses": {
"200": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Update.json
index 352fb9f2bff3..ff3252ca444a 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Update.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Update.json
@@ -4,7 +4,7 @@
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"poolName": "poolName",
- "api-version": "2019-05-01",
+ "api-version": "2019-06-01",
"body": {}
},
"responses": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Create.json
index 19a57beace0a..966e674d6fc4 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Create.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Create.json
@@ -6,7 +6,7 @@
"poolName": "poolName",
"volumeName": "volumeName",
"snapshotName": "snapshotName",
- "api-version": "2019-05-01",
+ "api-version": "2019-06-01",
"body": {
"location": "eastus"
}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Delete.json
index b6f87582dda5..9019401f8961 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Delete.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Delete.json
@@ -6,7 +6,7 @@
"poolName": "poolName",
"volumeName": "volumeName",
"snapshotName": "snapshotName",
- "api-version": "2019-05-01"
+ "api-version": "2019-06-01"
},
"responses": {
"204": {},
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Get.json
index 762f230637d1..1078047ed3fa 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Get.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Get.json
@@ -6,7 +6,7 @@
"poolName": "poolName",
"volumeName": "volumeName",
"snapshotName": "snapshotName",
- "api-version": "2019-05-01"
+ "api-version": "2019-06-01"
},
"responses": {
"200": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_List.json
index 5bf9ef6dbc3e..465e1547cee8 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_List.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_List.json
@@ -5,7 +5,7 @@
"accountName": "accountName",
"poolName": "poolName",
"volumeName": "volumeName",
- "api-version": "2019-05-01"
+ "api-version": "2019-06-01"
},
"responses": {
"200": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Update.json
index 626d011ca2ef..f26da8a65957 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Update.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Update.json
@@ -6,7 +6,7 @@
"poolName": "poolName",
"volumeName": "volumeName",
"snapshotName": "snapshotName",
- "api-version": "2019-05-01",
+ "api-version": "2019-06-01",
"body": {}
},
"responses": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_CreateOrUpdate.json
index 5d5d05bac956..486f16fdebeb 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_CreateOrUpdate.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_CreateOrUpdate.json
@@ -5,7 +5,7 @@
"accountName": "accountName",
"poolName": "poolName",
"volumeName": "volumeName",
- "api-version": "2019-05-01",
+ "api-version": "2019-06-01",
"body": {
"location": "eastus",
"properties": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Delete.json
index c497f27bf6e8..a1b8721b532c 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Delete.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Delete.json
@@ -5,7 +5,7 @@
"accountName": "accountName",
"poolName": "poolName",
"volumeName": "volumeName",
- "api-version": "2019-05-01"
+ "api-version": "2019-06-01"
},
"responses": {
"204": {},
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Get.json
index fb6864c7e431..7f41dcbe946a 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Get.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Get.json
@@ -5,7 +5,7 @@
"accountName": "accountName",
"poolName": "poolName",
"volumeName": "volumeName",
- "api-version": "2019-05-01"
+ "api-version": "2019-06-01"
},
"responses": {
"200": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_List.json
index e707fe00a83d..7992afab88b5 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_List.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_List.json
@@ -4,7 +4,7 @@
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"poolName": "poolName",
- "api-version": "2019-05-01"
+ "api-version": "2019-06-01"
},
"responses": {
"200": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Update.json
index dd2c40ea4091..c9d53e15f628 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Update.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Update.json
@@ -5,7 +5,7 @@
"accountName": "accountName",
"poolName": "poolName",
"volumeName": "volumeName",
- "api-version": "2019-05-01",
+ "api-version": "2019-06-01",
"body": {}
},
"responses": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json
index 185bff3eace0..7c5708072949 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json
@@ -1946,7 +1946,7 @@
},
"nfsv4": {
"type": "boolean",
- "description": "Allows NFSv4 protocol"
+ "description": "Deprecated: Will use the NFSv4.1 protocol, please use swagger version 2019-07-01 or later"
},
"allowedClients": {
"type": "string",
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/examples/Accounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/examples/Accounts_Get.json
index 8d66e1d9a64b..9abf7cc79a1e 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/examples/Accounts_Get.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/examples/Accounts_Get.json
@@ -3,7 +3,7 @@
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
- "api-version": "2019-05-01"
+ "api-version": "2019-07-01"
},
"responses": {
"200": {
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/netapp.json
index ea1fa7b7abc2..73384bb727a5 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/netapp.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/netapp.json
@@ -1879,7 +1879,6 @@
"type": "string"
},
"example": [
- "NFSv3",
"NFSv4.1"
]
},
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_CreateOrUpdate.json
new file mode 100644
index 000000000000..0419d4bee4b7
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_CreateOrUpdate.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2019-08-01",
+ "body": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Delete.json
new file mode 100644
index 000000000000..2a9c050bae91
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Get.json
new file mode 100644
index 000000000000..888483196522
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Get.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_List.json
new file mode 100644
index 000000000000..c494097c267f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_List.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Update.json
new file mode 100644
index 000000000000..2bf73d359a7b
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Update.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2019-08-01",
+ "body": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
+ "name": "account1",
+ "type": "Microsoft.NetApp/netAppAccounts",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckFilePathAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckFilePathAvailability.json
new file mode 100644
index 000000000000..61e438a0b0ea
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckFilePathAvailability.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "api-version": "2019-08-01",
+ "body": {
+ "name": "my-exact-filepth",
+ "type": "netAppAccount/capacityPools/volume",
+ "resourceGroup": "myRG"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "isAvailable": true
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckNameAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckNameAvailability.json
new file mode 100644
index 000000000000..646ba2df55a2
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckNameAvailability.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "location": "eastus",
+ "api-version": "2019-08-01",
+ "body": {
+ "name": "accName",
+ "type": "netAppAccount",
+ "resourceGroup": "myRG"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "isAvailable": true
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/MountTargets_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/MountTargets_List.json
new file mode 100644
index 000000000000..515cd77646d5
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/MountTargets_List.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/mountTargets/target1",
+ "name": "account1/pool1/volume1/target1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/mountTargets",
+ "location": "eastus",
+ "properties": {
+ "endIp": "1.2.3.4",
+ "mountTargetId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "startIp": "1.2.3.4",
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "subnet": "1.2.3.4",
+ "netmask": "",
+ "ipAddress": "1.2.3.4",
+ "gateway": "",
+ "smbServerFqdn": "fullyqualified.domainname.com",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_CreateOrUpdate.json
new file mode 100644
index 000000000000..0577b50e64e4
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_CreateOrUpdate.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "api-version": "2019-08-01",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "size": 4398046511104,
+ "serviceLevel": "Premium"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "name": "account1/pool1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "name": "account1/pool1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Delete.json
new file mode 100644
index 000000000000..de4e00232d6b
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Get.json
new file mode 100644
index 000000000000..5c9e106791bd
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Get.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "name": "account1/pool1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_List.json
new file mode 100644
index 000000000000..99b56256ddcf
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_List.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "name": "account1/pool1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Update.json
new file mode 100644
index 000000000000..0faaf0c7a947
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Update.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "api-version": "2019-08-01",
+ "body": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
+ "name": "account1/pool1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Create.json
new file mode 100644
index 000000000000..f2ae1cad6a69
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Create.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "snapshotName": "snapshot1",
+ "api-version": "2019-08-01",
+ "body": {
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1",
+ "name": "account1/pool1/volume1/snapshot1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots",
+ "location": "eastus",
+ "properties": {
+ "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "created": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Delete.json
new file mode 100644
index 000000000000..064269b38ac2
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Delete.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "snapshotName": "snapshot1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "204": {},
+ "202": {},
+ "200": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Get.json
new file mode 100644
index 000000000000..1870e448f451
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Get.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "snapshotName": "snapshot1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1",
+ "name": "account1/pool1/volume1/snapshot1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots",
+ "location": "eastus",
+ "properties": {
+ "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "created": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_List.json
new file mode 100644
index 000000000000..5024d91118e2
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_List.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1",
+ "name": "account1/pool1/volume1/snapshot1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots",
+ "location": "eastus",
+ "properties": {
+ "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "created": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Update.json
new file mode 100644
index 000000000000..af0698ebf90f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Update.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "snapshotName": "snapshot1",
+ "api-version": "2019-08-01",
+ "body": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1",
+ "name": "account1/pool1/volume1/snapshot1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots",
+ "location": "eastus",
+ "properties": {
+ "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "created": "2017-08-15T13:23:33Z",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_CreateOrUpdate.json
new file mode 100644
index 000000000000..4c2c385eaf36
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_CreateOrUpdate.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2019-08-01",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "creationToken": "my-unique-file-path",
+ "serviceLevel": "Premium",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
+ "usageThreshold": 107374182400
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "location": "eastus",
+ "name": "account1/pool1/volume1",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
+ },
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "location": "eastus",
+ "name": "account1/pool1/volume1",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
+ },
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Delete.json
new file mode 100644
index 000000000000..7c0b66cb32dd
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Delete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Get.json
new file mode 100644
index 000000000000..173fd5e9c3a4
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Get.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "name": "account1/pool1/volume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "location": "eastus",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_List.json
new file mode 100644
index 000000000000..32ca22bd8c0a
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_List.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "api-version": "2019-08-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "name": "account1/pool1/volume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "location": "eastus",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Update.json
new file mode 100644
index 000000000000..4e8ea140d15f
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Update.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
+ "resourceGroupName": "myRG",
+ "accountName": "account1",
+ "poolName": "pool1",
+ "volumeName": "volume1",
+ "api-version": "2019-08-01",
+ "body": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1",
+ "name": "account1/pool1/volume1",
+ "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "location": "eastus",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Succeeded",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json
new file mode 100644
index 000000000000..f46460062840
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json
@@ -0,0 +1,2415 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Microsoft NetApp",
+ "description": "Microsoft NetApp Azure Resource Provider specification",
+ "version": "2019-08-01",
+ "x-ms-code-generation-settings": {
+ "name": "AzureNetAppFilesManagementClient"
+ }
+ },
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "schemes": [
+ "https"
+ ],
+ "host": "management.azure.com",
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.NetApp/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "summary": "Describes the Resource Provider",
+ "description": "Lists all of the available Microsoft.NetApp Rest API operations",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability": {
+ "post": {
+ "summary": "Check resource name availability",
+ "description": "Check if a resource name is available.",
+ "operationId": "NetAppResource_CheckNameAvailability",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Name availability request.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ResourceNameAvailabilityRequest"
+ },
+ "x-ms-client-flatten": true
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/location"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ResourceNameAvailability"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "CheckNameAvailability": {
+ "$ref": "examples/CheckNameAvailability.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability": {
+ "post": {
+ "summary": "Check file path availability",
+ "description": "Check if a file path is available.",
+ "operationId": "NetAppResource_CheckFilePathAvailability",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "description": "File path availability request.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ResourceNameAvailabilityRequest"
+ },
+ "x-ms-client-flatten": true
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/location"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ResourceNameAvailability"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "CheckFilePathAvailability": {
+ "$ref": "examples/CheckFilePathAvailability.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts": {
+ "get": {
+ "summary": "Describe all NetApp Accounts in a resource group",
+ "description": "List and describe all NetApp accounts in the resource group.",
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/netAppAccountList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Accounts_List": {
+ "$ref": "examples/Accounts_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}": {
+ "get": {
+ "summary": "Describe a NetApp Account",
+ "description": "Get the NetApp account",
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Accounts_Get": {
+ "$ref": "examples/Accounts_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_CreateOrUpdate",
+ "summary": "Create or update a NetApp account",
+ "description": "Create or update the specified NetApp account within the resource group",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "NetApp Account object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - account updated",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "201": {
+ "description": "Account created",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Accounts_CreateOrUpdate": {
+ "$ref": "examples/Accounts_CreateOrUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_Delete",
+ "summary": "Delete a NetApp account",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "description": "Delete the specified NetApp account",
+ "responses": {
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Accounts_Delete": {
+ "$ref": "examples/Accounts_Delete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_Update",
+ "summary": "Update a NetApp account",
+ "description": "Patch the specified NetApp account",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "NetApp Account object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/netAppAccountPatch"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - account updated",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Accounts_Update": {
+ "$ref": "examples/Accounts_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools": {
+ "get": {
+ "summary": "Describe all Capacity Pools",
+ "description": "List all capacity pools in the NetApp Account",
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/capacityPoolList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Pools_List": {
+ "$ref": "examples/Pools_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}": {
+ "get": {
+ "summary": "Describe a Capacity Pool",
+ "description": "Get details of the specified capacity pool",
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Pools_Get": {
+ "$ref": "examples/Pools_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_CreateOrUpdate",
+ "summary": "Create or Update the specified capacity pool within the resource group",
+ "description": "Create or Update a capacity pool",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Capacity pool object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - pool updated",
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "201": {
+ "description": "Pool created",
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Pools_CreateOrUpdate": {
+ "$ref": "examples/Pools_CreateOrUpdate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_Update",
+ "summary": "Update a capacity pool",
+ "description": "Patch the specified capacity pool",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Capacity pool object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/capacityPoolPatch"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Pools_Update": {
+ "$ref": "examples/Pools_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_Delete",
+ "summary": "Delete a capacity pool",
+ "description": "Delete the specified capacity pool",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Pools_Delete": {
+ "$ref": "examples/Pools_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes": {
+ "get": {
+ "summary": "Describe all volumes",
+ "description": "List all volumes within the capacity pool",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_List",
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volumeList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_List": {
+ "$ref": "examples/Volumes_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": {
+ "get": {
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_Get",
+ "summary": "Describe a volume",
+ "description": "Get the details of the specified volume",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_Get": {
+ "$ref": "examples/Volumes_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_CreateOrUpdate",
+ "summary": "Create or Update a volume",
+ "description": "Create or update the specified volume within the capacity pool",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Volume object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Ok - volume updated",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "201": {
+ "description": "Volume created",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Volumes_CreateOrUpdate": {
+ "$ref": "examples/Volumes_CreateOrUpdate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_Update",
+ "summary": "Update a volume",
+ "description": "Patch the specified volume",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Volume object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/volumePatch"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_Update": {
+ "$ref": "examples/Volumes_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_Delete",
+ "summary": "Delete a volume",
+ "description": "Delete the specified volume",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Volumes_Delete": {
+ "$ref": "examples/Volumes_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets": {
+ "get": {
+ "tags": [
+ "MountTargets"
+ ],
+ "operationId": "MountTargets_List",
+ "summary": "Describe all mount targets",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "description": "List all mount targets associated with the volume",
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/mountTargetList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "MountTargets_List": {
+ "$ref": "examples/MountTargets_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots": {
+ "get": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_List",
+ "summary": "Describe all snapshots",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "description": "List all snapshots associated with the volume",
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshotsList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Snapshots_List": {
+ "$ref": "examples/Snapshots_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": {
+ "get": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Get",
+ "summary": "Describe a snapshot",
+ "description": "Get details of the specified snapshot",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshot"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Snapshots_Get": {
+ "$ref": "examples/Snapshots_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Create",
+ "summary": "Create a snapshot",
+ "description": "Create the specified snapshot within the given volume",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Snapshot object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/snapshot"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Snapshot created",
+ "schema": {
+ "$ref": "#/definitions/snapshot"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Snapshots_Create": {
+ "$ref": "examples/Snapshots_Create.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Update",
+ "summary": "Update a snapshot",
+ "description": "Patch a snapshot",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Snapshot object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/snapshotPatch"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshot"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Update request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Snapshots_Update": {
+ "$ref": "examples/Snapshots_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Delete",
+ "summary": "Delete a snapshot",
+ "description": "Delete snapshot",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Snapshots_Delete": {
+ "$ref": "examples/Snapshots_Delete.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "OperationListResult": {
+ "description": "Result of the request to list Cloud Volume operations. It contains a list of operations and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of Storage operations supported by the Storage resource provider."
+ }
+ }
+ },
+ "Operation": {
+ "description": "Microsoft.NetApp REST API operation definition.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}",
+ "type": "string"
+ },
+ "display": {
+ "description": "Display metadata associated with the operation.",
+ "properties": {
+ "provider": {
+ "description": "Service provider: Microsoft NetApp.",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed etc.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "Type of operation: get, read, delete, etc.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Operation description.",
+ "type": "string"
+ }
+ }
+ },
+ "origin": {
+ "type": "string",
+ "description": "The origin of operations."
+ },
+ "properties": {
+ "$ref": "#/definitions/OperationProperties",
+ "description": "Properties of operation, include metric specifications.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "OperationProperties": {
+ "description": "Properties of operation, include metric specifications.",
+ "properties": {
+ "serviceSpecification": {
+ "$ref": "#/definitions/ServiceSpecification",
+ "description": "One property of operation, include metric specifications."
+ }
+ }
+ },
+ "ServiceSpecification": {
+ "description": "One property of operation, include metric specifications.",
+ "properties": {
+ "metricSpecifications": {
+ "description": "Metric specifications of operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetricSpecification"
+ }
+ }
+ }
+ },
+ "MetricSpecification": {
+ "description": "Metric specification of operation.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of metric specification."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "Display name of metric specification."
+ },
+ "displayDescription": {
+ "type": "string",
+ "description": "Display description of metric specification."
+ },
+ "unit": {
+ "type": "string",
+ "description": "Unit could be Bytes or Count."
+ },
+ "dimensions": {
+ "description": "Dimensions of blobs, including blob type and access tier.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Dimension"
+ }
+ },
+ "aggregationType": {
+ "type": "string",
+ "description": "Aggregation type could be Average."
+ },
+ "fillGapWithZero": {
+ "type": "boolean",
+ "description": "The property to decide fill gap with zero or not."
+ },
+ "category": {
+ "type": "string",
+ "description": "The category this metric specification belong to, could be Capacity."
+ },
+ "resourceIdDimensionNameOverride": {
+ "type": "string",
+ "description": "Account Resource Id."
+ }
+ }
+ },
+ "Dimension": {
+ "description": "Dimension of blobs, possibly be blob type or access tier.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Display name of dimension."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "Display name of dimension."
+ }
+ }
+ },
+ "ResourceNameAvailability": {
+ "description": "Information regarding availability of a resource name.",
+ "type": "object",
+ "properties": {
+ "isAvailable": {
+ "description": "true
indicates name is valid and available. false
indicates the name is invalid, unavailable, or both.",
+ "type": "boolean"
+ },
+ "reason": {
+ "description": "Invalid
indicates the name provided does not match Azure App Service naming requirements. AlreadyExists
indicates that the name is already in use and is therefore unavailable.",
+ "enum": [
+ "Invalid",
+ "AlreadyExists"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "InAvailabilityReasonType",
+ "modelAsString": true
+ }
+ },
+ "message": {
+ "description": "If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.",
+ "type": "string"
+ }
+ }
+ },
+ "ResourceNameAvailabilityRequest": {
+ "description": "Resource name availability request content.",
+ "required": [
+ "name",
+ "type",
+ "resourceGroup"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Resource name to verify.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Resource type used for verification.",
+ "enum": [
+ "Microsoft.NetApp/netAppAccounts",
+ "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CheckNameResourceTypes",
+ "modelAsString": true
+ }
+ },
+ "resourceGroup": {
+ "description": "Resource group name.",
+ "type": "string"
+ }
+ }
+ },
+ "netAppAccountList": {
+ "description": "List of NetApp account resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "Multiple NetApp accounts",
+ "items": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ }
+ }
+ },
+ "netAppAccount": {
+ "description": "NetApp account resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "required": [
+ "location"
+ ],
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "NetApp Account properties",
+ "$ref": "#/definitions/accountProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "netAppAccountPatch": {
+ "description": "NetApp account patch resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "NetApp Account properties",
+ "$ref": "#/definitions/accountProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "accountProperties": {
+ "description": "NetApp account properties",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ },
+ "activeDirectories": {
+ "description": "Active Directories",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/activeDirectory"
+ }
+ }
+ }
+ },
+ "activeDirectory": {
+ "description": "Active Directory",
+ "type": "object",
+ "properties": {
+ "activeDirectoryId": {
+ "type": "string",
+ "description": "Id of the Active Directory"
+ },
+ "username": {
+ "type": "string",
+ "description": "Username of Active Directory domain administrator"
+ },
+ "password": {
+ "type": "string",
+ "description": "Plain text password of Active Directory domain administrator"
+ },
+ "domain": {
+ "type": "string",
+ "description": "Name of the Active Directory domain"
+ },
+ "dns": {
+ "type": "string",
+ "description": "Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain"
+ },
+ "status": {
+ "type": "string",
+ "description": "Status of the Active Directory"
+ },
+ "smbServerName": {
+ "type": "string",
+ "description": "NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes"
+ },
+ "organizationalUnit": {
+ "type": "string",
+ "description": "The Organizational Unit (OU) within the Windows Active Directory"
+ }
+ }
+ },
+ "capacityPoolList": {
+ "description": "List of capacity pool resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of Capacity pools",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ }
+ }
+ },
+ "capacityPool": {
+ "description": "Capacity pool resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "required": [
+ "location",
+ "properties"
+ ],
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Capacity pool properties",
+ "$ref": "#/definitions/poolProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "poolProperties": {
+ "description": "Pool properties",
+ "type": "object",
+ "required": [
+ "size",
+ "serviceLevel"
+ ],
+ "properties": {
+ "poolId": {
+ "title": "poolId",
+ "type": "string",
+ "readOnly": true,
+ "description": "UUID v4 used to identify the Pool",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca7778"
+ },
+ "size": {
+ "title": "size",
+ "type": "integer",
+ "format": "int64",
+ "description": "Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104).",
+ "minimum": 4398046511104,
+ "maximum": 549755813888000
+ },
+ "serviceLevel": {
+ "title": "serviceLevel",
+ "type": "string",
+ "description": "The service level of the file system",
+ "enum": [
+ "Standard",
+ "Premium",
+ "Ultra"
+ ],
+ "x-ms-enum": {
+ "name": "ServiceLevel",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard",
+ "description": "Standard service level"
+ },
+ {
+ "value": "Premium",
+ "description": "Premium service level"
+ },
+ {
+ "value": "Ultra",
+ "description": "Ultra service level"
+ }
+ ]
+ },
+ "example": "Ultra",
+ "default": "Premium"
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ }
+ }
+ },
+ "capacityPoolPatch": {
+ "description": "Capacity pool patch resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Capacity pool properties",
+ "$ref": "#/definitions/poolPatchProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "poolPatchProperties": {
+ "description": "Patchable pool properties",
+ "type": "object",
+ "properties": {
+ "size": {
+ "title": "size",
+ "type": "integer",
+ "format": "int64",
+ "description": "Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104).",
+ "minimum": 4398046511104,
+ "maximum": 549755813888000,
+ "default": 4398046511104
+ },
+ "serviceLevel": {
+ "title": "serviceLevel",
+ "type": "string",
+ "description": "The service level of the file system",
+ "enum": [
+ "Standard",
+ "Premium",
+ "Ultra"
+ ],
+ "x-ms-enum": {
+ "name": "ServiceLevel",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard",
+ "description": "Standard service level"
+ },
+ {
+ "value": "Premium",
+ "description": "Premium service level"
+ },
+ {
+ "value": "Ultra",
+ "description": "Ultra service level"
+ }
+ ]
+ },
+ "example": "Ultra",
+ "default": "Premium"
+ }
+ }
+ },
+ "volumeList": {
+ "description": "List of volume resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of volumes",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/volume"
+ }
+ }
+ }
+ },
+ "volume": {
+ "description": "Volume resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "required": [
+ "location",
+ "properties"
+ ],
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Volume properties",
+ "$ref": "#/definitions/volumeProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "resourceTags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Tags are a list of key-value pairs that describe the resource"
+ },
+ "volumeProperties": {
+ "description": "Volume properties",
+ "type": "object",
+ "required": [
+ "creationToken",
+ "usageThreshold",
+ "subnetId"
+ ],
+ "properties": {
+ "fileSystemId": {
+ "title": "FileSystem ID",
+ "type": "string",
+ "readOnly": true,
+ "description": "Unique FileSystem Identifier.",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca7778"
+ },
+ "creationToken": {
+ "title": "Creation Token or File Path",
+ "type": "string",
+ "description": "A unique file path for the volume. Used when creating mount targets",
+ "minimum": 16,
+ "maximum": 40,
+ "example": "some-amazing-filepath"
+ },
+ "serviceLevel": {
+ "title": "serviceLevel",
+ "type": "string",
+ "description": "The service level of the file system",
+ "enum": [
+ "Standard",
+ "Premium",
+ "Ultra"
+ ],
+ "x-ms-enum": {
+ "name": "ServiceLevel",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard",
+ "description": "Standard service level"
+ },
+ {
+ "value": "Premium",
+ "description": "Premium service level"
+ },
+ {
+ "value": "Ultra",
+ "description": "Ultra service level"
+ }
+ ]
+ },
+ "example": "Ultra",
+ "default": "Premium"
+ },
+ "usageThreshold": {
+ "title": "usageThreshold",
+ "type": "integer",
+ "format": "int64",
+ "description": "Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.",
+ "minimum": 107374182400,
+ "maximum": 109951162777600,
+ "default": 107374182400,
+ "example": 107374182400
+ },
+ "exportPolicy": {
+ "title": "exportPolicy",
+ "description": "Set of export policy rules",
+ "properties": {
+ "rules": {
+ "title": "Export policy rule",
+ "description": "Export policy rule",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/exportPolicyRule"
+ }
+ }
+ }
+ },
+ "protocolTypes": {
+ "title": "protocolTypes",
+ "description": "Set of protocol types",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "example": [
+ "NFSv4.1"
+ ]
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ },
+ "snapshotId": {
+ "title": "Snapshot ID",
+ "type": "string",
+ "description": "UUID v4 or resource identifier used to identify the Snapshot.",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\\\?([^\\/]*[\\/])*)([^\\/]+)$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "baremetalTenantId": {
+ "title": "Baremetal Tenant ID",
+ "type": "string",
+ "readOnly": true,
+ "description": "Unique Baremetal Tenant Identifier.",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9560acf5-4e3a-12e7-9bdb-02007cca7779"
+ },
+ "subnetId": {
+ "type": "string",
+ "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes"
+ },
+ "mountTargets": {
+ "title": "mountTargets",
+ "description": "List of mount targets",
+ "items": {
+ "$ref": "#/definitions/mountTargetList"
+ }
+ },
+ "volumeType": {
+ "type": "string",
+ "description": "What type of volume is this",
+ "example": "DataProtection"
+ },
+ "dataProtection": {
+ "title": "DataProtection",
+ "description": "DataProtection volume, can have a replication object",
+ "properties": {
+ "replication": {
+ "title": "Replication",
+ "description": "Replication properties",
+ "type": "object",
+ "$ref": "#/definitions/replicationObject"
+ }
+ }
+ }
+ }
+ },
+ "exportPolicyRule": {
+ "description": "Volume Export Policy Rule",
+ "type": "object",
+ "properties": {
+ "ruleIndex": {
+ "type": "integer",
+ "description": "Order index"
+ },
+ "unixReadOnly": {
+ "type": "boolean",
+ "description": "Read only access"
+ },
+ "unixReadWrite": {
+ "type": "boolean",
+ "description": "Read and write access"
+ },
+ "cifs": {
+ "type": "boolean",
+ "description": "Allows CIFS protocol"
+ },
+ "nfsv3": {
+ "type": "boolean",
+ "description": "Allows NFSv3 protocol"
+ },
+ "nfsv41": {
+ "type": "boolean",
+ "description": "Allows NFSv4.1 protocol"
+ },
+ "allowedClients": {
+ "type": "string",
+ "description": "Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names"
+ }
+ }
+ },
+ "replicationObject": {
+ "description": "Replication properties",
+ "type": "object",
+ "required": [
+ "endpointType",
+ "remoteVolumeResourceId",
+ "replicationSchedule"
+ ],
+ "properties": {
+ "replicationId": {
+ "title": "replicationId",
+ "type": "string",
+ "description": "Id"
+ },
+ "endpointType": {
+ "title": "endpointType",
+ "type": "string",
+ "description": "Indicates whether the local volume is the source or destination for the Volume Replication",
+ "example": "src, dst"
+ },
+ "replicationSchedule": {
+ "title": "replicationSchedule",
+ "type": "string",
+ "description": "Schedule",
+ "example": "10minutely, hourly, daily, weekly, monthly"
+ },
+ "remoteVolumeResourceId": {
+ "title": "remoteVolumeResourceId",
+ "type": "string",
+ "description": "The resource ID of the remote volume."
+ }
+ }
+ },
+ "volumePatch": {
+ "description": "Volume patch resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Patchable volume properties",
+ "$ref": "#/definitions/volumePatchProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "volumePatchProperties": {
+ "description": "Patchable volume properties",
+ "type": "object",
+ "properties": {
+ "serviceLevel": {
+ "title": "serviceLevel",
+ "type": "string",
+ "description": "The service level of the file system",
+ "enum": [
+ "Standard",
+ "Premium",
+ "Ultra"
+ ],
+ "x-ms-enum": {
+ "name": "ServiceLevel",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard",
+ "description": "Standard service level"
+ },
+ {
+ "value": "Premium",
+ "description": "Premium service level"
+ },
+ {
+ "value": "Ultra",
+ "description": "Ultra service level"
+ }
+ ]
+ },
+ "example": "Ultra",
+ "default": "Premium"
+ },
+ "usageThreshold": {
+ "title": "usageThreshold",
+ "type": "integer",
+ "format": "int64",
+ "description": "Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.",
+ "minimum": 107374182400,
+ "maximum": 109951162777600,
+ "default": 107374182400,
+ "example": 107374182400
+ },
+ "exportPolicy": {
+ "title": "exportPolicy",
+ "description": "Set of export policy rules",
+ "properties": {
+ "rules": {
+ "title": "Export policy rule",
+ "description": "Export policy rule",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/exportPolicyRule"
+ }
+ }
+ }
+ }
+ }
+ },
+ "mountTargetList": {
+ "description": "List of Mount Targets",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of Mount targets",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/mountTarget"
+ }
+ }
+ }
+ },
+ "mountTarget": {
+ "description": "Mount Target",
+ "type": "object",
+ "required": [
+ "location",
+ "properties"
+ ],
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags",
+ "x-ms-client-flatten": true
+ },
+ "properties": {
+ "description": "Mount Target Properties",
+ "$ref": "#/definitions/mountTargetProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "mountTargetProperties": {
+ "description": "Mount target properties",
+ "type": "object",
+ "required": [
+ "fileSystemId"
+ ],
+ "properties": {
+ "mountTargetId": {
+ "title": "mountTargetId",
+ "type": "string",
+ "readOnly": true,
+ "description": "UUID v4 used to identify the MountTarget",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "fileSystemId": {
+ "title": "fileSystemId",
+ "type": "string",
+ "description": "UUID v4 used to identify the MountTarget",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "ipAddress": {
+ "title": "ipAddress",
+ "description": "The mount target's IPv4 address",
+ "type": "string",
+ "readOnly": true,
+ "example": "1.2.3.4"
+ },
+ "subnet": {
+ "title": "subnet",
+ "type": "string",
+ "description": "The subnet",
+ "example": "1.2.3.4"
+ },
+ "startIp": {
+ "title": "startIp",
+ "description": "The start of IPv4 address range to use when creating a new mount target",
+ "type": "string",
+ "example": "1.2.3.4"
+ },
+ "endIp": {
+ "title": "endIp",
+ "description": "The end of IPv4 address range to use when creating a new mount target",
+ "type": "string",
+ "example": "1.2.3.4"
+ },
+ "gateway": {
+ "title": "gateway",
+ "description": "The gateway of the IPv4 address range to use when creating a new mount target",
+ "type": "string",
+ "example": "1.2.3.4"
+ },
+ "netmask": {
+ "title": "netmask",
+ "description": "The netmask of the IPv4 address range to use when creating a new mount target",
+ "type": "string",
+ "example": "255.255.255.0"
+ },
+ "smbServerFqdn": {
+ "title": "smbServerFQDN",
+ "description": "The SMB server's Fully Qualified Domain Name, FQDN",
+ "type": "string",
+ "example": "fullyqualified.domainname.com"
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ }
+ }
+ },
+ "snapshotsList": {
+ "description": "List of Snapshots",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of Snapshots",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/snapshot"
+ }
+ }
+ }
+ },
+ "snapshot": {
+ "description": "Snapshot of a Volume",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "required": [
+ "location"
+ ],
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags",
+ "x-ms-client-flatten": true
+ },
+ "properties": {
+ "description": "Snapshot Properties",
+ "$ref": "#/definitions/snapshotProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "snapshotPatch": {
+ "description": "Snapshot patch",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "snapshotProperties": {
+ "description": "Snapshot properties",
+ "type": "object",
+ "properties": {
+ "snapshotId": {
+ "title": "snapshotId",
+ "type": "string",
+ "readOnly": true,
+ "description": "UUID v4 used to identify the Snapshot",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "fileSystemId": {
+ "title": "fileSystemId",
+ "type": "string",
+ "description": "UUID v4 used to identify the FileSystem",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "created": {
+ "title": "name",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The creation date of the snapshot",
+ "example": "2017-08-15 13:23:33"
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionId": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
+ },
+ "location": {
+ "name": "location",
+ "description": "The location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ResourceGroup": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group.",
+ "pattern": "^[-\\w\\._\\(\\)]+$",
+ "minLength": 1,
+ "maxLength": 90,
+ "x-ms-parameter-location": "method"
+ },
+ "AccountName": {
+ "name": "accountName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the NetApp account",
+ "x-ms-parameter-location": "method"
+ },
+ "PoolName": {
+ "name": "poolName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the capacity pool",
+ "x-ms-parameter-location": "method"
+ },
+ "VolumeName": {
+ "name": "volumeName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the volume",
+ "x-ms-parameter-location": "method"
+ },
+ "MountTargetName": {
+ "name": "mountTargetName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the mount target",
+ "x-ms-parameter-location": "method"
+ },
+ "SnapshotName": {
+ "name": "snapshotName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the mount target",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "description": "Version of the API to be used with the client request.",
+ "in": "query",
+ "type": "string",
+ "required": true,
+ "default": "2019-08-01"
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/readme.go.md b/specification/netapp/resource-manager/readme.go.md
index 3560088fb6e9..f682f953d93b 100644
--- a/specification/netapp/resource-manager/readme.go.md
+++ b/specification/netapp/resource-manager/readme.go.md
@@ -13,12 +13,22 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-netapp-2019-08-01
- tag: package-netapp-2019-07-01
- tag: package-netapp-2019-06-01
- tag: package-netapp-2019-05-01
- tag: package-2017-08-15
```
+### Tag: package-netapp-2019-08-01 and go
+
+These settings apply only when `--tag=package-netapp-2019-08-01 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-netapp-2019-08-01' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-08-01/$(namespace)
+```
+
### Tag: package-netapp-2019-07-01 and go
These settings apply only when `--tag=package-netapp-2019-07-01 --go` is specified on the command line.
diff --git a/specification/netapp/resource-manager/readme.java.md b/specification/netapp/resource-manager/readme.java.md
index b7ed1d61a3de..59f3d3859e7a 100644
--- a/specification/netapp/resource-manager/readme.java.md
+++ b/specification/netapp/resource-manager/readme.java.md
@@ -16,12 +16,26 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-netapp
``` yaml $(java) && $(multiapi)
batch:
+ - tag: package-netapp-2019-08-01
- tag: package-netapp-2019-07-01
- tag: package-netapp-2019-06-01
- tag: package-netapp-2019-05-01
- tag: package-2017-08-15
```
+### Tag: package-netapp-2019-08-01 and java
+
+These settings apply only when `--tag=package-netapp-2019-08-01 --java` is specified on the command line.
+Please also specify the `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-netapp-2019-08-01' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.netapp.v2019_08_01
+ output-folder: $(azure-libraries-for-java-folder)/netapp/resource-manager/v2019_08_01
+regenerate-manager: true
+generate-interface: true
+```
+
### Tag: package-netapp-2019-07-01 and java
These settings apply only when `--tag=package-netapp-2019-07-01 --java` is specified on the command line.
diff --git a/specification/netapp/resource-manager/readme.md b/specification/netapp/resource-manager/readme.md
index 0072c2a6e37f..31fe1eade980 100644
--- a/specification/netapp/resource-manager/readme.md
+++ b/specification/netapp/resource-manager/readme.md
@@ -28,7 +28,16 @@ These are the global settings for the Azure NetApp Files API.
title: NetAppManagementClient
description: Microsoft NetApp Azure Resource Provider specification
openapi-type: arm
-tag: package-netapp-2019-07-01
+tag: package-netapp-2019-08-01
+```
+
+### Tag: package-netapp-2019-08-01
+
+These settings apply only when `--tag=package-netapp-2019-08-01` is specified on the command line.
+
+``` yaml $(tag) == 'package-netapp-2019-08-01'
+input-file:
+- Microsoft.NetApp/stable/2019-08-01/netapp.json
```
### Tag: package-netapp-2019-07-01
@@ -119,6 +128,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
+ - $(this-folder)/Microsoft.NetApp/stable/2019-08-01/netapp.json
- $(this-folder)/Microsoft.NetApp/stable/2019-07-01/netapp.json
- $(this-folder)/Microsoft.NetApp/stable/2019-06-01/netapp.json
- $(this-folder)/Microsoft.NetApp/stable/2019-05-01/netapp.json
From 5e95a31678db88b8405e189df4aad8f9e9a24c45 Mon Sep 17 00:00:00 2001
From: SanjaMalesevic <53555921+SanjaMalesevic@users.noreply.github.com>
Date: Thu, 7 Nov 2019 17:27:50 +0100
Subject: [PATCH 177/189] AdministratorName parameter should take value which
is defined in enum (#7377)
* AdministratorName parameter should take constant value defined in enum
* Code review fixes
* Code review fixes
* Fix tabs and spaces
* Fix example with get
* revert example with get
* Fix examples
---
.../ManagedInstanceAdministratorCreate.json | 2 --
.../ManagedInstanceAdministratorGet.json | 1 -
...edInstanceAdministratorListByInstance.json | 1 -
.../ManagedInstanceAdministratorUpdate.json | 2 --
.../managedInstanceAdministrators.json | 24 ++++++++++++++++---
5 files changed, 21 insertions(+), 9 deletions(-)
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorCreate.json
index 9ba28b304bba..ba5a0e293963 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorCreate.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorCreate.json
@@ -18,7 +18,6 @@
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory",
- "location": "southeastasia",
"name": "ActiveDirectory",
"properties": {
"administratorType": "ActiveDirectory",
@@ -32,7 +31,6 @@
"201": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory",
- "location": "southeastasia",
"name": "ActiveDirectory",
"properties": {
"administratorType": "ActiveDirectory",
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorGet.json
index b4874c326b52..9513968e3acf 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorGet.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorGet.json
@@ -10,7 +10,6 @@
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory",
- "location": "southeastasia",
"name": "ActiveDirectory",
"properties": {
"administratorType": "ActiveDirectory",
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorListByInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorListByInstance.json
index 5170d55e2d88..998aadc86516 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorListByInstance.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorListByInstance.json
@@ -11,7 +11,6 @@
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory",
- "location": "southeastasia",
"name": "ActiveDirectory",
"properties": {
"administratorType": "ActiveDirectory",
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorUpdate.json
index 9ba28b304bba..ba5a0e293963 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorUpdate.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorUpdate.json
@@ -18,7 +18,6 @@
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory",
- "location": "southeastasia",
"name": "ActiveDirectory",
"properties": {
"administratorType": "ActiveDirectory",
@@ -32,7 +31,6 @@
"201": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory",
- "location": "southeastasia",
"name": "ActiveDirectory",
"properties": {
"administratorType": "ActiveDirectory",
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/managedInstanceAdministrators.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/managedInstanceAdministrators.json
index 11bbcfa10e89..1aff37e22df7 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/managedInstanceAdministrators.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/managedInstanceAdministrators.json
@@ -77,7 +77,13 @@
"in": "path",
"description": "The administrator name.",
"required": true,
- "type": "string"
+ "type": "string",
+ "enum": [
+ "ActiveDirectory"
+ ],
+ "x-ms-enum": {
+ "name": "AdministratorName"
+ }
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
@@ -121,7 +127,13 @@
"in": "path",
"description": "The requested administrator name.",
"required": true,
- "type": "string"
+ "type": "string",
+ "enum": [
+ "ActiveDirectory"
+ ],
+ "x-ms-enum": {
+ "name": "AdministratorName"
+ }
},
{
"name": "parameters",
@@ -187,7 +199,13 @@
"in": "path",
"description": "The administrator name.",
"required": true,
- "type": "string"
+ "type": "string",
+ "enum": [
+ "ActiveDirectory"
+ ],
+ "x-ms-enum": {
+ "name": "AdministratorName"
+ }
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
From adaa792c66cea0d4f0278aa23b314d715a138dbf Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Fri, 18 Oct 2019 14:48:35 -0700
Subject: [PATCH 178/189] addtdebyokapiswaggers
---
.../ListManagedInstanceOperations.json | 72 ++++
.../managedInstanceOperations.json | 315 ++++++++++++++++++
.../examples/ListServerOperations.json | 42 +++
.../2019-06-01-preview/serverOperations.json | 315 ++++++++++++++++++
4 files changed, 744 insertions(+)
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListManagedInstanceOperations.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedInstanceOperations.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListServerOperations.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/serverOperations.json
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListManagedInstanceOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListManagedInstanceOperations.json
new file mode 100644
index 000000000000..5a9870148b02
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListManagedInstanceOperations.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "sqlcrudtest-7398",
+ "managedInstanceName": "sqlcrudtest-4645",
+ "api-version": "2018-06-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/operations/11111111-1111-1111-1111-111111111111",
+ "name": "11111111-1111-1111-1111-111111111111",
+ "type": "Microsoft.Sql/managedInstances/operations",
+ "properties": {
+ "managedInstanceName": "sqlcrudtest-4645",
+ "operation": "UpsertManagedServer",
+ "operationFriendlyName": "MANAGED SERVER UPDATE",
+ "percentComplete": 0,
+ "startTime": "2017-06-01T09:10:08.10Z",
+ "state": "InProgress"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/operations/22222222-2222-2222-2222-222222222222",
+ "name": "22222222-2222-2222-2222-222222222222",
+ "type": "Microsoft.Sql/managedInstances/operations",
+ "properties": {
+ "managedInstanceName": "sqlcrudtest-4645",
+ "operation": "UpsertManagedServer",
+ "operationFriendlyName": "MANAGED SERVER UPDATE",
+ "percentComplete": 100,
+ "startTime": "2019-09-23T08:05:28.687Z",
+ "state": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/operations/33333333-3333-3333-3333-333333333333",
+ "name": "33333333-3333-3333-3333-333333333333",
+ "type": "Microsoft.Sql/managedInstances/operations",
+ "properties": {
+ "managedInstanceName": "sqlcrudtest-4645",
+ "operation": "UpsertManagedServer",
+ "operationFriendlyName": "MANAGED SERVER UPDATE",
+ "percentComplete": 55,
+ "startTime": "2019-09-23T08:05:28.687Z",
+ "state": "Failed",
+ "errorCode": "45157",
+ "errorDescription": "Server 'testcl' is busy with another operation. Please try your operation later.",
+ "errorSeverity": "16",
+ "isUserError": "True"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/operations/44444444-4444-4444-4444-444444444444",
+ "name": "44444444-4444-4444-4444-444444444444",
+ "type": "Microsoft.Sql/managedInstances/operations",
+ "properties": {
+ "managedInstanceName": "sqlcrudtest-4645",
+ "operation": "MakeAllManagedDatabasesAccessible",
+ "operationFriendlyName": "MAKE ALL MANAGED DBS ACCESSIBLE",
+ "percentComplete": 100,
+ "startTime": "2017-06-01T09:00:08.10Z",
+ "state": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedInstanceOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedInstanceOperations.json
new file mode 100644
index 000000000000..49ba608953af
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedInstanceOperations.json
@@ -0,0 +1,315 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2018-06-01-preview",
+ "title": "SqlManagementClient",
+ "description": "The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/operations": {
+ "get": {
+ "tags": [
+ "ManagedInstanceOperations"
+ ],
+ "description": "Gets a list of operations performed on the managed instance.",
+ "operationId": "ManagedInstanceOperations_ListByManagedInstance",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request for getting managed instance operations has been executed successfully.",
+ "schema": {
+ "$ref": "#/definitions/ManagedInstanceOperationListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription."
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List the managed instance management operations": {
+ "$ref": "./examples/ListManagedInstanceOperations.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ManagedInstanceOperationListResult": {
+ "description": "The response to a list managed instance operations request",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Array of results.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedInstanceOperation"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to retrieve next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ManagedInstanceOperationProperties": {
+ "description": "The properties of a managed instance operation.",
+ "type": "object",
+ "properties": {
+ "managedInstanceName": {
+ "description": "The name of the managed instance the operation is being performed on.",
+ "type": "string",
+ "readOnly": true
+ },
+ "operation": {
+ "description": "The name of operation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "operationFriendlyName": {
+ "description": "The friendly name of operation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "percentComplete": {
+ "format": "int32",
+ "description": "The percentage of the operation completed.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "startTime": {
+ "format": "date-time",
+ "description": "The operation start time.",
+ "type": "string",
+ "readOnly": true
+ },
+ "state": {
+ "description": "The operation state.",
+ "enum": [
+ "Pending",
+ "InProgress",
+ "Succeeded",
+ "Failed",
+ "CancelInProgress",
+ "Cancelled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "ManagementOperationState",
+ "modelAsString": true
+ }
+ },
+ "errorCode": {
+ "format": "int32",
+ "description": "The operation error code.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "errorDescription": {
+ "description": "The operation error description.",
+ "type": "string",
+ "readOnly": true
+ },
+ "errorSeverity": {
+ "format": "int32",
+ "description": "The operation error severity.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "isUserError": {
+ "description": "Whether or not the error is a user error.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "estimatedCompletionTime": {
+ "format": "date-time",
+ "description": "The estimated completion time of the operation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "description": {
+ "description": "The operation description.",
+ "type": "string",
+ "readOnly": true
+ },
+ "isCancellable": {
+ "description": "Whether the operation can be cancelled.",
+ "type": "boolean",
+ "readOnly": true
+ }
+ }
+ },
+ "Resource": {
+ "description": "ARM resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Resource name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Resource type.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ProxyResource": {
+ "description": "ARM proxy resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {}
+ },
+ "ManagedInstanceOperation": {
+ "description": "A managed instance operation.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ManagedInstanceOperationProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The subscription ID that identifies an Azure subscription.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The API version to use for the request.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ResourceGroupParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ServerNameParameter": {
+ "name": "serverName",
+ "in": "path",
+ "description": "The name of the server.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ManagedInstanceNameParameter": {
+ "name": "managedInstanceName",
+ "in": "path",
+ "description": "The name of the managed instance.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "DatabaseNameParameter": {
+ "name": "databaseName",
+ "in": "path",
+ "description": "The name of the database.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "BlobAuditingPolicyNameParameter": {
+ "name": "blobAuditingPolicyName",
+ "in": "path",
+ "description": "The name of the blob auditing policy.",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "default"
+ ],
+ "x-ms-parameter-location": "method"
+ },
+ "SqlVirtualMachineInstanceNameParameter": {
+ "name": "sqlVirtualMachineInstanceName",
+ "in": "path",
+ "description": "The name of the SqlVirtualMachineInstance.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "SqlVirtualMachineContainerNameParameter": {
+ "name": "sqlVirtualMachineContainerName",
+ "in": "path",
+ "description": "The name of the SqlVirtualMachineContainer.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "VirtualClusterNameParameter": {
+ "name": "virtualClusterName",
+ "in": "path",
+ "description": "The name of the virtual cluster.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListServerOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListServerOperations.json
new file mode 100644
index 000000000000..c781324aa4b6
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListServerOperations.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "sqlcrudtest-7398",
+ "serverName": "sqlcrudtest-4645",
+ "api-version": "2019-06-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/operations/11111111-1111-1111-1111-111111111111",
+ "name": "11111111-1111-1111-1111-111111111111",
+ "type": "Microsoft.Sql/servers/operations",
+ "properties": {
+ "operation": "MakeAllLogicalDatabasesAccessible",
+ "operationFriendlyName": "MAKE ALL DBS ACCESSIBLE",
+ "percentComplete": 0,
+ "serverName": "sqlcrudtest-4645",
+ "startTime": "2017-06-01T09:10:08.10Z",
+ "state": "InProgress"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645/operations/22222222-2222-2222-2222-222222222222",
+ "name": "22222222-2222-2222-2222-222222222222",
+ "type": "Microsoft.Sql/servers/operations",
+ "properties": {
+ "operation": "MakeAllLogicalDatabasesAccessible",
+ "operationFriendlyName": "MAKE ALL DBS ACCESSIBLE",
+ "percentComplete": 100,
+ "serverName": "sqlcrudtest-4645",
+ "startTime": "2017-06-01T09:00:08.10Z",
+ "state": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/serverOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/serverOperations.json
new file mode 100644
index 000000000000..c39847a58825
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/serverOperations.json
@@ -0,0 +1,315 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-06-01-preview",
+ "title": "SqlManagementClient",
+ "description": "The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/operations": {
+ "get": {
+ "tags": [
+ "ServerOperations"
+ ],
+ "description": "Gets a list of operations performed on the server.",
+ "operationId": "ServerOperations_ListByServer",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request for getting server operations has been executed successfully.",
+ "schema": {
+ "$ref": "#/definitions/ServerOperationListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 NameAlreadyExists - The provided name already exists.\n\n * 400 ProvisioningDisabled - Displays error message from resources operation authorizer as is, without changes\n\n * 400 InvalidLoginName - The provided login name is invalid.\n\n * 400 InvalidUsername - Supplied user name contains invalid characters.\n\n * 400 PasswordTooShort - The provided password is too short\n\n * 400 RegionDoesNotSupportVersion - A user attempted to create a server of a specified version in a location where that server version isn't supported.\n\n * 400 PasswordTooLong - The provided password is too long.\n\n * 400 PasswordNotComplex - The provided password is not complex enough.\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidParameterValue - An invalid value was given to a parameter.\n\n * 400 InvalidLocation - An invalid location was specified.\n\n * 400 InvalidServerName - Invalid server name specified.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 ServerNotFound - The requested server was not found.\n\n * 400 RegionDoesNotAllowProvisioning - The selected location is not accepting new Windows Azure SQL Database servers. This may change at a later time.\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 409 ServerDisabled - Server is disabled.\n\n * 409 ConflictingServerOperation - An operation is currently in progress for the server.\n\n * 409 SubscriptionDisabled - Subscription is disabled.\n\n * 409 ServerQuotaExceeded - Server cannot be added to a subscription because it will exceed quota.\n\n * 409 ServerAlreadyExists - Duplicate server name.\n\n * 409 ServerDisabled - Server is disabled.\n\n * 409 ConflictingServerOperation - An operation is currently in progress for the server.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 ConflictingSubscriptionOperation - An operation is currently in progress for the subscription.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources."
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List the server management operations": {
+ "$ref": "./examples/ListServerOperations.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ServerOperationListResult": {
+ "description": "The response to a list server operations request",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Array of results.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServerOperation"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to retrieve next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ServerOperationProperties": {
+ "description": "The properties of a server operation.",
+ "type": "object",
+ "properties": {
+ "operation": {
+ "description": "The name of operation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "operationFriendlyName": {
+ "description": "The friendly name of operation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "percentComplete": {
+ "format": "int32",
+ "description": "The percentage of the operation completed.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "serverName": {
+ "description": "The name of the server.",
+ "type": "string",
+ "readOnly": true
+ },
+ "startTime": {
+ "format": "date-time",
+ "description": "The operation start time.",
+ "type": "string",
+ "readOnly": true
+ },
+ "state": {
+ "description": "The operation state.",
+ "enum": [
+ "Pending",
+ "InProgress",
+ "Succeeded",
+ "Failed",
+ "CancelInProgress",
+ "Cancelled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "ManagementOperationState",
+ "modelAsString": true
+ }
+ },
+ "errorCode": {
+ "format": "int32",
+ "description": "The operation error code.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "errorDescription": {
+ "description": "The operation error description.",
+ "type": "string",
+ "readOnly": true
+ },
+ "errorSeverity": {
+ "format": "int32",
+ "description": "The operation error severity.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "isUserError": {
+ "description": "Whether or not the error is a user error.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "estimatedCompletionTime": {
+ "format": "date-time",
+ "description": "The estimated completion time of the operation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "description": {
+ "description": "The operation description.",
+ "type": "string",
+ "readOnly": true
+ },
+ "isCancellable": {
+ "description": "Whether the operation can be cancelled.",
+ "type": "boolean",
+ "readOnly": true
+ }
+ }
+ },
+ "Resource": {
+ "description": "ARM resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Resource name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Resource type.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ProxyResource": {
+ "description": "ARM proxy resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {}
+ },
+ "ServerOperation": {
+ "description": "A server operation.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ServerOperationProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The subscription ID that identifies an Azure subscription.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The API version to use for the request.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ResourceGroupParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ServerNameParameter": {
+ "name": "serverName",
+ "in": "path",
+ "description": "The name of the server.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ManagedInstanceNameParameter": {
+ "name": "managedInstanceName",
+ "in": "path",
+ "description": "The name of the managed instance.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "DatabaseNameParameter": {
+ "name": "databaseName",
+ "in": "path",
+ "description": "The name of the database.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "BlobAuditingPolicyNameParameter": {
+ "name": "blobAuditingPolicyName",
+ "in": "path",
+ "description": "The name of the blob auditing policy.",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "default"
+ ],
+ "x-ms-parameter-location": "method"
+ },
+ "SqlVirtualMachineInstanceNameParameter": {
+ "name": "sqlVirtualMachineInstanceName",
+ "in": "path",
+ "description": "The name of the SqlVirtualMachineInstance.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "SqlVirtualMachineContainerNameParameter": {
+ "name": "sqlVirtualMachineContainerName",
+ "in": "path",
+ "description": "The name of the SqlVirtualMachineContainer.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "VirtualClusterNameParameter": {
+ "name": "virtualClusterName",
+ "in": "path",
+ "description": "The name of the virtual cluster.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ }
+}
\ No newline at end of file
From 30d90a23458167954bef4469db2351257f95014b Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Wed, 6 Nov 2019 14:30:57 -0800
Subject: [PATCH 179/189] add inaccessible database and inaccessible managed
database swaggers and examples
---
.../preview/2019-06-01-preview/databases.json | 1190 +++++++++++++++++
...eManagedDatabaseListByManagedInstance.json | 40 +
...istVCoreInaccessibleDatabasesByServer.json | 42 +
.../2019-06-01-preview/managedDatabases.json | 717 ++++++++++
4 files changed, 1989 insertions(+)
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/databases.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/InaccessibleManagedDatabaseListByManagedInstance.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreInaccessibleDatabasesByServer.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/managedDatabases.json
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/databases.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/databases.json
new file mode 100644
index 000000000000..d729aa9ae852
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/databases.json
@@ -0,0 +1,1190 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-06-01-preview",
+ "title": "SqlManagementClient",
+ "description": "The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases": {
+ "get": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Gets a list of databases.",
+ "operationId": "Databases_ListByServer",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved the list of databases.",
+ "schema": {
+ "$ref": "#/definitions/DatabaseListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription."
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Gets a list of databases.": {
+ "$ref": "./examples/ListVCoreDatabasesByServer.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}": {
+ "get": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Gets a database.",
+ "operationId": "Databases_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved the specified database.",
+ "schema": {
+ "$ref": "#/definitions/Database"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ResourceNotFound - The requested resource was not found."
+ }
+ },
+ "x-ms-examples": {
+ "Gets a database.": {
+ "$ref": "./examples/GetVCoreDatabase.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Creates a new database or updates an existing database.",
+ "operationId": "Databases_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The requested database resource state.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Database"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully updated the database.",
+ "schema": {
+ "$ref": "#/definitions/Database"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 InvalidDatabaseCreateOrUpdateRequest - The request body for the create or update database operation is invalid.\n\n * 400 InvalidResourceId - Invalid resource identifier.\n\n * 400 InvalidSourceDatabaseId - Invalid source database identifier.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MissingCollation - Collation is required.\n\n * 400 MissingMaxSizeBytes - MaxSizeBytes is required.\n\n * 400 MissingSkuName - Sku name is required.\n\n * 400 MissingSourceDatabaseId - Missing source database identifier.\n\n * 400 InvalidSkuName - Invalid SKU name.\n\n * 400 MismatchedSkuNameAndCapacity - Mismatch between SKU name and capacity.\n\n * 400 MismatchedSkuNameAndTier - Mismatch between SKU name and tier.\n\n * 400 MismatchedSkuNameAndFamily - Mismatch between SKU name and family.\n\n * 400 DatabaseNameDoesNotMatchSourceDatabaseId - The database name specified doesn’t match the database name in sourceDatabaseId.\n\n * 400 ElasticPoolNotSupportedForExternalBackupRestore - Elastic pool is not supported for external backup restore\n\n * 400 InvalidRecoverableDatabaseId - Invalid recoverable database identifier.\n\n * 400 InvalidRecoveryServicesRecoveryPointId - Invalid recovery services recovery point identifier.\n\n * 400 InvalidRestorableDroppedDatabaseDeletionDate - The restorable dropped database deletion date given is invalid\n\n * 400 InvalidRestorableDroppedDatabaseId - Invalid restorable dropped database identifier\n\n * 400 MissingRecoverableDatabaseId - Missing recoverable database identifier.\n\n * 400 MissingRecoveryServicesRecoveryPointId - Missing recovery services recovery point Id.\n\n * 400 MissingRestorableDroppedDatabaseId - Missing restorableDroppedDatabaseId\n\n * 400 MissingRestorePointInTime - Missing restore point in time\n\n * 400 MissingSourceDatabaseDeletionDate - Missing source database deletion date\n\n * 400 MissingStorageContainerSasToken - Missing storage container SAS token\n\n * 400 MissingStorageContainerUri - Missing storage container URI\n\n * 400 RestorableDroppedDatabaseIdGivenForRestoreWithSourceDatabaseId - Cannot specify restorableDroppedDatabaseId when sourceDatabaseId is already given in restore create mode\n\n * 400 InvalidCollation - Collation is not recognized by the server.\n\n * 400 ProvisioningDisabled - Displays error message from resources operation authorizer as is, without changes\n\n * 400 UnableToResolveRemoteServer - The remote partner server name could not be resolved due to an invalid server name or DNS connectivity issues.\n\n * 400 ElasticPoolOverStorageUsage - Attempting to write data to a database when the storage limit of the elastic pool has been reached.\n\n * 400 RemoteDatabaseCopyPermission - User does not have sufficient permission to create a database copy on the specified server.\n\n * 400 SourceDatabaseNotFound - The source database does not exist.\n\n * 400 UpdateNotAllowedInCurrentReplicationState - The operation is disallowed on the database in its current replication state.\n\n * 400 GeoReplicaLimitReached - The per-replica replication limit was reached.\n\n * 400 ReplicationSourceAndTargetMustHaveSameName - The replication source and target databases must have the same name.\n\n * 400 ReplicationSourceAndTargetMustBeInDifferentServers - The replication source and target databases must be in different logical servers.\n\n * 400 ChangeUnsupportedOnEntity - User attempted an unsupported create/update/delete operation on a given entity.\n\n * 400 TierChangeUnsupportedDueToMemoryOptimizedObject - The database cannot update its sku because it has memory-optimized objects.\n\n * 400 SourceServerNotFound - The server part of a source database id provided in a CreateDatabaseAsCopy API call doesn't map to an existing server.\n\n * 400 InvalidAddSecondaryPermission - User does not have sufficient permission to add secondary on the specified server.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CurrentDatabaseLogSizeExceedsMaxSize - User attempted to change the database to a sku with lower max log size than the current usage.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 InvalidSku - The user specified an invalid sku.\n\n * 400 InvalidTierSkuCombination - The specified tier does not support the specified sku.\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 400 OfferDisabledOnSubscription - Subscription offer type is restricted from provisioning the requested resource.\n\n * 400 InvalidTargetSubregion - The target server of a non-readable secondary is not in a DR paired Azure region.\n\n * 400 PartnerServerNotCompatible - The user is attempting to copy a database from a SAWA V1 server to a Sterling server or vice versa.\n\n * 400 IncorrectReplicationLinkState - The operation expects the database to be in an expected state on the replication link.\n\n * 400 TargetElasticPoolDoesNotExist - The elastic pool does not exist on a server.\n\n * 400 CurrentDatabaseSizeExceedsMaxSize - User attempted to reduce the max size for a database to a size smaller than the current usage.\n\n * 400 ElasticPoolSkuCombinationInvalid - Elastic pool and sku can be specified together only if sku is specified as 'ElasticPool'.\n\n * 400 ElasticPoolTierCombinationInvalid - The database tier is different than the elastic pool service tier.\n\n * 400 ElasticPoolNameRequired - User tired to create or update database to elastic pool service objective without specifying the name of the elastic pool.\n\n * 400 AzureKeyVaultInvalidExpirationDate - The operation could not be completed because the Azure Key Vault key expiration date is invalid.\n\n * 400 SecurityAzureKeyVaultUrlNullOrEmpty - The operation could not be completed because the Azure Key Vault Uri is null or empty.\n\n * 400 AzureKeyVaultInvalidUri - An invalid response from Azure Key Vault. Please use a valid Azure Key Vault URI.\n\n * 400 InvalidReadScaleEdition - User attempted to enable read scale on a database type that does not support it.\n\n * 400 InvalidReadScaleUnits - User attempted to provide a read scale value that is not supported.\n\n * 400 SecurityAzureKeyVaultInvalidKeyName - The operation could not be completed because of an invalid Server Key name.\n\n * 400 ElasticPoolDatabaseCountOverLimit - Attempting to create or add database to elastic pool when the database count limit of the elastic pool has been reached.\n\n * 400 CannotChangeToOrFromDataWarehouseTier - User attempted to change the sku of a database from DataWarehouse tier to non DataWarehouse tiers or vice versa.\n\n * 400 AzureKeyVaultMalformedVaultUri - The provided Key Vault uri is not valid.\n\n * 400 ElasticPoolDecreaseStorageLimitBelowUsage - Attempting to decrease the storage limit of the elastic pool below its storage usage.\n\n * 400 UpdateNotAllowedOnPausedDatabase - User attempted to perform an update on a paused database.\n\n * 400 RequestedDatabaseSizeRequiresShrink - User attempted to ALTER DATABASE MODIFY MAXSIZE to modify the MAXSIZE for a database to a smaller size then the current size.\n\n * 400 CurrentDatabaseSizeExceedsDbMaxSize - User attempted to reduce the max size for a database to a size smaller than the current usage.\n\n * 400 CannotUseTrailingWhitespacesInDatabaseName - The database name validation failed.\n\n * 400 RegionDoesNotSupportVersion - A user attempted to create a server of a specified version in a location where that server version isn't supported.\n\n * 400 SecurityAdalPrincipalCertExpiredError - The operation could not be completed because the Azure Key Vault principal certificate has expired.\n\n * 400 SecurityInvalidAzureKeyVaultRecoveryLevel - The provided Key Vault uri is not valid.\n\n * 400 KeyMaterialNotFoundOnRemoteServer - Remote server does not have access to key material used as a TDE protector.\n\n * 400 AzureKeyVaultMismatchError - Unexpected Key Vault region found in the http response.\n\n * 400 SourceDatabaseEditionCouldNotBeUpgraded - The source database cannot have higher edition than the target database.\n\n * 400 AzureKeyVaultRsaKeyNotSupported - The provided key vault uses unsupported RSA Key Size or Key Type. The supported RSA key size is 2048 or 3072 and Key Type is RSA or RSA-HSM.\n\n * 400 TargetDatabaseEditionCouldNotBeDowngraded - The target database cannot have lower edition than the source database.\n\n * 400 UpdateNotAllowedIfGeoDrOperationInProgress - The operation is disallowed because copy or failover operation for database '{0}' on server '{1}' is currently in progress.\n\n * 400 ElasticPoolOverFileSpace - Insufficient file space in the elastic pool.\n\n * 400 SecurityAzureKeyVaultGeoChainError - Creating secondary of secondary (a process known as chaining) is not supported when enabling Transparent Data Encryption using Azure Key Vault (BYOK).\n\n * 400 InvalidLicenseType - User tried to create or update a database or elastic pool with unsupported license type.\n\n * 400 UnsupportedCapacity - User tried to create or update database with capacity which is not supported.\n\n * 400 RestoreToFreeEditionNotSupported - Restore and GeoRestore target cannot be free database.\n\n * 400 RestoreNotSupportedForFreeEdition - Restore and GeoRestore are not supported for free database.\n\n * 400 InvalidDroppedDatabase - Source database dropped does not exist on server within the supported recovery period.\n\n * 400 InvalidLiveDatabase - Source database does not exist on server within the supported recovery period. If restoring a dropped database, please specify its deletion date.\n\n * 400 InvalidVldbRecoverySlo - The Hyperscale edition recovery requires both source and target databases to use Hyperscale service level objective.\n\n * 400 InvalidVldbRestoreSlo - The Hyperscale edition Point-In-Time restore requires both source and target databases to use Hyperscale service level objective.\n\n * 400 CannotSpecifyPoolOrSlo - Specifying an elastic pool and/or changing the service level objective or edition is not supported for edition.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 400 JobAgentDatabaseEditionUnsupported - The specified database's service level objective is not supported for use as a job agent database.\n\n * 400 CannotUpdateToFreeDatabase - Updating a database to the free sku is not supported.\n\n * 400 ServerNotFound - The requested server was not found.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 InvalidMaxSizeTierCombination - The specified tier does not support the specified database max size.\n\n * 400 InvalidTier - The user specified an invalid tier.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidServerName - Invalid server name specified.\n\n * 401 AzureKeyVaultKeyDisabled - The operation could not be completed on the server because the Azure Key Vault key is disabled.\n\n * 401 AzureKeyVaultNoServerIdentity - The server identity is not correctly configured.\n\n * 401 AzureKeyVaultMissingPermissions - The server is missing required permissions on the Azure Key Vault. \n\n * 401 AdalGenericError - The operation could not be completed because an Azure Active Directory error was encountered.\n\n * 401 AdalServicePrincipalNotFound - The operation could not be completed because an Azure Active Directory library Service Principal not found error was encountered.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 405 UnsupportedReplicationOperation - An unsupported replication operation was initiated on the database.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 409 InvalidOperationForDatabaseNotInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship.\n\n * 409 InvalidOperationForDatabaseInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship.\n\n * 409 RemoteDatabaseExists - The destination database name already exists on the destination server.\n\n * 409 DuplicateGeoDrRelation - The databases are already in a replication relation. This is a duplicate request.\n\n * 409 FreeDbAlreadyExists - Only one free database can exist for a subscription per region.\n\n * 409 SubscriptionDisabled - Subscription is disabled.\n\n * 409 ConflictingSystemOperationInProgress - A system maintenance operation is in progress on the database and further operations need to wait until it is completed.\n\n * 409 SkuAssignmentInProgress - The current assignment request cannot be processed because a previous request has not completed.\n\n * 409 CurrentMemoryUsageExceedsSkuQuota - User attempted an sku update operation that cannot be completed due to the higher resource consumption.\n\n * 409 ServerDtuQuotaExceeded - Could not perform the operation because server would exceed the allowed Database Throughput Unit quota.\n\n * 409 ServerKeyNameAlreadyExists - The server key already exists on the server.\n\n * 409 ServerKeyUriAlreadyExists - The server key URI already exists on the server.\n\n * 409 UnableToAlterDatabaseInReplication - User altered edition on a database in a replication relationship.\n\n * 409 ServerKeyDoesNotExists - The server key does not exist.\n\n * 409 UpdateSloInProgress - User tried to initiate an incompatible operation while a SLO update was in progress.\n\n * 409 AzureKeyVaultKeyNameNotFound - The operation could not be completed because the Azure Key Vault Key name does not exist.\n\n * 409 AzureKeyVaultKeyInUse - The key is currently being used by the server.\n\n * 409 SimultaneousSkuChangeNotAllowed - Service objective change operations cannot run on both databases of a replication relationship at the same time.\n\n * 409 TargetElasticPoolBeingUpdated - The update of elastic pool cannot be started because there is copy operation in progress for one of the databases in this elastic pool\n\n * 409 DatabaseCopyLimitPerReplicaReached - User reached the limit of concurrent database copies.\n\n * 409 ServerDisabled - Server is disabled.\n\n * 409 ConflictingDatabaseOperation - There is already some operation on the database and the current operation should wait till it is done.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 500 ActivateOrDeactivateWorkflowThrottling - Activation or deactivation workflow failed because there are too many concurrent workflows\n\n * 503 AzureKeyVaultConnectionFailed - The operation could not be completed on the server because attempts to connect to Azure Key Vault have failed\n\n * 503 AzureKeyVaultGenericConnectionError - The operation could not be completed because an error was encountered when attempting to retrieve Key Vault information .\n\n * 503 DatabaseUnavailable - The operation failed because the database is unavailable.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout."
+ },
+ "202": {
+ "description": "Creating or updating the database is in progress."
+ },
+ "201": {
+ "description": "Successfully created the database.",
+ "schema": {
+ "$ref": "#/definitions/Database"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Creates a VCore database by specifying service objective name.": {
+ "$ref": "./examples/CreateVCoreDatabaseByServiceObjective.json"
+ },
+ "Creates a VCore database by specifying sku name and capacity.": {
+ "$ref": "./examples/CreateVCoreDatabaseBySkuNameCapacity.json"
+ },
+ "Creates a data warehouse by specifying service objective name.": {
+ "$ref": "./examples/CreateDwDatabaseByServiceObjective.json"
+ },
+ "Creates a database with minimum number of parameters.": {
+ "$ref": "./examples/CreateDatabaseMin.json"
+ },
+ "Creates a database with default mode.": {
+ "$ref": "./examples/CreateDatabaseDefaultMode.json"
+ },
+ "Creates a database as a copy.": {
+ "$ref": "./examples/CreateDatabaseCopyMode.json"
+ },
+ "Creates a database as an on-line secondary.": {
+ "$ref": "./examples/CreateDatabaseSecondaryMode.json"
+ },
+ "Creates a database from PointInTimeRestore.": {
+ "$ref": "./examples/CreateDatabasePITRMode.json"
+ },
+ "Creates a database from restore with database deletion time.": {
+ "$ref": "./examples/CreateDatabaseRestoreMode.json"
+ },
+ "Creates a database from restore with restorableDroppedDatabaseId.": {
+ "$ref": "./examples/CreateDatabaseRestoreMode2.json"
+ },
+ "Creates a database from recoverableDatabaseId.": {
+ "$ref": "./examples/CreateDatabaseRecoveryMode.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Deletes the database.",
+ "operationId": "Databases_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully deleted the database."
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 409 ServerDisabled - Server is disabled.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources."
+ },
+ "202": {
+ "description": "Deleting the database is in progress."
+ },
+ "204": {
+ "description": "The specified database does not exist."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Deletes a database.": {
+ "$ref": "./examples/DeleteDatabase.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Updates an existing database.",
+ "operationId": "Databases_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The requested database resource state.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DatabaseUpdate"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully updated the database.",
+ "schema": {
+ "$ref": "#/definitions/Database"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 InvalidDatabaseCreateOrUpdateRequest - The request body for the create or update database operation is invalid.\n\n * 400 InvalidResourceId - Invalid resource identifier.\n\n * 400 InvalidSourceDatabaseId - Invalid source database identifier.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MissingCollation - Collation is required.\n\n * 400 MissingMaxSizeBytes - MaxSizeBytes is required.\n\n * 400 MissingSkuName - Sku name is required.\n\n * 400 MissingSourceDatabaseId - Missing source database identifier.\n\n * 400 InvalidSkuName - Invalid SKU name.\n\n * 400 MismatchedSkuNameAndCapacity - Mismatch between SKU name and capacity.\n\n * 400 MismatchedSkuNameAndTier - Mismatch between SKU name and tier.\n\n * 400 MismatchedSkuNameAndFamily - Mismatch between SKU name and family.\n\n * 400 DatabaseNameDoesNotMatchSourceDatabaseId - The database name specified doesn’t match the database name in sourceDatabaseId.\n\n * 400 ElasticPoolNotSupportedForExternalBackupRestore - Elastic pool is not supported for external backup restore\n\n * 400 InvalidRecoverableDatabaseId - Invalid recoverable database identifier.\n\n * 400 InvalidRecoveryServicesRecoveryPointId - Invalid recovery services recovery point identifier.\n\n * 400 InvalidRestorableDroppedDatabaseDeletionDate - The restorable dropped database deletion date given is invalid\n\n * 400 InvalidRestorableDroppedDatabaseId - Invalid restorable dropped database identifier\n\n * 400 MissingRecoverableDatabaseId - Missing recoverable database identifier.\n\n * 400 MissingRecoveryServicesRecoveryPointId - Missing recovery services recovery point Id.\n\n * 400 MissingRestorableDroppedDatabaseId - Missing restorableDroppedDatabaseId\n\n * 400 MissingRestorePointInTime - Missing restore point in time\n\n * 400 MissingSourceDatabaseDeletionDate - Missing source database deletion date\n\n * 400 MissingStorageContainerSasToken - Missing storage container SAS token\n\n * 400 MissingStorageContainerUri - Missing storage container URI\n\n * 400 RestorableDroppedDatabaseIdGivenForRestoreWithSourceDatabaseId - Cannot specify restorableDroppedDatabaseId when sourceDatabaseId is already given in restore create mode\n\n * 400 InvalidCollation - Collation is not recognized by the server.\n\n * 400 ProvisioningDisabled - Displays error message from resources operation authorizer as is, without changes\n\n * 400 UnableToResolveRemoteServer - The remote partner server name could not be resolved due to an invalid server name or DNS connectivity issues.\n\n * 400 ElasticPoolOverStorageUsage - Attempting to write data to a database when the storage limit of the elastic pool has been reached.\n\n * 400 RemoteDatabaseCopyPermission - User does not have sufficient permission to create a database copy on the specified server.\n\n * 400 SourceDatabaseNotFound - The source database does not exist.\n\n * 400 UpdateNotAllowedInCurrentReplicationState - The operation is disallowed on the database in its current replication state.\n\n * 400 GeoReplicaLimitReached - The per-replica replication limit was reached.\n\n * 400 ReplicationSourceAndTargetMustHaveSameName - The replication source and target databases must have the same name.\n\n * 400 ReplicationSourceAndTargetMustBeInDifferentServers - The replication source and target databases must be in different logical servers.\n\n * 400 ChangeUnsupportedOnEntity - User attempted an unsupported create/update/delete operation on a given entity.\n\n * 400 TierChangeUnsupportedDueToMemoryOptimizedObject - The database cannot update its sku because it has memory-optimized objects.\n\n * 400 SourceServerNotFound - The server part of a source database id provided in a CreateDatabaseAsCopy API call doesn't map to an existing server.\n\n * 400 InvalidAddSecondaryPermission - User does not have sufficient permission to add secondary on the specified server.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CurrentDatabaseLogSizeExceedsMaxSize - User attempted to change the database to a sku with lower max log size than the current usage.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 InvalidSku - The user specified an invalid sku.\n\n * 400 InvalidTierSkuCombination - The specified tier does not support the specified sku.\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 400 OfferDisabledOnSubscription - Subscription offer type is restricted from provisioning the requested resource.\n\n * 400 InvalidTargetSubregion - The target server of a non-readable secondary is not in a DR paired Azure region.\n\n * 400 PartnerServerNotCompatible - The user is attempting to copy a database from a SAWA V1 server to a Sterling server or vice versa.\n\n * 400 IncorrectReplicationLinkState - The operation expects the database to be in an expected state on the replication link.\n\n * 400 TargetElasticPoolDoesNotExist - The elastic pool does not exist on a server.\n\n * 400 CurrentDatabaseSizeExceedsMaxSize - User attempted to reduce the max size for a database to a size smaller than the current usage.\n\n * 400 ElasticPoolSkuCombinationInvalid - Elastic pool and sku can be specified together only if sku is specified as 'ElasticPool'.\n\n * 400 ElasticPoolTierCombinationInvalid - The database tier is different than the elastic pool service tier.\n\n * 400 ElasticPoolNameRequired - User tired to create or update database to elastic pool service objective without specifying the name of the elastic pool.\n\n * 400 AzureKeyVaultInvalidExpirationDate - The operation could not be completed because the Azure Key Vault key expiration date is invalid.\n\n * 400 SecurityAzureKeyVaultUrlNullOrEmpty - The operation could not be completed because the Azure Key Vault Uri is null or empty.\n\n * 400 AzureKeyVaultInvalidUri - An invalid response from Azure Key Vault. Please use a valid Azure Key Vault URI.\n\n * 400 InvalidReadScaleEdition - User attempted to enable read scale on a database type that does not support it.\n\n * 400 InvalidReadScaleUnits - User attempted to provide a read scale value that is not supported.\n\n * 400 SecurityAzureKeyVaultInvalidKeyName - The operation could not be completed because of an invalid Server Key name.\n\n * 400 ElasticPoolDatabaseCountOverLimit - Attempting to create or add database to elastic pool when the database count limit of the elastic pool has been reached.\n\n * 400 CannotChangeToOrFromDataWarehouseTier - User attempted to change the sku of a database from DataWarehouse tier to non DataWarehouse tiers or vice versa.\n\n * 400 AzureKeyVaultMalformedVaultUri - The provided Key Vault uri is not valid.\n\n * 400 ElasticPoolDecreaseStorageLimitBelowUsage - Attempting to decrease the storage limit of the elastic pool below its storage usage.\n\n * 400 UpdateNotAllowedOnPausedDatabase - User attempted to perform an update on a paused database.\n\n * 400 RequestedDatabaseSizeRequiresShrink - User attempted to ALTER DATABASE MODIFY MAXSIZE to modify the MAXSIZE for a database to a smaller size then the current size.\n\n * 400 CurrentDatabaseSizeExceedsDbMaxSize - User attempted to reduce the max size for a database to a size smaller than the current usage.\n\n * 400 CannotUseTrailingWhitespacesInDatabaseName - The database name validation failed.\n\n * 400 RegionDoesNotSupportVersion - A user attempted to create a server of a specified version in a location where that server version isn't supported.\n\n * 400 SecurityAdalPrincipalCertExpiredError - The operation could not be completed because the Azure Key Vault principal certificate has expired.\n\n * 400 SecurityInvalidAzureKeyVaultRecoveryLevel - The provided Key Vault uri is not valid.\n\n * 400 KeyMaterialNotFoundOnRemoteServer - Remote server does not have access to key material used as a TDE protector.\n\n * 400 AzureKeyVaultMismatchError - Unexpected Key Vault region found in the http response.\n\n * 400 SourceDatabaseEditionCouldNotBeUpgraded - The source database cannot have higher edition than the target database.\n\n * 400 AzureKeyVaultRsaKeyNotSupported - The provided key vault uses unsupported RSA Key Size or Key Type. The supported RSA key size is 2048 or 3072 and Key Type is RSA or RSA-HSM.\n\n * 400 TargetDatabaseEditionCouldNotBeDowngraded - The target database cannot have lower edition than the source database.\n\n * 400 UpdateNotAllowedIfGeoDrOperationInProgress - The operation is disallowed because copy or failover operation for database '{0}' on server '{1}' is currently in progress.\n\n * 400 ElasticPoolOverFileSpace - Insufficient file space in the elastic pool.\n\n * 400 SecurityAzureKeyVaultGeoChainError - Creating secondary of secondary (a process known as chaining) is not supported when enabling Transparent Data Encryption using Azure Key Vault (BYOK).\n\n * 400 InvalidLicenseType - User tried to create or update a database or elastic pool with unsupported license type.\n\n * 400 UnsupportedCapacity - User tried to create or update database with capacity which is not supported.\n\n * 400 RestoreToFreeEditionNotSupported - Restore and GeoRestore target cannot be free database.\n\n * 400 RestoreNotSupportedForFreeEdition - Restore and GeoRestore are not supported for free database.\n\n * 400 InvalidDroppedDatabase - Source database dropped does not exist on server within the supported recovery period.\n\n * 400 InvalidLiveDatabase - Source database does not exist on server within the supported recovery period. If restoring a dropped database, please specify its deletion date.\n\n * 400 InvalidVldbRecoverySlo - The Hyperscale edition recovery requires both source and target databases to use Hyperscale service level objective.\n\n * 400 InvalidVldbRestoreSlo - The Hyperscale edition Point-In-Time restore requires both source and target databases to use Hyperscale service level objective.\n\n * 400 CannotSpecifyPoolOrSlo - Specifying an elastic pool and/or changing the service level objective or edition is not supported for edition.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 400 JobAgentDatabaseEditionUnsupported - The specified database's service level objective is not supported for use as a job agent database.\n\n * 400 CannotUpdateToFreeDatabase - Updating a database to the free sku is not supported.\n\n * 400 ServerNotFound - The requested server was not found.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 InvalidMaxSizeTierCombination - The specified tier does not support the specified database max size.\n\n * 400 InvalidTier - The user specified an invalid tier.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidServerName - Invalid server name specified.\n\n * 401 AzureKeyVaultKeyDisabled - The operation could not be completed on the server because the Azure Key Vault key is disabled.\n\n * 401 AzureKeyVaultNoServerIdentity - The server identity is not correctly configured.\n\n * 401 AzureKeyVaultMissingPermissions - The server is missing required permissions on the Azure Key Vault. \n\n * 401 AdalGenericError - The operation could not be completed because an Azure Active Directory error was encountered.\n\n * 401 AdalServicePrincipalNotFound - The operation could not be completed because an Azure Active Directory library Service Principal not found error was encountered.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 405 UnsupportedReplicationOperation - An unsupported replication operation was initiated on the database.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 409 InvalidOperationForDatabaseNotInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship.\n\n * 409 InvalidOperationForDatabaseInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship.\n\n * 409 RemoteDatabaseExists - The destination database name already exists on the destination server.\n\n * 409 DuplicateGeoDrRelation - The databases are already in a replication relation. This is a duplicate request.\n\n * 409 FreeDbAlreadyExists - Only one free database can exist for a subscription per region.\n\n * 409 SubscriptionDisabled - Subscription is disabled.\n\n * 409 ConflictingSystemOperationInProgress - A system maintenance operation is in progress on the database and further operations need to wait until it is completed.\n\n * 409 SkuAssignmentInProgress - The current assignment request cannot be processed because a previous request has not completed.\n\n * 409 CurrentMemoryUsageExceedsSkuQuota - User attempted an sku update operation that cannot be completed due to the higher resource consumption.\n\n * 409 ServerDtuQuotaExceeded - Could not perform the operation because server would exceed the allowed Database Throughput Unit quota.\n\n * 409 ServerKeyNameAlreadyExists - The server key already exists on the server.\n\n * 409 ServerKeyUriAlreadyExists - The server key URI already exists on the server.\n\n * 409 UnableToAlterDatabaseInReplication - User altered edition on a database in a replication relationship.\n\n * 409 ServerKeyDoesNotExists - The server key does not exist.\n\n * 409 UpdateSloInProgress - User tried to initiate an incompatible operation while a SLO update was in progress.\n\n * 409 AzureKeyVaultKeyNameNotFound - The operation could not be completed because the Azure Key Vault Key name does not exist.\n\n * 409 AzureKeyVaultKeyInUse - The key is currently being used by the server.\n\n * 409 SimultaneousSkuChangeNotAllowed - Service objective change operations cannot run on both databases of a replication relationship at the same time.\n\n * 409 TargetElasticPoolBeingUpdated - The update of elastic pool cannot be started because there is copy operation in progress for one of the databases in this elastic pool\n\n * 409 DatabaseCopyLimitPerReplicaReached - User reached the limit of concurrent database copies.\n\n * 409 ServerDisabled - Server is disabled.\n\n * 409 ConflictingDatabaseOperation - There is already some operation on the database and the current operation should wait till it is done.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 500 ActivateOrDeactivateWorkflowThrottling - Activation or deactivation workflow failed because there are too many concurrent workflows\n\n * 503 AzureKeyVaultConnectionFailed - The operation could not be completed on the server because attempts to connect to Azure Key Vault have failed\n\n * 503 AzureKeyVaultGenericConnectionError - The operation could not be completed because an error was encountered when attempting to retrieve Key Vault information .\n\n * 503 DatabaseUnavailable - The operation failed because the database is unavailable.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout."
+ },
+ "202": {
+ "description": "Updating the database is in progress."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Updates a database.": {
+ "$ref": "./examples/PatchDatabase.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/databases": {
+ "get": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Gets a list of databases in an elastic pool.",
+ "operationId": "Databases_ListByElasticPool",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "elasticPoolName",
+ "in": "path",
+ "description": "The name of the elastic pool.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved a list of databases in an elastic pool.",
+ "schema": {
+ "$ref": "#/definitions/DatabaseListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout."
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Gets a list of databases in an elastic pool.": {
+ "$ref": "./examples/ListDatabasesByElasticPool.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/pause": {
+ "post": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Pauses a database.",
+ "operationId": "Databases_Pause",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "databaseName",
+ "in": "path",
+ "description": "The name of the database to be paused.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully paused the database.",
+ "schema": {
+ "$ref": "#/definitions/Database"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 CannotDeactivateWhenDeactivatingInProgress - Deactivation workflow failed because there is a deactivate workflow already running.\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 500 ActivateOrDeactivateWorkflowThrottling - Activation or deactivation workflow failed because there are too many concurrent workflows"
+ },
+ "202": {
+ "description": "Pausing the database is in progress."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Pauses a database.": {
+ "$ref": "./examples/PauseDatabase.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/resume": {
+ "post": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Resumes a database.",
+ "operationId": "Databases_Resume",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "databaseName",
+ "in": "path",
+ "description": "The name of the database to be resumed.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully resumed the database.",
+ "schema": {
+ "$ref": "#/definitions/Database"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 500 ActivateOrDeactivateWorkflowThrottling - Activation or deactivation workflow failed because there are too many concurrent workflows"
+ },
+ "202": {
+ "description": "Resuming the database is in progress."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Resumes a database.": {
+ "$ref": "./examples/ResumeDatabase.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/upgradeDataWarehouse": {
+ "post": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Upgrades a data warehouse.",
+ "operationId": "Databases_UpgradeDataWarehouse",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "databaseName",
+ "in": "path",
+ "description": "The name of the database to be upgraded.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully upgraded the data warehouse."
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 InvalidCollation - Collation is not recognized by the server.\n\n * 400 ProvisioningDisabled - Displays error message from resources operation authorizer as is, without changes\n\n * 400 UnableToResolveRemoteServer - The remote partner server name could not be resolved due to an invalid server name or DNS connectivity issues.\n\n * 400 ElasticPoolOverStorageUsage - Attempting to write data to a database when the storage limit of the elastic pool has been reached.\n\n * 400 RemoteDatabaseCopyPermission - User does not have sufficient permission to create a database copy on the specified server.\n\n * 400 SourceDatabaseNotFound - The source database does not exist.\n\n * 400 UpdateNotAllowedInCurrentReplicationState - The operation is disallowed on the database in its current replication state.\n\n * 400 GeoReplicaLimitReached - The per-replica replication limit was reached.\n\n * 400 ReplicationSourceAndTargetMustHaveSameName - The replication source and target databases must have the same name.\n\n * 400 ReplicationSourceAndTargetMustBeInDifferentServers - The replication source and target databases must be in different logical servers.\n\n * 400 ChangeUnsupportedOnEntity - User attempted an unsupported create/update/delete operation on a given entity.\n\n * 400 TierChangeUnsupportedDueToMemoryOptimizedObject - The database cannot update its sku because it has memory-optimized objects.\n\n * 400 SourceServerNotFound - The server part of a source database id provided in a CreateDatabaseAsCopy API call doesn't map to an existing server.\n\n * 400 InvalidAddSecondaryPermission - User does not have sufficient permission to add secondary on the specified server.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CurrentDatabaseLogSizeExceedsMaxSize - User attempted to change the database to a sku with lower max log size than the current usage.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 InvalidSku - The user specified an invalid sku.\n\n * 400 InvalidTierSkuCombination - The specified tier does not support the specified sku.\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 400 OfferDisabledOnSubscription - Subscription offer type is restricted from provisioning the requested resource.\n\n * 400 InvalidTargetSubregion - The target server of a non-readable secondary is not in a DR paired Azure region.\n\n * 400 PartnerServerNotCompatible - The user is attempting to copy a database from a SAWA V1 server to a Sterling server or vice versa.\n\n * 400 IncorrectReplicationLinkState - The operation expects the database to be in an expected state on the replication link.\n\n * 400 TargetElasticPoolDoesNotExist - The elastic pool does not exist on a server.\n\n * 400 CurrentDatabaseSizeExceedsMaxSize - User attempted to reduce the max size for a database to a size smaller than the current usage.\n\n * 400 ElasticPoolSkuCombinationInvalid - Elastic pool and sku can be specified together only if sku is specified as 'ElasticPool'.\n\n * 400 ElasticPoolTierCombinationInvalid - The database tier is different than the elastic pool service tier.\n\n * 400 ElasticPoolNameRequired - User tired to create or update database to elastic pool service objective without specifying the name of the elastic pool.\n\n * 400 AzureKeyVaultInvalidExpirationDate - The operation could not be completed because the Azure Key Vault key expiration date is invalid.\n\n * 400 SecurityAzureKeyVaultUrlNullOrEmpty - The operation could not be completed because the Azure Key Vault Uri is null or empty.\n\n * 400 AzureKeyVaultInvalidUri - An invalid response from Azure Key Vault. Please use a valid Azure Key Vault URI.\n\n * 400 InvalidReadScaleEdition - User attempted to enable read scale on a database type that does not support it.\n\n * 400 InvalidReadScaleUnits - User attempted to provide a read scale value that is not supported.\n\n * 400 SecurityAzureKeyVaultInvalidKeyName - The operation could not be completed because of an invalid Server Key name.\n\n * 400 ElasticPoolDatabaseCountOverLimit - Attempting to create or add database to elastic pool when the database count limit of the elastic pool has been reached.\n\n * 400 CannotChangeToOrFromDataWarehouseTier - User attempted to change the sku of a database from DataWarehouse tier to non DataWarehouse tiers or vice versa.\n\n * 400 AzureKeyVaultMalformedVaultUri - The provided Key Vault uri is not valid.\n\n * 400 ElasticPoolDecreaseStorageLimitBelowUsage - Attempting to decrease the storage limit of the elastic pool below its storage usage.\n\n * 400 UpdateNotAllowedOnPausedDatabase - User attempted to perform an update on a paused database.\n\n * 400 RequestedDatabaseSizeRequiresShrink - User attempted to ALTER DATABASE MODIFY MAXSIZE to modify the MAXSIZE for a database to a smaller size then the current size.\n\n * 400 CurrentDatabaseSizeExceedsDbMaxSize - User attempted to reduce the max size for a database to a size smaller than the current usage.\n\n * 400 CannotUseTrailingWhitespacesInDatabaseName - The database name validation failed.\n\n * 400 RegionDoesNotSupportVersion - A user attempted to create a server of a specified version in a location where that server version isn't supported.\n\n * 400 SecurityAdalPrincipalCertExpiredError - The operation could not be completed because the Azure Key Vault principal certificate has expired.\n\n * 400 SecurityInvalidAzureKeyVaultRecoveryLevel - The provided Key Vault uri is not valid.\n\n * 400 KeyMaterialNotFoundOnRemoteServer - Remote server does not have access to key material used as a TDE protector.\n\n * 400 AzureKeyVaultMismatchError - Unexpected Key Vault region found in the http response.\n\n * 400 SourceDatabaseEditionCouldNotBeUpgraded - The source database cannot have higher edition than the target database.\n\n * 400 AzureKeyVaultRsaKeyNotSupported - The provided key vault uses unsupported RSA Key Size or Key Type. The supported RSA key size is 2048 or 3072 and Key Type is RSA or RSA-HSM.\n\n * 400 TargetDatabaseEditionCouldNotBeDowngraded - The target database cannot have lower edition than the source database.\n\n * 400 UpdateNotAllowedIfGeoDrOperationInProgress - The operation is disallowed because copy or failover operation for database '{0}' on server '{1}' is currently in progress.\n\n * 400 ElasticPoolOverFileSpace - Insufficient file space in the elastic pool.\n\n * 400 SecurityAzureKeyVaultGeoChainError - Creating secondary of secondary (a process known as chaining) is not supported when enabling Transparent Data Encryption using Azure Key Vault (BYOK).\n\n * 400 InvalidLicenseType - User tried to create or update a database or elastic pool with unsupported license type.\n\n * 400 UnsupportedCapacity - User tried to create or update database with capacity which is not supported.\n\n * 400 RestoreToFreeEditionNotSupported - Restore and GeoRestore target cannot be free database.\n\n * 400 RestoreNotSupportedForFreeEdition - Restore and GeoRestore are not supported for free database.\n\n * 400 InvalidDroppedDatabase - Source database dropped does not exist on server within the supported recovery period.\n\n * 400 InvalidLiveDatabase - Source database does not exist on server within the supported recovery period. If restoring a dropped database, please specify its deletion date.\n\n * 400 InvalidVldbRecoverySlo - The Hyperscale edition recovery requires both source and target databases to use Hyperscale service level objective.\n\n * 400 InvalidVldbRestoreSlo - The Hyperscale edition Point-In-Time restore requires both source and target databases to use Hyperscale service level objective.\n\n * 400 CannotSpecifyPoolOrSlo - Specifying an elastic pool and/or changing the service level objective or edition is not supported for edition.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 400 JobAgentDatabaseEditionUnsupported - The specified database's service level objective is not supported for use as a job agent database.\n\n * 400 CannotUpdateToFreeDatabase - Updating a database to the free sku is not supported.\n\n * 400 ServerNotFound - The requested server was not found.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 InvalidMaxSizeTierCombination - The specified tier does not support the specified database max size.\n\n * 400 InvalidTier - The user specified an invalid tier.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidServerName - Invalid server name specified.\n\n * 400 UpgradeOnlyAllowedOnDataWarehouseInstances - User attempted to upgrade non-datawarehouse instance.\n\n * 401 AzureKeyVaultKeyDisabled - The operation could not be completed on the server because the Azure Key Vault key is disabled.\n\n * 401 AzureKeyVaultNoServerIdentity - The server identity is not correctly configured.\n\n * 401 AzureKeyVaultMissingPermissions - The server is missing required permissions on the Azure Key Vault. \n\n * 401 AdalGenericError - The operation could not be completed because an Azure Active Directory error was encountered.\n\n * 401 AdalServicePrincipalNotFound - The operation could not be completed because an Azure Active Directory library Service Principal not found error was encountered.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 405 UnsupportedReplicationOperation - An unsupported replication operation was initiated on the database.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 409 InvalidOperationForDatabaseNotInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship.\n\n * 409 InvalidOperationForDatabaseInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship.\n\n * 409 RemoteDatabaseExists - The destination database name already exists on the destination server.\n\n * 409 DuplicateGeoDrRelation - The databases are already in a replication relation. This is a duplicate request.\n\n * 409 FreeDbAlreadyExists - Only one free database can exist for a subscription per region.\n\n * 409 SubscriptionDisabled - Subscription is disabled.\n\n * 409 ConflictingSystemOperationInProgress - A system maintenance operation is in progress on the database and further operations need to wait until it is completed.\n\n * 409 SkuAssignmentInProgress - The current assignment request cannot be processed because a previous request has not completed.\n\n * 409 CurrentMemoryUsageExceedsSkuQuota - User attempted an sku update operation that cannot be completed due to the higher resource consumption.\n\n * 409 ServerDtuQuotaExceeded - Could not perform the operation because server would exceed the allowed Database Throughput Unit quota.\n\n * 409 ServerKeyNameAlreadyExists - The server key already exists on the server.\n\n * 409 ServerKeyUriAlreadyExists - The server key URI already exists on the server.\n\n * 409 UnableToAlterDatabaseInReplication - User altered edition on a database in a replication relationship.\n\n * 409 ServerKeyDoesNotExists - The server key does not exist.\n\n * 409 UpdateSloInProgress - User tried to initiate an incompatible operation while a SLO update was in progress.\n\n * 409 AzureKeyVaultKeyNameNotFound - The operation could not be completed because the Azure Key Vault Key name does not exist.\n\n * 409 AzureKeyVaultKeyInUse - The key is currently being used by the server.\n\n * 409 SimultaneousSkuChangeNotAllowed - Service objective change operations cannot run on both databases of a replication relationship at the same time.\n\n * 409 TargetElasticPoolBeingUpdated - The update of elastic pool cannot be started because there is copy operation in progress for one of the databases in this elastic pool\n\n * 409 DatabaseCopyLimitPerReplicaReached - User reached the limit of concurrent database copies.\n\n * 409 ServerDisabled - Server is disabled.\n\n * 409 ConflictingDatabaseOperation - There is already some operation on the database and the current operation should wait till it is done.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 500 ActivateOrDeactivateWorkflowThrottling - Activation or deactivation workflow failed because there are too many concurrent workflows\n\n * 503 AzureKeyVaultConnectionFailed - The operation could not be completed on the server because attempts to connect to Azure Key Vault have failed\n\n * 503 AzureKeyVaultGenericConnectionError - The operation could not be completed because an error was encountered when attempting to retrieve Key Vault information .\n\n * 503 DatabaseUnavailable - The operation failed because the database is unavailable.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout."
+ },
+ "202": {
+ "description": "Upgrading the data warehouse is in progress."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Upgrades a data warehouse.": {
+ "$ref": "./examples/UpgradeDataWarehouse.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/move": {
+ "post": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Renames a database.",
+ "operationId": "Databases_Rename",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "databaseName",
+ "in": "path",
+ "description": "The name of the database to rename.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The resource move definition for renaming this database.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ResourceMoveDefinition"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully renamed the database."
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 InvalidResourceMoveRequest - The resource move request is invalid.\n\n * 400 InvalidMoveTargetResourceId - The target resource identifier in move request is invalid.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 DatabaseNameInUse - Database already exists. Choose a different database name.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 409 InvalidOperationForDatabaseInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship."
+ }
+ },
+ "x-ms-examples": {
+ "Renames a database.": {
+ "$ref": "./examples/RenameDatabase.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/inaccessibleDatabases": {
+ "get": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Gets a list of inaccessible databases in a logical server",
+ "operationId": "Databases_ListInaccessibleByServer",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved the list of inaccessible databases in a logical server",
+ "schema": {
+ "$ref": "#/definitions/DatabaseListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription."
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Gets a list of inaccessible databases in a logical server": {
+ "$ref": "./examples/ListVCoreInaccessibleDatabasesByServer.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/failover": {
+ "post": {
+ "tags": [
+ "Databases"
+ ],
+ "description": "Failovers a database.",
+ "operationId": "Databases_Failover",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ServerNameParameter"
+ },
+ {
+ "name": "databaseName",
+ "in": "path",
+ "description": "The name of the database to failover.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "replicaType",
+ "in": "query",
+ "description": "The type of replica to be failed over.",
+ "required": false,
+ "type": "string",
+ "enum": [
+ "Primary",
+ "ReadableSecondary"
+ ],
+ "x-ms-enum": {
+ "name": "ReplicaType",
+ "modelAsString": true
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully completed database failover."
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 ManagementServiceFeatureDisabled - User attempted to use a feature which is disabled.\n\n * 400 DatabaseFailoverThrottled - There was a recent failover on the database or pool if database belongs in an elastic pool.\n\n * 400 DatabaseFailoverNotSupportedOnSKU - This type of customer initiated failover is not supported on the given SKU.\n\n * 409 ManagementServiceDatabaseBusy - Database '{0}' is busy with another operation. Please try your operation later.\n\n * 409 DatabaseNotInStateToFailover - The database is currently in a state such that failover cannot be issued."
+ },
+ "202": {
+ "description": "Database failover is in progress."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Failover an database": {
+ "$ref": "./examples/FailoverDatabase.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "DatabaseListResult": {
+ "description": "A list of databases.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Array of results.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Database"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to retrieve next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Sku": {
+ "description": "An ARM Resource SKU.",
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the SKU, typically, a letter + Number code, e.g. P3.",
+ "type": "string"
+ },
+ "tier": {
+ "description": "The tier or edition of the particular SKU, e.g. Basic, Premium.",
+ "type": "string"
+ },
+ "size": {
+ "description": "Size of the particular SKU",
+ "type": "string"
+ },
+ "family": {
+ "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.",
+ "type": "string"
+ },
+ "capacity": {
+ "format": "int32",
+ "description": "Capacity of the particular SKU.",
+ "type": "integer"
+ }
+ }
+ },
+ "DatabaseProperties": {
+ "description": "The database's properties.",
+ "type": "object",
+ "properties": {
+ "createMode": {
+ "description": "Specifies the mode of database creation.\r\n\r\nDefault: regular database creation.\r\n\r\nCopy: creates a database as a copy of an existing database. sourceDatabaseId must be specified as the resource ID of the source database.\r\n\r\nSecondary: creates a database as a secondary replica of an existing database. sourceDatabaseId must be specified as the resource ID of the existing primary database.\r\n\r\nPointInTimeRestore: Creates a database by restoring a point in time backup of an existing database. sourceDatabaseId must be specified as the resource ID of the existing database, and restorePointInTime must be specified.\r\n\r\nRecovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be specified as the recoverable database resource ID to restore.\r\n\r\nRestore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must be specified. If sourceDatabaseId is the database's original resource ID, then sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time.\r\n\r\nRestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point resource ID.\r\n\r\nCopy, Secondary, and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition.",
+ "enum": [
+ "Default",
+ "Copy",
+ "Secondary",
+ "PointInTimeRestore",
+ "Restore",
+ "Recovery",
+ "RestoreExternalBackup",
+ "RestoreExternalBackupSecondary",
+ "RestoreLongTermRetentionBackup",
+ "OnlineSecondary"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CreateMode",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "collation": {
+ "description": "The collation of the database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "maxSizeBytes": {
+ "format": "int64",
+ "description": "The max size of the database expressed in bytes.",
+ "type": "integer"
+ },
+ "sampleName": {
+ "description": "The name of the sample schema to apply when creating this database.",
+ "enum": [
+ "AdventureWorksLT",
+ "WideWorldImportersStd",
+ "WideWorldImportersFull"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SampleName",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "elasticPoolId": {
+ "description": "The resource identifier of the elastic pool containing this database.",
+ "type": "string"
+ },
+ "sourceDatabaseId": {
+ "description": "The resource identifier of the source database associated with create operation of this database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "status": {
+ "description": "The status of the database.",
+ "enum": [
+ "Online",
+ "Restoring",
+ "RecoveryPending",
+ "Recovering",
+ "Suspect",
+ "Offline",
+ "Standby",
+ "Shutdown",
+ "EmergencyMode",
+ "AutoClosed",
+ "Copying",
+ "Creating",
+ "Inaccessible",
+ "OfflineSecondary",
+ "Pausing",
+ "Paused",
+ "Resuming",
+ "Scaling",
+ "OfflineChangingDwPerformanceTiers",
+ "OnlineChangingDwPerformanceTiers",
+ "Disabled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "DatabaseStatus",
+ "modelAsString": true
+ }
+ },
+ "databaseId": {
+ "format": "uuid",
+ "description": "The ID of the database.",
+ "type": "string",
+ "readOnly": true
+ },
+ "creationDate": {
+ "format": "date-time",
+ "description": "The creation date of the database (ISO8601 format).",
+ "type": "string",
+ "readOnly": true
+ },
+ "currentServiceObjectiveName": {
+ "description": "The current service level objective name of the database.",
+ "type": "string",
+ "readOnly": true
+ },
+ "requestedServiceObjectiveName": {
+ "description": "The requested service level objective name of the database.",
+ "type": "string",
+ "readOnly": true
+ },
+ "defaultSecondaryLocation": {
+ "description": "The default secondary region for this database.",
+ "type": "string",
+ "readOnly": true
+ },
+ "failoverGroupId": {
+ "description": "Failover Group resource identifier that this database belongs to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "restorePointInTime": {
+ "format": "date-time",
+ "description": "Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "sourceDatabaseDeletionDate": {
+ "format": "date-time",
+ "description": "Specifies the time that the database was deleted.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "recoveryServicesRecoveryPointId": {
+ "description": "The resource identifier of the recovery point associated with create operation of this database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "longTermRetentionBackupResourceId": {
+ "description": "The resource identifier of the long term retention backup associated with create operation of this database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "recoverableDatabaseId": {
+ "description": "The resource identifier of the recoverable database associated with create operation of this database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "restorableDroppedDatabaseId": {
+ "description": "The resource identifier of the restorable dropped database associated with create operation of this database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "catalogCollation": {
+ "description": "Collation of the metadata catalog.",
+ "enum": [
+ "DATABASE_DEFAULT",
+ "SQL_Latin1_General_CP1_CI_AS"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CatalogCollationType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "zoneRedundant": {
+ "description": "Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones.",
+ "type": "boolean"
+ },
+ "licenseType": {
+ "description": "The license type to apply for this database.",
+ "enum": [
+ "LicenseIncluded",
+ "BasePrice"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DatabaseLicenseType",
+ "modelAsString": true
+ }
+ },
+ "maxLogSizeBytes": {
+ "format": "int64",
+ "description": "The max log size for this database.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "earliestRestoreDate": {
+ "format": "date-time",
+ "description": "This records the earliest start date and time that restore is available for this database (ISO8601 format).",
+ "type": "string",
+ "readOnly": true
+ },
+ "readScale": {
+ "description": "The state of read-only routing. If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica in the same region.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DatabaseReadScale",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "read",
+ "update"
+ ]
+ },
+ "readReplicaCount": {
+ "format": "int32",
+ "description": "The number of readonly secondary replicas associated with the database.",
+ "type": "integer"
+ },
+ "currentSku": {
+ "$ref": "#/definitions/Sku",
+ "description": "The name and tier of the SKU.",
+ "readOnly": true
+ },
+ "autoPauseDelay": {
+ "format": "int32",
+ "description": "Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled",
+ "type": "integer"
+ },
+ "storageAccountType": {
+ "description": "The storage account type used to store backups for this database. The current options are LRS (LocallyRedundantStorage), ZRS (ZoneRedundantStorage) and GRS (GeoRedundantStorage)",
+ "enum": [
+ "GRS",
+ "LRS",
+ "ZRS"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "StorageAccountType",
+ "modelAsString": true
+ }
+ },
+ "minCapacity": {
+ "format": "double",
+ "description": "Minimal capacity that database will always have allocated, if not paused",
+ "type": "number"
+ },
+ "pausedDate": {
+ "format": "date-time",
+ "description": "The date when database was paused by user configuration or action(ISO8601 format). Null if the database is ready.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resumedDate": {
+ "format": "date-time",
+ "description": "The date when database was resumed by user action or database login (ISO8601 format). Null if the database is paused.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Resource": {
+ "description": "ARM resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Resource name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Resource type.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "TrackedResource": {
+ "description": "ARM tracked top level resource.",
+ "required": [
+ "location"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "location": {
+ "description": "Resource location.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "tags": {
+ "description": "Resource tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "Database": {
+ "description": "A database resource.",
+ "required": [
+ "location"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "The database SKU.\r\n\r\nThe list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands:\r\n\r\n```azurecli\r\naz sql db list-editions -l -o table\r\n````\r\n\r\n```powershell\r\nGet-AzSqlServerServiceObjective -Location \r\n````\r\n"
+ },
+ "kind": {
+ "description": "Kind of database. This is metadata used for the Azure portal experience.",
+ "type": "string",
+ "readOnly": true
+ },
+ "managedBy": {
+ "description": "Resource that manages the database.",
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "$ref": "#/definitions/DatabaseProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "DatabaseUpdate": {
+ "description": "A database resource.",
+ "type": "object",
+ "properties": {
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "The name and tier of the SKU."
+ },
+ "properties": {
+ "$ref": "#/definitions/DatabaseProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ },
+ "tags": {
+ "description": "Resource tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "ResourceMoveDefinition": {
+ "description": "Contains the information necessary to perform a resource move (rename).",
+ "required": [
+ "id"
+ ],
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The target ID for the resource",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The subscription ID that identifies an Azure subscription.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The API version to use for the request.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ResourceGroupParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ServerNameParameter": {
+ "name": "serverName",
+ "in": "path",
+ "description": "The name of the server.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ManagedInstanceNameParameter": {
+ "name": "managedInstanceName",
+ "in": "path",
+ "description": "The name of the managed instance.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "DatabaseNameParameter": {
+ "name": "databaseName",
+ "in": "path",
+ "description": "The name of the database.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "BlobAuditingPolicyNameParameter": {
+ "name": "blobAuditingPolicyName",
+ "in": "path",
+ "description": "The name of the blob auditing policy.",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "default"
+ ],
+ "x-ms-parameter-location": "method"
+ },
+ "SqlVirtualMachineInstanceNameParameter": {
+ "name": "sqlVirtualMachineInstanceName",
+ "in": "path",
+ "description": "The name of the SqlVirtualMachineInstance.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "SqlVirtualMachineContainerNameParameter": {
+ "name": "sqlVirtualMachineContainerName",
+ "in": "path",
+ "description": "The name of the SqlVirtualMachineContainer.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "VirtualClusterNameParameter": {
+ "name": "virtualClusterName",
+ "in": "path",
+ "description": "The name of the virtual cluster.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/InaccessibleManagedDatabaseListByManagedInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/InaccessibleManagedDatabaseListByManagedInstance.json
new file mode 100644
index 000000000000..cc5683d4d64a
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/InaccessibleManagedDatabaseListByManagedInstance.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "testrg",
+ "managedInstanceName": "testcl",
+ "api-version": "2019-06-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb1",
+ "location": "southeastasia",
+ "name": "testdb1",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "creationDate": "2017-08-04T15:00:17.73Z",
+ "defaultSecondaryLocation": "North Europe",
+ "status": "Inaccessible"
+ },
+ "type": "Microsoft.Sql/managedInstances/databases"
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb2",
+ "location": "southeastasia",
+ "name": "testdb2",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "creationDate": "2017-08-04T15:00:17.73Z",
+ "defaultSecondaryLocation": "North Europe",
+ "status": "Inaccessible"
+ },
+ "type": "Microsoft.Sql/managedInstances/databases"
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreInaccessibleDatabasesByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreInaccessibleDatabasesByServer.json
new file mode 100644
index 000000000000..ebd8398b4682
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreInaccessibleDatabasesByServer.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "api-version": "2019-06-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "capacity": 2
+ },
+ "kind": "v12.0,user,vcore",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Inaccessible",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_2",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600,
+ "readScale": "Enabled",
+ "readReplicaCount": 1
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/managedDatabases.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/managedDatabases.json
new file mode 100644
index 000000000000..12ae43a67d05
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/managedDatabases.json
@@ -0,0 +1,717 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-06-01-preview",
+ "title": "SqlManagementClient",
+ "description": "The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases": {
+ "get": {
+ "tags": [
+ "ManagedDatabases"
+ ],
+ "description": "Gets a list of managed databases.",
+ "operationId": "ManagedDatabases_ListByInstance",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved the list of databases.",
+ "schema": {
+ "$ref": "#/definitions/ManagedDatabaseListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription."
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List databases by managed instances": {
+ "$ref": "./examples/ManagedDatabaseListByManagedInstance.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}": {
+ "get": {
+ "tags": [
+ "ManagedDatabases"
+ ],
+ "description": "Gets a managed database.",
+ "operationId": "ManagedDatabases_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved the specified managed database.",
+ "schema": {
+ "$ref": "#/definitions/ManagedDatabase"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ResourceNotFound - The requested resource was not found."
+ }
+ },
+ "x-ms-examples": {
+ "Gets a managed database": {
+ "$ref": "./examples/ManagedDatabaseGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ManagedDatabases"
+ ],
+ "description": "Creates a new database or updates an existing database.",
+ "operationId": "ManagedDatabases_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The requested database resource state.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ManagedDatabase"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully updated the database.",
+ "schema": {
+ "$ref": "#/definitions/ManagedDatabase"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 PitrPointInTimeInvalid - The point in time {0} is not valid. Valid point in time range from {1} days early to now and not before source server creation time.\n\n * 400 CannotUseTrailingWhitespacesInDatabaseName - The database name validation failed.\n\n * 400 InvalidBackupRetentionPeriod - The retention days of {0} is not a valid configuration. Valid backup retention in days must be between {1} and {2}\n\n * 400 ManagedDatabaseNameInUse - Database '{0}' already exists. Choose a different database name.\n\n * 400 NoMoreSpaceInManagedInstance - The managed instance has reached its storage limit. The storage usage for the managed instance cannot exceed (%d) MBs.\n\n * 400 ManagedInstanceUpdateSloInProgress - \"The operation could not be completed because a service tier change is in progress for managed instance '{0}.' Please wait for the operation in progress to complete and try again.\"\n\n * 400 SourceDatabaseNotFound - The source database does not exist.\n\n * 400 RegionDoesNotSupportVersion - A user attempted to create a server of a specified version in a location where that server version isn't supported.\n\n * 400 PasswordNotComplex - The provided password is not complex enough.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidServerName - Invalid server name specified.\n\n * 400 SourceServerNotFound - The server part of a source database id provided in a CreateDatabaseAsCopy API call doesn't map to an existing server.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 CurrentDatabaseSizeExceedsMaxSize - User attempted to reduce the max size for a database to a size smaller than the current usage.\n\n * 400 InvalidCollation - Collation is not recognized by the server.\n\n * 400 ServerNotFound - The requested server was not found.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CurrentDatabaseLogSizeExceedsMaxSize - User attempted to change the database to a sku with lower max log size than the current usage.\n\n * 400 DatabaseNumberLimitReached - Maximum number of databases for SQL Database Managed Instance reached.\n\n * 400 InvalidDatabaseCreateOrUpdateRequest - The request body for the create or update database operation is invalid.\n\n * 400 InvalidResourceId - Invalid resource identifier.\n\n * 400 InvalidSourceDatabaseId - Invalid source database identifier.\n\n * 400 InvalidRestorableDroppedDatabaseId - Invalid restorable dropped database identifier\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MissingCollation - Collation is required.\n\n * 400 MissingSourceDatabaseId - Missing source database identifier.\n\n * 400 MissingRestorePointInTime - Missing restore point in time\n\n * 400 MissingStorageContainerSasToken - Missing storage container SAS token\n\n * 400 MissingStorageContainerUri - Missing storage container URI\n\n * 400 RestorableDroppedDatabaseIdGivenForRestoreWithSourceDatabaseId - Cannot specify restorableDroppedDatabaseId when sourceDatabaseId is already given in restore create mode\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 CannotFindServerCertificateWithThumbprint - Cannot find server certificate with thumbprint '{0}'. Please use PowerShell Cmdlet 'Add-AzureRmSqlManagedInstanceTransparentDataEncryptionCertificate' to create the certificate.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 RestoreSourceDatabaseNotFound - Could not find database '{0}' at time '{1}' that can be restored.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 RemoteDatabaseExists - The destination database name already exists on the destination server.\n\n * 409 ConflictingDatabaseOperation - There is already some operation on the database and the current operation should wait till it is done.\n\n * 409 SubscriptionDisabled - Subscription is disabled.\n\n * 409 ManagementServiceDatabaseBusy - Database '{0}' is busy with another operation. Please try your operation later.\n\n * 409 ConflictingSystemOperationInProgress - A system maintenance operation is in progress on the database and further operations need to wait until it is completed.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 500 ActivateOrDeactivateWorkflowThrottling - Activation or deactivation workflow failed because there are too many concurrent workflows\n\n * 503 DatabaseUnavailable - The operation failed because the database is unavailable.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout."
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "201": {
+ "description": "Successfully created the database.",
+ "schema": {
+ "$ref": "#/definitions/ManagedDatabase"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Creates a new managed database with minimal properties": {
+ "$ref": "./examples/ManagedDatabaseCreateMin.json"
+ },
+ "Creates a new managed database with maximal properties": {
+ "$ref": "./examples/ManagedDatabaseCreateMax.json"
+ },
+ "Creates a new managed database using point in time restore": {
+ "$ref": "./examples/ManagedDatabaseCreatePointInTimeRestore.json"
+ },
+ "Creates a new managed database by restoring from an external backup": {
+ "$ref": "./examples/ManagedDatabaseCreateRestoreExternalBackup.json"
+ },
+ "Creates a new managed database from restoring a geo-replicated backup": {
+ "$ref": "./examples/ManagedDatabaseCreateRecovery.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ManagedDatabases"
+ ],
+ "description": "Deletes a managed database.",
+ "operationId": "ManagedDatabases_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully deleted the managed database."
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 GeoReplicationDatabaseNotPrimary - The operation cannot be performed since the database '{0}' is a replication target.\n\n * 400 GeoReplicationDatabaseNotSecondary - The operation expects the database to be a replication target.\n\n * 400 ManagedInstanceUpdateSloInProgress - \"The operation could not be completed because a service tier change is in progress for managed instance '{0}.' Please wait for the operation in progress to complete and try again.\"\n\n * 400 DropDisallowedDuringFailover - Can not drop database because a failover operation is in progress on the failover group.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 409 ServerDisabled - Server is disabled.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout."
+ },
+ "202": {
+ "description": "Deleting the managed database is in progress."
+ },
+ "204": {
+ "description": "The specified managed database does not exist."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete managed database": {
+ "$ref": "./examples/ManagedDatabaseDelete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "ManagedDatabases"
+ ],
+ "description": "Updates an existing database.",
+ "operationId": "ManagedDatabases_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The requested database resource state.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ManagedDatabaseUpdate"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully updated the database.",
+ "schema": {
+ "$ref": "#/definitions/ManagedDatabase"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 PitrPointInTimeInvalid - The point in time {0} is not valid. Valid point in time range from {1} days early to now and not before source server creation time.\n\n * 400 CannotUseTrailingWhitespacesInDatabaseName - The database name validation failed.\n\n * 400 InvalidBackupRetentionPeriod - The retention days of {0} is not a valid configuration. Valid backup retention in days must be between {1} and {2}\n\n * 400 ManagedDatabaseNameInUse - Database '{0}' already exists. Choose a different database name.\n\n * 400 NoMoreSpaceInManagedInstance - The managed instance has reached its storage limit. The storage usage for the managed instance cannot exceed (%d) MBs.\n\n * 400 ManagedInstanceUpdateSloInProgress - \"The operation could not be completed because a service tier change is in progress for managed instance '{0}.' Please wait for the operation in progress to complete and try again.\"\n\n * 400 SourceDatabaseNotFound - The source database does not exist.\n\n * 400 RegionDoesNotSupportVersion - A user attempted to create a server of a specified version in a location where that server version isn't supported.\n\n * 400 PasswordNotComplex - The provided password is not complex enough.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidServerName - Invalid server name specified.\n\n * 400 SourceServerNotFound - The server part of a source database id provided in a CreateDatabaseAsCopy API call doesn't map to an existing server.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 CurrentDatabaseSizeExceedsMaxSize - User attempted to reduce the max size for a database to a size smaller than the current usage.\n\n * 400 InvalidCollation - Collation is not recognized by the server.\n\n * 400 ServerNotFound - The requested server was not found.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CurrentDatabaseLogSizeExceedsMaxSize - User attempted to change the database to a sku with lower max log size than the current usage.\n\n * 400 DatabaseNumberLimitReached - Maximum number of databases for SQL Database Managed Instance reached.\n\n * 400 InvalidDatabaseCreateOrUpdateRequest - The request body for the create or update database operation is invalid.\n\n * 400 InvalidResourceId - Invalid resource identifier.\n\n * 400 InvalidSourceDatabaseId - Invalid source database identifier.\n\n * 400 InvalidRestorableDroppedDatabaseId - Invalid restorable dropped database identifier\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MissingCollation - Collation is required.\n\n * 400 MissingSourceDatabaseId - Missing source database identifier.\n\n * 400 MissingRestorePointInTime - Missing restore point in time\n\n * 400 MissingStorageContainerSasToken - Missing storage container SAS token\n\n * 400 MissingStorageContainerUri - Missing storage container URI\n\n * 400 RestorableDroppedDatabaseIdGivenForRestoreWithSourceDatabaseId - Cannot specify restorableDroppedDatabaseId when sourceDatabaseId is already given in restore create mode\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 CannotFindServerCertificateWithThumbprint - Cannot find server certificate with thumbprint '{0}'. Please use PowerShell Cmdlet 'Add-AzureRmSqlManagedInstanceTransparentDataEncryptionCertificate' to create the certificate.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 RestoreSourceDatabaseNotFound - Could not find database '{0}' at time '{1}' that can be restored.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 RemoteDatabaseExists - The destination database name already exists on the destination server.\n\n * 409 ConflictingDatabaseOperation - There is already some operation on the database and the current operation should wait till it is done.\n\n * 409 SubscriptionDisabled - Subscription is disabled.\n\n * 409 ManagementServiceDatabaseBusy - Database '{0}' is busy with another operation. Please try your operation later.\n\n * 409 ConflictingSystemOperationInProgress - A system maintenance operation is in progress on the database and further operations need to wait until it is completed.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 500 ActivateOrDeactivateWorkflowThrottling - Activation or deactivation workflow failed because there are too many concurrent workflows\n\n * 503 DatabaseUnavailable - The operation failed because the database is unavailable.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout."
+ },
+ "202": {
+ "description": "Updating the managed database is in progress."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Updates a managed database with minimal properties": {
+ "$ref": "./examples/ManagedDatabaseUpdateMin.json"
+ },
+ "Updates a managed database with maximal properties": {
+ "$ref": "./examples/ManagedDatabaseUpdateMax.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/inaccessibleManagedDatabases": {
+ "get": {
+ "tags": [
+ "ManagedDatabases"
+ ],
+ "description": "Gets a list of inaccessible managed databases in a managed instance",
+ "operationId": "ManagedDatabases_ListInaccessibleByInstance",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully retrieved the list of inaccessible managed databases in a managed instance.",
+ "schema": {
+ "$ref": "#/definitions/ManagedDatabaseListResult"
+ }
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription."
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List inaccessible managed databases by managed instances": {
+ "$ref": "./examples/InaccessibleManagedDatabaseListByManagedInstance.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/completeRestore": {
+ "post": {
+ "tags": [
+ "ManagedDatabases"
+ ],
+ "description": "Completes the restore operation on a managed database.",
+ "operationId": "ManagedDatabases_CompleteRestore",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The definition for completing the restore of this managed database.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CompleteDatabaseRestoreDefinition"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully completed restore request."
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 400 InvalidDatabaseCompleteRestoreRequest - The complete database restore request is invalid\n\n * 400 InvalidDatabaseCompleteRestoreRequestLastBackupName - The last backup name is invalid\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 SourceDatabaseNotFound - The source database does not exist.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 MissingThumbprint - Can not find server certificate.\n\n * 400 PartiallyContainedDatabaseUnsupported - \"Backup for a partially contained database is not supported.\"\n\n * 400 RequiredBackupIsNotLastRestored - Migration cannot be completed because provided backup file name is not the name of the last backup file that is restored.\n\n * 400 IncompatiblePhysicalLayoutTooFewDataFiles - Database backup contains incompatible physical layout. No data files are found in the backup.\n\n * 400 IncompatiblePhysicalLayoutNonOnlineDataFilesExist - Database backup contains incompatible physical layout. Non-online data files exist.\n\n * 400 IncompatiblePhysicalLayoutWrongNumberOfLogFiles - Database backup contains incompatible physical layout. Multiple log files are not supported.\n\n * 400 IncompatiblePhysicalLayoutNonOnlineLogFilesExist - Database backup contains incompatible physical layout. Non-online log files exist.\n\n * 400 IncompatiblePhysicalLayoutTooManyNonDataLogFiles - Database backup contains incompatible physical layout. Too many non-data/log files.\n\n * 400 BackupSetNotFound - \"No backups were found to restore the database. Please contact support to restore the database.\n\n * 400 ExternalBackupAlreadySignaledToComplete - The restore request has already been signaled to complete.\n\n * 400 FullBackupNotFound - Full backup can not be found.\n\n * 400 ExternalBackupRestoreHasNotBeenStarted - The restore request can only be completed once the restore has started.\n\n * 400 ExternalBackupUpgradeInProgress - The restore request cannot be completed, since upgrade is in progress.\n\n * 400 RestoreFromStripedBackupsNotEnabled - Restoring from striped backups is not supported.\n\n * 400 BrokenRestorePlanNoFullBackup - The restore plan is broken because there is no full backup.\n\n * 400 IncompatiblePhysicalLayoutTooManyXTPFiles - Database backup contains incompatible physical layout. Multiple files found in the filegroup that contains MEMORY_OPTIMIZED_DATA.\n\n * 400 BrokenRestorePlanWrongLogBackupLSN - The restore plan is broken because firstLsn of current log backup is not <= lastLsn of next log backup.\n\n * 400 BrokenRestorePlanWrongDiffBackupLSN - The restore plan is broken because firstLsn of diff backup is not >= firstLsn of full backup.\n\n * 400 BrokenRestorePlanGapInLogBackups - The restore plan is broken because firstLsn of current log backup is not equal to lastLsn of prev log backup.\n\n * 400 XtpInitializedDuringRestore - Memory-optimized filegroup must be empty in order to be restored on General Purpose tier of SQL Database Managed Instance.\n\n * 400 FullBackupMissingChecksum - Provided full backup is missing checksum.\n\n * 400 FullBackupDamaged - Provided full backup is damaged.\n\n * 400 ManagedInstanceStorageLimitHit - The managed instance has reached its storage limit.\n\n * 404 ResourceDoesNotExist - Resource with the name '{0}' does not exist. To continue, specify a valid resource name.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources."
+ },
+ "202": {
+ "description": "Completing restore request is in progress."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Completes a managed database external backup restore.": {
+ "$ref": "./examples/ManagedDatabaseCompleteExternalRestore.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ManagedDatabaseListResult": {
+ "description": "A list of managed databases.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Array of results.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedDatabase"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to retrieve next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ManagedDatabaseProperties": {
+ "description": "The managed database's properties.",
+ "type": "object",
+ "properties": {
+ "collation": {
+ "description": "Collation of the managed database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "status": {
+ "description": "Status of the database.",
+ "enum": [
+ "Online",
+ "Offline",
+ "Shutdown",
+ "Creating",
+ "Inaccessible",
+ "Restoring",
+ "Updating"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "ManagedDatabaseStatus",
+ "modelAsString": true
+ }
+ },
+ "creationDate": {
+ "format": "date-time",
+ "description": "Creation date of the database.",
+ "type": "string",
+ "readOnly": true
+ },
+ "earliestRestorePoint": {
+ "format": "date-time",
+ "description": "Earliest restore point in time for point in time restore.",
+ "type": "string",
+ "readOnly": true
+ },
+ "restorePointInTime": {
+ "format": "date-time",
+ "description": "Conditional. If createMode is PointInTimeRestore, this value is required. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "defaultSecondaryLocation": {
+ "description": "Geo paired region.",
+ "type": "string",
+ "readOnly": true
+ },
+ "catalogCollation": {
+ "description": "Collation of the metadata catalog.",
+ "enum": [
+ "DATABASE_DEFAULT",
+ "SQL_Latin1_General_CP1_CI_AS"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CatalogCollationType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "createMode": {
+ "description": "Managed database create mode. PointInTimeRestore: Create a database by restoring a point in time backup of an existing database. SourceDatabaseName, SourceManagedInstanceName and PointInTime must be specified. RestoreExternalBackup: Create a database by restoring from external backup files. Collation, StorageContainerUri and StorageContainerSasToken must be specified. Recovery: Creates a database by restoring a geo-replicated backup. RecoverableDatabaseId must be specified as the recoverable database resource ID to restore.",
+ "enum": [
+ "Default",
+ "RestoreExternalBackup",
+ "PointInTimeRestore",
+ "Recovery"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ManagedDatabaseCreateMode",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "storageContainerUri": {
+ "description": "Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri of the storage container where backups for this restore are stored.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "sourceDatabaseId": {
+ "description": "The resource identifier of the source database associated with create operation of this database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "restorableDroppedDatabaseId": {
+ "description": "The restorable dropped database resource id to restore when creating this database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "storageContainerSasToken": {
+ "description": "Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the storage container sas token.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "failoverGroupId": {
+ "description": "Instance Failover Group resource identifier that this managed database belongs to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "recoverableDatabaseId": {
+ "description": "The resource identifier of the recoverable database associated with create operation of this database.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create"
+ ]
+ }
+ }
+ },
+ "Resource": {
+ "description": "ARM resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Resource name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Resource type.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "TrackedResource": {
+ "description": "ARM tracked top level resource.",
+ "required": [
+ "location"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "location": {
+ "description": "Resource location.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "tags": {
+ "description": "Resource tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "ManagedDatabase": {
+ "description": "A managed database resource.",
+ "required": [
+ "location"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ManagedDatabaseProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ManagedDatabaseUpdate": {
+ "description": "An managed database update.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ManagedDatabaseProperties",
+ "description": "Resource properties.",
+ "x-ms-client-flatten": true
+ },
+ "tags": {
+ "description": "Resource tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "CompleteDatabaseRestoreDefinition": {
+ "description": "Contains the information necessary to perform a complete database restore operation.",
+ "required": [
+ "lastBackupName"
+ ],
+ "type": "object",
+ "properties": {
+ "lastBackupName": {
+ "description": "The last backup name to apply",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The subscription ID that identifies an Azure subscription.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The API version to use for the request.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "client"
+ },
+ "ResourceGroupParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ServerNameParameter": {
+ "name": "serverName",
+ "in": "path",
+ "description": "The name of the server.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ManagedInstanceNameParameter": {
+ "name": "managedInstanceName",
+ "in": "path",
+ "description": "The name of the managed instance.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "DatabaseNameParameter": {
+ "name": "databaseName",
+ "in": "path",
+ "description": "The name of the database.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "BlobAuditingPolicyNameParameter": {
+ "name": "blobAuditingPolicyName",
+ "in": "path",
+ "description": "The name of the blob auditing policy.",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "default"
+ ],
+ "x-ms-parameter-location": "method"
+ },
+ "SqlVirtualMachineInstanceNameParameter": {
+ "name": "sqlVirtualMachineInstanceName",
+ "in": "path",
+ "description": "The name of the SqlVirtualMachineInstance.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "SqlVirtualMachineContainerNameParameter": {
+ "name": "sqlVirtualMachineContainerName",
+ "in": "path",
+ "description": "The name of the SqlVirtualMachineContainer.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "VirtualClusterNameParameter": {
+ "name": "virtualClusterName",
+ "in": "path",
+ "description": "The name of the virtual cluster.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ }
+}
\ No newline at end of file
From cadee195296d468f4fc532005a32c83027956860 Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Wed, 6 Nov 2019 15:37:29 -0800
Subject: [PATCH 180/189] fix ci error
---
.../examples/ListVCoreDatabasesByServer.json | 63 +++++++++++++++++++
.../ManagedDatabaseListByManagedInstance.json | 41 ++++++++++++
2 files changed, 104 insertions(+)
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreDatabasesByServer.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseListByManagedInstance.json
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreDatabasesByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreDatabasesByServer.json
new file mode 100644
index 000000000000..48a370ef982c
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreDatabasesByServer.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "api-version": "2017-10-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "capacity": 2
+ },
+ "kind": "v12.0,user,vcore",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_2",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600,
+ "readScale": "Enabled",
+ "readReplicaCount": 1
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ },
+ {
+ "sku": {
+ "name": "System0",
+ "tier": "System"
+ },
+ "kind": "v12.0,system",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 32212254720,
+ "status": "Online",
+ "databaseId": "e6be351f-2cc9-4604-9e52-b0b28b2710b0",
+ "creationDate": "2017-06-07T04:23:42.537Z",
+ "currentServiceObjectiveName": "System0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/master",
+ "name": "master",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseListByManagedInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseListByManagedInstance.json
new file mode 100644
index 000000000000..1d4f9899720a
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseListByManagedInstance.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Test1",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "managedDatabase",
+ "api-version": "2015-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb1",
+ "location": "southeastasia",
+ "name": "testdb1",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "creationDate": "2017-08-04T15:00:17.73Z",
+ "defaultSecondaryLocation": "North Europe",
+ "status": "Online"
+ },
+ "type": "Microsoft.Sql/managedInstances/databases"
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb2",
+ "location": "southeastasia",
+ "name": "testdb2",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "creationDate": "2017-08-04T15:00:17.73Z",
+ "defaultSecondaryLocation": "North Europe",
+ "status": "Online"
+ },
+ "type": "Microsoft.Sql/managedInstances/databases"
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
From 30f3b398af50ec649685ac8b3a6274f80f808dc9 Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Wed, 6 Nov 2019 16:02:03 -0800
Subject: [PATCH 181/189] add all files
---
.../examples/CreateDatabaseCopyMode.json | 69 ++++++++++++++++
.../examples/CreateDatabaseDefaultMode.json | 70 ++++++++++++++++
.../examples/CreateDatabaseMin.json | 61 ++++++++++++++
.../examples/CreateDatabasePITRMode.json | 70 ++++++++++++++++
.../examples/CreateDatabaseRecoveryMode.json | 69 ++++++++++++++++
.../examples/CreateDatabaseRestoreMode.json | 70 ++++++++++++++++
.../examples/CreateDatabaseRestoreMode2.json | 69 ++++++++++++++++
.../examples/CreateDatabaseSecondaryMode.json | 69 ++++++++++++++++
.../CreateDwDatabaseByServiceObjective.json | 82 +++++++++++++++++++
...ateHyperscaleDatabaseWithReadReplicas.json | 79 ++++++++++++++++++
...CreateVCoreDatabaseByServiceObjective.json | 80 ++++++++++++++++++
.../CreateVCoreDatabaseBySkuNameCapacity.json | 77 +++++++++++++++++
...eVCoreDatabaseBySkuTierFamilyCapacity.json | 78 ++++++++++++++++++
.../examples/DeleteDatabase.json | 14 ++++
.../examples/FailoverDatabase.json | 14 ++++
.../examples/GetDatabase.json | 34 ++++++++
.../examples/GetVCoreDatabase.json | 39 +++++++++
.../examples/ListDatabasesByElasticPool.json | 61 ++++++++++++++
.../examples/ListDatabasesByServer.json | 56 +++++++++++++
...anagedDatabaseCompleteExternalRestore.json | 16 ++++
.../examples/ManagedDatabaseCreateMax.json | 52 ++++++++++++
.../examples/ManagedDatabaseCreateMin.json | 43 ++++++++++
...nagedDatabaseCreatePointInTimeRestore.json | 54 ++++++++++++
.../ManagedDatabaseCreateRecovery.json | 51 ++++++++++++
...edDatabaseCreateRestoreExternalBackup.json | 55 +++++++++++++
.../examples/ManagedDatabaseDelete.json | 14 ++++
.../examples/ManagedDatabaseGet.json | 25 ++++++
.../examples/ManagedDatabaseUpdateMax.json | 34 ++++++++
.../examples/ManagedDatabaseUpdateMin.json | 34 ++++++++
.../examples/PatchDatabase.json | 45 ++++++++++
.../examples/PatchVCoreDatabase.json | 47 +++++++++++
.../examples/PauseDatabase.json | 34 ++++++++
.../examples/RenameDatabase.json | 15 ++++
.../examples/ResumeDatabase.json | 34 ++++++++
.../examples/UpgradeDataWarehouse.json | 13 +++
35 files changed, 1727 insertions(+)
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseCopyMode.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseDefaultMode.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseMin.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabasePITRMode.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRecoveryMode.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode2.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseSecondaryMode.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDwDatabaseByServiceObjective.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateHyperscaleDatabaseWithReadReplicas.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseByServiceObjective.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuNameCapacity.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuTierFamilyCapacity.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/DeleteDatabase.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/FailoverDatabase.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetDatabase.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetVCoreDatabase.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByElasticPool.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByServer.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCompleteExternalRestore.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMax.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMin.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreatePointInTimeRestore.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRecovery.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRestoreExternalBackup.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseDelete.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseGet.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMax.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMin.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchDatabase.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchVCoreDatabase.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/RenameDatabase.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/UpgradeDataWarehouse.json
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseCopyMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseCopyMode.json
new file mode 100644
index 000000000000..c888714f0480
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseCopyMode.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "dbcopy",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "properties": {
+ "createMode": "Copy",
+ "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy",
+ "name": "dbcopy",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy",
+ "name": "dbcopy",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseDefaultMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseDefaultMode.json
new file mode 100644
index 000000000000..b8736ea03a02
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseDefaultMode.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "properties": {
+ "createMode": "Default",
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseMin.json
new file mode 100644
index 000000000000..871367c58ee5
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseMin.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabasePITRMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabasePITRMode.json
new file mode 100644
index 000000000000..cad9460c0e21
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabasePITRMode.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "dbpitr",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "properties": {
+ "createMode": "PointInTimeRestore",
+ "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "restorePointInTime": "2017-07-14T05:35:31.503Z"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbpitr",
+ "name": "dbpitr",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbpitr",
+ "name": "dbpitr",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRecoveryMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRecoveryMode.json
new file mode 100644
index 000000000000..2d02dcf5926d
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRecoveryMode.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "dbrestore",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "properties": {
+ "createMode": "Restore",
+ "restorableDroppedDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/restorableDroppedDatabases/testdb2,131444841315030000"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore",
+ "name": "dbrestore",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore",
+ "name": "dbrestore",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode.json
new file mode 100644
index 000000000000..5be22c3fb50e
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "dbrestore",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "properties": {
+ "createMode": "Restore",
+ "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "sourceDatabaseDeletionDate": "2017-07-14T06:41:06.613Z"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore",
+ "name": "dbrestore",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore",
+ "name": "dbrestore",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode2.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode2.json
new file mode 100644
index 000000000000..1d68ff631a3e
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode2.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "dbcopy",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "properties": {
+ "createMode": "Copy",
+ "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy",
+ "name": "dbcopy",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy",
+ "name": "dbcopy",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseSecondaryMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseSecondaryMode.json
new file mode 100644
index 000000000000..b7f18f6e0ac5
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseSecondaryMode.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "properties": {
+ "createMode": "Secondary",
+ "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-NorthEurope/providers/Microsoft.Sql/servers/testsvr1/databases/testdb"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDwDatabaseByServiceObjective.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDwDatabaseByServiceObjective.json
new file mode 100644
index 000000000000..012f36d06668
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDwDatabaseByServiceObjective.json
@@ -0,0 +1,82 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdw",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "westus",
+ "sku": {
+ "name": "DW1000c"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 9000
+ },
+ "kind": "v12.0,user,datawarehouse,gen2",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 263882790666240,
+ "status": "Online",
+ "databaseId": "188784c9-d602-4684-86cf-e67b6f03551a",
+ "creationDate": "2019-04-24T06:46:14.99Z",
+ "currentServiceObjectiveName": "DW1000c",
+ "requestedServiceObjectiveName": "DW1000c",
+ "defaultSecondaryLocation": "eastus",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "readScale": "Disabled",
+ "readReplicaCount": 0,
+ "currentSku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 9000
+ }
+ },
+ "location": "westus",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdw",
+ "name": "testdw",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 9000
+ },
+ "kind": "v12.0,user,datawarehouse,gen2",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 263882790666240,
+ "status": "Online",
+ "databaseId": "188784c9-d602-4684-86cf-e67b6f03551a",
+ "creationDate": "2019-04-24T06:46:14.99Z",
+ "currentServiceObjectiveName": "DW1000c",
+ "requestedServiceObjectiveName": "DW1000c",
+ "defaultSecondaryLocation": "eastus",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "readScale": "Disabled",
+ "readReplicaCount": 0,
+ "currentSku": {
+ "name": "DataWarehouse",
+ "tier": "DataWarehouse",
+ "capacity": 9000
+ }
+ },
+ "location": "westus",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdw",
+ "name": "testdw",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateHyperscaleDatabaseWithReadReplicas.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateHyperscaleDatabaseWithReadReplicas.json
new file mode 100644
index 000000000000..ba48154d3c5d
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateHyperscaleDatabaseWithReadReplicas.json
@@ -0,0 +1,79 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-10-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "HS_Gen4",
+ "tier": "Hyperscale",
+ "capacity": 1
+ },
+ "properties": {
+ "readReplicaCount": 3
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "HS_Gen4",
+ "tier": "Hyperscale",
+ "family": "Gen4",
+ "capacity": 1
+ },
+ "kind": "v12.0,user,vcore,hyperscale",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": -1,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "HS_Gen4_1",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "readScale": "Enabled",
+ "readReplicaCount": 3
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "HS_Gen4",
+ "tier": "Hyperscale",
+ "family": "Gen4",
+ "capacity": 1
+ },
+ "kind": "v12.0,user,vcore,hyperscale",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": -1,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "HS_Gen4_1",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "readScale": "Enabled",
+ "readReplicaCount": 3
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseByServiceObjective.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseByServiceObjective.json
new file mode 100644
index 000000000000..7dae6aee65b6
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseByServiceObjective.json
@@ -0,0 +1,80 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-10-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "BC",
+ "family": "Gen4",
+ "capacity": 2
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 2
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_2",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600,
+ "readScale": "Enabled",
+ "readReplicaCount": 1
+ },
+ "location": "southeastasia",
+ "id":
+ "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 2
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_2",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600,
+ "readScale": "Enabled",
+ "readReplicaCount": 1
+ },
+ "location": "southeastasia",
+ "id":
+ "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuNameCapacity.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuNameCapacity.json
new file mode 100644
index 000000000000..d86fb7c31820
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuNameCapacity.json
@@ -0,0 +1,77 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-10-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "BC_Gen4",
+ "capacity": 2
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 2
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_2",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600,
+ "readScale": "Enabled",
+ "readReplicaCount": 1
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 2
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_2",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600,
+ "readScale": "Enabled",
+ "readReplicaCount": 1
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuTierFamilyCapacity.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuTierFamilyCapacity.json
new file mode 100644
index 000000000000..f418610356b5
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuTierFamilyCapacity.json
@@ -0,0 +1,78 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-10-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "sku": {
+ "name": "BC_Gen4_2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 2
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_2",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600,
+ "readScale": "Enabled",
+ "readReplicaCount": 1
+ },
+ "location": "southeastasia",
+ "id":
+ "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "family": "Gen4",
+ "capacity": 2
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_2",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600,
+ "readScale": "Enabled",
+ "readReplicaCount": 1
+ },
+ "location": "southeastasia",
+ "id":
+ "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/DeleteDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/DeleteDatabase.json
new file mode 100644
index 000000000000..ed35085e9ec4
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/DeleteDatabase.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": { },
+ "204": { },
+ "202": { }
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/FailoverDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/FailoverDatabase.json
new file mode 100644
index 000000000000..04b6a792e5a6
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/FailoverDatabase.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "group1",
+ "serverName": "testServer",
+ "databaseName": "testDatabase",
+ "replicaType": "Primary",
+ "api-version": "2018-06-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetDatabase.json
new file mode 100644
index 000000000000..70e9298d0244
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetDatabase.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ }
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetVCoreDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetVCoreDatabase.json
new file mode 100644
index 000000000000..62124ea4726e
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetVCoreDatabase.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-10-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "capacity": 2
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_2",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600,
+ "readScale": "Enabled",
+ "readReplicaCount": 1
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ }
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByElasticPool.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByElasticPool.json
new file mode 100644
index 000000000000..8d7b94a8caa8
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByElasticPool.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "elasticPoolName": "pool1",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "sku": {
+ "name": "ElasticPool",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "elasticPoolId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/elasticPools/Pool1",
+ "status": "Online",
+ "databaseId": "bfe0735f-bc87-447f-b2c2-481f4b100614",
+ "creationDate": "2017-07-12T22:08:39.163Z",
+ "currentServiceObjectiveName": "ElasticPool",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/DB001",
+ "name": "DB001",
+ "type": "Microsoft.Sql/servers/databases"
+ },
+ {
+ "sku": {
+ "name": "ElasticPool",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "elasticPoolId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/elasticPools/Pool1",
+ "status": "Online",
+ "databaseId": "82246152-3177-4357-b81c-a16d87ce3593",
+ "creationDate": "2017-07-12T22:10:10.773Z",
+ "currentServiceObjectiveName": "ElasticPool",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/DB002",
+ "name": "DB002",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByServer.json
new file mode 100644
index 000000000000..b487148a6635
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByServer.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [{
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ },
+ {
+ "sku": {
+ "name": "System0",
+ "tier": "System"
+ },
+ "kind": "v12.0,system",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 32212254720,
+ "status": "Online",
+ "databaseId": "e6be351f-2cc9-4604-9e52-b0b28b2710b0",
+ "creationDate": "2017-06-07T04:23:42.537Z",
+ "currentServiceObjectiveName": "System0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/master",
+ "name": "master",
+ "type": "Microsoft.Sql/servers/databases"
+ }]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCompleteExternalRestore.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCompleteExternalRestore.json
new file mode 100644
index 000000000000..b12362441707
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCompleteExternalRestore.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "myRG",
+ "managedInstanceName": "myManagedInstanceName",
+ "databaseName": "myDatabase",
+ "api-version": "2018-06-01-preview",
+ "parameters": {
+ "lastBackupName": "testdb1_log4"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMax.json
new file mode 100644
index 000000000000..65706e3c02c8
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMax.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "managedDatabase",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1",
+ "name": "testdb1",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
+ },
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2",
+ "name": "testdb2",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
+ },
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMin.json
new file mode 100644
index 000000000000..4143d1c4dfee
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMin.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "managedDatabase",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1",
+ "name": "testdb1",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
+ },
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2",
+ "name": "testdb2",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
+ },
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreatePointInTimeRestore.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreatePointInTimeRestore.json
new file mode 100644
index 000000000000..2f950088217f
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreatePointInTimeRestore.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "managedDatabase",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "properties": {
+ "createMode": "PointInTimeRestore",
+ "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/databases/testdb",
+ "restorePointInTime": "2017-07-14T05:35:31.503Z"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1",
+ "name": "testdb1",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
+ },
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2",
+ "name": "testdb2",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
+ },
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRecovery.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRecovery.json
new file mode 100644
index 000000000000..c3b09e772765
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRecovery.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "server1",
+ "databaseName": "testdb_recovered",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "location": "southeastasia",
+ "properties": {
+ "createMode": "Recovery",
+ "recoverableDatabaseId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/Default-SQL-WestEurope/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/server1/recoverableDatabases/testdb_recovered",
+ "name": "testdb_recovered",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2018-11-07T04:41:33.937Z"
+ },
+ "type": "Microsoft.Sql/managedInstances/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb_recovered",
+ "name": "testdb_recovered",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2018-11-07T04:41:33.937Z"
+ },
+ "type": "Microsoft.Sql/managedInstances/databases"
+ }
+ },
+ "202": { }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRestoreExternalBackup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRestoreExternalBackup.json
new file mode 100644
index 000000000000..c95c4f12808e
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRestoreExternalBackup.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "managedDatabase",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "properties": {
+ "createMode": "RestoreExternalBackup",
+ "storageContainerUri": "https://myaccountname.blob.core.windows.net/backups",
+ "storageContainerSasToken": "sv=2015-12-11&sr=c&sp=rl&sig=1234",
+ "collation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1",
+ "name": "testdb1",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
+ },
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2",
+ "name": "testdb2",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
+ },
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseDelete.json
new file mode 100644
index 000000000000..55ffcdc82e4a
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseGet.json
new file mode 100644
index 000000000000..6f1addb900ce
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Test1",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "managedDatabase",
+ "api-version": "2015-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb1",
+ "location": "southeastasia",
+ "name": "testdb1",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "creationDate": "2017-08-04T15:00:17.73Z",
+ "defaultSecondaryLocation": "North Europe",
+ "status": "Online"
+ },
+ "type": "Microsoft.Sql/managedInstances/databases"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMax.json
new file mode 100644
index 000000000000..fea44768a241
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMax.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb"
+ },
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMin.json
new file mode 100644
index 000000000000..fea44768a241
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMin.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb"
+ },
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": { }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchDatabase.json
new file mode 100644
index 000000000000..ecc2460ce7e9
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchDatabase.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "sku": {
+ "name": "S1",
+ "tier": "Standard"
+ },
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S1",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S1",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchVCoreDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchVCoreDatabase.json
new file mode 100644
index 000000000000..b0b211816a51
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchVCoreDatabase.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "sku": {
+ "name": "BC_Gen4_4"
+ },
+ "properties": {
+ "maxSizeBytes": 1073741824,
+ "licenseType": "LicenseIncluded"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "BC_Gen4_4",
+ "tier": "BusinessCritical",
+ "capacity": 4
+ },
+ "kind": "v12.0,user,vcore",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_4",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
new file mode 100644
index 000000000000..1759dd2d0a25
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdwdb",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+
+ },
+ "kind": "v12.0,user,datawarehouse",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 10995116277760,
+ "status": "Paused",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-07-13T02:04:26.187Z",
+ "currentServiceObjectiveName": "D1",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdwdb",
+ "name": "testdwdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/RenameDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/RenameDatabase.json
new file mode 100644
index 000000000000..2a5a534d8d02
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/RenameDatabase.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
+ "parameters": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/newtestdb"
+ }
+ },
+ "responses": {
+ "200": { }
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
new file mode 100644
index 000000000000..20cf7dc71a28
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdwdb",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+
+ },
+ "kind": "v12.0,user,datawarehouse",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 10995116277760,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-07-13T02:04:26.187Z",
+ "currentServiceObjectiveName": "D1",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdwdb",
+ "name": "testdwdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/UpgradeDataWarehouse.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/UpgradeDataWarehouse.json
new file mode 100644
index 000000000000..499aafe92cc7
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/UpgradeDataWarehouse.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdwdb",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
\ No newline at end of file
From f847a51e96b46fa63ef15de0b598cfe718b71716 Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Wed, 6 Nov 2019 16:15:24 -0800
Subject: [PATCH 182/189] fix MA
---
.../ListManagedInstanceOperations.json | 6 ++--
.../examples/PauseDatabase.json | 34 -------------------
.../examples/ResumeDatabase.json | 34 -------------------
3 files changed, 3 insertions(+), 71 deletions(-)
delete mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
delete mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListManagedInstanceOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListManagedInstanceOperations.json
index 5a9870148b02..977a88cb4b3b 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListManagedInstanceOperations.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListManagedInstanceOperations.json
@@ -46,10 +46,10 @@
"percentComplete": 55,
"startTime": "2019-09-23T08:05:28.687Z",
"state": "Failed",
- "errorCode": "45157",
+ "errorCode": 45157,
"errorDescription": "Server 'testcl' is busy with another operation. Please try your operation later.",
- "errorSeverity": "16",
- "isUserError": "True"
+ "errorSeverity": 16,
+ "isUserError": true
}
},
{
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
deleted file mode 100644
index 1759dd2d0a25..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "testdwdb",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "sku": {
-
- },
- "kind": "v12.0,user,datawarehouse",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 10995116277760,
- "status": "Paused",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-07-13T02:04:26.187Z",
- "currentServiceObjectiveName": "D1",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdwdb",
- "name": "testdwdb",
- "type": "Microsoft.Sql/servers/databases"
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
deleted file mode 100644
index 20cf7dc71a28..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "testdwdb",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "sku": {
-
- },
- "kind": "v12.0,user,datawarehouse",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 10995116277760,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-07-13T02:04:26.187Z",
- "currentServiceObjectiveName": "D1",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdwdb",
- "name": "testdwdb",
- "type": "Microsoft.Sql/servers/databases"
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
From 3a832d431d4b14ca04f35377ff5a0fec3ccc1141 Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Wed, 6 Nov 2019 16:19:19 -0800
Subject: [PATCH 183/189] 1
---
.../examples/PauseDatabase.json | 34 +++++++++++++++++++
.../examples/ResumeDatabase.json | 34 +++++++++++++++++++
2 files changed, 68 insertions(+)
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
create mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
new file mode 100644
index 000000000000..1759dd2d0a25
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdwdb",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+
+ },
+ "kind": "v12.0,user,datawarehouse",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 10995116277760,
+ "status": "Paused",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-07-13T02:04:26.187Z",
+ "currentServiceObjectiveName": "D1",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdwdb",
+ "name": "testdwdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
new file mode 100644
index 000000000000..20cf7dc71a28
--- /dev/null
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdwdb",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+
+ },
+ "kind": "v12.0,user,datawarehouse",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 10995116277760,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-07-13T02:04:26.187Z",
+ "currentServiceObjectiveName": "D1",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdwdb",
+ "name": "testdwdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
\ No newline at end of file
From a43601917f9578556504a0cf13e721f3dc6d5ab6 Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Wed, 6 Nov 2019 16:25:28 -0800
Subject: [PATCH 184/189] fix some example error
---
.../preview/2019-06-01-preview/examples/PauseDatabase.json | 3 ++-
.../preview/2019-06-01-preview/examples/ResumeDatabase.json | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
index 1759dd2d0a25..8b44aadd52f4 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
@@ -10,7 +10,8 @@
"200": {
"body": {
"sku": {
-
+ "name": "S0",
+ "tier": "Standard"
},
"kind": "v12.0,user,datawarehouse",
"properties": {
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
index 20cf7dc71a28..9ba6563863d1 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
@@ -10,7 +10,8 @@
"200": {
"body": {
"sku": {
-
+ "name": "S0",
+ "tier": "Standard"
},
"kind": "v12.0,user,datawarehouse",
"properties": {
From 2cd6eb51184d2e8e13e8d3e40df1eed77cd88104 Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Wed, 6 Nov 2019 17:56:53 -0800
Subject: [PATCH 185/189] update readme.md
---
specification/sql/resource-manager/readme.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md
index 01b866a42ea2..e6dbd772d046 100644
--- a/specification/sql/resource-manager/readme.md
+++ b/specification/sql/resource-manager/readme.md
@@ -125,6 +125,9 @@ input-file:
- Microsoft.Sql/preview/2018-06-01-preview/FailoverElasticPools.json
- Microsoft.Sql/preview/2018-06-01-preview/PrivateEndpointConnections.json
- Microsoft.Sql/preview/2018-06-01-preview/PrivateLinkResources.json
+- Microsoft.Sql/preview/2019-06-01-preview/databases.json
+- Microsoft.Sql/preview/2019-06-01-preview/managedDatabases.json
+- Microsoft.Sql/preview/2019-06-01-preview/serverOperations.json
# Needed when there is more than one input file
override-info:
@@ -472,6 +475,7 @@ input-file:
- ./Microsoft.Sql/preview/2018-06-01-preview/DatabaseSecurityAlertPolicies.json
- ./Microsoft.Sql/preview/2018-06-01-preview/managedDatabaseSensitivityLabels.json
- ./Microsoft.Sql/preview/2018-06-01-preview/ManagedInstanceVulnerabilityAssessments.json
+ - ./Microsoft.Sql/preview/2018-06-01-preview/managedInstanceOperations.json
- ./Microsoft.Sql/preview/2018-06-01-preview/ServerVulnerabilityAssessments.json
- ./Microsoft.Sql/preview/2018-06-01-preview/instancePools.json
- ./Microsoft.Sql/preview/2018-06-01-preview/usages.json
From 47aadb0184d1fdb942d3cf4a35e16becc018775b Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Wed, 6 Nov 2019 18:56:20 -0800
Subject: [PATCH 186/189] modify readme.md
---
specification/sql/resource-manager/readme.md | 24 +++++++++++++++++---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md
index e6dbd772d046..6b121ddf69a0 100644
--- a/specification/sql/resource-manager/readme.md
+++ b/specification/sql/resource-manager/readme.md
@@ -125,9 +125,6 @@ input-file:
- Microsoft.Sql/preview/2018-06-01-preview/FailoverElasticPools.json
- Microsoft.Sql/preview/2018-06-01-preview/PrivateEndpointConnections.json
- Microsoft.Sql/preview/2018-06-01-preview/PrivateLinkResources.json
-- Microsoft.Sql/preview/2019-06-01-preview/databases.json
-- Microsoft.Sql/preview/2019-06-01-preview/managedDatabases.json
-- Microsoft.Sql/preview/2019-06-01-preview/serverOperations.json
# Needed when there is more than one input file
override-info:
@@ -460,6 +457,27 @@ override-info:
The following packages are each composed of all apis from only one api-version.
+### Tag: package-pure-2019-06-preview
+
+These settings apply only when `--tag=package-pure-2019-06-preview` is specified on the command line.
+
+This section contains all input swagger files for version 2019-06-01-preview. All APIs of that version must be added this section when the API is ready for production.
+
+APIs must only be added to this section when the API is publicly available in at least 1 production region and at least 1 generated client has been tested end-to-end.
+
+These can be regenerated by running the following PowerShell script from this readme file's folder: `dir .\Microsoft.Sql\preview\2019-06-01-preview\ -File | Resolve-Path -Relative | % { " - $_".Replace("\", "/") }`
+
+``` yaml $(tag) == 'package-pure-2019-06-preview'
+input-file:
+ - ./Microsoft.Sql/preview/2019-06-01-preview/databases.json
+ - ./Microsoft.Sql/preview/2019-06-01-preview/managedDatabases.json
+ - ./Microsoft.Sql/preview/2019-06-01-preview/serverOperations.json
+
+# Needed when there is more than one input file
+override-info:
+ title: SqlManagementClient
+ ```
+
### Tag: package-pure-2018-06-preview
These settings apply only when `--tag=package-pure-2018-06-preview` is specified on the command line.
From f9487a9b3c7e20b5963f0695399ec6492e0396f1 Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Wed, 6 Nov 2019 19:08:35 -0800
Subject: [PATCH 187/189] fix avacado
---
...eVCoreDatabaseBySkuTierFamilyCapacity.json | 78 -------------------
.../examples/GetDatabase.json | 34 --------
.../examples/ListDatabasesByServer.json | 56 -------------
.../examples/PatchVCoreDatabase.json | 47 -----------
4 files changed, 215 deletions(-)
delete mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuTierFamilyCapacity.json
delete mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetDatabase.json
delete mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByServer.json
delete mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchVCoreDatabase.json
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuTierFamilyCapacity.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuTierFamilyCapacity.json
deleted file mode 100644
index f418610356b5..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuTierFamilyCapacity.json
+++ /dev/null
@@ -1,78 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "testdb",
- "api-version": "2017-10-01-preview",
- "parameters": {
- "location": "southeastasia",
- "sku": {
- "name": "BC_Gen4_2"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "BC_Gen4",
- "tier": "BusinessCritical",
- "family": "Gen4",
- "capacity": 2
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 1073741824,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "BC_Gen4_2",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
- "licenseType": "LicenseIncluded",
- "maxLogSizeBytes": 104857600,
- "readScale": "Enabled",
- "readReplicaCount": 1
- },
- "location": "southeastasia",
- "id":
- "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- }
- },
- "201": {
- "body": {
- "sku": {
- "name": "BC_Gen4",
- "tier": "BusinessCritical",
- "family": "Gen4",
- "capacity": 2
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 1073741824,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "BC_Gen4_2",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
- "licenseType": "LicenseIncluded",
- "maxLogSizeBytes": 104857600,
- "readScale": "Enabled",
- "readReplicaCount": 1
- },
- "location": "southeastasia",
- "id":
- "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetDatabase.json
deleted file mode 100644
index 70e9298d0244..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetDatabase.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "testdb",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 268435456000,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "S0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- }
- }
- }
-}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByServer.json
deleted file mode 100644
index b487148a6635..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByServer.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 268435456000,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "S0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- },
- {
- "sku": {
- "name": "System0",
- "tier": "System"
- },
- "kind": "v12.0,system",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 32212254720,
- "status": "Online",
- "databaseId": "e6be351f-2cc9-4604-9e52-b0b28b2710b0",
- "creationDate": "2017-06-07T04:23:42.537Z",
- "currentServiceObjectiveName": "System0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/master",
- "name": "master",
- "type": "Microsoft.Sql/servers/databases"
- }]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchVCoreDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchVCoreDatabase.json
deleted file mode 100644
index b0b211816a51..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchVCoreDatabase.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "testdb",
- "api-version": "2017-03-01-preview",
- "parameters": {
- "sku": {
- "name": "BC_Gen4_4"
- },
- "properties": {
- "maxSizeBytes": 1073741824,
- "licenseType": "LicenseIncluded"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "BC_Gen4_4",
- "tier": "BusinessCritical",
- "capacity": 4
- },
- "kind": "v12.0,user,vcore",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 1073741824,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "BC_Gen4_4",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
- "licenseType": "LicenseIncluded",
- "maxLogSizeBytes": 104857600
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- }
- },
- "202": {}
- }
-}
From 0c5c6eb8e20fcdc973d717433674c21dd7e0cd10 Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Wed, 6 Nov 2019 19:18:49 -0800
Subject: [PATCH 188/189] fix avacado 2
---
...ateHyperscaleDatabaseWithReadReplicas.json | 79 -------------------
1 file changed, 79 deletions(-)
delete mode 100644 specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateHyperscaleDatabaseWithReadReplicas.json
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateHyperscaleDatabaseWithReadReplicas.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateHyperscaleDatabaseWithReadReplicas.json
deleted file mode 100644
index ba48154d3c5d..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateHyperscaleDatabaseWithReadReplicas.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "testdb",
- "api-version": "2017-10-01-preview",
- "parameters": {
- "location": "southeastasia",
- "sku": {
- "name": "HS_Gen4",
- "tier": "Hyperscale",
- "capacity": 1
- },
- "properties": {
- "readReplicaCount": 3
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "HS_Gen4",
- "tier": "Hyperscale",
- "family": "Gen4",
- "capacity": 1
- },
- "kind": "v12.0,user,vcore,hyperscale",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": -1,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "HS_Gen4_1",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
- "licenseType": "LicenseIncluded",
- "readScale": "Enabled",
- "readReplicaCount": 3
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- }
- },
- "201": {
- "body": {
- "sku": {
- "name": "HS_Gen4",
- "tier": "Hyperscale",
- "family": "Gen4",
- "capacity": 1
- },
- "kind": "v12.0,user,vcore,hyperscale",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": -1,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "HS_Gen4_1",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
- "licenseType": "LicenseIncluded",
- "readScale": "Enabled",
- "readReplicaCount": 3
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
From 532e800d2d8804541b914b4893139604d491098b Mon Sep 17 00:00:00 2001
From: Yueren Wang
Date: Thu, 7 Nov 2019 16:57:12 -0800
Subject: [PATCH 189/189] fix prettier
---
.../examples/WorkbookTemplateAdd.json | 4 +-
.../examples/WorkbookTemplateUpdate.json | 79 ++++----
.../examples/WorkbookTemplatesList.json | 2 +-
.../preview/2019-08-08/storageaccounts.json | 4 +-
.../preview/v3.0/LUIS-Authoring.json | 42 ++--
...smosDBPrivateEndpointConnectionDelete.json | 2 +-
.../CosmosDBPrivateEndpointConnectionGet.json | 2 +-
...mosDBPrivateEndpointConnectionListGet.json | 2 +-
...smosDBPrivateEndpointConnectionUpdate.json | 2 +-
.../privateEndpointConnection.json | 2 +-
.../preview/2019-08-02/HybridCompute.json | 8 +-
.../2019-10-01/examples/CreateWorkspace.json | 8 +-
.../2019-10-01/examples/GetWorkspace.json | 4 +-
.../examples/ListWorkspaceResourceGroup.json | 8 +-
.../2019-10-01/examples/ListWorkspaces.json | 8 +-
.../2019-10-01/examples/UpdateWorkspace.json | 10 +-
.../stable/2019-10-01/workspaces.json | 10 +-
.../examples/ListWorkspaceFeatures.json | 2 +-
.../2019-11-01/examples/createWorkspace.json | 14 +-
.../2019-11-01/examples/getWorkspace.json | 6 +-
.../getWorkspacesByResourceGroup.json | 8 +-
.../examples/getWorkspacesBySubscription.json | 8 +-
.../examples/AssessedMachines_Get.json | 2 +-
.../AssessedMachines_ListByAssessment.json | 4 +-
.../examples/AssessmentOptions_Get.json | 2 +-
.../examples/AssessmentOptions_List.json | 2 +-
.../examples/Assessments_Delete.json | 4 +-
.../2019-10-01/examples/Groups_Create.json | 4 +-
.../2019-10-01/examples/Groups_Delete.json | 4 +-
.../examples/HyperVCollectors_Create.json | 18 +-
.../examples/HyperVCollectors_Delete.json | 4 +-
.../2019-10-01/examples/Machines_Get.json | 2 +-
.../examples/Machines_ListByProject.json | 4 +-
.../2019-10-01/examples/Projects_Create.json | 6 +-
.../2019-10-01/examples/Projects_Delete.json | 4 +-
.../2019-10-01/examples/Projects_List.json | 2 +-
.../2019-10-01/examples/Projects_Update.json | 4 +-
.../examples/VMwareCollectors_Create.json | 18 +-
.../examples/VMwareCollectors_Delete.json | 4 +-
.../stable/2019-10-01/migrate.json | 2 +-
.../ReplicationEligibilityResults_Get.json | 30 +--
.../ReplicationEligibilityResults_List.json | 50 ++---
.../2019-08-01/iotSecuritySolutions.json | 44 ++---
.../examples/DisableConsoleExamples.json | 1 -
.../examples/EnableConsoleExamples.json | 1 -
.../examples/SerialConsoleStatus.json | 1 -
.../stable/2018-05-01/serialconsole.json | 4 +-
.../stable/2018-10-01/signalr.json | 2 +-
.../ListManagedInstanceOperations.json | 2 +-
.../managedInstanceOperations.json | 2 +-
.../preview/2019-06-01-preview/databases.json | 2 +-
.../examples/CreateDatabaseCopyMode.json | 126 ++++++------
.../examples/CreateDatabaseDefaultMode.json | 130 ++++++-------
.../examples/CreateDatabaseMin.json | 110 +++++------
.../examples/CreateDatabasePITRMode.json | 128 ++++++-------
.../examples/CreateDatabaseRecoveryMode.json | 126 ++++++------
.../examples/CreateDatabaseRestoreMode.json | 128 ++++++-------
.../examples/CreateDatabaseRestoreMode2.json | 128 ++++++-------
.../examples/CreateDatabaseSecondaryMode.json | 126 ++++++------
.../CreateDwDatabaseByServiceObjective.json | 2 +-
...CreateVCoreDatabaseByServiceObjective.json | 8 +-
.../CreateVCoreDatabaseBySkuNameCapacity.json | 2 +-
.../examples/DeleteDatabase.json | 24 +--
.../examples/FailoverDatabase.json | 2 +-
.../examples/GetVCoreDatabase.json | 72 +++----
...eManagedDatabaseListByManagedInstance.json | 2 +-
.../examples/ListDatabasesByElasticPool.json | 2 +-
.../examples/ListServerOperations.json | 2 +-
.../examples/ListVCoreDatabasesByServer.json | 122 ++++++------
...istVCoreInaccessibleDatabasesByServer.json | 2 +-
...anagedDatabaseCompleteExternalRestore.json | 2 +-
.../examples/ManagedDatabaseCreateMax.json | 94 ++++-----
.../examples/ManagedDatabaseCreateMin.json | 76 ++++----
...nagedDatabaseCreatePointInTimeRestore.json | 98 +++++-----
.../ManagedDatabaseCreateRecovery.json | 92 ++++-----
...edDatabaseCreateRestoreExternalBackup.json | 100 +++++-----
.../examples/ManagedDatabaseDelete.json | 26 +--
.../examples/ManagedDatabaseGet.json | 46 ++---
.../ManagedDatabaseListByManagedInstance.json | 78 ++++----
.../examples/ManagedDatabaseUpdateMax.json | 62 +++---
.../examples/ManagedDatabaseUpdateMin.json | 62 +++---
.../examples/PatchDatabase.json | 82 ++++----
.../examples/PauseDatabase.json | 6 +-
.../examples/RenameDatabase.json | 24 +--
.../examples/ResumeDatabase.json | 6 +-
.../examples/UpgradeDataWarehouse.json | 2 +-
.../2019-06-01-preview/managedDatabases.json | 2 +-
.../2019-06-01-preview/serverOperations.json | 2 +-
.../stable/2019-06-01/storage.json | 4 +-
.../examples/ColdStoreAvailabilityGet.json | 2 +-
.../examples/ColdStoreEventSchemaGet.json | 2 +-
...esWithCategoricalInterpolatedVariable.json | 180 +++++++++++++++---
...ggregateSeriesWithCategoricalVariable.json | 172 +++++++++++++++--
.../examples/WarmStoreAvailabilityGet.json | 2 +-
.../examples/WarmStoreEventSchemaGet.json | 2 +-
.../WarmStoreQueryAggregateSeriesPage.json | 2 +-
.../timeseriesinsights.json | 14 +-
97 files changed, 1601 insertions(+), 1345 deletions(-)
diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateAdd.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateAdd.json
index 96952221b42b..8afc2505a0f1 100644
--- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateAdd.json
+++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateAdd.json
@@ -34,7 +34,7 @@
"properties": {
"priority": 1,
"author": "Contoso",
- "templateData": { },
+ "templateData": {},
"galleries": [
{
"name": "Simple Template",
@@ -58,7 +58,7 @@
"properties": {
"priority": 1,
"author": "Contoso",
- "templateData": { },
+ "templateData": {},
"galleries": [
{
"name": "Simple Template",
diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateUpdate.json
index f4003ff0bf85..b410777d4a90 100644
--- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateUpdate.json
+++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplateUpdate.json
@@ -1,55 +1,54 @@
{
- "parameters": {
- "api-version": "2018-06-17-preview",
- "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af",
- "resourceGroupName": "my-resource-group",
- "resourceName": "my-template-resource",
- "workbookTemplateProperties": {
- "name": "display-name-of-template",
- "location": "west us",
+ "parameters": {
+ "api-version": "2018-06-17-preview",
+ "subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af",
+ "resourceGroupName": "my-resource-group",
+ "resourceName": "my-template-resource",
+ "workbookTemplateProperties": {
+ "name": "display-name-of-template",
+ "location": "west us",
+ "type": "microsoft.insights/workbooktemplates",
+ "properties": {
+ "priority": 1,
+ "author": "Contoso",
+ "galleries": [
+ {
+ "name": "Simple Template",
+ "category": "Failures",
+ "type": "tsg",
+ "resourceType": "microsoft.insights/components",
+ "order": 100
+ }
+ ],
+ "templateData": {}
+ },
+ "tags": null
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testtemplate2",
+ "location": "westeurope",
+ "tags": null,
"type": "microsoft.insights/workbooktemplates",
+ "id": "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba95/resourceGroups/testrg/providers/microsoft.insights/workbooktemplates/testtemplate2",
"properties": {
"priority": 1,
"author": "Contoso",
+ "templateData": {},
"galleries": [
{
"name": "Simple Template",
"category": "Failures",
+ "order": 100,
"type": "tsg",
- "resourceType": "microsoft.insights/components",
- "order": 100
+ "resourceType": "microsoft.insights/components"
}
],
- "templateData": {}
- },
- "tags": null
- }
- },
- "responses": {
- "200": {
- "body": {
- "name": "testtemplate2",
- "location": "westeurope",
- "tags": null,
- "type": "microsoft.insights/workbooktemplates",
- "id": "/subscriptions/50359d91-7b9d-4823-85af-eb298a61ba95/resourceGroups/testrg/providers/microsoft.insights/workbooktemplates/testtemplate2",
- "properties": {
- "priority": 1,
- "author": "Contoso",
- "templateData": { },
- "galleries": [
- {
- "name": "Simple Template",
- "category": "Failures",
- "order": 100,
- "type": "tsg",
- "resourceType": "microsoft.insights/components"
- }
- ],
- "localized": null
- }
- }
+ "localized": null
+ }
}
}
}
-
\ No newline at end of file
+}
diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplatesList.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplatesList.json
index 0a851f164f0f..3e2eaa1e3adb 100644
--- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplatesList.json
+++ b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/examples/WorkbookTemplatesList.json
@@ -2,7 +2,7 @@
"parameters": {
"api-version": "2019-10-17-preview",
"subscriptionId": "6b643656-33eb-422f-aee8-3ac145d124af",
- "resourceGroupName": "my-resource-group"
+ "resourceGroupName": "my-resource-group"
},
"responses": {
"200": {
diff --git a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/storageaccounts.json b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/storageaccounts.json
index c94edcf3ca4d..c8e3acc5fd4a 100644
--- a/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/storageaccounts.json
+++ b/specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/storageaccounts.json
@@ -270,7 +270,7 @@
"description": "Access tier for storage account",
"type": "string",
"enum": [
- "Hot",
+ "Hot",
"Cool"
],
"x-ms-enum": {
@@ -282,7 +282,7 @@
"description": "Health state for storage account",
"type": "string",
"enum": [
- "Healthy",
+ "Healthy",
"Suspended",
"OverQuota",
"SuspendedAndOverQuota"
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json
index 8b1eb4352a5a..3e3f69a10681 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json
@@ -8529,18 +8529,18 @@
"type": "string"
},
"children": {
- "items": {
- "type": "object",
- "$ref": "#/definitions/JsonChild"
- },
- "type": "array"
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/JsonChild"
+ },
+ "type": "array"
},
"features": {
- "items": {
- "type": "object",
- "$ref": "#/definitions/JsonModelFeatureInformation"
- },
- "type": "array"
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/JsonModelFeatureInformation"
+ },
+ "type": "array"
}
}
},
@@ -8551,18 +8551,18 @@
"type": "string"
},
"children": {
- "items": {
- "type": "object",
- "$ref": "#/definitions/JsonChild"
- },
- "type": "array"
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/JsonChild"
+ },
+ "type": "array"
},
"features": {
- "items": {
- "type": "object",
- "$ref": "#/definitions/JsonModelFeatureInformation"
- },
- "type": "array"
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/JsonModelFeatureInformation"
+ },
+ "type": "array"
},
"roles": {
"type": "array",
@@ -8572,7 +8572,7 @@
},
"inherits": {
"type": "object",
- "$ref": "#/definitions/PrebuiltDomainObject"
+ "$ref": "#/definitions/PrebuiltDomainObject"
}
}
},
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionDelete.json
index c00aa0f7f2a4..b75e1e6d637b 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionDelete.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionDelete.json
@@ -10,4 +10,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionGet.json
index efaf62a4ab7e..53fdc35bc619 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionGet.json
@@ -25,4 +25,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionListGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionListGet.json
index 1810c8253c06..7402270916e9 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionListGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionListGet.json
@@ -43,4 +43,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionUpdate.json
index fd532a08f8f0..53a177ee7b10 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/examples/CosmosDBPrivateEndpointConnectionUpdate.json
@@ -34,4 +34,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json
index 1f60ee390eec..d52a3844d546 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2019-08-01-preview/privateEndpointConnection.json
@@ -320,4 +320,4 @@
"description": "The name of the private endpoint connection."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json
index 014ce151f8a2..cd1e6edff5da 100644
--- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json
+++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json
@@ -576,9 +576,7 @@
}
},
"x-ms-long-running-operation": true,
- "x-ms-examples": {
-
- }
+ "x-ms-examples": {}
},
"get": {
"tags": [
@@ -853,11 +851,11 @@
"type": "string",
"description": "Public Key that the client provides to be used during initial resource onboarding"
},
- "osName": {
+ "osName": {
"type": "string",
"description": "The Operating System running on the hybrid machine."
},
- "osVersion": {
+ "osVersion": {
"type": "string",
"description": "The version of Operating System running on the hybrid machine."
},
diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/CreateWorkspace.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/CreateWorkspace.json
index 5385d4b1e2bb..f3221db79d71 100644
--- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/CreateWorkspace.json
+++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/CreateWorkspace.json
@@ -10,8 +10,8 @@
},
"location": "West Europe",
"sku": {
- "name": "Enterprise",
- "tier": "Enterprise"
+ "name": "Enterprise",
+ "tier": "Enterprise"
},
"properties": {
"userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage",
@@ -30,8 +30,8 @@
"type": "Microsoft.MachineLearning/workspaces",
"location": "East US",
"sku": {
- "name": "Enterprise",
- "tier": "Enterprise"
+ "name": "Enterprise",
+ "tier": "Enterprise"
},
"properties": {
"userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage",
diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/GetWorkspace.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/GetWorkspace.json
index 48153a312214..6182377cf3c8 100644
--- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/GetWorkspace.json
+++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/GetWorkspace.json
@@ -16,8 +16,8 @@
"type": "Microsoft.MachineLearning/workspaces",
"location": "East US",
"sku": {
- "name": "Enterprise",
- "tier": "Enterprise"
+ "name": "Enterprise",
+ "tier": "Enterprise"
},
"properties": {
"userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage",
diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ListWorkspaceResourceGroup.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ListWorkspaceResourceGroup.json
index b1314b5dad30..dda1cb29bcb0 100644
--- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ListWorkspaceResourceGroup.json
+++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ListWorkspaceResourceGroup.json
@@ -14,8 +14,8 @@
"type": "Microsoft.MachineLearning/workspaces",
"location": "East US",
"sku": {
- "name": "Enterprise",
- "tier": "Enterprise"
+ "name": "Enterprise",
+ "tier": "Enterprise"
},
"properties": {
"userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage1",
@@ -34,8 +34,8 @@
"type": "Microsoft.MachineLearning/workspaces",
"location": "East US",
"sku": {
- "name": "Basic",
- "tier": "Basic"
+ "name": "Basic",
+ "tier": "Basic"
},
"properties": {
"userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage1",
diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ListWorkspaces.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ListWorkspaces.json
index 9b4db2d27636..899831fc4da6 100644
--- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ListWorkspaces.json
+++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/ListWorkspaces.json
@@ -13,8 +13,8 @@
"type": "Microsoft.MachineLearning/workspaces",
"location": "East US",
"sku": {
- "name": "Enterprise",
- "tier": "Enterprise"
+ "name": "Enterprise",
+ "tier": "Enterprise"
},
"properties": {
"userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage1",
@@ -33,8 +33,8 @@
"type": "Microsoft.MachineLearning/workspaces",
"location": "East US",
"sku": {
- "name": "Basic",
- "tier": "Basic"
+ "name": "Basic",
+ "tier": "Basic"
},
"properties": {
"userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage1",
diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/UpdateWorkspace.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/UpdateWorkspace.json
index 5b9e50d1d01a..0c2cc77841f8 100644
--- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/UpdateWorkspace.json
+++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/examples/UpdateWorkspace.json
@@ -11,9 +11,9 @@
"properties": {
"keyVaultIdentifierId": "kvidnew",
"sku": {
- "name": "Enterprise",
- "tier": "Enterprise"
- }
+ "name": "Enterprise",
+ "tier": "Enterprise"
+ }
}
}
},
@@ -28,8 +28,8 @@
"type": "Microsoft.MachineLearning/workspaces",
"location": "East US",
"sku": {
- "name": "Enterprise",
- "tier": "Enterprise"
+ "name": "Enterprise",
+ "tier": "Enterprise"
},
"properties": {
"userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage",
diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/workspaces.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/workspaces.json
index 116846b48bf4..47ee3013f817 100644
--- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/workspaces.json
+++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2019-10-01/workspaces.json
@@ -555,9 +555,9 @@
"type": "string"
},
"sku": {
- "$ref": "#/definitions/Sku",
- "description": "The sku of the workspace."
- }
+ "$ref": "#/definitions/Sku",
+ "description": "The sku of the workspace."
+ }
}
},
"WorkspaceKeysResponse": {
@@ -665,14 +665,14 @@
"type": "string"
}
},
- "sku": {
+ "sku": {
"$ref": "#/definitions/Sku",
"description": "The sku of the workspace."
}
},
"x-ms-azure-resource": true
},
- "Sku": {
+ "Sku": {
"description": "Sku of the resource",
"type": "object",
"properties": {
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListWorkspaceFeatures.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListWorkspaceFeatures.json
index f75711f2c3cc..de18eda25222 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListWorkspaceFeatures.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/ListWorkspaceFeatures.json
@@ -18,7 +18,7 @@
"id": "workspace_upgradeworkspaceui",
"displayName": "Upgrade workspace UI",
"description": "Upgrade workspace from Basic to enterprise from the UI"
- }
+ }
]
}
}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createWorkspace.json
index 48198f9043aa..ba5af54ddc9b 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createWorkspace.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createWorkspace.json
@@ -7,8 +7,8 @@
"parameters": {
"location": "eastus2euap",
"sku": {
- "name": "Basic",
- "tier": "Basic"
+ "name": "Basic",
+ "tier": "Basic"
},
"properties": {
"friendlyName": "HelloName",
@@ -28,9 +28,9 @@
"type": "Microsoft.MachineLearningServices/workspaces",
"location": "eastus2euap",
"sku": {
- "name": "Basic",
- "tier": "Basic"
- },
+ "name": "Basic",
+ "tier": "Basic"
+ },
"properties": {
"containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
"keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
@@ -50,8 +50,8 @@
"type": "Microsoft.MachineLearningServices/workspaces",
"location": "eastus2euap",
"sku": {
- "name": "Basic",
- "tier": "Basic"
+ "name": "Basic",
+ "tier": "Basic"
},
"properties": {
"containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspace.json
index 13f336125264..29127c5d7070 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspace.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspace.json
@@ -13,9 +13,9 @@
"type": "Microsoft.MachineLearningServices/workspaces",
"location": "eastus2euap",
"sku": {
- "name": "Enterprise",
- "tier": "Enterprise"
- },
+ "name": "Enterprise",
+ "tier": "Enterprise"
+ },
"properties": {
"containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
"keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspacesByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspacesByResourceGroup.json
index 705a2f5e024a..4f6ab8d8115b 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspacesByResourceGroup.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspacesByResourceGroup.json
@@ -14,8 +14,8 @@
"type": "Microsoft.MachineLearningServices/workspaces",
"location": "eastus2euap",
"sku": {
- "name": "Basic",
- "tier": "Basic"
+ "name": "Basic",
+ "tier": "Basic"
},
"properties": {
"containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
@@ -34,8 +34,8 @@
"type": "Microsoft.MachineLearningServices/workspaces",
"location": "eastus2euap",
"sku": {
- "name": "Basic",
- "tier": "Basic"
+ "name": "Basic",
+ "tier": "Basic"
},
"properties": {
"containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspacesBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspacesBySubscription.json
index 0d305a1d37da..8893b25328ba 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspacesBySubscription.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/getWorkspacesBySubscription.json
@@ -13,8 +13,8 @@
"type": "Microsoft.MachineLearningServices/workspaces",
"location": "eastus2euap",
"sku": {
- "name": "Enterprise",
- "tier": "Enterprise"
+ "name": "Enterprise",
+ "tier": "Enterprise"
},
"properties": {
"containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
@@ -33,8 +33,8 @@
"type": "Microsoft.MachineLearningServices/workspaces",
"location": "eastus2euap",
"sku": {
- "name": "Enterprise",
- "tier": "Enterprise"
+ "name": "Enterprise",
+ "tier": "Enterprise"
},
"properties": {
"containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessedMachines_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessedMachines_Get.json
index 792b98200cc7..bc562154e9df 100644
--- a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessedMachines_Get.json
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessedMachines_Get.json
@@ -55,7 +55,7 @@
"networkAdapters": {
"4000": {
"macAddress": "00:0c:29:ad:13:d3",
- "ipAddresses": [ ],
+ "ipAddresses": [],
"displayName": "VM Network",
"megabytesPerSecondReceived": 0.0,
"megabytesPerSecondTransmitted": 0.0,
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessedMachines_ListByAssessment.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessedMachines_ListByAssessment.json
index 433bc0f28b62..a11765f4cbfa 100644
--- a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessedMachines_ListByAssessment.json
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessedMachines_ListByAssessment.json
@@ -56,7 +56,7 @@
"networkAdapters": {
"4000": {
"macAddress": "00:0c:29:ad:13:d3",
- "ipAddresses": [ ],
+ "ipAddresses": [],
"displayName": "VM Network",
"megabytesPerSecondReceived": 0.0,
"megabytesPerSecondTransmitted": 0.0,
@@ -123,7 +123,7 @@
"networkAdapters": {
"4000": {
"macAddress": "00:50:56:a9:35:ca",
- "ipAddresses": [ ],
+ "ipAddresses": [],
"displayName": "VM Network",
"megabytesPerSecondReceived": 0.0,
"megabytesPerSecondTransmitted": 0.0,
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessmentOptions_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessmentOptions_Get.json
index 6f11beeaeb88..d107a5d99902 100644
--- a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessmentOptions_Get.json
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessmentOptions_Get.json
@@ -4,7 +4,7 @@
"api-version": "2019-10-01",
"subscriptionId": "6393a73f-8d55-47ef-b6dd-179b3e0c7910",
"projectName": "abgoyalWEselfhostb72bproject",
- "assessmentOptionsName": "default"
+ "assessmentOptionsName": "default"
},
"responses": {
"200": {
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessmentOptions_List.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessmentOptions_List.json
index d09240f6c50e..72adef19b6fb 100644
--- a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessmentOptions_List.json
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessmentOptions_List.json
@@ -800,4 +800,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Delete.json
index 81172ba98273..e8ed10d2a98d 100644
--- a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Delete.json
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Delete.json
@@ -8,7 +8,7 @@
"assessmentName": "assessment_5_9_2019_16_22_14"
},
"responses": {
- "200": { },
- "204": { }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Create.json
index 481e7ee3d949..2b35ae9e229e 100644
--- a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Create.json
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Create.json
@@ -20,7 +20,7 @@
"properties": {
"groupStatus": "Completed",
"machineCount": 0,
- "assessments": [ ],
+ "assessments": [],
"areAssessmentsRunning": false,
"createdTimestamp": "2019-05-09T10:52:56.1574737Z",
"updatedTimestamp": "2019-05-14T11:18:49.5485462Z"
@@ -36,7 +36,7 @@
"properties": {
"groupStatus": "Completed",
"machineCount": 0,
- "assessments": [ ],
+ "assessments": [],
"areAssessmentsRunning": false,
"createdTimestamp": "2019-05-09T10:52:56.1574737Z",
"updatedTimestamp": "2019-05-14T11:18:49.5485462Z"
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Delete.json
index c8a5675ceb95..df93c248f875 100644
--- a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Delete.json
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Delete.json
@@ -7,7 +7,7 @@
"groupName": "Test1"
},
"responses": {
- "200": { },
- "204": { }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Create.json
index cbcb8eef0f93..dac3c78074cd 100644
--- a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Create.json
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Create.json
@@ -7,15 +7,15 @@
"hyperVCollectorName": "migrateprojectce73collector",
"collectorBody": {
"properties": {
- "discoverySiteId": "/subscriptions/8c3c936a-c09b-4de3-830b-3f5f244d72e9/resourceGroups/ContosoITHyperV/providers/Microsoft.OffAzure/HyperVSites/migrateprojectce73site",
- "agentProperties": {
- "spnDetails": {
- "authority": "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
- "applicationId": "827f1053-44dc-439f-b832-05416dcce12b",
- "audience": "https://72f988bf-86f1-41af-91ab-2d7cd011db47/migrateprojectce73agentauthaadapp",
- "objectId": "be75098e-c0fc-4ac4-98c7-282ebbcf8370",
- "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
- }
+ "discoverySiteId": "/subscriptions/8c3c936a-c09b-4de3-830b-3f5f244d72e9/resourceGroups/ContosoITHyperV/providers/Microsoft.OffAzure/HyperVSites/migrateprojectce73site",
+ "agentProperties": {
+ "spnDetails": {
+ "authority": "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
+ "applicationId": "827f1053-44dc-439f-b832-05416dcce12b",
+ "audience": "https://72f988bf-86f1-41af-91ab-2d7cd011db47/migrateprojectce73agentauthaadapp",
+ "objectId": "be75098e-c0fc-4ac4-98c7-282ebbcf8370",
+ "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
+ }
}
},
"eTag": "\"00000981-0000-0300-0000-5d74cd5f0000\""
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Delete.json
index 9e45b3b9b4c6..d028fc3cc165 100644
--- a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Delete.json
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Delete.json
@@ -7,7 +7,7 @@
"hyperVCollectorName": "migrateprojectce73collector"
},
"responses": {
- "200": { },
- "204": { }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Machines_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Machines_Get.json
index 7208f49fd6f9..7d9cb78df029 100644
--- a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Machines_Get.json
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Machines_Get.json
@@ -38,7 +38,7 @@
"networkAdapters": {
"4000": {
"macAddress": "00:0c:29:ac:e3:6d",
- "ipAddresses": [ ],
+ "ipAddresses": [],
"displayName": "VM Network"
}
},
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Machines_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Machines_ListByProject.json
index 0c14a18aa30e..c75131d5049c 100644
--- a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Machines_ListByProject.json
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Machines_ListByProject.json
@@ -39,7 +39,7 @@
"networkAdapters": {
"4000": {
"macAddress": "00:0c:29:ac:e3:6d",
- "ipAddresses": [ ],
+ "ipAddresses": [],
"displayName": "VM Network"
}
},
@@ -76,7 +76,7 @@
"networkAdapters": {
"4000": {
"macAddress": "00:0c:29:1f:ac:0a",
- "ipAddresses": [ ],
+ "ipAddresses": [],
"displayName": "VM Network"
}
},
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Create.json
index d3b7da2efc58..8ad8810498e7 100644
--- a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Create.json
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Create.json
@@ -13,7 +13,7 @@
},
"eTag": "",
"location": "West Europe",
- "tags": { }
+ "tags": {}
}
},
"responses": {
@@ -37,7 +37,7 @@
"type": "Microsoft.Migrate/assessmentprojects",
"eTag": "",
"location": "West Europe",
- "tags": { }
+ "tags": {}
}
},
"200": {
@@ -60,7 +60,7 @@
"type": "Microsoft.Migrate/assessmentprojects",
"eTag": "",
"location": "West Europe",
- "tags": { }
+ "tags": {}
}
}
}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Delete.json
index fe913fe83843..e43bdfd831a9 100644
--- a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Delete.json
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Delete.json
@@ -6,7 +6,7 @@
"projectName": "abGoyalProject2"
},
"responses": {
- "200": { },
- "204": { }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_List.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_List.json
index 019d9e498e23..caca8a8bed95 100644
--- a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_List.json
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_List.json
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Update.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Update.json
index ec365043f56b..9398ae41c2f5 100644
--- a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Update.json
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Update.json
@@ -13,7 +13,7 @@
},
"eTag": "",
"location": "West Europe",
- "tags": { }
+ "tags": {}
}
},
"responses": {
@@ -37,7 +37,7 @@
"type": "Microsoft.Migrate/assessmentprojects",
"eTag": "",
"location": "West Europe",
- "tags": { }
+ "tags": {}
}
}
}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Create.json
index 2f1db37d1961..d90910ef279b 100644
--- a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Create.json
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Create.json
@@ -7,15 +7,15 @@
"vmWareCollectorName": "PortalvCenterbc2fcollector",
"collectorBody": {
"properties": {
- "discoverySiteId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.OffAzure/VMwareSites/PortalvCenterbc2fsite",
- "agentProperties": {
- "spnDetails": {
- "authority": "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
- "applicationId": "fc717575-8173-4b21-92a5-658b655e613e",
- "audience": "https://72f988bf-86f1-41af-91ab-2d7cd011db47/PortalvCenterbc2fagentauthaadapp",
- "objectId": "29d94f38-db94-4980-aec0-0cfd55ab1cd0",
- "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
- }
+ "discoverySiteId": "/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.OffAzure/VMwareSites/PortalvCenterbc2fsite",
+ "agentProperties": {
+ "spnDetails": {
+ "authority": "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47",
+ "applicationId": "fc717575-8173-4b21-92a5-658b655e613e",
+ "audience": "https://72f988bf-86f1-41af-91ab-2d7cd011db47/PortalvCenterbc2fagentauthaadapp",
+ "objectId": "29d94f38-db94-4980-aec0-0cfd55ab1cd0",
+ "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
+ }
}
},
"eTag": "\"01003d32-0000-0d00-0000-5d74d2e50000\""
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Delete.json
index 620497ccd032..37295cfc5de0 100644
--- a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Delete.json
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Delete.json
@@ -7,7 +7,7 @@
"vmWareCollectorName": "PortalvCenterbc2fcollector"
},
"responses": {
- "200": { },
- "204": { }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/migrate.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/migrate.json
index c4658d23411a..6d1fe5075e8c 100644
--- a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/migrate.json
+++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/migrate.json
@@ -3904,4 +3904,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationEligibilityResults_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationEligibilityResults_Get.json
index a438e8501ce2..5ba95fcadf8f 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationEligibilityResults_Get.json
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationEligibilityResults_Get.json
@@ -8,21 +8,21 @@
"responses": {
"200": {
"body": {
- "name": "default",
- "type": "Microsoft.RecoveryServices/replicationEligibilityResults",
- "id": "/subscriptions/d90d145a-4cdd-45a3-b2c4-971d69775278/resourceGroups/testRg1/providers/Microsoft.Compute/virtualMachines/testVm1/providers/Microsoft.RecoveryServices/replicationEligibilityResults/default",
- "properties": {
- "clientRequestId": "7d72ade7-b9f7-4d9b-8a19-15d9728c6190",
- "errors": [
- {
- "code": "A2AOperatingSystemNotSupported",
- "message": "The A2A operation could not be completed as the virtual machine is running OS 'ubuntu' with version '18.04' which is not supported for replication.",
- "possibleCauses": "OS version not supported.",
- "recommendedAction": "The virtual machine is running unsupported Operating system. Refer to the documentation for supported OS versions - https://aka.ms/a2a-os-support-matrix.",
- "status": "Error"
- }
- ]
- }
+ "name": "default",
+ "type": "Microsoft.RecoveryServices/replicationEligibilityResults",
+ "id": "/subscriptions/d90d145a-4cdd-45a3-b2c4-971d69775278/resourceGroups/testRg1/providers/Microsoft.Compute/virtualMachines/testVm1/providers/Microsoft.RecoveryServices/replicationEligibilityResults/default",
+ "properties": {
+ "clientRequestId": "7d72ade7-b9f7-4d9b-8a19-15d9728c6190",
+ "errors": [
+ {
+ "code": "A2AOperatingSystemNotSupported",
+ "message": "The A2A operation could not be completed as the virtual machine is running OS 'ubuntu' with version '18.04' which is not supported for replication.",
+ "possibleCauses": "OS version not supported.",
+ "recommendedAction": "The virtual machine is running unsupported Operating system. Refer to the documentation for supported OS versions - https://aka.ms/a2a-os-support-matrix.",
+ "status": "Error"
+ }
+ ]
+ }
}
}
}
diff --git a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationEligibilityResults_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationEligibilityResults_List.json
index 60e52c1cf35c..a08e518776e9 100644
--- a/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationEligibilityResults_List.json
+++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2018-07-10/examples/ReplicationEligibilityResults_List.json
@@ -8,32 +8,32 @@
"responses": {
"200": {
"body": {
- "value": [
- {
- "name": "default",
- "type": "Microsoft.RecoveryServices/replicationEligibilityResults",
- "id": "/subscriptions/d90d145a-4cdd-45a3-b2c4-971d69775278/resourceGroups/testRg1/providers/Microsoft.Compute/virtualMachines/testVm2/providers/Microsoft.RecoveryServices/replicationEligibilityResults/default",
- "properties": {
- "clientRequestId": "a62c81df-e26e-47ea-ab4b-f1fcc1e5b135",
- "errors": [
- {
- "code": "AzureVmIsNotInDesiredProvisioningState",
- "message": "Azure virtual machine with Id (/subscriptions/d90d145a-4cdd-45a3-b2c4-971d69775278/resourceGroups/testRg1/providers/Microsoft.Compute/virtualMachines/testVm2) is with provisioning state 'failed'. To enable replication, VM's provisioning state should be 'succeeded'.",
- "possibleCauses": "Virtual machine is not in desired state.",
- "recommendedAction": "\n Ensure that the VM's provisioning state is 'succeeded'.\n Refer to https://aka.ms/a2a-vm-state-issues to troubleshoot VM provisioning state issues.\n ",
- "status": "Error"
- },
- {
- "code": "AzureVmIsNotInDesiredPowerState",
- "message": "Azure virtual machine with Id (/subscriptions/d90d145a-4cdd-45a3-b2c4-971d69775278/resourceGroups/testRg1/providers/Microsoft.Compute/virtualMachines/testVm2) is with power status 'deallocated'. To enable replication, VM's power status should be 'running'.",
- "possibleCauses": "Virtual machine is not in desired state.",
- "recommendedAction": "\n Ensure that the VM's power status is 'running'.\n You can check the power status in 'VM > Settings > Properties > Status' in Azure portal.\n ",
- "status": "Error"
- }
- ]
- }
+ "value": [
+ {
+ "name": "default",
+ "type": "Microsoft.RecoveryServices/replicationEligibilityResults",
+ "id": "/subscriptions/d90d145a-4cdd-45a3-b2c4-971d69775278/resourceGroups/testRg1/providers/Microsoft.Compute/virtualMachines/testVm2/providers/Microsoft.RecoveryServices/replicationEligibilityResults/default",
+ "properties": {
+ "clientRequestId": "a62c81df-e26e-47ea-ab4b-f1fcc1e5b135",
+ "errors": [
+ {
+ "code": "AzureVmIsNotInDesiredProvisioningState",
+ "message": "Azure virtual machine with Id (/subscriptions/d90d145a-4cdd-45a3-b2c4-971d69775278/resourceGroups/testRg1/providers/Microsoft.Compute/virtualMachines/testVm2) is with provisioning state 'failed'. To enable replication, VM's provisioning state should be 'succeeded'.",
+ "possibleCauses": "Virtual machine is not in desired state.",
+ "recommendedAction": "\n Ensure that the VM's provisioning state is 'succeeded'.\n Refer to https://aka.ms/a2a-vm-state-issues to troubleshoot VM provisioning state issues.\n ",
+ "status": "Error"
+ },
+ {
+ "code": "AzureVmIsNotInDesiredPowerState",
+ "message": "Azure virtual machine with Id (/subscriptions/d90d145a-4cdd-45a3-b2c4-971d69775278/resourceGroups/testRg1/providers/Microsoft.Compute/virtualMachines/testVm2) is with power status 'deallocated'. To enable replication, VM's power status should be 'running'.",
+ "possibleCauses": "Virtual machine is not in desired state.",
+ "recommendedAction": "\n Ensure that the VM's power status is 'running'.\n You can check the power status in 'VM > Settings > Properties > Status' in Azure portal.\n ",
+ "status": "Error"
+ }
+ ]
}
- ]
+ }
+ ]
}
}
}
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json
index 9b9854ff0d2d..347b29d179dd 100644
--- a/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json
@@ -456,28 +456,28 @@
"recommendationsConfiguration": {
"$ref": "#/definitions/RecommendationConfigurationList"
},
- "unmaskedIpLoggingStatus" : {
- "description": "Unmasked IP address logging status",
- "type": "string",
- "enum": [
- "Disabled",
- "Enabled"
- ],
- "default": "Disabled",
- "x-ms-enum": {
- "name": "UnmaskedIpLoggingStatus",
- "modelAsString": true,
- "values": [
- {
- "value": "Disabled",
- "description": "Unmasked IP logging is disabled"
- },
- {
- "value": "Enabled",
- "description": "Unmasked IP logging is enabled"
- }
- ]
- }
+ "unmaskedIpLoggingStatus": {
+ "description": "Unmasked IP address logging status",
+ "type": "string",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "default": "Disabled",
+ "x-ms-enum": {
+ "name": "UnmaskedIpLoggingStatus",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Disabled",
+ "description": "Unmasked IP logging is disabled"
+ },
+ {
+ "value": "Enabled",
+ "description": "Unmasked IP logging is enabled"
+ }
+ ]
+ }
}
},
"required": [
diff --git a/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/DisableConsoleExamples.json b/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/DisableConsoleExamples.json
index 35412a197eb8..75a445557ddf 100644
--- a/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/DisableConsoleExamples.json
+++ b/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/DisableConsoleExamples.json
@@ -18,4 +18,3 @@
}
}
}
-
diff --git a/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/EnableConsoleExamples.json b/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/EnableConsoleExamples.json
index 6623955b79d6..12f664122832 100644
--- a/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/EnableConsoleExamples.json
+++ b/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/EnableConsoleExamples.json
@@ -18,4 +18,3 @@
}
}
}
-
diff --git a/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/SerialConsoleStatus.json b/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/SerialConsoleStatus.json
index 35412a197eb8..75a445557ddf 100644
--- a/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/SerialConsoleStatus.json
+++ b/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/examples/SerialConsoleStatus.json
@@ -18,4 +18,3 @@
}
}
}
-
diff --git a/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/serialconsole.json b/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/serialconsole.json
index 399166a01812..f7482fdf4397 100644
--- a/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/serialconsole.json
+++ b/specification/serialconsole/resource-manager/Microsoft.SerialConsole/stable/2018-05-01/serialconsole.json
@@ -114,7 +114,7 @@
],
"operationId": "DisableConsole",
"summary": "Disable Serial Console for a subscription",
- "description":"Disables the Serial Console service for all VMs and VM scale sets in the provided subscription",
+ "description": "Disables the Serial Console service for all VMs and VM scale sets in the provided subscription",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -154,7 +154,7 @@
],
"operationId": "EnableConsole",
"summary": "Enable Serial Console for a subscription",
- "description":"Enables the Serial Console service for all VMs and VM scale sets in the provided subscription",
+ "description": "Enables the Serial Console service for all VMs and VM scale sets in the provided subscription",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json
index 52ad4ad0f750..6586824eca21 100644
--- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json
+++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json
@@ -1276,4 +1276,4 @@
]
}
]
-}
\ No newline at end of file
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListManagedInstanceOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListManagedInstanceOperations.json
index 977a88cb4b3b..93f89f4eee86 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListManagedInstanceOperations.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListManagedInstanceOperations.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedInstanceOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedInstanceOperations.json
index 49ba608953af..ebf303d3f715 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedInstanceOperations.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/managedInstanceOperations.json
@@ -312,4 +312,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/databases.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/databases.json
index d729aa9ae852..24fecde6cb72 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/databases.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/databases.json
@@ -1187,4 +1187,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseCopyMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseCopyMode.json
index c888714f0480..71d59de32294 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseCopyMode.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseCopyMode.json
@@ -1,69 +1,69 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "dbcopy",
+ "api-version": "2017-03-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "dbcopy",
- "api-version": "2017-03-01-preview",
- "parameters": {
- "location": "southeastasia",
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "properties": {
- "createMode": "Copy",
- "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb"
- }
- }
+ "location": "southeastasia",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "properties": {
+ "createMode": "Copy",
+ "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy",
+ "name": "dbcopy",
+ "type": "Microsoft.Sql/servers/databases"
+ }
},
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 268435456000,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "S0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy",
- "name": "dbcopy",
- "type": "Microsoft.Sql/servers/databases"
- }
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
},
- "201": {
- "body": {
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 268435456000,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "S0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy",
- "name": "dbcopy",
- "type": "Microsoft.Sql/servers/databases"
- }
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
},
- "202": { }
- }
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy",
+ "name": "dbcopy",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseDefaultMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseDefaultMode.json
index b8736ea03a02..ba5deae797c3 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseDefaultMode.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseDefaultMode.json
@@ -1,70 +1,70 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "testdb",
- "api-version": "2017-03-01-preview",
- "parameters": {
- "location": "southeastasia",
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "properties": {
- "createMode": "Default",
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 1073741824
- }
- }
+ "location": "southeastasia",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "properties": {
+ "createMode": "Default",
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
},
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 1073741824,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "S0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- }
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
},
- "201": {
- "body": {
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 1073741824,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "S0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- }
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
},
- "202": { }
- }
-}
\ No newline at end of file
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseMin.json
index 871367c58ee5..e790ea99765b 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseMin.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseMin.json
@@ -1,61 +1,61 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "testdb",
- "api-version": "2017-03-01-preview",
- "parameters": {
- "location": "southeastasia"
- }
+ "location": "southeastasia"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
},
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 268435456000,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "S0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- }
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
},
- "201": {
- "body": {
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 268435456000,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "S0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- }
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
},
- "202": { }
- }
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabasePITRMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabasePITRMode.json
index cad9460c0e21..ac1df30711b7 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabasePITRMode.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabasePITRMode.json
@@ -1,70 +1,70 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "dbpitr",
+ "api-version": "2017-03-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "dbpitr",
- "api-version": "2017-03-01-preview",
- "parameters": {
- "location": "southeastasia",
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "properties": {
- "createMode": "PointInTimeRestore",
- "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "restorePointInTime": "2017-07-14T05:35:31.503Z"
- }
- }
+ "location": "southeastasia",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "properties": {
+ "createMode": "PointInTimeRestore",
+ "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "restorePointInTime": "2017-07-14T05:35:31.503Z"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbpitr",
+ "name": "dbpitr",
+ "type": "Microsoft.Sql/servers/databases"
+ }
},
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 268435456000,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "S0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbpitr",
- "name": "dbpitr",
- "type": "Microsoft.Sql/servers/databases"
- }
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
},
- "201": {
- "body": {
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 268435456000,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "S0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbpitr",
- "name": "dbpitr",
- "type": "Microsoft.Sql/servers/databases"
- }
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
},
- "202": { }
- }
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbpitr",
+ "name": "dbpitr",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRecoveryMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRecoveryMode.json
index 2d02dcf5926d..a4f8cee34bc7 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRecoveryMode.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRecoveryMode.json
@@ -1,69 +1,69 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "dbrestore",
+ "api-version": "2017-03-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "dbrestore",
- "api-version": "2017-03-01-preview",
- "parameters": {
- "location": "southeastasia",
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "properties": {
- "createMode": "Restore",
- "restorableDroppedDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/restorableDroppedDatabases/testdb2,131444841315030000"
- }
- }
+ "location": "southeastasia",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "properties": {
+ "createMode": "Restore",
+ "restorableDroppedDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/restorableDroppedDatabases/testdb2,131444841315030000"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore",
+ "name": "dbrestore",
+ "type": "Microsoft.Sql/servers/databases"
+ }
},
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 268435456000,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "S0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore",
- "name": "dbrestore",
- "type": "Microsoft.Sql/servers/databases"
- }
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
},
- "201": {
- "body": {
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 268435456000,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "S0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore",
- "name": "dbrestore",
- "type": "Microsoft.Sql/servers/databases"
- }
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
},
- "202": { }
- }
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore",
+ "name": "dbrestore",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode.json
index 5be22c3fb50e..93a6d13ce5db 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode.json
@@ -1,70 +1,70 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "dbrestore",
+ "api-version": "2017-03-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "dbrestore",
- "api-version": "2017-03-01-preview",
- "parameters": {
- "location": "southeastasia",
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "properties": {
- "createMode": "Restore",
- "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "sourceDatabaseDeletionDate": "2017-07-14T06:41:06.613Z"
- }
- }
+ "location": "southeastasia",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "properties": {
+ "createMode": "Restore",
+ "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "sourceDatabaseDeletionDate": "2017-07-14T06:41:06.613Z"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore",
+ "name": "dbrestore",
+ "type": "Microsoft.Sql/servers/databases"
+ }
},
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 268435456000,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "S0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore",
- "name": "dbrestore",
- "type": "Microsoft.Sql/servers/databases"
- }
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
},
- "201": {
- "body": {
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 268435456000,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "S0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore",
- "name": "dbrestore",
- "type": "Microsoft.Sql/servers/databases"
- }
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
},
- "202": { }
- }
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbrestore",
+ "name": "dbrestore",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode2.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode2.json
index 1d68ff631a3e..71d59de32294 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode2.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseRestoreMode2.json
@@ -1,69 +1,69 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "dbcopy",
+ "api-version": "2017-03-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "dbcopy",
- "api-version": "2017-03-01-preview",
- "parameters": {
- "location": "southeastasia",
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "properties": {
- "createMode": "Copy",
- "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb"
- }
- }
+ "location": "southeastasia",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "properties": {
+ "createMode": "Copy",
+ "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy",
+ "name": "dbcopy",
+ "type": "Microsoft.Sql/servers/databases"
+ }
},
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 268435456000,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "S0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy",
- "name": "dbcopy",
- "type": "Microsoft.Sql/servers/databases"
- }
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
},
- "201": {
- "body": {
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 268435456000,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "S0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy",
- "name": "dbcopy",
- "type": "Microsoft.Sql/servers/databases"
- }
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
},
- "202": { }
- }
-}
\ No newline at end of file
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/dbcopy",
+ "name": "dbcopy",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseSecondaryMode.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseSecondaryMode.json
index b7f18f6e0ac5..e9b2a0ce6a61 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseSecondaryMode.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDatabaseSecondaryMode.json
@@ -1,69 +1,69 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "testdb",
- "api-version": "2017-03-01-preview",
- "parameters": {
- "location": "southeastasia",
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "properties": {
- "createMode": "Secondary",
- "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-NorthEurope/providers/Microsoft.Sql/servers/testsvr1/databases/testdb"
- }
- }
+ "location": "southeastasia",
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "properties": {
+ "createMode": "Secondary",
+ "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-NorthEurope/providers/Microsoft.Sql/servers/testsvr1/databases/testdb"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
},
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 268435456000,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "S0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- }
+ "201": {
+ "body": {
+ "sku": {
+ "name": "S0",
+ "tier": "Standard"
},
- "201": {
- "body": {
- "sku": {
- "name": "S0",
- "tier": "Standard"
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 268435456000,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "S0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- }
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
},
- "202": { }
- }
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDwDatabaseByServiceObjective.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDwDatabaseByServiceObjective.json
index 012f36d06668..c45f339c7a6e 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDwDatabaseByServiceObjective.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateDwDatabaseByServiceObjective.json
@@ -79,4 +79,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseByServiceObjective.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseByServiceObjective.json
index 7dae6aee65b6..dbd6ab885cac 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseByServiceObjective.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseByServiceObjective.json
@@ -39,8 +39,7 @@
"readReplicaCount": 1
},
"location": "southeastasia",
- "id":
- "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
"name": "testdb",
"type": "Microsoft.Sql/servers/databases"
}
@@ -69,12 +68,11 @@
"readReplicaCount": 1
},
"location": "southeastasia",
- "id":
- "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
"name": "testdb",
"type": "Microsoft.Sql/servers/databases"
}
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuNameCapacity.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuNameCapacity.json
index d86fb7c31820..e91f678c1dcd 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuNameCapacity.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/CreateVCoreDatabaseBySkuNameCapacity.json
@@ -74,4 +74,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/DeleteDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/DeleteDatabase.json
index ed35085e9ec4..c70d7532b66e 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/DeleteDatabase.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/DeleteDatabase.json
@@ -1,14 +1,14 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "testdb",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": { },
- "204": { },
- "202": { }
- }
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {},
+ "202": {}
+ }
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/FailoverDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/FailoverDatabase.json
index 04b6a792e5a6..c527b9727123 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/FailoverDatabase.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/FailoverDatabase.json
@@ -11,4 +11,4 @@
"200": {},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetVCoreDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetVCoreDatabase.json
index 62124ea4726e..6c1f4b684ce9 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetVCoreDatabase.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/GetVCoreDatabase.json
@@ -1,39 +1,39 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "testdb",
- "api-version": "2017-10-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "BC_Gen4",
- "tier": "BusinessCritical",
- "capacity": 2
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 268435456000,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "BC_Gen4_2",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
- "licenseType": "LicenseIncluded",
- "maxLogSizeBytes": 104857600,
- "readScale": "Enabled",
- "readReplicaCount": 1
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- }
- }
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-10-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "capacity": 2
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_2",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600,
+ "readScale": "Enabled",
+ "readReplicaCount": 1
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
}
+ }
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/InaccessibleManagedDatabaseListByManagedInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/InaccessibleManagedDatabaseListByManagedInstance.json
index cc5683d4d64a..fb072c3ed470 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/InaccessibleManagedDatabaseListByManagedInstance.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/InaccessibleManagedDatabaseListByManagedInstance.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByElasticPool.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByElasticPool.json
index 8d7b94a8caa8..80fd7a64f5c8 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByElasticPool.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListDatabasesByElasticPool.json
@@ -58,4 +58,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListServerOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListServerOperations.json
index c781324aa4b6..a7d96f216d84 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListServerOperations.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListServerOperations.json
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreDatabasesByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreDatabasesByServer.json
index 48a370ef982c..facdd2ff8af5 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreDatabasesByServer.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreDatabasesByServer.json
@@ -1,63 +1,63 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "api-version": "2017-10-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "sku": {
- "name": "BC_Gen4",
- "tier": "BusinessCritical",
- "capacity": 2
- },
- "kind": "v12.0,user,vcore",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 268435456000,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "BC_Gen4_2",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
- "licenseType": "LicenseIncluded",
- "maxLogSizeBytes": 104857600,
- "readScale": "Enabled",
- "readReplicaCount": 1
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- },
- {
- "sku": {
- "name": "System0",
- "tier": "System"
- },
- "kind": "v12.0,system",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 32212254720,
- "status": "Online",
- "databaseId": "e6be351f-2cc9-4604-9e52-b0b28b2710b0",
- "creationDate": "2017-06-07T04:23:42.537Z",
- "currentServiceObjectiveName": "System0",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/master",
- "name": "master",
- "type": "Microsoft.Sql/servers/databases"
- }
- ]
- }
- }
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "api-version": "2017-10-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "sku": {
+ "name": "BC_Gen4",
+ "tier": "BusinessCritical",
+ "capacity": 2
+ },
+ "kind": "v12.0,user,vcore",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 268435456000,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "BC_Gen4_2",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS",
+ "licenseType": "LicenseIncluded",
+ "maxLogSizeBytes": 104857600,
+ "readScale": "Enabled",
+ "readReplicaCount": 1
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ },
+ {
+ "sku": {
+ "name": "System0",
+ "tier": "System"
+ },
+ "kind": "v12.0,system",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 32212254720,
+ "status": "Online",
+ "databaseId": "e6be351f-2cc9-4604-9e52-b0b28b2710b0",
+ "creationDate": "2017-06-07T04:23:42.537Z",
+ "currentServiceObjectiveName": "System0",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/master",
+ "name": "master",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreInaccessibleDatabasesByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreInaccessibleDatabasesByServer.json
index ebd8398b4682..75db020787c6 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreInaccessibleDatabasesByServer.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ListVCoreInaccessibleDatabasesByServer.json
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCompleteExternalRestore.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCompleteExternalRestore.json
index b12362441707..9b5a12c1b86b 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCompleteExternalRestore.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCompleteExternalRestore.json
@@ -13,4 +13,4 @@
"200": {},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMax.json
index 65706e3c02c8..9ba4bd59efcf 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMax.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMax.json
@@ -1,52 +1,52 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "managedDatabase",
+ "api-version": "2017-03-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "managedInstanceName": "managedInstance",
- "databaseName": "managedDatabase",
- "api-version": "2017-03-01-preview",
- "parameters": {
- "tags": {
- "tagKey1": "TagValue1"
- },
- "location": "southeastasia"
- }
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1",
+ "name": "testdb1",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
+ },
+ "type": "Microsoft.Sql/servers/databases"
+ }
},
- "responses": {
- "200": {
- "body": {
- "tags": {
- "tagKey1": "TagValue1"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1",
- "name": "testdb1",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "status": "Online",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "defaultSecondaryLocation": "North Europe"
- },
- "type": "Microsoft.Sql/servers/databases"
- }
+ "201": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
},
- "201": {
- "body": {
- "tags": {
- "tagKey1": "TagValue1"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2",
- "name": "testdb2",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "status": "Online",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "defaultSecondaryLocation": "North Europe"
- },
- "type": "Microsoft.Sql/servers/databases"
- }
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2",
+ "name": "testdb2",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
},
- "202": {}
- }
-}
\ No newline at end of file
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMin.json
index 4143d1c4dfee..b3ba76ef4749 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMin.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateMin.json
@@ -1,43 +1,43 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "managedDatabase",
+ "api-version": "2017-03-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "managedInstanceName": "managedInstance",
- "databaseName": "managedDatabase",
- "api-version": "2017-03-01-preview",
- "parameters": {
- "location": "southeastasia"
- }
- },
- "responses": {
- "200": {
- "body": {
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1",
- "name": "testdb1",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "status": "Online",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "defaultSecondaryLocation": "North Europe"
- },
- "type": "Microsoft.Sql/servers/databases"
- }
+ "location": "southeastasia"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1",
+ "name": "testdb1",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
},
- "201": {
- "body": {
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2",
- "name": "testdb2",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "status": "Online",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "defaultSecondaryLocation": "North Europe"
- },
- "type": "Microsoft.Sql/servers/databases"
- }
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "201": {
+ "body": {
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2",
+ "name": "testdb2",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
},
- "202": {}
- }
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreatePointInTimeRestore.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreatePointInTimeRestore.json
index 2f950088217f..3d25a35068e4 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreatePointInTimeRestore.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreatePointInTimeRestore.json
@@ -1,54 +1,54 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "managedDatabase",
+ "api-version": "2017-03-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "managedInstanceName": "managedInstance",
- "databaseName": "managedDatabase",
- "api-version": "2017-03-01-preview",
- "parameters": {
- "location": "southeastasia",
- "properties": {
- "createMode": "PointInTimeRestore",
- "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/databases/testdb",
- "restorePointInTime": "2017-07-14T05:35:31.503Z"
- }
- }
+ "location": "southeastasia",
+ "properties": {
+ "createMode": "PointInTimeRestore",
+ "sourceDatabaseId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/databases/testdb",
+ "restorePointInTime": "2017-07-14T05:35:31.503Z"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1",
+ "name": "testdb1",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
+ },
+ "type": "Microsoft.Sql/servers/databases"
+ }
},
- "responses": {
- "200": {
- "body": {
- "tags": {
- "tagKey1": "TagValue1"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1",
- "name": "testdb1",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "status": "Online",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "defaultSecondaryLocation": "North Europe"
- },
- "type": "Microsoft.Sql/servers/databases"
- }
+ "201": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
},
- "201": {
- "body": {
- "tags": {
- "tagKey1": "TagValue1"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2",
- "name": "testdb2",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "status": "Online",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "defaultSecondaryLocation": "North Europe"
- },
- "type": "Microsoft.Sql/servers/databases"
- }
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2",
+ "name": "testdb2",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
},
- "202": { }
- }
-}
\ No newline at end of file
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRecovery.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRecovery.json
index c3b09e772765..49764695d1bb 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRecovery.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRecovery.json
@@ -1,51 +1,51 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "server1",
+ "databaseName": "testdb_recovered",
+ "api-version": "2017-03-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "managedInstanceName": "server1",
- "databaseName": "testdb_recovered",
- "api-version": "2017-03-01-preview",
- "parameters": {
- "location": "southeastasia",
- "properties": {
- "createMode": "Recovery",
- "recoverableDatabaseId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/Default-SQL-WestEurope/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb"
- }
- }
+ "location": "southeastasia",
+ "properties": {
+ "createMode": "Recovery",
+ "recoverableDatabaseId": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/Default-SQL-WestEurope/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/server1/recoverableDatabases/testdb_recovered",
+ "name": "testdb_recovered",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2018-11-07T04:41:33.937Z"
+ },
+ "type": "Microsoft.Sql/managedInstances/databases"
+ }
},
- "responses": {
- "200": {
- "body": {
- "tags": {
- "tagKey1": "TagValue1"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/server1/recoverableDatabases/testdb_recovered",
- "name": "testdb_recovered",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "status": "Online",
- "creationDate": "2018-11-07T04:41:33.937Z"
- },
- "type": "Microsoft.Sql/managedInstances/databases"
- }
+ "201": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
},
- "201": {
- "body": {
- "tags": {
- "tagKey1": "TagValue1"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb_recovered",
- "name": "testdb_recovered",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "status": "Online",
- "creationDate": "2018-11-07T04:41:33.937Z"
- },
- "type": "Microsoft.Sql/managedInstances/databases"
- }
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDatabases/testdb_recovered",
+ "name": "testdb_recovered",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2018-11-07T04:41:33.937Z"
},
- "202": { }
- }
-}
\ No newline at end of file
+ "type": "Microsoft.Sql/managedInstances/databases"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRestoreExternalBackup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRestoreExternalBackup.json
index c95c4f12808e..3b1ae16660de 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRestoreExternalBackup.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseCreateRestoreExternalBackup.json
@@ -1,55 +1,55 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "managedDatabase",
+ "api-version": "2017-03-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "managedInstanceName": "managedInstance",
- "databaseName": "managedDatabase",
- "api-version": "2017-03-01-preview",
- "parameters": {
- "properties": {
- "createMode": "RestoreExternalBackup",
- "storageContainerUri": "https://myaccountname.blob.core.windows.net/backups",
- "storageContainerSasToken": "sv=2015-12-11&sr=c&sp=rl&sig=1234",
- "collation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia"
- }
+ "properties": {
+ "createMode": "RestoreExternalBackup",
+ "storageContainerUri": "https://myaccountname.blob.core.windows.net/backups",
+ "storageContainerSasToken": "sv=2015-12-11&sr=c&sp=rl&sig=1234",
+ "collation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1",
+ "name": "testdb1",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
+ },
+ "type": "Microsoft.Sql/servers/databases"
+ }
},
- "responses": {
- "200": {
- "body": {
- "tags": {
- "tagKey1": "TagValue1"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb1",
- "name": "testdb1",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "status": "Online",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "defaultSecondaryLocation": "North Europe"
- },
- "type": "Microsoft.Sql/servers/databases"
- }
+ "201": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
},
- "201": {
- "body": {
- "tags": {
- "tagKey1": "TagValue1"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2",
- "name": "testdb2",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "status": "Online",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "defaultSecondaryLocation": "North Europe"
- },
- "type": "Microsoft.Sql/servers/databases"
- }
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb2",
+ "name": "testdb2",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe"
},
- "202": { }
- }
-}
\ No newline at end of file
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseDelete.json
index 55ffcdc82e4a..cab3ff43e7ab 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseDelete.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseDelete.json
@@ -1,14 +1,14 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "managedInstanceName": "managedInstance",
- "databaseName": "testdb",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": {},
- "202": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseGet.json
index 6f1addb900ce..96645d91a368 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseGet.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseGet.json
@@ -1,25 +1,25 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Test1",
- "managedInstanceName": "managedInstance",
- "databaseName": "managedDatabase",
- "api-version": "2015-05-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb1",
- "location": "southeastasia",
- "name": "testdb1",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "creationDate": "2017-08-04T15:00:17.73Z",
- "defaultSecondaryLocation": "North Europe",
- "status": "Online"
- },
- "type": "Microsoft.Sql/managedInstances/databases"
- }
- }
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Test1",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "managedDatabase",
+ "api-version": "2015-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb1",
+ "location": "southeastasia",
+ "name": "testdb1",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "creationDate": "2017-08-04T15:00:17.73Z",
+ "defaultSecondaryLocation": "North Europe",
+ "status": "Online"
+ },
+ "type": "Microsoft.Sql/managedInstances/databases"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseListByManagedInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseListByManagedInstance.json
index 1d4f9899720a..4ff33c21639e 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseListByManagedInstance.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseListByManagedInstance.json
@@ -1,41 +1,41 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Test1",
- "managedInstanceName": "managedInstance",
- "databaseName": "managedDatabase",
- "api-version": "2015-05-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb1",
- "location": "southeastasia",
- "name": "testdb1",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "creationDate": "2017-08-04T15:00:17.73Z",
- "defaultSecondaryLocation": "North Europe",
- "status": "Online"
- },
- "type": "Microsoft.Sql/managedInstances/databases"
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb2",
- "location": "southeastasia",
- "name": "testdb2",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "creationDate": "2017-08-04T15:00:17.73Z",
- "defaultSecondaryLocation": "North Europe",
- "status": "Online"
- },
- "type": "Microsoft.Sql/managedInstances/databases"
- }
- ]
- }
- }
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Test1",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "managedDatabase",
+ "api-version": "2015-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb1",
+ "location": "southeastasia",
+ "name": "testdb1",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "creationDate": "2017-08-04T15:00:17.73Z",
+ "defaultSecondaryLocation": "North Europe",
+ "status": "Online"
+ },
+ "type": "Microsoft.Sql/managedInstances/databases"
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testcl/databases/testdb2",
+ "location": "southeastasia",
+ "name": "testdb2",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "creationDate": "2017-08-04T15:00:17.73Z",
+ "defaultSecondaryLocation": "North Europe",
+ "status": "Online"
+ },
+ "type": "Microsoft.Sql/managedInstances/databases"
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMax.json
index fea44768a241..342311fd20a0 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMax.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMax.json
@@ -1,34 +1,34 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "managedInstanceName": "managedInstance",
- "databaseName": "testdb",
- "api-version": "2017-03-01-preview",
- "parameters": {
- "tags": {
- "tagKey1": "TagValue1"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "tags": {
- "tagKey1": "TagValue1"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb"
- },
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "status": "Online",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "defaultSecondaryLocation": "North Europe",
- "type": "Microsoft.Sql/servers/databases"
- }
- },
- "202": { }
+ "tags": {
+ "tagKey1": "TagValue1"
+ }
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb"
+ },
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMin.json
index fea44768a241..342311fd20a0 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMin.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ManagedDatabaseUpdateMin.json
@@ -1,34 +1,34 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "managedInstanceName": "managedInstance",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "managedInstanceName": "managedInstance",
- "databaseName": "testdb",
- "api-version": "2017-03-01-preview",
- "parameters": {
- "tags": {
- "tagKey1": "TagValue1"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "tags": {
- "tagKey1": "TagValue1"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb"
- },
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "status": "Online",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "defaultSecondaryLocation": "North Europe",
- "type": "Microsoft.Sql/servers/databases"
- }
- },
- "202": { }
+ "tags": {
+ "tagKey1": "TagValue1"
+ }
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tags": {
+ "tagKey1": "TagValue1"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb"
+ },
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "status": "Online",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "defaultSecondaryLocation": "North Europe",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchDatabase.json
index ecc2460ce7e9..8abff3098570 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchDatabase.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PatchDatabase.json
@@ -1,45 +1,45 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "testdb",
- "api-version": "2017-03-01-preview",
- "parameters": {
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 1073741824
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "kind": "v12.0,user",
- "properties": {
- "collation": "SQL_Latin1_General_CP1_CI_AS",
- "maxSizeBytes": 1073741824,
- "status": "Online",
- "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
- "creationDate": "2017-06-07T04:41:33.937Z",
- "currentServiceObjectiveName": "S1",
- "defaultSecondaryLocation": "North Europe",
- "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
- },
- "location": "southeastasia",
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
- "name": "testdb",
- "type": "Microsoft.Sql/servers/databases"
- }
- },
- "202": {}
+ "sku": {
+ "name": "S1",
+ "tier": "Standard"
+ },
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824
+ }
}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "name": "S1",
+ "tier": "Standard"
+ },
+ "kind": "v12.0,user",
+ "properties": {
+ "collation": "SQL_Latin1_General_CP1_CI_AS",
+ "maxSizeBytes": 1073741824,
+ "status": "Online",
+ "databaseId": "6c764297-577b-470f-9af4-96d3d41e2ba3",
+ "creationDate": "2017-06-07T04:41:33.937Z",
+ "currentServiceObjectiveName": "S1",
+ "defaultSecondaryLocation": "North Europe",
+ "catalogCollation": "SQL_Latin1_General_CP1_CI_AS"
+ },
+ "location": "southeastasia",
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/testdb",
+ "name": "testdb",
+ "type": "Microsoft.Sql/servers/databases"
+ }
+ },
+ "202": {}
+ }
}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
index 8b44aadd52f4..ebedc335cbad 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/PauseDatabase.json
@@ -10,8 +10,8 @@
"200": {
"body": {
"sku": {
- "name": "S0",
- "tier": "Standard"
+ "name": "S0",
+ "tier": "Standard"
},
"kind": "v12.0,user,datawarehouse",
"properties": {
@@ -32,4 +32,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/RenameDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/RenameDatabase.json
index 2a5a534d8d02..963ff8794aad 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/RenameDatabase.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/RenameDatabase.json
@@ -1,15 +1,15 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "Default-SQL-SouthEastAsia",
+ "serverName": "testsvr",
+ "databaseName": "testdb",
+ "api-version": "2017-03-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "serverName": "testsvr",
- "databaseName": "testdb",
- "api-version": "2017-03-01-preview",
- "parameters": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/newtestdb"
- }
- },
- "responses": {
- "200": { }
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/newtestdb"
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
index 9ba6563863d1..5a92f5a8cac8 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/ResumeDatabase.json
@@ -10,8 +10,8 @@
"200": {
"body": {
"sku": {
- "name": "S0",
- "tier": "Standard"
+ "name": "S0",
+ "tier": "Standard"
},
"kind": "v12.0,user,datawarehouse",
"properties": {
@@ -32,4 +32,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/UpgradeDataWarehouse.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/UpgradeDataWarehouse.json
index 499aafe92cc7..76aed8cca6eb 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/UpgradeDataWarehouse.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/examples/UpgradeDataWarehouse.json
@@ -10,4 +10,4 @@
"200": {},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/managedDatabases.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/managedDatabases.json
index 12ae43a67d05..e31bd7d07691 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/managedDatabases.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/managedDatabases.json
@@ -714,4 +714,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/serverOperations.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/serverOperations.json
index c39847a58825..29f7b40503a7 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/serverOperations.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2019-06-01-preview/serverOperations.json
@@ -312,4 +312,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
index 5ccd91b01a45..e457d4b98b7b 100644
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
+++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/storage.json
@@ -1724,12 +1724,12 @@
"type": "string",
"description": "Gets the dfs endpoint."
},
- "microsoftEndpoints":{
+ "microsoftEndpoints": {
"x-ms-client-flatten": false,
"$ref": "#/definitions/StorageAccountMicrosoftEndpoints",
"description": "Gets the microsoft routing storage endpoints."
},
- "internetEndpoints":{
+ "internetEndpoints": {
"x-ms-client-flatten": false,
"$ref": "#/definitions/StorageAccountInternetEndpoints",
"description": "Gets the internet routing storage endpoints"
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreAvailabilityGet.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreAvailabilityGet.json
index ba7137ce90b5..0dc72061e3c7 100644
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreAvailabilityGet.json
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreAvailabilityGet.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "storeType": "coldstore",
+ "storeType": "coldstore",
"environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
"clientRequestId": "A72703F6-C0B1-49EF-854A-59F1994F54E7",
"clientSessionId": "AlertCalculation_W7"
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreEventSchemaGet.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreEventSchemaGet.json
index a36ff3477740..0d7d9ecef3db 100644
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreEventSchemaGet.json
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreEventSchemaGet.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "storeType": "coldstore",
+ "storeType": "coldstore",
"environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
"parameters": {
"searchSpan": {
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalInterpolatedVariable.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalInterpolatedVariable.json
index 2dd30b2a0430..662161648bff 100644
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalInterpolatedVariable.json
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalInterpolatedVariable.json
@@ -9,102 +9,236 @@
"from": "2019-10-10T23:41:04.021Z",
"to": "2019-10-10T23:42:22.846Z"
},
- "timeSeriesId": [ "Sensor_58" ],
+ "timeSeriesId": [
+ "Sensor_58"
+ ],
"interval": "PT2S",
"inlineVariables": {
"Status_String": {
"kind": "categorical",
- "value": { "tsx": "$event.[Status].String" },
+ "value": {
+ "tsx": "$event.[Status].String"
+ },
"interpolation": {
"kind": "Step",
- "boundary": { "span": "PT5S" }
+ "boundary": {
+ "span": "PT5S"
+ }
},
"categories": [
{
"label": "Good",
- "values": [ "Good", "Very Good", "Excellent" ]
+ "values": [
+ "Good",
+ "Very Good",
+ "Excellent"
+ ]
},
{
"label": "Bad",
- "values": [ "Bad", "OK" ]
+ "values": [
+ "Bad",
+ "OK"
+ ]
},
{
"label": "Other",
- "values": [ "Other" ]
+ "values": [
+ "Other"
+ ]
}
],
- "defaultCategory": { "label": "Unknown" }
+ "defaultCategory": {
+ "label": "Unknown"
+ }
},
"Status_Long": {
"kind": "categorical",
- "value": { "tsx": "tolong($event.[Status].Double)" },
+ "value": {
+ "tsx": "tolong($event.[Status].Double)"
+ },
"interpolation": {
"kind": "Step",
- "boundary": { "span": "PT5S" }
+ "boundary": {
+ "span": "PT5S"
+ }
},
"categories": [
{
"label": "Good",
- "values": [ 0, 1, 2 ]
+ "values": [
+ 0,
+ 1,
+ 2
+ ]
},
{
"label": "Bad",
- "values": [ 3, 4 ]
+ "values": [
+ 3,
+ 4
+ ]
},
{
"label": "Other",
- "values": [ 5 ]
+ "values": [
+ 5
+ ]
}
],
- "defaultCategory": { "label": "Unknown" }
+ "defaultCategory": {
+ "label": "Unknown"
+ }
}
},
- "projectedVariables": [ "Status_String", "Status_Long" ]
+ "projectedVariables": [
+ "Status_String",
+ "Status_Long"
+ ]
}
}
},
"responses": {
"200": {
"body": {
- "timestamps": [ "2019-10-10T23:41:04Z", "2019-10-10T23:41:06Z", "2019-10-10T23:41:08Z", "2019-10-10T23:41:10Z", "2019-10-10T23:41:12Z", "2019-10-10T23:41:14Z", "2019-10-10T23:41:16Z", "2019-10-10T23:41:18Z", "2019-10-10T23:41:20Z", "2019-10-10T23:41:22Z"],
+ "timestamps": [
+ "2019-10-10T23:41:04Z",
+ "2019-10-10T23:41:06Z",
+ "2019-10-10T23:41:08Z",
+ "2019-10-10T23:41:10Z",
+ "2019-10-10T23:41:12Z",
+ "2019-10-10T23:41:14Z",
+ "2019-10-10T23:41:16Z",
+ "2019-10-10T23:41:18Z",
+ "2019-10-10T23:41:20Z",
+ "2019-10-10T23:41:22Z"
+ ],
"properties": [
{
- "values": [ 0.203, 0.141, 0.268, 0.398, 0.402, 0.047, 0.1245, 0.75, 0.206, 0.2635],
+ "values": [
+ 0.203,
+ 0.141,
+ 0.268,
+ 0.398,
+ 0.402,
+ 0.047,
+ 0.1245,
+ 0.75,
+ 0.206,
+ 0.2635
+ ],
"name": "Status_String[Good]",
"type": "Double"
},
{
- "values": [ 0.266, 0.1955, 0.242, 0.148, 0.25, 0.055, 0.6295, 0.109, 0.41, 0.2125],
+ "values": [
+ 0.266,
+ 0.1955,
+ 0.242,
+ 0.148,
+ 0.25,
+ 0.055,
+ 0.6295,
+ 0.109,
+ 0.41,
+ 0.2125
+ ],
"name": "Status_String[Bad]",
"type": "Double"
},
{
- "values": [ 0.5205, 0.6635, 0.49, 0.454, 0.348, 0.898, 0.246, 0.141, 0.384, 0.524],
+ "values": [
+ 0.5205,
+ 0.6635,
+ 0.49,
+ 0.454,
+ 0.348,
+ 0.898,
+ 0.246,
+ 0.141,
+ 0.384,
+ 0.524
+ ],
"name": "Status_String[Other]",
"type": "Double"
},
{
- "values": [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+ "values": [
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0
+ ],
"name": "Status_String[Unknown]",
"type": "Double"
},
{
- "values": [ 0.203, 0.141, 0.268, 0.398, 0.402, 0.047, 0.1245, 0.75, 0.206, 0.2635],
+ "values": [
+ 0.203,
+ 0.141,
+ 0.268,
+ 0.398,
+ 0.402,
+ 0.047,
+ 0.1245,
+ 0.75,
+ 0.206,
+ 0.2635
+ ],
"name": "Status_Long[Good]",
"type": "Double"
},
{
- "values": [ 0.266, 0.1955, 0.242, 0.148, 0.25, 0.055, 0.6295, 0.109, 0.41, 0.2125],
+ "values": [
+ 0.266,
+ 0.1955,
+ 0.242,
+ 0.148,
+ 0.25,
+ 0.055,
+ 0.6295,
+ 0.109,
+ 0.41,
+ 0.2125
+ ],
"name": "Status_Long[Bad]",
"type": "Double"
},
{
- "values": [ 0.5205, 0.6635, 0.49, 0.454, 0.348, 0.898, 0.246, 0.141, 0.384, 0.524],
+ "values": [
+ 0.5205,
+ 0.6635,
+ 0.49,
+ 0.454,
+ 0.348,
+ 0.898,
+ 0.246,
+ 0.141,
+ 0.384,
+ 0.524
+ ],
"name": "Status_Long[Other]",
"type": "Double"
},
{
- "values": [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+ "values": [
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0
+ ],
"name": "Status_Long[Unknown]",
"type": "Double"
}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalVariable.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalVariable.json
index 7d37d0d6d3af..3da48c7f188f 100644
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalVariable.json
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalVariable.json
@@ -9,94 +9,224 @@
"from": "2019-10-10T23:42:00.000Z",
"to": "2019-10-10T23:42:20.000Z"
},
- "timeSeriesId": [ "Sensor_58" ],
+ "timeSeriesId": [
+ "Sensor_58"
+ ],
"interval": "PT2S",
"inlineVariables": {
"Status_String": {
"kind": "categorical",
- "value": { "tsx": "$event.[Status].String" },
+ "value": {
+ "tsx": "$event.[Status].String"
+ },
"categories": [
{
"label": "Good",
- "values": [ "Good", "Very Good", "Excellent" ]
+ "values": [
+ "Good",
+ "Very Good",
+ "Excellent"
+ ]
},
{
"label": "Bad",
- "values": [ "Bad", "OK" ]
+ "values": [
+ "Bad",
+ "OK"
+ ]
},
{
"label": "Other",
- "values": [ "Other" ]
+ "values": [
+ "Other"
+ ]
}
],
- "defaultCategory": { "label": "Unknown" }
+ "defaultCategory": {
+ "label": "Unknown"
+ }
},
"Status_Long": {
"kind": "categorical",
- "value": { "tsx": "tolong($event.[Status].Double)" },
+ "value": {
+ "tsx": "tolong($event.[Status].Double)"
+ },
"categories": [
{
"label": "Good",
- "values": [ 0, 1, 2 ]
+ "values": [
+ 0,
+ 1,
+ 2
+ ]
},
{
"label": "Bad",
- "values": [ 3, 4 ]
+ "values": [
+ 3,
+ 4
+ ]
},
{
"label": "Other",
- "values": [ 5 ]
+ "values": [
+ 5
+ ]
}
],
- "defaultCategory": { "label": "Unknown" }
+ "defaultCategory": {
+ "label": "Unknown"
+ }
}
},
- "projectedVariables": [ "Status_String", "Status_Long" ]
+ "projectedVariables": [
+ "Status_String",
+ "Status_Long"
+ ]
}
}
},
"responses": {
"200": {
"body": {
- "timestamps": [ "2019-10-10T23:42:00Z", "2019-10-10T23:42:02Z", "2019-10-10T23:42:04Z", "2019-10-10T23:42:06Z", "2019-10-10T23:42:08Z", "2019-10-10T23:42:10Z", "2019-10-10T23:42:12Z", "2019-10-10T23:42:14Z", "2019-10-10T23:42:16Z", "2019-10-10T23:42:18Z" ],
+ "timestamps": [
+ "2019-10-10T23:42:00Z",
+ "2019-10-10T23:42:02Z",
+ "2019-10-10T23:42:04Z",
+ "2019-10-10T23:42:06Z",
+ "2019-10-10T23:42:08Z",
+ "2019-10-10T23:42:10Z",
+ "2019-10-10T23:42:12Z",
+ "2019-10-10T23:42:14Z",
+ "2019-10-10T23:42:16Z",
+ "2019-10-10T23:42:18Z"
+ ],
"properties": [
{
- "values": [ 5, 8, 4, 6, 9, 8, 3, 6, 5, 8 ],
+ "values": [
+ 5,
+ 8,
+ 4,
+ 6,
+ 9,
+ 8,
+ 3,
+ 6,
+ 5,
+ 8
+ ],
"name": "Status_String[Good]",
"type": "Long"
},
{
- "values": [ 4, 3, 3, 5, 5, 3, 9, 7, 7, 7 ],
+ "values": [
+ 4,
+ 3,
+ 3,
+ 5,
+ 5,
+ 3,
+ 9,
+ 7,
+ 7,
+ 7
+ ],
"name": "Status_String[Bad]",
"type": "Long"
},
{
- "values": [ 11, 9, 13, 9, 6, 9, 8, 7, 8, 5 ],
+ "values": [
+ 11,
+ 9,
+ 13,
+ 9,
+ 6,
+ 9,
+ 8,
+ 7,
+ 8,
+ 5
+ ],
"name": "Status_String[Other]",
"type": "Long"
},
{
- "values": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
+ "values": [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0
+ ],
"name": "Status_String[Unknown]",
"type": "Long"
},
{
- "values": [ 5, 8, 4, 6, 9, 8, 3, 6, 5, 8 ],
+ "values": [
+ 5,
+ 8,
+ 4,
+ 6,
+ 9,
+ 8,
+ 3,
+ 6,
+ 5,
+ 8
+ ],
"name": "Status_Long[Good]",
"type": "Long"
},
{
- "values": [ 4, 3, 3, 5, 5, 3, 9, 7, 7, 7 ],
+ "values": [
+ 4,
+ 3,
+ 3,
+ 5,
+ 5,
+ 3,
+ 9,
+ 7,
+ 7,
+ 7
+ ],
"name": "Status_Long[Bad]",
"type": "Long"
},
{
- "values": [ 11, 9, 13, 9, 6, 9, 8, 7, 8, 5 ],
+ "values": [
+ 11,
+ 9,
+ 13,
+ 9,
+ 6,
+ 9,
+ 8,
+ 7,
+ 8,
+ 5
+ ],
"name": "Status_Long[Other]",
"type": "Long"
},
{
- "values": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ],
+ "values": [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0
+ ],
"name": "Status_Long[Unknown]",
"type": "Long"
}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreAvailabilityGet.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreAvailabilityGet.json
index df5dc1e450cc..fab7a099df2f 100644
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreAvailabilityGet.json
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreAvailabilityGet.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "storeType": "warmstore",
+ "storeType": "warmstore",
"environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
"clientRequestId": "A72703F6-C0B1-49EF-854A-59F1994F54E7",
"clientSessionId": "AlertCalculation_W7"
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreEventSchemaGet.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreEventSchemaGet.json
index 3224057c5d35..391a7637b12d 100644
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreEventSchemaGet.json
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreEventSchemaGet.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "storeType": "warmstore",
+ "storeType": "warmstore",
"environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
"parameters": {
"searchSpan": {
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryAggregateSeriesPage.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryAggregateSeriesPage.json
index ec779d733858..88518303ad1d 100644
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryAggregateSeriesPage.json
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryAggregateSeriesPage.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "storeType": "warmstore",
+ "storeType": "warmstore",
"environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
"parameters": {
"aggregateSeries": {
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json
index 18913cca1d9f..e8bbd560e3b4 100644
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json
+++ b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json
@@ -51,7 +51,7 @@
"operationId": "Query_GetAvailability",
"description": "Returns the time range and distribution of event count over the event timestamp ($ts). This API can be used to provide landing experience of navigating to the environment.",
"x-ms-examples": {
- "AvailabilityGet":{
+ "AvailabilityGet": {
"$ref": "./examples/AvailabilityGet.json"
},
"ColdStoreAvailabilityGet": {
@@ -1396,7 +1396,7 @@
"values"
]
},
- "TimeSeriesDefaultCategory" : {
+ "TimeSeriesDefaultCategory": {
"description": "Represents the default category.",
"type": "object",
"properties": {
@@ -2480,13 +2480,13 @@
"type": "string",
"description": "Version of the API to be used with the client request. Currently supported version is \"2018-11-01-preview\"."
},
- "StoreType" : {
- "name" : "storeType",
- "in" : "query",
+ "StoreType": {
+ "name": "storeType",
+ "in": "query",
"required": false,
"type": "string",
"x-ms-parameter-location": "method",
- "description":"For the environments with warm store enabled, the query can be executed either on the 'WarmStore' or 'ColdStore'. This parameter in the query defines which store the query should be executed on. If not defined, the query will be executed on the cold store."
+ "description": "For the environments with warm store enabled, the query can be executed either on the 'WarmStore' or 'ColdStore'. This parameter in the query defines which store the query should be executed on. If not defined, the query will be executed on the cold store."
},
"EnvironmentFqdn": {
"name": "environmentFqdn",
@@ -2525,4 +2525,4 @@
"description": "Optional client session ID. Service records this value. Allows the service to trace a group of related operations across services, and allows the customer to contact support regarding a particular group of requests."
}
}
-}
\ No newline at end of file
+}