From 99a611fc88e7387cd243fcfe093c282645751bdb Mon Sep 17 00:00:00 2001 From: Sasank Chaganty Date: Thu, 4 May 2023 15:05:18 -0700 Subject: [PATCH 1/2] removing API version --- .../activeDirectoryConnectors.json | 242 -- .../2023-03-15-preview/azurearcdata.json | 1941 ----------------- .../preview/2023-03-15-preview/common.json | 146 -- .../2023-03-15-preview/dataControllers.json | 253 --- ...reateOrUpdateActiveDirectoryConnector.json | 134 -- ...UpdateArcSqlAvailabilityGroupDatabase.json | 86 - ...rUpdateArcSqlAvailabilityGroupReplica.json | 90 - ...OrUpdateArcSqlServerAvailabilityGroup.json | 90 - .../CreateOrUpdateArcSqlServerDatabase.json | 84 - .../CreateOrUpdateDataController.json | 166 -- .../examples/CreateOrUpdateFailoverGroup.json | 74 - .../CreateOrUpdatePostgresInstance.json | 172 -- .../CreateOrUpdateSqlAvailabilityGroup.json | 96 - .../CreateOrUpdateSqlManagedInstance.json | 192 -- .../CreateOrUpdateSqlServerInstance.json | 112 - .../DeleteActiveDirectoryConnector.json | 26 - ...DeleteArcSqlAvailabilityGroupDatabase.json | 21 - .../DeleteArcSqlAvailabilityGroupReplica.json | 21 - .../DeleteArcSqlServerAvailabilityGroup.json | 21 - .../examples/DeleteArcSqlServerDatabase.json | 21 - .../examples/DeleteDataController.json | 25 - .../examples/DeleteFailoverGroup.json | 18 - .../examples/DeletePostgresInstance.json | 25 - .../examples/DeleteSqlAvailabilityGroup.json | 25 - .../examples/DeleteSqlManagedInstance.json | 25 - .../examples/DeleteSqlServerInstance.json | 25 - .../examples/GetActiveDirectoryConnector.json | 57 - .../GetArcSqlAvailabilityGroupDatabase.json | 47 - .../GetArcSqlAvailabilityGroupReplica.json | 57 - .../GetArcSqlServerAvailabilityGroup.json | 57 - .../examples/GetArcSqlServerDatabase.json | 54 - .../examples/GetDataController.json | 65 - .../examples/GetFailoverGroup.json | 38 - .../examples/GetPostgresInstance.json | 43 - .../examples/GetSqlAvailabilityGroup.json | 43 - .../examples/GetSqlManagedInstance.json | 74 - .../examples/GetSqlServerInstance.json | 49 - ...ataControllerActiveDirectoryConnector.json | 104 - .../ListByResourceGroupDataController.json | 115 - .../ListByResourceGroupPostgresInstance.json | 77 - ...stByResourceGroupSqlAvailabilityGroup.json | 77 - ...ListByResourceGroupSqlManagedInstance.json | 137 -- .../ListByResourceGroupSqlServerInstance.json | 88 - .../ListBySqlAvailabilityGroupDatabase.json | 100 - .../ListBySqlAvailabilityGroupReplica.json | 104 - ...ListBySqlManagedInstanceFailoverGroup.json | 66 - ...tBySqlServerInstanceAvailabilityGroup.json | 104 - .../ListBySqlServerInstanceDatabase.json | 98 - .../examples/ListOperation.json | 353 --- .../ListSubscriptionDataController.json | 119 - .../ListSubscriptionPostgresInstance.json | 76 - .../ListSubscriptionSqlAvailabilityGroup.json | 76 - .../ListSubscriptionSqlManagedInstance.json | 138 -- .../ListSubscriptionSqlServerInstance.json | 87 - .../examples/UpdateDataController.json | 75 - .../examples/UpdatePostgresInstance.json | 48 - .../examples/UpdateSqlAvailabilityGroup.json | 48 - .../UpdateSqlAvailabilityGroupDatabase.json | 85 - .../UpdateSqlAvailabilityGroupReplica.json | 62 - .../examples/UpdateSqlManagedInstance.json | 76 - .../UpdateSqlServerAvailabilityGroup.json | 62 - .../examples/UpdateSqlServerDatabase.json | 59 - .../examples/UpdateSqlServerInstance.json | 54 - .../2023-03-15-preview/failoverGroups.json | 157 -- .../2023-03-15-preview/operations.json | 127 -- .../2023-03-15-preview/postgresInstances.json | 174 -- .../sqlAvailabilityGroups.json | 141 -- .../sqlManagedInstances.json | 307 --- .../sqlServerAvailabilityGroups.json | 1188 ---------- .../sqlServerDatabases.json | 490 ----- .../sqlServerInstances.json | 246 --- 71 files changed, 10033 deletions(-) delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/activeDirectoryConnectors.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/azurearcdata.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/common.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/dataControllers.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateActiveDirectoryConnector.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateArcSqlAvailabilityGroupDatabase.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateArcSqlAvailabilityGroupReplica.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateArcSqlServerAvailabilityGroup.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateArcSqlServerDatabase.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateDataController.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateFailoverGroup.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdatePostgresInstance.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateSqlAvailabilityGroup.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateSqlManagedInstance.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateSqlServerInstance.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteActiveDirectoryConnector.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteArcSqlAvailabilityGroupDatabase.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteArcSqlAvailabilityGroupReplica.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteArcSqlServerAvailabilityGroup.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteArcSqlServerDatabase.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteDataController.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteFailoverGroup.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeletePostgresInstance.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteSqlAvailabilityGroup.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteSqlManagedInstance.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteSqlServerInstance.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetActiveDirectoryConnector.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetArcSqlAvailabilityGroupDatabase.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetArcSqlAvailabilityGroupReplica.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetArcSqlServerAvailabilityGroup.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetArcSqlServerDatabase.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetDataController.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetFailoverGroup.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetPostgresInstance.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetSqlAvailabilityGroup.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetSqlManagedInstance.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetSqlServerInstance.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByDataControllerActiveDirectoryConnector.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByResourceGroupDataController.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByResourceGroupPostgresInstance.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByResourceGroupSqlAvailabilityGroup.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByResourceGroupSqlManagedInstance.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByResourceGroupSqlServerInstance.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListBySqlAvailabilityGroupDatabase.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListBySqlAvailabilityGroupReplica.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListBySqlManagedInstanceFailoverGroup.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListBySqlServerInstanceAvailabilityGroup.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListBySqlServerInstanceDatabase.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListOperation.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListSubscriptionDataController.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListSubscriptionPostgresInstance.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListSubscriptionSqlAvailabilityGroup.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListSubscriptionSqlManagedInstance.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListSubscriptionSqlServerInstance.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateDataController.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdatePostgresInstance.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlAvailabilityGroup.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlAvailabilityGroupDatabase.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlAvailabilityGroupReplica.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlManagedInstance.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlServerAvailabilityGroup.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlServerDatabase.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlServerInstance.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/failoverGroups.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/operations.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/postgresInstances.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/sqlAvailabilityGroups.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/sqlManagedInstances.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/sqlServerAvailabilityGroups.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/sqlServerDatabases.json delete mode 100644 specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/sqlServerInstances.json diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/activeDirectoryConnectors.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/activeDirectoryConnectors.json deleted file mode 100644 index d90a0270b510..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/activeDirectoryConnectors.json +++ /dev/null @@ -1,242 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-03-15-preview", - "title": "AzureArcDataManagementClient", - "description": "The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources." - }, - "paths": {}, - "definitions": { - "ActiveDirectoryConnectorListResult": { - "description": "A list of active directory connectors", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/ActiveDirectoryConnectorResource" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "ActiveDirectoryConnectorResource": { - "type": "object", - "description": "Active directory connector resource", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/ActiveDirectoryConnectorProperties", - "description": "null", - "x-ms-client-flatten": false - } - }, - "required": [ - "properties" - ] - }, - "ActiveDirectoryConnectorProperties": { - "type": "object", - "description": "The properties of an Active Directory connector resource", - "properties": { - "domainServiceAccountLoginInformation": { - "$ref": "./common.json#/definitions/BasicLoginInformation", - "description": "Username and password for domain service account authentication." - }, - "provisioningState": { - "type": "string", - "description": "The provisioning state of the Active Directory connector resource.", - "readOnly": true - }, - "spec": { - "$ref": "#/definitions/ActiveDirectoryConnectorSpec", - "description": "null", - "x-ms-client-flatten": false - }, - "status": { - "$ref": "#/definitions/ActiveDirectoryConnectorStatus", - "description": "null", - "x-ms-client-flatten": false - } - }, - "required": [ - "spec" - ] - }, - "ActiveDirectoryConnectorSpec": { - "description": "The specifications of the AD Kubernetes resource.", - "type": "object", - "properties": { - "activeDirectory": { - "$ref": "#/definitions/ActiveDirectoryConnectorDomainDetails", - "description": "null", - "x-ms-client-flatten": false - }, - "dns": { - "$ref": "#/definitions/ActiveDirectoryConnectorDNSDetails", - "description": "null", - "x-ms-client-flatten": false - } - }, - "required": [ - "activeDirectory", - "dns" - ] - }, - "ActiveDirectoryConnectorDomainDetails": { - "type": "object", - "description": "Active Directory domain details", - "properties": { - "realm": { - "type": "string", - "description": "Name (uppercase) of the Active Directory domain that this AD connector will be associated with." - }, - "netbiosDomainName": { - "type": "string", - "description": "NETBIOS name of the Active Directory domain." - }, - "serviceAccountProvisioning": { - "type": "string", - "enum": [ - "automatic", - "manual" - ], - "x-ms-enum": { - "name": "accountProvisioningMode", - "modelAsString": true - }, - "default": "manual", - "description": "The service account provisioning mode for this Active Directory connector." - }, - "ouDistinguishedName": { - "type": "string", - "description": "The distinguished name of the Active Directory Organizational Unit." - }, - "domainControllers": { - "$ref": "#/definitions/ActiveDirectoryDomainControllers", - "description": "null", - "x-ms-client-flatten": false - } - }, - "required": [ - "realm" - ] - }, - "ActiveDirectoryConnectorDNSDetails": { - "type": "object", - "description": "DNS server details", - "properties": { - "domainName": { - "type": "string", - "description": "DNS domain name for which DNS lookups should be forwarded to the Active Directory DNS servers." - }, - "nameserverIPAddresses": { - "type": "array", - "description": "List of Active Directory DNS server IP addresses.", - "items": { - "type": "string", - "minimum": 1 - } - }, - "replicas": { - "type": "integer", - "description": "Replica count for DNS proxy service. Default value is 1.", - "default": 1, - "format": "int64" - }, - "preferK8sDnsForPtrLookups": { - "type": "boolean", - "description": "Flag indicating whether to prefer Kubernetes DNS server response over AD DNS server response for IP address lookups.", - "default": true - } - }, - "required": [ - "nameserverIPAddresses" - ] - }, - "ActiveDirectoryDomainControllers": { - "type": "object", - "description": "Details about the Active Directory domain controllers associated with this AD connector instance", - "properties": { - "primaryDomainController": { - "$ref": "#/definitions/ActiveDirectoryDomainController", - "description": "Information about the Primary Domain Controller (PDC) in the AD domain.", - "x-ms-client-flatten": false - }, - "secondaryDomainControllers": { - "$ref": "#/definitions/ActiveDirectorySecondaryDomainControllers", - "description": "null", - "x-ms-client-flatten": false - } - } - }, - "ActiveDirectoryDomainController": { - "type": "object", - "description": "Information about a domain controller in the AD domain.", - "properties": { - "hostname": { - "type": "string", - "description": "Fully-qualified domain name of a domain controller in the AD domain." - } - }, - "required": [ - "hostname" - ] - }, - "ActiveDirectorySecondaryDomainControllers": { - "type": "array", - "description": "Information about the secondary domain controllers in the AD domain.", - "items": { - "$ref": "#/definitions/ActiveDirectoryDomainController", - "description": "List of the fully-qualified domain names of the secondary domain controllers in the AD domain.", - "x-ms-client-flatten": false - }, - "x-ms-identifiers": [ - "hostname" - ] - }, - "ActiveDirectoryConnectorStatus": { - "type": "object", - "description": "The status of the Kubernetes custom resource.", - "properties": { - "lastUpdateTime": { - "type": "string", - "description": "The time that the custom resource was last updated." - }, - "observedGeneration": { - "type": "integer", - "format": "int64", - "description": "The version of the replicaSet associated with the AD connector custom resource." - }, - "state": { - "type": "string", - "description": "The state of the AD connector custom resource." - } - }, - "additionalProperties": { - "type": "object" - } - } - }, - "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/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/azurearcdata.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/azurearcdata.json deleted file mode 100644 index 67611403b94c..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/azurearcdata.json +++ /dev/null @@ -1,1941 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-03-15-preview", - "title": "AzureArcDataManagementClient", - "description": "The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/providers/Microsoft.AzureArcData/operations": { - "get": { - "tags": [ - "Operations" - ], - "description": "Lists all of the available Azure Data Services on Azure Arc API operations.", - "operationId": "Operations_List", - "parameters": [ - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved operations.", - "schema": { - "$ref": "./operations.json#/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": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Lists all of the available Azure Data Services on Azure Arc API operations.": { - "$ref": "./examples/ListOperation.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlManagedInstances": { - "get": { - "tags": [ - "SqlManagedInstances" - ], - "operationId": "SqlManagedInstances_List", - "summary": "List sqlManagedInstance resources in the subscription", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./sqlManagedInstances.json#/definitions/SqlManagedInstanceListResult" - } - }, - "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": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all SQL Instance in a subscription.": { - "$ref": "./examples/ListSubscriptionSqlManagedInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances": { - "get": { - "tags": [ - "SqlManagedInstances" - ], - "operationId": "SqlManagedInstances_ListByResourceGroup", - "description": "Gets all sqlManagedInstances in a resource group.", - "summary": "List sqlManagedInstance resources in the resource group", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./sqlManagedInstances.json#/definitions/SqlManagedInstanceListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all SQL Instance in a resource group.": { - "$ref": "./examples/ListByResourceGroupSqlManagedInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}": { - "get": { - "tags": [ - "SqlManagedInstances" - ], - "operationId": "SqlManagedInstances_Get", - "description": "Retrieves a SQL Managed Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlManagedInstanceName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./sqlManagedInstances.json#/definitions/SqlManagedInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Updates a SQL Instance tags.": { - "$ref": "./examples/GetSqlManagedInstance.json" - } - } - }, - "put": { - "tags": [ - "SqlManagedInstances" - ], - "operationId": "SqlManagedInstances_Create", - "description": "Creates or replaces a SQL Managed Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlManagedInstanceName" - }, - { - "name": "sqlManagedInstance", - "in": "body", - "description": "The SQL Managed Instance to be created or updated.", - "required": true, - "schema": { - "$ref": "./sqlManagedInstances.json#/definitions/SqlManagedInstance" - } - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./sqlManagedInstances.json#/definitions/SqlManagedInstance" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "./sqlManagedInstances.json#/definitions/SqlManagedInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create or update a SQL Managed Instance": { - "$ref": "./examples/CreateOrUpdateSqlManagedInstance.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "SqlManagedInstances" - ], - "operationId": "SqlManagedInstances_Delete", - "description": "Deletes a SQL Managed Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlManagedInstanceName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the SQL Managed Instance." - }, - "202": { - "description": "Resource deletion is in progress." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - }, - "204": { - "description": "The specified SQL Managed Instance does not exist." - } - }, - "x-ms-examples": { - "Delete a SQL Instance.": { - "$ref": "./examples/DeleteSqlManagedInstance.json" - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "SqlManagedInstances" - ], - "operationId": "SqlManagedInstances_Update", - "description": "Updates a SQL Managed Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlManagedInstanceName" - }, - { - "name": "parameters", - "in": "body", - "description": "The SQL Managed Instance.", - "required": true, - "schema": { - "$ref": "./sqlManagedInstances.json#/definitions/SqlManagedInstanceUpdate" - } - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./sqlManagedInstances.json#/definitions/SqlManagedInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Updates a sql Instance tags.": { - "$ref": "./examples/UpdateSqlManagedInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups": { - "get": { - "tags": [ - "FailoverGroups" - ], - "operationId": "FailoverGroups_List", - "summary": "List the failover groups associated with the given sql managed instance.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlManagedInstanceName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./failoverGroups.json#/definitions/FailoverGroupListResult" - } - }, - "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": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all failover groups associated with a sql managed instance.": { - "$ref": "./examples/ListBySqlManagedInstanceFailoverGroup.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}": { - "put": { - "tags": [ - "FailoverGroups" - ], - "operationId": "FailoverGroups_Create", - "description": "Creates or replaces a failover group resource.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "failoverGroupResource", - "description": "desc", - "required": true, - "in": "body", - "schema": { - "$ref": "./failoverGroups.json#/definitions/FailoverGroupResource" - } - }, - { - "$ref": "#/parameters/sqlManagedInstanceName" - }, - { - "$ref": "#/parameters/failoverGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./failoverGroups.json#/definitions/FailoverGroupResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "./failoverGroups.json#/definitions/FailoverGroupResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-examples": { - "Create or update a failover group instance.": { - "$ref": "./examples/CreateOrUpdateFailoverGroup.json" - } - } - }, - "delete": { - "tags": [ - "FailoverGroups" - ], - "operationId": "FailoverGroups_Delete", - "description": "Deletes a failover group resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlManagedInstanceName" - }, - { - "$ref": "#/parameters/failoverGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the failover group." - }, - "202": { - "description": "Resource deletion is in progress." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - }, - "204": { - "description": "The specified failover group does not exist." - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Deletes a failover group instance.": { - "$ref": "./examples/DeleteFailoverGroup.json" - } - } - }, - "get": { - "tags": [ - "FailoverGroups" - ], - "operationId": "FailoverGroups_Get", - "description": "Retrieves a failover group resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlManagedInstanceName" - }, - { - "$ref": "#/parameters/failoverGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./failoverGroups.json#/definitions/FailoverGroupResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Retrieves a failover group resource.": { - "$ref": "./examples/GetFailoverGroup.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlServerInstances": { - "get": { - "tags": [ - "SqlServerInstances" - ], - "operationId": "SqlServerInstances_List", - "summary": "List sqlServerInstance resources in the subscription", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./sqlServerInstances.json#/definitions/SqlServerInstanceListResult" - } - }, - "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": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all SQL Server Instance in a subscription.": { - "$ref": "./examples/ListSubscriptionSqlServerInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances": { - "get": { - "tags": [ - "SqlServerInstances" - ], - "operationId": "SqlServerInstances_ListByResourceGroup", - "description": "Gets all sqlServerInstances in a resource group.", - "summary": "List sqlServerInstance resources in the resource group", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./sqlServerInstances.json#/definitions/SqlServerInstanceListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all SQL Server Instance in a resource group.": { - "$ref": "./examples/ListByResourceGroupSqlServerInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}": { - "get": { - "tags": [ - "SqlServerInstances" - ], - "operationId": "SqlServerInstances_Get", - "description": "Retrieves a SQL Server Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlServerInstanceName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./sqlServerInstances.json#/definitions/SqlServerInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Updates a SQL Server Instance tags.": { - "$ref": "./examples/GetSqlServerInstance.json" - } - } - }, - "put": { - "tags": [ - "SqlServerInstances" - ], - "operationId": "SqlServerInstances_Create", - "description": "Creates or replaces a SQL Server Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlServerInstanceName" - }, - { - "name": "sqlServerInstance", - "in": "body", - "description": "The SQL Server Instance to be created or updated.", - "required": true, - "schema": { - "$ref": "./sqlServerInstances.json#/definitions/SqlServerInstance" - } - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./sqlServerInstances.json#/definitions/SqlServerInstance" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "./sqlServerInstances.json#/definitions/SqlServerInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Updates a SQL Server Instance tags.": { - "$ref": "./examples/CreateOrUpdateSqlServerInstance.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "SqlServerInstances" - ], - "operationId": "SqlServerInstances_Delete", - "description": "Deletes a SQL Server Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlServerInstanceName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the SQL Server Instance." - }, - "202": { - "description": "Resource deletion is in progress." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - }, - "204": { - "description": "The specified SQL Server Instance does not exist." - } - }, - "x-ms-examples": { - "Delete a SQL Server Instance.": { - "$ref": "./examples/DeleteSqlServerInstance.json" - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "SqlServerInstances" - ], - "operationId": "SqlServerInstances_Update", - "description": "Updates a SQL Server Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlServerInstanceName" - }, - { - "name": "parameters", - "in": "body", - "description": "The SQL Server Instance.", - "required": true, - "schema": { - "$ref": "./sqlServerInstances.json#/definitions/SqlServerInstanceUpdate" - } - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./sqlServerInstances.json#/definitions/SqlServerInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Updates a SQL Server Instance tags.": { - "$ref": "./examples/UpdateSqlServerInstance.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlAvailabilityGroups": { - "get": { - "tags": [ - "sqlAvailabilityGroups" - ], - "operationId": "sqlAvailabilityGroups_List", - "summary": "List sqlAvailabilityGroups resources in the subscription", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./sqlAvailabilityGroups.json#/definitions/SqlAvailabilityGroupListResult" - } - }, - "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": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all SQL Availability Groups in a subscription.": { - "$ref": "./examples/ListSubscriptionSqlAvailabilityGroup.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlAvailabilityGroups": { - "get": { - "tags": [ - "sqlAvailabilityGroups" - ], - "operationId": "sqlAvailabilityGroups_ListByResourceGroup", - "description": "Gets all sqlAvailabilityGroups in a resource group.", - "summary": "List sqlAvailabilityGroups resources in the resource group", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./sqlAvailabilityGroups.json#/definitions/SqlAvailabilityGroupListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all SQL Server Instance in a resource group.": { - "$ref": "./examples/ListByResourceGroupSqlAvailabilityGroup.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlAvailabilityGroups/{sqlAvailabilityGroupName}": { - "get": { - "tags": [ - "sqlAvailabilityGroups" - ], - "operationId": "SqlAvailabilityGroups_Get", - "description": "Retrieves a SQL Availability Group resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./sqlAvailabilityGroups.json#/definitions/SqlAvailabilityGroup" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Updates a SQL Server Instance tags.": { - "$ref": "./examples/GetSqlAvailabilityGroup.json" - } - } - }, - "put": { - "tags": [ - "sqlAvailabilityGroups" - ], - "operationId": "SqlAvailabilityGroups_Create", - "description": "Creates or replaces a SQL Availability Group resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupName" - }, - { - "name": "sqlAvailabilityGroup", - "in": "body", - "description": "The SQL Availability Group to be created or updated.", - "required": true, - "schema": { - "$ref": "./sqlAvailabilityGroups.json#/definitions/SqlAvailabilityGroup" - } - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./sqlAvailabilityGroups.json#/definitions/SqlAvailabilityGroup" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "./sqlAvailabilityGroups.json#/definitions/SqlAvailabilityGroup" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Updates a SQL Availability Group tags.": { - "$ref": "./examples/CreateOrUpdateSqlAvailabilityGroup.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "sqlAvailabilityGroups" - ], - "operationId": "SqlAvailabilityGroups_Delete", - "description": "Deletes a SQL Availability Group resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the SQL Availability Group." - }, - "202": { - "description": "Resource deletion is in progress." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - }, - "204": { - "description": "The specified SQL Availability Group does not exist." - } - }, - "x-ms-examples": { - "Delete a SQL Server Instance.": { - "$ref": "./examples/DeleteSqlAvailabilityGroup.json" - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "sqlAvailabilityGroups" - ], - "operationId": "SqlAvailabilityGroups_Update", - "description": "Updates a SQL Availability Group resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupName" - }, - { - "name": "parameters", - "in": "body", - "description": "The SQL Availability Group.", - "required": true, - "schema": { - "$ref": "./sqlAvailabilityGroups.json#/definitions/SqlAvailabilityGroupUpdate" - } - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./sqlAvailabilityGroups.json#/definitions/SqlAvailabilityGroup" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Updates a SQL Server Instance tags.": { - "$ref": "./examples/UpdateSqlAvailabilityGroup.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/dataControllers": { - "get": { - "tags": [ - "DataControllers" - ], - "operationId": "DataControllers_ListInSubscription", - "summary": "List dataController resources in the subscription", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./dataControllers.json#/definitions/PageOfDataControllerResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all dataControllers in a subscription.": { - "$ref": "./examples/ListSubscriptionDataController.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers": { - "get": { - "tags": [ - "DataControllers" - ], - "operationId": "DataControllers_ListInGroup", - "summary": "List dataController resources in the resource group", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./dataControllers.json#/definitions/PageOfDataControllerResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all dataControllers in a resource group.": { - "$ref": "./examples/ListByResourceGroupDataController.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}": { - "put": { - "tags": [ - "DataControllers" - ], - "operationId": "DataControllers_PutDataController", - "description": "Creates or replaces a dataController resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "dataControllerResource", - "description": "desc", - "required": true, - "in": "body", - "schema": { - "$ref": "./dataControllers.json#/definitions/DataControllerResource" - } - }, - { - "$ref": "#/parameters/dataControllerName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./dataControllers.json#/definitions/DataControllerResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "./dataControllers.json#/definitions/DataControllerResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create or update a Data Controller.": { - "$ref": "./examples/CreateOrUpdateDataController.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "DataControllers" - ], - "operationId": "DataControllers_DeleteDataController", - "description": "Deletes a dataController resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/dataControllerName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the DataController." - }, - "202": { - "description": "Resource deletion is in progress." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - }, - "204": { - "description": "The specified DataController does not exist." - } - }, - "x-ms-examples": { - "Delete a dataController.": { - "$ref": "./examples/DeleteDataController.json" - } - }, - "x-ms-long-running-operation": true - }, - "get": { - "tags": [ - "DataControllers" - ], - "operationId": "DataControllers_GetDataController", - "description": "Retrieves a dataController resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/dataControllerName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./dataControllers.json#/definitions/DataControllerResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get a data controller.": { - "$ref": "./examples/GetDataController.json" - } - } - }, - "patch": { - "tags": [ - "DataControllers" - ], - "operationId": "DataControllers_PatchDataController", - "description": "Updates a dataController resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/dataControllerName" - }, - { - "$ref": "#/parameters/apiVersion" - }, - { - "name": "dataControllerResource", - "description": "The update data controller resource", - "required": true, - "in": "body", - "schema": { - "$ref": "./dataControllers.json#/definitions/DataControllerUpdate" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./dataControllers.json#/definitions/DataControllerResource" - } - }, - "202": { - "description": "Resource update is in progress." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Updates a dataController tags.": { - "$ref": "./examples/UpdateDataController.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors": { - "get": { - "tags": [ - "ActiveDirectoryConnectors" - ], - "operationId": "ActiveDirectoryConnectors_List", - "summary": "List the active directory connectors associated with the given data controller.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/dataControllerName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./activeDirectoryConnectors.json#/definitions/ActiveDirectoryConnectorListResult" - } - }, - "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": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all Active Directory connectors associated with a data controller.": { - "$ref": "./examples/ListByDataControllerActiveDirectoryConnector.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}": { - "put": { - "tags": [ - "ActiveDirectoryConnectors" - ], - "operationId": "ActiveDirectoryConnectors_Create", - "description": "Creates or replaces an Active Directory connector resource.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "activeDirectoryConnectorResource", - "description": "desc", - "required": true, - "in": "body", - "schema": { - "$ref": "./activeDirectoryConnectors.json#/definitions/ActiveDirectoryConnectorResource" - } - }, - { - "$ref": "#/parameters/dataControllerName" - }, - { - "$ref": "#/parameters/activeDirectoryConnectorName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./activeDirectoryConnectors.json#/definitions/ActiveDirectoryConnectorResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "./activeDirectoryConnectors.json#/definitions/ActiveDirectoryConnectorResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-examples": { - "Create or update an Active Directory connector instance.": { - "$ref": "./examples/CreateOrUpdateActiveDirectoryConnector.json" - } - } - }, - "delete": { - "tags": [ - "ActiveDirectoryConnectors" - ], - "operationId": "ActiveDirectoryConnectors_Delete", - "description": "Deletes an Active Directory connector resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/dataControllerName" - }, - { - "$ref": "#/parameters/activeDirectoryConnectorName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the active directory connector." - }, - "202": { - "description": "Resource deletion is in progress." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - }, - "204": { - "description": "The specified active directory connector does not exist." - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Deletes an Active Directory connector instance.": { - "$ref": "./examples/DeleteActiveDirectoryConnector.json" - } - } - }, - "get": { - "tags": [ - "ActiveDirectoryConnectors" - ], - "operationId": "ActiveDirectoryConnectors_Get", - "description": "Retrieves an Active Directory connector resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/dataControllerName" - }, - { - "$ref": "#/parameters/activeDirectoryConnectorName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./activeDirectoryConnectors.json#/definitions/ActiveDirectoryConnectorResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Retrieves an Active Directory connector resource.": { - "$ref": "./examples/GetActiveDirectoryConnector.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/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": "./postgresInstances.json#/definitions/PostgresInstanceListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "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.AzureArcData/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": "./postgresInstances.json#/definitions/PostgresInstanceListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "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.AzureArcData/postgresInstances/{postgresInstanceName}": { - "get": { - "tags": [ - "PostgresInstances" - ], - "operationId": "PostgresInstances_Get", - "description": "Retrieves a postgres Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/postgresInstanceName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./postgresInstances.json#/definitions/PostgresInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "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" - }, - { - "$ref": "#/parameters/postgresInstanceName" - }, - { - "$ref": "#/parameters/apiVersion" - }, - { - "name": "resource", - "description": "The postgres instance", - "required": true, - "in": "body", - "schema": { - "$ref": "./postgresInstances.json#/definitions/PostgresInstance" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./postgresInstances.json#/definitions/PostgresInstance" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "./postgresInstances.json#/definitions/PostgresInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create or update a Postgres Instance.": { - "$ref": "./examples/CreateOrUpdatePostgresInstance.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "tags": [ - "PostgresInstances" - ], - "operationId": "PostgresInstances_Delete", - "description": "Deletes a postgres Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/postgresInstanceName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the Postgres Instance." - }, - "202": { - "description": "Resource deletion is in progress." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - }, - "204": { - "description": "The specified Postgres Instance does not exist." - } - }, - "x-ms-examples": { - "Deletes a PostgresInstances.": { - "$ref": "./examples/DeletePostgresInstance.json" - } - }, - "x-ms-long-running-operation": true - }, - "patch": { - "tags": [ - "PostgresInstances" - ], - "operationId": "PostgresInstances_Update", - "description": "Updates a postgres Instance resource", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/postgresInstanceName" - }, - { - "name": "parameters", - "in": "body", - "description": "The Postgres Instance.", - "required": true, - "schema": { - "$ref": "./postgresInstances.json#/definitions/PostgresInstanceUpdate" - } - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "./postgresInstances.json#/definitions/PostgresInstance" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Updates a postgres Instances tags.": { - "$ref": "./examples/UpdatePostgresInstance.json" - } - } - } - } - }, - "parameters": { - "subscriptionId": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The ID of the Azure subscription", - "x-ms-parameter-location": "client" - }, - "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", - "x-ms-parameter-location": "client" - }, - "dataControllerName": { - "name": "dataControllerName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the data controller", - "x-ms-parameter-location": "method" - }, - "activeDirectoryConnectorName": { - "name": "activeDirectoryConnectorName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Active Directory connector instance", - "x-ms-parameter-location": "method" - }, - "sqlManagedInstanceName": { - "name": "sqlManagedInstanceName", - "description": "Name of SQL Managed Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "failoverGroupName": { - "name": "failoverGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Failover Group", - "x-ms-parameter-location": "method" - }, - "sqlServerInstanceName": { - "name": "sqlServerInstanceName", - "description": "Name of SQL Server Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "sqlAvailabilityGroupName": { - "name": "sqlAvailabilityGroupName", - "description": "Name of SQL Availability Group", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "postgresInstanceName": { - "name": "postgresInstanceName", - "description": "Name of Postgres Instance", - "in": "path", - "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/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/common.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/common.json deleted file mode 100644 index 901a83091b21..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/common.json +++ /dev/null @@ -1,146 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-03-15-preview", - "title": "AzureArcDataManagementClient", - "description": "The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources." - }, - "paths": {}, - "definitions": { - "CommonSku": { - "description": "The resource model definition representing SKU for ARM resources", - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the SKU. It is typically a letter+number code" - }, - "dev": { - "type": "boolean", - "default": true, - "description": "Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose. " - }, - "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" - ] - }, - "ErrorResponse": { - "type": "object", - "properties": { - "error": { - "$ref": "#/definitions/ErrorResponseBody", - "description": "null" - } - }, - "description": "An error response from the Azure Data on Azure Arc service." - }, - "ErrorResponseBody": { - "type": "object", - "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/ErrorResponseBody" - }, - "x-ms-identifiers": [ - "message", - "target" - ], - "description": "A list of additional details about the error." - } - }, - "description": "An error response from the Batch service." - }, - "ExtendedLocation": { - "type": "object", - "description": "The complex type of the extended location.", - "properties": { - "name": { - "type": "string", - "description": "The name of the extended location." - }, - "type": { - "$ref": "#/definitions/ExtendedLocationType", - "description": "The type of the extended location." - } - } - }, - "ExtendedLocationType": { - "type": "string", - "description": "The type of extendedLocation.", - "enum": [ - "CustomLocation" - ], - "x-ms-enum": { - "name": "ExtendedLocationTypes", - "modelAsString": true - } - }, - "BasicLoginInformation": { - "type": "object", - "description": "Username and password for basic login authentication.", - "properties": { - "username": { - "type": "string", - "description": "Login username." - }, - "password": { - "type": "string", - "description": "Login password.", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - } - } - } - }, - "parameters": { - "apiVersion": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the request", - "x-ms-parameter-location": "client" - } - }, - "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/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/dataControllers.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/dataControllers.json deleted file mode 100644 index e963c9ceed84..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/dataControllers.json +++ /dev/null @@ -1,253 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-03-15-preview", - "title": "AzureArcDataManagementClient", - "description": "The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources." - }, - "paths": {}, - "definitions": { - "DataControllerResource": { - "description": "Data controller resource", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "extendedLocation": { - "$ref": "./common.json#/definitions/ExtendedLocation", - "description": "The extendedLocation of the resource." - }, - "properties": { - "$ref": "#/definitions/DataControllerProperties", - "description": "The data controller's properties", - "x-ms-client-flatten": false - } - }, - "required": [ - "properties" - ] - }, - "PageOfDataControllerResource": { - "type": "object", - "description": "A list of data controllers.", - "properties": { - "value": { - "items": { - "$ref": "#/definitions/DataControllerResource" - }, - "type": "array", - "description": "Array of results." - }, - "nextLink": { - "type": "string", - "description": "Link to retrieve next page of results." - } - } - }, - "DataControllerUpdate": { - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - }, - "properties": { - "$ref": "#/definitions/DataControllerProperties", - "description": "The data controller's properties", - "x-ms-client-flatten": false - } - }, - "description": "Used for updating a data controller resource." - }, - "DataControllerProperties": { - "description": "The data controller properties.", - "type": "object", - "properties": { - "infrastructure": { - "type": "string", - "enum": [ - "azure", - "gcp", - "aws", - "alibaba", - "onpremises", - "other" - ], - "x-ms-enum": { - "name": "infrastructure", - "modelAsString": false - }, - "default": "other", - "description": "The infrastructure the data controller is running on." - }, - "onPremiseProperty": { - "$ref": "#/definitions/OnPremiseProperty" - }, - "k8sRaw": { - "type": "object", - "description": "The raw kubernetes information" - }, - "uploadWatermark": { - "$ref": "#/definitions/UploadWatermark" - }, - "lastUploadedDate": { - "type": "string", - "format": "date-time", - "description": "Last uploaded date from Kubernetes cluster. Defaults to current date time" - }, - "basicLoginInformation": { - "$ref": "./common.json#/definitions/BasicLoginInformation", - "description": "Deprecated. Azure Arc Data Services data controller no longer expose any endpoint. All traffic are exposed through Kubernetes native API." - }, - "metricsDashboardCredential": { - "$ref": "./common.json#/definitions/BasicLoginInformation", - "description": "Login credential for metrics dashboard on the Kubernetes cluster." - }, - "logsDashboardCredential": { - "$ref": "./common.json#/definitions/BasicLoginInformation", - "description": "Login credential for logs dashboard on the Kubernetes cluster." - }, - "logAnalyticsWorkspaceConfig": { - "$ref": "#/definitions/LogAnalyticsWorkspaceConfig" - }, - "uploadServicePrincipal": { - "$ref": "#/definitions/UploadServicePrincipal", - "description": "Deprecated. Service principal is deprecated in favor of Arc Kubernetes service extension managed identity." - }, - "provisioningState": { - "type": "string", - "description": "The provisioning state of the Arc Data Controller resource.", - "readOnly": true - }, - "clusterId": { - "type": "string", - "description": "If a CustomLocation is provided, this contains the ARM id of the connected cluster the custom location belongs to." - }, - "extensionId": { - "type": "string", - "description": "If a CustomLocation is provided, this contains the ARM id of the extension the custom location belongs to." - } - } - }, - "UploadWatermark": { - "description": "Properties on upload watermark. Mostly timestamp for each upload data type", - "type": "object", - "properties": { - "metrics": { - "type": "string", - "format": "date-time", - "description": "Last uploaded date for metrics from kubernetes cluster. Defaults to current date time" - }, - "logs": { - "type": "string", - "format": "date-time", - "description": "Last uploaded date for logs from kubernetes cluster. Defaults to current date time" - }, - "usages": { - "type": "string", - "format": "date-time", - "description": "Last uploaded date for usages from kubernetes cluster. Defaults to current date time" - } - } - }, - "OnPremiseProperty": { - "description": "Properties from the Kubernetes data controller", - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid", - "description": "A globally unique ID identifying the associated Kubernetes cluster" - }, - "publicSigningKey": { - "type": "string", - "description": "Certificate that contains the Kubernetes cluster public key used to verify signing" - }, - "signingCertificateThumbprint": { - "type": "string", - "description": "Unique thumbprint returned to customer to verify the certificate being uploaded" - } - }, - "required": [ - "id", - "publicSigningKey" - ] - }, - "LogAnalyticsWorkspaceConfig": { - "type": "object", - "description": "Log analytics workspace id and primary key", - "properties": { - "workspaceId": { - "type": "string", - "format": "uuid", - "description": "Azure Log Analytics workspace ID" - }, - "primaryKey": { - "type": "string", - "description": "Primary key of the workspace", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - } - } - }, - "UploadServicePrincipal": { - "type": "object", - "description": "Service principal for uploading billing, metrics and logs.", - "properties": { - "clientId": { - "type": "string", - "format": "uuid", - "description": "Client ID of the service principal for uploading data." - }, - "tenantId": { - "type": "string", - "format": "uuid", - "description": "Tenant ID of the service principal." - }, - "authority": { - "type": "string", - "description": "Authority for the service principal. Example: https://login.microsoftonline.com/" - }, - "clientSecret": { - "type": "string", - "description": "Secret of the service principal", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - } - } - } - }, - "parameters": { - "apiVersion": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the request", - "x-ms-parameter-location": "client" - } - }, - "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/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateActiveDirectoryConnector.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateActiveDirectoryConnector.json deleted file mode 100644 index 0c1eac708ef1..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateActiveDirectoryConnector.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "dataControllerName": "testdataController", - "activeDirectoryConnectorName": "testADConnector", - "api-version": "2023-03-15-preview", - "activeDirectoryConnectorResource": { - "properties": { - "spec": { - "activeDirectory": { - "realm": "CONTOSO.LOCAL", - "serviceAccountProvisioning": "manual", - "domainControllers": { - "primaryDomainController": { - "hostname": "dc1.contoso.local" - }, - "secondaryDomainControllers": [ - { - "hostname": "dc2.contoso.local" - }, - { - "hostname": "dc3.contoso.local" - } - ] - } - }, - "dns": { - "nameserverIPAddresses": [ - "11.11.111.111", - "22.22.222.222" - ], - "replicas": 1, - "preferK8sDnsForPtrLookups": false - } - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "spec": { - "activeDirectory": { - "realm": "CONTOSO.LOCAL", - "serviceAccountProvisioning": "manual", - "domainControllers": { - "primaryDomainController": { - "hostname": "dc1.contoso.local" - }, - "secondaryDomainControllers": [ - { - "hostname": "dc2.contoso.local" - }, - { - "hostname": "dc3.contoso.local" - } - ] - }, - "netbiosDomainName": "CONTOSO" - }, - "dns": { - "nameserverIPAddresses": [ - "11.11.111.111", - "22.22.222.222" - ], - "replicas": 1, - "preferK8sDnsForPtrLookups": false, - "domainName": "contoso.local" - } - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/dataControllers/testdataController/activeDirectoryConnectors/testADConnector", - "name": "testADConnector", - "type": "Microsoft.AzureArcData/dataControllers/activeDirectoryConnectors" - } - }, - "201": { - "body": { - "properties": { - "spec": { - "activeDirectory": { - "realm": "CONTOSO.LOCAL", - "serviceAccountProvisioning": "manual", - "domainControllers": { - "primaryDomainController": { - "hostname": "dc1.contoso.local" - }, - "secondaryDomainControllers": [ - { - "hostname": "dc2.contoso.local" - }, - { - "hostname": "dc3.contoso.local" - } - ] - }, - "netbiosDomainName": "CONTOSO" - }, - "dns": { - "nameserverIPAddresses": [ - "11.11.111.111", - "22.22.222.222" - ], - "replicas": 1, - "preferK8sDnsForPtrLookups": false, - "domainName": "contoso.local" - } - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/dataControllers/testdataController/activeDirectoryConnectors/testADConnector", - "name": "testADConnector", - "type": "Microsoft.AzureArcData/dataControllers/activeDirectoryConnectors" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateArcSqlAvailabilityGroupDatabase.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateArcSqlAvailabilityGroupDatabase.json deleted file mode 100644 index 4fb66bd41d20..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateArcSqlAvailabilityGroupDatabase.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlAvailabilityGroupDatabaseName": "testSqlDatabase", - "sqlAvailabilityGroupName": "testAG", - "api-version": "2023-03-15-preview", - "sqlAvailabilityGroupDatabaseResource": { - "location": "southeastasia", - "tags": { - "mytag": "myval" - }, - "properties": { - "groupDatabaseId": "00000000-1111-2222-3333-444444444444", - "value": [ - { - "replicaName": "sqlServer1", - "isLocal": true, - "isPrimaryReplica": true, - "synchronizationStateDesc": "SYNCHRONIZED", - "isCommitParticipant": true, - "synchronizationHealthDesc": "HEALTHY", - "databaseStateDesc": "ONLINE", - "isSuspended": false - }, - { - "replicaName": "sqlServer2", - "isLocal": false, - "isPrimaryReplica": false, - "synchronizationStateDesc": "SYNCHRONIZED", - "isCommitParticipant": true, - "synchronizationHealthDesc": "HEALTHY", - "databaseStateDesc": "ONLINE", - "isSuspended": false - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlAvailabilityGroups/testsAG/databases/testSqlDatabase", - "name": "testSqlDatabase", - "type": "Microsoft.AzureArcData/sqlAvailabilityGroups/databases", - "properties": { - "groupDatabaseId": "00000000-1111-2222-3333-444444444444", - "value": [ - { - "replicaName": "sqlServer1", - "isLocal": true, - "isPrimaryReplica": true, - "synchronizationStateDesc": "SYNCHRONIZED", - "isCommitParticipant": true, - "synchronizationHealthDesc": "HEALTHY", - "databaseStateDesc": "ONLINE", - "isSuspended": false - }, - { - "replicaName": "sqlServer2", - "isLocal": false, - "isPrimaryReplica": false, - "synchronizationStateDesc": "SYNCHRONIZED", - "isCommitParticipant": true, - "synchronizationHealthDesc": "HEALTHY", - "databaseStateDesc": "ONLINE", - "isSuspended": false - } - ] - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - } - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateArcSqlAvailabilityGroupReplica.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateArcSqlAvailabilityGroupReplica.json deleted file mode 100644 index 62a800ed5fc8..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateArcSqlAvailabilityGroupReplica.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testSqlServerInstance", - "sqlAvailabilityGroupName": "testAG", - "api-version": "2023-03-15-preview", - "sqlAvailabilityGroupReplicaResource": { - "location": "southeastasia", - "tags": { - "mytag": "myval" - }, - "properties": { - "replicaId": "00000000-1111-2222-3333-444444444444", - "replicaName": "testSqlServerInstance", - "configure": { - "endpointUrl": "TCP://mytest60-0.mytest60-svc:5022", - "availabilityModeDesc": "SYNCHRONOUS_COMMIT", - "failoverModeDesc": "EXTERNAL", - "sessionTimeout": 10, - "primaryRoleAllowConnectionsDesc": "ALL", - "secondaryRoleAllowConnectionsDesc": "ALL", - "createDate": null, - "modifyDate": null, - "backupPriority": 50, - "readOnlyRoutingUrl": null, - "readWriteRoutingUrl": null, - "seedingModeDesc": "AUTOMATIC" - }, - "state": { - "availabilityGroupReplicaRole": "SECONDARY", - "operationalStateDesc": "ONLINE", - "recoveryHealthDesc": "ONLINE_IN_PROGRESS", - "synchronizationHealthDesc": "HEALTHY", - "connectedStateDesc": "CONNECTED", - "lastConnectErrorDescription": "", - "lastConnectErrorTimestamp": "2022-05-05T16:26:33.883Z" - } - } - } - }, - "responses": { - "200": { - "body": { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlAvailabilityGroups/testsAG/sqlServerInstances/testSqlServerInstance", - "name": "testSqlServerInstance", - "type": "Microsoft.AzureArcData/sqlAvailabilityGroups/sqlServerInstances", - "properties": { - "replicaId": "00000000-1111-2222-3333-444444444444", - "replicaName": "testSqlServerInstance", - "configure": { - "endpointUrl": "TCP://mytest60-0.mytest60-svc:5022", - "availabilityModeDesc": "SYNCHRONOUS_COMMIT", - "failoverModeDesc": "EXTERNAL", - "sessionTimeout": 10, - "primaryRoleAllowConnectionsDesc": "ALL", - "secondaryRoleAllowConnectionsDesc": "ALL", - "createDate": null, - "modifyDate": null, - "backupPriority": 50, - "readOnlyRoutingUrl": null, - "readWriteRoutingUrl": null, - "seedingModeDesc": "AUTOMATIC" - }, - "state": { - "availabilityGroupReplicaRole": "SECONDARY", - "operationalStateDesc": "ONLINE", - "recoveryHealthDesc": "ONLINE_IN_PROGRESS", - "synchronizationHealthDesc": "HEALTHY", - "connectedStateDesc": "CONNECTED", - "lastConnectErrorDescription": "", - "lastConnectErrorTimestamp": "2022-05-05T16:26:33.883Z" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - } - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateArcSqlServerAvailabilityGroup.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateArcSqlServerAvailabilityGroup.json deleted file mode 100644 index fe6385bbf5cc..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateArcSqlServerAvailabilityGroup.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testSqlServerInstance", - "sqlAvailabilityGroupName": "testAG", - "api-version": "2023-03-15-preview", - "sqlServerAvailabilityGroupResource": { - "location": "southeastasia", - "tags": { - "mytag": "myval" - }, - "properties": { - "availabilityGroupId": "00000000-1111-2222-3333-444444444444", - "availabilityGroupName": "testAG", - "configure": { - "endpointUrl": "TCP://mytest60-0.mytest60-svc:5022", - "availabilityModeDesc": "SYNCHRONOUS_COMMIT", - "failoverModeDesc": "EXTERNAL", - "sessionTimeout": 10, - "primaryRoleAllowConnectionsDesc": "ALL", - "secondaryRoleAllowConnectionsDesc": "ALL", - "createDate": null, - "modifyDate": null, - "backupPriority": 50, - "readOnlyRoutingUrl": null, - "readWriteRoutingUrl": null, - "seedingModeDesc": "AUTOMATIC" - }, - "state": { - "availabilityGroupReplicaRole": "SECONDARY", - "operationalStateDesc": "ONLINE", - "recoveryHealthDesc": "ONLINE_IN_PROGRESS", - "synchronizationHealthDesc": "HEALTHY", - "connectedStateDesc": "CONNECTED", - "lastConnectErrorDescription": "", - "lastConnectErrorTimestamp": "2022-05-05T16:26:33.883Z" - } - } - } - }, - "responses": { - "200": { - "body": { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlServerInstances/testSqlServerInstance/sqlAvailabilityGroups/testAG", - "name": "testAG", - "type": "Microsoft.AzureArcData/sqlServerInstances/sqlAvailabilityGroups", - "properties": { - "availabilityGroupId": "00000000-1111-2222-3333-444444444444", - "availabilityGroupName": "testAG", - "configure": { - "endpointUrl": "TCP://mytest60-0.mytest60-svc:5022", - "availabilityModeDesc": "SYNCHRONOUS_COMMIT", - "failoverModeDesc": "EXTERNAL", - "sessionTimeout": 10, - "primaryRoleAllowConnectionsDesc": "ALL", - "secondaryRoleAllowConnectionsDesc": "ALL", - "createDate": null, - "modifyDate": null, - "backupPriority": 50, - "readOnlyRoutingUrl": null, - "readWriteRoutingUrl": null, - "seedingModeDesc": "AUTOMATIC" - }, - "state": { - "availabilityGroupReplicaRole": "SECONDARY", - "operationalStateDesc": "ONLINE", - "recoveryHealthDesc": "ONLINE_IN_PROGRESS", - "synchronizationHealthDesc": "HEALTHY", - "connectedStateDesc": "CONNECTED", - "lastConnectErrorDescription": "", - "lastConnectErrorTimestamp": "2022-05-05T16:26:33.883Z" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - } - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateArcSqlServerDatabase.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateArcSqlServerDatabase.json deleted file mode 100644 index 49b699558bfd..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateArcSqlServerDatabase.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testSqlServerInstance", - "databaseName": "testdb", - "api-version": "2023-03-15-preview", - "sqlServerDatabaseResource": { - "location": "southeastasia", - "tags": { - "mytag": "myval" - }, - "properties": { - "collationName": "SQL_Latin1_General_CP1_CI_AS", - "databaseCreationDate": "2022-04-05T16:26:33.883Z", - "compatibilityLevel": 150, - "state": "Online", - "isReadOnly": true, - "recoveryMode": "Full", - "sizeMB": 150.00, - "spaceAvailableMB": 100.00, - "databaseOptions": { - "isAutoCloseOn": true, - "isAutoShrinkOn": true, - "isAutoCreateStatsOn": true, - "isAutoUpdateStatsOn": true, - "isMemoryOptimizationEnabled": true, - "isRemoteDataArchiveEnabled": true, - "isEncrypted": true, - "isTrustworthyOn": true - }, - "backupInformation": { - "lastFullBackup": "2022-05-05T16:26:33.883Z", - "lastLogBackup": "2022-05-10T16:26:33.883Z" - } - } - } - }, - "responses": { - "200": { - "body": { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/testSqlServerInstance/testsqlManagedInstance/databases/testdb", - "name": "testdb", - "type": "Microsoft.AzureArcData/sqlServerInstances/databases", - "properties": { - "collationName": "SQL_Latin1_General_CP1_CI_AS", - "databaseCreationDate": "2022-04-05T16:26:33.883Z", - "compatibilityLevel": 150, - "state": "Online", - "isReadOnly": true, - "recoveryMode": "Full", - "sizeMB": 150.00, - "spaceAvailableMB": 100.00, - "databaseOptions": { - "isAutoCloseOn": true, - "isAutoShrinkOn": true, - "isAutoCreateStatsOn": true, - "isAutoUpdateStatsOn": true, - "isMemoryOptimizationEnabled": true, - "isRemoteDataArchiveEnabled": true, - "isEncrypted": true, - "isTrustworthyOn": true - }, - "backupInformation": { - "lastFullBackup": "2022-05-05T16:26:33.883Z", - "lastLogBackup": "2022-05-10T16:26:33.883Z" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - } - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateDataController.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateDataController.json deleted file mode 100644 index 747511cb4277..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateDataController.json +++ /dev/null @@ -1,166 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "dataControllerName": "testdataController", - "api-version": "2023-03-15-preview", - "dataControllerResource": { - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey" - }, - "basicLoginInformation": { - "username": "username", - "password": "********" - }, - "metricsDashboardCredential": { - "username": "username", - "password": "********" - }, - "logsDashboardCredential": { - "username": "username", - "password": "********" - }, - "logAnalyticsWorkspaceConfig": { - "workspaceId": "00000000-1111-2222-3333-444444444444", - "primaryKey": "********" - }, - "uploadServicePrincipal": { - "clientId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444", - "authority": "https://login.microsoftonline.com/", - "clientSecret": "********" - }, - "uploadWatermark": { - "metrics": "2020-01-01T17:18:19.1234567Z", - "logs": "2020-01-01T17:18:19.1234567Z", - "usages": "2020-01-01T17:18:19.1234567Z" - }, - "clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s", - "extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension", - "infrastructure": "onpremises" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate being uploaded" - }, - "basicLoginInformation": { - "username": "username" - }, - "metricsDashboardCredential": { - "username": "username" - }, - "logsDashboardCredential": { - "username": "username" - }, - "logAnalyticsWorkspaceConfig": { - "workspaceId": "00000000-1111-2222-3333-444444444444" - }, - "uploadServicePrincipal": { - "clientId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444", - "authority": "https://login.microsoftonline.com/" - }, - "uploadWatermark": { - "metrics": "2020-01-01T17:18:19.1234567Z", - "logs": "2020-01-01T17:18:19.1234567Z", - "usages": "2020-01-01T17:18:19.1234567Z" - }, - "clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s", - "extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension", - "infrastructure": "onpremises" - }, - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/dataControllers/testdataController", - "name": "testdataController", - "type": "Microsoft.AzureArcData/dataControllers" - } - }, - "201": { - "body": { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate being uploaded" - }, - "basicLoginInformation": { - "username": "username" - }, - "metricsDashboardCredential": { - "username": "username" - }, - "logsDashboardCredential": { - "username": "username" - }, - "logAnalyticsWorkspaceConfig": { - "workspaceId": "00000000-1111-2222-3333-444444444444" - }, - "uploadServicePrincipal": { - "clientId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444", - "authority": "https://login.microsoftonline.com/" - }, - "uploadWatermark": { - "metrics": "2020-01-01T17:18:19.1234567Z", - "logs": "2020-01-01T17:18:19.1234567Z", - "usages": "2020-01-01T17:18:19.1234567Z" - }, - "clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s", - "extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension", - "infrastructure": "onpremises" - }, - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/dataControllers/testdataController", - "name": "testdataController", - "type": "Microsoft.AzureArcData/dataControllers" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateFailoverGroup.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateFailoverGroup.json deleted file mode 100644 index 58243daa2069..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateFailoverGroup.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlManagedInstanceName": "testSqlManagedInstance", - "failoverGroupName": "testFailoverGroupName", - "api-version": "2023-03-15-preview", - "failoverGroupResource": { - "properties": { - "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/partnerMI", - "spec": { - "partnerSyncMode": "async", - "role": "primary" - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/partnerMI", - "spec": { - "sharedName": "testSharedName", - "sourceMI": "sourceSQLMI", - "partnerMI": "partnerMI", - "partnerMirroringURL": "11.11.111.111", - "partnerMirroringCert": "testCert", - "partnerSyncMode": "async", - "role": "primary" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/testSqlManagedInstance/failoverGroups/testFailoverGroupName", - "name": "testFailoverGroupName", - "type": "Microsoft.AzureArcData/sqlManagedInstances/failoverGroups" - } - }, - "201": { - "body": { - "properties": { - "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/partnerMI", - "spec": { - "sharedName": "testSharedName", - "sourceMI": "sourceSQLMI", - "partnerMI": "partnerMI", - "partnerMirroringURL": "11.11.111.111", - "partnerMirroringCert": "testCert", - "partnerSyncMode": "async", - "role": "primary" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/testSqlManagedInstance/failoverGroups/testFailoverGroupName", - "name": "testFailoverGroupName", - "type": "Microsoft.AzureArcData/sqlManagedInstances/failoverGroups" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdatePostgresInstance.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdatePostgresInstance.json deleted file mode 100644 index fcb39f521e6f..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdatePostgresInstance.json +++ /dev/null @@ -1,172 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "postgresInstanceName": "testpostgresInstance", - "api-version": "2023-03-15-preview", - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "resource": { - "location": "eastus", - "properties": { - "dataControllerId": "dataControllerId", - "admin": "admin", - "basicLoginInformation": { - "username": "username", - "password": "********" - }, - "k8sRaw": { - "apiVersion": "apiVersion", - "kind": "postgresql-12", - "metadata": { - "creationTimestamp": "2020-08-25T14:55:10Z", - "generation": 1, - "name": "pg1", - "namespace": "test", - "resourceVersion": "527780", - "selfLink": "/apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1", - "uid": "1111aaaa-ffff-ffff-ffff-99999aaaaaaa" - }, - "spec": { - "backups": { - "deltaMinutes": 3, - "fullMinutes": 10, - "tiers": [ - { - "retention": { - "maximums": [ - "6", - "512MB" - ], - "minimums": [ - "3" - ] - }, - "storage": { - "volumeSize": "1Gi" - } - } - ] - }, - "engine": { - "extensions": [ - { - "name": "citus" - } - ] - }, - "scale": { - "shards": 3 - }, - "scheduling": { - "default": { - "resources": { - "requests": { - "memory": "256Mi" - } - } - } - }, - "service": { - "type": "NodePort" - }, - "storage": { - "data": { - "className": "local-storage", - "size": "5Gi" - }, - "logs": { - "className": "local-storage", - "size": "5Gi" - } - } - }, - "status": { - "externalEndpoint": null, - "readyPods": "4/4", - "state": "Ready" - } - } - }, - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "sku": { - "name": "default", - "tier": "Hyperscale", - "dev": true - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "basicLoginInformation": { - "username": "username" - } - }, - "location": "northeurope", - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "sku": { - "name": "default", - "tier": "Hyperscale", - "dev": true - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/PostgresInstance/testpostgresInstance", - "name": "testpostgresInstance", - "type": "Microsoft.AzureArcData/PostgresInstance" - } - }, - "201": { - "body": { - "properties": { - "basicLoginInformation": { - "username": "username" - } - }, - "location": "northeurope", - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "sku": { - "name": "default", - "tier": "Hyperscale", - "dev": true - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/PostgresInstance/testpostgresInstance", - "name": "testsqlregistration", - "type": "Microsoft.AzureArcData/PostgresInstance" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateSqlAvailabilityGroup.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateSqlAvailabilityGroup.json deleted file mode 100644 index 1fc43ad466d8..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateSqlAvailabilityGroup.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlAvailabilityGroupName": "testsqlAvailabilityGroup", - "api-version": "2023-03-15-preview", - "sqlAvailabilityGroup": { - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "properties": { - "availabilityGroupName": "myAvailabilityGroup", - "availabilityGroupId": "00000000-1111-2222-3333-444444444444", - "instanceName": "testInstance", - "collectionTimestamp": "2022-05-05T16:26:33.883Z", - "version": 0, - "basicFeatures": false, - "dtcSupport": false, - "dbFailover": true, - "isDistributed": false, - "clusterTypeDesc": "WSFC", - "requiredSynchronizedSecondariesCommit": 0, - "isContained": false - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "availabilityGroupName": "myAvailabilityGroup", - "availabilityGroupId": "00000000-1111-2222-3333-444444444444", - "instanceName": "testInstance", - "collectionTimestamp": "2022-05-05T16:26:33.883Z", - "version": 0, - "basicFeatures": false, - "dtcSupport": false, - "dbFailover": true, - "isDistributed": false, - "clusterTypeDesc": "WSFC", - "requiredSynchronizedSecondariesCommit": 0, - "isContained": false - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlAvailabilityGroups/testsqlAvailabilityGroup", - "name": "testsqlServerInstance", - "type": "Microsoft.AzureArcData/SqlServerInstances" - } - }, - "201": { - "body": { - "properties": { - "availabilityGroupName": "myAvailabilityGroup", - "availabilityGroupId": "00000000-1111-2222-3333-444444444444", - "instanceName": "testInstance", - "collectionTimestamp": "2022-05-05T16:26:33.883Z", - "version": 0, - "basicFeatures": false, - "dtcSupport": false, - "dbFailover": true, - "isDistributed": false, - "clusterTypeDesc": "WSFC", - "requiredSynchronizedSecondariesCommit": 0, - "isContained": false - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/SqlAvailabilityGroups/testsqlAvailabilityGroup", - "name": "testsqlAvailabilityGroup", - "type": "Microsoft.AzureArcData/SqlAvailabilityGroups" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateSqlManagedInstance.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateSqlManagedInstance.json deleted file mode 100644 index 5c6724adeb1f..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateSqlManagedInstance.json +++ /dev/null @@ -1,192 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlManagedInstanceName": "testsqlManagedInstance", - "api-version": "2023-03-15-preview", - "sqlManagedInstance": { - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "sku": { - "name": "vCore", - "tier": "GeneralPurpose", - "dev": true - }, - "properties": { - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time", - "basicLoginInformation": { - "username": "username", - "password": "********" - }, - "activeDirectoryInformation": { - "keytabInformation": { - "keytab": "********" - } - }, - "licenseType": "LicenseIncluded", - "clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s", - "extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension", - "k8sRaw": { - "additionalProperty": 1234, - "spec": { - "replicas": 1, - "scheduling": { - "default": { - "resources": { - "requests": { - "cpu": "1", - "memory": "8Gi", - "additionalProperty": "additionalValue" - }, - "limits": { - "cpu": "1", - "memory": "8Gi", - "additionalProperty": "additionalValue" - } - } - } - } - } - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time", - "basicLoginInformation": { - "username": "username" - }, - "activeDirectoryInformation": { - "keytabInformation": {} - }, - "licenseType": "LicenseIncluded", - "clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s", - "extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension", - "k8sRaw": { - "additionalProperty": 1234, - "spec": { - "replicas": 1, - "scheduling": { - "default": { - "resources": { - "requests": { - "cpu": "1", - "memory": "8Gi", - "additionalProperty": "additionalValue" - }, - "limits": { - "cpu": "1", - "memory": "8Gi", - "additionalProperty": "additionalValue" - } - } - } - } - } - } - }, - "location": "northeurope", - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "sku": { - "name": "vCore", - "tier": "GeneralPurpose", - "dev": true - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/testsqlManagedInstance", - "name": "testsqlManagedInstance", - "type": "Microsoft.AzureArcData/sqlManagedInstances" - } - }, - "201": { - "body": { - "properties": { - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time", - "basicLoginInformation": { - "username": "username" - }, - "activeDirectoryInformation": { - "keytabInformation": {} - }, - "licenseType": "LicenseIncluded", - "clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s", - "extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension", - "k8sRaw": { - "additionalProperty": 1234, - "spec": { - "replicas": 1, - "scheduling": { - "default": { - "resources": { - "requests": { - "cpu": "1", - "memory": "8Gi", - "additionalProperty": "additionalValue" - }, - "limits": { - "cpu": "1", - "memory": "8Gi", - "additionalProperty": "additionalValue" - } - } - } - } - } - } - }, - "location": "northeurope", - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "sku": { - "name": "vCore", - "tier": "GeneralPurpose", - "dev": true - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/testsqlManagedInstance", - "name": "testsqlManagedInstance", - "type": "Microsoft.AzureArcData/sqlManagedInstances" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateSqlServerInstance.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateSqlServerInstance.json deleted file mode 100644 index 65cdf69ae511..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/CreateOrUpdateSqlServerInstance.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testsqlServerInstance", - "api-version": "2023-03-15-preview", - "sqlServerInstance": { - "location": "northeurope", - "tags": { - "mytag": "myval" - }, - "properties": { - "version": "SQL Server 2012", - "edition": "Developer", - "containerResourceId": "Resource id of hosting Arc Machine", - "vCore": "4", - "cores": "4", - "patchLevel": "patchlevel", - "collation": "collation", - "currentVersion": "2012", - "instanceName": "name of instance", - "tcpDynamicPorts": "1433", - "tcpStaticPorts": "1433", - "productId": "sql id", - "licenseType": "Free", - "azureDefenderStatusLastUpdated": "2020-01-02T17:18:19.1234567Z", - "status": "Registered", - "azureDefenderStatus": "Protected", - "hostType": "Physical Server" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "version": "SQL Server 2012", - "edition": "Developer", - "containerResourceId": "Resource id of hosting Arc Machine", - "createTime": "01/01/2020 01:01:01", - "patchLevel": "patchlevel", - "collation": "collation", - "currentVersion": "2012", - "instanceName": "name of instance", - "tcpDynamicPorts": "1433", - "tcpStaticPorts": "1433", - "productId": "sql id", - "vCore": "4", - "cores": "4", - "licenseType": "Free", - "azureDefenderStatusLastUpdated": "2020-01-02T17:18:19.1234567Z", - "status": "Registered", - "azureDefenderStatus": "Protected", - "hostType": "Physical Server" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/SqlServerInstances/testsqlServerInstance", - "name": "testsqlServerInstance", - "type": "Microsoft.AzureArcData/SqlServerInstances" - } - }, - "201": { - "body": { - "properties": { - "version": "SQL Server 2017", - "edition": "Developer", - "containerResourceId": "Arc Machine Name", - "createTime": "01/01/2020 01:01:01", - "patchLevel": "patchlevel", - "collation": "collation", - "currentVersion": "2008 R2", - "instanceName": "name of instance", - "tcpDynamicPorts": "1433", - "tcpStaticPorts": "1433", - "productId": "sql id", - "vCore": "4", - "cores": "4", - "licenseType": "Free", - "azureDefenderStatusLastUpdated": "2020-01-02T17:18:19.1234567Z", - "status": "Connected", - "azureDefenderStatus": "Protected" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/SqlServerInstances/testsqlServerInstance", - "name": "testsqlServerInstance", - "type": "Microsoft.AzureArcData/SqlServerInstances" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteActiveDirectoryConnector.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteActiveDirectoryConnector.json deleted file mode 100644 index a06d18233f6f..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteActiveDirectoryConnector.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "dataControllerName": "testdataController", - "activeDirectoryConnectorName": "testADConnector", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - }, - "202": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - }, - "204": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteArcSqlAvailabilityGroupDatabase.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteArcSqlAvailabilityGroupDatabase.json deleted file mode 100644 index 3e423595e65e..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteArcSqlAvailabilityGroupDatabase.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlAvailabilityGroupDatabaseName": "testSqlDatabase", - "sqlAvailabilityGroupName": "testAG", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - }, - "204": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteArcSqlAvailabilityGroupReplica.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteArcSqlAvailabilityGroupReplica.json deleted file mode 100644 index 78292239380b..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteArcSqlAvailabilityGroupReplica.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testsqlManagedInstance", - "sqlAvailabilityGroupName": "testAG", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - }, - "204": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteArcSqlServerAvailabilityGroup.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteArcSqlServerAvailabilityGroup.json deleted file mode 100644 index 56dd5c233bb3..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteArcSqlServerAvailabilityGroup.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testsqlInstanceAvailabilityGroup", - "sqlAvailabilityGroupName": "testAG", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - }, - "204": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteArcSqlServerDatabase.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteArcSqlServerDatabase.json deleted file mode 100644 index ba071ae8013f..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteArcSqlServerDatabase.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testsqlManagedInstance", - "databaseName": "testdb", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - }, - "204": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteDataController.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteDataController.json deleted file mode 100644 index 2746282c604c..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteDataController.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "dataControllerName": "testdataController", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - }, - "202": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - }, - "204": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteFailoverGroup.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteFailoverGroup.json deleted file mode 100644 index ad9be7f054d4..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteFailoverGroup.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlManagedInstanceName": "testSqlManagedInstance", - "failoverGroupName": "testFailoverGroupName", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - }, - "204": {} - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeletePostgresInstance.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeletePostgresInstance.json deleted file mode 100644 index cc2d79589fa0..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeletePostgresInstance.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "postgresInstanceName": "testpostgresInstance", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - }, - "202": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - }, - "204": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteSqlAvailabilityGroup.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteSqlAvailabilityGroup.json deleted file mode 100644 index e964f1d015f6..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteSqlAvailabilityGroup.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlAvailabilityGroupName": "testsqlAvailabilityGroup", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - }, - "202": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - }, - "204": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteSqlManagedInstance.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteSqlManagedInstance.json deleted file mode 100644 index be47a20c0305..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteSqlManagedInstance.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlManagedInstanceName": "testsqlManagedInstance", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - }, - "202": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - }, - "204": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteSqlServerInstance.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteSqlServerInstance.json deleted file mode 100644 index 7d73ab201ed2..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/DeleteSqlServerInstance.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testsqlServerInstance", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - }, - "202": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - }, - "204": { - "headers": { - "azure-AsyncOperation": "http://azure.async.operation/status" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetActiveDirectoryConnector.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetActiveDirectoryConnector.json deleted file mode 100644 index 37b7236c47d4..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetActiveDirectoryConnector.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "dataControllerName": "testdataController", - "activeDirectoryConnectorName": "testADConnector", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "properties": { - "spec": { - "activeDirectory": { - "realm": "CONTOSO.LOCAL", - "serviceAccountProvisioning": "manual", - "domainControllers": { - "primaryDomainController": { - "hostname": "dc1.contoso.local" - }, - "secondaryDomainControllers": [ - { - "hostname": "dc2.contoso.local" - }, - { - "hostname": "dc3.contoso.local" - } - ] - }, - "netbiosDomainName": "CONTOSO" - }, - "dns": { - "nameserverIPAddresses": [ - "11.11.111.111", - "22.22.222.222" - ], - "replicas": 1, - "preferK8sDnsForPtrLookups": false, - "domainName": "contoso.local" - } - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/dataControllers/testdataController/activeDirectoryConnectors/testADConnector", - "name": "testADConnector", - "type": "Microsoft.AzureArcData/dataControllers/activeDirectoryConnectors" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetArcSqlAvailabilityGroupDatabase.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetArcSqlAvailabilityGroupDatabase.json deleted file mode 100644 index 90b40f5e2a73..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetArcSqlAvailabilityGroupDatabase.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlAvailabilityGroupDatabaseName": "testSqlDatabase", - "sqlAvailabilityGroupName": "testAG", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlAvailabilityGroups/testsAG/databases/testSqlDatabase", - "name": "testSqlDatabase", - "type": "Microsoft.AzureArcData/sqlAvailabilityGroups/databases", - "properties": { - "groupDatabaseId": "00000000-1111-2222-3333-444444444444", - "value": [ - { - "replicaName": "sqlServer1", - "isLocal": true, - "isPrimaryReplica": true, - "synchronizationStateDesc": "SYNCHRONIZED", - "isCommitParticipant": true, - "synchronizationHealthDesc": "HEALTHY", - "databaseStateDesc": "ONLINE", - "isSuspended": false - }, - { - "replicaName": "sqlServer2", - "isLocal": false, - "isPrimaryReplica": false, - "synchronizationStateDesc": "SYNCHRONIZED", - "isCommitParticipant": true, - "synchronizationHealthDesc": "HEALTHY", - "databaseStateDesc": "ONLINE", - "isSuspended": false - } - ] - }, - "tags": { - "mytag": "myval" - } - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetArcSqlAvailabilityGroupReplica.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetArcSqlAvailabilityGroupReplica.json deleted file mode 100644 index e30cc06b9ed0..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetArcSqlAvailabilityGroupReplica.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testSqlServerInstance", - "sqlAvailabilityGroupName": "testAG", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlAvailabilityGroups/testsAG/sqlServerInstances/testSqlServerInstance", - "name": "testSqlServerInstance", - "type": "Microsoft.AzureArcData/sqlAvailabilityGroups/sqlServerInstances", - "properties": { - "replicaId": "00000000-1111-2222-3333-444444444444", - "replicaName": "testSqlServerInstance", - "configure": { - "endpointUrl": "TCP://mytest60-0.mytest60-svc:5022", - "availabilityModeDesc": "SYNCHRONOUS_COMMIT", - "failoverModeDesc": "EXTERNAL", - "sessionTimeout": 10, - "primaryRoleAllowConnectionsDesc": "ALL", - "secondaryRoleAllowConnectionsDesc": "ALL", - "createDate": null, - "modifyDate": null, - "backupPriority": 50, - "readOnlyRoutingUrl": null, - "readWriteRoutingUrl": null, - "seedingModeDesc": "AUTOMATIC" - }, - "state": { - "availabilityGroupReplicaRole": "SECONDARY", - "operationalStateDesc": "ONLINE", - "recoveryHealthDesc": "ONLINE_IN_PROGRESS", - "synchronizationHealthDesc": "HEALTHY", - "connectedStateDesc": "CONNECTED", - "lastConnectErrorDescription": "", - "lastConnectErrorTimestamp": "2022-05-05T16:26:33.883Z" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - } - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetArcSqlServerAvailabilityGroup.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetArcSqlServerAvailabilityGroup.json deleted file mode 100644 index 37a6932e2961..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetArcSqlServerAvailabilityGroup.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testSqlServerInstance", - "sqlAvailabilityGroupName": "testAG", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/testSqlServerInstance/testSqlServerInstance/sqlAvailabilityGroups/testAG", - "name": "testAG", - "type": "Microsoft.AzureArcData/sqlServerInstances/sqlAvailabilityGroups", - "properties": { - "availabilityGroupId": "00000000-1111-2222-3333-444444444444", - "availabilityGroupName": "testAG", - "configure": { - "endpointUrl": "TCP://mytest60-0.mytest60-svc:5022", - "availabilityModeDesc": "SYNCHRONOUS_COMMIT", - "failoverModeDesc": "EXTERNAL", - "sessionTimeout": 10, - "primaryRoleAllowConnectionsDesc": "ALL", - "secondaryRoleAllowConnectionsDesc": "ALL", - "createDate": null, - "modifyDate": null, - "backupPriority": 50, - "readOnlyRoutingUrl": null, - "readWriteRoutingUrl": null, - "seedingModeDesc": "AUTOMATIC" - }, - "state": { - "availabilityGroupReplicaRole": "SECONDARY", - "operationalStateDesc": "ONLINE", - "recoveryHealthDesc": "ONLINE_IN_PROGRESS", - "synchronizationHealthDesc": "HEALTHY", - "connectedStateDesc": "CONNECTED", - "lastConnectErrorDescription": "", - "lastConnectErrorTimestamp": "2022-05-05T16:26:33.883Z" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - } - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetArcSqlServerDatabase.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetArcSqlServerDatabase.json deleted file mode 100644 index cdbd6992da96..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetArcSqlServerDatabase.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testSqlServerInstance", - "databaseName": "testdb", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/testSqlServerInstance/testsqlManagedInstance/databases/testdb", - "name": "testdb", - "type": "Microsoft.AzureArcData/sqlServerInstances/databases", - "properties": { - "collationName": "SQL_Latin1_General_CP1_CI_AS", - "databaseCreationDate": "2022-04-05T16:26:33.883Z", - "compatibilityLevel": 150, - "state": "Online", - "isReadOnly": true, - "recoveryMode": "Full", - "sizeMB": 150.00, - "spaceAvailableMB": 100.00, - "databaseOptions": { - "isAutoCloseOn": true, - "isAutoShrinkOn": true, - "isAutoCreateStatsOn": true, - "isAutoUpdateStatsOn": true, - "isMemoryOptimizationEnabled": true, - "isRemoteDataArchiveEnabled": true, - "isEncrypted": true, - "isTrustworthyOn": true - }, - "backupInformation": { - "lastFullBackup": "2022-05-05T16:26:33.883Z", - "lastLogBackup": "2022-05-10T16:26:33.883Z" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - } - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetDataController.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetDataController.json deleted file mode 100644 index dfb44f09ea1c..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetDataController.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "dataControllerName": "testdataController", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate they uploaded" - }, - "basicLoginInformation": { - "username": "username" - }, - "metricsDashboardCredential": { - "username": "username" - }, - "logsDashboardCredential": { - "username": "username" - }, - "logAnalyticsWorkspaceConfig": { - "workspaceId": "00000000-1111-2222-3333-444444444444" - }, - "uploadServicePrincipal": { - "clientId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444", - "authority": "https://login.microsoftonline.com/" - }, - "uploadWatermark": { - "metrics": "2020-01-01T17:18:19.1234567Z", - "logs": "2020-01-01T17:18:19.1234567Z", - "usages": "2020-01-01T17:18:19.1234567Z" - }, - "clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s", - "extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension", - "infrastructure": "onpremises" - }, - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/dataControllers/testdataController", - "name": "testdataController", - "type": "Microsoft.AzureArcData/dataControllers" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetFailoverGroup.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetFailoverGroup.json deleted file mode 100644 index 6f8f7ad7bce9..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetFailoverGroup.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlManagedInstanceName": "testSqlManagedInstance", - "failoverGroupName": "testFailoverGroupName", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "properties": { - "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/partnerMI", - "spec": { - "sharedName": "testSharedName", - "sourceMI": "sourceSQLMI", - "partnerMI": "partnerMI", - "partnerMirroringURL": "11.11.111.111", - "partnerMirroringCert": "testCert", - "partnerSyncMode": "async", - "role": "primary" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/testSqlManagedInstance/failoverGroups/testFailoverGroupName", - "name": "testFailoverGroupName", - "type": "Microsoft.AzureArcData/sqlManagedInstances/failoverGroups" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetPostgresInstance.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetPostgresInstance.json deleted file mode 100644 index a7714b7a53e2..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetPostgresInstance.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "postgresInstanceName": "testpostgresInstances", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "properties": { - "basicLoginInformation": { - "username": "username" - } - }, - "location": "northeurope", - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "sku": { - "name": "default", - "tier": "Hyperscale", - "dev": true - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/PostgresInstances/testpostgresInstances", - "name": "testpostgresInstances", - "type": "Microsoft.AzureArcData/PostgresInstances" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetSqlAvailabilityGroup.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetSqlAvailabilityGroup.json deleted file mode 100644 index 4adc6b379340..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetSqlAvailabilityGroup.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlAvailabilityGroupName": "testsqlAvailabilityGroup", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "properties": { - "availabilityGroupName": "myAvailabilityGroup", - "availabilityGroupId": "00000000-1111-2222-3333-444444444444", - "instanceName": "testInstance", - "collectionTimestamp": "2022-05-05T16:26:33.883Z", - "version": 0, - "basicFeatures": false, - "dtcSupport": false, - "dbFailover": true, - "isDistributed": false, - "clusterTypeDesc": "WSFC", - "requiredSynchronizedSecondariesCommit": 0, - "isContained": false - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/SqlAvailabilityGroups/testsqlAvailabilityGroup", - "name": "testsqlServerInstance", - "type": "Microsoft.AzureArcData/SqlAvailabilityGroups" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetSqlManagedInstance.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetSqlManagedInstance.json deleted file mode 100644 index 0826c7c4f7a4..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetSqlManagedInstance.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlManagedInstanceName": "testsqlManagedInstance", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "properties": { - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time", - "basicLoginInformation": { - "username": "username" - }, - "activeDirectoryInformation": { - "keytabInformation": {} - }, - "licenseType": "LicenseIncluded", - "clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s", - "extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension", - "k8sRaw": { - "additionalProperty": 1234, - "spec": { - "replicas": 1, - "scheduling": { - "default": { - "resources": { - "requests": { - "cpu": "1", - "memory": "8Gi", - "additionalProperty": "additionalValue" - }, - "limits": { - "cpu": "1", - "memory": "8Gi", - "additionalProperty": "additionalValue" - } - } - } - } - } - } - }, - "location": "northeurope", - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "sku": { - "name": "vCore", - "tier": "GeneralPurpose", - "dev": true - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/testsqlManagedInstance", - "name": "testsqlManagedInstance", - "type": "Microsoft.AzureArcData/sqlManagedInstance" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetSqlServerInstance.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetSqlServerInstance.json deleted file mode 100644 index 0542bcbfa134..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/GetSqlServerInstance.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testsqlServerInstance", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "properties": { - "version": "SQL Server 2012", - "edition": "Developer", - "containerResourceId": "Resource id of hosting Arc Machine", - "createTime": "01/01/2020 01:01:01", - "patchLevel": "patchlevel", - "collation": "collation", - "currentVersion": "2012", - "instanceName": "name of instance", - "tcpDynamicPorts": "1433", - "tcpStaticPorts": "1433", - "productId": "sql id", - "vCore": "4", - "cores": "4", - "licenseType": "Free", - "azureDefenderStatusLastUpdated": "2020-01-02T17:18:19.1234567Z", - "azureDefenderStatus": "Protected", - "status": "Registered", - "hostType": "Physical Server" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/SqlServerInstances/testsqlServerInstance", - "name": "testsqlServerInstance", - "type": "Microsoft.AzureArcData/SqlServerInstances" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByDataControllerActiveDirectoryConnector.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByDataControllerActiveDirectoryConnector.json deleted file mode 100644 index b1384036b2cd..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByDataControllerActiveDirectoryConnector.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "api-version": "2023-03-15-preview", - "dataControllerName": "testdataController" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "spec": { - "activeDirectory": { - "realm": "CONTOSO.LOCAL", - "serviceAccountProvisioning": "manual", - "domainControllers": { - "primaryDomainController": { - "hostname": "dc1.contoso.local" - }, - "secondaryDomainControllers": [ - { - "hostname": "dc2.contoso.local" - }, - { - "hostname": "dc3.contoso.local" - } - ] - }, - "netbiosDomainName": "CONTOSO" - }, - "dns": { - "nameserverIPAddresses": [ - "11.11.111.111", - "22.22.222.222" - ], - "replicas": 1, - "preferK8sDnsForPtrLookups": false, - "domainName": "contoso.local" - } - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/dataControllers/testdataController/activeDirectoryConnectors/testADConnector1", - "name": "testADConnector1", - "type": "Microsoft.AzureArcData/dataControllers/activeDirectoryConnectors" - }, - { - "properties": { - "spec": { - "activeDirectory": { - "realm": "CONTOSO.LOCAL", - "serviceAccountProvisioning": "manual", - "domainControllers": { - "primaryDomainController": { - "hostname": "dc4.contoso.local" - }, - "secondaryDomainControllers": [ - { - "hostname": "dc5.contoso.local" - }, - { - "hostname": "dc6.contoso.local" - } - ] - }, - "netbiosDomainName": "CONTOSO" - }, - "dns": { - "nameserverIPAddresses": [ - "11.11.111.111", - "22.22.222.222" - ], - "replicas": 1, - "preferK8sDnsForPtrLookups": false, - "domainName": "contoso.local" - } - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/dataControllers/testdataController/activeDirectoryConnectors/testADConnector2", - "name": "testADConnector2", - "type": "Microsoft.AzureArcData/dataControllers/activeDirectoryConnectors" - } - ] - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByResourceGroupDataController.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByResourceGroupDataController.json deleted file mode 100644 index dd2dead1d65a..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByResourceGroupDataController.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate they uploaded" - }, - "basicLoginInformation": { - "username": "username" - }, - "metricsDashboardCredential": { - "username": "username" - }, - "logsDashboardCredential": { - "username": "username" - }, - "logAnalyticsWorkspaceConfig": { - "workspaceId": "00000000-1111-2222-3333-444444444444" - }, - "uploadServicePrincipal": { - "clientId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444", - "authority": "https://login.microsoftonline.com/" - }, - "uploadWatermark": { - "metrics": "2020-01-01T17:18:19.1234567Z", - "logs": "2020-01-01T17:18:19.1234567Z", - "usages": "2020-01-01T17:18:19.1234567Z" - }, - "clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s", - "extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension", - "infrastructure": "onpremises" - }, - "location": "northeurope", - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/dataControllers/testdataController1", - "name": "testdataController1", - "type": "Microsoft.AzureArcData/dataControllers" - }, - { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate they uploaded" - }, - "basicLoginInformation": { - "username": "username" - }, - "logAnalyticsWorkspaceConfig": { - "workspaceId": "00000000-1111-2222-3333-444444444444" - }, - "uploadServicePrincipal": { - "clientId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444", - "authority": "https://login.microsoftonline.com/" - }, - "uploadWatermark": { - "metrics": "2020-01-01T17:18:19.1234567Z", - "logs": "2020-01-01T17:18:19.1234567Z", - "usages": "2020-01-01T17:18:19.1234567Z" - }, - "clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s", - "extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension", - "infrastructure": "onpremises" - }, - "location": "northeurope", - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/dataControllers/testdataController2", - "name": "testdataController2", - "type": "Microsoft.AzureArcData/dataControllers" - } - ] - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByResourceGroupPostgresInstance.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByResourceGroupPostgresInstance.json deleted file mode 100644 index a82ff58986ae..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByResourceGroupPostgresInstance.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "basicLoginInformation": { - "username": "username" - } - }, - "location": "northeurope", - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "sku": { - "name": "default", - "tier": "Hyperscale", - "dev": true - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/PostgresInstances/testpostgresInstances1", - "name": "testpostgresInstances1", - "type": "Microsoft.AzureArcData/PostgresInstances" - }, - { - "properties": { - "basicLoginInformation": { - "username": "username" - } - }, - "location": "northeurope", - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "sku": { - "name": "default", - "tier": "Hyperscale", - "dev": true - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/PostgresInstances/testpostgresInstances2", - "name": "testpostgresInstances2", - "type": "Microsoft.AzureArcData/PostgresInstances" - } - ] - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByResourceGroupSqlAvailabilityGroup.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByResourceGroupSqlAvailabilityGroup.json deleted file mode 100644 index b5235566ff61..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByResourceGroupSqlAvailabilityGroup.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "availabilityGroupName": "myAvailabilityGroup1", - "availabilityGroupId": "00000000-1111-2222-3333-444444444444", - "instanceName": "testInstance", - "collectionTimestamp": "2022-05-05T16:26:33.883Z", - "version": 0, - "basicFeatures": false, - "dtcSupport": false, - "dbFailover": true, - "isDistributed": false, - "clusterTypeDesc": "WSFC", - "requiredSynchronizedSecondariesCommit": 0, - "isContained": false - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/SqlAvailabilityGroups/sqlAvailabilityGroup1", - "name": "sqlAvailabilityGroup1", - "type": "Microsoft.AzureArcData/SqlAvailabilityGroups" - }, - { - "properties": { - "availabilityGroupName": "myAvailabilityGroup2", - "availabilityGroupId": "00000000-1111-2222-3333-444444444444", - "instanceName": "testInstance", - "collectionTimestamp": "2022-05-05T16:26:33.883Z", - "version": 0, - "basicFeatures": false, - "dtcSupport": false, - "dbFailover": true, - "isDistributed": false, - "clusterTypeDesc": "WSFC", - "requiredSynchronizedSecondariesCommit": 0, - "isContained": false - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/SqlAvailabilityGroups/sqlAvailabilityGroup2", - "name": "sqlAvailabilityGroup2", - "type": "Microsoft.AzureArcData/SqlAvailabilityGroups" - } - ] - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByResourceGroupSqlManagedInstance.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByResourceGroupSqlManagedInstance.json deleted file mode 100644 index 267b1279b932..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByResourceGroupSqlManagedInstance.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time", - "basicLoginInformation": { - "username": "username" - }, - "activeDirectoryInformation": { - "keytabInformation": {} - }, - "licenseType": "LicenseIncluded", - "k8sRaw": { - "additionalProperty": 1234, - "spec": { - "replicas": 1, - "scheduling": { - "default": { - "resources": { - "requests": { - "cpu": "1", - "memory": "8Gi", - "additionalProperty": "additionalValue" - }, - "limits": { - "cpu": "1", - "memory": "8Gi", - "additionalProperty": "additionalValue" - } - } - } - } - } - } - }, - "location": "northeurope", - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "sku": { - "name": "vCore", - "tier": "GeneralPurpose", - "dev": true - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/sqlManagedInstance1", - "name": "sqlManagedInstances1", - "type": "Microsoft.AzureArcData/sqlManagedInstances" - }, - { - "properties": { - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time", - "basicLoginInformation": { - "username": "username" - }, - "activeDirectoryInformation": { - "keytabInformation": {} - }, - "licenseType": "LicenseIncluded", - "clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s", - "extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension", - "k8sRaw": { - "additionalProperty": 1234, - "spec": { - "replicas": 1, - "scheduling": { - "default": { - "resources": { - "requests": { - "cpu": "1", - "memory": "8Gi", - "additionalProperty": "additionalValue" - }, - "limits": { - "cpu": "1", - "memory": "8Gi", - "additionalProperty": "additionalValue" - } - } - } - } - } - } - }, - "location": "northeurope", - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "sku": { - "name": "vCore", - "tier": "GeneralPurpose", - "dev": true - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/sqlManagedInstance2", - "name": "sqlManagedInstances2", - "type": "Microsoft.AzureArcData/sqlManagedInstances" - } - ] - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByResourceGroupSqlServerInstance.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByResourceGroupSqlServerInstance.json deleted file mode 100644 index 580c106df415..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListByResourceGroupSqlServerInstance.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "version": "SQL Server 2012", - "edition": "Developer", - "containerResourceId": "Resource id of hosting Arc Machine", - "createTime": "01/01/2020 01:01:01", - "patchLevel": "patchlevel", - "collation": "collation", - "currentVersion": "2012", - "instanceName": "name of instance", - "tcpDynamicPorts": "1433", - "tcpStaticPorts": "1433", - "productId": "sql id", - "vCore": "4", - "cores": "4", - "licenseType": "Free", - "azureDefenderStatusLastUpdated": "2020-01-02T17:18:19.1234567Z", - "azureDefenderStatus": "Protected", - "status": "Registered", - "hostType": "Physical Server" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/SqlServerInstances/sqlServerInstance1", - "name": "sqlServerInstance1", - "type": "Microsoft.AzureArcData/SqlServerInstances" - }, - { - "properties": { - "version": "SQL Server 2017", - "edition": "Developer", - "containerResourceId": "Arc Machine Name", - "createTime": "01/01/2020 01:01:01", - "patchLevel": "patchlevel", - "collation": "collation", - "currentVersion": "2008 R2", - "instanceName": "name of instance", - "tcpDynamicPorts": "1433", - "tcpStaticPorts": "1433", - "productId": "sql id", - "vCore": "4", - "cores": "4", - "licenseType": "Free", - "azureDefenderStatusLastUpdated": "2020-01-02T17:18:19.1234567Z", - "azureDefenderStatus": "Protected", - "status": "Connected" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/SqlServerInstances/sqlServerInstance2", - "name": "sqlServerInstance2", - "type": "Microsoft.AzureArcData/SqlServerInstances" - } - ] - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListBySqlAvailabilityGroupDatabase.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListBySqlAvailabilityGroupDatabase.json deleted file mode 100644 index 0de1f3665acc..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListBySqlAvailabilityGroupDatabase.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlAvailabilityGroupName": "testAG", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlAvailabilityGroups/testsAG/databases/testSqlDatabase1", - "name": "testSqlDatabase1", - "type": "Microsoft.AzureArcData/sqlAvailabilityGroups/databases", - "properties": { - "groupDatabaseId": "00000000-1111-2222-3333-444444444444", - "value": [ - { - "replicaName": "sqlServer1", - "isLocal": true, - "isPrimaryReplica": true, - "synchronizationStateDesc": "SYNCHRONIZED", - "isCommitParticipant": true, - "synchronizationHealthDesc": "HEALTHY", - "databaseStateDesc": "ONLINE", - "isSuspended": false - }, - { - "replicaName": "sqlServer2", - "isLocal": false, - "isPrimaryReplica": false, - "synchronizationStateDesc": "SYNCHRONIZED", - "isCommitParticipant": true, - "synchronizationHealthDesc": "HEALTHY", - "databaseStateDesc": "ONLINE", - "isSuspended": false - } - ] - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - } - }, - { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlAvailabilityGroups/testsAG/databases/testSqlDatabase2", - "name": "testSqlDatabase2", - "type": "Microsoft.AzureArcData/sqlAvailabilityGroups/databases", - "properties": { - "groupDatabaseId": "00000000-1111-2222-3333-444444444444", - "value": [ - { - "replicaName": "sqlServer1", - "isLocal": true, - "isPrimaryReplica": true, - "synchronizationStateDesc": "SYNCHRONIZED", - "isCommitParticipant": true, - "synchronizationHealthDesc": "HEALTHY", - "databaseStateDesc": "ONLINE", - "isSuspended": false - }, - { - "replicaName": "sqlServer2", - "isLocal": false, - "isPrimaryReplica": false, - "synchronizationStateDesc": "SYNCHRONIZED", - "isCommitParticipant": true, - "synchronizationHealthDesc": "HEALTHY", - "databaseStateDesc": "ONLINE", - "isSuspended": false - } - ] - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - } - } - ] - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListBySqlAvailabilityGroupReplica.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListBySqlAvailabilityGroupReplica.json deleted file mode 100644 index f6f639c9a10a..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListBySqlAvailabilityGroupReplica.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlAvailabilityGroupName": "testAG", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlAvailabilityGroups/testsAG/sqlServerInstances/testSqlServerInstance", - "name": "testSqlServerInstance", - "type": "Microsoft.AzureArcData/sqlAvailabilityGroups/sqlServerInstances", - "properties": { - "replicaId": "00000000-1111-2222-3333-444444444444", - "replicaName": "testSqlServerInstance", - "configure": { - "endpointUrl": "TCP://mytest60-0.mytest60-svc:5022", - "availabilityModeDesc": "SYNCHRONOUS_COMMIT", - "failoverModeDesc": "EXTERNAL", - "sessionTimeout": 10, - "primaryRoleAllowConnectionsDesc": "ALL", - "secondaryRoleAllowConnectionsDesc": "ALL", - "createDate": null, - "modifyDate": null, - "backupPriority": 50, - "readOnlyRoutingUrl": null, - "readWriteRoutingUrl": null, - "seedingModeDesc": "AUTOMATIC" - }, - "state": { - "availabilityGroupReplicaRole": "SECONDARY", - "operationalStateDesc": "ONLINE", - "recoveryHealthDesc": "ONLINE_IN_PROGRESS", - "synchronizationHealthDesc": "HEALTHY", - "connectedStateDesc": "CONNECTED", - "lastConnectErrorDescription": "", - "lastConnectErrorTimestamp": "2022-05-05T16:26:33.883Z" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - } - }, - { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlAvailabilityGroups/testsAG/sqlServerInstances/testSqlServerInstance1", - "name": "testSqlServerInstance1", - "type": "Microsoft.AzureArcData/sqlAvailabilityGroups/sqlServerInstances", - "properties": { - "replicaId": "00000000-1111-2222-5555-444444444444", - "replicaName": "testSqlServerInstance1", - "configure": { - "endpointUrl": "TCP://mytest60-0.mytest60-svc:5022", - "availabilityModeDesc": "SYNCHRONOUS_COMMIT", - "failoverModeDesc": "EXTERNAL", - "sessionTimeout": 10, - "primaryRoleAllowConnectionsDesc": "ALL", - "secondaryRoleAllowConnectionsDesc": "ALL", - "createDate": null, - "modifyDate": null, - "backupPriority": 50, - "readOnlyRoutingUrl": null, - "readWriteRoutingUrl": null, - "seedingModeDesc": "AUTOMATIC" - }, - "state": { - "availabilityGroupReplicaRole": "SECONDARY", - "operationalStateDesc": "ONLINE", - "recoveryHealthDesc": "ONLINE_IN_PROGRESS", - "synchronizationHealthDesc": "HEALTHY", - "connectedStateDesc": "CONNECTED", - "lastConnectErrorDescription": "", - "lastConnectErrorTimestamp": "2022-05-05T16:26:33.883Z" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - } - } - ] - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListBySqlManagedInstanceFailoverGroup.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListBySqlManagedInstanceFailoverGroup.json deleted file mode 100644 index f88596772d08..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListBySqlManagedInstanceFailoverGroup.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "api-version": "2023-03-15-preview", - "sqlManagedInstanceName": "testSqlManagedInstance" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/partnerMI", - "spec": { - "sharedName": "testSharedName", - "sourceMI": "sourceSQLMI", - "partnerMI": "partnerMI", - "partnerMirroringURL": "11.11.111.111", - "partnerMirroringCert": "testCert", - "partnerSyncMode": "async", - "role": "primary" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/testSqlManagedInstance/failoverGroups/testFailoverGroupName", - "name": "testFailoverGroupName", - "type": "Microsoft.AzureArcData/sqlManagedInstances/failoverGroups" - }, - { - "properties": { - "partnerManagedInstanceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/partnerMI", - "spec": { - "sharedName": "testSharedName", - "sourceMI": "sourceSQLMI", - "partnerMI": "partnerMI", - "partnerMirroringURL": "11.11.111.111", - "partnerMirroringCert": "testCert", - "partnerSyncMode": "async", - "role": "primary" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/testSqlManagedInstance/failoverGroups/testFailoverGroupName", - "name": "testFailoverGroupName", - "type": "Microsoft.AzureArcData/sqlManagedInstances/failoverGroups" - } - ] - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListBySqlServerInstanceAvailabilityGroup.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListBySqlServerInstanceAvailabilityGroup.json deleted file mode 100644 index 1e3092646f63..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListBySqlServerInstanceAvailabilityGroup.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testSqlServerInstance", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlServerInstances/testSqlServerInstance/sqlAvailabilityGroups/testAG", - "name": "testAG", - "type": "Microsoft.AzureArcData/sqlServerInstances/sqlAvailabilityGroups", - "properties": { - "availabilityGroupId": "00000000-1111-2222-3333-444444444444", - "availabilityGroupName": "testAG", - "configure": { - "endpointUrl": "TCP://mytest60-0.mytest60-svc:5022", - "availabilityModeDesc": "SYNCHRONOUS_COMMIT", - "failoverModeDesc": "EXTERNAL", - "sessionTimeout": 10, - "primaryRoleAllowConnectionsDesc": "ALL", - "secondaryRoleAllowConnectionsDesc": "ALL", - "createDate": null, - "modifyDate": null, - "backupPriority": 50, - "readOnlyRoutingUrl": null, - "readWriteRoutingUrl": null, - "seedingModeDesc": "AUTOMATIC" - }, - "state": { - "availabilityGroupReplicaRole": "SECONDARY", - "operationalStateDesc": "ONLINE", - "recoveryHealthDesc": "ONLINE_IN_PROGRESS", - "synchronizationHealthDesc": "HEALTHY", - "connectedStateDesc": "CONNECTED", - "lastConnectErrorDescription": "", - "lastConnectErrorTimestamp": "2022-05-05T16:26:33.883Z" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - } - }, - { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlServerInstances/testSqlServerInstance/sqlAvailabilityGroups/testAG1", - "name": "testAG1", - "type": "Microsoft.AzureArcData/sqlServerInstances/sqlAvailabilityGroups", - "properties": { - "availabilityGroupId": "00000000-1111-2222-3333-444444444444", - "availabilityGroupName": "testAG1", - "configure": { - "endpointUrl": "TCP://mytest60-0.mytest60-svc:5022", - "availabilityModeDesc": "SYNCHRONOUS_COMMIT", - "failoverModeDesc": "EXTERNAL", - "sessionTimeout": 10, - "primaryRoleAllowConnectionsDesc": "ALL", - "secondaryRoleAllowConnectionsDesc": "ALL", - "createDate": null, - "modifyDate": null, - "backupPriority": 50, - "readOnlyRoutingUrl": null, - "readWriteRoutingUrl": null, - "seedingModeDesc": "AUTOMATIC" - }, - "state": { - "availabilityGroupReplicaRole": "SECONDARY", - "operationalStateDesc": "ONLINE", - "recoveryHealthDesc": "ONLINE_IN_PROGRESS", - "synchronizationHealthDesc": "HEALTHY", - "connectedStateDesc": "CONNECTED", - "lastConnectErrorDescription": "", - "lastConnectErrorTimestamp": "2022-05-05T16:26:33.883Z" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - } - } - ] - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListBySqlServerInstanceDatabase.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListBySqlServerInstanceDatabase.json deleted file mode 100644 index c949aaa15e95..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListBySqlServerInstanceDatabase.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testSqlServerInstance", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/testSqlServerInstance/testsqlManagedInstance/databases/testdb", - "name": "testdb", - "type": "Microsoft.AzureArcData/sqlServerInstances/databases", - "properties": { - "collationName": "SQL_Latin1_General_CP1_CI_AS", - "databaseCreationDate": "2022-04-05T16:26:33.883Z", - "compatibilityLevel": 150, - "state": "Online", - "isReadOnly": true, - "recoveryMode": "Full", - "sizeMB": 150.00, - "spaceAvailableMB": 100.00, - "databaseOptions": { - "isAutoCloseOn": true, - "isAutoShrinkOn": true, - "isAutoCreateStatsOn": true, - "isAutoUpdateStatsOn": true, - "isMemoryOptimizationEnabled": true, - "isRemoteDataArchiveEnabled": true, - "isEncrypted": true, - "isTrustworthyOn": true - }, - "backupInformation": { - "lastFullBackup": "2022-05-05T16:26:33.883Z", - "lastLogBackup": "2022-05-10T16:26:33.883Z" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - } - }, - { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/testSqlServerInstance/testsqlManagedInstance/databases/testdb1", - "name": "testdb1", - "type": "Microsoft.AzureArcData/sqlServerInstances/databases", - "properties": { - "collationName": "SQL_Latin1_General_CP1_CI_AS", - "databaseCreationDate": "2022-04-05T16:26:33.883Z", - "compatibilityLevel": 150, - "state": "Online", - "isReadOnly": true, - "recoveryMode": "Full", - "sizeMB": 150.00, - "spaceAvailableMB": 100.00, - "databaseOptions": { - "isAutoCloseOn": true, - "isAutoShrinkOn": true, - "isAutoCreateStatsOn": true, - "isAutoUpdateStatsOn": true, - "isMemoryOptimizationEnabled": true, - "isRemoteDataArchiveEnabled": true, - "isEncrypted": true, - "isTrustworthyOn": true - }, - "backupInformation": { - "lastFullBackup": "2022-05-05T16:26:33.883Z", - "lastLogBackup": "2022-05-10T16:26:33.883Z" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - } - } - ] - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListOperation.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListOperation.json deleted file mode 100644 index 7a45a13987c2..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListOperation.json +++ /dev/null @@ -1,353 +0,0 @@ -{ - "parameters": { - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.AzureArcData/Locations/OperationStatuses/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "Locations/OperationStatuses", - "operation": "read_OperationStatuses", - "description": "read OperationStatuses" - } - }, - { - "name": "Microsoft.AzureArcData/Locations/OperationStatuses/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "Locations/OperationStatuses", - "operation": "write_OperationStatuses", - "description": "write OperationStatuses" - } - }, - { - "name": "Microsoft.AzureArcData/dataControllers/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "dataControllers", - "operation": "DataControllers_ListInSubscription", - "description": "read dataControllers" - } - }, - { - "name": "Microsoft.AzureArcData/dataControllers/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "dataControllers", - "operation": "DataControllers_ListInGroup", - "description": "read dataControllers" - } - }, - { - "name": "Microsoft.AzureArcData/dataControllers/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "dataControllers", - "operation": "DataControllers_GetDataController", - "description": "Retrieves a dataController resource" - } - }, - { - "name": "Microsoft.AzureArcData/dataControllers/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "dataControllers", - "operation": "DataControllers_PutDataController", - "description": "Creates or replaces a dataController resource" - } - }, - { - "name": "Microsoft.AzureArcData/dataControllers/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "dataControllers", - "operation": "DataControllers_DeleteDataController", - "description": "Deletes a dataController resource" - } - }, - { - "name": "Microsoft.AzureArcData/dataControllers/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "dataControllers", - "operation": "DataControllers_PatchDataController", - "description": "Updates a dataController resource" - } - }, - { - "name": "Microsoft.AzureArcData/sqlManagedInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "sqlManagedInstances", - "operation": "SqlManagedInstances_List", - "description": "read sqlManagedInstances" - } - }, - { - "name": "Microsoft.AzureArcData/sqlManagedInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "sqlManagedInstances", - "operation": "SqlManagedInstances_ListByResourceGroup", - "description": "Gets all sqlManagedInstances in a resource group." - } - }, - { - "name": "Microsoft.AzureArcData/sqlManagedInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "sqlManagedInstances", - "operation": "SqlManagedInstances_Get", - "description": "Retrieves a SQL Managed Instance resource" - } - }, - { - "name": "Microsoft.AzureArcData/sqlManagedInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "sqlManagedInstances", - "operation": "SqlManagedInstances_Create", - "description": "Creates or replaces a SQL Managed Instance resource" - } - }, - { - "name": "Microsoft.AzureArcData/sqlManagedInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "sqlManagedInstances", - "operation": "SqlManagedInstances_Delete", - "description": "Deletes a SQL Managed Instance resource" - } - }, - { - "name": "Microsoft.AzureArcData/sqlManagedInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "sqlManagedInstances", - "operation": "SqlManagedInstances_Update", - "description": "Updates a SQL Managed Instance resource" - } - }, - { - "name": "Microsoft.AzureArcData/sqlServerInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "sqlServerInstances", - "operation": "SqlServerInstances_List", - "description": "read sqlServerInstances" - } - }, - { - "name": "Microsoft.AzureArcData/sqlServerInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "sqlServerInstances", - "operation": "SqlServerInstances_ListByResourceGroup", - "description": "Gets all sqlServerInstances in a resource group." - } - }, - { - "name": "Microsoft.AzureArcData/sqlServerInstances/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "sqlServerInstances", - "operation": "SqlServerInstances_Get", - "description": "Retrieves a SQL Server Instance resource" - } - }, - { - "name": "Microsoft.AzureArcData/sqlServerInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "sqlServerInstances", - "operation": "SqlServerInstances_Create", - "description": "Creates or replaces a SQL Server Instance resource" - } - }, - { - "name": "Microsoft.AzureArcData/sqlServerInstances/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "sqlServerInstances", - "operation": "SqlServerInstances_Delete", - "description": "Deletes a SQL Server Instance resource" - } - }, - { - "name": "Microsoft.AzureArcData/sqlServerInstances/databases/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "sqlServerInstances/databases", - "operation": "SqlServerDatabases_List", - "description": "List all database resources in a Sql Server Instance." - } - }, - { - "name": "Microsoft.AzureArcData/sqlServerInstances/databases/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "sqlServerInstances/databases", - "operation": "SqlServerDatabases_Get", - "description": "Retrieves a database resource" - } - }, - { - "name": "Microsoft.AzureArcData/sqlServerInstances/databases/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "sqlServerInstances/databases", - "operation": "SqlServerDatabases_Create", - "description": "Creates or updates a database resource." - } - }, - { - "name": "Microsoft.AzureArcData/sqlServerInstances/databases/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "sqlServerInstances/databases", - "operation": "SqlServerDatabases_Delete", - "description": "Deletes a database resource." - } - }, - { - "name": "Microsoft.AzureArcData/sqlServerInstances/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "sqlServerInstances", - "operation": "SqlServerInstances_Update", - "description": "Updates a SQL Server Instance resource" - } - }, - { - "name": "Microsoft.AzureArcData/dataControllers/activeDirectoryConnectors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "dataControllers/activeDirectoryConnectors", - "operation": "ActiveDirectoryConnectors_List", - "description": "read activeDirectoryConnectors" - } - }, - { - "name": "Microsoft.AzureArcData/dataControllers/activeDirectoryConnectors/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "dataControllers/activeDirectoryConnectors", - "operation": "ActiveDirectoryConnectors_Get", - "description": "Retrieves an active directory connector resource" - } - }, - { - "name": "Microsoft.AzureArcData/dataControllers/activeDirectoryConnectors/write", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "dataControllers/activeDirectoryConnectors", - "operation": "ActiveDirectoryConnectors_Create", - "description": "Creates or replaces an active directory connector resource." - } - }, - { - "name": "Microsoft.AzureArcData/dataControllers/activeDirectoryConnectors/delete", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "dataControllers/activeDirectoryConnectors", - "operation": "ActiveDirectoryConnectors_Delete", - "description": "Deletes an active directory connector resource" - } - }, - { - "name": "Microsoft.AzureArcData/postgresInstances/read", - "isDataAction": false, - "display": { - "resource": "Microsoft.AzureArcData", - "provider": "Azure Arc Data Resource Provider.", - "operation": "Get Postgres Instance details.", - "description": "Retrieves details of Postgres Instances." - } - }, - { - "name": "Microsoft.AzureArcData/postgresInstances/write", - "isDataAction": false, - "display": { - "resource": "Microsoft.AzureArcData", - "provider": "Azure Arc Data Resource Provider.", - "operation": "Create new or update existing Postgres Instances.", - "description": "Create a new or change properties of existing Postgres Instances." - } - }, - { - "name": "Microsoft.AzureArcData/postgresInstances/delete", - "isDataAction": false, - "display": { - "resource": "Microsoft.AzureArcData", - "provider": "Azure Arc Data Resource Provider.", - "operation": "Delete exisiting Postgres Instances.", - "description": "Delete exisiting Postgres Instances." - } - }, - { - "name": "Microsoft.AzureArcData/register/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "Microsoft.AzureArcData", - "operation": "Register the Microsoft.AzureArcData", - "description": "Register the subscription for Microsoft.AzureArcData" - } - }, - { - "name": "Microsoft.AzureArcData/unregister/action", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "Microsoft.AzureArcData", - "operation": "Unregister the Microsoft.AzureArcData", - "description": "Unregister the subscription for Microsoft.AzureArcData" - } - }, - { - "name": "Microsoft.AzureArcData/Operations/read", - "isDataAction": false, - "display": { - "provider": "Microsoft.AzureArcData", - "resource": "Operations", - "operation": "read_Operations", - "description": "read Operations" - } - } - ] - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListSubscriptionDataController.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListSubscriptionDataController.json deleted file mode 100644 index d5219ce305a5..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListSubscriptionDataController.json +++ /dev/null @@ -1,119 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate they uploaded" - }, - "basicLoginInformation": { - "username": "username" - }, - "metricsDashboardCredential": { - "username": "username" - }, - "logsDashboardCredential": { - "username": "username" - }, - "logAnalyticsWorkspaceConfig": { - "workspaceId": "00000000-1111-2222-3333-444444444444" - }, - "uploadServicePrincipal": { - "clientId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444", - "authority": "https://login.microsoftonline.com/" - }, - "uploadWatermark": { - "metrics": "2020-01-01T17:18:19.1234567Z", - "logs": "2020-01-01T17:18:19.1234567Z", - "usages": "2020-01-01T17:18:19.1234567Z" - }, - "clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s", - "extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension", - "infrastructure": "onpremises" - }, - "location": "northeurope", - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/dataControllers/testdataController1", - "name": "testdataController1", - "type": "Microsoft.AzureArcData/dataControllers" - }, - { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate they uploaded" - }, - "basicLoginInformation": { - "username": "username" - }, - "metricsDashboardCredential": { - "username": "username" - }, - "logsDashboardCredential": { - "username": "username" - }, - "logAnalyticsWorkspaceConfig": { - "workspaceId": "00000000-1111-2222-3333-444444444444" - }, - "uploadServicePrincipal": { - "clientId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444", - "authority": "https://login.microsoftonline.com/" - }, - "uploadWatermark": { - "metrics": "2020-01-01T17:18:19.1234567Z", - "logs": "2020-01-01T17:18:19.1234567Z", - "usages": "2020-01-01T17:18:19.1234567Z" - }, - "clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s", - "extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension" - }, - "location": "northeurope", - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/dataControllers/testdataController2", - "name": "testdataController2", - "type": "Microsoft.AzureArcData/dataControllers" - } - ] - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListSubscriptionPostgresInstance.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListSubscriptionPostgresInstance.json deleted file mode 100644 index 20ef0dbffcbf..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListSubscriptionPostgresInstance.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "basicLoginInformation": { - "username": "username" - } - }, - "location": "northeurope", - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "sku": { - "name": "default", - "tier": "Hyperscale", - "dev": true - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/PostgresInstances/testpostgresInstances1", - "name": "testpostgresInstances1", - "type": "Microsoft.AzureArcData/PostgresInstances" - }, - { - "properties": { - "basicLoginInformation": { - "username": "username" - } - }, - "location": "northeurope", - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "sku": { - "name": "default", - "tier": "Hyperscale", - "dev": true - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/PostgresInstances/testpostgresInstances2", - "name": "testpostgresInstances2", - "type": "Microsoft.AzureArcData/PostgresInstances" - } - ] - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListSubscriptionSqlAvailabilityGroup.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListSubscriptionSqlAvailabilityGroup.json deleted file mode 100644 index bc95373b0df4..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListSubscriptionSqlAvailabilityGroup.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "availabilityGroupName": "myAvailabilityGroup1", - "availabilityGroupId": "00000000-1111-2222-3333-444444444444", - "instanceName": "testInstance", - "collectionTimestamp": "2022-05-05T16:26:33.883Z", - "version": 0, - "basicFeatures": false, - "dtcSupport": false, - "dbFailover": true, - "isDistributed": false, - "clusterTypeDesc": "WSFC", - "requiredSynchronizedSecondariesCommit": 0, - "isContained": false - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/SqlAvailabilityGroups/sqlAvailabilityGroup1", - "name": "sqlAvailabilityGroup1", - "type": "Microsoft.AzureArcData/SqlAvailabilityGroups" - }, - { - "properties": { - "availabilityGroupName": "myAvailabilityGroup2", - "availabilityGroupId": "00000000-1111-2222-3333-444444444444", - "instanceName": "testInstance", - "collectionTimestamp": "2022-05-05T16:26:33.883Z", - "version": 0, - "basicFeatures": false, - "dtcSupport": false, - "dbFailover": true, - "isDistributed": false, - "clusterTypeDesc": "WSFC", - "requiredSynchronizedSecondariesCommit": 0, - "isContained": false - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg1/providers/Microsoft.AzureArcData/SqlAvailabilityGroups/sqlAvailabilityGroup2", - "name": "sqlAvailabilityGroup2", - "type": "Microsoft.AzureArcData/SqlAvailabilityGroups" - } - ] - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListSubscriptionSqlManagedInstance.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListSubscriptionSqlManagedInstance.json deleted file mode 100644 index b5e3d9909792..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListSubscriptionSqlManagedInstance.json +++ /dev/null @@ -1,138 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time", - "basicLoginInformation": { - "username": "username" - }, - "activeDirectoryInformation": { - "keytabInformation": {} - }, - "licenseType": "LicenseIncluded", - "clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s", - "extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension", - "k8sRaw": { - "additionalProperty": 1234, - "spec": { - "replicas": 1, - "scheduling": { - "default": { - "resources": { - "requests": { - "cpu": "1", - "memory": "8Gi", - "additionalProperty": "additionalValue" - }, - "limits": { - "cpu": "1", - "memory": "8Gi", - "additionalProperty": "additionalValue" - } - } - } - } - } - } - }, - "location": "northeurope", - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "sku": { - "name": "vCore", - "tier": "GeneralPurpose", - "dev": true - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/SqlManagedInstances/sqlManagedInstance1", - "name": "sqlManagedInstances1", - "type": "Microsoft.AzureArcData/sqlManagedInstances" - }, - { - "properties": { - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time", - "basicLoginInformation": { - "username": "username" - }, - "activeDirectoryInformation": { - "keytabInformation": {} - }, - "licenseType": "LicenseIncluded", - "clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s", - "extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension", - "k8sRaw": { - "additionalProperty": 1234, - "spec": { - "replicas": 1, - "scheduling": { - "default": { - "resources": { - "requests": { - "cpu": "1", - "memory": "8Gi", - "additionalProperty": "additionalValue" - }, - "limits": { - "cpu": "1", - "memory": "8Gi", - "additionalProperty": "additionalValue" - } - } - } - } - } - } - }, - "location": "northeurope", - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "sku": { - "name": "vCore", - "tier": "GeneralPurpose", - "dev": true - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/SqlManagedInstances/sqlManagedInstance2", - "name": "sqlManagedInstances2", - "type": "Microsoft.AzureArcData/sqlManagedInstances" - } - ] - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListSubscriptionSqlServerInstance.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListSubscriptionSqlServerInstance.json deleted file mode 100644 index 3c26efedec0f..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/ListSubscriptionSqlServerInstance.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2023-03-15-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "version": "SQL Server 2012", - "edition": "Developer", - "containerResourceId": "Resource id of hosting Arc Machine", - "createTime": "01/01/2020 01:01:01", - "patchLevel": "patchlevel", - "collation": "collation", - "currentVersion": "2008 R2", - "instanceName": "name of instance", - "tcpDynamicPorts": "1433", - "tcpStaticPorts": "1433", - "productId": "sql id", - "vCore": "4", - "cores": "4", - "licenseType": "Free", - "azureDefenderStatusLastUpdated": "2020-01-02T17:18:19.1234567Z", - "azureDefenderStatus": "Protected", - "status": "Registered", - "hostType": "Physical Server" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/SqlServerInstances/sqlServerInstance1", - "name": "sqlServerInstance1", - "type": "Microsoft.AzureArcData/SqlServerInstances" - }, - { - "properties": { - "version": "SQL Server 2017", - "edition": "Developer", - "containerResourceId": "Arc Machine Name", - "createTime": "01/01/2020 01:01:01", - "patchLevel": "patchlevel", - "collation": "collation", - "currentVersion": "2008 R2", - "instanceName": "name of instance", - "tcpDynamicPorts": "1433", - "tcpStaticPorts": "1433", - "productId": "sql id", - "vCore": "4", - "cores": "4", - "licenseType": "Free", - "azureDefenderStatusLastUpdated": "2020-01-02T17:18:19.1234567Z", - "azureDefenderStatus": "Protected", - "status": "Connected" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/SqlServerInstances/sqlServerInstance2", - "name": "sqlServerInstance2", - "type": "Microsoft.AzureArcData/SqlServerInstances" - } - ] - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateDataController.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateDataController.json deleted file mode 100644 index 0a853a9c19cd..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateDataController.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "dataControllerName": "testdataController1", - "api-version": "2023-03-15-preview", - "dataControllerResource": { - "tags": { - "mytag": "myval" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "onPremiseProperty": { - "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", - "publicSigningKey": "publicOnPremSigningKey", - "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate they uploaded" - }, - "basicLoginInformation": { - "username": "username" - }, - "metricsDashboardCredential": { - "username": "username" - }, - "logsDashboardCredential": { - "username": "username" - }, - "logAnalyticsWorkspaceConfig": { - "workspaceId": "00000000-1111-2222-3333-444444444444" - }, - "uploadServicePrincipal": { - "clientId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444", - "authority": "https://login.microsoftonline.com/" - }, - "uploadWatermark": { - "metrics": "2020-01-01T17:18:19.1234567Z", - "logs": "2020-01-01T17:18:19.1234567Z", - "usages": "2020-01-01T17:18:19.1234567Z" - }, - "clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s", - "extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension", - "infrastructure": "onpremises" - }, - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/dataControllers/testdataController1", - "name": "testdataController1", - "type": "Microsoft.AzureArcData/dataControllers" - } - }, - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.AzureArcData/operationResults/id1" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdatePostgresInstance.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdatePostgresInstance.json deleted file mode 100644 index 919827d84e1a..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdatePostgresInstance.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "postgresInstanceName": "testpostgresInstance", - "api-version": "2023-03-15-preview", - "parameters": { - "tags": { - "mytag": "myval" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "basicLoginInformation": { - "username": "username" - } - }, - "location": "northeurope", - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "sku": { - "name": "default", - "tier": "Hyperscale", - "dev": true - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/PostgresInstance/testpostgresInstance", - "name": "testpostgresInstance", - "type": "Microsoft.AzureArcData/PostgresInstance" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlAvailabilityGroup.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlAvailabilityGroup.json deleted file mode 100644 index 2119a530772f..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlAvailabilityGroup.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlAvailabilityGroupName": "testsqlAvailabilityGroup", - "api-version": "2023-03-15-preview", - "parameters": { - "tags": { - "mytag": "myval" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "availabilityGroupName": "myAvailabilityGroup", - "availabilityGroupId": "00000000-1111-2222-3333-444444444444", - "instanceName": "testInstance", - "collectionTimestamp": "2020-01-02T17:18:19.1234567Z", - "version": 0, - "basicFeatures": false, - "dtcSupport": false, - "dbFailover": true, - "isDistributed": false, - "clusterTypeDesc": "WSFC", - "requiredSynchronizedSecondariesCommit": 0, - "isContained": false - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/SqlAvailabilityGroups/testsqlAvailabilityGroup", - "name": "testsqlAvailabilityGroup", - "type": "Microsoft.AzureArcData/SqlAvailabilityGroup" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlAvailabilityGroupDatabase.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlAvailabilityGroupDatabase.json deleted file mode 100644 index 6bc30381f62a..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlAvailabilityGroupDatabase.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlAvailabilityGroupDatabaseName": "testSqlDatabase", - "api-version": "2023-03-15-preview", - "sqlAvailabilityGroupName": "testsAG", - "sqlAvailabilityGroupDatabaseUpdate": { - "tags": { - "mytag": "myval1" - }, - "properties": { - "groupDatabaseId": "00000000-1111-2222-3333-444444444444", - "value": [ - { - "replicaName": "sqlServer1", - "isLocal": true, - "isPrimaryReplica": true, - "synchronizationStateDesc": "SYNCHRONIZED", - "isCommitParticipant": true, - "synchronizationHealthDesc": "HEALTHY", - "databaseStateDesc": "ONLINE", - "isSuspended": false - }, - { - "replicaName": "sqlServer2", - "isLocal": false, - "isPrimaryReplica": false, - "synchronizationStateDesc": "SYNCHRONIZED", - "isCommitParticipant": true, - "synchronizationHealthDesc": "HEALTHY", - "databaseStateDesc": "ONLINE", - "isSuspended": false - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlAvailabilityGroups/testsAG/databases/testSqlDatabase", - "name": "testSqlDatabase", - "type": "Microsoft.AzureArcData/sqlAvailabilityGroups/databases", - "properties": { - "groupDatabaseId": "00000000-1111-2222-3333-444444444444", - "value": [ - { - "replicaName": "sqlServer1", - "isLocal": true, - "isPrimaryReplica": true, - "synchronizationStateDesc": "SYNCHRONIZED", - "isCommitParticipant": true, - "synchronizationHealthDesc": "HEALTHY", - "databaseStateDesc": "ONLINE", - "isSuspended": false - }, - { - "replicaName": "sqlServer2", - "isLocal": false, - "isPrimaryReplica": false, - "synchronizationStateDesc": "SYNCHRONIZED", - "isCommitParticipant": true, - "synchronizationHealthDesc": "HEALTHY", - "databaseStateDesc": "ONLINE", - "isSuspended": false - } - ] - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval1" - } - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlAvailabilityGroupReplica.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlAvailabilityGroupReplica.json deleted file mode 100644 index 00f42258ff77..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlAvailabilityGroupReplica.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testSqlServerInstance", - "api-version": "2023-03-15-preview", - "sqlAvailabilityGroupName": "testsAG", - "sqlAvailabilityGroupReplicaUpdate": { - "tags": { - "mytag": "myval1" - } - } - }, - "responses": { - "200": { - "body": { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlAvailabilityGroups/testsAG/sqlServerInstances/testSqlServerInstance", - "name": "testSqlServerInstance", - "type": "Microsoft.AzureArcData/sqlAvailabilityGroups/sqlServerInstances", - "properties": { - "replicaId": "00000000-1111-2222-3333-444444444444", - "replicaName": "testSqlServerInstance", - "configure": { - "endpointUrl": "TCP://mytest60-0.mytest60-svc:5022", - "availabilityModeDesc": "SYNCHRONOUS_COMMIT", - "failoverModeDesc": "EXTERNAL", - "sessionTimeout": 10, - "primaryRoleAllowConnectionsDesc": "ALL", - "secondaryRoleAllowConnectionsDesc": "ALL", - "createDate": null, - "modifyDate": null, - "backupPriority": 50, - "readOnlyRoutingUrl": null, - "readWriteRoutingUrl": null, - "seedingModeDesc": "AUTOMATIC" - }, - "state": { - "availabilityGroupReplicaRole": "SECONDARY", - "operationalStateDesc": "ONLINE", - "recoveryHealthDesc": "ONLINE_IN_PROGRESS", - "synchronizationHealthDesc": "HEALTHY", - "connectedStateDesc": "CONNECTED", - "lastConnectErrorDescription": "", - "lastConnectErrorTimestamp": "2022-05-05T16:26:33.883Z" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval1" - } - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlManagedInstance.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlManagedInstance.json deleted file mode 100644 index ec0fce42e7ce..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlManagedInstance.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlManagedInstanceName": "testsqlManagedInstance", - "api-version": "2023-03-15-preview", - "parameters": { - "tags": { - "mytag": "myval" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "admin": "Admin user", - "startTime": "Instance start time", - "endTime": "Instance end time", - "basicLoginInformation": { - "username": "username" - }, - "activeDirectoryInformation": { - "keytabInformation": {} - }, - "licenseType": "LicenseIncluded", - "clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s", - "extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension", - "k8sRaw": { - "additionalProperty": 1234, - "spec": { - "replicas": 1, - "scheduling": { - "default": { - "resources": { - "requests": { - "cpu": "1", - "memory": "8Gi", - "additionalProperty": "additionalValue" - }, - "limits": { - "cpu": "1", - "memory": "8Gi", - "additionalProperty": "additionalValue" - } - } - } - } - } - } - }, - "location": "northeurope", - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "sku": { - "name": "vCore", - "tier": "GeneralPurpose", - "dev": true - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/sqlManagedInstances/testsqlManagedInstance", - "name": "testsqlManagedInstance", - "type": "Microsoft.AzureArcData/sqlManagedInstances" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlServerAvailabilityGroup.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlServerAvailabilityGroup.json deleted file mode 100644 index cc5b9f04f829..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlServerAvailabilityGroup.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testSqlServerInstance", - "api-version": "2023-03-15-preview", - "sqlAvailabilityGroupName": "testAG", - "sqlServerAvailabilityGroupUpdate": { - "tags": { - "mytag": "myval1" - } - } - }, - "responses": { - "200": { - "body": { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/testSqlServerInstance/testSqlServerInstance/sqlAvailabilityGroups/testAG", - "name": "testAG", - "type": "Microsoft.AzureArcData/sqlServerInstances/sqlAvailabilityGroups", - "properties": { - "availabilityGroupId": "00000000-1111-2222-3333-444444444444", - "availabilityGroupName": "testAG", - "configure": { - "endpointUrl": "TCP://mytest60-0.mytest60-svc:5022", - "availabilityModeDesc": "SYNCHRONOUS_COMMIT", - "failoverModeDesc": "EXTERNAL", - "sessionTimeout": 10, - "primaryRoleAllowConnectionsDesc": "ALL", - "secondaryRoleAllowConnectionsDesc": "ALL", - "createDate": null, - "modifyDate": null, - "backupPriority": 50, - "readOnlyRoutingUrl": null, - "readWriteRoutingUrl": null, - "seedingModeDesc": "AUTOMATIC" - }, - "state": { - "availabilityGroupReplicaRole": "SECONDARY", - "operationalStateDesc": "ONLINE", - "recoveryHealthDesc": "ONLINE_IN_PROGRESS", - "synchronizationHealthDesc": "HEALTHY", - "connectedStateDesc": "CONNECTED", - "lastConnectErrorDescription": "", - "lastConnectErrorTimestamp": "2022-05-05T16:26:33.883Z" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval1" - } - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlServerDatabase.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlServerDatabase.json deleted file mode 100644 index a5acfeaf4b35..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlServerDatabase.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testsqlManagedInstance", - "api-version": "2023-03-15-preview", - "databaseName": "testdb", - "sqlServerDatabaseUpdate": { - "tags": { - "mytag": "myval1" - } - } - }, - "responses": { - "200": { - "body": { - "location": "southeastasia", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/testSqlServerInstance/testsqlManagedInstance/databases/testdb", - "name": "testdb", - "type": "Microsoft.AzureArcData/sqlServerInstances/databases", - "properties": { - "collationName": "SQL_Latin1_General_CP1_CI_AS", - "databaseCreationDate": "2022-04-05T16:26:33.883Z", - "compatibilityLevel": 150, - "state": "Online", - "isReadOnly": true, - "recoveryMode": "Full", - "sizeMB": 150.00, - "spaceAvailableMB": 100.00, - "databaseOptions": { - "isAutoCloseOn": true, - "isAutoShrinkOn": true, - "isAutoCreateStatsOn": true, - "isAutoUpdateStatsOn": true, - "isMemoryOptimizationEnabled": true, - "isRemoteDataArchiveEnabled": true, - "isEncrypted": true, - "isTrustworthyOn": true - }, - "backupInformation": { - "lastFullBackup": "2022-05-05T16:26:33.883Z", - "lastLogBackup": "2022-05-10T16:26:33.883Z" - } - }, - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval1" - } - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlServerInstance.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlServerInstance.json deleted file mode 100644 index d27e55764e1b..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/examples/UpdateSqlServerInstance.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "sqlServerInstanceName": "testsqlServerInstance", - "api-version": "2023-03-15-preview", - "parameters": { - "tags": { - "mytag": "myval" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "version": "SQL Server 2012", - "edition": "Developer", - "containerResourceId": "Resource id of hosting Arc Machine", - "createTime": "01/01/2020 01:01:01", - "patchLevel": "patchlevel", - "collation": "collation", - "currentVersion": "2012", - "instanceName": "name of instance", - "tcpDynamicPorts": "1433", - "tcpStaticPorts": "1433", - "productId": "sql id", - "vCore": "4", - "cores": "4", - "licenseType": "Free", - "azureDefenderStatusLastUpdated": "2020-01-02T17:18:19.1234567Z", - "azureDefenderStatus": "Protected", - "status": "Registered", - "hostType": "Physical Server" - }, - "location": "northeurope", - "systemData": { - "createdBy": "user1", - "createdByType": "User", - "createdAt": "2020-01-01T17:18:19.1234567Z", - "lastModifiedBy": "user2", - "lastModifiedByType": "User", - "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" - }, - "tags": { - "mytag": "myval" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/SqlServerInstances/testsqlServerInstance", - "name": "testsqlServerInstance", - "type": "Microsoft.AzureArcData/SqlServerInstances" - } - } - } -} diff --git a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/failoverGroups.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/failoverGroups.json deleted file mode 100644 index 75accbf36a4b..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/failoverGroups.json +++ /dev/null @@ -1,157 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-03-15-preview", - "title": "AzureArcDataManagementClient", - "description": "The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources." - }, - "paths": {}, - "definitions": { - "FailoverGroupListResult": { - "description": "A list of failover groups.", - "type": "object", - "properties": { - "value": { - "description": "Array of failover group results.", - "type": "array", - "items": { - "$ref": "#/definitions/FailoverGroupResource" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "FailoverGroupResource": { - "type": "object", - "description": "A failover group resource.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/FailoverGroupProperties", - "description": "null", - "x-ms-client-flatten": false - } - }, - "required": [ - "properties" - ] - }, - "FailoverGroupProperties": { - "type": "object", - "description": "The properties of a failover group resource.", - "properties": { - "provisioningState": { - "type": "string", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Accepted" - ], - "x-ms-enum": { - "name": "provisioningState", - "modelAsString": true - }, - "description": "The provisioning state of the failover group resource.", - "readOnly": true - }, - "partnerManagedInstanceId": { - "type": "string", - "description": "The resource ID of the partner SQL managed instance." - }, - "spec": { - "$ref": "#/definitions/FailoverGroupSpec", - "description": "The specifications of the failover group resource.", - "x-ms-client-flatten": false - }, - "status": { - "type": "object", - "description": "The status of the failover group custom resource." - } - }, - "additionalProperties": {}, - "required": [ - "partnerManagedInstanceId", - "spec" - ] - }, - "FailoverGroupSpec": { - "description": "The specifications of the failover group resource.", - "type": "object", - "properties": { - "sharedName": { - "type": "string", - "description": "The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name." - }, - "sourceMI": { - "type": "string", - "description": "The name of the SQL managed instance with this failover group role." - }, - "partnerMI": { - "type": "string", - "description": "The name of the partner SQL managed instance." - }, - "partnerMirroringURL": { - "type": "string", - "description": "The mirroring endpoint URL of the partner SQL managed instance." - }, - "partnerMirroringCert": { - "type": "string", - "description": "The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported." - }, - "partnerSyncMode": { - "type": "string", - "enum": [ - "async", - "sync" - ], - "x-ms-enum": { - "name": "failoverGroupPartnerSyncMode", - "modelAsString": true - }, - "default": "async", - "description": "The partner sync mode of the SQL managed instance." - }, - "role": { - "type": "string", - "enum": [ - "primary", - "secondary", - "force-primary-allow-data-loss", - "force-secondary" - ], - "x-ms-enum": { - "name": "instanceFailoverGroupRole", - "modelAsString": true - }, - "default": "primary", - "description": "The role of the SQL managed instance in this failover group." - } - }, - "additionalProperties": {}, - "required": [ - "role" - ] - } - }, - "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/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/operations.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/operations.json deleted file mode 100644 index 6ca87e7811ff..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/operations.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-03-15-preview", - "title": "AzureArcDataManagementClient", - "description": "The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources." - }, - "paths": {}, - "definitions": { - "Operation": { - "description": "Azure Data Services on Azure Arc operation definition.", - "type": "object", - "properties": { - "name": { - "description": "The name of the operation being performed on this particular object.", - "type": "string" - }, - "display": { - "$ref": "#/definitions/OperationDisplay", - "description": "The localized display information for this particular operation / action." - }, - "origin": { - "description": "The intended executor of the operation.", - "enum": [ - "user", - "system" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "OperationOrigin", - "modelAsString": true - } - }, - "isDataAction": { - "description": "Indicates whether the operation is a data action", - "type": "boolean" - }, - "properties": { - "description": "Additional descriptions for the operation.", - "type": "object", - "additionalProperties": { - "type": "object" - }, - "readOnly": true, - "x-ms-client-flatten": false - } - }, - "required": [ - "name", - "display", - "isDataAction" - ] - }, - "OperationListResult": { - "description": "Result of the request to list Azure Data Services on Azure Arc operations.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "x-ms-identifiers": [ - "name" - ], - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "OperationDisplay": { - "description": "Display metadata associated with the operation.", - "type": "object", - "properties": { - "provider": { - "description": "The localized friendly form of the resource provider name.", - "type": "string" - }, - "resource": { - "description": "The localized friendly form of the resource type related to this action/operation.", - "type": "string" - }, - "operation": { - "description": "The localized friendly name for the operation.", - "type": "string" - }, - "description": { - "description": "The localized friendly description for the operation.", - "type": "string" - } - }, - "required": [ - "provider", - "resource", - "operation", - "description" - ] - } - }, - "parameters": { - "apiVersion": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the request", - "x-ms-parameter-location": "client" - } - }, - "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/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/postgresInstances.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/postgresInstances.json deleted file mode 100644 index a90939d13b8b..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/postgresInstances.json +++ /dev/null @@ -1,174 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-03-15-preview", - "title": "AzureArcDataManagementClient", - "description": "The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources." - }, - "paths": {}, - "definitions": { - "PostgresInstanceSku": { - "description": "The resource model definition representing SKU for Azure Database for PostgresSQL - Azure Arc", - "type": "object", - "properties": { - "tier": { - "type": "string", - "enum": [ - "Hyperscale" - ], - "x-ms-enum": { - "name": "PostgresInstanceSkuTier", - "modelAsString": false - }, - "default": "Hyperscale", - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier." - } - }, - "allOf": [ - { - "$ref": "./common.json#/definitions/CommonSku" - } - ] - }, - "PostgresInstanceProperties": { - "description": "Postgres Instance properties.", - "type": "object", - "properties": { - "dataControllerId": { - "type": "string", - "description": "The data controller id" - }, - "admin": { - "type": "string", - "description": "The instance admin" - }, - "basicLoginInformation": { - "$ref": "./common.json#/definitions/BasicLoginInformation", - "description": "Username and password for basic authentication." - }, - "k8sRaw": { - "type": "object", - "description": "The raw kubernetes information" - }, - "lastUploadedDate": { - "type": "string", - "format": "date-time", - "description": "Last uploaded date from Kubernetes cluster. Defaults to current date time" - }, - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "The provisioning state of the Azure Arc-enabled PostgreSQL instance." - } - } - }, - "PostgresInstance": { - "description": "A Postgres Instance.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "extendedLocation": { - "$ref": "./common.json#/definitions/ExtendedLocation", - "description": "The extendedLocation of the resource." - }, - "properties": { - "$ref": "#/definitions/PostgresInstanceProperties", - "x-ms-client-flatten": false, - "description": "null" - }, - "sku": { - "$ref": "#/definitions/PostgresInstanceSku", - "description": "Resource sku." - } - }, - "required": [ - "properties" - ] - }, - "PostgresInstanceUpdate": { - "description": "An update to a Postgres Instance.", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/PostgresInstanceProperties", - "x-ms-client-flatten": false - } - } - }, - "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 - } - } - } - }, - "parameters": { - "subscriptionId": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The ID of the Azure subscription", - "x-ms-parameter-location": "client" - }, - "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", - "x-ms-parameter-location": "client" - } - }, - "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/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/sqlAvailabilityGroups.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/sqlAvailabilityGroups.json deleted file mode 100644 index 774cc70434cd..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/sqlAvailabilityGroups.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-03-15-preview", - "title": "AzureArcDataManagementClient", - "description": "The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources." - }, - "paths": {}, - "definitions": { - "SqlAvailabilityGroup": { - "description": "A SqlAvailabilityGroup.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SqlAvailabilityGroupProperties", - "description": "null", - "x-ms-client-flatten": false - } - } - }, - "SqlAvailabilityGroupProperties": { - "description": "Properties of SqlAvailabilityGroup.", - "type": "object", - "properties": { - "availabilityGroupName": { - "description": "The name of the availability group.", - "type": "string" - }, - "availabilityGroupId": { - "description": "Id GUID of the availability group.", - "type": "string", - "pattern": "^[A-Za-z0-9]{8}-([A-Za-z0-9]{4}-){3}[A-Za-z0-9]{12}$" - }, - "instanceName": { - "description": "The name of the instance name which availability group primary is on.", - "type": "string" - }, - "collectionTimestamp": { - "description": "Timestamp for when the data was collected from the client machine.", - "type": "string", - "format": "date-time" - }, - "version": { - "type": "integer", - "description": "SQL Server availability group current version.", - "format": "int32" - }, - "basicFeatures": { - "type": "boolean", - "description": "SQL Server basic availability group." - }, - "dtcSupport": { - "type": "boolean", - "description": "SQL Server availability group DTC support enabled." - }, - "dbFailover": { - "type": "boolean", - "description": "SQL Server availability group failover for database health conditions." - }, - "isDistributed": { - "type": "boolean", - "description": "SQL Server distributed availability group." - }, - "clusterTypeDesc": { - "type": "string", - "description": "SQL Server availability group cluster type description" - }, - "requiredSynchronizedSecondariesCommit": { - "type": "integer", - "description": "Availability group required the number of synchronized secondary to commit." - }, - "isContained": { - "type": "boolean", - "description": "SQL Server availability group contained system databases." - } - }, - "required": [ - "availabilityGroupName", - "availabilityGroupId" - ] - }, - "SqlAvailabilityGroupUpdate": { - "description": "An update to a SQL Availability Group.", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "SqlAvailabilityGroupListResult": { - "description": "A list of SqlAvailabilityGroup.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlAvailabilityGroup" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - } - }, - "parameters": { - "apiVersion": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the request", - "x-ms-parameter-location": "client" - } - }, - "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/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/sqlManagedInstances.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/sqlManagedInstances.json deleted file mode 100644 index ac54208bfce0..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/sqlManagedInstances.json +++ /dev/null @@ -1,307 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-03-15-preview", - "title": "AzureArcDataManagementClient", - "description": "The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources." - }, - "paths": {}, - "definitions": { - "SqlManagedInstance": { - "description": "A SqlManagedInstance.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SqlManagedInstanceProperties", - "description": "null", - "x-ms-client-flatten": false - }, - "extendedLocation": { - "$ref": "./common.json#/definitions/ExtendedLocation", - "description": "The extendedLocation of the resource." - }, - "sku": { - "$ref": "#/definitions/SqlManagedInstanceSku", - "description": "Resource sku." - } - }, - "required": [ - "properties" - ] - }, - "SqlManagedInstanceSku": { - "description": "The resource model definition representing SKU for Azure Managed Instance - Azure Arc", - "type": "object", - "properties": { - "name": { - "type": "string", - "enum": [ - "vCore" - ], - "description": "The name of the SKU.", - "x-ms-enum": { - "name": "SqlManagedInstanceSkuName", - "modelAsString": false - } - }, - "tier": { - "type": "string", - "enum": [ - "GeneralPurpose", - "BusinessCritical" - ], - "x-ms-enum": { - "name": "SqlManagedInstanceSkuTier", - "modelAsString": false - }, - "default": "GeneralPurpose", - "description": "The pricing tier for the instance." - }, - "dev": { - "type": "boolean", - "default": true, - "description": "Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose. " - }, - "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": "The SKU family" - }, - "capacity": { - "type": "integer", - "format": "int32", - "description": "The SKU capacity" - } - }, - "required": [ - "name" - ] - }, - "SqlManagedInstanceProperties": { - "description": "Properties of sqlManagedInstance.", - "type": "object", - "properties": { - "dataControllerId": { - "type": "string", - "description": "null" - }, - "admin": { - "type": "string", - "description": "The instance admin user" - }, - "startTime": { - "type": "string", - "description": "The instance start time" - }, - "endTime": { - "type": "string", - "description": "The instance end time" - }, - "k8sRaw": { - "$ref": "#/definitions/SqlManagedInstanceK8sRaw", - "description": "The raw kubernetes information" - }, - "basicLoginInformation": { - "$ref": "./common.json#/definitions/BasicLoginInformation", - "description": "Username and password for basic authentication." - }, - "lastUploadedDate": { - "type": "string", - "format": "date-time", - "description": "Last uploaded date from Kubernetes cluster. Defaults to current date time" - }, - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "The provisioning state of the Arc-enabled SQL Managed Instance resource." - }, - "activeDirectoryInformation": { - "description": "Active Directory information related to this SQL Managed Instance.", - "$ref": "#/definitions/ActiveDirectoryInformation" - }, - "licenseType": { - "type": "string", - "enum": [ - "BasePrice", - "LicenseIncluded", - "DisasterRecovery" - ], - "x-ms-enum": { - "name": "arcSqlManagedInstanceLicenseType", - "modelAsString": true - }, - "default": "BasePrice", - "description": "The license type to apply for this managed instance." - }, - "clusterId": { - "type": "string", - "description": "If a CustomLocation is provided, this contains the ARM id of the connected cluster the custom location belongs to." - }, - "extensionId": { - "type": "string", - "description": "If a CustomLocation is provided, this contains the ARM id of the extension the custom location belongs to." - } - } - }, - "SqlManagedInstanceUpdate": { - "description": "An update to a SQL Managed Instance.", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "SqlManagedInstanceK8sRaw": { - "type": "object", - "description": "The raw kubernetes information.", - "properties": { - "spec": { - "$ref": "#/definitions/SqlManagedInstanceK8sSpec" - } - }, - "additionalProperties": {} - }, - "SqlManagedInstanceK8sSpec": { - "type": "object", - "description": "The kubernetes spec information.", - "properties": { - "scheduling": { - "$ref": "#/definitions/K8sScheduling" - }, - "replicas": { - "type": "integer", - "format": "int32", - "description": "This option specifies the number of SQL Managed Instance replicas that will be deployed in your Kubernetes cluster for high availability purposes. If sku.tier is BusinessCritical, allowed values are '2' or '3' with default of '3'. If sku.tier is GeneralPurpose, replicas must be '1'." - } - }, - "additionalProperties": { - "type": "object" - } - }, - "K8sScheduling": { - "type": "object", - "description": "The kubernetes scheduling information.", - "properties": { - "default": { - "$ref": "#/definitions/K8sSchedulingOptions" - } - }, - "additionalProperties": { - "type": "object" - } - }, - "K8sSchedulingOptions": { - "type": "object", - "description": "The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service", - "properties": { - "resources": { - "$ref": "#/definitions/K8sResourceRequirements" - } - }, - "additionalProperties": { - "type": "object" - } - }, - "K8sResourceRequirements": { - "type": "object", - "description": "The kubernetes resource limits and requests used to restrict or reserve resource usage.", - "properties": { - "requests": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Requests for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum 'memory' is '128Gi'." - }, - "limits": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Limits for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum 'memory' is '128Gi'." - } - }, - "additionalProperties": { - "type": "object" - } - }, - "KeytabInformation": { - "type": "object", - "description": "Keytab used for authenticate with Active Directory.", - "properties": { - "keytab": { - "type": "string", - "description": "A base64-encoded keytab.", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - } - } - }, - "ActiveDirectoryInformation": { - "type": "object", - "description": "Active Directory information that related to the resource.", - "properties": { - "keytabInformation": { - "description": "Keytab information that is used for the Sql Managed Instance when Active Directory authentication is used.", - "$ref": "#/definitions/KeytabInformation" - } - } - }, - "SqlManagedInstanceListResult": { - "description": "A list of SqlManagedInstance.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlManagedInstance" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - } - }, - "parameters": { - "apiVersion": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the request", - "x-ms-parameter-location": "client" - } - }, - "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/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/sqlServerAvailabilityGroups.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/sqlServerAvailabilityGroups.json deleted file mode 100644 index 95c7a8bd0890..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/sqlServerAvailabilityGroups.json +++ /dev/null @@ -1,1188 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-03-15-preview", - "title": "AzureArcDataManagementClient", - "description": "The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/sqlAvailabilityGroups/{sqlAvailabilityGroupName}": { - "put": { - "tags": [ - "SqlServerAvailabilityGroups" - ], - "operationId": "SqlServerAvailabilityGroups_Create", - "description": "Creates or replaces an Arc Sql Server Availability Group.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlServerAvailabilityGroupResource", - "description": "The request body for availability group resource.", - "required": true, - "in": "body", - "schema": { - "$ref": "#/definitions/SqlServerAvailabilityGroupResource" - } - }, - { - "$ref": "#/parameters/sqlServerInstanceName" - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlServerAvailabilityGroupResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create a Arc Sql Server availability group.": { - "$ref": "./examples/CreateOrUpdateArcSqlServerAvailabilityGroup.json" - } - } - }, - "delete": { - "tags": [ - "SqlServerAvailabilityGroups" - ], - "operationId": "SqlServerAvailabilityGroups_Delete", - "description": "Deletes an Arc Sql Server availability group resource.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlServerInstanceName" - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the availability group." - }, - "204": { - "description": "The specified availability group does not exist." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Deletes a availability group resource": { - "$ref": "./examples/DeleteArcSqlServerAvailabilityGroup.json" - } - } - }, - "get": { - "tags": [ - "SqlServerAvailabilityGroups" - ], - "operationId": "SqlServerAvailabilityGroups_Get", - "description": "Retrieves an Arc Sql Server availability group.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlServerInstanceName" - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlServerAvailabilityGroupResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Retrieves an Arc Sql Server availability group resource.": { - "$ref": "./examples/GetArcSqlServerAvailabilityGroup.json" - } - } - }, - "patch": { - "tags": [ - "SqlServerAvailabilityGroups" - ], - "description": "Updates an existing Availability Group.", - "operationId": "SqlServerAvailabilityGroups_Update", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlServerInstanceName" - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - }, - { - "name": "sqlServerAvailabilityGroupUpdate", - "in": "body", - "description": "The requested server availability group resource state.", - "required": true, - "schema": { - "$ref": "#/definitions/SqlServerAvailabilityGroupUpdate" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated the Availability Group.", - "schema": { - "$ref": "#/definitions/SqlServerAvailabilityGroupResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Update a availability group.": { - "$ref": "./examples/UpdateSqlServerAvailabilityGroup.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/sqlAvailabilityGroups": { - "get": { - "tags": [ - "SqlServerAvailabilityGroups" - ], - "operationId": "SqlServerAvailabilityGroups_List", - "summary": "List the availability group associated with the given Arc Sql Server.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlServerInstanceName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ArcSqlServerAvailabilityGroupListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all availability groups associated with an Arc Enabled Sql server.": { - "$ref": "./examples/ListBySqlServerInstanceAvailabilityGroup.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlAvailabilityGroups/{sqlAvailabilityGroupName}/sqlServerInstances/{sqlServerInstanceName}": { - "put": { - "tags": [ - "SqlAvailabilityGroupReplicas" - ], - "operationId": "SqlAvailabilityGroupReplicas_Create", - "description": "Creates or replaces an Arc Sql Availability Group Replica.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlAvailabilityGroupReplicaResource", - "description": "The request body for availability group replica resource.", - "required": true, - "in": "body", - "schema": { - "$ref": "#/definitions/SqlAvailabilityGroupReplicaResource" - } - }, - { - "$ref": "#/parameters/sqlServerInstanceName" - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlAvailabilityGroupReplicaResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create a Arc Sql Server availability group replica.": { - "$ref": "./examples/CreateOrUpdateArcSqlAvailabilityGroupReplica.json" - } - } - }, - "delete": { - "tags": [ - "SqlAvailabilityGroupReplicas" - ], - "operationId": "SqlAvailabilityGroupReplicas_Delete", - "description": "Deletes an Arc Sql availability group replica resource.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlServerInstanceName" - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the availability group." - }, - "204": { - "description": "The specified availability group does not exist." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Deletes a availability group resource": { - "$ref": "./examples/DeleteArcSqlAvailabilityGroupReplica.json" - } - } - }, - "get": { - "tags": [ - "SqlAvailabilityGroupReplicas" - ], - "operationId": "SqlAvailabilityGroupReplicas_Get", - "description": "Retrieves an Arc Sql availability group replica.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlServerInstanceName" - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlAvailabilityGroupReplicaResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Retrieves an Arc Sql Server availability group resource.": { - "$ref": "./examples/GetArcSqlAvailabilityGroupReplica.json" - } - } - }, - "patch": { - "tags": [ - "SqlAvailabilityGroupReplicas" - ], - "description": "Updates an existing Availability Group Replica.", - "operationId": "SqlAvailabilityGroupReplicas_Update", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlServerInstanceName" - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - }, - { - "name": "sqlAvailabilityGroupReplicaUpdate", - "in": "body", - "description": "The requested availability group replica resource state.", - "required": true, - "schema": { - "$ref": "#/definitions/SqlAvailabilityGroupReplicaUpdate" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated the availability group replica.", - "schema": { - "$ref": "#/definitions/SqlAvailabilityGroupReplicaResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Update a availability group replica.": { - "$ref": "./examples/UpdateSqlAvailabilityGroupReplica.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlAvailabilityGroups/{sqlAvailabilityGroupName}/sqlServerInstances": { - "get": { - "tags": [ - "SqlAvailabilityGroupReplicas" - ], - "operationId": "SqlAvailabilityGroupReplicas_List", - "summary": "List the Availability Group Replica associated with the given Arc Sql AG.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ArcSqlAvailabilityGroupReplicaListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all availability group replicas associated with the availability groups .": { - "$ref": "./examples/ListBySqlAvailabilityGroupReplica.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlAvailabilityGroups/{sqlAvailabilityGroupName}/databases/{sqlAvailabilityGroupDatabaseName}": { - "put": { - "tags": [ - "SqlAvailabilityGroupDatabases" - ], - "operationId": "SqlAvailabilityGroupDatabases_Create", - "description": "Creates or update database in an Arc Sql Availability Group.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlAvailabilityGroupDatabaseResource", - "description": "The request body for availability group databases resource.", - "required": true, - "in": "body", - "schema": { - "$ref": "#/definitions/SqlAvailabilityGroupDatabaseResource" - } - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupDatabaseName" - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlAvailabilityGroupDatabaseResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create a Arc availability group database.": { - "$ref": "./examples/CreateOrUpdateArcSqlAvailabilityGroupDatabase.json" - } - } - }, - "delete": { - "tags": [ - "SqlAvailabilityGroupDatabases" - ], - "operationId": "SqlAvailabilityGroupDatabases_Delete", - "description": "Deletes an Arc Sql availability group database resource.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupDatabaseName" - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the database of the availability group." - }, - "204": { - "description": "The specified database of availability group does not exist." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Deletes an Arc Sql availability group database resource": { - "$ref": "./examples/DeleteArcSqlAvailabilityGroupDatabase.json" - } - } - }, - "get": { - "tags": [ - "SqlAvailabilityGroupDatabases" - ], - "operationId": "SqlAvailabilityGroupDatabases_Get", - "description": "Retrieves an Arc Sql availability group database resource.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupDatabaseName" - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlAvailabilityGroupDatabaseResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Retrieves an Arc Sql Server availability group database resource.": { - "$ref": "./examples/GetArcSqlAvailabilityGroupDatabase.json" - } - } - }, - "patch": { - "tags": [ - "SqlAvailabilityGroupDatabases" - ], - "description": "Updates an existing Availability Group Database.", - "operationId": "SqlAvailabilityGroupDatabases_Update", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupDatabaseName" - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - }, - { - "name": "sqlAvailabilityGroupDatabaseUpdate", - "in": "body", - "description": "The update availability group database resource.", - "required": true, - "schema": { - "$ref": "#/definitions/SqlAvailabilityGroupDatabaseUpdate" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated the availability group database.", - "schema": { - "$ref": "#/definitions/SqlAvailabilityGroupDatabaseResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Update a availability group replica.": { - "$ref": "./examples/UpdateSqlAvailabilityGroupDatabase.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlAvailabilityGroups/{sqlAvailabilityGroupName}/databases": { - "get": { - "tags": [ - "SqlAvailabilityGroupDatabases" - ], - "operationId": "SqlAvailabilityGroupDatabases_List", - "summary": "List the Availability Group Databases associated with the given Arc Sql AG.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlAvailabilityGroupName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ArcSqlAvailabilityGroupDatabasesListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all availability group databases associated with the availability groups .": { - "$ref": "./examples/ListBySqlAvailabilityGroupDatabase.json" - } - } - } - } - }, - "definitions": { - "AvailabilityGroupConfigure": { - "description": "The specifications of the availability group replica configuration", - "type": "object", - "properties": { - "endpointUrl": { - "type": "string", - "description": "Mirroring endpoint URL of availability group replica" - }, - "availabilityModeDesc": { - "type": "string", - "description": "Availability Synchronization mode description of availability group replica." - }, - "failoverModeDesc": { - "type": "string", - "description": "failover mode description of the availability group replica." - }, - "sessionTimeout": { - "type": "integer", - "description": "The time-out period of availability group session replica, in seconds.", - "format": "int32" - }, - "primaryRoleAllowConnectionsDesc": { - "type": "string", - "description": "Allowed the connections for primary role of the availability group replica." - }, - "secondaryRoleAllowConnectionsDesc": { - "type": "string", - "description": "Allowed the connections for secondary role of availability group replica." - }, - "createDate": { - "type": "string", - "description": "Date that the replica was created.", - "format": "date-time" - }, - "modifyDate": { - "type": "string", - "description": "Date that the replica was modified.", - "format": "date-time" - }, - "backupPriority": { - "type": "integer", - "description": "Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.", - "format": "int32" - }, - "readOnlyRoutingUrl": { - "type": "string", - "description": "Connectivity endpoint (URL) of the read only availability replica." - }, - "readWriteRoutingUrl": { - "type": "string", - "description": "Connectivity endpoint (URL) of the read write availability replica." - }, - "seedingModeDesc": { - "type": "string", - "description": "Describes seeding mode." - } - } - }, - "AvailabilityGroupState": { - "description": "The specifications of the availability group state", - "type": "object", - "properties": { - "availabilityGroupReplicaRole": { - "type": "string", - "description": "Role description of the availability group replica." - }, - "operationalStateDesc": { - "type": "string", - "description": "Operation state description of the availability group replica" - }, - "recoveryHealthDesc": { - "type": "string", - "description": "Recovery health description of the availability group replica." - }, - "synchronizationHealthDesc": { - "type": "string", - "description": "Synchronization health description of the availability group replica." - }, - "connectedStateDesc": { - "type": "string", - "description": "Connected state description of the availability group replica." - }, - "lastConnectErrorDescription": { - "type": "string", - "description": "Last connect error description of the availability group replica." - }, - "lastConnectErrorTimestamp": { - "type": "string", - "description": "Last connect error time stamp of the availability group replica.", - "format": "date-time" - } - } - }, - "ArcSqlServerAvailabilityGroupListResult": { - "description": "A list of Arc Sql Server Availability Group.", - "type": "object", - "properties": { - "value": { - "description": "Array of Arc Sql Server Availability Group.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlServerAvailabilityGroupResource" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "SqlServerAvailabilityGroupResource": { - "type": "object", - "description": "Arc Sql Server Availability Group", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SqlServerAvailabilityGroupResourceProperties", - "description": "Properties of Arc Sql Server availability group", - "x-ms-client-flatten": false - } - }, - "required": [ - "properties" - ] - }, - "SqlServerAvailabilityGroupResourceProperties": { - "type": "object", - "description": "The properties of Arc Sql Server availability group resource", - "properties": { - "availabilityGroupId": { - "type": "string", - "description": "ID GUID of the availability group.", - "pattern": "^[A-Za-z0-9]{8}-([A-Za-z0-9]{4}-){3}[A-Za-z0-9]{12}$" - }, - "availabilityGroupName": { - "type": "string", - "description": "the availability group name." - }, - "configure": { - "$ref": "#/definitions/AvailabilityGroupConfigure", - "description": "null", - "x-ms-client-flatten": false - }, - "state": { - "$ref": "#/definitions/AvailabilityGroupState", - "description": "null", - "x-ms-client-flatten": false - }, - "provisioningState": { - "type": "string", - "description": "The provisioning state of the Arc-enabled SQL Server availability group resource.", - "readOnly": true - } - }, - "required": [ - "availabilityGroupId" - ] - }, - "SqlServerAvailabilityGroupUpdate": { - "description": "An update to availability group resource.", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/SqlServerAvailabilityGroupResourceProperties", - "description": "The Server Availability Group's properties", - "x-ms-client-flatten": false - } - } - }, - "ArcSqlAvailabilityGroupReplicaListResult": { - "description": "A list of Arc Sql Availability Group Replica.", - "type": "object", - "properties": { - "value": { - "description": "Array of Arc Sql Availability Group Replica.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlAvailabilityGroupReplicaResource" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "SqlAvailabilityGroupReplicaResource": { - "type": "object", - "description": "Arc Sql Server Availability Group", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SqlAvailabilityGroupReplicaResourceProperties", - "description": "Properties of Arc Sql Availability Group Replica", - "x-ms-client-flatten": false - } - }, - "required": [ - "properties" - ] - }, - "SqlAvailabilityGroupReplicaResourceProperties": { - "type": "object", - "description": "The properties of Arc Sql availability group replica resource", - "properties": { - "replicaId": { - "type": "string", - "description": "ID GUID of the availability group.", - "pattern": "^[A-Za-z0-9]{8}-([A-Za-z0-9]{4}-){3}[A-Za-z0-9]{12}$" - }, - "replicaName": { - "type": "string", - "description": "the replica name." - }, - "configure": { - "$ref": "#/definitions/AvailabilityGroupConfigure", - "description": "null", - "x-ms-client-flatten": false - }, - "state": { - "$ref": "#/definitions/AvailabilityGroupState", - "description": "null", - "x-ms-client-flatten": false - }, - "provisioningState": { - "type": "string", - "description": "The provisioning state of the Arc-enabled SQL Server availability group resource.", - "readOnly": true - } - } - }, - "SqlAvailabilityGroupReplicaUpdate": { - "description": "An update to Availability Group Replica resource.", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/SqlAvailabilityGroupReplicaResourceProperties", - "description": "The Availability Group Replica's properties", - "x-ms-client-flatten": false - } - } - }, - "ArcSqlAvailabilityGroupDatabasesListResult": { - "description": "A list of Arc Sql Availability Group Databases.", - "type": "object", - "properties": { - "value": { - "description": "Array of Arc Sql Availability Group Database.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlAvailabilityGroupDatabaseResource" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "SqlAvailabilityGroupDatabaseResource": { - "type": "object", - "description": "Arc Sql Server Availability Group Database", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SqlAvailabilityGroupMultiDatabaseReplicaResourceProperties", - "description": "Properties of Arc Sql Availability Group Multiple Database Replica", - "x-ms-client-flatten": false - } - }, - "required": [ - "properties" - ] - }, - "SqlAvailabilityGroupMultiDatabaseReplicaResourceProperties": { - "type": "object", - "description": "The properties of Arc Sql availability group multiple database replica resource", - "properties": { - "groupDatabaseId": { - "type": "string", - "description": "ID GUID of the database for availability group.", - "pattern": "^[A-Za-z0-9]{8}-([A-Za-z0-9]{4}-){3}[A-Za-z0-9]{12}$" - }, - "value": { - "description": "Array of Arc Sql Availability Group Database Replicas.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlAvailabilityGroupDatabaseReplicaResourceProperties" - } - }, - "provisioningState": { - "type": "string", - "description": "The provisioning state of the Arc-enabled SQL Server availability group resource.", - "readOnly": true - } - } - }, - "SqlAvailabilityGroupDatabaseReplicaResourceProperties": { - "type": "object", - "description": "The properties of Arc Sql availability group database replica resource", - "properties": { - "replicaName": { - "type": "string", - "description": "the database replica name." - }, - "isLocal": { - "type": "boolean", - "description": "Whether the availability database is local." - }, - "isPrimaryReplica": { - "type": "boolean", - "description": "Returns 1 if the replica is primary, or 0 if it is a secondary replica." - }, - "synchronizationStateDesc": { - "type": "string", - "description": "Description of the data-movement state." - }, - "isCommitParticipant": { - "type": "boolean", - "description": "Whether this replica is transaction committer." - }, - "synchronizationHealthDesc": { - "type": "string", - "description": "Description of the health of database." - }, - "databaseStateDesc": { - "type": "string", - "description": "Description of the database state of the availability replica." - }, - "isSuspended": { - "type": "boolean", - "description": "Whether this data movement is suspended." - }, - "suspendReasonDesc": { - "type": "string", - "description": "Description of the database suspended state reason." - }, - "provisioningState": { - "type": "string", - "description": "The provisioning state of the Arc-enabled SQL Server availability group resource.", - "readOnly": true - } - } - }, - "SqlAvailabilityGroupDatabaseUpdate": { - "description": "An update to Availability Group Database Replica resource.", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/SqlAvailabilityGroupMultiDatabaseReplicaResourceProperties", - "description": "The Availability Group Replica's properties", - "x-ms-client-flatten": false - } - } - } - }, - "parameters": { - "subscriptionId": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The ID of the Azure subscription", - "x-ms-parameter-location": "client" - }, - "resourceGroupName": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Azure resource group", - "x-ms-parameter-location": "method" - }, - "apiVersion": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the request", - "x-ms-parameter-location": "client" - }, - "sqlServerInstanceName": { - "name": "sqlServerInstanceName", - "description": "Name of SQL Server Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "sqlAvailabilityGroupDatabaseName": { - "name": "sqlAvailabilityGroupDatabaseName", - "description": "Name of SQL Availability Group Database", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "sqlAvailabilityGroupName": { - "name": "sqlAvailabilityGroupName", - "description": "Name of SQL Availability Group", - "in": "path", - "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/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/sqlServerDatabases.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/sqlServerDatabases.json deleted file mode 100644 index a978ab77b92a..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/sqlServerDatabases.json +++ /dev/null @@ -1,490 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-03-15-preview", - "title": "AzureArcDataManagementClient", - "description": "The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}": { - "put": { - "tags": [ - "SqlServerDatabases" - ], - "operationId": "SqlServerDatabases_Create", - "description": "Creates or replaces an Arc Sql Server Database.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "name": "sqlServerDatabaseResource", - "description": "The request body for database resource.", - "required": true, - "in": "body", - "schema": { - "$ref": "#/definitions/SqlServerDatabaseResource" - } - }, - { - "$ref": "#/parameters/sqlServerInstanceName" - }, - { - "$ref": "#/parameters/databaseName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlServerDatabaseResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create a Arc Sql Server database.": { - "$ref": "./examples/CreateOrUpdateArcSqlServerDatabase.json" - } - } - }, - "delete": { - "tags": [ - "SqlServerDatabases" - ], - "operationId": "SqlServerDatabases_Delete", - "description": "Deletes an Arc Sql Server database resource.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlServerInstanceName" - }, - { - "$ref": "#/parameters/databaseName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the database." - }, - "204": { - "description": "The specified database does not exist." - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Deletes a database resource": { - "$ref": "./examples/DeleteArcSqlServerDatabase.json" - } - } - }, - "get": { - "tags": [ - "SqlServerDatabases" - ], - "operationId": "SqlServerDatabases_Get", - "description": "Retrieves an Arc Sql Server database.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlServerInstanceName" - }, - { - "$ref": "#/parameters/databaseName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlServerDatabaseResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Retrieves an Arc Sql Server database resource.": { - "$ref": "./examples/GetArcSqlServerDatabase.json" - } - } - }, - "patch": { - "tags": [ - "SqlServerDatabases" - ], - "description": "Updates an existing database.", - "operationId": "SqlServerDatabases_Update", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlServerInstanceName" - }, - { - "$ref": "#/parameters/databaseName" - }, - { - "$ref": "#/parameters/apiVersion" - }, - { - "name": "sqlServerDatabaseUpdate", - "in": "body", - "description": "The requested database resource state.", - "required": true, - "schema": { - "$ref": "#/definitions/SqlServerDatabaseUpdate" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated the database.", - "schema": { - "$ref": "#/definitions/SqlServerDatabaseResource" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Update a database.": { - "$ref": "./examples/UpdateSqlServerDatabase.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases": { - "get": { - "tags": [ - "SqlServerDatabases" - ], - "operationId": "SqlServerDatabases_List", - "summary": "List the databases associated with the given Arc Sql Server.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/sqlServerInstanceName" - }, - { - "$ref": "#/parameters/apiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ArcSqlServerDatabaseListResult" - } - }, - "default": { - "description": "*** Error Responses: ***", - "schema": { - "$ref": "./common.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets all databases associated with an Arc Enabled Sql server.": { - "$ref": "./examples/ListBySqlServerInstanceDatabase.json" - } - } - } - } - }, - "definitions": { - "ArcSqlServerDatabaseListResult": { - "description": "A list of Arc Sql Server database.", - "type": "object", - "properties": { - "value": { - "description": "Array of Arc Sql Server database.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlServerDatabaseResource" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "SqlServerDatabaseResource": { - "type": "object", - "description": "Arc Sql Server database", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SqlServerDatabaseResourceProperties", - "description": "Properties of Arc Sql Server database", - "x-ms-client-flatten": false - } - }, - "required": [ - "properties" - ] - }, - "SqlServerDatabaseResourceProperties": { - "type": "object", - "description": "The properties of Arc Sql Server database resource", - "properties": { - "collationName": { - "description": "Collation of the database.", - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "databaseCreationDate": { - "format": "date-time", - "description": "Creation date of the database.", - "type": "string" - }, - "compatibilityLevel": { - "type": "integer", - "minimum": 80, - "maximum": 200, - "format": "int32", - "description": "Compatibility level of the database" - }, - "sizeMB": { - "type": "number", - "format": "float", - "description": "Size of the database." - }, - "spaceAvailableMB": { - "type": "number", - "format": "float", - "description": "Space left of the database." - }, - "state": { - "description": "State of the database.", - "enum": [ - "Online", - "Restoring", - "Recovering", - "RecoveryPending", - "Suspect", - "Emergency", - "Offline", - "Copying", - "OfflineSecondary" - ], - "type": "string", - "x-ms-enum": { - "name": "DatabaseState", - "modelAsString": true - } - }, - "isReadOnly": { - "type": "boolean", - "description": "Whether the database is read only or not." - }, - "recoveryMode": { - "description": "Status of the database.", - "enum": [ - "Full", - "Bulk-logged", - "Simple" - ], - "type": "string", - "x-ms-enum": { - "name": "RecoveryMode", - "modelAsString": true - } - }, - "databaseOptions": { - "type": "object", - "description": "List of features that are enabled for the database", - "properties": { - "isAutoCloseOn": { - "type": "boolean" - }, - "isAutoShrinkOn": { - "type": "boolean" - }, - "isAutoCreateStatsOn": { - "type": "boolean" - }, - "isAutoUpdateStatsOn": { - "type": "boolean" - }, - "isRemoteDataArchiveEnabled": { - "type": "boolean" - }, - "isMemoryOptimizationEnabled": { - "type": "boolean" - }, - "isEncrypted": { - "type": "boolean" - }, - "isTrustworthyOn": { - "type": "boolean" - } - } - }, - "backupInformation": { - "type": "object", - "properties": { - "lastFullBackup": { - "format": "date-time", - "description": "Date time of last full backup.", - "type": "string" - }, - "lastLogBackup": { - "format": "date-time", - "description": "Date time of last log backup.", - "type": "string" - } - } - }, - "provisioningState": { - "type": "string", - "description": "The provisioning state of the Arc-enabled SQL Server database resource.", - "readOnly": true - } - } - }, - "SqlServerDatabaseUpdate": { - "description": "An update to database resource.", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/SqlServerDatabaseResourceProperties", - "description": "The data controller's properties", - "x-ms-client-flatten": false - } - } - } - }, - "parameters": { - "subscriptionId": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The ID of the Azure subscription", - "x-ms-parameter-location": "client" - }, - "resourceGroupName": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Azure resource group", - "x-ms-parameter-location": "method" - }, - "apiVersion": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the request", - "x-ms-parameter-location": "client" - }, - "sqlServerInstanceName": { - "name": "sqlServerInstanceName", - "description": "Name of SQL Server Instance", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "databaseName": { - "name": "databaseName", - "description": "Name of the database", - "in": "path", - "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/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/sqlServerInstances.json b/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/sqlServerInstances.json deleted file mode 100644 index f3c60ffc6632..000000000000 --- a/specification/azurearcdata/resource-manager/Microsoft.AzureArcData/preview/2023-03-15-preview/sqlServerInstances.json +++ /dev/null @@ -1,246 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-03-15-preview", - "title": "AzureArcDataManagementClient", - "description": "The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources." - }, - "paths": {}, - "definitions": { - "SqlServerInstance": { - "description": "A SqlServerInstance.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SqlServerInstanceProperties", - "description": "null", - "x-ms-client-flatten": false - } - } - }, - "SqlServerInstanceProperties": { - "description": "Properties of SqlServerInstance.", - "type": "object", - "properties": { - "version": { - "type": "string", - "description": "SQL Server version.", - "enum": [ - "SQL Server 2012", - "SQL Server 2014", - "SQL Server 2016", - "SQL Server 2017", - "SQL Server 2019", - "SQL Server 2022", - "Unknown" - ], - "x-ms-enum": { - "name": "sqlVersion", - "modelAsString": true - } - }, - "edition": { - "type": "string", - "description": "SQL Server edition.", - "enum": [ - "Evaluation", - "Enterprise", - "Standard", - "Web", - "Developer", - "Express", - "Business Intelligence" - ], - "x-ms-enum": { - "name": "editionType", - "modelAsString": true - } - }, - "containerResourceId": { - "type": "string", - "description": "ARM Resource id of the container resource (Azure Arc for Servers)." - }, - "createTime": { - "type": "string", - "description": "The time when the resource was created.", - "readOnly": true - }, - "vCore": { - "type": "string", - "description": "The number of logical processors used by the SQL Server instance." - }, - "cores": { - "type": "string", - "description": "The number of total cores of the Operating System Environment (OSE) hosting the SQL Server instance." - }, - "status": { - "type": "string", - "description": "The cloud connectivity status.", - "enum": [ - "Connected", - "Disconnected", - "Registered", - "Unknown" - ], - "x-ms-enum": { - "name": "ConnectionStatus", - "modelAsString": true - } - }, - "patchLevel": { - "type": "string", - "description": "SQL Server update level." - }, - "collation": { - "type": "string", - "description": "SQL Server collation." - }, - "currentVersion": { - "type": "string", - "description": "SQL Server current version." - }, - "instanceName": { - "type": "string", - "description": "SQL Server instance name." - }, - "tcpDynamicPorts": { - "type": "string", - "description": "Dynamic TCP ports used by SQL Server." - }, - "tcpStaticPorts": { - "type": "string", - "description": "Static TCP ports used by SQL Server." - }, - "productId": { - "type": "string", - "description": "SQL Server product ID." - }, - "licenseType": { - "type": "string", - "description": "SQL Server license type.", - "enum": [ - "Undefined", - "Free", - "HADR", - "ServerCAL", - "LicenseOnly", - "PAYG", - "Paid" - ], - "x-ms-enum": { - "name": "arcSqlServerLicenseType", - "modelAsString": true - } - }, - "azureDefenderStatusLastUpdated": { - "type": "string", - "format": "date-time", - "description": "Timestamp of last Azure Defender status update." - }, - "azureDefenderStatus": { - "type": "string", - "description": "Status of Azure Defender.", - "enum": [ - "Protected", - "Unprotected", - "Unknown" - ], - "x-ms-enum": { - "name": "defenderStatus", - "modelAsString": true - } - }, - "provisioningState": { - "type": "string", - "description": "The provisioning state of the Arc-enabled SQL Server resource.", - "readOnly": true - }, - "hostType": { - "type": "string", - "description": "Type of host for Azure Arc SQL Server", - "enum": [ - "Azure Virtual Machine", - "Azure VMWare Virtual Machine", - "Azure Kubernetes Service", - "AWS VMWare Virtual Machine", - "AWS Kubernetes Service", - "GCP VMWare Virtual Machine", - "GCP Kubernetes Service", - "Container", - "Virtual Machine", - "Physical Server", - "AWS Virtual Machine", - "GCP Virtual Machine", - "Other" - ], - "x-ms-enum": { - "name": "hostType", - "modelAsString": true - } - } - }, - "required": [ - "containerResourceId", - "status" - ] - }, - "SqlServerInstanceUpdate": { - "description": "An update to a SQL Server Instance.", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "SqlServerInstanceListResult": { - "description": "A list of SqlServerInstance.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlServerInstance" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - } - }, - "parameters": { - "apiVersion": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "The API version to use for the request", - "x-ms-parameter-location": "client" - } - }, - "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" - } - } - } -} From a434c27276a9e0cfd6e592523e745839616cda56 Mon Sep 17 00:00:00 2001 From: Sasank Chaganty Date: Fri, 5 May 2023 13:21:50 -0700 Subject: [PATCH 2/2] removing references to 2023-03-15-preview --- .../azurearcdata/resource-manager/readme.md | 22 +------------------ 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/specification/azurearcdata/resource-manager/readme.md b/specification/azurearcdata/resource-manager/readme.md index 3913d6dd2062..95ecebe8dc39 100644 --- a/specification/azurearcdata/resource-manager/readme.md +++ b/specification/azurearcdata/resource-manager/readme.md @@ -27,29 +27,9 @@ These are the global settings for the azurearcdata. ``` yaml openapi-type: arm openapi-subtype: rpaas -tag: package-preview-2023-03 +tag: package-preview-2023-01 ``` - -### Tag: package-preview-2023-03 - -These settings apply only when `--tag=package-preview-2023-03` is specified on the command line. - -```yaml $(tag) == 'package-preview-2023-03' -input-file: - - Microsoft.AzureArcData/preview/2023-03-15-preview/activeDirectoryConnectors.json - - Microsoft.AzureArcData/preview/2023-03-15-preview/azurearcdata.json - - Microsoft.AzureArcData/preview/2023-03-15-preview/common.json - - Microsoft.AzureArcData/preview/2023-03-15-preview/dataControllers.json - - Microsoft.AzureArcData/preview/2023-03-15-preview/failoverGroups.json - - Microsoft.AzureArcData/preview/2023-03-15-preview/operations.json - - Microsoft.AzureArcData/preview/2023-03-15-preview/postgresInstances.json - - Microsoft.AzureArcData/preview/2023-03-15-preview/sqlManagedInstances.json - - Microsoft.AzureArcData/preview/2023-03-15-preview/sqlServerDatabases.json - - Microsoft.AzureArcData/preview/2023-03-15-preview/sqlServerInstances.json - - Microsoft.AzureArcData/preview/2023-03-15-preview/sqlAvailabilityGroups.json - - Microsoft.AzureArcData/preview/2023-03-15-preview/sqlServerAvailabilityGroups.json -``` ### Tag: package-preview-2023-01 These settings apply only when `--tag=package-preview-2023-01` is specified on the command line.