diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json deleted file mode 100644 index 6bdbfd715db4..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json +++ /dev/null @@ -1,289 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "ApplicationInsightsComponentLinkedStorageAccountsClient", - "description": "Azure Application Insights client for setting linked storage account.", - "version": "2020-03-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.insights/components/{resourceName}/linkedStorageAccounts/{storageType}": { - "get": { - "description": "Returns the current linked storage settings for an Application Insights component.", - "operationId": "ComponentLinkedStorageAccounts_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceNameParameter" - }, - { - "$ref": "#/parameters/StorageTypeParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "An Application Insights component linked storage accounts.", - "schema": { - "$ref": "#/definitions/ComponentLinkedStorageAccounts" - } - } - }, - "x-ms-examples": { - "ComponentLinkedStorageAccountsGet": { - "$ref": "./examples/ComponentLinkedStorageAccountsGet.json" - } - } - }, - "put": { - "description": "Replace current linked storage account for an Application Insights component.", - "operationId": "ComponentLinkedStorageAccounts_CreateAndUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceNameParameter" - }, - { - "$ref": "#/parameters/StorageTypeParameter" - }, - { - "name": "LinkedStorageAccountsProperties", - "description": "Properties that need to be specified to update linked storage accounts for an Application Insights component.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ComponentLinkedStorageAccounts" - } - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Successful request when updating linked storage accounts for an Application Insights component. The updated linked storage account is returned.", - "schema": { - "$ref": "#/definitions/ComponentLinkedStorageAccounts" - } - } - }, - "x-ms-examples": { - "ComponentLinkedStorageAccountsCreateAndUpdate": { - "$ref": "./examples/ComponentLinkedStorageAccountsCreateAndUpdate.json" - } - } - }, - "patch": { - "description": "Update linked storage accounts for an Application Insights component.", - "operationId": "ComponentLinkedStorageAccounts_Update", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceNameParameter" - }, - { - "$ref": "#/parameters/StorageTypeParameter" - }, - { - "name": "LinkedStorageAccountsProperties", - "description": "Properties that need to be specified to update a linked storage accounts for an Application Insights component.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ComponentLinkedStorageAccountsPatch" - } - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Successful request when updating linked storage accounts for an Application Insights component. The updated linked storage account is returned.", - "schema": { - "$ref": "#/definitions/ComponentLinkedStorageAccounts" - } - } - }, - "x-ms-examples": { - "ComponentLinkedStorageAccountsUpdate": { - "$ref": "./examples/ComponentLinkedStorageAccountsUpdate.json" - } - } - }, - "delete": { - "description": "Delete linked storage accounts for an Application Insights component.", - "operationId": "ComponentLinkedStorageAccounts_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceNameParameter" - }, - { - "$ref": "#/parameters/StorageTypeParameter" - } - ], - "responses": { - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Successful request when deleting linked storage accounts for an Application Insights component." - }, - "204": { - "description": "Successful request when deleting linked storage accounts for an Application Insights component." - } - }, - "x-ms-examples": { - "ComponentLinkedStorageAccountsDelete": { - "$ref": "./examples/ComponentLinkedStorageAccountsDelete.json" - } - } - } - } - }, - "definitions": { - "ErrorResponse": { - "description": "Describe the format of an Error response.", - "type": "object", - "properties": { - "code": { - "description": "Error code", - "type": "string" - }, - "message": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } - } - }, - "ComponentLinkedStorageAccounts": { - "description": "An Application Insights component linked storage accounts", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/LinkedStorageAccountsProperties", - "description": "The properties of the linked storage accounts.", - "x-ms-client-flatten": true - } - } - }, - "ComponentLinkedStorageAccountsPatch": { - "description": "An Application Insights component linked storage accounts patch", - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/LinkedStorageAccountsProperties", - "description": "The properties of the linked storage accounts.", - "x-ms-client-flatten": true - } - } - }, - "LinkedStorageAccountsProperties": { - "type": "object", - "description": "An Application Insights component linked storage account", - "properties": { - "linkedStorageAccount": { - "type": "string", - "description": "Linked storage account resource ID" - } - } - } - }, - "parameters": { - "ResourceNameParameter": { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Application Insights component resource.", - "x-ms-parameter-location": "method" - }, - "StorageTypeParameter": { - "name": "storageType", - "in": "path", - "required": true, - "type": "string", - "description": "The type of the Application Insights component linked storage account.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsCreateAndUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsCreateAndUpdate.json deleted file mode 100644 index b7b464c0f018..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsCreateAndUpdate.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "api-version": "2020-03-01-preview", - "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4918", - "resourceGroupName": "someResourceGroupName", - "resourceName": "myComponent", - "storageType": "serviceprofiler", - "LinkedStorageAccountsProperties": { - "properties": { - "linkedStorageAccount": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/Microsoft.Storage/storageAccounts/storageaccountname" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupNameproviders/microsoft.insights/components/myComponent/linkedStorageAccounts/serviceprofiler", - "name": "serviceprofile", - "type": "microsoft.insights/components/linkedStorageAccounts", - "properties": { - "linkedStorageAccount": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/Microsoft.Storage/storageAccounts/storageaccountname" - } - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsDelete.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsDelete.json deleted file mode 100644 index 55cba7ebe2a9..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2020-03-01-preview", - "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4918", - "resourceGroupName": "someResourceGroupName", - "resourceName": "myComponent", - "storageType": "serviceprofiler" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsGet.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsGet.json deleted file mode 100644 index 6f36db8d5000..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsGet.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "api-version": "2020-03-01-preview", - "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4918", - "resourceGroupName": "someResourceGroupName", - "resourceName": "myComponent", - "storageType": "serviceprofiler" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/microsoft.insights/components/myComponent/linkedStorageAccounts/serviceprofiler", - "name": "serviceprofile", - "type": "microsoft.insights/components/linkedStorageAccounts", - "properties": { - "linkedStorageAccount": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/Microsoft.Storage/storageAccounts/storageaccountname" - } - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsUpdate.json b/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsUpdate.json deleted file mode 100644 index 4b73bb4c01da..000000000000 --- a/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-03-01-preview/examples/ComponentLinkedStorageAccountsUpdate.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "api-version": "2020-03-01-preview", - "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4918", - "resourceGroupName": "someResourceGroupName", - "resourceName": "myComponent", - "storageType": "serviceprofiler", - "LinkedStorageAccountsProperties": { - "properties": { - "linkedStorageAccount": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/Microsoft.Storage/storageAccounts/storageaccountname" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/microsoft.insights/components/myComponent/linkedStorageAccounts/serviceprofiler", - "name": "serviceprofile", - "type": "microsoft.insights/components/linkedStorageAccounts", - "properties": { - "linkedStorageAccount": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4918/resourceGroups/someResourceGroupName/providers/Microsoft.Storage/storageAccounts/storageaccountname" - } - } - } - } -} diff --git a/specification/applicationinsights/resource-manager/readme.cli.md b/specification/applicationinsights/resource-manager/readme.cli.md deleted file mode 100644 index 2a960a54e8f3..000000000000 --- a/specification/applicationinsights/resource-manager/readme.cli.md +++ /dev/null @@ -1,44 +0,0 @@ - -# Az.Aks -This directory contains the Cli common model for the Aks service. - -> Metadata - -``` yaml -# Migrated from Powershell's readme -cli: - naming: - cli: - glossary: - - 'insights' - cli-directive: - - select: 'operation' - where: - operationGroup: 'components' - operation: '^(delete|purge|get_purge_status)$' - removed: true - - select: 'operation' - where: - operationGroup: 'API_keys' - operation: 'create|delete' - removed: true - - select: 'operation' - where: - operationGorup: 'components' - operation: 'update_tags' - removed: true - - select: 'operationGroup' - where: - operationGroup: 'components' - name: 'app_insights' - - select: 'operation' - where: - operationGroup: 'components' - operation: 'get|create_or_update' - hidden: true - - select: 'operation' - where: - operatoinGroup: 'API_keys' - operation: 'get' - hidden: true -``` \ No newline at end of file diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoAttachedDatabaseConfigurationsCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoAttachedDatabaseConfigurationsCreateOrUpdate.json deleted file mode 100644 index 032ec96f12a0..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoAttachedDatabaseConfigurationsCreateOrUpdate.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1", - "api-version": "2020-02-15", - "parameters": { - "location": "westus", - "properties": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", - "databaseName": "db1", - "defaultPrincipalsModificationKind": "Union" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1", - "name": "KustoClusterRPTest4/attachedDatabaseConfigurations1", - "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", - "location": "westus", - "properties": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", - "databaseName": "db1", - "defaultPrincipalsModificationKind": "Union", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1", - "name": "KustoClusterRPTest4/attachedDatabaseConfigurations1", - "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", - "location": "westus", - "properties": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", - "databaseName": "db1", - "defaultPrincipalsModificationKind": "Union", - "provisioningState": "Creating" - } - } - }, - "202": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1", - "name": "KustoClusterRPTest4/attachedDatabaseConfigurations1", - "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", - "location": "westus", - "properties": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", - "databaseName": "db1", - "defaultPrincipalsModificationKind": "Union", - "provisioningState": "Creating" - } - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoAttachedDatabaseConfigurationsDelete.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoAttachedDatabaseConfigurationsDelete.json deleted file mode 100644 index b75e864846b3..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoAttachedDatabaseConfigurationsDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1", - "api-version": "2020-02-15" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoAttachedDatabaseConfigurationsGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoAttachedDatabaseConfigurationsGet.json deleted file mode 100644 index 5d0b38669a54..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoAttachedDatabaseConfigurationsGet.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1", - "api-version": "2020-02-15" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/attachedDatabaseConfigurations1", - "name": "KustoClusterRPTest4/attachedDatabaseConfigurations1", - "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", - "location": "westus", - "properties": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "databaseName": "*", - "defaultPrincipalsModificationKind": "Union", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoAttachedDatabaseConfigurationsListByCluster.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoAttachedDatabaseConfigurationsListByCluster.json deleted file mode 100644 index 1640a6fb48eb..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoAttachedDatabaseConfigurationsListByCluster.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "api-version": "2020-02-15" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", - "location": "westus", - "properties": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", - "databaseName": "db1", - "defaultPrincipalsModificationKind": "Union", - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase9", - "name": "KustoClusterRPTest4/KustoDatabase9", - "type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations", - "location": "westus", - "properties": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader", - "databaseName": "db1", - "defaultPrincipalsModificationKind": "Union", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterAddLanguageExtensions.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterAddLanguageExtensions.json deleted file mode 100644 index f7b438b3704e..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterAddLanguageExtensions.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "api-version": "2020-02-15", - "languageExtensionsToAdd": { - "value": [ - { - "languageExtensionName": "PYTHON" - }, - { - "languageExtensionName": "R" - } - ] - } - }, - "responses": { - "200": {}, - "202": {} - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterDetachFollowerDatabases.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterDetachFollowerDatabases.json deleted file mode 100644 index 8ee2863113ef..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterDetachFollowerDatabases.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "api-version": "2020-02-15", - "followerDatabaseToRemove": { - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/leader4", - "attachedDatabaseConfigurationName": "myAttachedDatabaseConfiguration" - } - }, - "responses": { - "200": {}, - "202": {} - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterListFollowerDatabases.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterListFollowerDatabases.json deleted file mode 100644 index 428916d153c2..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterListFollowerDatabases.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "api-version": "2020-02-15" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "attachedDatabaseConfigurationName": "attachedDbConfiguration", - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/follower1", - "databaseName": "*" - }, - { - "attachedDatabaseConfigurationName": "attachedDbConfiguration2", - "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/follower4", - "databaseName": "db1" - } - ] - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterListLanguageExtensions.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterListLanguageExtensions.json deleted file mode 100644 index 1c7920445825..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterListLanguageExtensions.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "api-version": "2020-02-15" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "languageExtensionName": "PYTHON" - }, - { - "languageExtensionName": "R" - } - ] - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterPrincipalAssignmentsCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterPrincipalAssignmentsCheckNameAvailability.json deleted file mode 100644 index 09b10f72e619..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterPrincipalAssignmentsCheckNameAvailability.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "principalAssignmentName": { - "name": "kustoprincipal1", - "type": "Microsoft.Kusto/clusters/principalAssignments" - }, - "api-version": "2020-02-15" - }, - "responses": { - "200": { - "body": { - "name": "kustoprincipal1", - "nameAvailable": false, - "message": "Name 'kustoprincipal1' is already taken. Please specify a different name" - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterPrincipalAssignmentsCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterPrincipalAssignmentsCreateOrUpdate.json deleted file mode 100644 index f4124a9b8721..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterPrincipalAssignmentsCreateOrUpdate.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "principalAssignmentName": "kustoprincipal1", - "api-version": "2020-02-15", - "parameters": { - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterPrincipalAssignmentsDelete.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterPrincipalAssignmentsDelete.json deleted file mode 100644 index b2e069bd900a..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterPrincipalAssignmentsDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "principalAssignmentName": "kustoprincipal1", - "api-version": "2020-02-15" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterPrincipalAssignmentsGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterPrincipalAssignmentsGet.json deleted file mode 100644 index e77e66be82db..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterPrincipalAssignmentsGet.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "principalAssignmentName": "kustoprincipal1", - "api-version": "2020-02-15" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterPrincipalAssignmentsList.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterPrincipalAssignmentsList.json deleted file mode 100644 index 46ceefc8b90e..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterPrincipalAssignmentsList.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "Kustodatabase8", - "api-version": "2020-02-15" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal2", - "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterRemoveLanguageExtensions.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterRemoveLanguageExtensions.json deleted file mode 100644 index da6f93dd0dc2..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClusterRemoveLanguageExtensions.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "api-version": "2020-02-15", - "languageExtensionsToRemove": { - "value": [ - { - "languageExtensionName": "PYTHON" - }, - { - "languageExtensionName": "R" - } - ] - } - }, - "responses": { - "200": {}, - "202": {} - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersCheckNameAvailability.json deleted file mode 100644 index c3a14ad41382..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersCheckNameAvailability.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "api-version": "2020-02-15", - "location": "wus", - "clusterName": { - "name": "kuskusprod", - "type": "Microsoft.Kusto/clusters" - } - }, - "responses": { - "200": { - "body": { - "name": "kuskusprod", - "nameAvailable": false, - "message": "Name 'kuskusprod' is already taken. Please specify a different name" - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersCreateOrUpdate.json deleted file mode 100644 index 0ddcdb588603..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersCreateOrUpdate.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "api-version": "2020-02-15", - "parameters": { - "location": "westus", - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - }, - "identity": { - "type": "SystemAssigned" - }, - "properties": { - "enableStreamingIngest": true, - "enablePurge": true, - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "enableStreamingIngest": true, - "enablePurge": true, - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - } - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - }, - "identity": { - "type": "SystemAssigned", - "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", - "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", - "userAssignedIdentities": {} - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "enableStreamingIngest": true, - "enablePurge": true, - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - } - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - }, - "identity": { - "type": "SystemAssigned", - "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", - "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", - "userAssignedIdentities": {} - } - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersDelete.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersDelete.json deleted file mode 100644 index 498d485fdf7b..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "api-version": "2020-02-15" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersDiagnoseVirtualNetwork.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersDiagnoseVirtualNetwork.json deleted file mode 100644 index c46672779ffd..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersDiagnoseVirtualNetwork.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "api-version": "2020-02-15" - }, - "responses": { - "200": { - "body": { - "findings": [ - "Outbound dependency 'Storage:443' might not be satisfied (Outbound)" - ] - } - }, - "202": {} - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersGet.json deleted file mode 100644 index 3dd856deb200..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersGet.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "api-version": "2020-02-15" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "enableStreamingIngest": true, - "enablePurge": false, - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - } - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - }, - "identity": { - "type": "SystemAssigned", - "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", - "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", - "userAssignedIdentities": {} - } - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersList.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersList.json deleted file mode 100644 index 77e787c18d18..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersList.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "api-version": "2020-02-15" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - } - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - } - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3", - "name": "KustoClusterRPTest3", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded" - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - } - } - ] - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersListByResourceGroup.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersListByResourceGroup.json deleted file mode 100644 index d568019b13ae..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersListByResourceGroup.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "api-version": "2020-02-15" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - } - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - } - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3", - "name": "KustoClusterRPTest3", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded" - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - } - } - ] - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersListResourceSkus.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersListResourceSkus.json deleted file mode 100644 index 5b93af3b7158..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersListResourceSkus.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "api-version": "2020-02-15" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "resourceType": "clusters", - "sku": { - "name": "Standard_D13_v2", - "tier": "Standard" - }, - "capacity": { - "minimum": 2, - "maximum": 100, - "default": 2, - "scaleType": "automatic" - } - }, - { - "resourceType": "clusters", - "sku": { - "name": "Standard_D14_v2", - "tier": "Standard" - }, - "capacity": { - "minimum": 2, - "maximum": 100, - "default": 2, - "scaleType": "automatic" - } - }, - { - "resourceType": "clusters", - "sku": { - "name": "Standard_L8s", - "tier": "Standard" - }, - "capacity": { - "minimum": 2, - "maximum": 100, - "default": 2, - "scaleType": "automatic" - } - }, - { - "resourceType": "clusters", - "sku": { - "name": "Standard_L16s", - "tier": "Standard" - }, - "capacity": { - "minimum": 2, - "maximum": 100, - "default": 2, - "scaleType": "automatic" - } - } - ] - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersListSkus.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersListSkus.json deleted file mode 100644 index 93104d1b236b..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersListSkus.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "api-version": "2020-02-15" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Standard_D13_v2", - "tier": "Standard", - "locations": [ - "West US", - "West Europe" - ], - "locationInfo": [ - { - "location": "West US", - "zones": [ - "1", - "2", - "3" - ] - }, - { - "location": "West Europe", - "zones": [] - } - ] - }, - { - "name": "Standard_D14_v2", - "tier": "Standard", - "locations": [ - "West US", - "West Europe" - ], - "locationInfo": [ - { - "location": "West US", - "zones": [ - "1", - "2", - "3" - ] - }, - { - "location": "West Europe", - "zones": [] - } - ] - }, - { - "name": "L8", - "tier": "Standard", - "locations": [ - "West US", - "West Europe" - ], - "locationInfo": [ - { - "location": "West US", - "zones": [ - "1", - "2", - "3" - ] - }, - { - "location": "West Europe", - "zones": [] - } - ] - }, - { - "name": "L16", - "tier": "Standard", - "locations": [ - "West US", - "West Europe" - ], - "locationInfo": [ - { - "location": "West US", - "zones": [ - "1", - "2", - "3" - ] - }, - { - "location": "West Europe", - "zones": [] - } - ] - } - ] - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersStart.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersStart.json deleted file mode 100644 index 89c9da5f4b5e..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersStart.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "api-version": "2020-02-15" - }, - "responses": { - "200": {}, - "202": {} - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersStop.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersStop.json deleted file mode 100644 index 89c9da5f4b5e..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersStop.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "api-version": "2020-02-15" - }, - "responses": { - "200": {}, - "202": {} - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersUpdate.json deleted file mode 100644 index 2c870ec034fd..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoClustersUpdate.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "api-version": "2020-02-15", - "parameters": { - "location": "westus" - }, - "identity": { - "type": "SystemAssigned" - }, - "properties": { - "enableStreamingIngest": true, - "enablePurge": true, - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "enableStreamingIngest": true, - "enablePurge": true, - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - } - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - }, - "identity": { - "type": "SystemAssigned", - "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", - "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", - "userAssignedIdentities": {} - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "enableStreamingIngest": true, - "enablePurge": true, - "keyVaultProperties": { - "keyVaultUri": "https://dummy.keyvault.com", - "keyName": "keyName", - "keyVersion": "keyVersion" - } - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - }, - "identity": { - "type": "SystemAssigned", - "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", - "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", - "userAssignedIdentities": {} - } - } - }, - "202": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4", - "name": "KustoClusterRPTest4", - "type": "Microsoft.Kusto/Clusters", - "location": "westus", - "properties": { - "provisioningState": "Succeeded", - "enableStreamingIngest": true, - "enablePurge": true - }, - "sku": { - "name": "Standard_L8s", - "capacity": 2, - "tier": "Standard" - }, - "identity": { - "type": "SystemAssigned", - "tenantId": "b932977f-6277-4ab7-a2cd-5bd21f07aaf4", - "principalId": "faabad1f-4876-463c-af9d-6ba2d2d2394c", - "userAssignedIdentities": {} - } - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDataConnectionValidation.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDataConnectionValidation.json deleted file mode 100644 index 1465771cab96..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDataConnectionValidation.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-02-15", - "parameters": { - "dataConnectionName": "DataConnections8", - "properties": { - "kind": "EventHub", - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - }, - "responses": { - "200": { - "body": [ - { - "errorMessage": "event hub namespace does not exist" - }, - { - "errorMessage": "database does not exist" - } - ] - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDataConnectionsCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDataConnectionsCheckNameAvailability.json deleted file mode 100644 index 020b25b0fd50..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDataConnectionsCheckNameAvailability.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "api-version": "2020-02-15", - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoProd", - "databaseName": "KustoDatabase8", - "dataConnectionName": { - "name": "DataConnections8", - "type": "Microsoft.Kusto/clusters/databases/dataConnections" - } - }, - "responses": { - "200": { - "body": { - "name": "DataConnections8", - "nameAvailable": false, - "message": "Name 'DataConnections8' is already taken. Please specify a different name.", - "reason": "AlreadyExists" - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDataConnectionsCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDataConnectionsCreateOrUpdate.json deleted file mode 100644 index 0e9aec30c518..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDataConnectionsCreateOrUpdate.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-02-15", - "dataConnectionName": "DataConnections8", - "parameters": { - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", - "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", - "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - }, - "202": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", - "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDataConnectionsDelete.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDataConnectionsDelete.json deleted file mode 100644 index d12d685ccafa..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDataConnectionsDelete.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-02-15", - "dataConnectionName": "kustoeventhubconnection1" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDataConnectionsGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDataConnectionsGet.json deleted file mode 100644 index b32b1cefeea8..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDataConnectionsGet.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-02-15", - "dataConnectionName": "DataConnections8" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", - "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDataConnectionsListByDatabase.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDataConnectionsListByDatabase.json deleted file mode 100644 index a8e786180da4..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDataConnectionsListByDatabase.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-02-15" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/KustoDataConnection8", - "name": "KustoClusterRPTest4/KustoDatabase8/KustoDataConnection8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9/DataConnections/KustoDataConnection9", - "name": "KustoClusterRPTest4/KustoDatabase9/KustoDataConnection9", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns2/eventhubs/eventhubTest2", - "consumerGroup": "testConsumerGroup2" - } - } - ] - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDataConnectionsUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDataConnectionsUpdate.json deleted file mode 100644 index 0e9aec30c518..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDataConnectionsUpdate.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-02-15", - "dataConnectionName": "DataConnections8", - "parameters": { - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", - "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", - "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - }, - "202": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8", - "name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8", - "type": "Microsoft.Kusto/Clusters/Databases/DataConnections", - "location": "westus", - "kind": "EventHub", - "properties": { - "eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1", - "consumerGroup": "testConsumerGroup1" - } - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabaseAddPrincipals.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabaseAddPrincipals.json deleted file mode 100644 index cdf63446194c..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabaseAddPrincipals.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "databaseName": "databaseName1", - "api-version": "2020-02-15", - "databasePrincipalsToAdd": { - "value": [ - { - "name": "Some User", - "role": "Admin", - "type": "User", - "fqn": "aaduser=some_guid", - "email": "user@microsoft.com", - "appId": "" - }, - { - "name": "Kusto", - "role": "Viewer", - "type": "Group", - "fqn": "aadgroup=some_guid", - "email": "kusto@microsoft.com", - "appId": "" - }, - { - "name": "SomeApp", - "role": "Admin", - "type": "App", - "fqn": "aadapp=some_guid_app_id", - "email": "", - "appId": "some_guid_app_id" - } - ] - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Some User", - "role": "Admin", - "type": "User", - "fqn": "aaduser=some_guid", - "email": "user@microsoft.com", - "appId": "" - }, - { - "name": "Kusto", - "role": "Viewer", - "type": "Group", - "fqn": "aadgroup=some_guid", - "email": "kusto@microsoft.com", - "appId": "" - }, - { - "name": "SomeApp", - "role": "Admin", - "type": "App", - "fqn": "aadapp=some_guid_app_id", - "email": "", - "appId": "some_guid_app_id" - } - ] - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabaseListPrincipals.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabaseListPrincipals.json deleted file mode 100644 index 96330ed3a794..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabaseListPrincipals.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "databaseName": "databaseName1", - "api-version": "2020-02-15" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Some User", - "role": "Admin", - "type": "User", - "fqn": "aaduser=some_guid", - "email": "user@microsoft.com", - "appId": "" - }, - { - "name": "Kusto", - "role": "Viewer", - "type": "Group", - "fqn": "aadgroup=some_guid", - "email": "kusto@microsoft.com", - "appId": "" - }, - { - "name": "SomeApp", - "role": "Admin", - "type": "App", - "fqn": "aadapp=some_guid_app_id", - "email": "", - "appId": "some_guid_app_id" - } - ] - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasePrincipalAssignmentsCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasePrincipalAssignmentsCheckNameAvailability.json deleted file mode 100644 index 6c33147e40da..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasePrincipalAssignmentsCheckNameAvailability.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "Kustodatabase8", - "principalAssignmentName": { - "name": "kustoprincipal1", - "type": "Microsoft.Kusto/clusters/databases/principalAssignments" - }, - "api-version": "2020-02-15" - }, - "responses": { - "200": { - "body": { - "name": "kustoprincipal1", - "nameAvailable": false, - "message": "Name 'kustoprincipal1' is already taken. Please specify a different name" - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasePrincipalAssignmentsCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasePrincipalAssignmentsCreateOrUpdate.json deleted file mode 100644 index f31f3e85ab49..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasePrincipalAssignmentsCreateOrUpdate.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "Kustodatabase8", - "principalAssignmentName": "kustoprincipal1", - "api-version": "2020-02-15", - "parameters": { - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasePrincipalAssignmentsDelete.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasePrincipalAssignmentsDelete.json deleted file mode 100644 index a625d8427a78..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasePrincipalAssignmentsDelete.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "Kustodatabase8", - "principalAssignmentName": "kustoprincipal1", - "api-version": "2020-02-15" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasePrincipalAssignmentsGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasePrincipalAssignmentsGet.json deleted file mode 100644 index 725149ddf37f..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasePrincipalAssignmentsGet.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "Kustodatabase8", - "principalAssignmentName": "kustoprincipal1", - "api-version": "2020-02-15" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasePrincipalAssignmentsList.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasePrincipalAssignmentsList.json deleted file mode 100644 index 46ceefc8b90e..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasePrincipalAssignmentsList.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "kustoclusterrptest4", - "databaseName": "Kustodatabase8", - "api-version": "2020-02-15" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal1", - "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoclusterrptest4/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1", - "name": "kustoclusterrptest4/Kustodatabase8/kustoprincipal2", - "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments", - "properties": { - "role": "Admin", - "principalId": "87654321-1234-1234-1234-123456789123", - "principalType": "App", - "tenantId": "12345678-1234-1234-1234-123456789123", - "tenantName": "tenantName", - "principalName": "TestApp", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabaseRemovePrincipals.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabaseRemovePrincipals.json deleted file mode 100644 index 32bbf1c9fa1c..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabaseRemovePrincipals.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "databaseName": "databaseName1", - "api-version": "2020-02-15", - "databasePrincipalsToRemove": { - "value": [ - { - "name": "Some User", - "role": "Admin", - "type": "User", - "fqn": "aaduser=some_guid", - "email": "user@microsoft.com", - "appId": "" - }, - { - "name": "Kusto", - "role": "Viewer", - "type": "Group", - "fqn": "aadgroup=some_guid", - "email": "kusto@microsoft.com", - "appId": "" - }, - { - "name": "SomeApp", - "role": "Admin", - "type": "App", - "fqn": "aadapp=some_guid_app_id", - "email": "", - "appId": "some_guid_app_id" - } - ] - } - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Some User", - "role": "Admin", - "type": "User", - "fqn": "aaduser=some_guid", - "email": "user@microsoft.com", - "appId": "" - }, - { - "name": "Kusto", - "role": "Viewer", - "type": "Group", - "fqn": "aadgroup=some_guid", - "email": "kusto@microsoft.com", - "appId": "" - }, - { - "name": "SomeApp", - "role": "Admin", - "type": "App", - "fqn": "aadapp=some_guid_app_id", - "email": "", - "appId": "some_guid_app_id" - } - ] - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasesCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasesCheckNameAvailability.json deleted file mode 100644 index b0934aa707e7..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasesCheckNameAvailability.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "api-version": "2020-02-15", - "resourceGroupName": "kustorptest", - "clusterName": "kustoProd", - "resourceName": { - "name": "kustoresourcename1", - "type": "Microsoft.Kusto/clusters/databases" - } - }, - "responses": { - "200": { - "body": { - "name": "kustoresourcename1", - "nameAvailable": false, - "message": "Name 'kuskus' is already taken. Please specify a different name" - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasesCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasesCreateOrUpdate.json deleted file mode 100644 index bb7bf8f29fc1..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasesCreateOrUpdate.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-02-15", - "parameters": { - "location": "westus", - "properties": { - "softDeletePeriod": "P1D" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "kind": "ReadWrite", - "location": "westus", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "location": "westus", - "kind": "ReadWrite", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - }, - "202": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "location": "westus", - "kind": "ReadWrite", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasesDelete.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasesDelete.json deleted file mode 100644 index 34a4d8cddd72..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasesDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-02-15" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasesGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasesGet.json deleted file mode 100644 index 9ceceb81e750..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasesGet.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-02-15" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "kind": "ReadWrite", - "location": "westus", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasesListByCluster.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasesListByCluster.json deleted file mode 100644 index 3876612de72d..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasesListByCluster.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "api-version": "2020-02-15" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "location": "westus", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9", - "name": "KustoClusterRPTest4/KustoDatabase9", - "type": "Microsoft.Kusto/Clusters/Databases", - "location": "westus", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasesUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasesUpdate.json deleted file mode 100644 index e37bddeba706..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoDatabasesUpdate.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-123456789098", - "resourceGroupName": "kustorptest", - "clusterName": "KustoClusterRPTest4", - "databaseName": "KustoDatabase8", - "api-version": "2020-02-15", - "parameters": { - "properties": { - "softDeletePeriod": "P1D" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "kind": "ReadWrite", - "location": "westus", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "kind": "ReadWrite", - "location": "westus", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - }, - "202": { - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8", - "name": "KustoClusterRPTest4/KustoDatabase8", - "type": "Microsoft.Kusto/Clusters/Databases", - "location": "westus", - "kind": "ReadWrite", - "properties": { - "softDeletePeriod": "P1D", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoOperationsList.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoOperationsList.json deleted file mode 100644 index ad5bf9d072d8..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/examples/KustoOperationsList.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "api-version": "2020-02-15" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "operationName", - "display": { - "provider": "providerName", - "resource": "resourceName", - "operation": "operationName", - "description": "operation description" - } - } - ] - } - } - } -} diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/kusto.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/kusto.json deleted file mode 100644 index 9f6452aaae4a..000000000000 --- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2020-02-15/kusto.json +++ /dev/null @@ -1,4238 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "KustoManagementClient", - "version": "2020-02-15" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}": { - "get": { - "tags": [ - "Clusters" - ], - "operationId": "Clusters_Get", - "x-ms-examples": { - "KustoClustersGet": { - "$ref": "./examples/KustoClustersGet.json" - } - }, - "description": "Gets a Kusto cluster.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The Kusto cluster.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "Clusters" - ], - "operationId": "Clusters_CreateOrUpdate", - "x-ms-examples": { - "KustoClustersCreateOrUpdate": { - "$ref": "./examples/KustoClustersCreateOrUpdate.json" - } - }, - "x-ms-long-running-operation": true, - "description": "Create or update a Kusto cluster.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Cluster" - }, - "description": "The Kusto cluster parameters supplied to the CreateOrUpdate operation." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully updated the Cluster.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "201": { - "description": "Successfully created the cluster.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "Clusters" - ], - "operationId": "Clusters_Update", - "x-ms-examples": { - "KustoClustersUpdate": { - "$ref": "./examples/KustoClustersUpdate.json" - } - }, - "x-ms-long-running-operation": true, - "description": "Update a Kusto cluster.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterUpdate" - }, - "description": "The Kusto cluster parameters supplied to the Update operation." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully updated the Cluster.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "201": { - "description": "Successfully updated the cluster.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "202": { - "description": "Successfully updated the cluster.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "Clusters" - ], - "operationId": "Clusters_Delete", - "x-ms-examples": { - "KustoClustersDelete": { - "$ref": "./examples/KustoClustersDelete.json" - } - }, - "x-ms-long-running-operation": true, - "description": "Deletes a Kusto cluster.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK -- cluster deleted successfully." - }, - "202": { - "description": "Accepted the delete cluster request." - }, - "204": { - "description": "NoContent -- cluster does not exist in the subscription." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/stop": { - "post": { - "tags": [ - "Clusters" - ], - "operationId": "Clusters_Stop", - "x-ms-examples": { - "KustoClustersStop": { - "$ref": "./examples/KustoClustersStop.json" - } - }, - "x-ms-long-running-operation": true, - "description": "Stops a Kusto cluster.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/start": { - "post": { - "tags": [ - "Clusters" - ], - "operationId": "Clusters_Start", - "x-ms-examples": { - "KustoClustersStart": { - "$ref": "./examples/KustoClustersStart.json" - } - }, - "x-ms-long-running-operation": true, - "description": "Starts a Kusto cluster.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "202": { - "description": "Accepted." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/checkPrincipalAssignmentNameAvailability": { - "post": { - "tags": [ - "ClusterPrincipalAssignments" - ], - "operationId": "ClusterPrincipalAssignments_CheckNameAvailability", - "x-ms-examples": { - "KustoClusterPrincipalAssignmentsCheckNameAvailability": { - "$ref": "./examples/KustoClusterPrincipalAssignmentsCheckNameAvailability.json" - } - }, - "description": "Checks that the principal assignment name is valid and is not already in use.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "name": "principalAssignmentName", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterPrincipalAssignmentCheckNameRequest" - }, - "description": "The name of the principal assignment." - } - ], - "responses": { - "200": { - "description": "OK -- Operation to check the kusto resource name availability was successful.", - "schema": { - "$ref": "#/definitions/CheckNameResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments/{principalAssignmentName}": { - "get": { - "tags": [ - "ClusterPrincipalAssignments" - ], - "operationId": "ClusterPrincipalAssignments_Get", - "x-ms-examples": { - "KustoClusterPrincipalAssignmentsGet": { - "$ref": "./examples/KustoClusterPrincipalAssignmentsGet.json" - } - }, - "description": "Gets a Kusto cluster principalAssignment.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/PrincipalAssignmentNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The Kusto cluster principal assignment object.", - "schema": { - "$ref": "#/definitions/ClusterPrincipalAssignment" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "ClusterPrincipalAssignments" - ], - "operationId": "ClusterPrincipalAssignments_CreateOrUpdate", - "x-ms-examples": { - "KustoClusterPrincipalAssignmentsCreateOrUpdate": { - "$ref": "./examples/KustoClusterPrincipalAssignmentsCreateOrUpdate.json" - } - }, - "x-ms-long-running-operation": true, - "description": "Create a Kusto cluster principalAssignment.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/PrincipalAssignmentNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterPrincipalAssignment" - }, - "description": "The Kusto cluster principalAssignment's parameters supplied for the operation." - } - ], - "responses": { - "200": { - "description": "Successfully updated the PrincipalAssignment.", - "schema": { - "$ref": "#/definitions/ClusterPrincipalAssignment" - } - }, - "201": { - "description": "Successfully created the principalAssignment.", - "schema": { - "$ref": "#/definitions/ClusterPrincipalAssignment" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "ClusterPrincipalAssignments" - ], - "operationId": "ClusterPrincipalAssignments_Delete", - "x-ms-examples": { - "KustoClusterPrincipalAssignmentsDelete": { - "$ref": "./examples/KustoClusterPrincipalAssignmentsDelete.json" - } - }, - "x-ms-long-running-operation": true, - "description": "Deletes a Kusto cluster principalAssignment.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/PrincipalAssignmentNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK -- principalAssignments deleted successfully." - }, - "202": { - "description": "Accepted the delete principalAssignments request." - }, - "204": { - "description": "NoContent -- principalAssignments does not exist in the subscription." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments": { - "get": { - "tags": [ - "ClusterPrincipalAssignments" - ], - "operationId": "ClusterPrincipalAssignments_List", - "x-ms-examples": { - "KustoPrincipalAssignmentsList": { - "$ref": "./examples/KustoClusterPrincipalAssignmentsList.json" - } - }, - "description": "Lists all Kusto cluster principalAssignments.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/ClusterPrincipalAssignmentListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/listFollowerDatabases": { - "post": { - "tags": [ - "Clusters" - ], - "description": "Returns a list of databases that are owned by this cluster and were followed by another cluster.", - "operationId": "Clusters_ListFollowerDatabases", - "x-ms-examples": { - "KustoClusterListFollowerDatabases": { - "$ref": "./examples/KustoClusterListFollowerDatabases.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the list of followed databases.", - "schema": { - "$ref": "#/definitions/FollowerDatabaseListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/detachFollowerDatabases": { - "post": { - "tags": [ - "Clusters" - ], - "description": "Detaches all followers of a database owned by this cluster.", - "operationId": "Clusters_DetachFollowerDatabases", - "x-ms-examples": { - "KustoClusterDetachFollowerDatabases": { - "$ref": "./examples/KustoClusterDetachFollowerDatabases.json" - } - }, - "x-ms-long-running-operation": true, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "followerDatabaseToRemove", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/FollowerDatabaseDefinition" - }, - "description": "The follower databases properties to remove." - } - ], - "responses": { - "200": { - "description": "OK." - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/diagnoseVirtualNetwork": { - "post": { - "tags": [ - "Clusters" - ], - "description": "Diagnoses network connectivity status for external resources on which the service is dependent on.", - "operationId": "Clusters_DiagnoseVirtualNetwork", - "x-ms-examples": { - "KustoClusterDiagnoseVirtualNetwork": { - "$ref": "./examples/KustoClustersDiagnoseVirtualNetwork.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/DiagnoseVirtualNetworkResult" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters": { - "get": { - "tags": [ - "Clusters" - ], - "operationId": "Clusters_ListByResourceGroup", - "x-ms-examples": { - "KustoClustersListByResourceGroup": { - "$ref": "./examples/KustoClustersListByResourceGroup.json" - } - }, - "description": "Lists all Kusto clusters within a resource group.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/ClusterListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/clusters": { - "get": { - "tags": [ - "Clusters" - ], - "operationId": "Clusters_List", - "x-ms-examples": { - "KustoClustersList": { - "$ref": "./examples/KustoClustersList.json" - } - }, - "description": "Lists all Kusto clusters within a subscription.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/ClusterListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/skus": { - "get": { - "description": "Lists eligible SKUs for Kusto resource provider.", - "x-ms-examples": { - "KustoClustersListSkus": { - "$ref": "./examples/KustoClustersListSkus.json" - } - }, - "operationId": "Clusters_ListSkus", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/SkuDescriptionList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/locations/{location}/checkNameAvailability": { - "post": { - "tags": [ - "Clusters" - ], - "operationId": "Clusters_CheckNameAvailability", - "x-ms-examples": { - "KustoClustersCheckNameAvailability": { - "$ref": "./examples/KustoClustersCheckNameAvailability.json" - } - }, - "description": "Checks that the cluster name is valid and is not already in use.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "name": "location", - "in": "path", - "description": "Azure location.", - "required": true, - "type": "string" - }, - { - "name": "clusterName", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterCheckNameRequest" - }, - "description": "The name of the cluster." - } - ], - "responses": { - "200": { - "description": "OK -- Operation to check the kusto resource name availability was successful.", - "schema": { - "$ref": "#/definitions/CheckNameResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/checkNameAvailability": { - "post": { - "tags": [ - "Databases" - ], - "operationId": "Databases_CheckNameAvailability", - "x-ms-examples": { - "KustoDatabaseCheckNameAvailability": { - "$ref": "./examples/KustoDatabasesCheckNameAvailability.json" - } - }, - "description": "Checks that the database name is valid and is not already in use.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "name": "resourceName", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CheckNameRequest" - }, - "description": "The name of the resource." - } - ], - "responses": { - "200": { - "description": "OK -- Operation to check the kusto resource name availability was successful.", - "schema": { - "$ref": "#/definitions/CheckNameResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/skus": { - "get": { - "tags": [ - "Clusters" - ], - "operationId": "Clusters_ListSkusByResource", - "x-ms-examples": { - "KustoClustersListResourceSkus": { - "$ref": "./examples/KustoClustersListResourceSkus.json" - } - }, - "description": "Returns the SKUs available for the provided resource.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/ListResourceSkusResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases": { - "get": { - "tags": [ - "Databases" - ], - "description": "Returns the list of databases of the given Kusto cluster.", - "operationId": "Databases_ListByCluster", - "x-ms-examples": { - "KustoDatabasesListByCluster": { - "$ref": "./examples/KustoDatabasesListByCluster.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the list of databases.", - "schema": { - "$ref": "#/definitions/DatabaseListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}": { - "get": { - "tags": [ - "Databases" - ], - "description": "Returns a database.", - "operationId": "Databases_Get", - "x-ms-examples": { - "KustoDatabasesGet": { - "$ref": "./examples/KustoDatabasesGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the specified database.", - "schema": { - "$ref": "#/definitions/Database" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "Databases" - ], - "description": "Creates or updates a database.", - "operationId": "Databases_CreateOrUpdate", - "x-ms-examples": { - "KustoDatabasesCreateOrUpdate": { - "$ref": "./examples/KustoDatabasesCreateOrUpdate.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Database" - }, - "description": "The database parameters supplied to the CreateOrUpdate operation." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully updated the database.", - "schema": { - "$ref": "#/definitions/Database" - } - }, - "201": { - "description": "Successfully created the database.", - "schema": { - "$ref": "#/definitions/Database" - } - }, - "202": { - "description": "Accepted the create database request.", - "schema": { - "$ref": "#/definitions/Database" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "Databases" - ], - "description": "Updates a database.", - "operationId": "Databases_Update", - "x-ms-examples": { - "KustoDatabasesUpdate": { - "$ref": "./examples/KustoDatabasesUpdate.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Database" - }, - "description": "The database parameters supplied to the Update operation." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully updated the database.", - "schema": { - "$ref": "#/definitions/Database" - } - }, - "201": { - "description": "Successfully updated the database.", - "schema": { - "$ref": "#/definitions/Database" - } - }, - "202": { - "description": "Accepted the update database request.", - "schema": { - "$ref": "#/definitions/Database" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "Databases" - ], - "description": "Deletes the database with the given name.", - "operationId": "Databases_Delete", - "x-ms-examples": { - "KustoDatabasesDelete": { - "$ref": "./examples/KustoDatabasesDelete.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the database." - }, - "202": { - "description": "Accepted." - }, - "204": { - "description": "The specified database does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/checkPrincipalAssignmentNameAvailability": { - "post": { - "tags": [ - "DatabasePrincipalAssignments" - ], - "operationId": "DatabasePrincipalAssignments_CheckNameAvailability", - "x-ms-examples": { - "KustoDatabaseCheckNameAvailability": { - "$ref": "./examples/KustoDatabasePrincipalAssignmentsCheckNameAvailability.json" - } - }, - "description": "Checks that the database principal assignment is valid and is not already in use.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "name": "principalAssignmentName", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DatabasePrincipalAssignmentCheckNameRequest" - }, - "description": "The name of the resource." - } - ], - "responses": { - "200": { - "description": "OK -- Operation to check the kusto resource name availability was successful.", - "schema": { - "$ref": "#/definitions/CheckNameResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/principalAssignments/{principalAssignmentName}": { - "get": { - "tags": [ - "DatabasePrincipalAssignments" - ], - "operationId": "DatabasePrincipalAssignments_Get", - "x-ms-examples": { - "KustoDatabasePrincipalAssignmentsGet": { - "$ref": "./examples/KustoDatabasePrincipalAssignmentsGet.json" - } - }, - "description": "Gets a Kusto cluster database principalAssignment.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "$ref": "#/parameters/PrincipalAssignmentNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The Kusto cluster database principal assignment object.", - "schema": { - "$ref": "#/definitions/DatabasePrincipalAssignment" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "DatabasePrincipalAssignments" - ], - "operationId": "DatabasePrincipalAssignments_CreateOrUpdate", - "x-ms-examples": { - "KustoDatabasePrincipalAssignmentsCreateOrUpdate": { - "$ref": "./examples/KustoDatabasePrincipalAssignmentsCreateOrUpdate.json" - } - }, - "x-ms-long-running-operation": true, - "description": "Creates a Kusto cluster database principalAssignment.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "$ref": "#/parameters/PrincipalAssignmentNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DatabasePrincipalAssignment" - }, - "description": "The Kusto principalAssignments parameters supplied for the operation." - } - ], - "responses": { - "200": { - "description": "Successfully updated the PrincipalAssignments.", - "schema": { - "$ref": "#/definitions/DatabasePrincipalAssignment" - } - }, - "201": { - "description": "Successfully created the principalAssignments.", - "schema": { - "$ref": "#/definitions/DatabasePrincipalAssignment" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "DatabasePrincipalAssignments" - ], - "operationId": "DatabasePrincipalAssignments_Delete", - "x-ms-examples": { - "KustoDatabasePrincipalAssignmentsDelete": { - "$ref": "./examples/KustoDatabasePrincipalAssignmentsDelete.json" - } - }, - "x-ms-long-running-operation": true, - "description": "Deletes a Kusto principalAssignment.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "$ref": "#/parameters/PrincipalAssignmentNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK -- principalAssignments deleted successfully." - }, - "202": { - "description": "Accepted the delete principalAssignments request." - }, - "204": { - "description": "NoContent -- principalAssignments does not exist in the subscription." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/principalAssignments": { - "get": { - "tags": [ - "DatabasePrincipalAssignments" - ], - "operationId": "DatabasePrincipalAssignments_List", - "x-ms-examples": { - "KustoPrincipalAssignmentsList": { - "$ref": "./examples/KustoDatabasePrincipalAssignmentsList.json" - } - }, - "description": "Lists all Kusto cluster database principalAssignments.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/DatabasePrincipalAssignmentListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/listPrincipals": { - "post": { - "tags": [ - "Databases" - ], - "description": "Returns a list of database principals of the given Kusto cluster and database.", - "operationId": "Databases_ListPrincipals", - "x-ms-examples": { - "KustoDatabaseListPrincipals": { - "$ref": "./examples/KustoDatabaseListPrincipals.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the list of database principals.", - "schema": { - "$ref": "#/definitions/DatabasePrincipalListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/addPrincipals": { - "post": { - "tags": [ - "Databases" - ], - "operationId": "Databases_AddPrincipals", - "x-ms-examples": { - "KustoDatabaseAddPrincipals": { - "$ref": "./examples/KustoDatabaseAddPrincipals.json" - } - }, - "description": "Add Database principals permissions.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "databasePrincipalsToAdd", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DatabasePrincipalListRequest" - }, - "description": "List of database principals to add." - } - ], - "responses": { - "200": { - "description": "OK -- Successfully added the list of database principals. Returns the updated list of principals.", - "schema": { - "$ref": "#/definitions/DatabasePrincipalListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations": { - "get": { - "tags": [ - "AttachedDatabaseConfigurations" - ], - "description": "Returns the list of attached database configurations of the given Kusto cluster.", - "operationId": "AttachedDatabaseConfigurations_ListByCluster", - "x-ms-examples": { - "KustoAttachedDatabaseConfigurationsListByCluster": { - "$ref": "./examples/KustoAttachedDatabaseConfigurationsListByCluster.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the list of attached database configurations.", - "schema": { - "$ref": "#/definitions/AttachedDatabaseConfigurationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations/{attachedDatabaseConfigurationName}": { - "get": { - "tags": [ - "AttachedDatabaseConfigurations" - ], - "description": "Returns an attached database configuration.", - "operationId": "AttachedDatabaseConfigurations_Get", - "x-ms-examples": { - "AttachedDatabaseConfigurationsGet": { - "$ref": "./examples/KustoAttachedDatabaseConfigurationsGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/AttachedDatabaseConfigurationNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the specified attached database configuration.", - "schema": { - "$ref": "#/definitions/AttachedDatabaseConfiguration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "AttachedDatabaseConfigurations" - ], - "description": "Creates or updates an attached database configuration.", - "operationId": "AttachedDatabaseConfigurations_CreateOrUpdate", - "x-ms-examples": { - "AttachedDatabaseConfigurationsCreateOrUpdate": { - "$ref": "./examples/KustoAttachedDatabaseConfigurationsCreateOrUpdate.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/AttachedDatabaseConfigurationNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/AttachedDatabaseConfiguration" - }, - "description": "The database parameters supplied to the CreateOrUpdate operation." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully updated the database.", - "schema": { - "$ref": "#/definitions/AttachedDatabaseConfiguration" - } - }, - "201": { - "description": "Successfully created the database.", - "schema": { - "$ref": "#/definitions/AttachedDatabaseConfiguration" - } - }, - "202": { - "description": "Accepted the create database request.", - "schema": { - "$ref": "#/definitions/AttachedDatabaseConfiguration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "AttachedDatabaseConfigurations" - ], - "description": "Deletes the attached database configuration with the given name.", - "operationId": "AttachedDatabaseConfigurations_Delete", - "x-ms-examples": { - "AttachedDatabaseConfigurationsDelete": { - "$ref": "./examples/KustoAttachedDatabaseConfigurationsDelete.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/AttachedDatabaseConfigurationNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the database." - }, - "202": { - "description": "Accepted." - }, - "204": { - "description": "The specified database does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/removePrincipals": { - "post": { - "tags": [ - "Databases" - ], - "operationId": "Databases_RemovePrincipals", - "x-ms-examples": { - "KustoDatabaseRemovePrincipals": { - "$ref": "./examples/KustoDatabaseRemovePrincipals.json" - } - }, - "description": "Remove Database principals permissions.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "databasePrincipalsToRemove", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DatabasePrincipalListRequest" - }, - "description": "List of database principals to remove." - } - ], - "responses": { - "200": { - "description": "OK -- Successfully removed the list of database principals. Returns the updated list of principals.", - "schema": { - "$ref": "#/definitions/DatabasePrincipalListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/dataConnections": { - "get": { - "tags": [ - "DataConnections" - ], - "description": "Returns the list of data connections of the given Kusto database.", - "operationId": "DataConnections_ListByDatabase", - "x-ms-examples": { - "KustoDatabasesListByCluster": { - "$ref": "./examples/KustoDataConnectionsListByDatabase.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the list of data connections.", - "schema": { - "$ref": "#/definitions/DataConnectionListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/dataConnectionValidation": { - "post": { - "tags": [ - "DataConnections" - ], - "operationId": "DataConnections_dataConnectionValidation", - "x-ms-examples": { - "KustoDataConnectionValidation": { - "$ref": "./examples/KustoDataConnectionValidation.json" - } - }, - "description": "Checks that the data connection parameters are valid.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DataConnectionValidation" - }, - "description": "The data connection parameters supplied to the CreateOrUpdate operation." - } - ], - "responses": { - "200": { - "description": "OK -- Operation to check the kusto resource name availability was successful.", - "schema": { - "$ref": "#/definitions/DataConnectionValidationListResult" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/checkNameAvailability": { - "post": { - "tags": [ - "DataConnections" - ], - "operationId": "DataConnections_CheckNameAvailability", - "x-ms-examples": { - "KustoDataConnectionsCheckNameAvailability": { - "$ref": "./examples/KustoDataConnectionsCheckNameAvailability.json" - } - }, - "description": "Checks that the data connection name is valid and is not already in use.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "name": "dataConnectionName", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DataConnectionCheckNameRequest" - }, - "description": "The name of the data connection." - } - ], - "responses": { - "200": { - "description": "OK -- Operation to check the Kusto resource name availability was successful.", - "schema": { - "$ref": "#/definitions/CheckNameResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/dataConnections/{dataConnectionName}": { - "get": { - "tags": [ - "DataConnections" - ], - "description": "Returns a data connection.", - "operationId": "DataConnections_Get", - "x-ms-examples": { - "KustoDataConnectionsGet": { - "$ref": "./examples/KustoDataConnectionsGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "$ref": "#/parameters/DataConnectionNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the specified data connection.", - "schema": { - "$ref": "#/definitions/DataConnection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "DataConnections" - ], - "description": "Creates or updates a data connection.", - "operationId": "DataConnections_CreateOrUpdate", - "x-ms-examples": { - "KustoDataConnectionsCreateOrUpdate": { - "$ref": "./examples/KustoDataConnectionsCreateOrUpdate.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "$ref": "#/parameters/DataConnectionNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DataConnection" - }, - "description": "The data connection parameters supplied to the CreateOrUpdate operation." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully updated the data connection.", - "schema": { - "$ref": "#/definitions/DataConnection" - } - }, - "201": { - "description": "Successfully created the data connection.", - "schema": { - "$ref": "#/definitions/DataConnection" - } - }, - "202": { - "description": "Accepted the create data connection request.", - "schema": { - "$ref": "#/definitions/DataConnection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "DataConnections" - ], - "description": "Updates a data connection.", - "operationId": "DataConnections_Update", - "x-ms-examples": { - "KustoDataConnectionsUpdate": { - "$ref": "./examples/KustoDataConnectionsUpdate.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "$ref": "#/parameters/DataConnectionNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DataConnection" - }, - "description": "The data connection parameters supplied to the Update operation." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully updated the data connection.", - "schema": { - "$ref": "#/definitions/DataConnection" - } - }, - "201": { - "description": "Successfully updated the data connection.", - "schema": { - "$ref": "#/definitions/DataConnection" - } - }, - "202": { - "description": "Accepted the update data connection request.", - "schema": { - "$ref": "#/definitions/DataConnection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "DataConnections" - ], - "description": "Deletes the data connection with the given name.", - "operationId": "DataConnections_Delete", - "x-ms-examples": { - "KustoDataConnectionsDelete": { - "$ref": "./examples/KustoDataConnectionsDelete.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/DatabaseNameParameter" - }, - { - "$ref": "#/parameters/DataConnectionNameParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the data connection." - }, - "202": { - "description": "Accepted." - }, - "204": { - "description": "The specified data connection does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - } - }, - "/providers/Microsoft.Kusto/operations": { - "get": { - "tags": [ - "Operations" - ], - "operationId": "Operations_List", - "x-ms-examples": { - "KustoOperationsList": { - "$ref": "./examples/KustoOperationsList.json" - } - }, - "description": "Lists available operations for the Microsoft.Kusto provider.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the list of available operations.", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/listLanguageExtensions": { - "post": { - "tags": [ - "Clusters" - ], - "description": "Returns a list of language extensions that can run within KQL queries.", - "operationId": "Clusters_ListLanguageExtensions", - "x-ms-examples": { - "KustoClusterListLanguageExtensions": { - "$ref": "./examples/KustoClusterListLanguageExtensions.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the list of language extensions.", - "schema": { - "$ref": "#/definitions/LanguageExtensionsList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/addLanguageExtensions": { - "post": { - "tags": [ - "Clusters" - ], - "description": "Add a list of language extensions that can run within KQL queries.", - "operationId": "Clusters_AddLanguageExtensions", - "x-ms-examples": { - "KustoClusterAddLanguageExtensions": { - "$ref": "./examples/KustoClusterAddLanguageExtensions.json" - } - }, - "x-ms-long-running-operation": true, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "languageExtensionsToAdd", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LanguageExtensionsList" - }, - "description": "The language extensions to add." - } - ], - "responses": { - "200": { - "description": "OK." - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/removeLanguageExtensions": { - "post": { - "tags": [ - "Clusters" - ], - "description": "Remove a list of language extensions that can run within KQL queries.", - "operationId": "Clusters_RemoveLanguageExtensions", - "x-ms-examples": { - "KustoClusterRemoveLanguageExtensions": { - "$ref": "./examples/KustoClusterRemoveLanguageExtensions.json" - } - }, - "x-ms-long-running-operation": true, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/ClusterNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "languageExtensionsToRemove", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LanguageExtensionsList" - }, - "description": "The language extensions to remove." - } - ], - "responses": { - "200": { - "description": "OK." - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - } - }, - "definitions": { - "ClusterProperties": { - "properties": { - "state": { - "type": "string", - "readOnly": true, - "description": "The state of the resource.", - "enum": [ - "Creating", - "Unavailable", - "Running", - "Deleting", - "Deleted", - "Stopping", - "Stopped", - "Starting", - "Updating" - ], - "x-ms-enum": { - "name": "State", - "modelAsString": true - } - }, - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "The provisioned state of the resource.", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "uri": { - "type": "string", - "readOnly": true, - "description": "The cluster URI." - }, - "dataIngestionUri": { - "type": "string", - "readOnly": true, - "description": "The cluster data ingestion URI." - }, - "stateReason": { - "type": "string", - "readOnly": true, - "description": "The reason for the cluster's current state." - }, - "trustedExternalTenants": { - "type": "array", - "items": { - "$ref": "#/definitions/TrustedExternalTenant" - }, - "description": "The cluster's external tenants." - }, - "optimizedAutoscale": { - "type": "object", - "$ref": "#/definitions/OptimizedAutoscale", - "description": "Optimized auto scale definition." - }, - "enableDiskEncryption": { - "description": "A boolean value that indicates if the cluster's disks are encrypted.", - "type": "boolean" - }, - "enableStreamingIngest": { - "description": "A boolean value that indicates if the streaming ingest is enabled.", - "default": false, - "type": "boolean" - }, - "virtualNetworkConfiguration": { - "type": "object", - "$ref": "#/definitions/VirtualNetworkConfiguration", - "description": "Virtual network definition." - }, - "keyVaultProperties": { - "type": "object", - "$ref": "#/definitions/KeyVaultProperties", - "description": "KeyVault properties for the cluster encryption." - }, - "enablePurge": { - "description": "A boolean value that indicates if the purge operations are enabled.", - "default": false, - "type": "boolean" - }, - "languageExtensions": { - "type": "object", - "$ref": "#/definitions/LanguageExtensionsList", - "description": "List of the cluster's language extensions." - } - }, - "description": "Class representing the Kusto cluster properties." - }, - "TrustedExternalTenant": { - "properties": { - "value": { - "type": "string", - "description": "GUID representing an external tenant." - } - }, - "description": "Represents a tenant ID that is trusted by the cluster." - }, - "AzureResourceSku": { - "properties": { - "resourceType": { - "type": "string", - "description": "Resource Namespace and Type." - }, - "sku": { - "$ref": "#/definitions/AzureSku", - "description": "The SKU details." - }, - "capacity": { - "$ref": "#/definitions/AzureCapacity", - "description": "The number of instances of the cluster." - } - }, - "description": "Azure resource SKU definition." - }, - "AzureCapacity": { - "type": "object", - "required": [ - "minimum", - "maximum", - "default", - "scaleType" - ], - "properties": { - "scaleType": { - "description": "Scale type.", - "type": "string", - "enum": [ - "automatic", - "manual", - "none" - ], - "x-ms-enum": { - "name": "AzureScaleType", - "modelAsString": true - } - }, - "minimum": { - "description": "Minimum allowed capacity.", - "type": "integer" - }, - "maximum": { - "description": "Maximum allowed capacity.", - "type": "integer" - }, - "default": { - "description": "The default capacity that would be used.", - "type": "integer" - } - }, - "description": "Azure capacity definition." - }, - "SkuDescriptionList": { - "description": "The list of the EngagementFabric SKU descriptions", - "type": "object", - "properties": { - "value": { - "description": "SKU descriptions", - "type": "array", - "items": { - "$ref": "#/definitions/SkuDescription" - }, - "readOnly": true - } - } - }, - "SkuDescription": { - "description": "The Kusto SKU description of given resource type", - "type": "object", - "properties": { - "resourceType": { - "description": "The resource type", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The name of the SKU", - "type": "string", - "readOnly": true - }, - "tier": { - "description": "The tier of the SKU", - "type": "string", - "readOnly": true - }, - "locations": { - "description": "The set of locations that the SKU is available", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "locationInfo": { - "description": "Locations and zones", - "type": "array", - "items": { - "$ref": "#/definitions/SkuLocationInfoItem" - }, - "readOnly": true - }, - "restrictions": { - "description": "The restrictions because of which SKU cannot be used", - "type": "array", - "items": { - "type": "object" - }, - "readOnly": true - } - } - }, - "SkuLocationInfoItem": { - "description": "The locations and zones info for SKU.", - "type": "object", - "required": [ - "location" - ], - "properties": { - "location": { - "description": "The available location of the SKU.", - "type": "string" - }, - "zones": { - "description": "The available zone of the SKU.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "AzureSku": { - "type": "object", - "required": [ - "name", - "tier" - ], - "properties": { - "name": { - "description": "SKU name.", - "type": "string", - "enum": [ - "Standard_DS13_v2+1TB_PS", - "Standard_DS13_v2+2TB_PS", - "Standard_DS14_v2+3TB_PS", - "Standard_DS14_v2+4TB_PS", - "Standard_D13_v2", - "Standard_D14_v2", - "Standard_L8s", - "Standard_L16s", - "Standard_D11_v2", - "Standard_D12_v2", - "Standard_L4s", - "Dev(No SLA)_Standard_D11_v2", - "Standard_E2a_v4", - "Standard_E4a_v4", - "Standard_E8a_v4", - "Standard_E16a_v4", - "Standard_E8as_v4+1TB_PS", - "Standard_E8as_v4+2TB_PS", - "Standard_E16as_v4+3TB_PS", - "Standard_E16as_v4+4TB_PS", - "Dev(No SLA)_Standard_E2a_v4" - ], - "x-ms-enum": { - "name": "AzureSkuName", - "modelAsString": true - } - }, - "capacity": { - "description": "The number of instances of the cluster.", - "type": "integer" - }, - "tier": { - "description": "SKU tier.", - "type": "string", - "enum": [ - "Basic", - "Standard" - ], - "x-ms-enum": { - "name": "AzureSkuTier", - "modelAsString": true - } - } - }, - "description": "Azure SKU definition." - }, - "Zones": { - "description": "An array represents the availability zones of the cluster.", - "type": "array", - "items": { - "type": "string" - } - }, - "OptimizedAutoscale": { - "type": "object", - "required": [ - "version", - "isEnabled", - "minimum", - "maximum" - ], - "properties": { - "version": { - "description": "The version of the template defined, for instance 1.", - "type": "integer" - }, - "isEnabled": { - "description": "A boolean value that indicate if the optimized autoscale feature is enabled or not.", - "type": "boolean" - }, - "minimum": { - "description": "Minimum allowed instances count.", - "type": "integer" - }, - "maximum": { - "description": "Maximum allowed instances count.", - "type": "integer" - } - }, - "description": "A class that contains the optimized auto scale definition." - }, - "VirtualNetworkConfiguration": { - "type": "object", - "required": [ - "subnetId", - "enginePublicIpId", - "dataManagementPublicIpId" - ], - "properties": { - "subnetId": { - "description": "The subnet resource id.", - "type": "string" - }, - "enginePublicIpId": { - "description": "Engine service's public IP address resource id.", - "type": "string" - }, - "dataManagementPublicIpId": { - "description": "Data management's service public IP address resource id.", - "type": "string" - } - }, - "description": "A class that contains virtual network definition." - }, - "DatabaseStatistics": { - "type": "object", - "readOnly": true, - "properties": { - "size": { - "type": "number", - "description": "The database size - the total size of compressed data and index in bytes." - } - }, - "description": "A class that contains database statistics information." - }, - "AttachedDatabaseConfigurationProperties": { - "properties": { - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "The provisioned state of the resource.", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "databaseName": { - "type": "string", - "description": "The name of the database which you would like to attach, use * if you want to follow all current and future databases." - }, - "clusterResourceId": { - "type": "string", - "description": "The resource id of the cluster where the databases you would like to attach reside." - }, - "attachedDatabaseNames": { - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true, - "description": "The list of databases from the clusterResourceId which are currently attached to the cluster." - }, - "defaultPrincipalsModificationKind": { - "type": "string", - "enum": [ - "Union", - "Replace", - "None" - ], - "x-ms-enum": { - "name": "DefaultPrincipalsModificationKind", - "modelAsString": true - }, - "description": "The default principals modification kind" - } - }, - "description": "Class representing the an attached database configuration properties of kind specific.", - "required": [ - "databaseName", - "clusterResourceId", - "defaultPrincipalsModificationKind" - ] - }, - "ReadWriteDatabaseProperties": { - "properties": { - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "The provisioned state of the resource.", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "softDeletePeriod": { - "type": "string", - "format": "duration", - "description": "The time the data should be kept before it stops being accessible to queries in TimeSpan." - }, - "hotCachePeriod": { - "type": "string", - "format": "duration", - "description": "The time the data should be kept in cache for fast queries in TimeSpan." - }, - "statistics": { - "$ref": "#/definitions/DatabaseStatistics", - "description": "The statistics of the database." - }, - "isFollowed": { - "type": "string", - "readOnly": true, - "description": "Indicates whether the database is followed." - } - }, - "description": "Class representing the Kusto database properties." - }, - "ReadOnlyFollowingDatabaseProperties": { - "properties": { - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "The provisioned state of the resource.", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "softDeletePeriod": { - "type": "string", - "readOnly": true, - "format": "duration", - "description": "The time the data should be kept before it stops being accessible to queries in TimeSpan." - }, - "hotCachePeriod": { - "type": "string", - "format": "duration", - "description": "The time the data should be kept in cache for fast queries in TimeSpan." - }, - "statistics": { - "$ref": "#/definitions/DatabaseStatistics", - "description": "The statistics of the database." - }, - "leaderClusterResourceId": { - "type": "string", - "readOnly": true, - "description": "The name of the leader cluster" - }, - "attachedDatabaseConfigurationName": { - "type": "string", - "readOnly": true, - "description": "The name of the attached database configuration cluster" - }, - "principalsModificationKind": { - "type": "string", - "readOnly": true, - "enum": [ - "Union", - "Replace", - "None" - ], - "x-ms-enum": { - "name": "PrincipalsModificationKind", - "modelAsString": true - }, - "description": "The principals modification kind of the database" - } - }, - "description": "Class representing the Kusto database properties." - }, - "EventHubConnectionProperties": { - "properties": { - "eventHubResourceId": { - "type": "string", - "description": "The resource ID of the event hub to be used to create a data connection." - }, - "consumerGroup": { - "type": "string", - "description": "The event hub consumer group." - }, - "tableName": { - "type": "string", - "description": "The table where the data should be ingested. Optionally the table information can be added to each message." - }, - "mappingRuleName": { - "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." - }, - "dataFormat": { - "$ref": "#/definitions/EventHubDataFormat", - "description": "The data format of the message. Optionally the data format can be added to each message." - }, - "eventSystemProperties": { - "type": "array", - "items": { - "type": "string" - }, - "description": "System properties of the event hub" - }, - "compression": { - "$ref": "#/definitions/Compression", - "description": "The event hub messages compression type" - } - }, - "required": [ - "eventHubResourceId", - "consumerGroup" - ], - "description": "Class representing the Kusto event hub connection properties." - }, - "IotHubConnectionProperties": { - "properties": { - "iotHubResourceId": { - "type": "string", - "description": "The resource ID of the Iot hub to be used to create a data connection." - }, - "consumerGroup": { - "type": "string", - "description": "The iot hub consumer group." - }, - "tableName": { - "type": "string", - "description": "The table where the data should be ingested. Optionally the table information can be added to each message." - }, - "mappingRuleName": { - "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." - }, - "dataFormat": { - "$ref": "#/definitions/IotHubDataFormat", - "description": "The data format of the message. Optionally the data format can be added to each message." - }, - "eventSystemProperties": { - "type": "array", - "items": { - "type": "string" - }, - "description": "System properties of the iot hub" - }, - "sharedAccessPolicyName": { - "type": "string", - "description": "The name of the share access policy" - } - }, - "required": [ - "iotHubResourceId", - "consumerGroup", - "sharedAccessPolicyName" - ], - "description": "Class representing the Kusto Iot hub connection properties." - }, - "EventHubDataFormat": { - "description": "The data format of the message. Optionally the data format can be added to each message.", - "type": "string", - "enum": [ - "MULTIJSON", - "JSON", - "CSV", - "TSV", - "SCSV", - "SOHSV", - "PSV", - "TXT", - "RAW", - "SINGLEJSON", - "AVRO", - "TSVE", - "PARQUET", - "ORC" - ], - "x-ms-enum": { - "name": "eventHubDataFormat", - "modelAsString": true - } - }, - "IotHubDataFormat": { - "description": "The data format of the message. Optionally the data format can be added to each message.", - "type": "string", - "enum": [ - "MULTIJSON", - "JSON", - "CSV", - "TSV", - "SCSV", - "SOHSV", - "PSV", - "TXT", - "RAW", - "SINGLEJSON", - "AVRO", - "TSVE", - "PARQUET", - "ORC" - ], - "x-ms-enum": { - "name": "iotHubDataFormat", - "modelAsString": true - } - }, - "EventGridDataFormat": { - "description": "The data format of the message. Optionally the data format can be added to each message.", - "type": "string", - "enum": [ - "MULTIJSON", - "JSON", - "CSV", - "TSV", - "SCSV", - "SOHSV", - "PSV", - "TXT", - "RAW", - "SINGLEJSON", - "AVRO", - "TSVE", - "PARQUET", - "ORC" - ], - "x-ms-enum": { - "name": "eventGridDataFormat", - "modelAsString": true - } - }, - "Compression": { - "description": "The compression type", - "type": "string", - "enum": [ - "None", - "GZip" - ], - "x-ms-enum": { - "name": "compression", - "modelAsString": true - } - }, - "EventGridConnectionProperties": { - "properties": { - "storageAccountResourceId": { - "type": "string", - "description": "The resource ID of the storage account where the data resides." - }, - "eventHubResourceId": { - "type": "string", - "description": "The resource ID where the event grid is configured to send events." - }, - "consumerGroup": { - "type": "string", - "description": "The event hub consumer group." - }, - "tableName": { - "type": "string", - "description": "The table where the data should be ingested. Optionally the table information can be added to each message." - }, - "mappingRuleName": { - "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." - }, - "dataFormat": { - "$ref": "#/definitions/EventGridDataFormat", - "description": "The data format of the message. Optionally the data format can be added to each message." - } - }, - "required": [ - "storageAccountResourceId", - "eventHubResourceId", - "consumerGroup", - "tableName", - "dataFormat" - ], - "description": "Class representing the Kusto event grid connection properties." - }, - "Cluster": { - "required": [ - "sku" - ], - "properties": { - "sku": { - "$ref": "#/definitions/AzureSku", - "description": "The SKU of the cluster." - }, - "zones": { - "$ref": "#/definitions/Zones", - "description": "The availability zones of the cluster." - }, - "identity": { - "$ref": "#/definitions/Identity", - "description": "The identity of the cluster, if configured." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ClusterProperties", - "description": "The cluster properties." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - } - ], - "description": "Class representing a Kusto cluster." - }, - "ClusterUpdate": { - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Resource tags." - }, - "location": { - "type": "string", - "description": "Resource location." - }, - "sku": { - "$ref": "#/definitions/AzureSku", - "description": "The SKU of the cluster." - }, - "identity": { - "$ref": "#/definitions/Identity", - "description": "The identity of the cluster, if configured." - }, - "properties": { - "x-ms-client-flatten": true, - "description": "The cluster properties.", - "$ref": "#/definitions/ClusterProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "description": "Class representing an update to a Kusto cluster." - }, - "AttachedDatabaseConfigurationListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/AttachedDatabaseConfiguration" - }, - "description": "The list of attached database configurations." - } - }, - "description": "The list attached database configurations operation response." - }, - "AttachedDatabaseConfiguration": { - "properties": { - "location": { - "type": "string", - "description": "Resource location." - }, - "properties": { - "x-ms-client-flatten": true, - "description": "The properties of the attached database configuration.", - "$ref": "#/definitions/AttachedDatabaseConfigurationProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "Class representing an attached database configuration." - }, - "Database": { - "required": [ - "kind" - ], - "properties": { - "location": { - "type": "string", - "description": "Resource location." - }, - "kind": { - "description": "Kind of the database", - "enum": [ - "ReadWrite", - "ReadOnlyFollowing" - ], - "type": "string", - "x-ms-enum": { - "name": "Kind", - "modelAsString": true - } - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "Class representing a Kusto database.", - "discriminator": "kind" - }, - "ReadWriteDatabase": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "The database properties.", - "$ref": "#/definitions/ReadWriteDatabaseProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/Database" - } - ], - "description": "Class representing a read write database.", - "x-ms-discriminator-value": "ReadWrite" - }, - "ReadOnlyFollowingDatabase": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "The database properties.", - "$ref": "#/definitions/ReadOnlyFollowingDatabaseProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/Database" - } - ], - "description": "Class representing a read only following database.", - "x-ms-discriminator-value": "ReadOnlyFollowing" - }, - "DatabasePrincipal": { - "type": "object", - "required": [ - "name", - "role", - "type" - ], - "properties": { - "role": { - "description": "Database principal role.", - "type": "string", - "enum": [ - "Admin", - "Ingestor", - "Monitor", - "User", - "UnrestrictedViewers", - "Viewer" - ], - "x-ms-enum": { - "name": "DatabasePrincipalRole", - "modelAsString": true - } - }, - "name": { - "description": "Database principal name.", - "type": "string" - }, - "type": { - "description": "Database principal type.", - "type": "string", - "enum": [ - "App", - "Group", - "User" - ], - "x-ms-enum": { - "name": "DatabasePrincipalType", - "modelAsString": true - } - }, - "fqn": { - "description": "Database principal fully qualified name.", - "type": "string" - }, - "email": { - "description": "Database principal email if exists.", - "type": "string" - }, - "appId": { - "description": "Application id - relevant only for application principal type.", - "type": "string" - }, - "tenantName": { - "type": "string", - "readOnly": true, - "description": "The tenant name of the principal" - } - }, - "description": "A class representing database principal entity." - }, - "DatabasePrincipalProperties": { - "type": "object", - "required": [ - "principalId", - "role", - "principalType" - ], - "properties": { - "principalId": { - "description": "The principal ID assigned to the database principal. It can be a user email, application ID, or security group name.", - "type": "string" - }, - "role": { - "description": "Database principal role.", - "type": "string", - "enum": [ - "Admin", - "Ingestor", - "Monitor", - "User", - "UnrestrictedViewers", - "Viewer" - ], - "x-ms-enum": { - "name": "DatabasePrincipalRole", - "modelAsString": true - } - }, - "tenantId": { - "type": "string", - "description": "The tenant id of the principal" - }, - "principalType": { - "description": "Principal type.", - "type": "string", - "enum": [ - "App", - "Group", - "User" - ], - "x-ms-enum": { - "name": "PrincipalType", - "modelAsString": true - } - }, - "tenantName": { - "type": "string", - "readOnly": true, - "description": "The tenant name of the principal" - }, - "principalName": { - "type": "string", - "readOnly": true, - "description": "The principal name" - }, - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "The provisioned state of the resource.", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - } - }, - "description": "A class representing database principal property." - }, - "ClusterPrincipalProperties": { - "type": "object", - "required": [ - "principalId", - "role", - "principalType" - ], - "properties": { - "principalId": { - "description": "The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name.", - "type": "string" - }, - "role": { - "description": "Cluster principal role.", - "type": "string", - "enum": [ - "AllDatabasesAdmin", - "AllDatabasesViewer" - ], - "x-ms-enum": { - "name": "ClusterPrincipalRole", - "modelAsString": true - } - }, - "tenantId": { - "type": "string", - "description": "The tenant id of the principal" - }, - "principalType": { - "description": "Principal type.", - "type": "string", - "enum": [ - "App", - "Group", - "User" - ], - "x-ms-enum": { - "name": "PrincipalType", - "modelAsString": true - } - }, - "tenantName": { - "type": "string", - "readOnly": true, - "description": "The tenant name of the principal" - }, - "principalName": { - "type": "string", - "readOnly": true, - "description": "The principal name" - }, - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "The provisioned state of the resource.", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - } - }, - "description": "A class representing cluster principal property." - }, - "DatabasePrincipalAssignment": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/DatabasePrincipalProperties", - "description": "The database principal." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "Class representing a database principal assignment." - }, - "ClusterPrincipalAssignment": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ClusterPrincipalProperties", - "description": "The cluster principal." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "Class representing a cluster principal assignment." - }, - "ClusterListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Cluster" - }, - "description": "The list of Kusto clusters." - } - }, - "description": "The list Kusto clusters operation response." - }, - "DatabaseListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Database" - }, - "description": "The list of Kusto databases." - } - }, - "description": "The list Kusto databases operation response." - }, - "DatabasePrincipalAssignmentListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/DatabasePrincipalAssignment" - }, - "description": "The list of Kusto database principal assignments." - } - }, - "description": "The list Kusto database principal assignments operation response." - }, - "ClusterPrincipalAssignmentListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ClusterPrincipalAssignment" - }, - "description": "The list of Kusto cluster principal assignments." - } - }, - "description": "The list Kusto cluster principal assignments operation response." - }, - "DatabasePrincipalListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/DatabasePrincipal" - }, - "description": "The list of Kusto database principals." - } - }, - "description": "The list Kusto database principals operation response." - }, - "FollowerDatabaseListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/FollowerDatabaseDefinition" - }, - "description": "The list of follower database result." - } - }, - "description": "The list Kusto database principals operation response." - }, - "DataConnection": { - "required": [ - "kind" - ], - "properties": { - "location": { - "type": "string", - "description": "Resource location." - }, - "kind": { - "description": "Kind of the endpoint for the data connection", - "enum": [ - "EventHub", - "EventGrid", - "IotHub" - ], - "type": "string", - "x-ms-enum": { - "name": "Kind", - "modelAsString": true - } - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "Class representing an data connection.", - "discriminator": "kind" - }, - "DataConnectionValidationResult": { - "type": "object", - "properties": { - "errorMessage": { - "type": "string", - "description": "A message which indicates a problem in data connection validation." - } - }, - "description": "The result returned from a data connection validation request." - }, - "DatabasePrincipalListRequest": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/DatabasePrincipal" - }, - "description": "The list of Kusto database principals." - } - }, - "description": "The list Kusto database principals operation request." - }, - "FollowerDatabaseDefinition": { - "type": "object", - "required": [ - "clusterResourceId", - "attachedDatabaseConfigurationName" - ], - "properties": { - "clusterResourceId": { - "type": "string", - "description": "Resource id of the cluster that follows a database owned by this cluster." - }, - "attachedDatabaseConfigurationName": { - "type": "string", - "description": "Resource name of the attached database configuration in the follower cluster." - }, - "databaseName": { - "type": "string", - "readOnly": true, - "description": "The database name owned by this cluster that was followed. * in case following all databases." - } - }, - "description": "A class representing follower database request." - }, - "DiagnoseVirtualNetworkResult": { - "properties": { - "findings": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of network connectivity diagnostic finding" - } - } - }, - "DataConnectionValidation": { - "properties": { - "dataConnectionName": { - "type": "string", - "description": "The name of the data connection." - }, - "properties": { - "$ref": "#/definitions/DataConnection", - "description": "The data connection properties to validate." - } - }, - "description": "Class representing an data connection validation." - }, - "EventHubDataConnection": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "The Event Hub data connection properties to validate.", - "$ref": "#/definitions/EventHubConnectionProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/DataConnection" - } - ], - "description": "Class representing an event hub data connection.", - "x-ms-discriminator-value": "EventHub" - }, - "IotHubDataConnection": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "The Iot Hub data connection properties.", - "$ref": "#/definitions/IotHubConnectionProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/DataConnection" - } - ], - "description": "Class representing an iot hub data connection.", - "x-ms-discriminator-value": "IotHub" - }, - "EventGridDataConnection": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "description": "The properties of the Event Grid data connection.", - "$ref": "#/definitions/EventGridConnectionProperties" - } - }, - "allOf": [ - { - "$ref": "#/definitions/DataConnection" - } - ], - "description": "Class representing an Event Grid data connection.", - "x-ms-discriminator-value": "EventGrid" - }, - "DataConnectionValidationListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/DataConnectionValidationResult" - }, - "description": "The list of Kusto data connection validation errors." - } - }, - "description": "The list Kusto data connection validation result." - }, - "DataConnectionListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/DataConnection" - }, - "description": "The list of Kusto data connections." - } - }, - "description": "The list Kusto data connections operation response." - }, - "CloudError": { - "x-ms-external": true, - "properties": { - "error": { - "$ref": "#/definitions/CloudErrorBody", - "description": "An error response from Kusto." - } - }, - "description": "An error response from Kusto." - }, - "ClusterCheckNameRequest": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Cluster name." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Kusto/clusters" - ], - "x-ms-enum": { - "name": "Type", - "modelAsString": false - }, - "description": "The type of resource, Microsoft.Kusto/clusters." - } - }, - "required": [ - "name", - "type" - ], - "description": "The result returned from a cluster check name availability request." - }, - "CheckNameRequest": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Resource name." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Kusto/clusters/databases", - "Microsoft.Kusto/clusters/attachedDatabaseConfigurations" - ], - "x-ms-enum": { - "name": "Type", - "modelAsString": false - }, - "description": "The type of resource, for instance Microsoft.Kusto/clusters/databases." - } - }, - "required": [ - "name", - "type" - ], - "description": "The result returned from a database check name availability request." - }, - "ClusterPrincipalAssignmentCheckNameRequest": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Principal Assignment resource name." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Kusto/clusters/principalAssignments" - ], - "x-ms-enum": { - "name": "Type", - "modelAsString": false - }, - "description": "The type of resource, Microsoft.Kusto/clusters/principalAssignments." - } - }, - "required": [ - "name", - "type" - ], - "description": "A principal assignment check name availability request." - }, - "DataConnectionCheckNameRequest": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Data Connection name." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Kusto/clusters/databases/dataConnections" - ], - "x-ms-enum": { - "name": "Type", - "modelAsString": false - }, - "description": "The type of resource, Microsoft.Kusto/clusters/databases/dataConnections." - } - }, - "required": [ - "name", - "type" - ], - "description": "A data connection check name availability request." - }, - "DatabasePrincipalAssignmentCheckNameRequest": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Principal Assignment resource name." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Kusto/clusters/databases/principalAssignments" - ], - "x-ms-enum": { - "name": "Type", - "modelAsString": false - }, - "description": "The type of resource, Microsoft.Kusto/clusters/databases/principalAssignments." - } - }, - "required": [ - "name", - "type" - ], - "description": "A principal assignment check name availability request." - }, - "CheckNameResult": { - "type": "object", - "properties": { - "nameAvailable": { - "type": "boolean", - "description": "Specifies a Boolean value that indicates if the name is available." - }, - "name": { - "type": "string", - "description": "The name that was checked." - }, - "message": { - "type": "string", - "description": "Message indicating an unavailable name due to a conflict, or a description of the naming rules that are violated." - }, - "reason": { - "type": "string", - "enum": [ - "Invalid", - "AlreadyExists" - ], - "x-ms-enum": { - "name": "reason", - "modelAsString": true - }, - "description": "Message providing the reason why the given name is invalid." - } - }, - "description": "The result returned from a check name availability request." - }, - "ListResourceSkusResult": { - "description": "List of available SKUs for a Kusto Cluster.", - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/AzureResourceSku" - }, - "description": "The collection of available SKUs for an existing resource." - } - } - }, - "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 displaying 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 Kusto." - }, - "OperationListResult": { - "title": "Result of the request to list REST API operations. It contains a list of operations and a URL nextLink to get the next set of results.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "title": "The list of operations supported by the resource provider." - }, - "nextLink": { - "type": "string", - "title": "The URL to get the next set of operation list results if there are any." - } - } - }, - "Operation": { - "title": "A REST API operation", - "type": "object", - "properties": { - "name": { - "title": "The operation name.", - "description": "This is of the format {provider}/{resource}/{operation}.", - "type": "string" - }, - "display": { - "title": "The object that describes the operation.", - "properties": { - "provider": { - "title": "Friendly name of the resource provider.", - "type": "string" - }, - "operation": { - "title": "The operation type.", - "description": "For example: read, write, delete.", - "type": "string" - }, - "resource": { - "title": "The resource type on which the operation is performed.", - "type": "string" - }, - "description": { - "title": "The friendly name of the operation.", - "type": "string" - } - } - }, - "origin": { - "title": "The intended executor of the operation.", - "type": "string" - }, - "properties": { - "title": "Properties of the operation.", - "type": "object", - "x-ms-client-flatten": true - } - } - }, - "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": [ - "None", - "SystemAssigned" - ], - "x-ms-enum": { - "name": "IdentityType", - "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 Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." - } - }, - "required": [ - "type" - ], - "description": "Identity for the resource." - }, - "KeyVaultProperties": { - "description": "Properties of the key vault.", - "required": [ - "keyName", - "keyVersion", - "keyVaultUri" - ], - "properties": { - "keyName": { - "type": "string", - "description": "The name of the key vault key.", - "x-ms-client-name": "KeyName" - }, - "keyVersion": { - "type": "string", - "description": "The version of the key vault key.", - "x-ms-client-name": "KeyVersion" - }, - "keyVaultUri": { - "type": "string", - "description": "The Uri of the key vault.", - "x-ms-client-name": "KeyVaultUri" - } - } - }, - "LanguageExtensionName": { - "description": "Language extension that can run within KQL query.", - "type": "string", - "enum": [ - "PYTHON", - "R" - ], - "x-ms-enum": { - "name": "languageExtensionName", - "modelAsString": true - } - }, - "LanguageExtension": { - "type": "object", - "description": "The language extension object.", - "properties": { - "languageExtensionName": { - "$ref": "#/definitions/LanguageExtensionName", - "description": "The language extension name." - } - } - }, - "LanguageExtensionsList": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/LanguageExtension" - }, - "description": "The list of language extensions." - } - }, - "description": "The list of language extension objects." - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client API Version." - }, - "ClusterNameParameter": { - "name": "clusterName", - "in": "path", - "description": "The name of the Kusto cluster.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "AttachedDatabaseConfigurationNameParameter": { - "name": "attachedDatabaseConfigurationName", - "in": "path", - "description": "The name of the attached database configuration.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "ResourceGroupParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "The name of the resource group containing the Kusto cluster.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "DatabaseNameParameter": { - "name": "databaseName", - "in": "path", - "description": "The name of the database in the Kusto cluster.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "DataConnectionNameParameter": { - "name": "dataConnectionName", - "in": "path", - "description": "The name of the data connection.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "PrincipalAssignmentNameParameter": { - "name": "principalAssignmentName", - "in": "path", - "description": "The name of the Kusto principalAssignment.", - "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": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/azuredata.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/azuredata.json deleted file mode 100644 index 85331f97bdb1..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/azuredata.json +++ /dev/null @@ -1,2207 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2019-07-24-preview", - "title": "AzureDataManagementClient", - "description": "The AzureData management API provides a RESTful set of web APIs to manage Azure Data Resources." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/providers/Microsoft.AzureData/operations": { - "get": { - "tags": [ - "Operations" - ], - "description": "Lists all of the available SQL Server Registration API operations.", - "operationId": "Operations_List", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved operations.", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 400 RPGenericUser - User Failure when calling other Resource Provider.\n\n * 400 InvalidArgument - Invalid argument '{0}'.\n\n * 400 ArgumentNotInRange - Argument '{0}' not in range.\n\n * 400 ResourceNotProvisioned - As the resource: {0} is not in a provisioned state, the request cannot be proceeded forward\n\n * 400 InvalidRgResourceId - Invalid Resourcegroup resource id specified.\n\n * 403 AccessDenied - Access denied.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 SubscriptionDoesNotExist - Subscription id does not exist.\n\n * 404 ResourceDoesNotExist - Resource does not exist.\n\n * 404 OperationIdNotFound - Operation id could not be found.\n\n * 404 OperationTypeNotFound - Operation Type not found.\n\n * 409 ResourceAlreadyExists - Resource already exists.\n\n * 409 SqlExtensionNotInstalled - SQL extension not installed.\n\n * 409 MissingMoveResources - Cannot move resources(s) because some resources are missing in the request.\n\n * 409 OperationInProgress - Operation in progress on resource already.\n\n * 409 OperationCanceled - Operation Cancelled.\n\n * 500 RPGenericSystem - System Failure when calling other Resource Provider.\n\n * 500 UnExpectedErrorOccurred - Unexpected error occurred.\n\n * 500 OperationTimeout - Operation timed out.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Lists all of the available SQL Server Registration API operations.": { - "$ref": "./examples/ListOperation.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlServerRegistrations/{sqlServerRegistrationName}": { - "get": { - "tags": [ - "SqlServerRegistrations" - ], - "description": "Gets a SQL Server registration.", - "operationId": "SqlServerRegistrations_Get", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "name": "sqlServerRegistrationName", - "in": "path", - "description": "Name of the SQL Server registration.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the SQL Server registration.", - "schema": { - "$ref": "#/definitions/SqlServerRegistration" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 400 RPGenericUser - User Failure when calling other Resource Provider.\n\n * 400 InvalidArgument - Invalid argument '{0}'.\n\n * 400 ArgumentNotInRange - Argument '{0}' not in range.\n\n * 400 ResourceNotProvisioned - As the resource: {0} is not in a provisioned state, the request cannot be proceeded forward\n\n * 400 InvalidRgResourceId - Invalid Resourcegroup resource id specified.\n\n * 403 AccessDenied - Access denied.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 SubscriptionDoesNotExist - Subscription id does not exist.\n\n * 404 ResourceDoesNotExist - Resource does not exist.\n\n * 404 OperationIdNotFound - Operation id could not be found.\n\n * 404 OperationTypeNotFound - Operation Type not found.\n\n * 409 ResourceAlreadyExists - Resource already exists.\n\n * 409 SqlExtensionNotInstalled - SQL extension not installed.\n\n * 409 MissingMoveResources - Cannot move resources(s) because some resources are missing in the request.\n\n * 409 OperationInProgress - Operation in progress on resource already.\n\n * 409 OperationCanceled - Operation Cancelled.\n\n * 500 RPGenericSystem - System Failure when calling other Resource Provider.\n\n * 500 UnExpectedErrorOccurred - Unexpected error occurred.\n\n * 500 OperationTimeout - Operation timed out.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Gets a SQL Server registration.": { - "$ref": "./examples/GetSqlServerRegistration.json" - } - } - }, - "put": { - "tags": [ - "SqlServerRegistrations" - ], - "description": "Creates or updates a SQL Server registration.", - "operationId": "SqlServerRegistrations_CreateOrUpdate", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "name": "sqlServerRegistrationName", - "in": "path", - "description": "Name of the SQL Server registration.", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "description": "The SQL Server registration to be created or updated.", - "required": true, - "schema": { - "$ref": "#/definitions/SqlServerRegistration" - } - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully updated the SQL Server registration.", - "schema": { - "$ref": "#/definitions/SqlServerRegistration" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 RPGenericUser - User Failure when calling other Resource Provider.\n\n * 400 InvalidArgument - Invalid argument '{0}'.\n\n * 400 ArgumentNotInRange - Argument '{0}' not in range.\n\n * 400 ResourceNotProvisioned - As the resource: {0} is not in a provisioned state, the request cannot be proceeded forward\n\n * 400 InvalidRgResourceId - Invalid Resourcegroup resource id specified.\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 400 TinaGroupUpdateFailVmAttached - SQL Server registration cannot be updated as it has attached a SQL Server.\n\n * 400 InvalidSqlImageOffer - Provided SQL image offer is invalid.\n\n * 400 InvalidSqlSku - Provided SQL sku is invalid.\n\n * 400 OuPathAndDomainMismatch - OU path is not within the domain provided.\n\n * 400 InvalidAccountNameFormat - Account name format is invalid.\n\n * 400 CloudWitnessUnsupported - For Windows Server 2012R2 setup cloud witness is not allowed.\n\n * 400 FileShareWitnessDisAllowed - For Windows Server 2016 and beyond setup, file share witness is not allowed.\n\n * 400 InvalidStorageAccountUrl - Invalid storage account url.\n\n * 400 TinaGroupNameTooLong - SQL Server registration name cannot exceed 15 characters.\n\n * 400 InvalidTinaGroupName - Invalid SQL Server registration name.\n\n * 400 TinaGroupNotEmpty - SQL Server registration is not empty.\n\n * 400 TinaGroupUpdateNotAllowed - Update to SQL Server registration is not allowed.\n\n * 403 AccessDenied - Access denied.\n\n * 404 SubscriptionDoesNotExist - Subscription id does not exist.\n\n * 404 ResourceDoesNotExist - Resource does not exist.\n\n * 404 OperationIdNotFound - Operation id could not be found.\n\n * 404 OperationTypeNotFound - Operation Type not found.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 SubscriptionDoesNotHaveTINAGroupInResourceGroup - Subscription does not have SQL Server registration in resource group.\n\n * 409 ResourceAlreadyExists - Resource already exists.\n\n * 409 SqlExtensionNotInstalled - SQL extension not installed.\n\n * 409 MissingMoveResources - Cannot move resources(s) because some resources are missing in the request.\n\n * 409 OperationInProgress - Operation in progress on resource already.\n\n * 409 OperationCanceled - Operation Cancelled.\n\n * 500 RPGenericSystem - System Failure when calling other Resource Provider.\n\n * 500 UnExpectedErrorOccurred - Unexpected error occurred.\n\n * 500 OperationTimeout - Operation timed out.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "201": { - "description": "Successfully created the SQL Server registration.", - "schema": { - "$ref": "#/definitions/SqlServerRegistration" - } - } - }, - "x-ms-examples": { - "Creates or updates a SQL Server registration.": { - "$ref": "./examples/CreateOrUpdateSqlServerRegistration.json" - } - } - }, - "delete": { - "tags": [ - "SqlServerRegistrations" - ], - "description": "Deletes a SQL Server registration.", - "operationId": "SqlServerRegistrations_Delete", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "name": "sqlServerRegistrationName", - "in": "path", - "description": "Name of the SQL Server registration.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the SQL Server registration." - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 RPGenericUser - User Failure when calling other Resource Provider.\n\n * 400 InvalidArgument - Invalid argument '{0}'.\n\n * 400 ArgumentNotInRange - Argument '{0}' not in range.\n\n * 400 ResourceNotProvisioned - As the resource: {0} is not in a provisioned state, the request cannot be proceeded forward\n\n * 400 InvalidRgResourceId - Invalid Resourcegroup resource id specified.\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 400 TinaGroupUpdateFailVmAttached - SQL Server registration cannot be updated as it has attached a SQL Server.\n\n * 400 InvalidSqlImageOffer - Provided SQL image offer is invalid.\n\n * 400 InvalidSqlSku - Provided SQL sku is invalid.\n\n * 400 OuPathAndDomainMismatch - OU path is not within the domain provided.\n\n * 400 InvalidAccountNameFormat - Account name format is invalid.\n\n * 400 CloudWitnessUnsupported - For Windows Server 2012R2 setup cloud witness is not allowed.\n\n * 400 FileShareWitnessDisAllowed - For Windows Server 2016 and beyond setup, file share witness is not allowed.\n\n * 400 InvalidStorageAccountUrl - Invalid storage account url.\n\n * 400 TinaGroupNameTooLong - SQL Server registration name cannot exceed 15 characters.\n\n * 400 InvalidTinaGroupName - Invalid SQL Server registration name.\n\n * 400 TinaGroupNotEmpty - SQL Server registration is not empty.\n\n * 400 TinaGroupUpdateNotAllowed - Update to SQL Server registration is not allowed.\n\n * 403 AccessDenied - Access denied.\n\n * 404 SubscriptionDoesNotExist - Subscription id does not exist.\n\n * 404 ResourceDoesNotExist - Resource does not exist.\n\n * 404 OperationIdNotFound - Operation id could not be found.\n\n * 404 OperationTypeNotFound - Operation Type not found.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 SubscriptionDoesNotHaveTINAGroupInResourceGroup - Subscription does not have SQL Server registration in resource group.\n\n * 409 ResourceAlreadyExists - Resource already exists.\n\n * 409 SqlExtensionNotInstalled - SQL extension not installed.\n\n * 409 MissingMoveResources - Cannot move resources(s) because some resources are missing in the request.\n\n * 409 OperationInProgress - Operation in progress on resource already.\n\n * 409 OperationCanceled - Operation Cancelled.\n\n * 500 RPGenericSystem - System Failure when calling other Resource Provider.\n\n * 500 UnExpectedErrorOccurred - Unexpected error occurred.\n\n * 500 OperationTimeout - Operation timed out.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "204": { - "description": "The specified SQL Server registration does not exist." - } - }, - "x-ms-examples": { - "Deletes a SQL Server registration.": { - "$ref": "./examples/DeleteSqlServerRegistration.json" - } - } - }, - "patch": { - "tags": [ - "SqlServerRegistrations" - ], - "description": "Updates SQL Server Registration tags.", - "operationId": "SqlServerRegistrations_Update", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "name": "sqlServerRegistrationName", - "in": "path", - "description": "Name of the SQL Server registration.", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "description": "The SQL Server Registration.", - "required": true, - "schema": { - "$ref": "#/definitions/SqlServerRegistrationUpdate" - } - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully updated the SQL Server Registration.", - "schema": { - "$ref": "#/definitions/SqlServerRegistration" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 400 RPGenericUser - User Failure when calling other Resource Provider.\n\n * 400 InvalidArgument - Invalid argument '{0}'.\n\n * 400 ArgumentNotInRange - Argument '{0}' not in range.\n\n * 400 ResourceNotProvisioned - As the resource: {0} is not in a provisioned state, the request cannot be proceeded forward\n\n * 400 InvalidRgResourceId - Invalid Resourcegroup resource id specified.\n\n * 403 AccessDenied - Access denied.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 SubscriptionDoesNotExist - Subscription id does not exist.\n\n * 404 ResourceDoesNotExist - Resource does not exist.\n\n * 404 OperationIdNotFound - Operation id could not be found.\n\n * 404 OperationTypeNotFound - Operation Type not found.\n\n * 409 ResourceAlreadyExists - Resource already exists.\n\n * 409 SqlExtensionNotInstalled - SQL extension not installed.\n\n * 409 MissingMoveResources - Cannot move resources(s) because some resources are missing in the request.\n\n * 409 OperationInProgress - Operation in progress on resource already.\n\n * 409 OperationCanceled - Operation Cancelled.\n\n * 500 RPGenericSystem - System Failure when calling other Resource Provider.\n\n * 500 UnExpectedErrorOccurred - Unexpected error occurred.\n\n * 500 OperationTimeout - Operation timed out.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Updates a SQL Server Registration tags.": { - "$ref": "./examples/UpdateSqlServerRegistration.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlServerRegistrations": { - "get": { - "tags": [ - "SqlServerRegistrations" - ], - "description": "Gets all SQL Server registrations in a resource group.", - "operationId": "SqlServerRegistrations_ListByResourceGroup", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved all SQL Server registrations in the resource group.", - "schema": { - "$ref": "#/definitions/SqlServerRegistrationListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all SQL Server registrations in a resource group.": { - "$ref": "./examples/ListByResourceGroupSqlServerRegistration.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AzureData/sqlServerRegistrations": { - "get": { - "tags": [ - "SqlServerRegistrations" - ], - "description": "Gets all SQL Server registrations in a subscription.", - "operationId": "SqlServerRegistrations_List", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved all SQL Server registrations in the subscription.", - "schema": { - "$ref": "#/definitions/SqlServerRegistrationListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 404 ResourceNotFound - The requested resource was not found.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all SQL Server registrations in a subscription.": { - "$ref": "./examples/ListSubscriptionSqlServerRegistration.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlServerRegistrations/{sqlServerRegistrationName}/sqlServers/{sqlServerName}": { - "get": { - "tags": [ - "SqlServers" - ], - "description": "Gets a SQL Server.", - "operationId": "SqlServers_Get", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "name": "sqlServerRegistrationName", - "in": "path", - "description": "Name of the SQL Server registration.", - "required": true, - "type": "string" - }, - { - "name": "sqlServerName", - "in": "path", - "description": "Name of the SQL Server.", - "required": true, - "type": "string" - }, - { - "name": "$expand", - "in": "query", - "description": "The child resources to include in the response.", - "required": false, - "type": "string" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the SQL Server.", - "schema": { - "$ref": "#/definitions/SqlServer" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 400 RPGenericUser - User Failure when calling other Resource Provider.\n\n * 400 InvalidArgument - Invalid argument '{0}'.\n\n * 400 ArgumentNotInRange - Argument '{0}' not in range.\n\n * 400 ResourceNotProvisioned - As the resource: {0} is not in a provisioned state, the request cannot be proceeded forward\n\n * 400 InvalidRgResourceId - Invalid Resourcegroup resource id specified.\n\n * 403 AccessDenied - Access denied.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 SubscriptionDoesNotExist - Subscription id does not exist.\n\n * 404 ResourceDoesNotExist - Resource does not exist.\n\n * 404 OperationIdNotFound - Operation id could not be found.\n\n * 404 OperationTypeNotFound - Operation Type not found.\n\n * 409 ResourceAlreadyExists - Resource already exists.\n\n * 409 SqlExtensionNotInstalled - SQL extension not installed.\n\n * 409 MissingMoveResources - Cannot move resources(s) because some resources are missing in the request.\n\n * 409 OperationInProgress - Operation in progress on resource already.\n\n * 409 OperationCanceled - Operation Cancelled.\n\n * 500 RPGenericSystem - System Failure when calling other Resource Provider.\n\n * 500 UnExpectedErrorOccurred - Unexpected error occurred.\n\n * 500 OperationTimeout - Operation timed out.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Gets a SQL Server.": { - "$ref": "./examples/GetSqlServer.json" - } - } - }, - "put": { - "tags": [ - "SqlServers" - ], - "description": "Creates or updates a SQL Server.", - "operationId": "SqlServers_CreateOrUpdate", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "name": "sqlServerRegistrationName", - "in": "path", - "description": "Name of the SQL Server registration.", - "required": true, - "type": "string" - }, - { - "name": "sqlServerName", - "in": "path", - "description": "Name of the SQL Server.", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "description": "The SQL Server to be created or updated.", - "required": true, - "schema": { - "$ref": "#/definitions/SqlServer" - } - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully updated the SQL Server.", - "schema": { - "$ref": "#/definitions/SqlServer" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidVmResourceIdChange - Server resource id property cannot be updated.\n\n * 400 TinaAlreadyIncludedInGroup - SQL Server cannot be moved from one group to another in same operation.\n\n * 400 TinaCannotRemoveFromGroup - SQL Server cannot be removed from group.\n\n * 400 VmLocationMismatch - VM location does not match that of SQL Server.\n\n * 400 SqlSkuMismatchWithGroup - SQL sku set on the SQL Server registration does not match that of the SQL Server.\n\n * 400 VmInsufficientPermission - Insufficient permission to Vm.\n\n * 400 SingleNicOnVmAllowed - Only Single NIC Servers are allowed.\n\n * 400 InvalidTinaGroupResourceIdParameterValue - SQL Server registration resource id is not in correct format.\n\n * 400 MismatchVmGroupSubscription - Subscription id for SQL Server and SQL Server registration are different.\n\n * 400 IncompleteDomainCredentialsProperty - Incomplete input provided for domain credentials property.\n\n * 400 BYOLChangeToPAYGNotSupported - The conversion from AHUB to PAYG is not supported for BYOL images\n\n * 400 InvalidVmResourceIdParameterValue - Provided Server resource id is not valid.\n\n * 400 MismatchInTinaAndVmResourceIdSubscription - Mismatch in subscription id for SQL Server and Server resource id property.\n\n * 400 MismatchTinaAndVmName - SQL Server name is not same as the Server name provided on ServerResourceId property.\n\n * 400 MismatchTinaAndVmRgName - SQL Server resource group name is not same as the Server resource group name provided on ServerResourceId property.\n\n * 400 NotSupportedTinaOSVersion - Server OS type is not Windows. Only Windows OS versions are supported\n\n * 400 VmNotRunning - The VM is not in running state.\n\n * 400 VmAgentNotRunning - The VM agent is not installed or in running state.\n\n * 400 SqlExtNotInstalled - Sql Iaas Extension is not installed on Server.\n\n * 400 PAYGNotSupportedForNonGalleryVM - License type PAYG is invalid for this Server as this was not created from Azure marketplace image.\n\n * 400 SqlVersionMismatchWithGroup - SQL version mismatch with SQL Server registration.\n\n * 400 VmOSVersionMismatchWithGroup - OS version mismatch with group.\n\n * 400 AutoBackupEncryptionPasswordNotSpecified - Password not provided when enabling encryption as auto backup setting.\n\n * 400 BackupScheduleTypeNotSet - Backup schedule type needs to be set.\n\n * 400 BackupStorageCredentialsNotSpecified - Backup storage credentials are not specified.\n\n * 400 KeyVaultCredentialsNotSpecified - Key vault credentials not specified.\n\n * 400 SqlCredentialsNotSpecified - SQL Server credentials are not specified.\n\n * 400 IncompleteAutoPatchingSettings - Incomplete auto patching settings specified.\n\n * 400 IncompleteAutoBackupSettings - Incomplete auto backup settings specified.\n\n * 400 IncompleteSqlStorageSettings - Incomplete SQL storage settings specified.\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 400 RPGenericUser - User Failure when calling other Resource Provider.\n\n * 400 InvalidArgument - Invalid argument '{0}'.\n\n * 400 ArgumentNotInRange - Argument '{0}' not in range.\n\n * 400 ResourceNotProvisioned - As the resource: {0} is not in a provisioned state, the request cannot be proceeded forward\n\n * 400 InvalidRgResourceId - Invalid Resourcegroup resource id specified.\n\n * 403 AccessDenied - Access denied.\n\n * 404 SubscriptionDoesNotHaveTINAGroupInResourceGroup - Subscription does not have SQL Server registration in resource group.\n\n * 404 SubscriptionDoesNotHaveTINAInResourceGroup - Subscription does not have SQL Server Instance in resource group.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 SubscriptionDoesNotExist - Subscription id does not exist.\n\n * 404 ResourceDoesNotExist - Resource does not exist.\n\n * 404 OperationIdNotFound - Operation id could not be found.\n\n * 404 OperationTypeNotFound - Operation Type not found.\n\n * 409 ResourceAlreadyExists - Resource already exists.\n\n * 409 SqlExtensionNotInstalled - SQL extension not installed.\n\n * 409 MissingMoveResources - Cannot move resources(s) because some resources are missing in the request.\n\n * 409 OperationInProgress - Operation in progress on resource already.\n\n * 409 OperationCanceled - Operation Cancelled.\n\n * 500 RPGenericSystem - System Failure when calling other Resource Provider.\n\n * 500 UnExpectedErrorOccurred - Unexpected error occurred.\n\n * 500 OperationTimeout - Operation timed out.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "201": { - "description": "Successfully created the SQL Server.", - "schema": { - "$ref": "#/definitions/SqlServer" - } - } - }, - "x-ms-examples": { - "Creates or updates a SQL Server in a Registration group.": { - "$ref": "./examples/CreateOrUpdateSqlServerWithRegistrationGroup.json" - } - } - }, - "delete": { - "tags": [ - "SqlServers" - ], - "description": "Deletes a SQL Server.", - "operationId": "SqlServers_Delete", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "name": "sqlServerRegistrationName", - "in": "path", - "description": "Name of the SQL Server registration.", - "required": true, - "type": "string" - }, - { - "name": "sqlServerName", - "in": "path", - "description": "Name of the SQL Server.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the SQL Server." - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidVmResourceIdChange - Server resource id property cannot be updated.\n\n * 400 TinaAlreadyIncludedInGroup - SQL Server cannot be moved from one group to another in same operation.\n\n * 400 TinaCannotRemoveFromGroup - SQL Server cannot be removed from group.\n\n * 400 VmLocationMismatch - VM location does not match that of SQL Server.\n\n * 400 SqlSkuMismatchWithGroup - SQL sku set on the SQL Server registration does not match that of the SQL Server.\n\n * 400 VmInsufficientPermission - Insufficient permission to Vm.\n\n * 400 SingleNicOnVmAllowed - Only Single NIC Servers are allowed.\n\n * 400 InvalidTinaGroupResourceIdParameterValue - SQL Server registration resource id is not in correct format.\n\n * 400 MismatchVmGroupSubscription - Subscription id for SQL Server and SQL Server registration are different.\n\n * 400 IncompleteDomainCredentialsProperty - Incomplete input provided for domain credentials property.\n\n * 400 BYOLChangeToPAYGNotSupported - The conversion from AHUB to PAYG is not supported for BYOL images\n\n * 400 InvalidVmResourceIdParameterValue - Provided Server resource id is not valid.\n\n * 400 MismatchInTinaAndVmResourceIdSubscription - Mismatch in subscription id for SQL Server and Server resource id property.\n\n * 400 MismatchTinaAndVmName - SQL Server name is not same as the Server name provided on ServerResourceId property.\n\n * 400 MismatchTinaAndVmRgName - SQL Server resource group name is not same as the Server resource group name provided on ServerResourceId property.\n\n * 400 NotSupportedTinaOSVersion - Server OS type is not Windows. Only Windows OS versions are supported\n\n * 400 VmNotRunning - The VM is not in running state.\n\n * 400 VmAgentNotRunning - The VM agent is not installed or in running state.\n\n * 400 SqlExtNotInstalled - Sql Iaas Extension is not installed on Server.\n\n * 400 PAYGNotSupportedForNonGalleryVM - License type PAYG is invalid for this Server as this was not created from Azure marketplace image.\n\n * 400 SqlVersionMismatchWithGroup - SQL version mismatch with SQL Server registration.\n\n * 400 VmOSVersionMismatchWithGroup - OS version mismatch with group.\n\n * 400 AutoBackupEncryptionPasswordNotSpecified - Password not provided when enabling encryption as auto backup setting.\n\n * 400 BackupScheduleTypeNotSet - Backup schedule type needs to be set.\n\n * 400 BackupStorageCredentialsNotSpecified - Backup storage credentials are not specified.\n\n * 400 KeyVaultCredentialsNotSpecified - Key vault credentials not specified.\n\n * 400 SqlCredentialsNotSpecified - SQL Server credentials are not specified.\n\n * 400 IncompleteAutoPatchingSettings - Incomplete auto patching settings specified.\n\n * 400 IncompleteAutoBackupSettings - Incomplete auto backup settings specified.\n\n * 400 IncompleteSqlStorageSettings - Incomplete SQL storage settings specified.\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 400 RPGenericUser - User Failure when calling other Resource Provider.\n\n * 400 InvalidArgument - Invalid argument '{0}'.\n\n * 400 ArgumentNotInRange - Argument '{0}' not in range.\n\n * 400 ResourceNotProvisioned - As the resource: {0} is not in a provisioned state, the request cannot be proceeded forward\n\n * 400 InvalidRgResourceId - Invalid Resourcegroup resource id specified.\n\n * 403 AccessDenied - Access denied.\n\n * 404 SubscriptionDoesNotHaveTINAGroupInResourceGroup - Subscription does not have SQL Server registration in resource group.\n\n * 404 SubscriptionDoesNotHaveTINAInResourceGroup - Subscription does not have SQL Server Instance in resource group.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 SubscriptionDoesNotExist - Subscription id does not exist.\n\n * 404 ResourceDoesNotExist - Resource does not exist.\n\n * 404 OperationIdNotFound - Operation id could not be found.\n\n * 404 OperationTypeNotFound - Operation Type not found.\n\n * 409 ResourceAlreadyExists - Resource already exists.\n\n * 409 SqlExtensionNotInstalled - SQL extension not installed.\n\n * 409 MissingMoveResources - Cannot move resources(s) because some resources are missing in the request.\n\n * 409 OperationInProgress - Operation in progress on resource already.\n\n * 409 OperationCanceled - Operation Cancelled.\n\n * 500 RPGenericSystem - System Failure when calling other Resource Provider.\n\n * 500 UnExpectedErrorOccurred - Unexpected error occurred.\n\n * 500 OperationTimeout - Operation timed out.", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "204": { - "description": "The specified SQL Server does not exist." - } - }, - "x-ms-examples": { - "Deletes a SQL Server.": { - "$ref": "./examples/DeleteSqlServer.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlServerRegistrations/{sqlServerRegistrationName}/sqlServers": { - "get": { - "tags": [ - "SqlServers" - ], - "description": "Gets all SQL Servers in a SQL Server Registration.", - "operationId": "SqlServers_ListByResourceGroup", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupParameter" - }, - { - "name": "sqlServerRegistrationName", - "in": "path", - "description": "Name of the SQL Server registration.", - "required": true, - "type": "string" - }, - { - "name": "$expand", - "in": "query", - "description": "The child resources to include in the response.", - "required": false, - "type": "string" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved all SQL Servers in the SQL Server Registration.", - "schema": { - "$ref": "#/definitions/SqlServerListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all SQL Servers in a SQL Server Registration.": { - "$ref": "./examples/ListByResourceGroupSqlServer.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AzureData/sqlInstances": { - "get": { - "tags": [ - "SqlInstances" - ], - "operationId": "SqlInstances_List", - "summary": "List sqlInstance resources in the subscription", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlInstanceListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidParameterValue - An invalid value was given to parameter.\n\n * 400 InvalidCrossSubscriptionVmMove - Invalid cross subscription move of resource.\n\n * 404 ResourceNotFound - The requested resource was not found.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all SQL Instance in a subscription.": { - "$ref": "./examples/ListSubscriptionSqlIInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlInstances": { - "get": { - "tags": [ - "SqlInstances" - ], - "operationId": "SqlInstances_ListByResourceGroup", - "description": "Gets all sqlInstances in a resource group.", - "summary": "List sqlInstance resources in the resource group", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlInstanceListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all SQL Instance in a resource group.": { - "$ref": "./examples/ListByResourceGroupSqlInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlInstances/{sqlInstanceName}": { - "get": { - "tags": [ - "SqlInstances" - ], - "operationId": "SqlInstances_Get", - "description": "Retrieves a SQL Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlInstanceName", - "description": "Name of SQL Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Updates a SQL Instance tags.": { - "$ref": "./examples/GetSqlInstance.json" - } - } - }, - "put": { - "tags": [ - "SqlInstances" - ], - "operationId": "SqlInstances_Create", - "description": "Creates or replaces a SQL Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlInstanceName", - "description": "The name of SQL Instances", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "name": "parameters", - "in": "body", - "description": "The SQL Instance to be created or updated.", - "required": true, - "schema": { - "$ref": "#/definitions/SqlInstance" - } - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlInstance" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/SqlInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Updates a SQL Instance tags.": { - "$ref": "./examples/CreateOrUpdateSqlInstance.json" - } - } - }, - "delete": { - "tags": [ - "SqlInstances" - ], - "operationId": "SqlInstances_Delete", - "description": "Deletes a SQL Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlInstanceName", - "description": "The name of Sql Instances", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the SQL Instance." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "204": { - "description": "The specified SQL Instance does not exist." - } - }, - "x-ms-examples": { - "Delete a SQL Instance.": { - "$ref": "./examples/DeleteSqlInstance.json" - } - } - }, - "patch": { - "tags": [ - "SqlInstances" - ], - "operationId": "SqlInstances_Update", - "description": "Updates a SQL Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlInstanceName", - "description": "Name of sqlInstance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "name": "parameters", - "in": "body", - "description": "The SQL Instance.", - "required": true, - "schema": { - "$ref": "#/definitions/SqlInstanceUpdate" - } - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Updates a sql Instance tags.": { - "$ref": "./examples/UpdateSqlInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AzureData/postgresInstances": { - "get": { - "tags": [ - "PostgresInstances" - ], - "operationId": "PostgresInstances_List", - "summary": "List postgres Instance resources in the subscription", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PostgresInstanceListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all Postgres Instance in a subscription.": { - "$ref": "./examples/ListSubscriptionPostgresInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/postgresInstances": { - "get": { - "tags": [ - "PostgresInstances" - ], - "operationId": "PostgresInstances_ListByResourceGroup", - "description": "Get a postgres Instances list by Resource group name.", - "summary": "List postgres Instance resources in the resource group", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PostgresInstanceListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all postgres Instances in a resource group.": { - "$ref": "./examples/ListByResourceGroupPostgresInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/postgresInstances/{postgresInstanceName}": { - "get": { - "tags": [ - "PostgresInstances" - ], - "operationId": "PostgresInstances_Get", - "description": "Retrieves a postgres Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "postgresInstanceName", - "description": "Name of Postgres Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PostgresInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Gets a postgres Instances.": { - "$ref": "./examples/GetPostgresInstance.json" - } - } - }, - "put": { - "tags": [ - "PostgresInstances" - ], - "operationId": "PostgresInstances_Create", - "description": "Creates or replaces a postgres Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "postgresInstanceName", - "description": "Name of PostgresInstance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PostgresInstance" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/PostgresInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Creates or updates a postgres Instance.": { - "$ref": "./examples/CreateOrUpdatePostgresInstance.json" - } - } - }, - "delete": { - "tags": [ - "PostgresInstances" - ], - "operationId": "PostgresInstances_Delete", - "description": "Deletes a postgres Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "postgresInstanceName", - "description": "Name of Postgres Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the Postgres Instance." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "204": { - "description": "The specified Postgres Instance does not exist." - } - }, - "x-ms-examples": { - "Deletes a PostgresInstances.": { - "$ref": "./examples/DeletePostgresInstance.json" - } - } - }, - "patch": { - "tags": [ - "PostgresInstances" - ], - "operationId": "PostgresInstances_Update", - "description": "Updates a postgres Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "postgresInstanceName", - "description": "Name of Postgres Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "name": "parameters", - "in": "body", - "description": "The Postgres Instance.", - "required": true, - "schema": { - "$ref": "#/definitions/PostgresInstanceUpdate" - } - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PostgresInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Updates a postgres Instances tags.": { - "$ref": "./examples/UpdatePostgresInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AzureData/hybridDataManagers": { - "get": { - "tags": [ - "HybridDataManagers" - ], - "operationId": "HybridDataManagers_List", - "summary": "List hybridDataManager resources in the subscription", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/HybridDataManagerListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all hybridDataManagers in a subscription.": { - "$ref": "./examples/ListSubscriptionHybridDataManager.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/hybridDataManagers": { - "get": { - "tags": [ - "HybridDataManagers" - ], - "operationId": "HybridDataManagers_ListByResourceGroup", - "summary": "List hybridDataManager resources in the resource group", - "description": "Get a hybridDataManager list by Resource group name.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/HybridDataManagerListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all hybridDataManagers in a resource group.": { - "$ref": "./examples/ListByResourceGroupHybridDataManager.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/hybridDataManagers/{hybridDataManagerName}": { - "put": { - "tags": [ - "HybridDataManagers" - ], - "operationId": "HybridDataManagers_Create", - "description": "Creates or replaces a hybridDataManager resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "hybridDataManagerName", - "description": "Name of HybridDataManagerName", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/HybridDataManager" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/HybridDataManager" - } - } - }, - "x-ms-examples": { - "Updates a hybridDataManager tags.": { - "$ref": "./examples/CreateOrUpdateHybridDataManager.json" - } - } - }, - "delete": { - "tags": [ - "HybridDataManagers" - ], - "operationId": "HybridDataManagers_Delete", - "description": "Deletes a hybridDataManager resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "hybridDataManagerName", - "description": "Name of HybridDataManager", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the HybridDataManager." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "#/definitions/CloudError" - } - }, - "204": { - "description": "The specified HybridDataManager does not exist." - } - }, - "x-ms-examples": { - "Delete a HybridDataManagers.": { - "$ref": "./examples/DeleteHybridDataManager.json" - } - } - }, - "get": { - "tags": [ - "HybridDataManagers" - ], - "operationId": "HybridDataManagers_Get", - "description": "Retrieves a hybridDataManager resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "hybridDataManagerName", - "description": "Name of HybridDataManager", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/HybridDataManager" - } - } - }, - "x-ms-examples": { - "Updates a hybridDataManager tags.": { - "$ref": "./examples/GetHybridDataManager.json" - } - } - }, - "patch": { - "tags": [ - "HybridDataManagers" - ], - "operationId": "HybridDataManagers_Update", - "description": "Updates a hybridDataManager resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "hybridDataManagerName", - "description": "Name of HybridDataManager", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "name": "parameters", - "in": "body", - "description": "The HybridDataManager.", - "required": true, - "schema": { - "$ref": "#/definitions/HybridDataManagerUpdate" - } - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/HybridDataManager" - } - } - }, - "x-ms-examples": { - "Updates a hybridDataManager tags.": { - "$ref": "./examples/UpdateHybridDataManager.json" - } - } - } - } - }, - "definitions": { - "ResourceModelWithAllowedPropertySet": { - "description": "The resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set.", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "x-ms-mutability": [ - "read" - ], - "description": "Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" - }, - "name": { - "readOnly": true, - "type": "string", - "description": "The name of the resource" - }, - "type": { - "readOnly": true, - "type": "string", - "x-ms-mutability": [ - "read" - ], - "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.." - }, - "location": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource." - }, - "kind": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - "etag": { - "readOnly": true, - "type": "string", - "description": "The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. " - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Resource tags." - }, - "identity": { - "allOf": [ - { - "$ref": "#/definitions/Identity" - } - ] - }, - "sku": { - "allOf": [ - { - "$ref": "#/definitions/Sku" - } - ] - }, - "plan": { - "allOf": [ - { - "$ref": "#/definitions/Plan" - } - ] - } - }, - "x-ms-azure-resource": true - }, - "Sku": { - "description": "The resource model definition representing SKU", - "properties": { - "name": { - "type": "string", - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" - }, - "tier": { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ], - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": false - }, - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT." - }, - "size": { - "type": "string", - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " - }, - "family": { - "type": "string", - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, - "capacity": { - "type": "integer", - "format": "int32", - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted." - } - }, - "required": [ - "name" - ] - }, - "Identity": { - "description": "Identity for the resource.", - "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 - } - } - } - }, - "Plan": { - "properties": { - "name": { - "type": "string", - "description": "A user defined name of the 3rd Party Artifact that is being procured." - }, - "publisher": { - "type": "string", - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic" - }, - "product": { - "type": "string", - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. " - }, - "promotionCode": { - "type": "string", - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact." - }, - "version": { - "type": "string", - "description": "The version of the desired product/artifact." - } - }, - "description": "Plan for the resource.", - "required": [ - "name", - "publisher", - "product" - ] - }, - "OperationListResult": { - "description": "Result of the request to list SQL operations.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "Operation": { - "description": "SQL REST API operation definition.", - "type": "object", - "properties": { - "name": { - "description": "The name of the operation being performed on this particular object.", - "type": "string", - "readOnly": true - }, - "display": { - "$ref": "#/definitions/OperationDisplay", - "description": "The localized display information for this particular operation / action.", - "readOnly": true - }, - "origin": { - "description": "The intended executor of the operation.", - "enum": [ - "user", - "system" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "OperationOrigin", - "modelAsString": true - } - }, - "properties": { - "description": "Additional descriptions for the operation.", - "type": "object", - "additionalProperties": { - "type": "object" - }, - "readOnly": true, - "x-ms-client-flatten": false - } - } - }, - "OperationDisplay": { - "description": "Display metadata associated with the operation.", - "type": "object", - "properties": { - "provider": { - "description": "The localized friendly form of the resource provider name.", - "type": "string", - "readOnly": true - }, - "resource": { - "description": "The localized friendly form of the resource type related to this action/operation.", - "type": "string", - "readOnly": true - }, - "operation": { - "description": "The localized friendly name for the operation.", - "type": "string", - "readOnly": true - }, - "description": { - "description": "The localized friendly description for the operation.", - "type": "string", - "readOnly": true - } - } - }, - "SqlServerRegistrationProperties": { - "description": "The SQL server Registration properties.", - "type": "object", - "properties": { - "subscriptionId": { - "description": "Subscription Id", - "type": "string" - }, - "resourceGroup": { - "description": "Resource Group Name", - "type": "string" - }, - "propertyBag": { - "description": "Optional Properties as JSON string", - "type": "string" - } - } - }, - "Resource": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" - }, - "name": { - "readOnly": true, - "type": "string", - "description": "The name of the resource" - }, - "type": { - "readOnly": true, - "type": "string", - "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts." - } - }, - "x-ms-azure-resource": true - }, - "TrackedResource": { - "description": "The resource model definition for a ARM tracked top level resource", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Resource tags." - }, - "location": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "The geo-location where the resource lives" - } - }, - "required": [ - "location" - ], - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ] - }, - "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" - } - ] - }, - "SqlServerRegistration": { - "description": "A SQL server registration.", - "required": [ - "location" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SqlServerRegistrationProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "SqlServerRegistrationUpdate": { - "description": "An update to a SQL Server Registration.", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "SqlServerRegistrationListResult": { - "description": "Server", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlServerRegistration" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "SqlServerProperties": { - "description": "The SQL server properties.", - "type": "object", - "properties": { - "cores": { - "format": "int32", - "description": "Cores of the Sql Server.", - "type": "integer", - "x-ms-mutability": [ - "update", - "read" - ] - }, - "version": { - "description": "Version of the Sql Server.", - "type": "string" - }, - "edition": { - "description": "Sql Server Edition.", - "type": "string" - }, - "registrationID": { - "description": "ID for Parent Sql Server Registration.", - "type": "string" - }, - "propertyBag": { - "description": "Sql Server Json Property Bag.", - "type": "string" - } - } - }, - "SqlServer": { - "description": "A SQL server.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SqlServerProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "SqlServerListResult": { - "description": "A list of SQL servers.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlServer" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "PostgresInstanceProperties": { - "description": "Postgres Instance properties.", - "type": "object", - "properties": { - "hybridDataManagerId": { - "type": "string", - "description": "null" - } - } - }, - "PostgresInstance": { - "description": "A Postgres Instance.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TrackedResource", - "description": "null" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/PostgresInstanceProperties", - "x-ms-client-flatten": true, - "description": "null" - } - } - }, - "PostgresInstanceUpdate": { - "description": "An update to a Postgres Instance.", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "hybridDataManagerId": { - "type": "string", - "description": "null" - } - } - }, - "PostgresInstanceListResult": { - "description": "A list of PostgresInstance.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/PostgresInstance" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "SqlInstanceProperties": { - "description": "Properties of PostgresInstance.", - "type": "object", - "properties": { - "hybridDataManagerId": { - "type": "string", - "description": "null" - } - } - }, - "SqlInstance": { - "description": "A SqlInstance.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SqlInstanceProperties", - "description": "null", - "x-ms-client-flatten": true - } - } - }, - "SqlInstanceUpdate": { - "description": "An update to a SQL Instance.", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "SqlInstanceListResult": { - "description": "A list of SqlInstance.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlInstance" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "HybridDataManagerProperties": { - "description": "Hybrid data manager properties", - "type": "object" - }, - "HybridDataManager": { - "description": "Hybrid data manager resource", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/HybridDataManagerProperties", - "description": "null", - "x-ms-client-flatten": true - } - } - }, - "HybridDataManagerUpdate": { - "description": "An update to a HybridDataManager.", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "HybridDataManagerListResult": { - "description": "A list of HybridDataManager.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/HybridDataManager" - }, - "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": "null" - } - }, - "description": "An error response from the Azure Data 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." - }, - "ODataError": { - "properties": { - "code": { - "type": "string", - "description": "A language-independent error name." - }, - "message": { - "type": "string", - "description": "The error message." - }, - "target": { - "type": "string", - "description": "The target of the error (for example, the name of the property in error)." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/ODataError" - }, - "description": "The error details." - } - }, - "type": "object", - "description": "Information about an error." - } - }, - "parameters": { - "subscriptionId": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The ID of the Azure subscription" - }, - "resourceGroupName": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Azure resource group", - "x-ms-parameter-location": "method" - }, - "location": { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure region to use for the request", - "x-ms-parameter-location": "method" - }, - "apiVersion": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the request" - }, - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "Subscription ID that identifies an Azure subscription.", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "API version to use for the request.", - "required": true, - "type": "string", - "x-ms-parameter-location": "client" - }, - "ResourceGroupParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "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" - }, - "SqlServerNameParameter": { - "name": "SqlServerName", - "in": "path", - "description": "Name of the Sql Server.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "SqlServerRegistrationNameParameter": { - "name": "SqlServerRegistrationNameParameter", - "in": "path", - "description": "Name of the Sql Server registration.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "PostgresInstanceNameParameter": { - "in": "path", - "name": "postgresInstanceName", - "description": "The name of the resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "SqlInstanceNameParameter": { - "in": "path", - "name": "sqlInstanceName", - "description": "The name of the resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "HybridDataManagerNameParameter": { - "in": "path", - "name": "hybridDataManagerName", - "description": "The name of the resource.", - "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" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateHybridDataManager.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateHybridDataManager.json deleted file mode 100644 index 34e7096538bb..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateHybridDataManager.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "hybridDataManagerName": "testhybridDataManager", - "api-version": "2017-07-24", - "parameters": { - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "properties": {} - } - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/hybridDataManager/testhybridDataManager", - "name": "testhybridDataManager", - "type": "Microsoft.AzureData/HybridDataManager" - } - }, - "201": { - "body": { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/hybridDataManager/testhybridDataManager", - "name": "testhybridDataManager", - "type": "Microsoft.AzureData/HybridDataManager" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdatePostgresInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdatePostgresInstance.json deleted file mode 100644 index 097fd3b180a0..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdatePostgresInstance.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "postgresInstanceName": "testpostgresInstance", - "api-version": "2017-07-24", - "parameters": { - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "properties": {} - } - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstance/testpostgresInstance", - "name": "testpostgresInstance", - "type": "Microsoft.AzureData/PostgresInstance" - } - }, - "201": { - "body": { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstance/testpostgresInstance", - "name": "testsqlregistration", - "type": "Microsoft.AzureData/PostgresInstance" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateSqlInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateSqlInstance.json deleted file mode 100644 index f7c281cc1050..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateSqlInstance.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlInstanceName": "testsqlInstance", - "api-version": "2017-07-24", - "parameters": { - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "properties": {} - } - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlInstances/testsqlInstance", - "name": "testsqlInstance", - "type": "Microsoft.AzureData/SqlInstances" - } - }, - "201": { - "body": { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlInstances/testsqlInstance", - "name": "testsqlInstance", - "type": "Microsoft.AzureData/SqlInstances" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateSqlServerRegistration.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateSqlServerRegistration.json deleted file mode 100644 index 4860a6672209..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateSqlServerRegistration.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerRegistrationName": "testsqlregistration", - "api-version": "2019-07-24", - "parameters": { - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "properties": {} - } - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerRegistrations/testsqlregistration", - "name": "testsqlregistration", - "type": "Microsoft.AzureData/SqlServerRegistrations" - } - }, - "201": { - "body": { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerRegistrations/testsqlregistration", - "name": "testsqlregistration", - "type": "Microsoft.AzureData/SqlServerRegistrations" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateSqlServerWithRegistrationGroup.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateSqlServerWithRegistrationGroup.json deleted file mode 100644 index dde87d60b0b6..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/CreateOrUpdateSqlServerWithRegistrationGroup.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerRegistrationName": "testsqlregistration", - "sqlServerName": "testsqlserver", - "api-version": "2019-07-24", - "parameters": { - "properties": { - "cores": 8, - "version": "2008", - "edition": "Latin", - "propertyBag": "", - "registrationID": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerRegistrations/testsqlregistration" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "cores": 8, - "version": "2008", - "edition": "Latin", - "propertyBag": "", - "registrationID": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerRegistrations/testsqlregistration" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerRegistrations/testsqlregistration/sqlServers/testsqlserver", - "name": "testsqlserver", - "type": "Microsoft.AzureData/SqlServerRegistrations/SqlServers" - } - }, - "201": { - "body": { - "properties": { - "cores": 8, - "version": "2008", - "edition": "Latin", - "propertyBag": "", - "registrationID": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerRegistrations/testsqlregistration" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerRegistrations/testsqlregistration/sqlServers/testsqlserver", - "name": "testsqlserver", - "type": "Microsoft.AzureData/SqlServerRegistrations/SqlServers" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteHybridDataManager.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteHybridDataManager.json deleted file mode 100644 index 351de7e6d66c..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteHybridDataManager.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "hybridDataManagerName": "testhybridDataManager", - "api-version": "2017-07-24" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeletePostgresInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeletePostgresInstance.json deleted file mode 100644 index c686a6df3ab0..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeletePostgresInstance.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "postgresInstanceName": "testpostgresInstance", - "api-version": "2017-07-24" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteSqlInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteSqlInstance.json deleted file mode 100644 index 90575fe29180..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteSqlInstance.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlInstanceName": "testsqlInstance", - "api-version": "2017-07-24" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteSqlServer.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteSqlServer.json deleted file mode 100644 index eb9889d4961f..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteSqlServer.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerRegistrationName": "testsqlregistration", - "sqlServerName": "testsqlserver", - "api-version": "2019-07-24" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteSqlServerRegistration.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteSqlServerRegistration.json deleted file mode 100644 index 2fba49418309..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/DeleteSqlServerRegistration.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerRegistrationName": "testsqlregistration", - "api-version": "2019-07-24" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetHybridDataManager.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetHybridDataManager.json deleted file mode 100644 index 9219639c7e8d..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetHybridDataManager.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "hybridDataManagerName": "testhybridDataManager", - "api-version": "2017-07-24" - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/HybridDataManager/testhybridDataManager", - "name": "testhybridDataManager", - "type": "Microsoft.AzureData/HybridDataManager" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetPostgresInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetPostgresInstance.json deleted file mode 100644 index 5e6f13214fb1..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetPostgresInstance.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "postgresInstanceName": "testpostgresInstances", - "api-version": "2017-07-24" - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstances/testpostgresInstances", - "name": "testpostgresInstances", - "type": "Microsoft.AzureData/PostgresInstances" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetSqlInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetSqlInstance.json deleted file mode 100644 index 232173e7724f..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetSqlInstance.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlInstanceName": "testsqlInstance", - "api-version": "2017-07-24" - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlInstances/testsqlInstance", - "name": "testsqlInstance", - "type": "Microsoft.AzureData/SqlInstance" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetSqlServer.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetSqlServer.json deleted file mode 100644 index 53afdb38c254..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetSqlServer.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerRegistrationName": "testsqlregistration", - "sqlServerName": "testsqlserver", - "api-version": "2019-07-24", - "parameters": {} - }, - "responses": { - "200": { - "body": { - "properties": { - "cores": 8, - "version": "2008", - "edition": "Latin", - "propertyBag": "", - "registrationID": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerRegistrations/testsqlregistration" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerRegistrations/testsqlregistration/sqlServers/testsqlserver", - "name": "testsqlserver", - "type": "Microsoft.AzureData/SqlServerRegistrations/SqlServers" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetSqlServerRegistration.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetSqlServerRegistration.json deleted file mode 100644 index 6b61c3430a24..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/GetSqlServerRegistration.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerRegistrationName": "testsqlregistration", - "api-version": "2019-07-24" - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerRegistrations/testsqlregistration", - "name": "testsqlregistration", - "type": "Microsoft.AzureData/SqlServerRegistrations" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupHybridDataManager.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupHybridDataManager.json deleted file mode 100644 index 67ad06ab5ced..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupHybridDataManager.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "api-version": "2017-07-24" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/HybirdDataManager/testhybirdDataManager1", - "name": "testhybirdDataManager1", - "type": "Microsoft.AzureData/HybirdDataManager" - }, - { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/HybirdDataManager/testhybirdDataManager2", - "name": "testhybirdDataManager2", - "type": "Microsoft.AzureData/HybirdDataManager" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupPostgresInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupPostgresInstance.json deleted file mode 100644 index 98b752d055c4..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupPostgresInstance.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "api-version": "2017-07-24" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstances/testpostgresInstances1", - "name": "testpostgresInstances1", - "type": "Microsoft.AzureData/PostgresInstances" - }, - { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstances/testpostgresInstances2", - "name": "testpostgresInstances2", - "type": "Microsoft.AzureData/PostgresInstances" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupSqlInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupSqlInstance.json deleted file mode 100644 index f1e70c820ef6..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupSqlInstance.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "api-version": "2017-07-24" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlInstances/sqlInstance1", - "name": "sqlInstances1", - "type": "Microsoft.AzureData/SqlInstance" - }, - { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlInstances/sqlInstance2", - "name": "sqlInstances2", - "type": "Microsoft.AzureData/SqlInstance" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupSqlServer.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupSqlServer.json deleted file mode 100644 index d042bf261afb..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupSqlServer.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerRegistrationName": "testsqlregistration", - "api-version": "2019-07-24" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "cores": 8, - "version": "2008", - "edition": "Latin", - "propertyBag": "", - "registrationID": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerRegistrations/testsqlregistration" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerRegistrations/testsqlregistration/sqlServers/testsqlserver1", - "name": "testsqlserver1", - "type": "Microsoft.AzureData/SqlServerRegistrations/SqlServers" - }, - { - "properties": { - "cores": 16, - "version": "2008", - "edition": "Latin", - "propertyBag": "", - "registrationID": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerRegistrations/testsqlregistration" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerRegistrations/testsqlregistration/sqlServers/testsqlserver2", - "name": "testsqlserver2", - "type": "Microsoft.AzureData/SqlServerRegistrations/SqlServers" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupSqlServerRegistration.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupSqlServerRegistration.json deleted file mode 100644 index 0e5d49b13cb9..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListByResourceGroupSqlServerRegistration.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "api-version": "2019-07-24" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerRegistrations/testsqlregistration1", - "name": "testsqlregistration1", - "type": "Microsoft.AzureData/SqlServerRegistrations" - }, - { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerRegistrations/testsqlregistration2", - "name": "testsqlregistration2", - "type": "Microsoft.AzureData/SqlServerRegistrations" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListOperation.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListOperation.json deleted file mode 100644 index dcb4e2f2f95f..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListOperation.json +++ /dev/null @@ -1,148 +0,0 @@ -{ - "parameters": { - "api-version": "2019-07-24" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.AzureData/sqlServerRegistrations/read", - "display": { - "resource": "SQL Server Registration", - "operation": "Get SQL Server Registration details", - "description": "Retrives details of SQL Server Registration" - } - }, - { - "name": "Microsoft.AzureData/sqlServerRegistrations/write", - "display": { - "resource": "SQL Server Registration", - "operation": "Create a new or update existing SQL Server Registration", - "description": "Create a new or change properties of existing SQL Server Registration" - } - }, - { - "name": "Microsoft.AzureData/sqlServerRegistrations/delete", - "display": { - "resource": "SQL Server Registration", - "operation": "Delete existing SQL Server Registration", - "description": "Delete existing SQL Server Registration" - } - }, - { - "name": "Microsoft.AzureData/operations/read", - "display": { - "resource": "Available REST operations" - } - }, - { - "name": "Microsoft.AzureData/sqlServers/read", - "display": { - "operation": "Get SQL Server Instance details", - "description": "Retrieves details of SQL Server" - } - }, - { - "name": "Microsoft.AzureData/sqlServers/write", - "display": { - "operation": "Create new or update existing SQL Server", - "description": "Create a new or change properties of existing SQL Server" - } - }, - { - "name": "Microsoft.AzureData/sqlServers/delete", - "display": { - "operation": "Delete exisiting SQL Server", - "description": "Delete exisiting SQL Server" - } - }, - { - "name": "Microsoft.AzureData/sqlInstance/read", - "display": { - "operation": "Get SQL Instance details", - "description": "Retrieves details of SQL Instance" - } - }, - { - "name": "Microsoft.AzureData/sqlInstance/write", - "display": { - "operation": "Create new or update existing SQL Instance", - "description": "Create a new or change properties of existing SQL Instance" - } - }, - { - "name": "Microsoft.AzureData/sqlInstance/delete", - "display": { - "operation": "Delete exisiting SQL Instance", - "description": "Delete exisiting SQL Instance" - } - }, - { - "name": "Microsoft.AzureData/postgresInstances/read", - "display": { - "operation": "Get Postgres Instance details", - "description": "Retrieves details of Postgres Instances" - } - }, - { - "name": "Microsoft.AzureData/postgresInstances/write", - "display": { - "operation": "Create new or update existing Postgres Instances", - "description": "Create a new or change properties of existing Postgres Instances" - } - }, - { - "name": "Microsoft.AzureData/postgresInstances/delete", - "display": { - "operation": "Delete exisiting Postgres Instances", - "description": "Delete exisiting Postgres Instances" - } - }, - { - "name": "Microsoft.AzureData/hybridDataManagers/read", - "display": { - "operation": "Get HybridDataManagers details", - "description": "Retrieves details of HybridDataManagers" - } - }, - { - "name": "Microsoft.AzureData/hybridDataManagers/write", - "display": { - "operation": "Create new or update existing HybridDataManagers", - "description": "Create a new or change properties of existing HybridDataManagers" - } - }, - { - "name": "Microsoft.AzureData/hybridDataManagers/delete", - "display": { - "operation": "Delete exisiting HybridDataManagers", - "description": "Delete exisiting HybridDataManagers" - } - }, - { - "name": "Microsoft.AzureData/SqlBigDataClusters/read", - "display": { - "operation": "Get SqlBigDataClusters details", - "description": "Retrieves details of SqlBigDataClusters" - } - }, - { - "name": "Microsoft.AzureData/SqlBigDataClusters/write", - "display": { - "operation": "Create new or update existing SqlBigDataClusters", - "description": "Create a new or change properties of existing SqlBigDataClusters" - } - }, - { - "name": "Microsoft.AzureData/SqlBigDataClusters/delete", - "display": { - "operation": "Delete exisiting SqlBigDataClusters", - "description": "Delete exisiting SqlBigDataClusters" - } - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionHybridDataManager.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionHybridDataManager.json deleted file mode 100644 index 0a1dd3aaf4c1..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionHybridDataManager.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2017-07-24" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/HybirdDataManager/testhybirdDataManager1", - "name": "testhybirdDataManager1", - "type": "Microsoft.AzureData/HybirdDataManager" - }, - { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/HybirdDataManager/testhybirdDataManager2", - "name": "testhybirdDataManager2", - "type": "Microsoft.AzureData/HybirdDataManager" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionPostgresInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionPostgresInstance.json deleted file mode 100644 index 610eed7fe862..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionPostgresInstance.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2017-07-24" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstances/testpostgresInstances1", - "name": "testpostgresInstances1", - "type": "Microsoft.AzureData/PostgresInstances" - }, - { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstances/testpostgresInstances2", - "name": "testpostgresInstances2", - "type": "Microsoft.AzureData/PostgresInstances" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionSqlIInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionSqlIInstance.json deleted file mode 100644 index 1305f494cd38..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionSqlIInstance.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2017-07-24" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlInstances/sqlInstance1", - "name": "sqlInstances1", - "type": "Microsoft.AzureData/SqlInstance" - }, - { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlInstances/sqlInstance2", - "name": "sqlInstances2", - "type": "Microsoft.AzureData/SqlInstance" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionSqlServerRegistration.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionSqlServerRegistration.json deleted file mode 100644 index da42e64f694f..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/ListSubscriptionSqlServerRegistration.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2019-07-24" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerRegistrations/testsqlregistration1", - "name": "testsqlregistration1", - "type": "Microsoft.AzureData/SqlServerRegistrations" - }, - { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerRegistrations/testsqlregistration2", - "name": "testsqlregistration2", - "type": "Microsoft.AzureData/SqlServerRegistrations" - } - ] - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdateHybridDataManager.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdateHybridDataManager.json deleted file mode 100644 index 2ef5ef8d2110..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdateHybridDataManager.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "hybridDataManagerName": "testhybirdDataManager1", - "api-version": "2019-07-24", - "parameters": { - "tags": { - "mytag": "myval" - } - } - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/HybirdDataManager/testhybirdDataManager1", - "name": "testhybirdDataManager1", - "type": "Microsoft.AzureData/HybirdDataManager" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdatePostgresInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdatePostgresInstance.json deleted file mode 100644 index a3ce6886c8a0..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdatePostgresInstance.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "postgresInstanceName": "testpostgresInstance", - "api-version": "2019-07-24", - "parameters": { - "tags": { - "mytag": "myval" - } - } - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/PostgresInstance/testpostgresInstance", - "name": "testpostgresInstance", - "type": "Microsoft.AzureData/PostgresInstance" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdateSqlInstance.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdateSqlInstance.json deleted file mode 100644 index d3b432528e56..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdateSqlInstance.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlInstanceName": "testsqlInstance", - "api-version": "2017-07-24", - "parameters": { - "tags": { - "mytag": "myval" - } - } - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "northeurope", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlInstances/testsqlInstance", - "name": "testsqlInstance", - "type": "Microsoft.AzureData/SqlInstances" - } - } - } -} diff --git a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdateSqlServerRegistration.json b/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdateSqlServerRegistration.json deleted file mode 100644 index 497faa09cd9a..000000000000 --- a/specification/azuredata/resource-manager/Microsoft.AzureData/preview/2019-07-24-preview/examples/UpdateSqlServerRegistration.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerRegistrationName": "testsqlregistration", - "api-version": "2019-07-24", - "parameters": { - "tags": { - "mytag": "myval" - } - } - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureData/SqlServerRegistrations/testsqlregistration", - "name": "testsqlregistration", - "type": "Microsoft.AzureData/SqlServerRegistrations" - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/BatchManagement.json deleted file mode 100644 index a483a44e5b74..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/BatchManagement.json +++ /dev/null @@ -1,5051 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "BatchManagement", - "version": "2020-03-01", - "x-ms-code-generation-settings": { - "name": "BatchManagementClient" - } - }, - "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.Batch/batchAccounts/{accountName}": { - "put": { - "tags": [ - "BatchAccount" - ], - "operationId": "BatchAccount_Create", - "x-ms-examples": { - "BatchAccountCreate_Default": { - "$ref": "./examples/BatchAccountCreate_Default.json" - }, - "BatchAccountCreate_BYOS": { - "$ref": "./examples/BatchAccountCreate_BYOS.json" - }, - "BatchAccountCreate_PrivateLink": { - "$ref": "./examples/BatchAccountCreate_Private.json" - } - }, - "description": "Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-z0-9]+$", - "minLength": 3, - "maxLength": 24, - "description": "A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BatchAccountCreateParameters" - }, - "description": "Additional parameters for account creation." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the Batch account entity.", - "schema": { - "$ref": "#/definitions/BatchAccount" - } - }, - "202": { - "description": "The operation will be completed asynchronously.", - "headers": { - "Location": { - "description": "The URL of the resource used to check the status of the asynchronous operation.", - "type": "string" - }, - "Retry-After": { - "description": "Suggested delay to check the status of the asynchronous operation. The value is an integer that specifies the delay in seconds.", - "type": "integer", - "format": "int32" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "BatchAccount" - ], - "operationId": "BatchAccount_Update", - "x-ms-examples": { - "BatchAccountUpdate": { - "$ref": "./examples/BatchAccountUpdate.json" - } - }, - "description": "Updates the properties of an existing Batch account.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BatchAccountUpdateParameters" - }, - "description": "Additional parameters for account update." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the Batch account entity.", - "schema": { - "$ref": "#/definitions/BatchAccount" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "BatchAccount" - ], - "operationId": "BatchAccount_Delete", - "x-ms-examples": { - "BatchAccountDelete": { - "$ref": "./examples/BatchAccountDelete.json" - } - }, - "description": "Deletes the specified Batch account.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful." - }, - "202": { - "description": "The operation will be completed asynchronously.", - "headers": { - "Location": { - "description": "The URL of the resource used to check the status of the asynchronous operation.", - "type": "string" - }, - "Retry-After": { - "description": "Suggested delay to check the status of the asynchronous operation. The value is an integer that specifies the delay in seconds.", - "type": "integer", - "format": "int32" - } - } - }, - "204": { - "description": "NoContent -- account does not exist in the subscription." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "get": { - "tags": [ - "BatchAccount" - ], - "operationId": "BatchAccount_Get", - "x-ms-examples": { - "BatchAccountGet": { - "$ref": "./examples/BatchAccountGet.json" - } - }, - "description": "Gets information about the specified Batch account.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the Batch account entity.", - "schema": { - "$ref": "#/definitions/BatchAccount" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Batch/batchAccounts": { - "get": { - "tags": [ - "BatchAccount" - ], - "operationId": "BatchAccount_List", - "x-ms-examples": { - "BatchAccountList": { - "$ref": "./examples/BatchAccountList.json" - } - }, - "description": "Gets information about the Batch accounts associated with the subscription.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains a list of Batch account entities associated with the subscription.", - "schema": { - "$ref": "#/definitions/BatchAccountListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts": { - "get": { - "tags": [ - "BatchAccount" - ], - "operationId": "BatchAccount_ListByResourceGroup", - "x-ms-examples": { - "BatchAccountListByResourceGroup": { - "$ref": "./examples/BatchAccountListByResourceGroup.json" - } - }, - "description": "Gets information about the Batch accounts associated with the specified resource group.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains a list of Batch account entities associated with the resource group.", - "schema": { - "$ref": "#/definitions/BatchAccountListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/syncAutoStorageKeys": { - "post": { - "tags": [ - "BatchAccount" - ], - "operationId": "BatchAccount_SynchronizeAutoStorageKeys", - "x-ms-examples": { - "BatchAccountSynchronizeAutoStorageKeys": { - "$ref": "./examples/BatchAccountSynchronizeAutoStorageKeys.json" - } - }, - "description": "Synchronizes access keys for the auto-storage account configured for the specified Batch account.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "204": { - "description": "The operation was successful." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/regenerateKeys": { - "post": { - "tags": [ - "BatchAccount" - ], - "operationId": "BatchAccount_RegenerateKey", - "x-ms-examples": { - "BatchAccountRegenerateKey": { - "$ref": "./examples/BatchAccountRegenerateKey.json" - } - }, - "description": "Regenerates the specified account key for the Batch account.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BatchAccountRegenerateKeyParameters" - }, - "description": "The type of key to regenerate." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the Batch account keys.", - "schema": { - "$ref": "#/definitions/BatchAccountKeys" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/listKeys": { - "post": { - "tags": [ - "BatchAccount" - ], - "operationId": "BatchAccount_GetKeys", - "x-ms-examples": { - "BatchAccountGetKeys": { - "$ref": "./examples/BatchAccountGetKeys.json" - } - }, - "summary": "Gets the account keys for the specified Batch account.", - "description": "This operation applies only to Batch accounts created with a poolAllocationMode of 'BatchService'. If the Batch account was created with a poolAllocationMode of 'UserSubscription', clients cannot use access to keys to authenticate, and must use Azure Active Directory instead. In this case, getting the keys will fail.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the keys of the Batch account.", - "schema": { - "$ref": "#/definitions/BatchAccountKeys" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}/activate": { - "post": { - "tags": [ - "ApplicationPackage" - ], - "operationId": "ApplicationPackage_Activate", - "x-ms-examples": { - "ApplicationPackageActivate": { - "$ref": "./examples/ApplicationPackageActivate.json" - } - }, - "description": "Activates the specified application package. This should be done after the `ApplicationPackage` was created and uploaded. This needs to be done before an `ApplicationPackage` can be used on Pools or Tasks.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - }, - { - "$ref": "#/parameters/VersionNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ActivateApplicationPackageParameters" - }, - "description": "The parameters for the request." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the application package entity.", - "schema": { - "$ref": "#/definitions/ApplicationPackage" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}": { - "put": { - "tags": [ - "Application" - ], - "operationId": "Application_Create", - "x-ms-examples": { - "ApplicationCreate": { - "$ref": "./examples/ApplicationCreate.json" - } - }, - "description": "Adds an application to the specified Batch account.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/Application" - }, - "description": "The parameters for the request." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the application entity.", - "schema": { - "$ref": "#/definitions/Application" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "Application" - ], - "operationId": "Application_Delete", - "x-ms-examples": { - "ApplicationDelete": { - "$ref": "./examples/ApplicationDelete.json" - } - }, - "description": "Deletes an application.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful." - }, - "204": { - "description": "The operation was successful." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "get": { - "tags": [ - "Application" - ], - "operationId": "Application_Get", - "x-ms-examples": { - "ApplicationGet": { - "$ref": "./examples/ApplicationGet.json" - } - }, - "description": "Gets information about the specified application.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the application entity.", - "schema": { - "$ref": "#/definitions/Application" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "Application" - ], - "operationId": "Application_Update", - "x-ms-examples": { - "ApplicationUpdate": { - "$ref": "./examples/ApplicationUpdate.json" - } - }, - "description": "Updates settings for the specified application.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Application" - }, - "description": "The parameters for the request." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the application entity.", - "schema": { - "$ref": "#/definitions/Application" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}": { - "put": { - "tags": [ - "ApplicationPackage" - ], - "operationId": "ApplicationPackage_Create", - "x-ms-examples": { - "ApplicationPackageCreate": { - "$ref": "./examples/ApplicationPackageCreate.json" - } - }, - "description": "Creates an application package record. The record contains the SAS where the package should be uploaded to. Once it is uploaded the `ApplicationPackage` needs to be activated using `ApplicationPackageActive` before it can be used.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - }, - { - "$ref": "#/parameters/VersionNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/ApplicationPackage" - }, - "description": "The parameters for the request." - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the application package entity.", - "schema": { - "$ref": "#/definitions/ApplicationPackage" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "ApplicationPackage" - ], - "operationId": "ApplicationPackage_Delete", - "x-ms-examples": { - "ApplicationPackageDelete": { - "$ref": "./examples/ApplicationPackageDelete.json" - } - }, - "description": "Deletes an application package record and its associated binary file.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - }, - { - "$ref": "#/parameters/VersionNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful." - }, - "204": { - "description": "The operation was successful." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "get": { - "tags": [ - "ApplicationPackage" - ], - "operationId": "ApplicationPackage_Get", - "x-ms-examples": { - "ApplicationPackageGet": { - "$ref": "./examples/ApplicationPackageGet.json" - } - }, - "description": "Gets information about the specified application package.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - }, - { - "$ref": "#/parameters/VersionNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the application package entity.", - "schema": { - "$ref": "#/definitions/ApplicationPackage" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications": { - "get": { - "tags": [ - "Application" - ], - "operationId": "Application_List", - "x-ms-examples": { - "ApplicationList": { - "$ref": "./examples/ApplicationList.json" - } - }, - "description": "Lists all of the applications in the specified account.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "name": "maxresults", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "The maximum number of items to return in the response." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains a list of the application entities associated with the specified account.", - "schema": { - "$ref": "#/definitions/ListApplicationsResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions": { - "get": { - "tags": [ - "ApplicationPackage" - ], - "operationId": "ApplicationPackage_List", - "x-ms-examples": { - "ApplicationList": { - "$ref": "./examples/ApplicationPackageList.json" - } - }, - "description": "Lists all of the application packages in the specified application.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/ApplicationNameParameter" - }, - { - "name": "maxresults", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "The maximum number of items to return in the response." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains a list of the application package entities associated with the specified application.", - "schema": { - "$ref": "#/definitions/ListApplicationPackagesResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/quotas": { - "get": { - "tags": [ - "Location" - ], - "operationId": "Location_GetQuotas", - "x-ms-examples": { - "LocationGetQuotas": { - "$ref": "./examples/LocationGetQuotas.json" - } - }, - "description": "Gets the Batch service quotas for the specified subscription at the given location.", - "parameters": [ - { - "name": "locationName", - "in": "path", - "required": true, - "type": "string", - "description": "The region for which to retrieve Batch service quotas." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the Batch service quotas for the subscription in the specified location.", - "schema": { - "$ref": "#/definitions/BatchLocationQuota" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/providers/Microsoft.Batch/operations": { - "get": { - "tags": [ - "Operations" - ], - "operationId": "Operations_List", - "description": "Lists available operations for the Microsoft.Batch provider", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the list of available operations.", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/checkNameAvailability": { - "post": { - "operationId": "Location_CheckNameAvailability", - "description": "Checks whether the Batch account name is available in the specified region.", - "x-ms-examples": { - "LocationCheckNameAvailability_Available": { - "$ref": "./examples/LocationCheckNameAvailability_Available.json" - }, - "LocationCheckNameAvailability_AlreadyExists": { - "$ref": "./examples/LocationCheckNameAvailability_AlreadyExists.json" - } - }, - "parameters": [ - { - "name": "locationName", - "in": "path", - "required": true, - "type": "string", - "description": "The desired region for the name check." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityParameters" - }, - "description": "Properties needed to check the availability of a name." - } - ], - "responses": { - "200": { - "description": "Success. Returns details about whether a Batch account name is available.", - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates": { - "get": { - "tags": [ - "Certificate" - ], - "operationId": "Certificate_ListByBatchAccount", - "description": "Lists all of the certificates in the specified account.", - "x-ms-examples": { - "ListCertificates": { - "$ref": "./examples/CertificateList.json" - }, - "ListCertificates - Filter and Select": { - "$ref": "./examples/CertificateListWithFilter.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "name": "maxresults", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "The maximum number of items to return in the response." - }, - { - "name": "$select", - "in": "query", - "required": false, - "type": "string", - "description": "Comma separated list of properties that should be returned. e.g. \"properties/provisioningState\". Only top level properties under properties/ are valid for selection." - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "OData filter expression. Valid properties for filtering are \"properties/provisioningState\", \"properties/provisioningStateTransitionTime\", \"name\"." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains a list of certificates associated with the account.", - "schema": { - "$ref": "#/definitions/ListCertificatesResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}": { - "put": { - "tags": [ - "Certificate" - ], - "operationId": "Certificate_Create", - "description": "Creates a new certificate inside the specified account.", - "x-ms-examples": { - "CreateCertificate - Minimal Pfx": { - "$ref": "./examples/CertificateCreate_Minimal.json" - }, - "CreateCertificate - Minimal Cer": { - "$ref": "./examples/CertificateCreate_MinimalCer.json" - }, - "CreateCertificate - Full": { - "$ref": "./examples/CertificateCreate_Full.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/CertificateNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CertificateCreateOrUpdateParameters" - }, - "description": "Additional parameters for certificate creation." - }, - { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "description": "The entity state (ETag) version of the certificate to update. A value of \"*\" can be used to apply the operation only if the certificate already exists. If omitted, this operation will always be applied." - }, - { - "name": "If-None-Match", - "in": "header", - "required": false, - "type": "string", - "description": "Set to '*' to allow a new certificate to be created, but to prevent updating an existing certificate. Other values will be ignored." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the certificate entity.", - "schema": { - "$ref": "#/definitions/Certificate" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "Certificate" - ], - "operationId": "Certificate_Update", - "description": "Updates the properties of an existing certificate.", - "x-ms-examples": { - "UpdateCertificate": { - "$ref": "./examples/CertificateUpdate.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/CertificateNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CertificateCreateOrUpdateParameters" - }, - "description": "Certificate entity to update." - }, - { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "description": "The entity state (ETag) version of the certificate to update. This value can be omitted or set to \"*\" to apply the operation unconditionally." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the certificate entity.", - "schema": { - "$ref": "#/definitions/Certificate" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "Certificate" - ], - "operationId": "Certificate_Delete", - "description": "Deletes the specified certificate.", - "x-ms-examples": { - "CertificateDelete": { - "$ref": "./examples/CertificateDelete.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/CertificateNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful." - }, - "204": { - "description": "The operation was successful." - }, - "202": { - "description": "The operation will be completed asynchronously.", - "headers": { - "Location": { - "description": "The URL of the resource used to check the status of the asynchronous operation.", - "type": "string" - }, - "Retry-After": { - "description": "Suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds.", - "type": "integer", - "format": "int32" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "get": { - "tags": [ - "Certificate" - ], - "operationId": "Certificate_Get", - "description": "Gets information about the specified certificate.", - "x-ms-examples": { - "Get Certificate": { - "$ref": "./examples/CertificateGet.json" - }, - "Get Certificate with Deletion Error": { - "$ref": "./examples/CertificateGetWithDeletionError.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/CertificateNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the certificate entity.", - "schema": { - "$ref": "#/definitions/Certificate" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}/cancelDelete": { - "post": { - "tags": [ - "Certificate" - ], - "operationId": "Certificate_CancelDeletion", - "summary": "Cancels a failed deletion of a certificate from the specified account.", - "description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.", - "x-ms-examples": { - "CertificateCancelDeletion": { - "$ref": "./examples/CertificateCancelDeletion.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/CertificateNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the certificate entity.", - "schema": { - "$ref": "#/definitions/Certificate" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateLinkResources": { - "get": { - "tags": [ - "PrivateLinkResource" - ], - "operationId": "PrivateLinkResource_ListByBatchAccount", - "description": "Lists all of the private link resources in the specified account.", - "x-ms-examples": { - "ListPrivateLinkResource": { - "$ref": "./examples/PrivateLinkResourcesList.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "maxresults", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "The maximum number of items to return in the response." - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains a list of private link resources associated with the account.", - "schema": { - "$ref": "#/definitions/ListPrivateLinkResourcesResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateLinkResources/{privateLinkResourceName}": { - "get": { - "tags": [ - "PrivateLinkResource" - ], - "operationId": "PrivateLinkResource_Get", - "description": "Gets information about the specified private link resource.", - "x-ms-examples": { - "GetPrivateLinkResource": { - "$ref": "./examples/PrivateLinkResourceGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/PrivateLinkResourceNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the private link resource.", - "schema": { - "$ref": "#/definitions/PrivateLinkResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections": { - "get": { - "tags": [ - "PrivateEndpointConnection" - ], - "operationId": "PrivateEndpointConnection_ListByBatchAccount", - "description": "Lists all of the private endpoint connections in the specified account.", - "x-ms-examples": { - "ListPrivateEndpointConnections": { - "$ref": "./examples/PrivateEndpointConnectionsList.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "maxresults", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "The maximum number of items to return in the response." - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains a list of private link resources associated with the account.", - "schema": { - "$ref": "#/definitions/ListPrivateEndpointConnectionsResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}": { - "get": { - "tags": [ - "PrivateEndpointConnection" - ], - "operationId": "PrivateEndpointConnection_Get", - "description": "Gets information about the specified private endpoint connection.", - "x-ms-examples": { - "GetPrivateEndpointConnection": { - "$ref": "./examples/PrivateEndpointConnectionGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the private endpoint connection.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "PrivateEndpointConnection" - ], - "operationId": "PrivateEndpointConnection_Update", - "description": "Updates the properties of an existing private endpoint connection.", - "x-ms-examples": { - "UpdatePrivateEndpointConnection": { - "$ref": "./examples/PrivateEndpointConnectionUpdate.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - }, - "description": "PrivateEndpointConnection properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged." - }, - { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "description": "The state (ETag) version of the private endpoint connection to update. This value can be omitted or set to \"*\" to apply the operation unconditionally." - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the PrivateEndpointConnection.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools": { - "get": { - "tags": [ - "Pool" - ], - "operationId": "Pool_ListByBatchAccount", - "description": "Lists all of the pools in the specified account.", - "x-ms-examples": { - "ListPool": { - "$ref": "./examples/PoolList.json" - }, - "ListPoolWithFilter": { - "$ref": "./examples/PoolListWithFilter.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "name": "maxresults", - "in": "query", - "required": false, - "type": "integer", - "format": "int32", - "description": "The maximum number of items to return in the response." - }, - { - "name": "$select", - "in": "query", - "required": false, - "type": "string", - "description": "Comma separated list of properties that should be returned. e.g. \"properties/provisioningState\". Only top level properties under properties/ are valid for selection." - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "OData filter expression. Valid properties for filtering are:\n\n name\n properties/allocationState\n properties/allocationStateTransitionTime\n properties/creationTime\n properties/provisioningState\n properties/provisioningStateTransitionTime\n properties/lastModified\n properties/vmSize\n properties/interNodeCommunication\n properties/scaleSettings/autoScale\n properties/scaleSettings/fixedScale" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains a list of certificates associated with the account.", - "schema": { - "$ref": "#/definitions/ListPoolsResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}": { - "put": { - "tags": [ - "Pool" - ], - "operationId": "Pool_Create", - "description": "Creates a new pool inside the specified account.", - "x-ms-examples": { - "CreatePool - Minimal CloudServiceConfiguration": { - "$ref": "./examples/PoolCreate_MinimalCloudServiceConfiguration.json" - }, - "CreatePool - Minimal VirtualMachineConfiguration": { - "$ref": "./examples/PoolCreate_MinimalVirtualMachineConfiguration.json" - }, - "CreatePool - Full Example": { - "$ref": "./examples/PoolCreate_FullExample.json" - }, - "CreatePool - Custom Image": { - "$ref": "./examples/PoolCreate_CustomImage.json" - }, - "CreatePool - Public IPs": { - "$ref": "./examples/PoolCreate_PublicIPs.json" - }, - "CreatePool - Full VirtualMachineConfiguration": { - "$ref": "./examples/PoolCreate_VirtualMachineConfiguration.json" - }, - "CreatePool - No public IP": { - "$ref": "./examples/PoolCreate_NoPublicIPAddresses.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/PoolNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Pool" - }, - "description": "Additional parameters for pool creation." - }, - { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "description": "The entity state (ETag) version of the pool to update. A value of \"*\" can be used to apply the operation only if the pool already exists. If omitted, this operation will always be applied." - }, - { - "name": "If-None-Match", - "in": "header", - "required": false, - "type": "string", - "description": "Set to '*' to allow a new pool to be created, but to prevent updating an existing pool. Other values will be ignored." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the pool entity.", - "schema": { - "$ref": "#/definitions/Pool" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "Pool" - ], - "operationId": "Pool_Update", - "description": "Updates the properties of an existing pool.", - "x-ms-examples": { - "UpdatePool - Resize Pool": { - "$ref": "./examples/PoolUpdate_ResizePool.json" - }, - "UpdatePool - Enable Autoscale": { - "$ref": "./examples/PoolUpdate_EnableAutoScale.json" - }, - "UpdatePool - Remove Start Task": { - "$ref": "./examples/PoolUpdate_RemoveStartTask.json" - }, - "UpdatePool - Other Properties": { - "$ref": "./examples/PoolUpdate_OtherProperties.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/PoolNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Pool" - }, - "description": "Pool properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged." - }, - { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "description": "The entity state (ETag) version of the pool to update. This value can be omitted or set to \"*\" to apply the operation unconditionally." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the pool entity.", - "schema": { - "$ref": "#/definitions/Pool" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "Pool" - ], - "operationId": "Pool_Delete", - "description": "Deletes the specified pool.", - "x-ms-examples": { - "DeletePool": { - "$ref": "./examples/PoolDelete.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/PoolNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful." - }, - "204": { - "description": "The operation was successful." - }, - "202": { - "description": "The operation will be completed asynchronously.", - "headers": { - "Location": { - "description": "The URL of the resource used to check the status of the asynchronous operation.", - "type": "string" - }, - "Retry-After": { - "description": "Suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds.", - "type": "integer", - "format": "int32" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true - }, - "get": { - "tags": [ - "Pool" - ], - "operationId": "Pool_Get", - "description": "Gets information about the specified pool.", - "x-ms-examples": { - "GetPool": { - "$ref": "./examples/PoolGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/PoolNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the pool entity.", - "schema": { - "$ref": "#/definitions/Pool" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}/disableAutoScale": { - "post": { - "tags": [ - "Pool" - ], - "operationId": "Pool_DisableAutoScale", - "description": "Disables automatic scaling for a pool.", - "x-ms-examples": { - "Disable AutoScale": { - "$ref": "./examples/PoolDisableAutoScale.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/PoolNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the pool entity.", - "schema": { - "$ref": "#/definitions/Pool" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}/stopResize": { - "post": { - "tags": [ - "Pool" - ], - "operationId": "Pool_StopResize", - "summary": "Stops an ongoing resize operation on the pool.", - "description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.", - "x-ms-examples": { - "StopPoolResize": { - "$ref": "./examples/PoolStopResize.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AccountNameParameter" - }, - { - "$ref": "#/parameters/PoolNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The operation was successful. The response contains the pool entity.", - "schema": { - "$ref": "#/definitions/Pool" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - } - } - } - }, - "definitions": { - "AutoStorageBaseProperties": { - "properties": { - "storageAccountId": { - "type": "string", - "description": "The resource ID of the storage account to be used for auto-storage account." - } - }, - "required": [ - "storageAccountId" - ], - "description": "The properties related to the auto-storage account." - }, - "BatchAccountUpdateProperties": { - "properties": { - "autoStorage": { - "$ref": "#/definitions/AutoStorageBaseProperties", - "description": "The properties related to the auto-storage account." - }, - "encryption": { - "title": "The encryption configuration for the Batch account.", - "$ref": "#/definitions/EncryptionProperties" - } - }, - "description": "The properties of a Batch account." - }, - "BatchAccountCreateProperties": { - "properties": { - "autoStorage": { - "$ref": "#/definitions/AutoStorageBaseProperties", - "description": "The properties related to the auto-storage account." - }, - "poolAllocationMode": { - "title": "The allocation mode to use for creating pools in the Batch account.", - "description": "The pool allocation mode also affects how clients may authenticate to the Batch Service API. If the mode is BatchService, clients may authenticate using access keys or Azure Active Directory. If the mode is UserSubscription, clients must use Azure Active Directory. The default is BatchService.", - "$ref": "#/definitions/PoolAllocationMode" - }, - "keyVaultReference": { - "$ref": "#/definitions/KeyVaultReference", - "description": "A reference to the Azure key vault associated with the Batch account." - }, - "publicNetworkAccess": { - "title": "The network access type for accessing Azure Batch account.", - "$ref": "#/definitions/PublicNetworkAccessType" - }, - "encryption": { - "title": "The encryption configuration for the Batch account.", - "$ref": "#/definitions/EncryptionProperties" - } - }, - "description": "The properties of a Batch account." - }, - "BatchAccountCreateParameters": { - "properties": { - "location": { - "type": "string", - "description": "The region in which to create the account." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "The user-specified tags associated with the account." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/BatchAccountCreateProperties", - "description": "The properties of the Batch account." - } - }, - "required": [ - "location" - ], - "description": "Parameters supplied to the Create operation." - }, - "KeyVaultReference": { - "properties": { - "id": { - "type": "string", - "description": "The resource ID of the Azure key vault associated with the Batch account." - }, - "url": { - "type": "string", - "description": "The URL of the Azure key vault associated with the Batch account." - } - }, - "required": [ - "id", - "url" - ], - "description": "Identifies the Azure key vault associated with a Batch account." - }, - "AutoStorageProperties": { - "properties": { - "lastKeySync": { - "type": "string", - "format": "date-time", - "description": "The UTC time at which storage keys were last synchronized with the Batch account." - } - }, - "required": [ - "lastKeySync" - ], - "allOf": [ - { - "$ref": "#/definitions/AutoStorageBaseProperties" - } - ], - "description": "Contains information about the auto-storage account associated with a Batch account." - }, - "VirtualMachineFamilyCoreQuota": { - "properties": { - "name": { - "readOnly": true, - "x-nullable": false, - "type": "string", - "description": "The Virtual Machine family name." - }, - "coreQuota": { - "readOnly": true, - "x-nullable": false, - "type": "integer", - "format": "int32", - "description": "The core quota for the VM family for the Batch account." - } - }, - "description": "A VM Family and its associated core quota for the Batch account." - }, - "BatchAccountProperties": { - "properties": { - "accountEndpoint": { - "type": "string", - "readOnly": true, - "description": "The account endpoint used to interact with the Batch service." - }, - "provisioningState": { - "type": "string", - "readOnly": true, - "x-nullable": false, - "description": "The provisioned state of the resource", - "enum": [ - "Invalid", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Cancelled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": false, - "values": [ - { - "value": "Invalid", - "description": "The account is in an invalid state." - }, - { - "value": "Creating", - "description": "The account is being created." - }, - { - "value": "Deleting", - "description": "The account is being deleted." - }, - { - "value": "Succeeded", - "description": "The account has been created and is ready for use." - }, - { - "value": "Failed", - "description": "The last operation for the account is failed." - }, - { - "value": "Cancelled", - "description": "The last operation for the account is cancelled." - } - ] - } - }, - "poolAllocationMode": { - "readOnly": true, - "x-nullable": false, - "title": "The allocation mode to use for creating pools in the Batch account.", - "$ref": "#/definitions/PoolAllocationMode" - }, - "keyVaultReference": { - "title": "A reference to the Azure key vault associated with the Batch account.", - "readOnly": true, - "$ref": "#/definitions/KeyVaultReference" - }, - "publicNetworkAccess": { - "readOnly": true, - "x-nullable": true, - "title": "The network interface type for accessing Azure Batch service and Batch account operations.", - "description": "If not specified, the default value is 'enabled'.", - "$ref": "#/definitions/PublicNetworkAccessType" - }, - "autoStorage": { - "title": "The properties and status of any auto-storage account associated with the Batch account.", - "readOnly": true, - "$ref": "#/definitions/AutoStorageProperties" - }, - "encryption": { - "title": "The encryption configuration for the Batch account.", - "readOnly": true, - "$ref": "#/definitions/EncryptionProperties" - }, - "dedicatedCoreQuota": { - "readOnly": true, - "x-nullable": true, - "type": "integer", - "format": "int32", - "title": "The dedicated core quota for the Batch account.", - "description": "For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned." - }, - "lowPriorityCoreQuota": { - "readOnly": true, - "x-nullable": true, - "type": "integer", - "format": "int32", - "title": "The low-priority core quota for the Batch account.", - "description": "For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned." - }, - "dedicatedCoreQuotaPerVMFamily": { - "readOnly": true, - "x-nullable": true, - "type": "array", - "items": { - "$ref": "#/definitions/VirtualMachineFamilyCoreQuota" - }, - "description": "A list of the dedicated core quota per Virtual Machine family for the Batch account. For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned." - }, - "dedicatedCoreQuotaPerVMFamilyEnforced": { - "readOnly": true, - "x-nullable": false, - "type": "boolean", - "title": "A value indicating whether the core quota for the Batch Account is enforced per Virtual Machine family or not.", - "description": "Batch is transitioning its core quota system for dedicated cores to be enforced per Virtual Machine family. During this transitional phase, the dedicated core quota per Virtual Machine family may not yet be enforced. If this flag is false, dedicated core quota is enforced via the old dedicatedCoreQuota property on the account and does not consider Virtual Machine family. If this flag is true, dedicated core quota is enforced via the dedicatedCoreQuotaPerVMFamily property on the account, and the old dedicatedCoreQuota does not apply." - }, - "poolQuota": { - "readOnly": true, - "x-nullable": false, - "type": "integer", - "format": "int32", - "title": "The pool quota for the Batch account." - }, - "activeJobAndJobScheduleQuota": { - "readOnly": true, - "x-nullable": false, - "type": "integer", - "format": "int32", - "title": "The active job and job schedule quota for the Batch account." - } - }, - "description": "Account specific properties." - }, - "BatchAccount": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/BatchAccountProperties", - "description": "The properties associated with the account." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "description": "Contains information about an Azure Batch account." - }, - "BatchAccountUpdateParameters": { - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "The user-specified tags associated with the account." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/BatchAccountUpdateProperties", - "description": "The properties of the account." - } - }, - "description": "Parameters for updating an Azure Batch account." - }, - "BatchAccountListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/BatchAccount" - }, - "description": "The collection of Batch accounts returned by the listing operation." - }, - "nextLink": { - "type": "string", - "description": "The continuation token." - } - }, - "description": "Values returned by the List operation." - }, - "EncryptionProperties": { - "properties": { - "keySource": { - "type": "string", - "description": "Type of the key source.", - "enum": [ - "Microsoft.Batch", - "Microsoft.KeyVault" - ], - "x-ms-enum": { - "name": "KeySource", - "modelAsString": false, - "values": [ - { - "value": "Microsoft.Batch", - "description": "Batch creates and manages the encryption keys used to protect the account data." - }, - { - "value": "Microsoft.KeyVault", - "description": "The encryption keys used to protect the account data are stored in an external key vault." - } - ] - } - }, - "keyVaultProperties": { - "$ref": "#/definitions/KeyVaultProperties", - "description": "Additional details when using Microsoft.KeyVault" - } - } - }, - "KeyVaultProperties": { - "properties": { - "keyIdentifier": { - "type": "string", - "description": "Full path to the versioned secret. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053" - } - } - }, - "BatchAccountRegenerateKeyParameters": { - "properties": { - "keyName": { - "type": "string", - "description": "The type of account key to regenerate.", - "enum": [ - "Primary", - "Secondary" - ], - "x-ms-enum": { - "name": "AccountKeyType", - "modelAsString": false, - "values": [ - { - "value": "Primary", - "description": "The primary account key." - }, - { - "value": "Secondary", - "description": "The secondary account key." - } - ] - } - } - }, - "required": [ - "keyName" - ], - "description": "Parameters supplied to the RegenerateKey operation." - }, - "BatchAccountKeys": { - "properties": { - "accountName": { - "type": "string", - "readOnly": true, - "description": "The Batch account name." - }, - "primary": { - "type": "string", - "readOnly": true, - "description": "The primary key associated with the account." - }, - "secondary": { - "type": "string", - "readOnly": true, - "description": "The secondary key associated with the account." - } - }, - "description": "A set of Azure Batch account keys." - }, - "ActivateApplicationPackageParameters": { - "properties": { - "format": { - "type": "string", - "description": "The format of the application package binary file." - } - }, - "required": [ - "format" - ], - "description": "Parameters for an activating an application package." - }, - "Application": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ApplicationProperties", - "description": "The properties associated with the Application." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "description": "Contains information about an application in a Batch account." - }, - "ApplicationProperties": { - "properties": { - "displayName": { - "type": "string", - "description": "The display name for the application." - }, - "allowUpdates": { - "type": "boolean", - "description": "A value indicating whether packages within the application may be overwritten using the same version string." - }, - "defaultVersion": { - "type": "string", - "description": "The package to use if a client requests the application but does not specify a version. This property can only be set to the name of an existing package." - } - }, - "description": "The properties associated with the Application." - }, - "ApplicationPackage": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ApplicationPackageProperties", - "description": "The properties associated with the Application Package." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "description": "An application package which represents a particular version of an application." - }, - "ApplicationPackageProperties": { - "properties": { - "state": { - "type": "string", - "readOnly": true, - "description": "The current state of the application package.", - "enum": [ - "Pending", - "Active" - ], - "x-ms-enum": { - "name": "PackageState", - "modelAsString": false, - "values": [ - { - "value": "Pending", - "description": "The application package has been created but has not yet been activated." - }, - { - "value": "Active", - "description": "The application package is ready for use." - } - ] - } - }, - "format": { - "type": "string", - "readOnly": true, - "description": "The format of the application package, if the package is active." - }, - "storageUrl": { - "type": "string", - "readOnly": true, - "description": "The URL for the application package in Azure Storage." - }, - "storageUrlExpiry": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "The UTC time at which the Azure Storage URL will expire." - }, - "lastActivationTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "The time at which the package was last activated, if the package is active." - } - }, - "description": "Properties of an application package" - }, - "ListApplicationsResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Application" - }, - "description": "The list of applications." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "The result of performing list applications." - }, - "ListApplicationPackagesResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ApplicationPackage" - }, - "description": "The list of application packages." - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results." - } - }, - "description": "The result of performing list application packages." - }, - "BatchLocationQuota": { - "properties": { - "accountQuota": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "The number of Batch accounts that may be created under the subscription in the specified region." - } - }, - "description": "Quotas associated with a Batch region for a particular subscription." - }, - "Resource": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The ID of the resource." - }, - "name": { - "readOnly": true, - "type": "string", - "description": "The name of the resource." - }, - "type": { - "readOnly": true, - "type": "string", - "description": "The type of the resource." - }, - "location": { - "readOnly": true, - "type": "string", - "description": "The location of the resource." - }, - "tags": { - "readOnly": true, - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "The tags of the resource." - } - }, - "description": "A definition of an Azure resource.", - "x-ms-azure-resource": true - }, - "ProxyResource": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The ID of the resource." - }, - "name": { - "readOnly": true, - "type": "string", - "description": "The name of the resource." - }, - "type": { - "readOnly": true, - "type": "string", - "description": "The type of the resource." - }, - "etag": { - "readOnly": true, - "type": "string", - "description": "The ETag of the resource, used for concurrency statements." - } - }, - "description": "A definition of an Azure resource.", - "x-ms-azure-resource": true - }, - "PublicNetworkAccessType": { - "type": "string", - "description": "The network access type for operating on the resources in the Batch account.", - "default": "Enabled", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "PublicNetworkAccessType", - "modelAsString": false, - "values": [ - { - "value": "Enabled", - "description": "Enables connectivity to Azure Batch through public DNS." - }, - { - "value": "Disabled", - "description": "Disables public connectivity and enables private connectivity to Azure Batch Service through private endpoint resource." - } - ] - } - }, - "PoolAllocationMode": { - "type": "string", - "description": "The allocation mode for creating pools in the Batch account.", - "enum": [ - "BatchService", - "UserSubscription" - ], - "x-ms-enum": { - "name": "PoolAllocationMode", - "modelAsString": false, - "values": [ - { - "value": "BatchService", - "description": "Pools will be allocated in subscriptions owned by the Batch service." - }, - { - "value": "UserSubscription", - "description": "Pools will be allocated in a subscription owned by the user." - } - ] - } - }, - "CertificateBaseProperties": { - "properties": { - "thumbprintAlgorithm": { - "type": "string", - "title": "The algorithm of the certificate thumbprint.", - "description": "This must match the first portion of the certificate name. Currently required to be 'SHA1'." - }, - "thumbprint": { - "type": "string", - "title": "The thumbprint of the certificate.", - "description": "This must match the thumbprint from the name." - }, - "format": { - "type": "string", - "x-nullable": false, - "description": "The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx.", - "enum": [ - "Pfx", - "Cer" - ], - "x-ms-enum": { - "name": "CertificateFormat", - "modelAsString": false, - "values": [ - { - "value": "Pfx", - "description": "The certificate is a PFX (PKCS#12) formatted certificate or certificate chain." - }, - { - "value": "Cer", - "description": "The certificate is a base64-encoded X.509 certificate." - } - ] - } - } - } - }, - "CertificateProperties": { - "properties": { - "provisioningState": { - "type": "string", - "readOnly": true, - "x-nullable": false, - "title": "The provisioned state of the resource", - "enum": [ - "Succeeded", - "Deleting", - "Failed" - ], - "x-ms-enum": { - "name": "CertificateProvisioningState", - "modelAsString": false, - "values": [ - { - "value": "Succeeded", - "description": "The certificate is available for use in pools." - }, - { - "value": "Deleting", - "description": "The user has requested that the certificate be deleted, but the delete operation has not yet completed. You may not reference the certificate when creating or updating pools." - }, - { - "value": "Failed", - "description": "The user requested that the certificate be deleted, but there are pools that still have references to the certificate, or it is still installed on one or more compute nodes. (The latter can occur if the certificate has been removed from the pool, but the node has not yet restarted. Nodes refresh their certificates only when they restart.) You may use the cancel certificate delete operation to cancel the delete, or the delete certificate operation to retry the delete." - } - ] - } - }, - "provisioningStateTransitionTime": { - "type": "string", - "format": "date-time", - "title": "The time at which the certificate entered its current state.", - "readOnly": true - }, - "previousProvisioningState": { - "type": "string", - "readOnly": true, - "x-nullable": false, - "description": "The previous provisioned state of the resource", - "enum": [ - "Succeeded", - "Deleting", - "Failed" - ], - "x-ms-enum": { - "name": "CertificateProvisioningState", - "modelAsString": false, - "values": [ - { - "value": "Succeeded", - "description": "The certificate is available for use in pools." - }, - { - "value": "Deleting", - "description": "The user has requested that the certificate be deleted, but the delete operation has not yet completed. You may not reference the certificate when creating or updating pools." - }, - { - "value": "Failed", - "description": "The user requested that the certificate be deleted, but there are pools that still have references to the certificate, or it is still installed on one or more compute nodes. (The latter can occur if the certificate has been removed from the pool, but the node has not yet restarted. Nodes refresh their certificates only when they restart.) You may use the cancel certificate delete operation to cancel the delete, or the delete certificate operation to retry the delete." - } - ] - } - }, - "previousProvisioningStateTransitionTime": { - "type": "string", - "format": "date-time", - "title": "The time at which the certificate entered its previous state.", - "readOnly": true - }, - "publicData": { - "type": "string", - "readOnly": true, - "description": "The public key of the certificate." - }, - "deleteCertificateError": { - "readOnly": true, - "$ref": "#/definitions/DeleteCertificateError", - "title": "The error which occurred while deleting the certificate", - "description": "This is only returned when the certificate provisioningState is 'Failed'." - } - }, - "allOf": [ - { - "$ref": "#/definitions/CertificateBaseProperties" - } - ], - "description": "Certificate properties." - }, - "CertificateCreateOrUpdateProperties": { - "allOf": [ - { - "$ref": "#/definitions/CertificateBaseProperties" - } - ], - "properties": { - "data": { - "type": "string", - "title": "The base64-encoded contents of the certificate.", - "description": "The maximum size is 10KB." - }, - "password": { - "type": "string", - "title": "The password to access the certificate's private key.", - "description": "This must not be specified if the certificate format is Cer." - } - }, - "description": "Certificate properties for create operations", - "required": [ - "data" - ] - }, - "Certificate": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/CertificateProperties", - "description": "The properties associated with the certificate." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "description": "Contains information about a certificate." - }, - "CertificateCreateOrUpdateParameters": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/CertificateCreateOrUpdateProperties", - "description": "The properties associated with the certificate." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "description": "Contains information about a certificate." - }, - "ListCertificatesResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Certificate" - }, - "description": "The collection of returned certificates." - }, - "nextLink": { - "type": "string", - "description": "The continuation token." - } - }, - "description": "Values returned by the List operation." - }, - "DeleteCertificateError": { - "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/DeleteCertificateError" - }, - "description": "A list of additional details about the error." - } - }, - "required": [ - "code", - "message" - ], - "description": "An error response from the Batch service." - }, - "PrivateLinkResource": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/PrivateLinkResourceProperties", - "description": "The properties associated with the private link resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "description": "Contains information about a private link resource." - }, - "PrivateLinkResourceProperties": { - "properties": { - "groupId": { - "type": "string", - "title": "The group id of the private link resource.", - "description": "The group id is used to establish the private link connection.", - "readOnly": true - }, - "requiredMembers": { - "type": "array", - "items": { - "type": "string" - }, - "title": "The list of required members that are used to establish the private link connection.", - "readOnly": true - } - }, - "description": "Private link resource properties." - }, - "PrivateEndpointConnection": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/PrivateEndpointConnectionProperties", - "description": "The properties associated with the private endpoint connection." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "description": "Contains information about a private link resource." - }, - "PrivateEndpointConnectionProperties": { - "properties": { - "provisioningState": { - "type": "string", - "readOnly": true, - "x-nullable": false, - "title": "The provisioning state of the private endpoint connection.", - "enum": [ - "Succeeded", - "Updating", - "Failed" - ], - "x-ms-enum": { - "name": "PrivateEndpointConnectionProvisioningState", - "modelAsString": false, - "values": [ - { - "value": "Succeeded", - "description": "The connection status is final and is ready for use if Status is Approved." - }, - { - "value": "Updating", - "description": "The user has requested that the connection status be updated, but the update operation has not yet completed. You may not reference the connection when connecting the Batch account." - }, - { - "value": "Failed", - "description": "The user requested that the connection be updated and it failed. You may retry the update operation." - } - ] - } - }, - "privateEndpoint": { - "$ref": "#/definitions/PrivateEndpoint", - "title": "The ARM resource identifier of the private endpoint." - }, - "privateLinkServiceConnectionState": { - "$ref": "#/definitions/PrivateLinkServiceConnectionState", - "title": "The private link service connection state of the private endpoint connection." - } - }, - "description": "Private endpoint connection properties." - }, - "PrivateEndpoint": { - "properties": { - "id": { - "type": "string", - "title": "The ARM resource identifier of the private endpoint. This is of the form /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/privateEndpoints/{privateEndpoint}.", - "readOnly": true - } - }, - "description": "The private endpoint of the private endpoint connection." - }, - "PrivateLinkServiceConnectionState": { - "properties": { - "status": { - "$ref": "#/definitions/PrivateLinkServiceConnectionStatus", - "title": "The status for the private endpoint connection of Batch account" - }, - "description": { - "type": "string", - "title": "Description of the private Connection state" - }, - "actionRequired": { - "type": "string", - "title": "Action required on the private connection state", - "readOnly": true - } - }, - "description": "The private link service connection state of the private endpoint connection" - }, - "PrivateLinkServiceConnectionStatus": { - "type": "string", - "title": "The status of the Batch private endpoint connection", - "enum": [ - "Approved", - "Pending", - "Rejected", - "Disconnected" - ], - "x-ms-enum": { - "name": "PrivateLinkServiceConnectionStatus", - "modelAsString": false, - "values": [ - { - "value": "Approved", - "description": "The private endpoint connection is approved and can be used to access Batch account" - }, - { - "value": "Pending", - "description": "The private endpoint connection is pending and cannot be used to access Batch account" - }, - { - "value": "Rejected", - "description": "The private endpoint connection is rejected and cannot be used to access Batch account" - }, - { - "value": "Disconnected", - "description": "The private endpoint connection is disconnected and cannot be used to access Batch account" - } - ] - } - }, - "Pool": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/PoolProperties", - "description": "The properties associated with the pool." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "description": "Contains information about a pool." - }, - "PoolProperties": { - "properties": { - "displayName": { - "type": "string", - "title": "The display name for the pool.", - "description": "The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024." - }, - "lastModified": { - "type": "string", - "format": "date-time", - "title": "The last modified time of the pool.", - "description": "This is the last time at which the pool level data, such as the targetDedicatedNodes or autoScaleSettings, changed. It does not factor in node-level changes such as a compute node changing state.", - "readOnly": true - }, - "creationTime": { - "type": "string", - "format": "date-time", - "title": "The creation time of the pool.", - "readOnly": true - }, - "provisioningState": { - "type": "string", - "title": "The current state of the pool.", - "enum": [ - "Succeeded", - "Deleting" - ], - "x-ms-enum": { - "name": "PoolProvisioningState", - "modelAsString": false, - "values": [ - { - "value": "Succeeded", - "description": "The pool is available to run tasks subject to the availability of compute nodes." - }, - { - "value": "Deleting", - "description": "The user has requested that the pool be deleted, but the delete operation has not yet completed." - } - ] - }, - "readOnly": true - }, - "provisioningStateTransitionTime": { - "type": "string", - "format": "date-time", - "title": "The time at which the pool entered its current state.", - "readOnly": true - }, - "allocationState": { - "type": "string", - "title": "Whether the pool is resizing.", - "enum": [ - "Steady", - "Resizing", - "Stopping" - ], - "x-ms-enum": { - "name": "AllocationState", - "modelAsString": false, - "values": [ - { - "value": "Steady", - "description": "The pool is not resizing. There are no changes to the number of nodes in the pool in progress. A pool enters this state when it is created and when no operations are being performed on the pool to change the number of nodes." - }, - { - "value": "Resizing", - "description": "The pool is resizing; that is, compute nodes are being added to or removed from the pool." - }, - { - "value": "Stopping", - "description": "The pool was resizing, but the user has requested that the resize be stopped, but the stop request has not yet been completed." - } - ] - }, - "readOnly": true - }, - "allocationStateTransitionTime": { - "type": "string", - "format": "date-time", - "title": "The time at which the pool entered its current allocation state.", - "readOnly": true - }, - "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 (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", - "title": "This property describes how the pool nodes will be deployed - using Cloud Services or Virtual Machines.", - "description": "Using CloudServiceConfiguration specifies that the nodes should be creating using Azure Cloud Services (PaaS), while VirtualMachineConfiguration uses Azure Virtual Machines (IaaS)." - }, - "currentDedicatedNodes": { - "type": "integer", - "format": "int32", - "title": "The number of compute nodes currently in the pool.", - "readOnly": true - }, - "currentLowPriorityNodes": { - "type": "integer", - "format": "int32", - "title": "The number of low priority compute nodes currently in the pool.", - "readOnly": true - }, - "scaleSettings": { - "$ref": "#/definitions/ScaleSettings", - "title": "Settings which configure the number of nodes in the pool." - }, - "autoScaleRun": { - "$ref": "#/definitions/AutoScaleRun", - "title": "The results and errors from the last execution of the autoscale formula.", - "description": "This property is set only if the pool automatically scales, i.e. autoScaleSettings are used.", - "readOnly": true - }, - "interNodeCommunication": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "InterNodeCommunicationState", - "modelAsString": false, - "values": [ - { - "value": "Enabled", - "description": "Enable network communication between virtual machines." - }, - { - "value": "Disabled", - "description": "Disable network communication between virtual machines." - } - ] - }, - "title": "Whether the pool permits direct communication between nodes.", - "description": "This imposes restrictions on which nodes can be assigned to the pool. Enabling this value can reduce the chance of the requested number of nodes to be allocated in the pool. If not specified, this value defaults to 'Disabled'." - }, - "networkConfiguration": { - "$ref": "#/definitions/NetworkConfiguration", - "title": "The network configuration for the pool." - }, - "maxTasksPerNode": { - "type": "integer", - "format": "int32", - "title": "The maximum number of tasks that can run concurrently on a single compute node in the pool.", - "description": "The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256." - }, - "taskSchedulingPolicy": { - "$ref": "#/definitions/TaskSchedulingPolicy", - "title": "How tasks are distributed across compute nodes in a pool.", - "description": "If not specified, the default is spread." - }, - "userAccounts": { - "type": "array", - "items": { - "$ref": "#/definitions/UserAccount" - }, - "title": "The list of user accounts to be created on each node in the pool." - }, - "metadata": { - "type": "array", - "items": { - "$ref": "#/definitions/MetadataItem" - }, - "title": "A list of name-value pairs associated with the pool as metadata.", - "description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code." - }, - "startTask": { - "$ref": "#/definitions/StartTask", - "title": "A task specified to run on each compute node as it joins the pool.", - "description": "In an PATCH (update) operation, this property can be set to an empty object to remove the start task from the pool." - }, - "certificates": { - "type": "array", - "items": { - "$ref": "#/definitions/CertificateReference" - }, - "title": "The list of certificates to be installed on each compute node in the pool.", - "description": "For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory." - }, - "applicationPackages": { - "type": "array", - "items": { - "$ref": "#/definitions/ApplicationPackageReference" - }, - "title": "The list of application packages to be installed on each compute node in the pool.", - "description": "Changes to application package references affect all new compute nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. There is a maximum of 10 application package references on any given pool." - }, - "applicationLicenses": { - "type": "array", - "items": { - "type": "string" - }, - "title": "The list of application licenses the Batch service will make available on each compute node in the pool.", - "description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail." - }, - "resizeOperationStatus": { - "$ref": "#/definitions/ResizeOperationStatus", - "title": "Contains details about the current or last completed resize operation.", - "readOnly": true - }, - "mountConfiguration": { - "type": "array", - "items": { - "$ref": "#/definitions/MountConfiguration" - }, - "title": "A list of file systems to mount on each node in the pool.", - "description": "This supports Azure Files, NFS, CIFS/SMB, and Blobfuse." - } - }, - "description": "Pool properties." - }, - "DeploymentConfiguration": { - "properties": { - "cloudServiceConfiguration": { - "$ref": "#/definitions/CloudServiceConfiguration", - "title": "The cloud service configuration for the pool.", - "description": "This property and virtualMachineConfiguration are mutually exclusive and one of the properties must be specified. This property cannot be specified if the Batch account was created with its poolAllocationMode property set to 'UserSubscription'." - }, - "virtualMachineConfiguration": { - "$ref": "#/definitions/VirtualMachineConfiguration", - "title": "The virtual machine configuration for the pool.", - "description": "This property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified." - } - }, - "title": "Deployment configuration properties." - }, - "ScaleSettings": { - "properties": { - "fixedScale": { - "$ref": "#/definitions/FixedScaleSettings", - "title": "Fixed scale settings for the pool.", - "description": "This property and autoScale are mutually exclusive and one of the properties must be specified." - }, - "autoScale": { - "$ref": "#/definitions/AutoScaleSettings", - "title": "AutoScale settings for the pool.", - "description": "This property and fixedScale are mutually exclusive and one of the properties must be specified." - } - }, - "title": "Scale settings for the pool", - "description": "Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes." - }, - "AutoScaleSettings": { - "properties": { - "formula": { - "type": "string", - "title": "A formula for the desired number of compute nodes in the pool.", - "externalDocs": { - "url": "https://docs.microsoft.com/en-us/azure/batch/batch-automatic-scaling", - "description": "Create an automatic scaling formula for scaling compute nodes in a Batch pool" - } - }, - "evaluationInterval": { - "type": "string", - "format": "duration", - "title": "The time interval at which to automatically adjust the pool size according to the autoscale formula.", - "description": "If omitted, the default value is 15 minutes (PT15M)." - } - }, - "required": [ - "formula" - ], - "title": "AutoScale settings for the pool." - }, - "FixedScaleSettings": { - "properties": { - "resizeTimeout": { - "type": "string", - "format": "duration", - "title": "The timeout for allocation of compute nodes to the pool.", - "description": "The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." - }, - "targetDedicatedNodes": { - "type": "integer", - "format": "int32", - "title": "The desired number of dedicated compute nodes in the pool.", - "description": "At least one of targetDedicatedNodes, targetLowPriority nodes must be set." - }, - "targetLowPriorityNodes": { - "type": "integer", - "format": "int32", - "title": "The desired number of low-priority compute nodes in the pool.", - "description": "At least one of targetDedicatedNodes, targetLowPriority nodes must be set." - }, - "nodeDeallocationOption": { - "title": "Determines what to do with a node and its running task(s) if the pool size is decreasing.", - "description": "If omitted, the default value is Requeue.", - "$ref": "#/definitions/ComputeNodeDeallocationOption" - } - }, - "title": "Fixed scale settings for the pool." - }, - "ComputeNodeDeallocationOption": { - "type": "string", - "title": "Determines what to do with a node and its running task(s) after it has been selected for deallocation.", - "enum": [ - "Requeue", - "Terminate", - "TaskCompletion", - "RetainedData" - ], - "x-ms-enum": { - "name": "ComputeNodeDeallocationOption", - "modelAsString": false, - "values": [ - { - "value": "Requeue", - "description": "Terminate running task processes and requeue the tasks. The tasks will run again when a node is available. Remove nodes as soon as tasks have been terminated." - }, - { - "value": "Terminate", - "description": "Terminate running tasks. The tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Remove nodes as soon as tasks have been terminated." - }, - { - "value": "TaskCompletion", - "description": "Allow currently running tasks to complete. Schedule no new tasks while waiting. Remove nodes when all tasks have completed." - }, - { - "value": "RetainedData", - "description": "Allow currently running tasks to complete, then wait for all task data retention periods to expire. Schedule no new tasks while waiting. Remove nodes when all task retention periods have expired." - } - ] - } - }, - "CertificateReference": { - "properties": { - "id": { - "type": "string", - "title": "The fully qualified ID of the certificate to install on the pool. This must be inside the same batch account as the pool." - }, - "storeLocation": { - "type": "string", - "title": "The location of the certificate store on the compute node into which to install the certificate.", - "description": "The default value is currentUser. This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.", - "enum": [ - "CurrentUser", - "LocalMachine" - ], - "x-ms-enum": { - "name": "CertificateStoreLocation", - "modelAsString": false, - "values": [ - { - "value": "CurrentUser", - "description": "Certificates should be installed to the CurrentUser certificate store." - }, - { - "value": "LocalMachine", - "description": "Certificates should be installed to the LocalMachine certificate store." - } - ] - } - }, - "storeName": { - "type": "string", - "title": "The name of the certificate store on the compute node into which to install the certificate.", - "description": "This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). Common store names include: My, Root, CA, Trust, Disallowed, TrustedPeople, TrustedPublisher, AuthRoot, AddressBook, but any custom store name can also be used. The default value is My." - }, - "visibility": { - "type": "array", - "items": { - "type": "string", - "x-nullable": false, - "enum": [ - "StartTask", - "Task", - "RemoteUser" - ], - "x-ms-enum": { - "name": "CertificateVisibility", - "modelAsString": false, - "values": [ - { - "value": "StartTask", - "description": "The certificate should be visible to the user account under which the start task is run. Note that if AutoUser Scope is Pool for both the StartTask and a Task, this certificate will be visible to the Task as well." - }, - { - "value": "Task", - "description": "The certificate should be visible to the user accounts under which job tasks are run." - }, - { - "value": "RemoteUser", - "description": "The certificate should be visible to the user accounts under which users remotely access the node." - } - ] - } - }, - "title": "Which user accounts on the compute node should have access to the private data of the certificate." - } - }, - "required": [ - "id" - ], - "title": "A reference to a certificate to be installed on compute nodes in a pool. This must exist inside the same account as the pool." - }, - "ApplicationPackageReference": { - "properties": { - "id": { - "type": "string", - "title": "The ID of the application package to install. This must be inside the same batch account as the pool. This can either be a reference to a specific version or the default version if one exists." - }, - "version": { - "type": "string", - "title": "The version of the application to deploy. If omitted, the default version is deployed.", - "description": "If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409." - } - }, - "title": "Link to an application package inside the batch account", - "required": [ - "id" - ] - }, - "ResizeError": { - "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." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/ResizeError" - }, - "title": "Additional details about the error." - } - }, - "title": "An error that occurred when resizing a pool.", - "required": [ - "code", - "message" - ] - }, - "AutoScaleRunError": { - "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." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/AutoScaleRunError" - }, - "title": "Additional details about the error." - } - }, - "title": "An error that occurred when autoscaling a pool.", - "required": [ - "code", - "message" - ] - }, - "AutoScaleRun": { - "properties": { - "evaluationTime": { - "type": "string", - "format": "date-time", - "title": "The time at which the autoscale formula was last evaluated." - }, - "results": { - "type": "string", - "title": "The final values of all variables used in the evaluation of the autoscale formula.", - "description": "Each variable value is returned in the form $variable=value, and variables are separated by semicolons." - }, - "error": { - "$ref": "#/definitions/AutoScaleRunError", - "title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful." - } - }, - "required": [ - "evaluationTime" - ], - "title": "The results and errors from an execution of a pool autoscale formula." - }, - "VirtualMachineConfiguration": { - "properties": { - "imageReference": { - "$ref": "#/definitions/ImageReference", - "title": "A reference to the Azure Virtual Machines Marketplace Image or the custom Virtual Machine Image to use." - }, - "nodeAgentSkuId": { - "type": "string", - "title": "The SKU of the Batch node agent to be provisioned on compute nodes in the pool.", - "description": "The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation." - }, - "windowsConfiguration": { - "$ref": "#/definitions/WindowsConfiguration", - "title": "Windows operating system settings on the virtual machine.", - "description": "This property must not be specified if the imageReference specifies a Linux OS image." - }, - "dataDisks": { - "type": "array", - "items": { - "$ref": "#/definitions/DataDisk" - }, - "title": "The configuration for data disks attached to the compute nodes in the pool.", - "description": "This property must be specified if the compute nodes in the pool need to have empty data disks attached to them." - }, - "licenseType": { - "type": "string", - "title": "The type of on-premises license to be used when deploying the operating system.", - "description": "This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:\n\n Windows_Server - The on-premises license is for Windows Server.\n Windows_Client - The on-premises license is for Windows Client.\n" - }, - "containerConfiguration": { - "$ref": "#/definitions/ContainerConfiguration", - "title": "The container configuration for the pool.", - "description": "If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it." - }, - "diskEncryptionConfiguration": { - "$ref": "#/definitions/DiskEncryptionConfiguration", - "title": "The disk encryption configuration for the pool.", - "description": "If specified, encryption is performed on each node in the pool during node provisioning." - } - }, - "required": [ - "imageReference", - "nodeAgentSkuId" - ], - "title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure." - }, - "ContainerRegistry": { - "properties": { - "registryServer": { - "type": "string", - "title": "The registry URL.", - "description": "If omitted, the default is \"docker.io\"." - }, - "username": { - "type": "string", - "x-ms-client-name": "userName", - "title": "The user name to log into the registry server." - }, - "password": { - "type": "string", - "title": "The password to log into the registry server." - } - }, - "required": [ - "username", - "password" - ], - "title": "A private container registry." - }, - "DiskEncryptionConfiguration": { - "properties": { - "targets": { - "type": "array", - "items": { - "type": "string", - "x-nullable": false, - "title": "The disks to encrypt on each compute node.", - "description": "If omitted, no disks on the compute nodes in the pool will be encrypted.", - "enum": [ - "OsDisk", - "TemporaryDisk" - ], - "x-ms-enum": { - "name": "DiskEncryptionTarget", - "modelAsString": false, - "values": [ - { - "value": "OsDisk", - "description": "The OS Disk on the compute node is encrypted.", - "name": "OsDisk" - }, - { - "value": "TemporaryDisk", - "description": "The temporary disk on the compute node is encrypted. On Linux this encryption applies to other partitions (such as those on mounted data disks) when encryption occurs at boot time.", - "name": "TemporaryDisk" - } - ] - } - }, - "title": "The list of disk targets Batch Service will encrypt on the compute node", - "description": "On Linux pool, only \"TemporaryDisk\" is supported; on Windows pool, \"OsDisk\" and \"TemporaryDisk\" must be specified." - } - }, - "description": "The disk encryption configuration applied on compute nodes in the pool. Disk encryption configuration is not supported on Linux pool created with Virtual Machine Image or Shared Image Gallery Image." - }, - "ContainerConfiguration": { - "properties": { - "type": { - "type": "string", - "title": "The container technology to be used.", - "enum": [ - "DockerCompatible" - ], - "x-ms-enum": { - "name": "ContainerType", - "modelAsString": false, - "values": [ - { - "value": "DockerCompatible", - "description": "A Docker compatible container technology will be used to launch the containers." - } - ] - } - }, - "containerImageNames": { - "type": "array", - "items": { - "type": "string" - }, - "title": "The collection of container image names.", - "description": "This is the full image reference, as would be specified to \"docker pull\". An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry." - }, - "containerRegistries": { - "type": "array", - "items": { - "$ref": "#/definitions/ContainerRegistry" - }, - "title": "Additional private registries from which containers can be pulled.", - "description": "If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here." - } - }, - "required": [ - "type" - ], - "title": "The configuration for container-enabled pools." - }, - "WindowsConfiguration": { - "properties": { - "enableAutomaticUpdates": { - "type": "boolean", - "title": "Whether automatic updates are enabled on the virtual machine.", - "description": "If omitted, the default value is true." - } - }, - "title": "Windows operating system settings to apply to the virtual machine." - }, - "ImageReference": { - "properties": { - "publisher": { - "type": "string", - "title": "The publisher of the Azure Virtual Machines Marketplace image.", - "description": "For example, Canonical or MicrosoftWindowsServer." - }, - "offer": { - "type": "string", - "title": "The offer type of the Azure Virtual Machines Marketplace image.", - "description": "For example, UbuntuServer or WindowsServer." - }, - "sku": { - "type": "string", - "title": "The SKU of the Azure Virtual Machines Marketplace image.", - "description": "For example, 18.04-LTS or 2019-Datacenter." - }, - "version": { - "type": "string", - "title": "The version of the Azure Virtual Machines Marketplace image.", - "description": "A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'." - }, - "id": { - "type": "string", - "title": "The ARM resource identifier of the Shared Image Gallery Image. Compute Nodes in the Pool will be created using this Image Id. This is of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionId}.", - "description": "This property is mutually exclusive with other properties. The Shared Image Gallery image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration." - } - }, - "title": "A reference to an Azure Virtual Machines Marketplace image or the Azure Image resource of a custom Virtual Machine. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation." - }, - "DataDisk": { - "properties": { - "lun": { - "type": "integer", - "format": "int32", - "title": "The logical unit number.", - "description": "The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun." - }, - "caching": { - "$ref": "#/definitions/CachingType", - "title": "The type of caching to be enabled for the data disks.", - "description": "Values are:\n\n none - The caching mode for the disk is not enabled.\n readOnly - The caching mode for the disk is read only.\n readWrite - The caching mode for the disk is read and write.\n\n The default value for caching is none. For information about the caching options see: https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/." - }, - "diskSizeGB": { - "type": "integer", - "format": "int32", - "title": "The initial disk size in GB when creating new data disk." - }, - "storageAccountType": { - "title": "The storage account type to be used for the data disk.", - "description": "If omitted, the default is \"Standard_LRS\". Values are:\n\n Standard_LRS - The data disk should use standard locally redundant storage.\n Premium_LRS - The data disk should use premium locally redundant storage.", - "$ref": "#/definitions/StorageAccountType" - } - }, - "required": [ - "lun", - "diskSizeGB" - ], - "description": "Settings which will be used by the data disks associated to Compute Nodes in the Pool. When using attached data disks, you need to mount and format the disks from within a VM to use them." - }, - "TaskSchedulingPolicy": { - "properties": { - "nodeFillType": { - "type": "string", - "title": "How tasks should be distributed across compute nodes.", - "enum": [ - "Spread", - "Pack" - ], - "x-ms-enum": { - "name": "ComputeNodeFillType", - "modelAsString": false, - "values": [ - { - "value": "Spread", - "description": "Tasks should be assigned evenly across all nodes in the pool." - }, - { - "value": "Pack", - "description": "As many tasks as possible (maxTasksPerNode) should be assigned to each node in the pool before any tasks are assigned to the next node in the pool." - } - ] - } - } - }, - "required": [ - "nodeFillType" - ], - "title": "Specifies how tasks should be distributed across compute nodes." - }, - "LinuxUserConfiguration": { - "properties": { - "uid": { - "type": "integer", - "format": "int32", - "title": "The user ID of the user account.", - "description": "The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the uid." - }, - "gid": { - "type": "integer", - "format": "int32", - "title": "The group ID for the user account.", - "description": "The uid and gid properties must be specified together or not at all. If not specified the underlying operating system picks the gid." - }, - "sshPrivateKey": { - "type": "string", - "title": "The SSH private key for the user account.", - "description": "The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done)." - } - }, - "title": "Properties used to create a user account on a Linux node." - }, - "WindowsUserConfiguration": { - "properties": { - "loginMode": { - "type": "string", - "title": "Login mode for user", - "description": "Specifies login mode for the user. The default value for VirtualMachineConfiguration pools is interactive mode and for CloudServiceConfiguration pools is batch mode.", - "enum": [ - "Batch", - "Interactive" - ], - "x-ms-enum": { - "name": "LoginMode", - "modelAsString": false, - "values": [ - { - "value": "Batch", - "description": "The LOGON32_LOGON_BATCH Win32 login mode. The batch login mode is recommended for long running parallel processes." - }, - { - "value": "Interactive", - "description": "The LOGON32_LOGON_INTERACTIVE Win32 login mode. Some applications require having permissions associated with the interactive login mode. If this is the case for an application used in your task, then this option is recommended." - } - ] - } - } - }, - "title": "Properties used to create a user account on a Windows node." - }, - "UserAccount": { - "properties": { - "name": { - "type": "string", - "title": "The name of the user account." - }, - "password": { - "type": "string", - "title": "The password for the user account." - }, - "elevationLevel": { - "title": "The elevation level of the user account.", - "description": "nonAdmin - The auto user is a standard user without elevated access. admin - The auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin.", - "$ref": "#/definitions/ElevationLevel" - }, - "linuxUserConfiguration": { - "title": "The Linux-specific user configuration for the user account.", - "description": "This property is ignored if specified on a Windows pool. If not specified, the user is created with the default options.", - "$ref": "#/definitions/LinuxUserConfiguration" - }, - "windowsUserConfiguration": { - "title": "The Windows-specific user configuration for the user account.", - "description": "This property can only be specified if the user is on a Windows pool. If not specified and on a Windows pool, the user is created with the default options.", - "$ref": "#/definitions/WindowsUserConfiguration" - } - }, - "required": [ - "name", - "password" - ], - "title": "Properties used to create a user on an Azure Batch node." - }, - "StartTask": { - "properties": { - "commandLine": { - "type": "string", - "title": "The command line of the start task.", - "description": "The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using \"cmd /c MyCommand\" in Windows or \"/bin/sh -c MyCommand\" in Linux. Required if any other properties of the startTask are specified." - }, - "resourceFiles": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceFile" - }, - "title": "A list of files that the Batch service will download to the compute node before running the command line." - }, - "environmentSettings": { - "type": "array", - "items": { - "$ref": "#/definitions/EnvironmentSetting" - }, - "title": "A list of environment variable settings for the start task." - }, - "userIdentity": { - "$ref": "#/definitions/UserIdentity", - "title": "The user identity under which the start task runs.", - "description": "If omitted, the task runs as a non-administrative user unique to the task." - }, - "maxTaskRetryCount": { - "type": "integer", - "format": "int32", - "title": "The maximum number of times the task may be retried.", - "description": "The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit." - }, - "waitForSuccess": { - "type": "boolean", - "title": "Whether the Batch service should wait for the start task to complete successfully (that is, to exit with exit code 0) before scheduling any tasks on the compute node.", - "description": "If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is true." - }, - "containerSettings": { - "$ref": "#/definitions/TaskContainerSettings", - "title": "The settings for the container under which the start task runs.", - "description": "When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container." - } - }, - "title": "A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged.", - "description": "In some cases the start task may be re-run even though the node was not rebooted. Due to this, start tasks should be idempotent and exit gracefully if the setup they're performing has already been done. Special care should be taken to avoid start tasks which create breakaway process or install/launch services from the start task working directory, as this will block Batch from being able to re-run the start task." - }, - "TaskContainerSettings": { - "properties": { - "containerRunOptions": { - "type": "string", - "title": "Additional options to the container create command.", - "description": "These additional options are supplied as arguments to the \"docker create\" command, in addition to those controlled by the Batch Service." - }, - "imageName": { - "type": "string", - "title": "The image to use to create the container in which the task will run.", - "description": "This is the full image reference, as would be specified to \"docker pull\". If no tag is provided as part of the image name, the tag \":latest\" is used as a default." - }, - "registry": { - "$ref": "#/definitions/ContainerRegistry", - "title": "The private registry which contains the container image.", - "description": "This setting can be omitted if was already provided at pool creation." - }, - "workingDirectory": { - "type": "string", - "title": "A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'.", - "enum": [ - "TaskWorkingDirectory", - "ContainerImageDefault" - ], - "x-ms-enum": { - "name": "ContainerWorkingDirectory", - "modelAsString": false, - "values": [ - { - "value": "TaskWorkingDirectory", - "description": "Use the standard Batch service task working directory, which will contain the Task resource files populated by Batch." - }, - { - "value": "ContainerImageDefault", - "description": "Using container image defined working directory. Beware that this directory will not contain the resource files downloaded by Batch." - } - ] - } - } - }, - "required": [ - "imageName" - ], - "title": "The container settings for a task." - }, - "ResourceFile": { - "properties": { - "autoStorageContainerName": { - "type": "string", - "title": "The storage container name in the auto storage account.", - "description": "The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified." - }, - "storageContainerUrl": { - "type": "string", - "title": "The URL of the blob container within Azure Blob Storage.", - "description": "The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable using anonymous access; that is, the Batch service does not present any credentials when downloading the blob. There are two ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the blob, or set the ACL for the blob or its container to allow public access." - }, - "httpUrl": { - "type": "string", - "title": "The URL of the file to download.", - "description": "The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL is Azure Blob Storage, it must be readable using anonymous access; that is, the Batch service does not present any credentials when downloading the blob. There are two ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, or set the ACL for the blob or its container to allow public access." - }, - "blobPrefix": { - "type": "string", - "title": "The blob prefix to use when downloading blobs from an Azure Storage container. Only the blobs whose names begin with the specified prefix will be downloaded.", - "description": "The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded." - }, - "filePath": { - "type": "string", - "title": "The location on the compute node to which to download the file, relative to the task's working directory.", - "description": "If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..')." - }, - "fileMode": { - "type": "string", - "title": "The file permission mode attribute in octal format.", - "description": "This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file." - } - }, - "title": "A single file or multiple files to be downloaded to a compute node." - }, - "EnvironmentSetting": { - "properties": { - "name": { - "type": "string", - "title": "The name of the environment variable." - }, - "value": { - "type": "string", - "title": "The value of the environment variable." - } - }, - "required": [ - "name" - ], - "title": "An environment variable to be set on a task process." - }, - "UserIdentity": { - "properties": { - "userName": { - "type": "string", - "title": "The name of the user identity under which the task is run.", - "description": "The userName and autoUser properties are mutually exclusive; you must specify one but not both." - }, - "autoUser": { - "$ref": "#/definitions/AutoUserSpecification", - "title": "The auto user under which the task is run.", - "description": "The userName and autoUser properties are mutually exclusive; you must specify one but not both." - } - }, - "title": "The definition of the user identity under which the task is run.", - "description": "Specify either the userName or autoUser property, but not both." - }, - "AutoUserSpecification": { - "properties": { - "scope": { - "type": "string", - "title": "The scope for the auto user", - "description": "The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks.", - "enum": [ - "Task", - "Pool" - ], - "x-ms-enum": { - "name": "AutoUserScope", - "modelAsString": false, - "values": [ - { - "value": "Task", - "description": "Specifies that the service should create a new user for the task." - }, - { - "value": "Pool", - "description": "Specifies that the task runs as the common auto user account which is created on every node in a pool." - } - ] - } - }, - "elevationLevel": { - "title": "The elevation level of the auto user.", - "description": "The default value is nonAdmin.", - "$ref": "#/definitions/ElevationLevel" - } - }, - "title": "Specifies the parameters for the auto user that runs a task on the Batch service." - }, - "ElevationLevel": { - "type": "string", - "title": "The elevation level of the user.", - "enum": [ - "NonAdmin", - "Admin" - ], - "x-ms-enum": { - "name": "ElevationLevel", - "modelAsString": false, - "values": [ - { - "value": "NonAdmin", - "description": "The user is a standard user without elevated access." - }, - { - "value": "Admin", - "description": "The user is a user with elevated access and operates with full Administrator permissions." - } - ] - } - }, - "StorageAccountType": { - "type": "string", - "title": "The storage account type for use in creating data disks.", - "enum": [ - "Standard_LRS", - "Premium_LRS" - ], - "x-ms-enum": { - "name": "StorageAccountType", - "modelAsString": false, - "values": [ - { - "value": "Standard_LRS", - "description": "The data disk should use standard locally redundant storage." - }, - { - "value": "Premium_LRS", - "description": "The data disk should use premium locally redundant storage." - } - ] - } - }, - "CachingType": { - "type": "string", - "title": "The type of caching to enable for the disk.", - "enum": [ - "None", - "ReadOnly", - "ReadWrite" - ], - "x-ms-enum": { - "name": "CachingType", - "modelAsString": false, - "values": [ - { - "value": "None", - "description": "The caching mode for the disk is not enabled." - }, - { - "value": "ReadOnly", - "description": "The caching mode for the disk is read only." - }, - { - "value": "ReadWrite", - "description": "The caching mode for the disk is read and write." - } - ] - } - }, - "IPAddressProvisioningType": { - "type": "string", - "title": "The provisioning type for Public IP Addresses for the Batch Pool.", - "enum": [ - "BatchManaged", - "UserManaged", - "NoPublicIPAddresses" - ], - "x-ms-enum": { - "name": "IPAddressProvisioningType", - "modelAsString": false, - "values": [ - { - "value": "BatchManaged", - "description": "A public IP will be created and managed by Batch. There may be multiple public IPs depending on the size of the Pool." - }, - { - "value": "UserManaged", - "description": "Public IPs are provided by the user and will be used to provision the Compute Nodes." - }, - { - "value": "NoPublicIPAddresses", - "description": "No public IP Address will be created for the Compute Nodes in the Pool." - } - ] - } - }, - "PublicIPAddressConfiguration": { - "properties": { - "provision": { - "$ref": "#/definitions/IPAddressProvisioningType", - "title": "The provisioning type for Public IP Addresses for the pool", - "description": "The default value is BatchManaged" - }, - "ipAddressIds": { - "type": "array", - "items": { - "type": "string" - }, - "title": "The list of public IPs which the Batch service will use when provisioning Compute Nodes.", - "description": "The number of IPs specified here limits the maximum size of the Pool - 50 dedicated nodes or 20 low-priority nodes can be allocated for each public IP. For example, a pool needing 150 dedicated VMs would need at least 3 public IPs specified. Each element of this collection is of the form: /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/publicIPAddresses/{ip}." - } - }, - "description": "The public IP Address configuration of the networking configuration of a Pool." - }, - "NetworkConfiguration": { - "properties": { - "subnetId": { - "type": "string", - "title": "The ARM resource identifier of the virtual network subnet which the compute nodes of the pool will join. This is of the form /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}.", - "description": "The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication. For pools created with a virtual machine configuration, enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. For pools created with a cloud service configuration, enable ports 10100, 20100, and 30100. Also enable outbound connections to Azure Storage on port 443. For cloudServiceConfiguration pools, only 'classic' VNETs are supported. For more details see: https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration", - "externalDocs": { - "url": "https://azure.microsoft.com/en-us/documentation/articles/role-based-access-built-in-roles/#classic-virtual-machine-contributor", - "description": "Setting up RBAC for Azure Batch VNets" - } - }, - "endpointConfiguration": { - "$ref": "#/definitions/PoolEndpointConfiguration", - "title": "The configuration for endpoints on compute nodes in the Batch pool.", - "description": "Pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property." - }, - "publicIPAddressConfiguration": { - "$ref": "#/definitions/PublicIPAddressConfiguration", - "title": "The Public IPAddress configuration for Compute Nodes in the Batch Pool.", - "description": "This property is only supported on Pools with the virtualMachineConfiguration property." - } - }, - "description": "The network configuration for a pool." - }, - "CloudServiceConfiguration": { - "properties": { - "osFamily": { - "type": "string", - "title": "The Azure Guest OS family to be installed on the virtual machines in the pool.", - "description": "Possible values are: 2 - OS Family 2, equivalent to Windows Server 2008 R2 SP1. 3 - OS Family 3, equivalent to Windows Server 2012. 4 - OS Family 4, equivalent to Windows Server 2012 R2. 5 - OS Family 5, equivalent to Windows Server 2016. 6 - OS Family 6, equivalent to Windows Server 2019. For more information, see Azure Guest OS Releases (https://azure.microsoft.com/documentation/articles/cloud-services-guestos-update-matrix/#releases)." - }, - "osVersion": { - "type": "string", - "title": "The Azure Guest OS version to be installed on the virtual machines in the pool.", - "description": "The default value is * which specifies the latest operating system version for the specified OS family." - } - }, - "required": [ - "osFamily" - ], - "title": "The configuration for nodes in a pool based on the Azure Cloud Services platform." - }, - "MetadataItem": { - "properties": { - "name": { - "type": "string", - "title": "The name of the metadata item." - }, - "value": { - "type": "string", - "title": "The value of the metadata item." - } - }, - "required": [ - "name", - "value" - ], - "title": "A name-value pair associated with a Batch service resource.", - "description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code." - }, - "ResizeOperationStatus": { - "properties": { - "targetDedicatedNodes": { - "type": "integer", - "format": "int32", - "title": "The desired number of dedicated compute nodes in the pool." - }, - "targetLowPriorityNodes": { - "type": "integer", - "format": "int32", - "title": "The desired number of low-priority compute nodes in the pool." - }, - "resizeTimeout": { - "type": "string", - "format": "duration", - "title": "The timeout for allocation of compute nodes to the pool or removal of compute nodes from the pool.", - "description": "The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)." - }, - "nodeDeallocationOption": { - "title": "Determines what to do with a node and its running task(s) if the pool size is decreasing.", - "description": "The default value is requeue.", - "$ref": "#/definitions/ComputeNodeDeallocationOption" - }, - "startTime": { - "type": "string", - "format": "date-time", - "title": "The time when this resize operation was started." - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/definitions/ResizeError" - }, - "title": "Details of any errors encountered while performing the last resize on the pool.", - "description": "This property is set only if an error occurred during the last pool resize, and only when the pool allocationState is Steady." - } - }, - "title": "Details about the current or last completed resize operation.", - "description": "Describes either the current operation (if the pool AllocationState is Resizing) or the previously completed operation (if the AllocationState is Steady)." - }, - "PoolEndpointConfiguration": { - "properties": { - "inboundNatPools": { - "type": "array", - "items": { - "$ref": "#/definitions/InboundNatPool" - }, - "title": "A list of inbound NAT pools that can be used to address specific ports on an individual compute node externally.", - "description": "The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400." - } - }, - "required": [ - "inboundNatPools" - ], - "title": "The endpoint configuration for a pool." - }, - "InboundNatPool": { - "properties": { - "name": { - "type": "string", - "title": "The name of the endpoint.", - "description": "The name must be unique within a Batch pool, can contain letters, numbers, underscores, periods, and hyphens. Names must start with a letter or number, must end with a letter, number, or underscore, and cannot exceed 77 characters. If any invalid values are provided the request fails with HTTP status code 400." - }, - "protocol": { - "type": "string", - "title": "The protocol of the endpoint.", - "enum": [ - "TCP", - "UDP" - ], - "x-ms-enum": { - "name": "InboundEndpointProtocol", - "modelAsString": false, - "values": [ - { - "value": "TCP", - "description": "Use TCP for the endpoint." - }, - { - "value": "UDP", - "description": "Use UDP for the endpoint." - } - ] - } - }, - "backendPort": { - "type": "integer", - "format": "int32", - "title": "The port number on the compute node.", - "description": "This must be unique within a Batch pool. Acceptable values are between 1 and 65535 except for 22, 3389, 29876 and 29877 as these are reserved. If any reserved values are provided the request fails with HTTP status code 400." - }, - "frontendPortRangeStart": { - "type": "integer", - "format": "int32", - "title": "The first port number in the range of external ports that will be used to provide inbound access to the backendPort on individual compute nodes.", - "description": "Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400." - }, - "frontendPortRangeEnd": { - "type": "integer", - "format": "int32", - "title": "The last port number in the range of external ports that will be used to provide inbound access to the backendPort on individual compute nodes.", - "description": "Acceptable values range between 1 and 65534 except ports from 50000 to 55000 which are reserved by the Batch service. All ranges within a pool must be distinct and cannot overlap. If any reserved or overlapping values are provided the request fails with HTTP status code 400." - }, - "networkSecurityGroupRules": { - "type": "array", - "title": "A list of network security group rules that will be applied to the endpoint.", - "description": "The maximum number of rules that can be specified across all the endpoints on a Batch pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.", - "items": { - "$ref": "#/definitions/NetworkSecurityGroupRule" - } - } - }, - "required": [ - "name", - "protocol", - "backendPort", - "frontendPortRangeStart", - "frontendPortRangeEnd" - ], - "title": "A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally." - }, - "NetworkSecurityGroupRule": { - "properties": { - "priority": { - "type": "integer", - "format": "int32", - "title": "The priority for this rule.", - "description": "Priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400." - }, - "access": { - "type": "string", - "title": "The action that should be taken for a specified IP address, subnet range or tag.", - "enum": [ - "Allow", - "Deny" - ], - "x-ms-enum": { - "name": "NetworkSecurityGroupRuleAccess", - "modelAsString": false, - "values": [ - { - "value": "Allow", - "description": "Allow access." - }, - { - "value": "Deny", - "description": "Deny access." - } - ] - } - }, - "sourceAddressPrefix": { - "type": "string", - "title": "The source address prefix or tag to match for the rule.", - "description": "Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400." - }, - "sourcePortRanges": { - "type": "array", - "items": { - "type": "string" - }, - "title": "The source port ranges to match for the rule.", - "description": "Valid values are '*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be *." - } - }, - "required": [ - "priority", - "access", - "sourceAddressPrefix" - ], - "title": "A network security group rule to apply to an inbound endpoint." - }, - "ListPrivateLinkResourcesResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - }, - "description": "The collection of returned private link resources." - }, - "nextLink": { - "type": "string", - "description": "The continuation token." - } - }, - "description": "Values returned by the List operation." - }, - "ListPrivateEndpointConnectionsResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpointConnection" - }, - "description": "The collection of returned private endpoint connection." - }, - "nextLink": { - "type": "string", - "description": "The continuation token." - } - }, - "description": "Values returned by the List operation." - }, - "ListPoolsResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Pool" - }, - "description": "The collection of returned pools." - }, - "nextLink": { - "type": "string", - "description": "The continuation token." - } - }, - "description": "Values returned by the List operation." - }, - "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." - }, - "Operation": { - "title": "A REST API operation", - "type": "object", - "properties": { - "name": { - "title": "The operation name.", - "description": "This is of the format {provider}/{resource}/{operation}", - "type": "string" - }, - "display": { - "title": "The object that describes the operation.", - "properties": { - "provider": { - "title": "Friendly name of the resource provider.", - "type": "string" - }, - "operation": { - "title": "The operation type.", - "description": "For example: read, write, delete, or listKeys/action", - "type": "string" - }, - "resource": { - "title": "The resource type on which the operation is performed.", - "type": "string" - }, - "description": { - "title": "The friendly name of the operation", - "type": "string" - } - } - }, - "origin": { - "title": "The intended executor of the operation.", - "type": "string" - }, - "properties": { - "title": "Properties of the operation.", - "type": "object" - } - } - }, - "OperationListResult": { - "title": "Result of the request to list REST API operations. It contains a list of operations and a URL nextLink to get the next set of results.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "title": "The list of operations supported by the resource provider." - }, - "nextLink": { - "type": "string", - "title": "The URL to get the next set of operation list results if there are any." - } - } - }, - "CheckNameAvailabilityParameters": { - "properties": { - "name": { - "type": "string", - "description": "The name to check for availability" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Batch/batchAccounts" - ], - "x-ms-enum": { - "name": "ResourceType", - "modelAsString": false, - "values": [ - { - "value": "Microsoft.Batch/batchAccounts", - "description": "The Batch account resource type.", - "name": "BatchAccounts" - } - ] - }, - "description": "The resource type." - } - }, - "required": [ - "name", - "type" - ], - "description": "Parameters for a check name availability request." - }, - "CheckNameAvailabilityResult": { - "properties": { - "nameAvailable": { - "readOnly": true, - "type": "boolean", - "description": "Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or invalid and cannot be used." - }, - "reason": { - "readOnly": true, - "type": "string", - "enum": [ - "Invalid", - "AlreadyExists" - ], - "x-ms-enum": { - "name": "NameAvailabilityReason", - "modelAsString": false, - "values": [ - { - "value": "Invalid", - "description": "The requested name is invalid." - }, - { - "value": "AlreadyExists", - "description": "The requested name is already in use." - } - ] - }, - "description": "Gets the reason that a Batch account name could not be used. The Reason element is only returned if NameAvailable is false." - }, - "message": { - "readOnly": true, - "type": "string", - "description": "Gets an error message explaining the Reason value in more detail." - } - }, - "description": "The CheckNameAvailability operation response." - }, - "MountConfiguration": { - "properties": { - "azureBlobFileSystemConfiguration": { - "$ref": "#/definitions/AzureBlobFileSystemConfiguration", - "title": "The Azure Storage Container to mount using blob FUSE on each node.", - "description": "This property is mutually exclusive with all other properties." - }, - "nfsMountConfiguration": { - "$ref": "#/definitions/NFSMountConfiguration", - "title": "The NFS file system to mount on each node.", - "description": "This property is mutually exclusive with all other properties." - }, - "cifsMountConfiguration": { - "$ref": "#/definitions/CIFSMountConfiguration", - "title": "The CIFS/SMB file system to mount on each node.", - "description": "This property is mutually exclusive with all other properties." - }, - "azureFileShareConfiguration": { - "$ref": "#/definitions/AzureFileShareConfiguration", - "title": "The Azure File Share to mount on each node.", - "description": "This property is mutually exclusive with all other properties." - } - }, - "title": "The file system to mount on each node." - }, - "AzureBlobFileSystemConfiguration": { - "properties": { - "accountName": { - "type": "string", - "title": "The Azure Storage Account name." - }, - "containerName": { - "type": "string", - "title": "The Azure Blob Storage Container name." - }, - "accountKey": { - "type": "string", - "title": "The Azure Storage Account key.", - "description": "This property is mutually exclusive with sasKey and one must be specified." - }, - "sasKey": { - "type": "string", - "title": "The Azure Storage SAS token.", - "description": "This property is mutually exclusive with accountKey and one must be specified." - }, - "blobfuseOptions": { - "type": "string", - "title": "Additional command line options to pass to the mount command.", - "description": "These are 'net use' options in Windows and 'mount' options in Linux." - }, - "relativeMountPath": { - "type": "string", - "title": "The relative path on the compute node where the file system will be mounted", - "description": "All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable." - } - }, - "required": [ - "accountName", - "containerName", - "relativeMountPath" - ], - "title": "Information used to connect to an Azure Storage Container using Blobfuse." - }, - "NFSMountConfiguration": { - "properties": { - "source": { - "type": "string", - "title": "The URI of the file system to mount." - }, - "relativeMountPath": { - "type": "string", - "title": "The relative path on the compute node where the file system will be mounted", - "description": "All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable." - }, - "mountOptions": { - "type": "string", - "title": "Additional command line options to pass to the mount command.", - "description": "These are 'net use' options in Windows and 'mount' options in Linux." - } - }, - "required": [ - "source", - "relativeMountPath" - ], - "title": "Information used to connect to an NFS file system." - }, - "CIFSMountConfiguration": { - "properties": { - "username": { - "type": "string", - "title": "The user to use for authentication against the CIFS file system." - }, - "source": { - "type": "string", - "title": "The URI of the file system to mount." - }, - "relativeMountPath": { - "type": "string", - "title": "The relative path on the compute node where the file system will be mounted", - "description": "All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable." - }, - "mountOptions": { - "type": "string", - "title": "Additional command line options to pass to the mount command.", - "description": "These are 'net use' options in Windows and 'mount' options in Linux." - }, - "password": { - "type": "string", - "title": "The password to use for authentication against the CIFS file system." - } - }, - "required": [ - "username", - "source", - "password", - "relativeMountPath" - ], - "title": "Information used to connect to a CIFS file system." - }, - "AzureFileShareConfiguration": { - "properties": { - "accountName": { - "type": "string", - "title": "The Azure Storage account name." - }, - "azureFileUrl": { - "type": "string", - "title": "The Azure Files URL.", - "description": "This is of the form 'https://{account}.file.core.windows.net/'." - }, - "accountKey": { - "type": "string", - "title": "The Azure Storage account key." - }, - "relativeMountPath": { - "type": "string", - "title": "The relative path on the compute node where the file system will be mounted", - "description": "All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable." - }, - "mountOptions": { - "type": "string", - "title": "Additional command line options to pass to the mount command.", - "description": "These are 'net use' options in Windows and 'mount' options in Linux." - } - }, - "required": [ - "accountName", - "azureFileUrl", - "accountKey", - "relativeMountPath" - ], - "title": "Information used to connect to an Azure Fileshare." - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)" - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to be used with the HTTP request." - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group that contains the Batch account.", - "x-ms-parameter-location": "method" - }, - "AccountNameParameter": { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9]+$", - "minLength": 3, - "maxLength": 24, - "description": "The name of the Batch account.", - "x-ms-parameter-location": "method" - }, - "CertificateNameParameter": { - "name": "certificateName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[\\w]+-[\\w]+$", - "minLength": 5, - "maxLength": 45, - "description": "The identifier for the certificate. This must be made up of algorithm and thumbprint separated by a dash, and must match the certificate data in the request. For example SHA1-a3d1c5.", - "x-ms-parameter-location": "method" - }, - "PoolNameParameter": { - "name": "poolName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9_-]+$", - "minLength": 1, - "maxLength": 64, - "description": "The pool name. This must be unique within the account.", - "x-ms-parameter-location": "method" - }, - "PrivateLinkResourceNameParameter": { - "name": "privateLinkResourceName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9_-]+$", - "minLength": 1, - "maxLength": 64, - "description": "The private link resource name. This must be unique within the account.", - "x-ms-parameter-location": "method" - }, - "PrivateEndpointConnectionNameParameter": { - "name": "privateEndpointConnectionName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9_-]+$", - "minLength": 1, - "maxLength": 64, - "description": "The private endpoint connection name. This must be unique within the account.", - "x-ms-parameter-location": "method" - }, - "ApplicationNameParameter": { - "name": "applicationName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9_-]+$", - "minLength": 1, - "maxLength": 64, - "description": "The name of the application. This must be unique within the account.", - "x-ms-parameter-location": "method" - }, - "VersionNameParameter": { - "name": "versionName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9_-][a-zA-Z0-9_.-]*$", - "minLength": 1, - "maxLength": 64, - "description": "The version of the application.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationCreate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationCreate.json deleted file mode 100644 index 8976d27b3d44..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationCreate.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid", - "applicationName": "app1", - "parameters": { - "properties": { - "allowUpdates": false, - "displayName": "myAppName" - } - } - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D64F8EBB3DC411\"" - }, - "body": { - "type": "Microsoft.Batch/batchAccounts/applications", - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1", - "name": "app1", - "etag": "W/\"0x8D64F8EBB3DC411\"", - "properties": { - "allowUpdates": false, - "displayName": "myAppName" - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationDelete.json deleted file mode 100644 index 7602b5944ca0..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid", - "applicationName": "app1" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationGet.json deleted file mode 100644 index 0dc566ab4bca..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationGet.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid", - "applicationName": "app1" - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D64F915BDF7F00\"" - }, - "body": { - "type": "Microsoft.Batch/batchAccounts/applications", - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1", - "name": "app1", - "etag": "W/\"0x8D64F915BDF7F00\"", - "properties": { - "allowUpdates": true, - "displayName": "Sample Application" - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationList.json deleted file mode 100644 index 9d690ab48044..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationList.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "type": "Microsoft.Batch/batchAccounts/applications", - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1", - "name": "app1", - "etag": "W/\"0x8D64F91A9089879\"", - "properties": { - "allowUpdates": false, - "defaultVersion": "1" - } - }, - { - "type": "Microsoft.Batch/batchAccounts/applications", - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app2", - "name": "app1", - "etag": "W/\"0x8D64F91A9089879\"", - "properties": { - "allowUpdates": false, - "defaultVersion": "2.0", - "displayName": "myAppName" - } - } - ] - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationPackageActivate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationPackageActivate.json deleted file mode 100644 index 42cb102333e0..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationPackageActivate.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid", - "applicationName": "app1", - "versionName": "1", - "parameters": { - "format": "zip" - } - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D64FEC83A3B436\"" - }, - "body": { - "type": "Microsoft.Batch/batchAccounts/applications/versions", - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/1", - "name": "1", - "etag": "W/\"0x8D64FEC83A3B436\"", - "properties": { - "state": "Active", - "format": "zip", - "lastActivationTime": "2017-06-27T18:48:09.9330991Z" - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationPackageCreate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationPackageCreate.json deleted file mode 100644 index 33737066737d..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationPackageCreate.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid", - "applicationName": "app1", - "versionName": "1" - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D64FEC83A3B436\"" - }, - "body": { - "type": "Microsoft.Batch/batchAccounts/applications/versions", - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/1", - "name": "1", - "etag": "W/\"0x8D64FEC83A3B436\"", - "properties": { - "storageUrl": "http://mystorage1.blob.core.windows.net/myapp?mysas", - "storageUrlExpiry": "2017-06-27T18:48:09.9330991Z", - "state": "Pending" - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationPackageDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationPackageDelete.json deleted file mode 100644 index 3997f763d416..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationPackageDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid", - "applicationName": "app1", - "versionName": "1" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationPackageGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationPackageGet.json deleted file mode 100644 index 3faec16d44c9..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationPackageGet.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid", - "applicationName": "app1", - "versionName": "1" - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D64FEC83A3B436\"" - }, - "body": { - "type": "Microsoft.Batch/batchAccounts/applications/versions", - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/1", - "name": "1", - "etag": "W/\"0x8D64FEC83A3B436\"", - "properties": { - "state": "Active", - "format": "zip", - "lastActivationTime": "2017-06-27T18:48:09.9330991Z" - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationPackageList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationPackageList.json deleted file mode 100644 index 08bcd0e68d63..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationPackageList.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid", - "applicationName": "app1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "type": "Microsoft.Batch/batchAccounts/applications/versions", - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/1.0", - "name": "1.0", - "etag": "W/\"0x8D64FF0B9F47F67\"", - "properties": { - "state": "Pending" - } - }, - { - "type": "Microsoft.Batch/batchAccounts/applications/versions", - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/2.0", - "name": "2.0", - "etag": "W/\"0x8D64FF0B9F47F67\"", - "properties": { - "state": "Active", - "format": "zip", - "lastActivationTime": "2017-06-27T18:48:09.9330991Z" - } - } - ] - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationUpdate.json deleted file mode 100644 index 39b81f41ce43..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/ApplicationUpdate.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid", - "applicationName": "app1", - "parameters": { - "properties": { - "allowUpdates": true, - "displayName": "myAppName", - "defaultVersion": "2" - } - } - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D64F915BDF7F00\"" - }, - "body": { - "type": "Microsoft.Batch/batchAccounts/applications", - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1", - "name": "app1", - "etag": "W/\"0x8D64F915BDF7F00\"", - "properties": { - "allowUpdates": true, - "displayName": "myAppName", - "defaultVersion": "2" - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountCreate_BYOS.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountCreate_BYOS.json deleted file mode 100644 index e42a4491798a..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountCreate_BYOS.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid", - "parameters": { - "location": "japaneast", - "properties": { - "autoStorage": { - "storageAccountId": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage" - }, - "poolAllocationMode": "UserSubscription", - "keyVaultReference": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.KeyVault/vaults/sample", - "url": "http://sample.vault.azure.net/" - } - } - } - }, - "responses": { - "202": {}, - "200": { - "body": { - "name": "sampleacct", - "location": "japaneast", - "properties": { - "accountEndpoint": "sampleacct.japaneast.batch.azure.com", - "provisioningState": "Succeeded", - "poolAllocationMode": "UserSubscription", - "dedicatedCoreQuota": 20, - "lowPriorityCoreQuota": 20, - "poolQuota": 20, - "activeJobAndJobScheduleQuota": 20, - "autoStorage": { - "storageAccountId": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage", - "lastKeySync": "2016-03-10T23:48:38.9878479Z" - }, - "keyVaultReference": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.KeyVault/vaults/sample", - "url": "http://sample.vault.azure.net/" - }, - "publicNetworkAccess": "Enabled" - }, - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct", - "type": "Microsoft.Batch/batchAccounts" - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountCreate_Default.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountCreate_Default.json deleted file mode 100644 index dc6ca25695cb..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountCreate_Default.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid", - "parameters": { - "location": "japaneast", - "properties": { - "autoStorage": { - "storageAccountId": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage" - } - } - } - }, - "responses": { - "202": {}, - "200": { - "body": { - "name": "sampleacct", - "location": "japaneast", - "properties": { - "accountEndpoint": "sampleacct.japaneast.batch.azure.com", - "provisioningState": "Succeeded", - "poolAllocationMode": "BatchService", - "dedicatedCoreQuota": 20, - "lowPriorityCoreQuota": 20, - "poolQuota": 20, - "activeJobAndJobScheduleQuota": 20, - "autoStorage": { - "storageAccountId": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage", - "lastKeySync": "2016-03-10T23:48:38.9878479Z" - }, - "publicNetworkAccess": "Enabled" - }, - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct", - "type": "Microsoft.Batch/batchAccounts" - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountCreate_Private.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountCreate_Private.json deleted file mode 100644 index 41a9e9f2ceed..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountCreate_Private.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid", - "parameters": { - "location": "japaneast", - "properties": { - "autoStorage": { - "storageAccountId": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage" - }, - "keyVaultReference": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.KeyVault/vaults/sample", - "url": "http://sample.vault.azure.net/" - }, - "publicNetworkAccess": "Disabled" - } - } - }, - "responses": { - "202": {}, - "200": { - "body": { - "name": "sampleacct", - "location": "japaneast", - "properties": { - "accountEndpoint": "sampleacct.japaneast.batch.azure.com", - "provisioningState": "Succeeded", - "poolAllocationMode": "UserSubscription", - "dedicatedCoreQuota": 20, - "lowPriorityCoreQuota": 20, - "poolQuota": 20, - "activeJobAndJobScheduleQuota": 20, - "autoStorage": { - "storageAccountId": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage", - "lastKeySync": "2016-03-10T23:48:38.9878479Z" - }, - "keyVaultReference": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.KeyVault/vaults/sample", - "url": "http://sample.vault.azure.net/" - }, - "publicNetworkAccess": "Disabled" - }, - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct", - "type": "Microsoft.Batch/batchAccounts" - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountDelete.json deleted file mode 100644 index ffe269192c70..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountGet.json deleted file mode 100644 index 0a2b2157d36c..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountGet.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "name": "sampleacct", - "location": "japaneast", - "properties": { - "accountEndpoint": "sampleacct.japaneast.batch.azure.com", - "provisioningState": "Succeeded", - "poolAllocationMode": "BatchService", - "dedicatedCoreQuota": 20, - "lowPriorityCoreQuota": 20, - "poolQuota": 20, - "activeJobAndJobScheduleQuota": 20, - "autoStorage": { - "storageAccountId": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage", - "lastKeySync": "2016-03-10T23:48:38.9878479Z" - }, - "publicNetworkAccess": "Enabled" - }, - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct", - "type": "Microsoft.Batch/batchAccounts" - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountGetKeys.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountGetKeys.json deleted file mode 100644 index 77bdf18b0885..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountGetKeys.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "accountName": "sampleacct", - "primary": "AAAA==", - "secondary": "BBBB==" - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountList.json deleted file mode 100644 index bb122897d193..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountList.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "api-version": "2020-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "sampleacct", - "location": "japaneast", - "properties": { - "accountEndpoint": "sampleacct.japaneast.batch.azure.com", - "provisioningState": "Succeeded", - "poolAllocationMode": "BatchService", - "dedicatedCoreQuota": 20, - "lowPriorityCoreQuota": 20, - "poolQuota": 20, - "activeJobAndJobScheduleQuota": 20, - "autoStorage": { - "storageAccountId": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage", - "lastKeySync": "2016-03-10T23:48:38.9878479Z" - }, - "publicNetworkAccess": "Enabled" - }, - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct", - "type": "Microsoft.Batch/batchAccounts" - } - ] - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountListByResourceGroup.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountListByResourceGroup.json deleted file mode 100644 index 7045a6d9bcb0..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountListByResourceGroup.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "sampleacct", - "location": "japaneast", - "properties": { - "accountEndpoint": "sampleacct.japaneast.batch.azure.com", - "provisioningState": "Succeeded", - "poolAllocationMode": "BatchService", - "dedicatedCoreQuota": 20, - "lowPriorityCoreQuota": 20, - "poolQuota": 20, - "activeJobAndJobScheduleQuota": 20, - "autoStorage": { - "storageAccountId": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage", - "lastKeySync": "2016-03-10T23:48:38.9878479Z" - }, - "publicNetworkAccess": "Enabled" - }, - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct", - "type": "Microsoft.Batch/batchAccounts" - } - ] - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountRegenerateKey.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountRegenerateKey.json deleted file mode 100644 index 66ac532afcb7..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountRegenerateKey.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid", - "parameters": { - "keyName": "Primary" - } - }, - "responses": { - "200": { - "body": { - "accountName": "sampleacct", - "primary": "AAAA==", - "secondary": "BBBB==" - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountSynchronizeAutoStorageKeys.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountSynchronizeAutoStorageKeys.json deleted file mode 100644 index c0c0cbfa3d8e..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountSynchronizeAutoStorageKeys.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid" - }, - "responses": { - "204": {} - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountUpdate.json deleted file mode 100644 index ac2c0a375930..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/BatchAccountUpdate.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid", - "parameters": { - "properties": { - "autoStorage": { - "storageAccountId": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage" - } - } - } - }, - "responses": { - "200": { - "body": { - "name": "sampleacct", - "location": "japaneast", - "properties": { - "accountEndpoint": "sampleacct.japaneast.batch.azure.com", - "provisioningState": "Succeeded", - "poolAllocationMode": "BatchService", - "dedicatedCoreQuota": 20, - "lowPriorityCoreQuota": 20, - "poolQuota": 20, - "activeJobAndJobScheduleQuota": 20, - "autoStorage": { - "storageAccountId": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage", - "lastKeySync": "2016-03-10T23:48:38.9878479Z" - }, - "publicNetworkAccess": "Enabled" - }, - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct", - "type": "Microsoft.Batch/batchAccounts" - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateCancelDeletion.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateCancelDeletion.json deleted file mode 100644 index 909a33cf107e..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateCancelDeletion.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid", - "certificateName": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e" - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDD513C3EDBB\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "name": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "type": "Microsoft.Batch/batchAccounts/certificates", - "etag": "W/\"0x8D4EDD513C3EDBB\"", - "properties": { - "thumbprintAlgorithm": "sha1", - "thumbprint": "0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", - "previousProvisioningState": "Failed", - "previousProvisioningStateTransitionTime": "2017-07-21T00:22:54.3299195Z", - "format": "Pfx", - "publicData": "MIICrjCCAZagAwI..." - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateCreate_Full.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateCreate_Full.json deleted file mode 100644 index 0f9148a3ccdd..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateCreate_Full.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid", - "certificateName": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "parameters": { - "properties": { - "thumbprintAlgorithm": "sha1", - "thumbprint": "0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...", - "password": "KG0UY40e...", - "format": "Pfx" - } - } - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDD5118668F7\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "name": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "type": "Microsoft.Batch/batchAccounts/certificates", - "etag": "W/\"0x8D4EDD5118668F7\"", - "properties": { - "thumbprintAlgorithm": "sha1", - "thumbprint": "0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", - "format": "Pfx", - "publicData": "MIICrjCCAZagAwI..." - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateCreate_Minimal.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateCreate_Minimal.json deleted file mode 100644 index 95189a81572d..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateCreate_Minimal.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid", - "certificateName": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "parameters": { - "properties": { - "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...", - "password": "KG0UY40e..." - } - } - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDD5118668F7\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "name": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "type": "Microsoft.Batch/batchAccounts/certificates", - "etag": "W/\"0x8D4EDD5118668F7\"", - "properties": { - "thumbprintAlgorithm": "sha1", - "thumbprint": "0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", - "format": "Pfx", - "publicData": "MIICrjCCAZagAwI..." - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateCreate_MinimalCer.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateCreate_MinimalCer.json deleted file mode 100644 index e8f380c612c0..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateCreate_MinimalCer.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid", - "certificateName": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "parameters": { - "properties": { - "data": "MIICrjCCAZagAwI...", - "format": "Cer" - } - } - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDD5118668F7\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "name": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "type": "Microsoft.Batch/batchAccounts/certificates", - "etag": "W/\"0x8D4EDD5118668F7\"", - "properties": { - "thumbprintAlgorithm": "sha1", - "thumbprint": "0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", - "format": "Cer", - "publicData": "MIICrjCCAZagAwI..." - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateDelete.json deleted file mode 100644 index 473e5977e30b..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateDelete.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "certificateName": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "api-version": "2020-03-01" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Retry-After": "15", - "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/certificateOperationResults/sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e-8D4EDFF164A11C9?api-version=2020-03-01" - } - }, - "204": {} - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateGet.json deleted file mode 100644 index ef7f7c18be89..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateGet.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "certificateName": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "api-version": "2020-03-01" - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDD5118668F7\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "name": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "type": "Microsoft.Batch/batchAccounts/certificates", - "etag": "W/\"0x8D4EDD5118668F7\"", - "properties": { - "thumbprintAlgorithm": "sha1", - "thumbprint": "0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", - "format": "Pfx", - "publicData": "MIICrjCCAZagAwI..." - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateGetWithDeletionError.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateGetWithDeletionError.json deleted file mode 100644 index b2763f3918d7..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateGetWithDeletionError.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "certificateName": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "api-version": "2020-03-01" - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDD5118668F7\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "name": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "type": "Microsoft.Batch/batchAccounts/certificates", - "etag": "W/\"0x8D4EDD5118668F7\"", - "properties": { - "thumbprintAlgorithm": "sha1", - "thumbprint": "0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "provisioningState": "Failed", - "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", - "previousProvisioningState": "Deleting", - "previousProvisioningStateTransitionTime": "2017-07-21T00:15:25.5625498Z", - "format": "Pfx", - "publicData": "MIICrjCCAZagAwI...", - "deleteCertificateError": { - "code": "NodesReferencingCertificate", - "message": "The specified certificate is being used by the below mentioned node(s)\nRequestId:2dc78afc-b15b-42d2-8c85-39cb61a0799e\nTime:2017-08-28T10:22:52.8633406Z", - "target": "BatchAccount", - "details": [ - { - "code": "Nodes", - "message": "node1, node3" - } - ] - } - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateList.json deleted file mode 100644 index 28b17a8f7ea5..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateList.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "api-version": "2020-03-01", - "maxResults": "1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "name": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "type": "Microsoft.Batch/batchAccounts/certificates", - "etag": "W/\"0x8D4EDD5118668F7\"", - "properties": { - "thumbprintAlgorithm": "sha1", - "thumbprint": "0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", - "format": "Pfx", - "publicData": "MIICrjCCAZagAwI..." - } - } - ], - "nextLink": "https://management.azure.com/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates?api-version=2020-03-01&$skiptoken=NPK%3D28%3A2857p428pug%2022F53A7734C947B8NRK%3D45%3Asha1-c23dc7f22edc793856a7506fe66397ccb4a33b46SM%3D5%3AFalse" - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateListWithFilter.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateListWithFilter.json deleted file mode 100644 index 63d3a357e3fe..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateListWithFilter.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "api-version": "2020-03-01", - "$filter": "properties/provisioningStateTransitionTime gt '2017-05-01' or properties/provisioningState eq 'Failed'", - "$select": "properties/format,properties/provisioningState" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "name": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "type": "Microsoft.Batch/batchAccounts/certificates", - "etag": "W/\"0x8D4EDD5118668F7\"", - "properties": { - "provisioningState": "Failed", - "format": "Pfx" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/sha1-aeb228ffb0bf67a793d61dce263ebd16949f15a1", - "name": "sha1-aeb228ffb0bf67a793d61dce263ebd16949f15a1", - "type": "Microsoft.Batch/batchAccounts/certificates", - "etag": "W/\"0x8D4EDD5118572E0\"", - "properties": { - "provisioningState": "Failed", - "format": "Cer" - } - } - ] - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateUpdate.json deleted file mode 100644 index 95189a81572d..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/CertificateUpdate.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "default-azurebatch-japaneast", - "api-version": "2020-03-01", - "subscriptionId": "subid", - "certificateName": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "parameters": { - "properties": { - "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...", - "password": "KG0UY40e..." - } - } - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDD5118668F7\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "name": "sha1-0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "type": "Microsoft.Batch/batchAccounts/certificates", - "etag": "W/\"0x8D4EDD5118668F7\"", - "properties": { - "thumbprintAlgorithm": "sha1", - "thumbprint": "0a0e4f50d51beadeac1d35afc5116098e7902e6e", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z", - "format": "Pfx", - "publicData": "MIICrjCCAZagAwI..." - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/LocationCheckNameAvailability_AlreadyExists.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/LocationCheckNameAvailability_AlreadyExists.json deleted file mode 100644 index 660d8c60b4ad..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/LocationCheckNameAvailability_AlreadyExists.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "api-version": "2020-03-01", - "subscriptionId": "subid", - "locationName": "japaneast", - "parameters": { - "name": "existingaccountname", - "type": "Microsoft.Batch/batchAccounts" - } - }, - "responses": { - "200": { - "body": { - "nameAvailable": false, - "reason": "AlreadyExists", - "message": "An account named 'existingaccountname' is already in use." - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/LocationCheckNameAvailability_Available.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/LocationCheckNameAvailability_Available.json deleted file mode 100644 index 54498588eddd..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/LocationCheckNameAvailability_Available.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2020-03-01", - "subscriptionId": "subid", - "locationName": "japaneast", - "parameters": { - "name": "newaccountname", - "type": "Microsoft.Batch/batchAccounts" - } - }, - "responses": { - "200": { - "body": { - "nameAvailable": true - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/LocationGetQuotas.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/LocationGetQuotas.json deleted file mode 100644 index 7c28a0bdaa15..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/LocationGetQuotas.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2020-03-01", - "subscriptionId": "subid", - "locationName": "japaneast" - }, - "responses": { - "200": { - "body": { - "accountQuota": 1 - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolCreate_CustomImage.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolCreate_CustomImage.json deleted file mode 100644 index 4d5e045771a6..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolCreate_CustomImage.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "poolName": "testpool", - "api-version": "2020-03-01", - "parameters": { - "properties": { - "vmSize": "STANDARD_D4", - "deploymentConfiguration": { - "virtualMachineConfiguration": { - "imageReference": { - "id": "/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/images/image-123" - }, - "nodeAgentSkuId": "batch.node.ubuntu 18.04" - } - } - } - } - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDFEBFADF4AB\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool", - "name": "testpool", - "type": "Microsoft.Batch/batchAccounts/pools", - "etag": "W/\"0x8D4EDFEBFADF4AB\"", - "properties": { - "lastModified": "2017-08-28T10:22:55.9407275Z", - "creationTime": "2017-08-28T10:22:55.9407275Z", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "allocationState": "Steady", - "allocationStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "vmSize": "STANDARD_D4", - "interNodeCommunication": "Disabled", - "maxTasksPerNode": 1, - "taskSchedulingPolicy": { - "nodeFillType": "Spread" - }, - "deploymentConfiguration": { - "virtualMachineConfiguration": { - "imageReference": { - "id": "/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/images/image-123" - }, - "nodeAgentSkuId": "batch.node.ubuntu 18.04" - } - }, - "scaleSettings": { - "fixedScale": { - "targetDedicatedNodes": 0, - "targetLowPriorityNodes": 0 - } - }, - "currentDedicatedNodes": 0, - "currentLowPriorityNodes": 0 - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolCreate_FullExample.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolCreate_FullExample.json deleted file mode 100644 index dd3336ce56c7..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolCreate_FullExample.json +++ /dev/null @@ -1,285 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "poolName": "testpool", - "api-version": "2020-03-01", - "parameters": { - "properties": { - "displayName": "my-pool-name", - "vmSize": "STANDARD_D4", - "interNodeCommunication": "Enabled", - "maxTasksPerNode": 13, - "taskSchedulingPolicy": { - "nodeFillType": "Pack" - }, - "deploymentConfiguration": { - "cloudServiceConfiguration": { - "osFamily": "4", - "osVersion": "WA-GUEST-OS-4.45_201708-01" - } - }, - "networkConfiguration": { - "subnetId": "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123", - "publicIPAddressConfiguration": { - "provision": "UserManaged", - "ipAddressIds": [ - "/subscriptions/subid1/resourceGroups/rg13/providers/Microsoft.Network/publicIPAddresses/ip135", - "/subscriptions/subid2/resourceGroups/rg24/providers/Microsoft.Network/publicIPAddresses/ip268" - ] - }, - "endpointConfiguration": { - "inboundNatPools": [ - { - "name": "testnat", - "protocol": "TCP", - "backendPort": 12001, - "frontendPortRangeStart": 15000, - "frontendPortRangeEnd": 15100, - "networkSecurityGroupRules": [ - { - "access": "Allow", - "sourceAddressPrefix": "192.100.12.45", - "priority": 150, - "sourcePortRanges": [ - "*" - ] - }, - { - "access": "Deny", - "sourceAddressPrefix": "*", - "priority": 3500, - "sourcePortRanges": [ - "*" - ] - } - ] - } - ] - } - }, - "scaleSettings": { - "fixedScale": { - "targetDedicatedNodes": 6, - "targetLowPriorityNodes": 28, - "resizeTimeout": "PT8M", - "nodeDeallocationOption": "TaskCompletion" - } - }, - "metadata": [ - { - "name": "metadata-1", - "value": "value-1" - }, - { - "name": "metadata-2", - "value": "value-2" - } - ], - "startTask": { - "commandLine": "cmd /c SET", - "resourceFiles": [ - { - "httpUrl": "https://testaccount.blob.core.windows.net/example-blob-file", - "filePath": "c:\\temp\\gohere", - "fileMode": "777" - } - ], - "environmentSettings": [ - { - "name": "MYSET", - "value": "1234" - } - ], - "userIdentity": { - "autoUser": { - "scope": "Pool", - "elevationLevel": "Admin" - } - }, - "maxTaskRetryCount": 6, - "waitForSuccess": true - }, - "userAccounts": [ - { - "name": "username1", - "password": "examplepassword", - "elevationLevel": "Admin", - "linuxUserConfiguration": { - "sshPrivateKey": "sshprivatekeyvalue", - "uid": 1234, - "gid": 4567 - } - } - ], - "applicationPackages": [ - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool/applications/app_1234", - "version": "asdf" - } - ], - "certificates": [ - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool/certificates/sha1-1234567", - "storeLocation": "LocalMachine", - "storeName": "MY", - "visibility": [ - "RemoteUser" - ] - } - ], - "applicationLicenses": [ - "app-license0", - "app-license1" - ] - } - } - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDFEBFADF4AB\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool", - "name": "testpool", - "type": "Microsoft.Batch/batchAccounts/pools", - "etag": "W/\"0x8D4EDFEBFADF4AB\"", - "properties": { - "lastModified": "2017-08-28T10:22:55.9407275Z", - "creationTime": "2017-08-28T10:22:55.9407275Z", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "allocationState": "Resizing", - "allocationStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "vmSize": "STANDARD_D4", - "interNodeCommunication": "Enabled", - "maxTasksPerNode": 13, - "taskSchedulingPolicy": { - "nodeFillType": "Pack" - }, - "deploymentConfiguration": { - "cloudServiceConfiguration": { - "osFamily": "4", - "osVersion": "WA-GUEST-OS-4.45_201708-01" - } - }, - "scaleSettings": { - "fixedScale": { - "targetDedicatedNodes": 6, - "targetLowPriorityNodes": 28, - "resizeTimeout": "PT8M", - "nodeDeallocationOption": "TaskCompletion" - } - }, - "networkConfiguration": { - "subnetId": "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123", - "publicIPAddressConfiguration": { - "provision": "UserManaged", - "ipAddressIds": [ - "/subscriptions/subid1/resourceGroups/rg13/providers/Microsoft.Network/publicIPAddresses/ip135", - "/subscriptions/subid2/resourceGroups/rg24/providers/Microsoft.Network/publicIPAddresses/ip268" - ] - }, - "endpointConfiguration": { - "inboundNatPools": [ - { - "name": "testnat", - "protocol": "TCP", - "backendPort": 12001, - "frontendPortRangeStart": 15000, - "frontendPortRangeEnd": 15100, - "networkSecurityGroupRules": [ - { - "access": "Allow", - "sourceAddressPrefix": "192.100.12.45", - "priority": 150, - "sourcePortRanges": [ - "*" - ] - }, - { - "access": "Deny", - "sourceAddressPrefix": "*", - "priority": 3500, - "sourcePortRanges": [ - "*" - ] - } - ] - } - ] - } - }, - "metadata": [ - { - "name": "metadata-1", - "value": "value-1" - }, - { - "name": "metadata-2", - "value": "value-2" - } - ], - "startTask": { - "commandLine": "cmd /c SET", - "resourceFiles": [ - { - "httpUrl": "https://testaccount.blob.core.windows.net/example-blob-file", - "filePath": "c:\\temp\\gohere", - "fileMode": "777" - } - ], - "environmentSettings": [ - { - "name": "MYSET", - "value": "1234" - } - ], - "userIdentity": { - "autoUser": { - "scope": "Pool", - "elevationLevel": "Admin" - } - }, - "maxTaskRetryCount": 6, - "waitForSuccess": true - }, - "userAccounts": [ - { - "name": "username1", - "elevationLevel": "Admin", - "linuxUserConfiguration": { - "uid": 1234, - "gid": 4567 - } - } - ], - "applicationPackages": [ - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool/applications/app_1234", - "version": "asdf" - } - ], - "certificates": [ - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool/certificates/sha1-1234567", - "storeLocation": "LocalMachine", - "storeName": "MY", - "visibility": [ - "RemoteUser" - ] - } - ], - "applicationLicenses": [ - "app-license0", - "app-license1" - ], - "currentDedicatedNodes": 0, - "currentLowPriorityNodes": 0 - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json deleted file mode 100644 index 5c947d3cf15f..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "poolName": "testpool", - "api-version": "2020-03-01", - "parameters": { - "properties": { - "vmSize": "STANDARD_D4", - "deploymentConfiguration": { - "cloudServiceConfiguration": { - "osFamily": "5" - } - }, - "scaleSettings": { - "fixedScale": { - "targetDedicatedNodes": 3 - } - } - } - } - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDFEBFADF4AB\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool", - "name": "testpool", - "type": "Microsoft.Batch/batchAccounts/pools", - "etag": "W/\"0x8D4EDFEBFADF4AB\"", - "properties": { - "lastModified": "2017-08-28T10:22:55.9407275Z", - "creationTime": "2017-08-28T10:22:55.9407275Z", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "allocationState": "Resizing", - "allocationStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "vmSize": "STANDARD_D4", - "interNodeCommunication": "Disabled", - "maxTasksPerNode": 1, - "taskSchedulingPolicy": { - "nodeFillType": "Spread" - }, - "deploymentConfiguration": { - "cloudServiceConfiguration": { - "osFamily": "5", - "osVersion": "*" - } - }, - "scaleSettings": { - "fixedScale": { - "targetDedicatedNodes": 3, - "targetLowPriorityNodes": 0, - "resizeTimeout": "PT15M" - } - }, - "currentDedicatedNodes": 0, - "currentLowPriorityNodes": 0, - "resizeOperationStatus": { - "startTime": "2017-08-28T10:22:55.9407275Z", - "targetDedicatedNodes": 3, - "nodeDeallocationOption": "Requeue", - "resizeTimeout": "PT15M" - } - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json deleted file mode 100644 index 7d235d235a0a..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "poolName": "testpool", - "api-version": "2020-03-01", - "parameters": { - "properties": { - "vmSize": "STANDARD_D4", - "deploymentConfiguration": { - "virtualMachineConfiguration": { - "imageReference": { - "publisher": "Canonical", - "offer": "UbuntuServer", - "sku": "18.04-LTS", - "version": "latest" - }, - "nodeAgentSkuId": "batch.node.ubuntu 18.04" - } - }, - "scaleSettings": { - "autoScale": { - "formula": "$TargetDedicatedNodes=1", - "evaluationInterval": "PT5M" - } - } - } - } - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDFEBFADF4AB\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool", - "name": "testpool", - "type": "Microsoft.Batch/batchAccounts/pools", - "etag": "W/\"0x8D4EDFEBFADF4AB\"", - "properties": { - "lastModified": "2017-08-28T10:22:55.9407275Z", - "creationTime": "2017-08-28T10:22:55.9407275Z", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "allocationState": "Resizing", - "allocationStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "vmSize": "STANDARD_D4", - "interNodeCommunication": "Disabled", - "maxTasksPerNode": 1, - "taskSchedulingPolicy": { - "nodeFillType": "Spread" - }, - "deploymentConfiguration": { - "virtualMachineConfiguration": { - "imageReference": { - "publisher": "Canonical", - "offer": "UbuntuServer", - "sku": "18.04-LTS", - "version": "latest" - }, - "nodeAgentSkuId": "batch.node.ubuntu 18.04" - } - }, - "scaleSettings": { - "autoScale": { - "formula": "$TargetDedicatedNodes=1", - "evaluationInterval": "PT5M" - } - }, - "currentDedicatedNodes": 0, - "currentLowPriorityNodes": 0 - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolCreate_NoPublicIPAddresses.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolCreate_NoPublicIPAddresses.json deleted file mode 100644 index 27a87c152df5..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolCreate_NoPublicIPAddresses.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "poolName": "testpool", - "api-version": "2020-03-01", - "parameters": { - "properties": { - "vmSize": "STANDARD_D4", - "networkConfiguration": { - "subnetId": "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123", - "publicIPAddressConfiguration": { - "provision": "NoPublicIPAddresses" - } - }, - "deploymentConfiguration": { - "virtualMachineConfiguration": { - "imageReference": { - "id": "/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/images/image-123" - }, - "nodeAgentSkuId": "batch.node.ubuntu 18.04" - } - } - } - } - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDFEBFADF4AB\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool", - "name": "testpool", - "type": "Microsoft.Batch/batchAccounts/pools", - "etag": "W/\"0x8D4EDFEBFADF4AB\"", - "properties": { - "lastModified": "2017-08-28T10:22:55.9407275Z", - "creationTime": "2017-08-28T10:22:55.9407275Z", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "allocationState": "Steady", - "allocationStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "vmSize": "STANDARD_D4", - "interNodeCommunication": "Disabled", - "maxTasksPerNode": 1, - "taskSchedulingPolicy": { - "nodeFillType": "Spread" - }, - "networkConfiguration": { - "subnetId": "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123", - "publicIPAddressConfiguration": { - "provision": "NoPublicIPAddresses" - } - }, - "deploymentConfiguration": { - "virtualMachineConfiguration": { - "imageReference": { - "id": "/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/images/image-123" - }, - "nodeAgentSkuId": "batch.node.ubuntu 18.04" - } - }, - "scaleSettings": { - "fixedScale": { - "targetDedicatedNodes": 0, - "targetLowPriorityNodes": 0 - } - }, - "currentDedicatedNodes": 0, - "currentLowPriorityNodes": 0 - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolCreate_PublicIPs.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolCreate_PublicIPs.json deleted file mode 100644 index e7a035386ae6..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolCreate_PublicIPs.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "poolName": "testpool", - "api-version": "2020-03-01", - "parameters": { - "properties": { - "vmSize": "STANDARD_D4", - "networkConfiguration": { - "subnetId": "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123", - "publicIPAddressConfiguration": { - "provision": "UserManaged", - "ipAddressIds": [ - "/subscriptions/subid1/resourceGroups/rg13/providers/Microsoft.Network/publicIPAddresses/ip135" - ] - } - }, - "deploymentConfiguration": { - "virtualMachineConfiguration": { - "imageReference": { - "id": "/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/images/image-123" - }, - "nodeAgentSkuId": "batch.node.ubuntu 18.04" - } - } - } - } - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDFEBFADF4AB\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool", - "name": "testpool", - "type": "Microsoft.Batch/batchAccounts/pools", - "etag": "W/\"0x8D4EDFEBFADF4AB\"", - "properties": { - "lastModified": "2017-08-28T10:22:55.9407275Z", - "creationTime": "2017-08-28T10:22:55.9407275Z", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "allocationState": "Steady", - "allocationStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "vmSize": "STANDARD_D4", - "interNodeCommunication": "Disabled", - "maxTasksPerNode": 1, - "taskSchedulingPolicy": { - "nodeFillType": "Spread" - }, - "networkConfiguration": { - "subnetId": "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123", - "publicIPAddressConfiguration": { - "provision": "UserManaged", - "ipAddressIds": [ - "/subscriptions/subid1/resourceGroups/rg13/providers/Microsoft.Network/publicIPAddresses/ip135" - ] - } - }, - "deploymentConfiguration": { - "virtualMachineConfiguration": { - "imageReference": { - "id": "/subscriptions/subid/resourceGroups/networking-group/providers/Microsoft.Compute/images/image-123" - }, - "nodeAgentSkuId": "batch.node.ubuntu 18.04" - } - }, - "scaleSettings": { - "fixedScale": { - "targetDedicatedNodes": 0, - "targetLowPriorityNodes": 0 - } - }, - "currentDedicatedNodes": 0, - "currentLowPriorityNodes": 0 - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolCreate_VirtualMachineConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolCreate_VirtualMachineConfiguration.json deleted file mode 100644 index bb318cdc73da..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolCreate_VirtualMachineConfiguration.json +++ /dev/null @@ -1,189 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "poolName": "testpool", - "api-version": "2020-03-01", - "parameters": { - "properties": { - "vmSize": "STANDARD_D4", - "deploymentConfiguration": { - "virtualMachineConfiguration": { - "imageReference": { - "publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", - "sku": "2016-Datacenter-SmallDisk", - "version": "latest" - }, - "nodeAgentSkuId": "batch.node.windows amd64", - "windowsConfiguration": { - "enableAutomaticUpdates": false - }, - "licenseType": "Windows_Server", - "dataDisks": [ - { - "lun": 0, - "caching": "ReadWrite", - "diskSizeGB": 30, - "storageAccountType": "Premium_LRS" - }, - { - "lun": 1, - "caching": "None", - "diskSizeGB": 200, - "storageAccountType": "Standard_LRS" - } - ], - "diskEncryptionConfiguration": { - "targets": [ - "OsDisk", - "TemporaryDisk" - ] - } - } - }, - "networkConfiguration": { - "endpointConfiguration": { - "inboundNatPools": [ - { - "name": "testnat", - "protocol": "TCP", - "backendPort": 12001, - "frontendPortRangeStart": 15000, - "frontendPortRangeEnd": 15100, - "networkSecurityGroupRules": [ - { - "access": "Allow", - "sourceAddressPrefix": "192.100.12.45", - "priority": 150, - "sourcePortRanges": [ - "1", - "2" - ] - }, - { - "access": "Deny", - "sourceAddressPrefix": "*", - "priority": 3500, - "sourcePortRanges": [ - "*" - ] - } - ] - } - ] - } - }, - "scaleSettings": { - "autoScale": { - "formula": "$TargetDedicatedNodes=1", - "evaluationInterval": "PT5M" - } - } - } - } - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDFEBFADF4AB\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool", - "name": "testpool", - "type": "Microsoft.Batch/batchAccounts/pools", - "etag": "W/\"0x8D4EDFEBFADF4AB\"", - "properties": { - "lastModified": "2017-08-28T10:22:55.9407275Z", - "creationTime": "2017-08-28T10:22:55.9407275Z", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "allocationState": "Resizing", - "allocationStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "vmSize": "STANDARD_D4", - "interNodeCommunication": "Disabled", - "maxTasksPerNode": 1, - "taskSchedulingPolicy": { - "nodeFillType": "Spread" - }, - "deploymentConfiguration": { - "virtualMachineConfiguration": { - "imageReference": { - "publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", - "sku": "2016-Datacenter-SmallDisk", - "version": "latest" - }, - "nodeAgentSkuId": "batch.node.windows amd64", - "windowsConfiguration": { - "enableAutomaticUpdates": false - }, - "licenseType": "Windows_Server", - "dataDisks": [ - { - "lun": 0, - "caching": "ReadWrite", - "diskSizeGB": 30, - "storageAccountType": "Premium_LRS" - }, - { - "lun": 1, - "caching": "None", - "diskSizeGB": 200, - "storageAccountType": "Standard_LRS" - } - ], - "diskEncryptionConfiguration": { - "targets": [ - "OsDisk", - "TemporaryDisk" - ] - } - } - }, - "networkConfiguration": { - "endpointConfiguration": { - "inboundNatPools": [ - { - "name": "testnat", - "protocol": "TCP", - "backendPort": 12001, - "frontendPortRangeStart": 15000, - "frontendPortRangeEnd": 15100, - "networkSecurityGroupRules": [ - { - "access": "Allow", - "sourceAddressPrefix": "192.100.12.45", - "priority": 150, - "sourcePortRanges": [ - "1", - "2" - ] - }, - { - "access": "Deny", - "sourceAddressPrefix": "*", - "priority": 3500, - "sourcePortRanges": [ - "*" - ] - } - ] - } - ] - } - }, - "scaleSettings": { - "autoScale": { - "formula": "$TargetDedicatedNodes=1", - "evaluationInterval": "PT5M" - } - }, - "currentDedicatedNodes": 0, - "currentLowPriorityNodes": 0 - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolDelete.json deleted file mode 100644 index d00668962d21..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolDelete.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "poolName": "testpool", - "api-version": "2020-03-01" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Retry-After": "15", - "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/poolOperationResults/delete-testpool-8D4EDFF164A11C9?api-version=2020-03-01" - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolDisableAutoScale.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolDisableAutoScale.json deleted file mode 100644 index a67af951cf92..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolDisableAutoScale.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "poolName": "testpool", - "api-version": "2020-03-01" - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDFEBFADF4AB\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool", - "name": "testpool", - "type": "Microsoft.Batch/batchAccounts/pools", - "etag": "W/\"0x8D4EDFEBFADF4AB\"", - "properties": { - "lastModified": "2017-08-28T10:22:55.9407275Z", - "creationTime": "2017-08-28T10:22:55.9407275Z", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "allocationState": "Resizing", - "allocationStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "vmSize": "STANDARD_D4", - "interNodeCommunication": "Disabled", - "maxTasksPerNode": 1, - "taskSchedulingPolicy": { - "nodeFillType": "Spread" - }, - "deploymentConfiguration": { - "virtualMachineConfiguration": { - "imageReference": { - "publisher": "Canonical", - "offer": "UbuntuServer", - "sku": "18.04-LTS", - "version": "latest" - }, - "nodeAgentSkuId": "batch.node.ubuntu 18.04" - } - }, - "scaleSettings": { - "fixedScale": { - "targetDedicatedNodes": 3, - "targetLowPriorityNodes": 0, - "resizeTimeout": "PT15M" - } - }, - "currentDedicatedNodes": 0, - "currentLowPriorityNodes": 0 - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolGet.json deleted file mode 100644 index 5c7491150ce5..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolGet.json +++ /dev/null @@ -1,155 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "poolName": "testpool", - "api-version": "2020-03-01" - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDFEBFADF4AB\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool", - "name": "testpool", - "type": "Microsoft.Batch/batchAccounts/pools", - "etag": "W/\"0x8D4EDFEBFADF4AB\"", - "properties": { - "lastModified": "2017-08-28T10:22:55.9407275Z", - "creationTime": "2017-08-28T10:22:55.9407275Z", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "allocationState": "Resizing", - "allocationStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "vmSize": "STANDARD_D4", - "interNodeCommunication": "Enabled", - "maxTasksPerNode": 13, - "taskSchedulingPolicy": { - "nodeFillType": "Pack" - }, - "deploymentConfiguration": { - "cloudServiceConfiguration": { - "osFamily": "4", - "osVersion": "WA-GUEST-OS-4.45_201708-01" - } - }, - "scaleSettings": { - "fixedScale": { - "targetDedicatedNodes": 6, - "targetLowPriorityNodes": 28, - "resizeTimeout": "PT8M" - } - }, - "networkConfiguration": { - "subnetId": "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123", - "endpointConfiguration": { - "inboundNatPools": [ - { - "name": "testnat", - "protocol": "TCP", - "backendPort": 12001, - "frontendPortRangeStart": 15000, - "frontendPortRangeEnd": 15100, - "networkSecurityGroupRules": [ - { - "access": "Allow", - "sourceAddressPrefix": "192.100.12.45", - "priority": 150, - "sourcePortRanges": [ - "123", - "22" - ] - }, - { - "access": "Deny", - "sourceAddressPrefix": "*", - "priority": 3500, - "sourcePortRanges": [ - "*" - ] - } - ] - } - ] - } - }, - "metadata": [ - { - "name": "metadata-1", - "value": "value-1" - }, - { - "name": "metadata-2", - "value": "value-2" - } - ], - "startTask": { - "commandLine": "cmd /c SET", - "resourceFiles": [ - { - "httpUrl": "https://testaccount.blob.core.windows.net/example-blob-file", - "filePath": "c:\\temp\\gohere", - "fileMode": "777" - } - ], - "environmentSettings": [ - { - "name": "MYSET", - "value": "1234" - } - ], - "userIdentity": { - "autoUser": { - "scope": "Pool", - "elevationLevel": "Admin" - } - }, - "maxTaskRetryCount": 6, - "waitForSuccess": true - }, - "userAccounts": [ - { - "name": "username1", - "elevationLevel": "Admin", - "linuxUserConfiguration": { - "uid": 1234, - "gid": 4567 - } - } - ], - "applicationPackages": [ - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool/applications/app_1234", - "version": "asdf" - } - ], - "certificates": [ - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool/certificates/sha1-1234567", - "storeLocation": "LocalMachine", - "storeName": "MY", - "visibility": [ - "RemoteUser" - ] - } - ], - "applicationLicenses": [ - "app-license0", - "app-license1" - ], - "currentDedicatedNodes": 0, - "currentLowPriorityNodes": 0, - "resizeOperationStatus": { - "startTime": "2017-08-28T10:22:55.9407275Z", - "targetDedicatedNodes": 6, - "targetLowPriorityNodes": 28, - "nodeDeallocationOption": "TaskCompletion", - "resizeTimeout": "PT8M" - } - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolList.json deleted file mode 100644 index 71c129578b86..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolList.json +++ /dev/null @@ -1,161 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "poolName": "testpool", - "api-version": "2020-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool", - "name": "testpool", - "type": "Microsoft.Batch/batchAccounts/pools", - "etag": "W/\"0x8D4EDFEBFADF4AB\"", - "properties": { - "lastModified": "2017-08-28T10:22:55.9407275Z", - "creationTime": "2017-08-28T10:22:55.9407275Z", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "allocationState": "Steady", - "allocationStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "vmSize": "STANDARD_D4", - "interNodeCommunication": "Enabled", - "maxTasksPerNode": 13, - "taskSchedulingPolicy": { - "nodeFillType": "Pack" - }, - "deploymentConfiguration": { - "cloudServiceConfiguration": { - "osFamily": "4", - "osVersion": "WA-GUEST-OS-4.45_201708-01" - } - }, - "scaleSettings": { - "fixedScale": { - "targetDedicatedNodes": 6, - "targetLowPriorityNodes": 28, - "resizeTimeout": "PT8M" - } - }, - "networkConfiguration": { - "subnetId": "/subscriptions/subid/resourceGroups/rg1234/providers/Microsoft.Network/virtualNetworks/network1234/subnets/subnet123", - "endpointConfiguration": { - "inboundNatPools": [ - { - "name": "testnat", - "protocol": "TCP", - "backendPort": 12001, - "frontendPortRangeStart": 15000, - "frontendPortRangeEnd": 15100, - "networkSecurityGroupRules": [ - { - "access": "Allow", - "sourceAddressPrefix": "192.100.12.45", - "priority": 150, - "sourcePortRanges": [ - "*" - ] - }, - { - "access": "Deny", - "sourceAddressPrefix": "*", - "priority": 3500, - "sourcePortRanges": [ - "*" - ] - } - ] - } - ] - } - }, - "metadata": [ - { - "name": "metadata-1", - "value": "value-1" - }, - { - "name": "metadata-2", - "value": "value-2" - } - ], - "startTask": { - "commandLine": "cmd /c SET", - "resourceFiles": [ - { - "httpUrl": "https://testaccount.blob.core.windows.net/example-blob-file", - "filePath": "c:\\temp\\gohere", - "fileMode": "777" - } - ], - "environmentSettings": [ - { - "name": "MYSET", - "value": "1234" - } - ], - "userIdentity": { - "autoUser": { - "scope": "Pool", - "elevationLevel": "Admin" - } - }, - "maxTaskRetryCount": 6, - "waitForSuccess": true - }, - "userAccounts": [ - { - "name": "username1", - "elevationLevel": "Admin", - "linuxUserConfiguration": { - "uid": 1234, - "gid": 4567 - } - } - ], - "applicationPackages": [ - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool/applications/app_1234", - "version": "asdf" - } - ], - "certificates": [ - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool/certificates/sha1-1234567", - "storeLocation": "LocalMachine", - "storeName": "MY", - "visibility": [ - "RemoteUser" - ] - } - ], - "applicationLicenses": [ - "app-license0", - "app-license1" - ], - "currentDedicatedNodes": 0, - "currentLowPriorityNodes": 0, - "resizeOperationStatus": { - "startTime": "2017-08-28T10:22:55.9407275Z", - "targetDedicatedNodes": 6, - "targetLowPriorityNodes": 28, - "nodeDeallocationOption": "TaskCompletion", - "resizeTimeout": "PT8M", - "errors": [ - { - "code": "AllocationTimedout", - "message": "Desired number of dedicated nodes could not be allocated as the resize timeout was reached" - } - ] - } - } - } - ] - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolListWithFilter.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolListWithFilter.json deleted file mode 100644 index f6f56009577a..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolListWithFilter.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "poolName": "testpool", - "api-version": "2020-03-01", - "$filter": "startswith(name, 'po') or (properties/allocationState eq 'Steady' and properties/provisioningStateTransitionTime lt datetime'2017-02-02')", - "$select": "properties/allocationState,properties/provisioningStateTransitionTime,properties/currentDedicatedNodes,properties/currentLowPriorityNodes", - "maxResults": "50" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool", - "name": "testpool", - "type": "Microsoft.Batch/batchAccounts/pools", - "etag": "W/\"0x8D4EDFEBFADF4AB\"", - "properties": { - "provisioningStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "allocationState": "Steady", - "currentDedicatedNodes": 0, - "currentLowPriorityNodes": 2 - } - }, - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/pooltest", - "name": "pooltest", - "type": "Microsoft.Batch/batchAccounts/pools", - "etag": "W/\"0x8D4EDFEBFADF4AB\"", - "properties": { - "provisioningStateTransitionTime": "2017-08-26T10:22:55.9407275Z", - "allocationState": "Resizing", - "currentDedicatedNodes": 4, - "currentLowPriorityNodes": 0 - } - } - ] - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolStopResize.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolStopResize.json deleted file mode 100644 index 2fdd72600ef0..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolStopResize.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "poolName": "testpool", - "api-version": "2020-03-01" - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDFEBFADF4AB\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool", - "name": "testpool", - "type": "Microsoft.Batch/batchAccounts/pools", - "etag": "W/\"0x8D4EDFEBFADF4AB\"", - "properties": { - "lastModified": "2017-08-28T10:22:55.9407275Z", - "creationTime": "2017-08-28T10:22:55.9407275Z", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "allocationState": "Steady", - "allocationStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "vmSize": "STANDARD_D4", - "interNodeCommunication": "Disabled", - "maxTasksPerNode": 1, - "taskSchedulingPolicy": { - "nodeFillType": "Spread" - }, - "deploymentConfiguration": { - "virtualMachineConfiguration": { - "imageReference": { - "publisher": "Canonical", - "offer": "UbuntuServer", - "sku": "18.04-LTS", - "version": "latest" - }, - "nodeAgentSkuId": "batch.node.ubuntu 18.04" - } - }, - "scaleSettings": { - "fixedScale": { - "targetDedicatedNodes": 3, - "targetLowPriorityNodes": 0, - "resizeTimeout": "PT15M" - } - }, - "resizeOperationStatus": { - "startTime": "2017-08-28T10:22:55.9407275Z", - "targetDedicatedNodes": 1, - "nodeDeallocationOption": "Requeue", - "resizeTimeout": "PT10M" - }, - "currentDedicatedNodes": 0, - "currentLowPriorityNodes": 0 - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolUpdate_EnableAutoScale.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolUpdate_EnableAutoScale.json deleted file mode 100644 index d86f740018cb..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolUpdate_EnableAutoScale.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "poolName": "testpool", - "api-version": "2020-03-01", - "parameters": { - "properties": { - "scaleSettings": { - "autoScale": { - "formula": "$TargetDedicatedNodes=34" - } - } - } - } - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDFEBFADF4AB\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool", - "name": "testpool", - "type": "Microsoft.Batch/batchAccounts/pools", - "etag": "W/\"0x8D4EDFEBFADF4AB\"", - "properties": { - "lastModified": "2017-08-29T10:22:55.9407275Z", - "creationTime": "2017-08-28T10:22:55.9407275Z", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "allocationState": "Resizing", - "allocationStateTransitionTime": "2017-08-29T10:22:55.9407275Z", - "vmSize": "STANDARD_D4", - "interNodeCommunication": "Disabled", - "maxTasksPerNode": 1, - "taskSchedulingPolicy": { - "nodeFillType": "Spread" - }, - "deploymentConfiguration": { - "cloudServiceConfiguration": { - "osFamily": "5", - "osVersion": "*" - } - }, - "scaleSettings": { - "autoScale": { - "formula": "$TargetDedicated=34", - "evaluationInterval": "PT15M" - } - }, - "autoScaleRun": { - "evaluationTime": "2017-08-29T10:22:55.9407275Z", - "results": "$TargetDedicatedNodes=34;NodeDeallocationOption=requeue" - }, - "currentDedicatedNodes": 12, - "currentLowPriorityNodes": 0, - "resizeOperationStatus": { - "startTime": "2017-08-29T10:22:55.9407275Z", - "targetDedicatedNodes": 34, - "nodeDeallocationOption": "Requeue", - "resizeTimeout": "PT15M" - } - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolUpdate_OtherProperties.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolUpdate_OtherProperties.json deleted file mode 100644 index 6fdba740e30a..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolUpdate_OtherProperties.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "poolName": "testpool", - "api-version": "2020-03-01", - "parameters": { - "properties": { - "metadata": [ - { - "name": "key1", - "value": "value1" - } - ], - "applicationPackages": [ - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool/applications/app_1234" - }, - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool/applications/app_5678", - "version": "1.0" - } - ], - "certificates": [ - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool/certificates/sha1-1234567", - "storeLocation": "LocalMachine", - "storeName": "MY" - } - ] - } - } - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDFEBFADF4AB\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool", - "name": "testpool", - "type": "Microsoft.Batch/batchAccounts/pools", - "etag": "W/\"0x8D4EDFEBFADF4AB\"", - "properties": { - "lastModified": "2017-08-29T10:22:55.9407275Z", - "creationTime": "2017-08-28T10:22:55.9407275Z", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "allocationState": "Resizing", - "allocationStateTransitionTime": "2017-08-29T10:22:55.9407275Z", - "vmSize": "STANDARD_D4", - "interNodeCommunication": "Disabled", - "maxTasksPerNode": 1, - "taskSchedulingPolicy": { - "nodeFillType": "Spread" - }, - "deploymentConfiguration": { - "cloudServiceConfiguration": { - "osFamily": "5", - "osVersion": "*" - } - }, - "scaleSettings": { - "fixedScale": { - "targetDedicatedNodes": 1, - "targetLowPriorityNodes": 0, - "resizeTimeout": "PT8M", - "nodeDeallocationOption": "TaskCompletion" - } - }, - "autoScaleRun": { - "evaluationTime": "2017-08-29T10:22:55.9407275Z", - "results": "$TargetDedicatedNodes=34;NodeDeallocationOption=requeue" - }, - "currentDedicatedNodes": 12, - "currentLowPriorityNodes": 0, - "resizeOperationStatus": { - "startTime": "2017-08-29T10:22:55.9407275Z", - "targetDedicatedNodes": 8, - "nodeDeallocationOption": "TaskCompletion", - "resizeTimeout": "PT8M" - }, - "metadata": [ - { - "name": "key1", - "value": "value1" - } - ], - "applicationPackages": [ - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool/applications/app_1234" - }, - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool/applications/app_5678", - "version": "1.0" - } - ], - "certificates": [ - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool/certificates/sha1-1234567", - "storeLocation": "LocalMachine", - "storeName": "MY", - "visibility": [ - "StartTask", - "Task", - "RemoteUser" - ] - } - ] - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolUpdate_RemoveStartTask.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolUpdate_RemoveStartTask.json deleted file mode 100644 index a7c6dfcb8400..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolUpdate_RemoveStartTask.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "poolName": "testpool", - "api-version": "2020-03-01", - "parameters": { - "properties": { - "startTask": {} - } - } - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDFEBFADF4AB\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool", - "name": "testpool", - "type": "Microsoft.Batch/batchAccounts/pools", - "etag": "W/\"0x8D4EDFEBFADF4AB\"", - "properties": { - "lastModified": "2017-08-29T10:22:55.9407275Z", - "creationTime": "2017-08-28T10:22:55.9407275Z", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "allocationState": "Resizing", - "allocationStateTransitionTime": "2017-08-29T10:22:55.9407275Z", - "vmSize": "STANDARD_D4", - "interNodeCommunication": "Disabled", - "maxTasksPerNode": 1, - "taskSchedulingPolicy": { - "nodeFillType": "Spread" - }, - "deploymentConfiguration": { - "cloudServiceConfiguration": { - "osFamily": "5", - "osVersion": "*" - } - }, - "scaleSettings": { - "autoScale": { - "formula": "$TargetDedicated=34", - "evaluationInterval": "PT15M" - } - }, - "autoScaleRun": { - "evaluationTime": "2017-08-29T10:22:55.9407275Z", - "results": "$TargetDedicatedNodes=34;NodeDeallocationOption=requeue" - }, - "currentDedicatedNodes": 12, - "currentLowPriorityNodes": 0, - "resizeOperationStatus": { - "startTime": "2017-08-29T10:22:55.9407275Z", - "targetDedicatedNodes": 34, - "nodeDeallocationOption": "Requeue", - "resizeTimeout": "PT15M" - } - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolUpdate_ResizePool.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolUpdate_ResizePool.json deleted file mode 100644 index 80bedc5a07b7..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PoolUpdate_ResizePool.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "poolName": "testpool", - "api-version": "2020-03-01", - "parameters": { - "properties": { - "scaleSettings": { - "fixedScale": { - "targetDedicatedNodes": 5, - "targetLowPriorityNodes": 0, - "resizeTimeout": "PT8M", - "nodeDeallocationOption": "TaskCompletion" - } - } - } - } - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDFEBFADF4AB\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool", - "name": "testpool", - "type": "Microsoft.Batch/batchAccounts/pools", - "etag": "W/\"0x8D4EDFEBFADF4AB\"", - "properties": { - "lastModified": "2017-08-29T10:22:55.9407275Z", - "creationTime": "2017-08-28T10:22:55.9407275Z", - "provisioningState": "Succeeded", - "provisioningStateTransitionTime": "2017-08-28T10:22:55.9407275Z", - "allocationState": "Resizing", - "allocationStateTransitionTime": "2017-08-29T10:22:55.9407275Z", - "vmSize": "STANDARD_D4", - "interNodeCommunication": "Disabled", - "maxTasksPerNode": 1, - "taskSchedulingPolicy": { - "nodeFillType": "Spread" - }, - "deploymentConfiguration": { - "cloudServiceConfiguration": { - "osFamily": "5", - "osVersion": "*" - } - }, - "scaleSettings": { - "fixedScale": { - "targetDedicatedNodes": 1, - "targetLowPriorityNodes": 0, - "resizeTimeout": "PT8M", - "nodeDeallocationOption": "TaskCompletion" - } - }, - "autoScaleRun": { - "evaluationTime": "2017-08-29T10:22:55.9407275Z", - "results": "$TargetDedicatedNodes=34;NodeDeallocationOption=requeue" - }, - "currentDedicatedNodes": 12, - "currentLowPriorityNodes": 0, - "resizeOperationStatus": { - "startTime": "2017-08-29T10:22:55.9407275Z", - "targetDedicatedNodes": 8, - "nodeDeallocationOption": "TaskCompletion", - "resizeTimeout": "PT8M" - } - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PrivateEndpointConnectionGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PrivateEndpointConnectionGet.json deleted file mode 100644 index afc8015b336d..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PrivateEndpointConnectionGet.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "privateEndpointConnectionName": "testprivateEndpointConnection", - "api-version": "2020-03-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/privateEndpointConnections/testprivateEndpointConnection", - "name": "sampleacct", - "type": "Microsoft.Batch/batchAccounts/privateEndpointConnections", - "properties": { - "privateEndpoint": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Network/privateEndpoints/testprivateEndpoint" - }, - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Approved by xyz.abc@company.com" - } - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PrivateEndpointConnectionUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PrivateEndpointConnectionUpdate.json deleted file mode 100644 index 3d6e5e454647..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PrivateEndpointConnectionUpdate.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "privateEndpointConnectionName": "testprivateEndpointConnection", - "api-version": "2020-03-01", - "parameters": { - "properties": { - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Approved by xyz.abc@company.com" - } - } - } - }, - "responses": { - "200": { - "headers": { - "ETag": "W/\"0x8D4EDFEBFADF4AB\"" - }, - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/pools/testpool", - "name": "testpool", - "type": "Microsoft.Batch/batchAccounts/pools", - "etag": "W/\"0x8D4EDFEBFADF4AB\"", - "properties": { - "provisioningState": "Succeeded", - "privateEndpoint": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Network/privateEndpoints/testprivateEndpoint" - }, - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Approved by xyz.abc@company.com" - } - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PrivateEndpointConnectionsList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PrivateEndpointConnectionsList.json deleted file mode 100644 index ecae6f808a77..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PrivateEndpointConnectionsList.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "privateEndpointConnectionName": "testprivateEndpointConnection", - "api-version": "2020-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/privateEndpointConnections/testprivateEndpointConnection", - "name": "testprivateEndpointConnection", - "type": "Microsoft.Batch/batchAccounts/privateEndpointConnections", - "properties": { - "privateEndpoint": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Network/privateEndpoints/testprivateEndpoint" - }, - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Approved by xyz.abc@company.com" - } - } - } - ] - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PrivateLinkResourceGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PrivateLinkResourceGet.json deleted file mode 100644 index 26d5fd55f07a..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PrivateLinkResourceGet.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "privateLinkResourceName": "sampleacct", - "api-version": "2020-03-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/privateLinkResources/sampleacct", - "name": "sampleacct", - "type": "Microsoft.Batch/batchAccounts/privateLinkResources", - "properties": { - "groupId": "batchAccount", - "requiredMembers": [ - "batchAccount" - ] - } - } - } - } -} diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PrivateLinkResourcesList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PrivateLinkResourcesList.json deleted file mode 100644 index eb40377bb095..000000000000 --- a/specification/batch/resource-manager/Microsoft.Batch/stable/2020-03-01/examples/PrivateLinkResourcesList.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "default-azurebatch-japaneast", - "accountName": "sampleacct", - "privateLinkResourceName": "testprivateLinkResource", - "api-version": "2020-03-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/privateLinkResources/testprivateLinkResource", - "name": "testprivateLinkResource", - "type": "Microsoft.Batch/batchAccounts/privateLinkResources", - "properties": { - "groupId": "batchAccount", - "requiredMembers": [ - "batchAccount" - ] - } - } - ] - } - } - } -} diff --git a/specification/billing/resource-manager/readme.cli.md b/specification/billing/resource-manager/readme.cli.md deleted file mode 100644 index 9cb78fdbb0b9..000000000000 --- a/specification/billing/resource-manager/readme.cli.md +++ /dev/null @@ -1,33 +0,0 @@ - -# Az.Aks -This directory contains the Cli common model for the Aks service. - -> Metadata -``` yaml -# Migrated from Powershell's readme -title: Billing - -cli: - cli-directive: - - select: 'property' - where: - objectSchema: 'billing_profile_creation_request' - property: 'po_number' - set: - name: 'purchase_order_number' - - select: 'operationGroup' - where: - operationGroup: 'available_balances' - set: - name: 'available_credit_balance' - - select: 'property' - where: - objectSchema: 'billing_profile' - property: 'po_number' - set: - name: 'purchase_order_number' - - select: 'operationGroup' - where: - operationGroup: ^(?!^billing_period$)(?!^budget$)(?!^enrollment_accounts$)(?!^invoices$)(?!^marketplace$)(?!^price_sheet$)(?!^reservation_detail$)(?!^reservation_summary$)(?!^usage_aggregate$)(?!^usage_detail$).*$ - hidden: true -``` diff --git a/specification/blockchain/resource-manager/readme.cli.md b/specification/blockchain/resource-manager/readme.cli.md deleted file mode 100644 index 6da91f797a6c..000000000000 --- a/specification/blockchain/resource-manager/readme.cli.md +++ /dev/null @@ -1,46 +0,0 @@ - -# Dns -This directory contains the Cli common model for the Blockchain service. - -> Metadata - -``` yaml -# Migrated from Powershell's readme -directive: - - from: swagger-document - where: $.paths..operationId - transform: return $.replace(/ListRegenerateApiKeys$/, "RegenerateApiKeys") - - from: swagger-document - where: $ - transform: return $.replace(/locationName/, "location") - -cli: - cli-directive: - - select: 'operationGroup' - where: - operationGroup: 'operations' - hidden: true - - select: 'operationGroup' - where: - operationGroup: 'locations' - name: 'Consortium' - - select: 'operation' - where: - operationGroup: 'locations' - operation: 'list_consortiums' - name: 'list' - - select: 'operationGroup' - where: - operationGroup: 'blockchain_member_operation_results' - hidden: true - - select: 'operation' - where: - operationGroup: 'blockchain_members' - operation: '(create|update)' - hidden: true - - select: 'operation' - where: - operationGroup: 'transaction_nodes' - operation: '(create|update)' - hidden: true -``` \ No newline at end of file diff --git a/specification/blueprint/resource-manager/readme.cli.md b/specification/blueprint/resource-manager/readme.cli.md deleted file mode 100644 index 17bbc2acb6fd..000000000000 --- a/specification/blueprint/resource-manager/readme.cli.md +++ /dev/null @@ -1,11 +0,0 @@ -## CLI - -These settings apply only when `--cli` is specified on the command line. - -``` yaml $(cli) -cli: - namespace: azure.mgmt.blueprint - flatten-all: true - cmd-override: - "^.*assignment-operation.*$": "-" -``` diff --git a/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/TextAnalytics.json b/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/TextAnalytics.json deleted file mode 100644 index 675210bab169..000000000000 --- a/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/TextAnalytics.json +++ /dev/null @@ -1,1347 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "v3.1-preview.1", - "contact": { - "name": "Microsoft Cognitive Services", - "url": "https://azure.microsoft.com/en-us/services/cognitive-services/text-analytics/", - "email": "mlapi@microsoft.com" - }, - "title": "Text Analytics Client", - "description": "The Text Analytics API is a suite of text analytics web services built with best-in-class Microsoft machine learning algorithms. The API can be used to analyze unstructured text for tasks such as sentiment analysis, key phrase extraction and language detection. No training data is needed to use this API; just bring your text data. This API uses advanced natural language processing techniques to deliver best in class predictions. Further documentation can be found in https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview" - }, - "securityDefinitions": { - "apim_key": { - "type": "apiKey", - "name": "Ocp-Apim-Subscription-Key", - "in": "header" - } - }, - "security": [ - { - "apim_key": [] - } - ], - "x-ms-parameterized-host": { - "hostTemplate": "{Endpoint}/text/analytics/v3.1-preview.1", - "useSchemePrefix": false, - "parameters": [ - { - "$ref": "#/parameters/Endpoint" - } - ] - }, - "paths": { - "/entities/recognition/general": { - "post": { - "summary": "Named Entity Recognition", - "description": "The API returns a list of general named entities in a given document. For the list of supported entity types, check Supported Entity Types in Text Analytics API. See the Supported languages in Text Analytics API for the list of enabled languages.", - "operationId": "EntitiesRecognitionGeneral", - "consumes": [ - "application/json", - "text/json" - ], - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "name": "model-version", - "in": "query", - "description": "(Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. ", - "required": false, - "type": "string" - }, - { - "name": "showStats", - "in": "query", - "description": "(Optional) if set to true, response will contain input and document level statistics.", - "type": "boolean", - "required": false - }, - { - "in": "body", - "name": "input", - "description": "Collection of documents to analyze.", - "required": true, - "schema": { - "$ref": "#/definitions/MultiLanguageBatchInput" - } - } - ], - "responses": { - "200": { - "description": "A successful call results in a list of recognized entities returned for each valid document.", - "schema": { - "$ref": "#/definitions/EntitiesResult" - } - }, - "default": { - "description": "Error Response", - "schema": { - "$ref": "#/definitions/TextAnalyticsError" - } - } - }, - "x-ms-examples": { - "Successful Entities request": { - "$ref": ".//examples//SuccessfulEntitiesRequest.json" - } - }, - "deprecated": false - } - }, - "/entities/recognition/pii": { - "post": { - "summary": "Entities containing personal information", - "description": "The API returns a list of entities with personal information (\\\"SSN\\\", \\\"Bank Account\\\" etc) in the document. For the list of supported entity types, check Supported Entity Types in Text Analytics API. See the Supported languages in Text Analytics API for the list of enabled languages.\n", - "operationId": "EntitiesRecognitionPii", - "consumes": [ - "application/json", - "text/json" - ], - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "name": "model-version", - "in": "query", - "description": "(Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. ", - "type": "string" - }, - { - "name": "showStats", - "in": "query", - "description": "(Optional) if set to true, response will contain input and document level statistics.", - "type": "boolean" - }, - { - "name": "domain", - "in": "query", - "description": "(Optional) if set to 'PHI', response will contain only PHI entities.", - "type": "string" - }, - { - "in": "body", - "name": "input", - "description": "Collection of documents to analyze.", - "required": true, - "schema": { - "$ref": "#/definitions/MultiLanguageBatchInput" - } - } - ], - "responses": { - "200": { - "description": "A successful call results in a list of entities containing personal information returned for each valid document", - "schema": { - "$ref": "#/definitions/EntitiesResult" - } - }, - "default": { - "description": "Error Response", - "schema": { - "$ref": "#/definitions/TextAnalyticsError" - } - } - }, - "x-ms-examples": { - "Successful Entity PII request": { - "$ref": ".//examples//SuccessfulEntityPIIRequest.json" - } - }, - "deprecated": false - } - }, - "/entities/linking": { - "post": { - "summary": "Linked entities from a well-known knowledge base", - "description": "The API returns a list of recognized entities with links to a well-known knowledge base. See the Supported languages in Text Analytics API for the list of enabled languages.", - "operationId": "EntitiesLinking", - "consumes": [ - "application/json", - "text/json" - ], - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "name": "model-version", - "in": "query", - "description": "(Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. ", - "type": "string" - }, - { - "name": "showStats", - "in": "query", - "description": "(Optional) if set to true, response will contain input and document level statistics.", - "type": "boolean" - }, - { - "in": "body", - "name": "input", - "description": "Collection of documents to analyze.", - "required": true, - "schema": { - "$ref": "#/definitions/MultiLanguageBatchInput" - } - } - ], - "responses": { - "200": { - "description": "A successful call results in a list of recognized entities with links to a well-known knowledge base returned for each valid document", - "schema": { - "$ref": "#/definitions/EntityLinkingResult" - } - }, - "default": { - "description": "Error Response", - "schema": { - "$ref": "#/definitions/TextAnalyticsError" - } - } - }, - "x-ms-examples": { - "Successful Entity Linking request": { - "$ref": ".//examples//SuccessfulEntityLinkingRequest.json" - } - }, - "deprecated": false - } - }, - "/keyPhrases": { - "post": { - "summary": "Key Phrases", - "description": "The API returns a list of strings denoting the key phrases in the input text. See the Supported languages in Text Analytics API for the list of enabled languages.", - "operationId": "KeyPhrases", - "consumes": [ - "application/json", - "text/json" - ], - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "name": "model-version", - "in": "query", - "description": "(Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. ", - "type": "string" - }, - { - "name": "showStats", - "in": "query", - "description": "(Optional) if set to true, response will contain input and document level statistics.", - "type": "boolean" - }, - { - "in": "body", - "name": "input", - "description": "Collection of documents to analyze. Documents can now contain a language field to indicate the text language", - "required": true, - "schema": { - "$ref": "#/definitions/MultiLanguageBatchInput" - } - } - ], - "responses": { - "200": { - "description": "A successful response results in 0 or more key phrases identified in each valid document", - "schema": { - "$ref": "#/definitions/KeyPhraseResult" - } - }, - "default": { - "description": "Error Response", - "schema": { - "$ref": "#/definitions/TextAnalyticsError" - } - } - }, - "x-ms-examples": { - "Successful Key Phrase request": { - "$ref": ".//examples//SuccessfulKeyPhrasesRequest.json" - } - }, - "deprecated": false - } - }, - "/languages": { - "post": { - "summary": "Detect Language", - "description": "The API returns the detected language and a numeric score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. See the Supported languages in Text Analytics API for the list of enabled languages.", - "operationId": "Languages", - "consumes": [ - "application/json", - "text/json" - ], - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "name": "model-version", - "in": "query", - "description": "(Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. ", - "type": "string" - }, - { - "name": "showStats", - "in": "query", - "description": "(Optional) if set to true, response will contain input and document level statistics.", - "type": "boolean" - }, - { - "in": "body", - "name": "input", - "description": "Collection of documents to analyze.", - "required": true, - "schema": { - "$ref": "#/definitions/LanguageBatchInput" - } - } - ], - "responses": { - "200": { - "description": "A successful call results in the detected language with the highest probability for each valid document", - "schema": { - "$ref": "#/definitions/LanguageResult" - } - }, - "default": { - "description": "Error Response", - "schema": { - "$ref": "#/definitions/TextAnalyticsError" - } - } - }, - "x-ms-examples": { - "Successful Detect Language request": { - "$ref": ".//examples//SuccessfulLanguagesRequest.json" - } - }, - "deprecated": false - } - }, - "/sentiment": { - "post": { - "summary": "Sentiment", - "description": "The API returns a detailed sentiment analysis for the input text. The analysis is done in multiple levels of granularity, start from the a document level, down to sentence and key terms (aspects) and opinions.", - "operationId": "Sentiment", - "consumes": [ - "application/json", - "text/json" - ], - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "name": "model-version", - "in": "query", - "description": "(Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. ", - "type": "string" - }, - { - "name": "showStats", - "in": "query", - "description": "(Optional) if set to true, response will contain input and document level statistics.", - "type": "boolean" - }, - { - "name": "opinionMining", - "in": "query", - "description": "(Optional) if set to true, response will contain input and document level statistics including aspect-based sentiment analysis results.", - "type": "boolean" - }, - { - "in": "body", - "name": "input", - "description": "Collection of documents to analyze.", - "required": true, - "schema": { - "$ref": "#/definitions/MultiLanguageBatchInput" - } - } - ], - "responses": { - "200": { - "description": "A successful call results in a document sentiment prediction, as well as sentiment scores for each sentiment class (Positive, Negative, and Neutral)", - "schema": { - "$ref": "#/definitions/SentimentResponse" - } - }, - "default": { - "description": "Error Response", - "schema": { - "$ref": "#/definitions/TextAnalyticsError" - } - } - }, - "x-ms-examples": { - "Successful Sentiment request": { - "$ref": ".//examples//SuccessfulSentimentRequest.json" - } - }, - "deprecated": false - } - } - }, - "definitions": { - "MultiLanguageBatchInput": { - "type": "object", - "required": [ - "documents" - ], - "properties": { - "documents": { - "type": "array", - "description": "The set of documents to process as part of this batch.", - "items": { - "$ref": "#/definitions/MultiLanguageInput" - } - } - }, - "description": "Contains a set of input documents to be analyzed by the service." - }, - "MultiLanguageInput": { - "type": "object", - "required": [ - "id", - "text" - ], - "properties": { - "id": { - "type": "string", - "description": "A unique, non-empty document identifier." - }, - "text": { - "type": "string", - "description": "The input text to process." - }, - "language": { - "type": "string", - "description": "(Optional) This is the 2 letter ISO 639-1 representation of a language. For example, use \"en\" for English; \"es\" for Spanish etc. If not set, use \"en\" for English as default." - } - }, - "description": "Contains an input document to be analyzed by the service." - }, - "DocumentError": { - "type": "object", - "required": [ - "id", - "error" - ], - "properties": { - "id": { - "type": "string", - "description": "Document Id." - }, - "error": { - "type": "object", - "description": "Document Error.", - "$ref": "#/definitions/TextAnalyticsError" - } - } - }, - "TextAnalyticsError": { - "type": "object", - "required": [ - "code", - "message" - ], - "properties": { - "code": { - "type": "string", - "enum": [ - "invalidRequest", - "invalidArgument", - "internalServerError", - "serviceUnavailable" - ], - "x-ms-enum": { - "name": "ErrorCodeValue", - "modelAsString": false - }, - "description": "Error code." - }, - "message": { - "type": "string", - "description": "Error message." - }, - "target": { - "type": "string", - "description": "Error target." - }, - "innererror": { - "$ref": "#/definitions/InnerError", - "description": "Inner error contains more specific information." - }, - "details": { - "type": "array", - "description": "Details about specific errors that led to this reported error.", - "items": { - "$ref": "#/definitions/TextAnalyticsError" - } - } - } - }, - "TextAnalyticsWarning": { - "type": "object", - "required": [ - "code", - "message" - ], - "properties": { - "code": { - "type": "string", - "enum": [ - "LongWordsInDocument", - "DocumentTruncated" - ], - "x-ms-enum": { - "name": "WarningCodeValue", - "modelAsString": false - }, - "description": "Error code." - }, - "message": { - "type": "string", - "description": "Warning message." - }, - "targetRef": { - "type": "string", - "description": "A JSON pointer reference indicating the target object." - } - } - }, - "InnerError": { - "type": "object", - "required": [ - "code", - "message" - ], - "properties": { - "code": { - "type": "string", - "enum": [ - "invalidParameterValue", - "invalidRequestBodyFormat", - "emptyRequest", - "missingInputRecords", - "invalidDocument", - "modelVersionIncorrect", - "invalidDocumentBatch", - "unsupportedLanguageCode", - "invalidCountryHint" - ], - "x-ms-enum": { - "name": "InnerErrorCodeValue", - "modelAsString": false - }, - "description": "Error code." - }, - "message": { - "type": "string", - "description": "Error message." - }, - "details": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Error details." - }, - "target": { - "type": "string", - "description": "Error target." - }, - "innererror": { - "$ref": "#/definitions/InnerError", - "description": "Inner error contains more specific information." - } - } - }, - "SentimentResponse": { - "type": "object", - "required": [ - "documents", - "errors", - "modelVersion" - ], - "properties": { - "documents": { - "type": "array", - "description": "Sentiment analysis per document.", - "items": { - "$ref": "#/definitions/DocumentSentiment" - } - }, - "errors": { - "type": "array", - "description": "Errors by document id.", - "items": { - "$ref": "#/definitions/DocumentError" - } - }, - "statistics": { - "$ref": "#/definitions/RequestStatistics" - }, - "modelVersion": { - "type": "string", - "description": "This field indicates which model is used for scoring." - } - } - }, - "DocumentSentiment": { - "type": "object", - "required": [ - "id", - "sentiment", - "confidenceScores", - "sentences", - "warnings" - ], - "properties": { - "id": { - "type": "string", - "description": "Unique, non-empty document identifier." - }, - "sentiment": { - "type": "string", - "description": "Predicted sentiment for document (Negative, Neutral, Positive, or Mixed).", - "enum": [ - "positive", - "neutral", - "negative", - "mixed" - ], - "x-ms-enum": { - "name": "DocumentSentimentValue", - "modelAsString": false - } - }, - "statistics": { - "$ref": "#/definitions/DocumentStatistics" - }, - "confidenceScores": { - "description": "Document level sentiment confidence scores between 0 and 1 for each sentiment class.", - "$ref": "#/definitions/SentimentConfidenceScorePerLabel" - }, - "sentences": { - "type": "array", - "description": "Sentence level sentiment analysis.", - "items": { - "$ref": "#/definitions/SentenceSentiment" - } - }, - "warnings": { - "type": "array", - "description": "Warnings encountered while processing document.", - "items": { - "$ref": "#/definitions/TextAnalyticsWarning" - } - } - } - }, - "RequestStatistics": { - "type": "object", - "required": [ - "documentsCount", - "validDocumentsCount", - "erroneousDocumentsCount", - "transactionsCount" - ], - "properties": { - "documentsCount": { - "type": "integer", - "format": "int32", - "description": "Number of documents submitted in the request." - }, - "validDocumentsCount": { - "type": "integer", - "format": "int32", - "description": "Number of valid documents. This excludes empty, over-size limit or non-supported languages documents." - }, - "erroneousDocumentsCount": { - "type": "integer", - "format": "int32", - "description": "Number of invalid documents. This includes empty, over-size limit or non-supported languages documents." - }, - "transactionsCount": { - "type": "integer", - "format": "int64", - "description": "Number of transactions for the request." - } - }, - "description": "if showStats=true was specified in the request this field will contain information about the request payload." - }, - "DocumentStatistics": { - "type": "object", - "required": [ - "charactersCount", - "transactionsCount" - ], - "properties": { - "charactersCount": { - "type": "integer", - "format": "int32", - "description": "Number of text elements recognized in the document." - }, - "transactionsCount": { - "type": "integer", - "format": "int32", - "description": "Number of transactions for the document." - } - }, - "description": "if showStats=true was specified in the request this field will contain information about the document payload." - }, - "SentimentConfidenceScorePerLabel": { - "type": "object", - "required": [ - "positive", - "neutral", - "negative" - ], - "properties": { - "positive": { - "type": "number", - "format": "double" - }, - "neutral": { - "type": "number", - "format": "double" - }, - "negative": { - "type": "number", - "format": "double" - } - }, - "description": "Represents the confidence scores between 0 and 1 across all sentiment classes: positive, neutral, negative." - }, - "SentenceSentiment": { - "type": "object", - "required": [ - "text", - "sentiment", - "confidenceScores", - "offset", - "length", - "aspects", - "opinions" - ], - "properties": { - "text": { - "type": "string", - "description": "The sentence text." - }, - "sentiment": { - "type": "string", - "description": "The predicted Sentiment for the sentence.", - "enum": [ - "positive", - "neutral", - "negative" - ], - "x-ms-enum": { - "name": "SentenceSentimentValue", - "modelAsString": false - } - }, - "confidenceScores": { - "description": "The sentiment confidence score between 0 and 1 for the sentence for all classes.", - "$ref": "#/definitions/SentimentConfidenceScorePerLabel" - }, - "offset": { - "type": "integer", - "format": "int32", - "description": "The sentence offset from the start of the document." - }, - "length": { - "type": "integer", - "format": "int32", - "description": "The length of the sentence." - }, - "aspects": { - "type": "array", - "description": "The array of aspect object for the sentence.", - "items": { - "$ref": "#/definitions/SentenceAspect" - } - }, - "opinions": { - "type": "array", - "description": "The array of opinion object for the sentence.", - "items": { - "$ref": "#/definitions/SentenceOpinion" - } - } - } - }, - "SentenceAspect": { - "type": "object", - "required": [ - "confidenceScores", - "length", - "offset", - "relations", - "sentiment", - "text" - ], - "properties": { - "sentiment": { - "type": "string", - "enum": [ - "positive", - "mixed", - "negative" - ], - "description": "Aspect level sentiment for the aspect in the sentence." - }, - "confidenceScores": { - "description": "Aspect level sentiment confidence scores for the aspect in the sentence.", - "$ref": "#/definitions/AspectConfidenceScoreLabel" - }, - "offset": { - "type": "integer", - "format": "int32", - "description": "The aspect offset from the start of the sentence." - }, - "length": { - "type": "integer", - "format": "int32", - "description": "The length of the aspect." - }, - "text": { - "type": "string", - "description": "The aspect text detected." - }, - "relations": { - "type": "array", - "description": "The array of either opinion or aspect object which is related to the aspect.", - "items": { - "$ref": "#/definitions/AspectRelation" - } - } - } - }, - "SentenceOpinion": { - "type": "object", - "required": [ - "confidenceScores", - "isNegated", - "length", - "offset", - "sentiment", - "text" - ], - "properties": { - "sentiment": { - "type": "string", - "enum": [ - "positive", - "mixed", - "negative" - ], - "description": "Opinion level sentiment for the aspect in the sentence." - }, - "confidenceScores": { - "description": "Opinion level sentiment confidence scores for the aspect in the sentence.", - "$ref": "#/definitions/AspectConfidenceScoreLabel" - }, - "offset": { - "type": "integer", - "format": "int32", - "description": "The opinion offset from the start of the sentence." - }, - "length": { - "type": "integer", - "format": "int32", - "description": "The length of the opinion." - }, - "text": { - "type": "string", - "description": "The aspect text detected." - }, - "isNegated": { - "type": "boolean", - "description": "The indicator representing if the opinion is negated." - } - } - }, - "AspectRelation": { - "type": "object", - "required": [ - "ref", - "relationType" - ], - "properties": { - "relationType": { - "type": "string", - "enum": [ - "opinion", - "aspect" - ], - "description": "The type related to the aspect." - }, - "ref": { - "type": "string", - "description": "The JSON pointer indicating the linked object." - } - } - }, - "AspectConfidenceScoreLabel": { - "type": "object", - "required": [ - "negative", - "positive" - ], - "properties": { - "positive": { - "type": "number", - "format": "double" - }, - "negative": { - "type": "number", - "format": "double" - } - }, - "description": "Represents the confidence scores across all sentiment classes: positive, neutral, negative." - }, - "EntitiesResult": { - "type": "object", - "required": [ - "documents", - "errors", - "modelVersion" - ], - "properties": { - "documents": { - "type": "array", - "description": "Response by document", - "items": { - "$ref": "#/definitions/DocumentEntities" - } - }, - "errors": { - "type": "array", - "description": "Errors by document id.", - "items": { - "$ref": "#/definitions/DocumentError" - } - }, - "statistics": { - "$ref": "#/definitions/RequestStatistics" - }, - "modelVersion": { - "type": "string", - "description": "This field indicates which model is used for scoring." - } - } - }, - "DocumentEntities": { - "type": "object", - "required": [ - "id", - "entities", - "warnings" - ], - "properties": { - "id": { - "type": "string", - "description": "Unique, non-empty document identifier." - }, - "entities": { - "type": "array", - "description": "Recognized entities in the document.", - "items": { - "$ref": "#/definitions/Entity" - } - }, - "warnings": { - "type": "array", - "description": "Warnings encountered while processing document.", - "items": { - "$ref": "#/definitions/TextAnalyticsWarning" - } - }, - "statistics": { - "description": "if showStats=true was specified in the request this field will contain information about the document payload.", - "$ref": "#/definitions/DocumentStatistics" - } - } - }, - "Entity": { - "type": "object", - "required": [ - "text", - "category", - "offset", - "length", - "confidenceScore" - ], - "properties": { - "text": { - "type": "string", - "description": "Entity text as appears in the request." - }, - "category": { - "type": "string", - "description": "Entity type, such as Person/Location/Org/SSN etc" - }, - "subcategory": { - "type": "string", - "description": "Entity sub type, such as Age/Year/TimeRange etc" - }, - "offset": { - "type": "integer", - "format": "int32", - "description": "Start position for the entity text." - }, - "length": { - "type": "integer", - "format": "int32", - "description": "Length for the entity text." - }, - "confidenceScore": { - "type": "number", - "format": "double", - "description": "Confidence score between 0 and 1 of the extracted entity." - } - } - }, - "EntityLinkingResult": { - "type": "object", - "required": [ - "documents", - "errors", - "modelVersion" - ], - "properties": { - "documents": { - "type": "array", - "description": "Response by document", - "items": { - "$ref": "#/definitions/DocumentLinkedEntities" - } - }, - "errors": { - "type": "array", - "description": "Errors by document id.", - "items": { - "$ref": "#/definitions/DocumentError" - } - }, - "statistics": { - "$ref": "#/definitions/RequestStatistics" - }, - "modelVersion": { - "type": "string", - "description": "This field indicates which model is used for scoring." - } - } - }, - "DocumentLinkedEntities": { - "type": "object", - "required": [ - "id", - "entities", - "warnings" - ], - "properties": { - "id": { - "type": "string", - "description": "Unique, non-empty document identifier." - }, - "entities": { - "type": "array", - "description": "Recognized well-known entities in the document.", - "items": { - "$ref": "#/definitions/LinkedEntity" - } - }, - "warnings": { - "type": "array", - "description": "Warnings encountered while processing document.", - "items": { - "$ref": "#/definitions/TextAnalyticsWarning" - } - }, - "statistics": { - "description": "if showStats=true was specified in the request this field will contain information about the document payload.", - "$ref": "#/definitions/DocumentStatistics" - } - } - }, - "LinkedEntity": { - "type": "object", - "required": [ - "name", - "matches", - "language", - "url", - "dataSource" - ], - "properties": { - "name": { - "type": "string", - "description": "Entity Linking formal name." - }, - "matches": { - "type": "array", - "description": "List of instances this entity appears in the text.", - "items": { - "$ref": "#/definitions/Match" - } - }, - "language": { - "type": "string", - "description": "Language used in the data source." - }, - "id": { - "type": "string", - "description": "Unique identifier of the recognized entity from the data source." - }, - "url": { - "type": "string", - "description": "URL for the entity's page from the data source." - }, - "dataSource": { - "type": "string", - "description": "Data source used to extract entity linking, such as Wiki/Bing etc." - } - } - }, - "Match": { - "type": "object", - "required": [ - "confidenceScore", - "text", - "offset", - "length" - ], - "properties": { - "confidenceScore": { - "type": "number", - "format": "double", - "description": "If a well-known item is recognized, a decimal number denoting the confidence level between 0 and 1 will be returned." - }, - "text": { - "type": "string", - "description": "Entity text as appears in the request." - }, - "offset": { - "type": "integer", - "format": "int32", - "description": "Start position for the entity match text." - }, - "length": { - "type": "integer", - "format": "int32", - "description": "Length for the entity match text." - } - } - }, - "KeyPhraseResult": { - "type": "object", - "required": [ - "documents", - "errors", - "modelVersion" - ], - "properties": { - "documents": { - "type": "array", - "description": "Response by document", - "items": { - "$ref": "#/definitions/DocumentKeyPhrases" - } - }, - "errors": { - "type": "array", - "description": "Errors by document id.", - "items": { - "$ref": "#/definitions/DocumentError" - } - }, - "statistics": { - "$ref": "#/definitions/RequestStatistics" - }, - "modelVersion": { - "type": "string", - "description": "This field indicates which model is used for scoring." - } - } - }, - "DocumentKeyPhrases": { - "type": "object", - "required": [ - "id", - "keyPhrases", - "warnings" - ], - "properties": { - "id": { - "type": "string", - "description": "Unique, non-empty document identifier." - }, - "keyPhrases": { - "type": "array", - "description": "A list of representative words or phrases. The number of key phrases returned is proportional to the number of words in the input document.", - "items": { - "type": "string" - } - }, - "warnings": { - "type": "array", - "description": "Warnings encountered while processing document.", - "items": { - "$ref": "#/definitions/TextAnalyticsWarning" - } - }, - "statistics": { - "description": "if showStats=true was specified in the request this field will contain information about the document payload.", - "$ref": "#/definitions/DocumentStatistics" - } - } - }, - "LanguageBatchInput": { - "type": "object", - "required": [ - "documents" - ], - "properties": { - "documents": { - "type": "array", - "items": { - "$ref": "#/definitions/LanguageInput" - } - } - } - }, - "LanguageInput": { - "type": "object", - "required": [ - "id", - "text" - ], - "properties": { - "id": { - "type": "string", - "description": "Unique, non-empty document identifier." - }, - "text": { - "type": "string" - }, - "countryHint": { - "type": "string" - } - } - }, - "LanguageResult": { - "type": "object", - "required": [ - "documents", - "errors", - "modelVersion" - ], - "properties": { - "documents": { - "type": "array", - "description": "Response by document", - "items": { - "$ref": "#/definitions/DocumentLanguage" - } - }, - "errors": { - "type": "array", - "description": "Errors by document id.", - "items": { - "$ref": "#/definitions/DocumentError" - } - }, - "statistics": { - "$ref": "#/definitions/RequestStatistics" - }, - "modelVersion": { - "type": "string", - "description": "This field indicates which model is used for scoring." - } - } - }, - "DocumentLanguage": { - "type": "object", - "required": [ - "id", - "detectedLanguages", - "warnings" - ], - "properties": { - "id": { - "type": "string", - "description": "Unique, non-empty document identifier." - }, - "detectedLanguages": { - "type": "array", - "description": "A list of extracted languages.", - "items": { - "$ref": "#/definitions/DetectedLanguage" - } - }, - "warnings": { - "type": "array", - "description": "Warnings encountered while processing document.", - "items": { - "$ref": "#/definitions/TextAnalyticsWarning" - } - }, - "statistics": { - "description": "if showStats=true was specified in the request this field will contain information about the document payload.", - "$ref": "#/definitions/DocumentStatistics" - } - } - }, - "DetectedLanguage": { - "type": "object", - "required": [ - "name", - "iso6391Name", - "confidenceScore" - ], - "properties": { - "name": { - "type": "string", - "description": "Long name of a detected language (e.g. English, French)." - }, - "iso6391Name": { - "type": "string", - "description": "A two letter representation of the detected language according to the ISO 639-1 standard (e.g. en, fr)." - }, - "confidenceScore": { - "type": "number", - "format": "double", - "description": "A confidence score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true." - } - } - } - }, - "parameters": { - "Endpoint": { - "name": "Endpoint", - "description": "Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com).", - "x-ms-parameter-location": "client", - "required": true, - "type": "string", - "in": "path", - "x-ms-skip-url-encoding": true - } - } -} diff --git a/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/examples/SuccessfulEntitiesRequest.json b/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/examples/SuccessfulEntitiesRequest.json deleted file mode 100644 index 75b4489dcb2d..000000000000 --- a/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/examples/SuccessfulEntitiesRequest.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "parameters": { - "Ocp-Apim-Subscription-Key": "{API key}", - "Endpoint": "{Endpoint}", - "input": { - "documents": [ - { - "language": "en", - "id": "1", - "text": "I had a wonderful trip to Seattle last week." - }, - { - "language": "en", - "id": "2", - "text": "I work at Microsoft." - }, - { - "language": "en", - "id": "3", - "text": "I visited Space Needle 2 times." - } - ] - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "documents": [ - { - "id": "1", - "entities": [ - { - "text": "Seattle", - "category": "Location", - "offset": 26, - "length": 7, - "confidenceScore": 0.80 - }, - { - "text": "last week", - "category": "DateTime", - "subcategory": "DateRange", - "offset": 34, - "length": 9, - "confidenceScore": 0.8 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "Microsoft", - "category": "Organization", - "offset": 10, - "length": 9, - "confidenceScore": 0.99 - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [ - { - "text": "Space Needle", - "category": "Organization", - "offset": 10, - "length": 12, - "confidenceScore": 0.75 - }, - { - "text": "2", - "category": "Quantity", - "subcategory": "Number", - "offset": 23, - "length": 1, - "confidenceScore": 0.8 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2019-10-01" - } - } - } -} diff --git a/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/examples/SuccessfulEntityLinkingRequest.json b/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/examples/SuccessfulEntityLinkingRequest.json deleted file mode 100644 index caf12d36bc11..000000000000 --- a/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/examples/SuccessfulEntityLinkingRequest.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "parameters": { - "Ocp-Apim-Subscription-Key": "{API key}", - "Endpoint": "{Endpoint}", - "input": { - "documents": [ - { - "language": "en", - "id": "1", - "text": "I had a wonderful trip to Seattle last week." - }, - { - "language": "en", - "id": "2", - "text": "I work at Microsoft." - }, - { - "language": "en", - "id": "3", - "text": "I visited Space Needle 2 times." - } - ] - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "documents": [ - { - "id": "1", - "entities": [ - { - "name": "Seattle", - "matches": [ - { - "text": "Seattle", - "offset": 26, - "length": 7, - "confidenceScore": 0.15 - } - ], - "language": "en", - "id": "Seattle", - "url": "https://en.wikipedia.org/wiki/Seattle", - "dataSource": "Wikipedia" - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "name": "Microsoft", - "matches": [ - { - "text": "Microsoft", - "offset": 10, - "length": 9, - "confidenceScore": 0.18 - } - ], - "language": "en", - "id": "Microsoft", - "url": "https://en.wikipedia.org/wiki/Microsoft", - "dataSource": "Wikipedia" - } - ], - "warnings": [] - }, - { - "id": "3", - "entities": [ - { - "name": "Space Needle", - "matches": [ - { - "text": "Space Needle", - "offset": 10, - "length": 12, - "confidenceScore": 0.15 - } - ], - "language": "en", - "id": "Space Needle", - "url": "https://en.wikipedia.org/wiki/Space_Needle", - "dataSource": "Wikipedia" - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2019-10-01" - } - } - } -} diff --git a/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/examples/SuccessfulEntityPIIRequest.json b/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/examples/SuccessfulEntityPIIRequest.json deleted file mode 100644 index 70d30744fd02..000000000000 --- a/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/examples/SuccessfulEntityPIIRequest.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "parameters": { - "Ocp-Apim-Subscription-Key": "{API key}", - "Endpoint": "{Endpoint}", - "input": { - "documents": [ - { - "language": "en", - "id": "0", - "text": "Microsoft employee with ssn 859-98-0987 is using our awesome API's." - }, - { - "language": "en", - "id": "1", - "text": "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check." - }, - { - "language": "en", - "id": "2", - "text": "Is 998.214.865-68 your Brazilian CPF number?" - } - ] - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "documents": [ - { - "id": "0", - "entities": [ - { - "text": "859-98-0987", - "category": "U.S. Social Security Number (SSN)", - "subcategory": "", - "offset": 28, - "length": 11, - "confidenceScore": 0.65 - } - ], - "warnings": [] - }, - { - "id": "1", - "entities": [ - { - "text": "111000025", - "category": "ABA Routing Number", - "subcategory": "", - "offset": 18, - "length": 9, - "confidenceScore": 0.75 - } - ], - "warnings": [] - }, - { - "id": "2", - "entities": [ - { - "text": "998.214.865-68", - "category": "Brazil CPF Number", - "subcategory": "", - "offset": 3, - "length": 14, - "confidenceScore": 0.85 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2019-10-01" - } - } - } -} diff --git a/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/examples/SuccessfulKeyPhrasesRequest.json b/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/examples/SuccessfulKeyPhrasesRequest.json deleted file mode 100644 index 12ff0ccce583..000000000000 --- a/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/examples/SuccessfulKeyPhrasesRequest.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "parameters": { - "Ocp-Apim-Subscription-Key": "{API key}", - "Endpoint": "{Endpoint}", - "input": { - "documents": [ - { - "language": "en", - "id": "1", - "text": "Hello world. This is some input text that I love." - }, - { - "language": "fr", - "id": "2", - "text": "Bonjour tout le monde" - }, - { - "language": "es", - "id": "3", - "text": "La carretera estaba atascada. Había mucho tráfico el día de ayer." - } - ] - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "documents": [ - { - "id": "1", - "keyPhrases": [ - "world", - "input text" - ], - "warnings": [] - }, - { - "id": "2", - "keyPhrases": [ - "monde" - ], - "warnings": [] - }, - { - "id": "3", - "keyPhrases": [ - "carretera", - "tráfico", - "día" - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2019-10-01" - } - } - } -} diff --git a/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/examples/SuccessfulLanguagesRequest.json b/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/examples/SuccessfulLanguagesRequest.json deleted file mode 100644 index fad894b10669..000000000000 --- a/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/examples/SuccessfulLanguagesRequest.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "parameters": { - "Ocp-Apim-Subscription-Key": "{API key}", - "Endpoint": "{Endpoint}", - "input": { - "documents": [ - { - "countryHint": "US", - "id": "1", - "text": "Hello world" - }, - { - "id": "2", - "text": "Bonjour tout le monde" - }, - { - "id": "3", - "text": "La carretera estaba atascada. Había mucho tráfico el día de ayer." - } - ] - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "documents": [ - { - "id": "1", - "detectedLanguages": [ - { - "name": "English", - "iso6391Name": "en", - "confidenceScore": 1 - } - ], - "warnings": [] - }, - { - "id": "2", - "detectedLanguages": [ - { - "name": "French", - "iso6391Name": "fr", - "confidenceScore": 1 - } - ], - "warnings": [] - }, - { - "id": "3", - "detectedLanguages": [ - { - "name": "Spanish", - "iso6391Name": "es", - "confidenceScore": 1 - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2019-10-01" - } - } - } -} diff --git a/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/examples/SuccessfulSentimentRequest.json b/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/examples/SuccessfulSentimentRequest.json deleted file mode 100644 index ad3fc48d2cae..000000000000 --- a/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/examples/SuccessfulSentimentRequest.json +++ /dev/null @@ -1,323 +0,0 @@ -{ - "parameters": { - "Ocp-Apim-Subscription-Key": "{API key}", - "Endpoint": "{Endpoint}", - "input": { - "documents": [ - { - "language": "en", - "id": "1", - "text": "Great atmosphere. Close to plenty of restaurants, hotels, and transit! Staff are friendly and helpful." - }, - { - "language": "en", - "id": "2", - "text": "Bad atmosphere. Not close to plenty of restaurants, hotels, and transit! Staff are not friendly and helpful." - } - ] - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "documents": [ - { - "id": "1", - "sentiment": "positive", - "confidenceScores": { - "positive": 1.0, - "neutral": 0.0, - "negative": 0.0 - }, - "sentences": [ - { - "text": "Great atmosphere.", - "sentiment": "positive", - "confidenceScores": { - "positive": 1.0, - "neutral": 0.0, - "negative": 0.0 - }, - "offset": 0, - "length": 17, - "aspects": [ - { - "sentiment": "positive", - "confidenceScores": { - "positive": 1.0, - "negative": 0.0 - }, - "offset": 6, - "length": 10, - "text": "atmosphere", - "relations": [ - { - "relationType": "opinion", - "ref": "#/documents/0/sentences/0/opinions/0" - } - ] - } - ], - "opinions": [ - { - "sentiment": "positive", - "confidenceScores": { - "positive": 1.0, - "negative": 0.0 - }, - "offset": 0, - "length": 5, - "text": "great", - "isNegated": false - } - ] - }, - { - "text": "Close to plenty of restaurants, hotels, and transit!", - "sentiment": "neutral", - "confidenceScores": { - "positive": 0.13, - "neutral": 0.86, - "negative": 0.01 - }, - "offset": 18, - "length": 52, - "aspects": [ - { - "sentiment": "positive", - "confidenceScores": { - "positive": 0.99, - "negative": 0.01 - }, - "offset": 37, - "length": 11, - "text": "restaurants", - "relations": [ - { - "relationType": "opinion", - "ref": "#/documents/0/sentences/1/opinions/0" - } - ] - }, - { - "sentiment": "positive", - "confidenceScores": { - "positive": 0.99, - "negative": 0.01 - }, - "offset": 50, - "length": 6, - "text": "hotels", - "relations": [ - { - "relationType": "opinion", - "ref": "#/documents/0/sentences/1/opinions/0" - } - ] - } - ], - "opinions": [ - { - "sentiment": "positive", - "confidenceScores": { - "positive": 0.99, - "negative": 0.01 - }, - "offset": 18, - "length": 15, - "text": "close to plenty", - "isNegated": false - } - ] - }, - { - "text": "Staff are friendly and helpful.", - "sentiment": "positive", - "confidenceScores": { - "positive": 1.0, - "neutral": 0.0, - "negative": 0.0 - }, - "offset": 71, - "length": 31, - "aspects": [ - { - "sentiment": "positive", - "confidenceScores": { - "positive": 1.0, - "negative": 0.0 - }, - "offset": 71, - "length": 5, - "text": "Staff", - "relations": [ - { - "relationType": "opinion", - "ref": "#/documents/0/sentences/2/opinions/0" - } - ] - } - ], - "opinions": [ - { - "sentiment": "positive", - "confidenceScores": { - "positive": 1.0, - "negative": 0.0 - }, - "offset": 81, - "length": 8, - "text": "friendly", - "isNegated": false - } - ] - } - ], - "warnings": [] - }, - { - "id": "2", - "sentiment": "negative", - "confidenceScores": { - "positive": 0.01, - "neutral": 0.14, - "negative": 0.85 - }, - "sentences": [ - { - "text": "Bad atmosphere.", - "sentiment": "negative", - "confidenceScores": { - "positive": 0.0, - "neutral": 0.0, - "negative": 1.0 - }, - "offset": 8, - "length": 15, - "aspects": [ - { - "sentiment": "negative", - "confidenceScores": { - "positive": 0.01, - "negative": 0.99 - }, - "offset": 4, - "length": 10, - "text": "atmosphere", - "relations": [ - { - "relationType": "opinion", - "ref": "#/documents/1/sentences/0/opinions/0" - } - ] - } - ], - "opinions": [ - { - "sentiment": "negative", - "confidenceScores": { - "positive": 0.01, - "negative": 0.99 - }, - "offset": 0, - "length": 3, - "text": "bad", - "isNegated": false - } - ] - }, - { - "text": "Not close to plenty of restaurants, hotels, and transit!", - "sentiment": "negative", - "confidenceScores": { - "positive": 0.02, - "neutral": 0.44, - "negative": 0.54 - }, - "offset": 16, - "length": 56, - "aspects": [ - { - "sentiment": "negative", - "confidenceScores": { - "positive": 0.03, - "negative": 0.97 - }, - "offset": 39, - "length": 11, - "text": "restaurants", - "relations": [ - { - "relationType": "opinion", - "ref": "#/documents/1/sentences/1/opinions/0" - } - ] - } - ], - "opinions": [ - { - "sentiment": "negative", - "confidenceScores": { - "positive": 0.03, - "negative": 0.97 - }, - "offset": 20, - "length": 5, - "text": "close", - "isNegated": true - } - ] - }, - { - "text": "Staff are not friendly and helpful.", - "sentiment": "negative", - "confidenceScores": { - "positive": 0.0, - "neutral": 0.0, - "negative": 1.0 - }, - "offset": 73, - "length": 35, - "aspects": [ - { - "sentiment": "negative", - "confidenceScores": { - "positive": 0.0, - "negative": 1.0 - }, - "offset": 73, - "length": 5, - "text": "Staff", - "relations": [ - { - "relationType": "opinion", - "ref": "#/documents/1/sentences/2/opinions/0" - } - ] - } - ], - "opinions": [ - { - "sentiment": "negative", - "confidenceScores": { - "positive": 0.0, - "negative": 1.0 - }, - "offset": 87, - "length": 8, - "text": "friendly", - "isNegated": true - } - ] - } - ], - "warnings": [] - } - ], - "errors": [], - "modelVersion": "2020-04-01" - } - } - } -} diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsCreate.json deleted file mode 100644 index 1f2db43777be..000000000000 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsCreate.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "parameters": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "myResourceGroup", - "registryName": "myRegistry", - "api-version": "2019-06-01-preview", - "agentPoolName": "myAgentPool", - "agentPool": { - "location": "WESTUS", - "tags": { - "key": "value" - }, - "properties": { - "count": 1, - "tier": "S1", - "os": "Linux" - } - } - }, - "responses": { - "200": { - "body": { - "type": "Microsoft.ContainerRegistry/registries/agentPools", - "properties": { - "count": 1, - "tier": "S1", - "os": "Linux", - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", - "name": "myAgentPool", - "location": "WESTUS" - } - }, - "201": { - "body": { - "type": "Microsoft.ContainerRegistry/registries/agentPools", - "properties": { - "count": 1, - "tier": "S1", - "os": "Linux", - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourceGroups/huanwudfwestgroup/providers/Microsoft.ContainerRegistry/registries/huanglidfwest01/agentPools/testagent26", - "name": "myAgentPool", - "location": "WESTUS" - } - } - } -}