Microsoft.SqlVirtualMachine (stable:2023-10-01)

2025/07/04 • 22 updated methods

Operations_List (updated)
Description Lists all of the available SQL Virtual Machine Rest API operations.
Reference Link ¶

⚶ Changes

{
  "#id": "Operations_List",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    }
  ],
  "$responses": {
    "200": {
      "Description": {
        "new": "Virtual machine resource id for response.",
        "old": "Result of the request to list SQL operations."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The Operation items on this page",
            "old": "Array of results."
          },
          "Required": {
            "new": true,
            "old": false
          },
          "$items": {
            "Description": {
              "new": "Result of the request to list SQL operations.",
              "old": "SQL REST API operation definition."
            },
            "$properties": [
              {
                "#name": "name",
                "Description": {
                  "new": "The name of the operation being performed on this particular object.\"",
                  "old": "The name of the operation being performed on this particular object."
                }
              },
              {
                "#name": "display",
                "Description": {
                  "new": "he localized display information for this particular operation / action.",
                  "old": "The localized display information for this particular operation / action."
                },
                "$properties": [
                  {
                    "#name": "provider",
                    "Description": {
                      "new": "The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\".",
                      "old": "The localized friendly form of the resource provider name."
                    }
                  },
                  {
                    "#name": "resource",
                    "Description": {
                      "new": "The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\".",
                      "old": "The localized friendly form of the resource type related to this action/operation."
                    }
                  },
                  {
                    "#name": "operation",
                    "Description": {
                      "new": "The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\".",
                      "old": "The localized friendly name for the operation."
                    }
                  },
                  {
                    "#name": "description",
                    "Description": {
                      "new": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.",
                      "old": "The localized friendly description for the operation."
                    }
                  }
                ]
              },
              {
                "#name": "origin",
                "Description": {
                  "new": "The intended executor of the operation.\"",
                  "old": "The intended executor of the operation."
                }
              }
            ]
          }
        },
        {
          "#name": "nextLink",
          "Description": {
            "new": "The link to the next page of items",
            "old": "Link to retrieve next page of results."
          }
        }
      ]
    }
  }
}

⚼ Request

GET:  /providers/Microsoft.SqlVirtualMachine/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
properties: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlVirtualMachineGroups_List (updated)
Description Gets all SQL virtual machine groups in a subscription.
Reference Link ¶

⚶ Changes

{
  "#id": "SqlVirtualMachineGroups_List",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    },
    {
      "#name": "subscriptionId",
      "Description": {
        "new": "The ID of the target subscription.",
        "old": "Subscription ID that identifies an Azure subscription."
      }
    }
  ],
  "$responses": {
    "200": {
      "Description": {
        "new": "The response of a SqlVirtualMachineGroup list operation.",
        "old": "A list of SQL virtual machine groups."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The SqlVirtualMachineGroup items on this page",
            "old": "Array of results."
          },
          "Required": {
            "new": true,
            "old": false
          },
          "$items": {
            "$properties": {
              "@removed_7dc269cfaa22489d9c5c4fd0d65a4099": {
                "#name": "systemData",
                "Description": "Metadata pertaining to creation and last modification of the resource.",
                "Required": false,
                "Type": "object",
                "$properties": [
                  {
                    "#name": "createdBy",
                    "Description": "The identity that created the resource.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "createdByType",
                    "Description": "The type of identity that created the resource.",
                    "Enum": [
                      [
                        "User",
                        ""
                      ],
                      [
                        "Application",
                        ""
                      ],
                      [
                        "ManagedIdentity",
                        ""
                      ],
                      [
                        "Key",
                        ""
                      ]
                    ],
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "createdAt",
                    "Description": "The timestamp of resource creation (UTC).",
                    "Format": "date-time",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "lastModifiedBy",
                    "Description": "The identity that last modified the resource.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "lastModifiedByType",
                    "Description": "The type of identity that last modified the resource.",
                    "Enum": [
                      [
                        "User",
                        ""
                      ],
                      [
                        "Application",
                        ""
                      ],
                      [
                        "ManagedIdentity",
                        ""
                      ],
                      [
                        "Key",
                        ""
                      ]
                    ],
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "lastModifiedAt",
                    "Description": "The timestamp of resource last modification (UTC)",
                    "Format": "date-time",
                    "Required": false,
                    "Type": "string"
                  }
                ]
              }
            }
          }
        },
        {
          "#name": "nextLink",
          "Description": {
            "new": "The link to the next page of items",
            "old": "Link to retrieve next page of results."
          }
        }
      ]
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: string ,
sqlImageOffer: string ,
sqlImageSku: enum ,
scaleType: enum ,
clusterManagerType: enum ,
clusterConfiguration: enum ,
wsfcDomainProfile:
{
domainFqdn: string ,
ouPath: string ,
clusterBootstrapAccount: string ,
clusterOperatorAccount: string ,
sqlServiceAccount: string ,
isSqlServiceAccountGmsa: boolean ,
fileShareWitnessPath: string ,
storageAccountUrl: string ,
storageAccountPrimaryKey: string ,
clusterSubnetType: enum ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlVirtualMachines_List (updated)
Description Gets all SQL virtual machines in a subscription.
Reference Link ¶

⚶ Changes

{
  "#id": "SqlVirtualMachines_List",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    },
    {
      "#name": "subscriptionId",
      "Description": {
        "new": "The ID of the target subscription.",
        "old": "Subscription ID that identifies an Azure subscription."
      }
    }
  ],
  "$responses": {
    "200": {
      "Description": {
        "new": "The response of a SqlVirtualMachine list operation.",
        "old": "A list of SQL virtual machines."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The SqlVirtualMachine items on this page",
            "old": "Array of results."
          },
          "Required": {
            "new": true,
            "old": false
          },
          "$items": {
            "$properties": {
              "@removed_f1fcac7a3cea4ac7bd9edc3c77aea09b": {
                "#name": "systemData",
                "Description": "Metadata pertaining to creation and last modification of the resource.",
                "Required": false,
                "Type": "object",
                "$properties": [
                  {
                    "#name": "createdBy",
                    "Description": "The identity that created the resource.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "createdByType",
                    "Description": "The type of identity that created the resource.",
                    "Enum": [
                      [
                        "User",
                        ""
                      ],
                      [
                        "Application",
                        ""
                      ],
                      [
                        "ManagedIdentity",
                        ""
                      ],
                      [
                        "Key",
                        ""
                      ]
                    ],
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "createdAt",
                    "Description": "The timestamp of resource creation (UTC).",
                    "Format": "date-time",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "lastModifiedBy",
                    "Description": "The identity that last modified the resource.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "lastModifiedByType",
                    "Description": "The type of identity that last modified the resource.",
                    "Enum": [
                      [
                        "User",
                        ""
                      ],
                      [
                        "Application",
                        ""
                      ],
                      [
                        "ManagedIdentity",
                        ""
                      ],
                      [
                        "Key",
                        ""
                      ]
                    ],
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "lastModifiedAt",
                    "Description": "The timestamp of resource last modification (UTC)",
                    "Format": "date-time",
                    "Required": false,
                    "Type": "string"
                  }
                ]
              }
            }
          }
        },
        {
          "#name": "nextLink",
          "Description": {
            "new": "The link to the next page of items",
            "old": "Link to retrieve next page of results."
          }
        }
      ]
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
identity:
{
principalId: string ,
type: enum ,
tenantId: string ,
}
,
properties:
{
virtualMachineResourceId: string ,
provisioningState: string ,
sqlImageOffer: string ,
sqlServerLicenseType: enum ,
sqlManagement: enum ,
leastPrivilegeMode: enum ,
sqlImageSku: enum ,
sqlVirtualMachineGroupResourceId: string ,
wsfcDomainCredentials:
{
clusterBootstrapAccountPassword: string ,
clusterOperatorAccountPassword: string ,
sqlServiceAccountPassword: string ,
}
,
wsfcStaticIp: string ,
autoPatchingSettings:
{
enable: boolean ,
dayOfWeek: enum ,
maintenanceWindowStartingHour: integer ,
maintenanceWindowDuration: integer ,
additionalVmPatch: enum ,
}
,
autoBackupSettings:
{
enable: boolean ,
enableEncryption: boolean ,
retentionPeriod: integer ,
storageAccountUrl: string ,
storageContainerName: string ,
storageAccessKey: string ,
password: string ,
backupSystemDbs: boolean ,
backupScheduleType: enum ,
fullBackupFrequency: enum ,
daysOfWeek:
[
string ,
]
,
fullBackupStartTime: integer ,
fullBackupWindowHours: integer ,
logBackupFrequency: integer ,
}
,
keyVaultCredentialSettings:
{
enable: boolean ,
credentialName: string ,
azureKeyVaultUrl: string ,
servicePrincipalName: string ,
servicePrincipalSecret: string ,
}
,
serverConfigurationsManagementSettings:
{
sqlConnectivityUpdateSettings:
{
connectivityType: enum ,
port: integer ,
sqlAuthUpdateUserName: string ,
sqlAuthUpdatePassword: string ,
}
,
sqlWorkloadTypeUpdateSettings:
{
sqlWorkloadType: enum ,
}
,
sqlStorageUpdateSettings:
{
diskCount: integer ,
startingDeviceId: integer ,
diskConfigurationType: enum ,
}
,
additionalFeaturesServerConfigurations:
{
isRServicesEnabled: boolean ,
}
,
sqlInstanceSettings:
{
collation: string ,
maxDop: integer ,
isOptimizeForAdHocWorkloadsEnabled: boolean ,
minServerMemoryMB: integer ,
maxServerMemoryMB: integer ,
isLpimEnabled: boolean ,
isIfiEnabled: boolean ,
}
,
azureAdAuthenticationSettings:
{
clientId: string ,
}
,
}
,
storageConfigurationSettings:
{
sqlDataSettings:
{
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlLogSettings:
{
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlTempDbSettings:
{
dataFileSize: integer ,
dataGrowth: integer ,
logFileSize: integer ,
logGrowth: integer ,
dataFileCount: integer ,
persistFolder: boolean ,
persistFolderPath: string ,
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlSystemDbOnDataDisk: boolean ,
diskConfigurationType: enum ,
storageWorkloadType: enum ,
enableStorageConfigBlade: boolean ,
}
,
troubleshootingStatus:
{
rootCause: string ,
lastTriggerTimeUtc: string ,
startTimeUtc: string ,
endTimeUtc: string ,
troubleshootingScenario: enum ,
properties:
{
unhealthyReplicaInfo:
{
availabilityGroupName: string ,
}
,
}
,
}
,
assessmentSettings:
{
enable: boolean ,
runImmediately: boolean ,
schedule:
{
enable: boolean ,
weeklyInterval: integer ,
monthlyOccurrence: integer ,
dayOfWeek: enum ,
startTime: string ,
}
,
}
,
enableAutomaticUpgrade: boolean ,
additionalVmPatch: enum ,
virtualMachineIdentitySettings:
{
type: enum ,
resourceId: string ,
}
,
osType: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlVirtualMachineGroups_ListByResourceGroup (updated)
Description Gets all SQL virtual machine groups in a resource group.
Reference Link ¶

⚶ Changes

{
  "#id": "SqlVirtualMachineGroups_ListByResourceGroup",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    },
    {
      "#name": "subscriptionId",
      "Description": {
        "new": "The ID of the target subscription.",
        "old": "Subscription ID that identifies an Azure subscription."
      }
    },
    {
      "#name": "resourceGroupName",
      "Description": {
        "new": "The name of the resource group. The name is case insensitive.",
        "old": "Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
      }
    }
  ],
  "$responses": {
    "200": {
      "Description": {
        "new": "The response of a SqlVirtualMachineGroup list operation.",
        "old": "A list of SQL virtual machine groups."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The SqlVirtualMachineGroup items on this page",
            "old": "Array of results."
          },
          "Required": {
            "new": true,
            "old": false
          },
          "$items": {
            "$properties": {
              "@removed_ab941b9b57f44344a6eb1addf3de48ed": {
                "#name": "systemData",
                "Description": "Metadata pertaining to creation and last modification of the resource.",
                "Required": false,
                "Type": "object",
                "$properties": [
                  {
                    "#name": "createdBy",
                    "Description": "The identity that created the resource.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "createdByType",
                    "Description": "The type of identity that created the resource.",
                    "Enum": [
                      [
                        "User",
                        ""
                      ],
                      [
                        "Application",
                        ""
                      ],
                      [
                        "ManagedIdentity",
                        ""
                      ],
                      [
                        "Key",
                        ""
                      ]
                    ],
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "createdAt",
                    "Description": "The timestamp of resource creation (UTC).",
                    "Format": "date-time",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "lastModifiedBy",
                    "Description": "The identity that last modified the resource.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "lastModifiedByType",
                    "Description": "The type of identity that last modified the resource.",
                    "Enum": [
                      [
                        "User",
                        ""
                      ],
                      [
                        "Application",
                        ""
                      ],
                      [
                        "ManagedIdentity",
                        ""
                      ],
                      [
                        "Key",
                        ""
                      ]
                    ],
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "lastModifiedAt",
                    "Description": "The timestamp of resource last modification (UTC)",
                    "Format": "date-time",
                    "Required": false,
                    "Type": "string"
                  }
                ]
              }
            }
          }
        },
        {
          "#name": "nextLink",
          "Description": {
            "new": "The link to the next page of items",
            "old": "Link to retrieve next page of results."
          }
        }
      ]
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: string ,
sqlImageOffer: string ,
sqlImageSku: enum ,
scaleType: enum ,
clusterManagerType: enum ,
clusterConfiguration: enum ,
wsfcDomainProfile:
{
domainFqdn: string ,
ouPath: string ,
clusterBootstrapAccount: string ,
clusterOperatorAccount: string ,
sqlServiceAccount: string ,
isSqlServiceAccountGmsa: boolean ,
fileShareWitnessPath: string ,
storageAccountUrl: string ,
storageAccountPrimaryKey: string ,
clusterSubnetType: enum ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlVirtualMachineGroups_Get (updated)
Description Gets a SQL virtual machine group.
Reference Link ¶

⚶ Changes

{
  "#id": "SqlVirtualMachineGroups_Get",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    },
    {
      "#name": "subscriptionId",
      "Description": {
        "new": "The ID of the target subscription.",
        "old": "Subscription ID that identifies an Azure subscription."
      }
    },
    {
      "#name": "resourceGroupName",
      "Description": {
        "new": "The name of the resource group. The name is case insensitive.",
        "old": "Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": {
        "@removed_5ced17b77b7f435899ceba72c9f8ced7": {
          "#name": "systemData",
          "Description": "Metadata pertaining to creation and last modification of the resource.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "createdBy",
              "Description": "The identity that created the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdByType",
              "Description": "The type of identity that created the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdAt",
              "Description": "The timestamp of resource creation (UTC).",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedBy",
              "Description": "The identity that last modified the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedByType",
              "Description": "The type of identity that last modified the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedAt",
              "Description": "The timestamp of resource last modification (UTC)",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          ]
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
sqlVirtualMachineGroupName: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: string ,
sqlImageOffer: string ,
sqlImageSku: enum ,
scaleType: enum ,
clusterManagerType: enum ,
clusterConfiguration: enum ,
wsfcDomainProfile:
{
domainFqdn: string ,
ouPath: string ,
clusterBootstrapAccount: string ,
clusterOperatorAccount: string ,
sqlServiceAccount: string ,
isSqlServiceAccountGmsa: boolean ,
fileShareWitnessPath: string ,
storageAccountUrl: string ,
storageAccountPrimaryKey: string ,
clusterSubnetType: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlVirtualMachineGroups_CreateOrUpdate (updated)
Description Creates or updates a SQL virtual machine group.
Reference Link ¶

⚶ Changes

{
  "#id": "SqlVirtualMachineGroups_CreateOrUpdate",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    },
    {
      "#name": "subscriptionId",
      "Description": {
        "new": "The ID of the target subscription.",
        "old": "Subscription ID that identifies an Azure subscription."
      }
    },
    {
      "#name": "resourceGroupName",
      "Description": {
        "new": "The name of the resource group. The name is case insensitive.",
        "old": "Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
      }
    },
    {
      "parameters": {
        "$properties": {
          "@removed_1a44adf23941472688a3008a905d189c": {
            "#name": "systemData",
            "Description": "Metadata pertaining to creation and last modification of the resource.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "createdBy",
                "Description": "The identity that created the resource.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "createdByType",
                "Description": "The type of identity that created the resource.",
                "Enum": [
                  [
                    "User",
                    ""
                  ],
                  [
                    "Application",
                    ""
                  ],
                  [
                    "ManagedIdentity",
                    ""
                  ],
                  [
                    "Key",
                    ""
                  ]
                ],
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "createdAt",
                "Description": "The timestamp of resource creation (UTC).",
                "Format": "date-time",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "lastModifiedBy",
                "Description": "The identity that last modified the resource.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "lastModifiedByType",
                "Description": "The type of identity that last modified the resource.",
                "Enum": [
                  [
                    "User",
                    ""
                  ],
                  [
                    "Application",
                    ""
                  ],
                  [
                    "ManagedIdentity",
                    ""
                  ],
                  [
                    "Key",
                    ""
                  ]
                ],
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "lastModifiedAt",
                "Description": "The timestamp of resource last modification (UTC)",
                "Format": "date-time",
                "Required": false,
                "Type": "string"
              }
            ]
          }
        }
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": {
        "@removed_2fd6f0f95c164fbb895000f87d109420": {
          "#name": "systemData",
          "Description": "Metadata pertaining to creation and last modification of the resource.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "createdBy",
              "Description": "The identity that created the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdByType",
              "Description": "The type of identity that created the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdAt",
              "Description": "The timestamp of resource creation (UTC).",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedBy",
              "Description": "The identity that last modified the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedByType",
              "Description": "The type of identity that last modified the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedAt",
              "Description": "The timestamp of resource last modification (UTC)",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          ]
        }
      }
    },
    "201": {
      "$properties": {
        "@removed_2a7cb043a6c642d6a47709d52bf6a118": {
          "#name": "systemData",
          "Description": "Metadata pertaining to creation and last modification of the resource.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "createdBy",
              "Description": "The identity that created the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdByType",
              "Description": "The type of identity that created the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdAt",
              "Description": "The timestamp of resource creation (UTC).",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedBy",
              "Description": "The identity that last modified the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedByType",
              "Description": "The type of identity that last modified the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedAt",
              "Description": "The timestamp of resource last modification (UTC)",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          ]
        }
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
sqlVirtualMachineGroupName: string ,
parameters:
{
properties:
{
provisioningState: string ,
sqlImageOffer: string ,
sqlImageSku: enum ,
scaleType: enum ,
clusterManagerType: enum ,
clusterConfiguration: enum ,
wsfcDomainProfile:
{
domainFqdn: string ,
ouPath: string ,
clusterBootstrapAccount: string ,
clusterOperatorAccount: string ,
sqlServiceAccount: string ,
isSqlServiceAccountGmsa: boolean ,
fileShareWitnessPath: string ,
storageAccountUrl: string ,
storageAccountPrimaryKey: string ,
clusterSubnetType: enum ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: string ,
sqlImageOffer: string ,
sqlImageSku: enum ,
scaleType: enum ,
clusterManagerType: enum ,
clusterConfiguration: enum ,
wsfcDomainProfile:
{
domainFqdn: string ,
ouPath: string ,
clusterBootstrapAccount: string ,
clusterOperatorAccount: string ,
sqlServiceAccount: string ,
isSqlServiceAccountGmsa: boolean ,
fileShareWitnessPath: string ,
storageAccountUrl: string ,
storageAccountPrimaryKey: string ,
clusterSubnetType: enum ,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: string ,
sqlImageOffer: string ,
sqlImageSku: enum ,
scaleType: enum ,
clusterManagerType: enum ,
clusterConfiguration: enum ,
wsfcDomainProfile:
{
domainFqdn: string ,
ouPath: string ,
clusterBootstrapAccount: string ,
clusterOperatorAccount: string ,
sqlServiceAccount: string ,
isSqlServiceAccountGmsa: boolean ,
fileShareWitnessPath: string ,
storageAccountUrl: string ,
storageAccountPrimaryKey: string ,
clusterSubnetType: enum ,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlVirtualMachineGroups_Update (updated)
Description Updates SQL virtual machine group tags.
Reference Link ¶

⚶ Changes

{
  "#id": "SqlVirtualMachineGroups_Update",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    },
    {
      "#name": "subscriptionId",
      "Description": {
        "new": "The ID of the target subscription.",
        "old": "Subscription ID that identifies an Azure subscription."
      }
    },
    {
      "#name": "resourceGroupName",
      "Description": {
        "new": "The name of the resource group. The name is case insensitive.",
        "old": "Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": {
        "@removed_af2f1958b7bd4b788910b55995df330f": {
          "#name": "systemData",
          "Description": "Metadata pertaining to creation and last modification of the resource.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "createdBy",
              "Description": "The identity that created the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdByType",
              "Description": "The type of identity that created the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdAt",
              "Description": "The timestamp of resource creation (UTC).",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedBy",
              "Description": "The identity that last modified the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedByType",
              "Description": "The type of identity that last modified the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedAt",
              "Description": "The timestamp of resource last modification (UTC)",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          ]
        }
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
sqlVirtualMachineGroupName: string ,
parameters:
{
tags: object ,
}
,
}

⚐ Response (200)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
provisioningState: string ,
sqlImageOffer: string ,
sqlImageSku: enum ,
scaleType: enum ,
clusterManagerType: enum ,
clusterConfiguration: enum ,
wsfcDomainProfile:
{
domainFqdn: string ,
ouPath: string ,
clusterBootstrapAccount: string ,
clusterOperatorAccount: string ,
sqlServiceAccount: string ,
isSqlServiceAccountGmsa: boolean ,
fileShareWitnessPath: string ,
storageAccountUrl: string ,
storageAccountPrimaryKey: string ,
clusterSubnetType: enum ,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlVirtualMachineGroups_Delete (updated)
Description Deletes a SQL virtual machine group.
Reference Link ¶

⚶ Changes

{
  "#id": "SqlVirtualMachineGroups_Delete",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    },
    {
      "#name": "subscriptionId",
      "Description": {
        "new": "The ID of the target subscription.",
        "old": "Subscription ID that identifies an Azure subscription."
      }
    },
    {
      "#name": "resourceGroupName",
      "Description": {
        "new": "The name of the resource group. The name is case insensitive.",
        "old": "Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
      }
    }
  ],
  "$responses": {
    "202": [
      {
        "@added_a025aa400c2b4e0ca930fdaff346ec89": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ]
  }
}

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
sqlVirtualMachineGroupName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AvailabilityGroupListeners_ListByGroup (updated)
Description Lists all availability group listeners in a SQL virtual machine group.
Reference Link ¶

⚶ Changes

{
  "#id": "AvailabilityGroupListeners_ListByGroup",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    },
    {
      "#name": "subscriptionId",
      "Description": {
        "new": "The ID of the target subscription.",
        "old": "Subscription ID that identifies an Azure subscription."
      }
    },
    {
      "#name": "resourceGroupName",
      "Description": {
        "new": "The name of the resource group. The name is case insensitive.",
        "old": "Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
      }
    }
  ],
  "$responses": {
    "200": {
      "Description": {
        "new": "The response of a AvailabilityGroupListener list operation.",
        "old": "A list of availability group listeners."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The AvailabilityGroupListener items on this page",
            "old": "Array of results."
          },
          "Required": {
            "new": true,
            "old": false
          },
          "$items": {
            "$properties": {
              "@removed_0d70d56b5cc34c418e79227e337660e2": {
                "#name": "systemData",
                "Description": "Metadata pertaining to creation and last modification of the resource.",
                "Required": false,
                "Type": "object",
                "$properties": [
                  {
                    "#name": "createdBy",
                    "Description": "The identity that created the resource.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "createdByType",
                    "Description": "The type of identity that created the resource.",
                    "Enum": [
                      [
                        "User",
                        ""
                      ],
                      [
                        "Application",
                        ""
                      ],
                      [
                        "ManagedIdentity",
                        ""
                      ],
                      [
                        "Key",
                        ""
                      ]
                    ],
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "createdAt",
                    "Description": "The timestamp of resource creation (UTC).",
                    "Format": "date-time",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "lastModifiedBy",
                    "Description": "The identity that last modified the resource.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "lastModifiedByType",
                    "Description": "The type of identity that last modified the resource.",
                    "Enum": [
                      [
                        "User",
                        ""
                      ],
                      [
                        "Application",
                        ""
                      ],
                      [
                        "ManagedIdentity",
                        ""
                      ],
                      [
                        "Key",
                        ""
                      ]
                    ],
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "lastModifiedAt",
                    "Description": "The timestamp of resource last modification (UTC)",
                    "Format": "date-time",
                    "Required": false,
                    "Type": "string"
                  }
                ]
              }
            }
          }
        },
        {
          "#name": "nextLink",
          "Description": {
            "new": "The link to the next page of items",
            "old": "Link to retrieve next page of results."
          }
        }
      ]
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
sqlVirtualMachineGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: string ,
availabilityGroupName: string ,
loadBalancerConfigurations:
[
{
privateIpAddress:
{
ipAddress: string ,
subnetResourceId: string ,
}
,
publicIpAddressResourceId: string ,
loadBalancerResourceId: string ,
probePort: integer ,
sqlVirtualMachineInstances:
[
string ,
]
,
}
,
]
,
multiSubnetIpConfigurations:
[
{
privateIpAddress:
{
ipAddress: string ,
subnetResourceId: string ,
}
,
sqlVirtualMachineInstance: string ,
}
,
]
,
createDefaultAvailabilityGroupIfNotExist: boolean ,
port: integer ,
availabilityGroupConfiguration:
{
replicas:
[
{
sqlVirtualMachineInstanceId: string ,
role: enum ,
commit: enum ,
failover: enum ,
readableSecondary: enum ,
}
,
]
,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AvailabilityGroupListeners_Get (updated)
Description Gets an availability group listener.
Reference Link ¶

⚶ Changes

{
  "#id": "AvailabilityGroupListeners_Get",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    },
    {
      "#name": "subscriptionId",
      "Description": {
        "new": "The ID of the target subscription.",
        "old": "Subscription ID that identifies an Azure subscription."
      }
    },
    {
      "#name": "resourceGroupName",
      "Description": {
        "new": "The name of the resource group. The name is case insensitive.",
        "old": "Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": {
        "@removed_ff626b2d9e814bd8b8cfc6007e71407d": {
          "#name": "systemData",
          "Description": "Metadata pertaining to creation and last modification of the resource.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "createdBy",
              "Description": "The identity that created the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdByType",
              "Description": "The type of identity that created the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdAt",
              "Description": "The timestamp of resource creation (UTC).",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedBy",
              "Description": "The identity that last modified the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedByType",
              "Description": "The type of identity that last modified the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedAt",
              "Description": "The timestamp of resource last modification (UTC)",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          ]
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
sqlVirtualMachineGroupName: string ,
availabilityGroupListenerName: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: string ,
availabilityGroupName: string ,
loadBalancerConfigurations:
[
{
privateIpAddress:
{
ipAddress: string ,
subnetResourceId: string ,
}
,
publicIpAddressResourceId: string ,
loadBalancerResourceId: string ,
probePort: integer ,
sqlVirtualMachineInstances:
[
string ,
]
,
}
,
]
,
multiSubnetIpConfigurations:
[
{
privateIpAddress:
{
ipAddress: string ,
subnetResourceId: string ,
}
,
sqlVirtualMachineInstance: string ,
}
,
]
,
createDefaultAvailabilityGroupIfNotExist: boolean ,
port: integer ,
availabilityGroupConfiguration:
{
replicas:
[
{
sqlVirtualMachineInstanceId: string ,
role: enum ,
commit: enum ,
failover: enum ,
readableSecondary: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AvailabilityGroupListeners_CreateOrUpdate (updated)
Description Creates or updates an availability group listener.
Reference Link ¶

⚶ Changes

{
  "#id": "AvailabilityGroupListeners_CreateOrUpdate",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    },
    {
      "#name": "subscriptionId",
      "Description": {
        "new": "The ID of the target subscription.",
        "old": "Subscription ID that identifies an Azure subscription."
      }
    },
    {
      "#name": "resourceGroupName",
      "Description": {
        "new": "The name of the resource group. The name is case insensitive.",
        "old": "Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
      }
    },
    {
      "parameters": {
        "$properties": {
          "@removed_40e6b94166ef4a34bf3d514d0b971313": {
            "#name": "systemData",
            "Description": "Metadata pertaining to creation and last modification of the resource.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "createdBy",
                "Description": "The identity that created the resource.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "createdByType",
                "Description": "The type of identity that created the resource.",
                "Enum": [
                  [
                    "User",
                    ""
                  ],
                  [
                    "Application",
                    ""
                  ],
                  [
                    "ManagedIdentity",
                    ""
                  ],
                  [
                    "Key",
                    ""
                  ]
                ],
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "createdAt",
                "Description": "The timestamp of resource creation (UTC).",
                "Format": "date-time",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "lastModifiedBy",
                "Description": "The identity that last modified the resource.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "lastModifiedByType",
                "Description": "The type of identity that last modified the resource.",
                "Enum": [
                  [
                    "User",
                    ""
                  ],
                  [
                    "Application",
                    ""
                  ],
                  [
                    "ManagedIdentity",
                    ""
                  ],
                  [
                    "Key",
                    ""
                  ]
                ],
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "lastModifiedAt",
                "Description": "The timestamp of resource last modification (UTC)",
                "Format": "date-time",
                "Required": false,
                "Type": "string"
              }
            ]
          }
        }
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": {
        "@removed_a138813eb44f487e9dac1a0a65f54ffe": {
          "#name": "systemData",
          "Description": "Metadata pertaining to creation and last modification of the resource.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "createdBy",
              "Description": "The identity that created the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdByType",
              "Description": "The type of identity that created the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdAt",
              "Description": "The timestamp of resource creation (UTC).",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedBy",
              "Description": "The identity that last modified the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedByType",
              "Description": "The type of identity that last modified the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedAt",
              "Description": "The timestamp of resource last modification (UTC)",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          ]
        }
      }
    },
    "201": {
      "$properties": {
        "@removed_e3e24f57ec2443c8ac305082071c5504": {
          "#name": "systemData",
          "Description": "Metadata pertaining to creation and last modification of the resource.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "createdBy",
              "Description": "The identity that created the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdByType",
              "Description": "The type of identity that created the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdAt",
              "Description": "The timestamp of resource creation (UTC).",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedBy",
              "Description": "The identity that last modified the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedByType",
              "Description": "The type of identity that last modified the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedAt",
              "Description": "The timestamp of resource last modification (UTC)",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          ]
        }
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
sqlVirtualMachineGroupName: string ,
availabilityGroupListenerName: string ,
parameters:
{
properties:
{
provisioningState: string ,
availabilityGroupName: string ,
loadBalancerConfigurations:
[
{
privateIpAddress:
{
ipAddress: string ,
subnetResourceId: string ,
}
,
publicIpAddressResourceId: string ,
loadBalancerResourceId: string ,
probePort: integer ,
sqlVirtualMachineInstances:
[
string ,
]
,
}
,
]
,
multiSubnetIpConfigurations:
[
{
privateIpAddress:
{
ipAddress: string ,
subnetResourceId: string ,
}
,
sqlVirtualMachineInstance: string ,
}
,
]
,
createDefaultAvailabilityGroupIfNotExist: boolean ,
port: integer ,
availabilityGroupConfiguration:
{
replicas:
[
{
sqlVirtualMachineInstanceId: string ,
role: enum ,
commit: enum ,
failover: enum ,
readableSecondary: enum ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: string ,
availabilityGroupName: string ,
loadBalancerConfigurations:
[
{
privateIpAddress:
{
ipAddress: string ,
subnetResourceId: string ,
}
,
publicIpAddressResourceId: string ,
loadBalancerResourceId: string ,
probePort: integer ,
sqlVirtualMachineInstances:
[
string ,
]
,
}
,
]
,
multiSubnetIpConfigurations:
[
{
privateIpAddress:
{
ipAddress: string ,
subnetResourceId: string ,
}
,
sqlVirtualMachineInstance: string ,
}
,
]
,
createDefaultAvailabilityGroupIfNotExist: boolean ,
port: integer ,
availabilityGroupConfiguration:
{
replicas:
[
{
sqlVirtualMachineInstanceId: string ,
role: enum ,
commit: enum ,
failover: enum ,
readableSecondary: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: string ,
availabilityGroupName: string ,
loadBalancerConfigurations:
[
{
privateIpAddress:
{
ipAddress: string ,
subnetResourceId: string ,
}
,
publicIpAddressResourceId: string ,
loadBalancerResourceId: string ,
probePort: integer ,
sqlVirtualMachineInstances:
[
string ,
]
,
}
,
]
,
multiSubnetIpConfigurations:
[
{
privateIpAddress:
{
ipAddress: string ,
subnetResourceId: string ,
}
,
sqlVirtualMachineInstance: string ,
}
,
]
,
createDefaultAvailabilityGroupIfNotExist: boolean ,
port: integer ,
availabilityGroupConfiguration:
{
replicas:
[
{
sqlVirtualMachineInstanceId: string ,
role: enum ,
commit: enum ,
failover: enum ,
readableSecondary: enum ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AvailabilityGroupListeners_Delete (updated)
Description Deletes an availability group listener.
Reference Link ¶

⚶ Changes

{
  "#id": "AvailabilityGroupListeners_Delete",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    },
    {
      "#name": "subscriptionId",
      "Description": {
        "new": "The ID of the target subscription.",
        "old": "Subscription ID that identifies an Azure subscription."
      }
    },
    {
      "#name": "resourceGroupName",
      "Description": {
        "new": "The name of the resource group. The name is case insensitive.",
        "old": "Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
      }
    }
  ],
  "$responses": {
    "202": [
      {
        "@added_562bf9f6bf3a45c1ac7a5ac7c8d3dcfb": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ]
  }
}

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
sqlVirtualMachineGroupName: string ,
availabilityGroupListenerName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlVirtualMachines_ListBySqlVmGroup (updated)
Description Gets the list of sql virtual machines in a SQL virtual machine group.
Reference Link ¶

⚶ Changes

{
  "#id": "SqlVirtualMachines_ListBySqlVmGroup",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    },
    {
      "#name": "subscriptionId",
      "Description": {
        "new": "The ID of the target subscription.",
        "old": "Subscription ID that identifies an Azure subscription."
      }
    },
    {
      "#name": "resourceGroupName",
      "Description": {
        "new": "The name of the resource group. The name is case insensitive.",
        "old": "Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
      }
    }
  ],
  "$responses": {
    "200": {
      "Description": {
        "new": "The response of a SqlVirtualMachine list operation.",
        "old": "A list of SQL virtual machines."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The SqlVirtualMachine items on this page",
            "old": "Array of results."
          },
          "Required": {
            "new": true,
            "old": false
          },
          "$items": {
            "$properties": {
              "@removed_3ed0676f251f4a56b89524ff36dc188f": {
                "#name": "systemData",
                "Description": "Metadata pertaining to creation and last modification of the resource.",
                "Required": false,
                "Type": "object",
                "$properties": [
                  {
                    "#name": "createdBy",
                    "Description": "The identity that created the resource.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "createdByType",
                    "Description": "The type of identity that created the resource.",
                    "Enum": [
                      [
                        "User",
                        ""
                      ],
                      [
                        "Application",
                        ""
                      ],
                      [
                        "ManagedIdentity",
                        ""
                      ],
                      [
                        "Key",
                        ""
                      ]
                    ],
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "createdAt",
                    "Description": "The timestamp of resource creation (UTC).",
                    "Format": "date-time",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "lastModifiedBy",
                    "Description": "The identity that last modified the resource.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "lastModifiedByType",
                    "Description": "The type of identity that last modified the resource.",
                    "Enum": [
                      [
                        "User",
                        ""
                      ],
                      [
                        "Application",
                        ""
                      ],
                      [
                        "ManagedIdentity",
                        ""
                      ],
                      [
                        "Key",
                        ""
                      ]
                    ],
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "lastModifiedAt",
                    "Description": "The timestamp of resource last modification (UTC)",
                    "Format": "date-time",
                    "Required": false,
                    "Type": "string"
                  }
                ]
              }
            }
          }
        },
        {
          "#name": "nextLink",
          "Description": {
            "new": "The link to the next page of items",
            "old": "Link to retrieve next page of results."
          }
        }
      ]
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/sqlVirtualMachines
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
sqlVirtualMachineGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
identity:
{
principalId: string ,
type: enum ,
tenantId: string ,
}
,
properties:
{
virtualMachineResourceId: string ,
provisioningState: string ,
sqlImageOffer: string ,
sqlServerLicenseType: enum ,
sqlManagement: enum ,
leastPrivilegeMode: enum ,
sqlImageSku: enum ,
sqlVirtualMachineGroupResourceId: string ,
wsfcDomainCredentials:
{
clusterBootstrapAccountPassword: string ,
clusterOperatorAccountPassword: string ,
sqlServiceAccountPassword: string ,
}
,
wsfcStaticIp: string ,
autoPatchingSettings:
{
enable: boolean ,
dayOfWeek: enum ,
maintenanceWindowStartingHour: integer ,
maintenanceWindowDuration: integer ,
additionalVmPatch: enum ,
}
,
autoBackupSettings:
{
enable: boolean ,
enableEncryption: boolean ,
retentionPeriod: integer ,
storageAccountUrl: string ,
storageContainerName: string ,
storageAccessKey: string ,
password: string ,
backupSystemDbs: boolean ,
backupScheduleType: enum ,
fullBackupFrequency: enum ,
daysOfWeek:
[
string ,
]
,
fullBackupStartTime: integer ,
fullBackupWindowHours: integer ,
logBackupFrequency: integer ,
}
,
keyVaultCredentialSettings:
{
enable: boolean ,
credentialName: string ,
azureKeyVaultUrl: string ,
servicePrincipalName: string ,
servicePrincipalSecret: string ,
}
,
serverConfigurationsManagementSettings:
{
sqlConnectivityUpdateSettings:
{
connectivityType: enum ,
port: integer ,
sqlAuthUpdateUserName: string ,
sqlAuthUpdatePassword: string ,
}
,
sqlWorkloadTypeUpdateSettings:
{
sqlWorkloadType: enum ,
}
,
sqlStorageUpdateSettings:
{
diskCount: integer ,
startingDeviceId: integer ,
diskConfigurationType: enum ,
}
,
additionalFeaturesServerConfigurations:
{
isRServicesEnabled: boolean ,
}
,
sqlInstanceSettings:
{
collation: string ,
maxDop: integer ,
isOptimizeForAdHocWorkloadsEnabled: boolean ,
minServerMemoryMB: integer ,
maxServerMemoryMB: integer ,
isLpimEnabled: boolean ,
isIfiEnabled: boolean ,
}
,
azureAdAuthenticationSettings:
{
clientId: string ,
}
,
}
,
storageConfigurationSettings:
{
sqlDataSettings:
{
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlLogSettings:
{
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlTempDbSettings:
{
dataFileSize: integer ,
dataGrowth: integer ,
logFileSize: integer ,
logGrowth: integer ,
dataFileCount: integer ,
persistFolder: boolean ,
persistFolderPath: string ,
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlSystemDbOnDataDisk: boolean ,
diskConfigurationType: enum ,
storageWorkloadType: enum ,
enableStorageConfigBlade: boolean ,
}
,
troubleshootingStatus:
{
rootCause: string ,
lastTriggerTimeUtc: string ,
startTimeUtc: string ,
endTimeUtc: string ,
troubleshootingScenario: enum ,
properties:
{
unhealthyReplicaInfo:
{
availabilityGroupName: string ,
}
,
}
,
}
,
assessmentSettings:
{
enable: boolean ,
runImmediately: boolean ,
schedule:
{
enable: boolean ,
weeklyInterval: integer ,
monthlyOccurrence: integer ,
dayOfWeek: enum ,
startTime: string ,
}
,
}
,
enableAutomaticUpgrade: boolean ,
additionalVmPatch: enum ,
virtualMachineIdentitySettings:
{
type: enum ,
resourceId: string ,
}
,
osType: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlVirtualMachines_ListByResourceGroup (updated)
Description Gets all SQL virtual machines in a resource group.
Reference Link ¶

⚶ Changes

{
  "#id": "SqlVirtualMachines_ListByResourceGroup",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    },
    {
      "#name": "subscriptionId",
      "Description": {
        "new": "The ID of the target subscription.",
        "old": "Subscription ID that identifies an Azure subscription."
      }
    },
    {
      "#name": "resourceGroupName",
      "Description": {
        "new": "The name of the resource group. The name is case insensitive.",
        "old": "Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
      }
    }
  ],
  "$responses": {
    "200": {
      "Description": {
        "new": "The response of a SqlVirtualMachine list operation.",
        "old": "A list of SQL virtual machines."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The SqlVirtualMachine items on this page",
            "old": "Array of results."
          },
          "Required": {
            "new": true,
            "old": false
          },
          "$items": {
            "$properties": {
              "@removed_6b7ee041f52a470983ed50535447250e": {
                "#name": "systemData",
                "Description": "Metadata pertaining to creation and last modification of the resource.",
                "Required": false,
                "Type": "object",
                "$properties": [
                  {
                    "#name": "createdBy",
                    "Description": "The identity that created the resource.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "createdByType",
                    "Description": "The type of identity that created the resource.",
                    "Enum": [
                      [
                        "User",
                        ""
                      ],
                      [
                        "Application",
                        ""
                      ],
                      [
                        "ManagedIdentity",
                        ""
                      ],
                      [
                        "Key",
                        ""
                      ]
                    ],
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "createdAt",
                    "Description": "The timestamp of resource creation (UTC).",
                    "Format": "date-time",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "lastModifiedBy",
                    "Description": "The identity that last modified the resource.",
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "lastModifiedByType",
                    "Description": "The type of identity that last modified the resource.",
                    "Enum": [
                      [
                        "User",
                        ""
                      ],
                      [
                        "Application",
                        ""
                      ],
                      [
                        "ManagedIdentity",
                        ""
                      ],
                      [
                        "Key",
                        ""
                      ]
                    ],
                    "Required": false,
                    "Type": "string"
                  },
                  {
                    "#name": "lastModifiedAt",
                    "Description": "The timestamp of resource last modification (UTC)",
                    "Format": "date-time",
                    "Required": false,
                    "Type": "string"
                  }
                ]
              }
            }
          }
        },
        {
          "#name": "nextLink",
          "Description": {
            "new": "The link to the next page of items",
            "old": "Link to retrieve next page of results."
          }
        }
      ]
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
identity:
{
principalId: string ,
type: enum ,
tenantId: string ,
}
,
properties:
{
virtualMachineResourceId: string ,
provisioningState: string ,
sqlImageOffer: string ,
sqlServerLicenseType: enum ,
sqlManagement: enum ,
leastPrivilegeMode: enum ,
sqlImageSku: enum ,
sqlVirtualMachineGroupResourceId: string ,
wsfcDomainCredentials:
{
clusterBootstrapAccountPassword: string ,
clusterOperatorAccountPassword: string ,
sqlServiceAccountPassword: string ,
}
,
wsfcStaticIp: string ,
autoPatchingSettings:
{
enable: boolean ,
dayOfWeek: enum ,
maintenanceWindowStartingHour: integer ,
maintenanceWindowDuration: integer ,
additionalVmPatch: enum ,
}
,
autoBackupSettings:
{
enable: boolean ,
enableEncryption: boolean ,
retentionPeriod: integer ,
storageAccountUrl: string ,
storageContainerName: string ,
storageAccessKey: string ,
password: string ,
backupSystemDbs: boolean ,
backupScheduleType: enum ,
fullBackupFrequency: enum ,
daysOfWeek:
[
string ,
]
,
fullBackupStartTime: integer ,
fullBackupWindowHours: integer ,
logBackupFrequency: integer ,
}
,
keyVaultCredentialSettings:
{
enable: boolean ,
credentialName: string ,
azureKeyVaultUrl: string ,
servicePrincipalName: string ,
servicePrincipalSecret: string ,
}
,
serverConfigurationsManagementSettings:
{
sqlConnectivityUpdateSettings:
{
connectivityType: enum ,
port: integer ,
sqlAuthUpdateUserName: string ,
sqlAuthUpdatePassword: string ,
}
,
sqlWorkloadTypeUpdateSettings:
{
sqlWorkloadType: enum ,
}
,
sqlStorageUpdateSettings:
{
diskCount: integer ,
startingDeviceId: integer ,
diskConfigurationType: enum ,
}
,
additionalFeaturesServerConfigurations:
{
isRServicesEnabled: boolean ,
}
,
sqlInstanceSettings:
{
collation: string ,
maxDop: integer ,
isOptimizeForAdHocWorkloadsEnabled: boolean ,
minServerMemoryMB: integer ,
maxServerMemoryMB: integer ,
isLpimEnabled: boolean ,
isIfiEnabled: boolean ,
}
,
azureAdAuthenticationSettings:
{
clientId: string ,
}
,
}
,
storageConfigurationSettings:
{
sqlDataSettings:
{
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlLogSettings:
{
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlTempDbSettings:
{
dataFileSize: integer ,
dataGrowth: integer ,
logFileSize: integer ,
logGrowth: integer ,
dataFileCount: integer ,
persistFolder: boolean ,
persistFolderPath: string ,
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlSystemDbOnDataDisk: boolean ,
diskConfigurationType: enum ,
storageWorkloadType: enum ,
enableStorageConfigBlade: boolean ,
}
,
troubleshootingStatus:
{
rootCause: string ,
lastTriggerTimeUtc: string ,
startTimeUtc: string ,
endTimeUtc: string ,
troubleshootingScenario: enum ,
properties:
{
unhealthyReplicaInfo:
{
availabilityGroupName: string ,
}
,
}
,
}
,
assessmentSettings:
{
enable: boolean ,
runImmediately: boolean ,
schedule:
{
enable: boolean ,
weeklyInterval: integer ,
monthlyOccurrence: integer ,
dayOfWeek: enum ,
startTime: string ,
}
,
}
,
enableAutomaticUpgrade: boolean ,
additionalVmPatch: enum ,
virtualMachineIdentitySettings:
{
type: enum ,
resourceId: string ,
}
,
osType: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlVirtualMachines_Get (updated)
Description Gets a SQL virtual machine.
Reference Link ¶

⚶ Changes

{
  "#id": "SqlVirtualMachines_Get",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    },
    {
      "#name": "subscriptionId",
      "Description": {
        "new": "The ID of the target subscription.",
        "old": "Subscription ID that identifies an Azure subscription."
      }
    },
    {
      "#name": "resourceGroupName",
      "Description": {
        "new": "The name of the resource group. The name is case insensitive.",
        "old": "Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": {
        "@removed_2739417cf8bb41c191ecee5ac3c83433": {
          "#name": "systemData",
          "Description": "Metadata pertaining to creation and last modification of the resource.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "createdBy",
              "Description": "The identity that created the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdByType",
              "Description": "The type of identity that created the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdAt",
              "Description": "The timestamp of resource creation (UTC).",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedBy",
              "Description": "The identity that last modified the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedByType",
              "Description": "The type of identity that last modified the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedAt",
              "Description": "The timestamp of resource last modification (UTC)",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          ]
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
sqlVirtualMachineName: string ,
$expand: string ,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
type: enum ,
tenantId: string ,
}
,
properties:
{
virtualMachineResourceId: string ,
provisioningState: string ,
sqlImageOffer: string ,
sqlServerLicenseType: enum ,
sqlManagement: enum ,
leastPrivilegeMode: enum ,
sqlImageSku: enum ,
sqlVirtualMachineGroupResourceId: string ,
wsfcDomainCredentials:
{
clusterBootstrapAccountPassword: string ,
clusterOperatorAccountPassword: string ,
sqlServiceAccountPassword: string ,
}
,
wsfcStaticIp: string ,
autoPatchingSettings:
{
enable: boolean ,
dayOfWeek: enum ,
maintenanceWindowStartingHour: integer ,
maintenanceWindowDuration: integer ,
additionalVmPatch: enum ,
}
,
autoBackupSettings:
{
enable: boolean ,
enableEncryption: boolean ,
retentionPeriod: integer ,
storageAccountUrl: string ,
storageContainerName: string ,
storageAccessKey: string ,
password: string ,
backupSystemDbs: boolean ,
backupScheduleType: enum ,
fullBackupFrequency: enum ,
daysOfWeek:
[
string ,
]
,
fullBackupStartTime: integer ,
fullBackupWindowHours: integer ,
logBackupFrequency: integer ,
}
,
keyVaultCredentialSettings:
{
enable: boolean ,
credentialName: string ,
azureKeyVaultUrl: string ,
servicePrincipalName: string ,
servicePrincipalSecret: string ,
}
,
serverConfigurationsManagementSettings:
{
sqlConnectivityUpdateSettings:
{
connectivityType: enum ,
port: integer ,
sqlAuthUpdateUserName: string ,
sqlAuthUpdatePassword: string ,
}
,
sqlWorkloadTypeUpdateSettings:
{
sqlWorkloadType: enum ,
}
,
sqlStorageUpdateSettings:
{
diskCount: integer ,
startingDeviceId: integer ,
diskConfigurationType: enum ,
}
,
additionalFeaturesServerConfigurations:
{
isRServicesEnabled: boolean ,
}
,
sqlInstanceSettings:
{
collation: string ,
maxDop: integer ,
isOptimizeForAdHocWorkloadsEnabled: boolean ,
minServerMemoryMB: integer ,
maxServerMemoryMB: integer ,
isLpimEnabled: boolean ,
isIfiEnabled: boolean ,
}
,
azureAdAuthenticationSettings:
{
clientId: string ,
}
,
}
,
storageConfigurationSettings:
{
sqlDataSettings:
{
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlLogSettings:
{
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlTempDbSettings:
{
dataFileSize: integer ,
dataGrowth: integer ,
logFileSize: integer ,
logGrowth: integer ,
dataFileCount: integer ,
persistFolder: boolean ,
persistFolderPath: string ,
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlSystemDbOnDataDisk: boolean ,
diskConfigurationType: enum ,
storageWorkloadType: enum ,
enableStorageConfigBlade: boolean ,
}
,
troubleshootingStatus:
{
rootCause: string ,
lastTriggerTimeUtc: string ,
startTimeUtc: string ,
endTimeUtc: string ,
troubleshootingScenario: enum ,
properties:
{
unhealthyReplicaInfo:
{
availabilityGroupName: string ,
}
,
}
,
}
,
assessmentSettings:
{
enable: boolean ,
runImmediately: boolean ,
schedule:
{
enable: boolean ,
weeklyInterval: integer ,
monthlyOccurrence: integer ,
dayOfWeek: enum ,
startTime: string ,
}
,
}
,
enableAutomaticUpgrade: boolean ,
additionalVmPatch: enum ,
virtualMachineIdentitySettings:
{
type: enum ,
resourceId: string ,
}
,
osType: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlVirtualMachines_CreateOrUpdate (updated)
Description Creates or updates a SQL virtual machine.
Reference Link ¶

⚶ Changes

{
  "#id": "SqlVirtualMachines_CreateOrUpdate",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    },
    {
      "#name": "subscriptionId",
      "Description": {
        "new": "The ID of the target subscription.",
        "old": "Subscription ID that identifies an Azure subscription."
      }
    },
    {
      "#name": "resourceGroupName",
      "Description": {
        "new": "The name of the resource group. The name is case insensitive.",
        "old": "Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
      }
    },
    {
      "parameters": {
        "$properties": {
          "@removed_d0702b08b67c4d2e9b8690b7da35d376": {
            "#name": "systemData",
            "Description": "Metadata pertaining to creation and last modification of the resource.",
            "Required": false,
            "Type": "object",
            "$properties": [
              {
                "#name": "createdBy",
                "Description": "The identity that created the resource.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "createdByType",
                "Description": "The type of identity that created the resource.",
                "Enum": [
                  [
                    "User",
                    ""
                  ],
                  [
                    "Application",
                    ""
                  ],
                  [
                    "ManagedIdentity",
                    ""
                  ],
                  [
                    "Key",
                    ""
                  ]
                ],
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "createdAt",
                "Description": "The timestamp of resource creation (UTC).",
                "Format": "date-time",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "lastModifiedBy",
                "Description": "The identity that last modified the resource.",
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "lastModifiedByType",
                "Description": "The type of identity that last modified the resource.",
                "Enum": [
                  [
                    "User",
                    ""
                  ],
                  [
                    "Application",
                    ""
                  ],
                  [
                    "ManagedIdentity",
                    ""
                  ],
                  [
                    "Key",
                    ""
                  ]
                ],
                "Required": false,
                "Type": "string"
              },
              {
                "#name": "lastModifiedAt",
                "Description": "The timestamp of resource last modification (UTC)",
                "Format": "date-time",
                "Required": false,
                "Type": "string"
              }
            ]
          }
        }
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": {
        "@removed_44975fd2cd864b89b39c775230598d01": {
          "#name": "systemData",
          "Description": "Metadata pertaining to creation and last modification of the resource.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "createdBy",
              "Description": "The identity that created the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdByType",
              "Description": "The type of identity that created the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdAt",
              "Description": "The timestamp of resource creation (UTC).",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedBy",
              "Description": "The identity that last modified the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedByType",
              "Description": "The type of identity that last modified the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedAt",
              "Description": "The timestamp of resource last modification (UTC)",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          ]
        }
      }
    },
    "201": {
      "$properties": {
        "@removed_1f398a5d95614521be9dcf762223c45e": {
          "#name": "systemData",
          "Description": "Metadata pertaining to creation and last modification of the resource.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "createdBy",
              "Description": "The identity that created the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdByType",
              "Description": "The type of identity that created the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdAt",
              "Description": "The timestamp of resource creation (UTC).",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedBy",
              "Description": "The identity that last modified the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedByType",
              "Description": "The type of identity that last modified the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedAt",
              "Description": "The timestamp of resource last modification (UTC)",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          ]
        }
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
sqlVirtualMachineName: string ,
parameters:
{
identity:
{
principalId: string ,
type: enum ,
tenantId: string ,
}
,
properties:
{
virtualMachineResourceId: string ,
provisioningState: string ,
sqlImageOffer: string ,
sqlServerLicenseType: enum ,
sqlManagement: enum ,
leastPrivilegeMode: enum ,
sqlImageSku: enum ,
sqlVirtualMachineGroupResourceId: string ,
wsfcDomainCredentials:
{
clusterBootstrapAccountPassword: string ,
clusterOperatorAccountPassword: string ,
sqlServiceAccountPassword: string ,
}
,
wsfcStaticIp: string ,
autoPatchingSettings:
{
enable: boolean ,
dayOfWeek: enum ,
maintenanceWindowStartingHour: integer ,
maintenanceWindowDuration: integer ,
additionalVmPatch: enum ,
}
,
autoBackupSettings:
{
enable: boolean ,
enableEncryption: boolean ,
retentionPeriod: integer ,
storageAccountUrl: string ,
storageContainerName: string ,
storageAccessKey: string ,
password: string ,
backupSystemDbs: boolean ,
backupScheduleType: enum ,
fullBackupFrequency: enum ,
daysOfWeek:
[
string ,
]
,
fullBackupStartTime: integer ,
fullBackupWindowHours: integer ,
logBackupFrequency: integer ,
}
,
keyVaultCredentialSettings:
{
enable: boolean ,
credentialName: string ,
azureKeyVaultUrl: string ,
servicePrincipalName: string ,
servicePrincipalSecret: string ,
}
,
serverConfigurationsManagementSettings:
{
sqlConnectivityUpdateSettings:
{
connectivityType: enum ,
port: integer ,
sqlAuthUpdateUserName: string ,
sqlAuthUpdatePassword: string ,
}
,
sqlWorkloadTypeUpdateSettings:
{
sqlWorkloadType: enum ,
}
,
sqlStorageUpdateSettings:
{
diskCount: integer ,
startingDeviceId: integer ,
diskConfigurationType: enum ,
}
,
additionalFeaturesServerConfigurations:
{
isRServicesEnabled: boolean ,
}
,
sqlInstanceSettings:
{
collation: string ,
maxDop: integer ,
isOptimizeForAdHocWorkloadsEnabled: boolean ,
minServerMemoryMB: integer ,
maxServerMemoryMB: integer ,
isLpimEnabled: boolean ,
isIfiEnabled: boolean ,
}
,
azureAdAuthenticationSettings:
{
clientId: string ,
}
,
}
,
storageConfigurationSettings:
{
sqlDataSettings:
{
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlLogSettings:
{
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlTempDbSettings:
{
dataFileSize: integer ,
dataGrowth: integer ,
logFileSize: integer ,
logGrowth: integer ,
dataFileCount: integer ,
persistFolder: boolean ,
persistFolderPath: string ,
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlSystemDbOnDataDisk: boolean ,
diskConfigurationType: enum ,
storageWorkloadType: enum ,
enableStorageConfigBlade: boolean ,
}
,
troubleshootingStatus:
{
rootCause: string ,
lastTriggerTimeUtc: string ,
startTimeUtc: string ,
endTimeUtc: string ,
troubleshootingScenario: enum ,
properties:
{
unhealthyReplicaInfo:
{
availabilityGroupName: string ,
}
,
}
,
}
,
assessmentSettings:
{
enable: boolean ,
runImmediately: boolean ,
schedule:
{
enable: boolean ,
weeklyInterval: integer ,
monthlyOccurrence: integer ,
dayOfWeek: enum ,
startTime: string ,
}
,
}
,
enableAutomaticUpgrade: boolean ,
additionalVmPatch: enum ,
virtualMachineIdentitySettings:
{
type: enum ,
resourceId: string ,
}
,
osType: enum ,
}
,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
type: enum ,
tenantId: string ,
}
,
properties:
{
virtualMachineResourceId: string ,
provisioningState: string ,
sqlImageOffer: string ,
sqlServerLicenseType: enum ,
sqlManagement: enum ,
leastPrivilegeMode: enum ,
sqlImageSku: enum ,
sqlVirtualMachineGroupResourceId: string ,
wsfcDomainCredentials:
{
clusterBootstrapAccountPassword: string ,
clusterOperatorAccountPassword: string ,
sqlServiceAccountPassword: string ,
}
,
wsfcStaticIp: string ,
autoPatchingSettings:
{
enable: boolean ,
dayOfWeek: enum ,
maintenanceWindowStartingHour: integer ,
maintenanceWindowDuration: integer ,
additionalVmPatch: enum ,
}
,
autoBackupSettings:
{
enable: boolean ,
enableEncryption: boolean ,
retentionPeriod: integer ,
storageAccountUrl: string ,
storageContainerName: string ,
storageAccessKey: string ,
password: string ,
backupSystemDbs: boolean ,
backupScheduleType: enum ,
fullBackupFrequency: enum ,
daysOfWeek:
[
string ,
]
,
fullBackupStartTime: integer ,
fullBackupWindowHours: integer ,
logBackupFrequency: integer ,
}
,
keyVaultCredentialSettings:
{
enable: boolean ,
credentialName: string ,
azureKeyVaultUrl: string ,
servicePrincipalName: string ,
servicePrincipalSecret: string ,
}
,
serverConfigurationsManagementSettings:
{
sqlConnectivityUpdateSettings:
{
connectivityType: enum ,
port: integer ,
sqlAuthUpdateUserName: string ,
sqlAuthUpdatePassword: string ,
}
,
sqlWorkloadTypeUpdateSettings:
{
sqlWorkloadType: enum ,
}
,
sqlStorageUpdateSettings:
{
diskCount: integer ,
startingDeviceId: integer ,
diskConfigurationType: enum ,
}
,
additionalFeaturesServerConfigurations:
{
isRServicesEnabled: boolean ,
}
,
sqlInstanceSettings:
{
collation: string ,
maxDop: integer ,
isOptimizeForAdHocWorkloadsEnabled: boolean ,
minServerMemoryMB: integer ,
maxServerMemoryMB: integer ,
isLpimEnabled: boolean ,
isIfiEnabled: boolean ,
}
,
azureAdAuthenticationSettings:
{
clientId: string ,
}
,
}
,
storageConfigurationSettings:
{
sqlDataSettings:
{
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlLogSettings:
{
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlTempDbSettings:
{
dataFileSize: integer ,
dataGrowth: integer ,
logFileSize: integer ,
logGrowth: integer ,
dataFileCount: integer ,
persistFolder: boolean ,
persistFolderPath: string ,
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlSystemDbOnDataDisk: boolean ,
diskConfigurationType: enum ,
storageWorkloadType: enum ,
enableStorageConfigBlade: boolean ,
}
,
troubleshootingStatus:
{
rootCause: string ,
lastTriggerTimeUtc: string ,
startTimeUtc: string ,
endTimeUtc: string ,
troubleshootingScenario: enum ,
properties:
{
unhealthyReplicaInfo:
{
availabilityGroupName: string ,
}
,
}
,
}
,
assessmentSettings:
{
enable: boolean ,
runImmediately: boolean ,
schedule:
{
enable: boolean ,
weeklyInterval: integer ,
monthlyOccurrence: integer ,
dayOfWeek: enum ,
startTime: string ,
}
,
}
,
enableAutomaticUpgrade: boolean ,
additionalVmPatch: enum ,
virtualMachineIdentitySettings:
{
type: enum ,
resourceId: string ,
}
,
osType: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
identity:
{
principalId: string ,
type: enum ,
tenantId: string ,
}
,
properties:
{
virtualMachineResourceId: string ,
provisioningState: string ,
sqlImageOffer: string ,
sqlServerLicenseType: enum ,
sqlManagement: enum ,
leastPrivilegeMode: enum ,
sqlImageSku: enum ,
sqlVirtualMachineGroupResourceId: string ,
wsfcDomainCredentials:
{
clusterBootstrapAccountPassword: string ,
clusterOperatorAccountPassword: string ,
sqlServiceAccountPassword: string ,
}
,
wsfcStaticIp: string ,
autoPatchingSettings:
{
enable: boolean ,
dayOfWeek: enum ,
maintenanceWindowStartingHour: integer ,
maintenanceWindowDuration: integer ,
additionalVmPatch: enum ,
}
,
autoBackupSettings:
{
enable: boolean ,
enableEncryption: boolean ,
retentionPeriod: integer ,
storageAccountUrl: string ,
storageContainerName: string ,
storageAccessKey: string ,
password: string ,
backupSystemDbs: boolean ,
backupScheduleType: enum ,
fullBackupFrequency: enum ,
daysOfWeek:
[
string ,
]
,
fullBackupStartTime: integer ,
fullBackupWindowHours: integer ,
logBackupFrequency: integer ,
}
,
keyVaultCredentialSettings:
{
enable: boolean ,
credentialName: string ,
azureKeyVaultUrl: string ,
servicePrincipalName: string ,
servicePrincipalSecret: string ,
}
,
serverConfigurationsManagementSettings:
{
sqlConnectivityUpdateSettings:
{
connectivityType: enum ,
port: integer ,
sqlAuthUpdateUserName: string ,
sqlAuthUpdatePassword: string ,
}
,
sqlWorkloadTypeUpdateSettings:
{
sqlWorkloadType: enum ,
}
,
sqlStorageUpdateSettings:
{
diskCount: integer ,
startingDeviceId: integer ,
diskConfigurationType: enum ,
}
,
additionalFeaturesServerConfigurations:
{
isRServicesEnabled: boolean ,
}
,
sqlInstanceSettings:
{
collation: string ,
maxDop: integer ,
isOptimizeForAdHocWorkloadsEnabled: boolean ,
minServerMemoryMB: integer ,
maxServerMemoryMB: integer ,
isLpimEnabled: boolean ,
isIfiEnabled: boolean ,
}
,
azureAdAuthenticationSettings:
{
clientId: string ,
}
,
}
,
storageConfigurationSettings:
{
sqlDataSettings:
{
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlLogSettings:
{
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlTempDbSettings:
{
dataFileSize: integer ,
dataGrowth: integer ,
logFileSize: integer ,
logGrowth: integer ,
dataFileCount: integer ,
persistFolder: boolean ,
persistFolderPath: string ,
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlSystemDbOnDataDisk: boolean ,
diskConfigurationType: enum ,
storageWorkloadType: enum ,
enableStorageConfigBlade: boolean ,
}
,
troubleshootingStatus:
{
rootCause: string ,
lastTriggerTimeUtc: string ,
startTimeUtc: string ,
endTimeUtc: string ,
troubleshootingScenario: enum ,
properties:
{
unhealthyReplicaInfo:
{
availabilityGroupName: string ,
}
,
}
,
}
,
assessmentSettings:
{
enable: boolean ,
runImmediately: boolean ,
schedule:
{
enable: boolean ,
weeklyInterval: integer ,
monthlyOccurrence: integer ,
dayOfWeek: enum ,
startTime: string ,
}
,
}
,
enableAutomaticUpgrade: boolean ,
additionalVmPatch: enum ,
virtualMachineIdentitySettings:
{
type: enum ,
resourceId: string ,
}
,
osType: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlVirtualMachines_Update (updated)
Description Updates SQL virtual machine tags.
Reference Link ¶

⚶ Changes

{
  "#id": "SqlVirtualMachines_Update",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    },
    {
      "#name": "subscriptionId",
      "Description": {
        "new": "The ID of the target subscription.",
        "old": "Subscription ID that identifies an Azure subscription."
      }
    },
    {
      "#name": "resourceGroupName",
      "Description": {
        "new": "The name of the resource group. The name is case insensitive.",
        "old": "Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": {
        "@removed_d04bd5fc4232473c851871784c2f349c": {
          "#name": "systemData",
          "Description": "Metadata pertaining to creation and last modification of the resource.",
          "Required": false,
          "Type": "object",
          "$properties": [
            {
              "#name": "createdBy",
              "Description": "The identity that created the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdByType",
              "Description": "The type of identity that created the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "createdAt",
              "Description": "The timestamp of resource creation (UTC).",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedBy",
              "Description": "The identity that last modified the resource.",
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedByType",
              "Description": "The type of identity that last modified the resource.",
              "Enum": [
                [
                  "User",
                  ""
                ],
                [
                  "Application",
                  ""
                ],
                [
                  "ManagedIdentity",
                  ""
                ],
                [
                  "Key",
                  ""
                ]
              ],
              "Required": false,
              "Type": "string"
            },
            {
              "#name": "lastModifiedAt",
              "Description": "The timestamp of resource last modification (UTC)",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          ]
        }
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
sqlVirtualMachineName: string ,
parameters:
{
tags: object ,
}
,
}

⚐ Response (200)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
identity:
{
principalId: string ,
type: enum ,
tenantId: string ,
}
,
properties:
{
virtualMachineResourceId: string ,
provisioningState: string ,
sqlImageOffer: string ,
sqlServerLicenseType: enum ,
sqlManagement: enum ,
leastPrivilegeMode: enum ,
sqlImageSku: enum ,
sqlVirtualMachineGroupResourceId: string ,
wsfcDomainCredentials:
{
clusterBootstrapAccountPassword: string ,
clusterOperatorAccountPassword: string ,
sqlServiceAccountPassword: string ,
}
,
wsfcStaticIp: string ,
autoPatchingSettings:
{
enable: boolean ,
dayOfWeek: enum ,
maintenanceWindowStartingHour: integer ,
maintenanceWindowDuration: integer ,
additionalVmPatch: enum ,
}
,
autoBackupSettings:
{
enable: boolean ,
enableEncryption: boolean ,
retentionPeriod: integer ,
storageAccountUrl: string ,
storageContainerName: string ,
storageAccessKey: string ,
password: string ,
backupSystemDbs: boolean ,
backupScheduleType: enum ,
fullBackupFrequency: enum ,
daysOfWeek:
[
string ,
]
,
fullBackupStartTime: integer ,
fullBackupWindowHours: integer ,
logBackupFrequency: integer ,
}
,
keyVaultCredentialSettings:
{
enable: boolean ,
credentialName: string ,
azureKeyVaultUrl: string ,
servicePrincipalName: string ,
servicePrincipalSecret: string ,
}
,
serverConfigurationsManagementSettings:
{
sqlConnectivityUpdateSettings:
{
connectivityType: enum ,
port: integer ,
sqlAuthUpdateUserName: string ,
sqlAuthUpdatePassword: string ,
}
,
sqlWorkloadTypeUpdateSettings:
{
sqlWorkloadType: enum ,
}
,
sqlStorageUpdateSettings:
{
diskCount: integer ,
startingDeviceId: integer ,
diskConfigurationType: enum ,
}
,
additionalFeaturesServerConfigurations:
{
isRServicesEnabled: boolean ,
}
,
sqlInstanceSettings:
{
collation: string ,
maxDop: integer ,
isOptimizeForAdHocWorkloadsEnabled: boolean ,
minServerMemoryMB: integer ,
maxServerMemoryMB: integer ,
isLpimEnabled: boolean ,
isIfiEnabled: boolean ,
}
,
azureAdAuthenticationSettings:
{
clientId: string ,
}
,
}
,
storageConfigurationSettings:
{
sqlDataSettings:
{
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlLogSettings:
{
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlTempDbSettings:
{
dataFileSize: integer ,
dataGrowth: integer ,
logFileSize: integer ,
logGrowth: integer ,
dataFileCount: integer ,
persistFolder: boolean ,
persistFolderPath: string ,
luns:
[
integer ,
]
,
defaultFilePath: string ,
useStoragePool: boolean ,
}
,
sqlSystemDbOnDataDisk: boolean ,
diskConfigurationType: enum ,
storageWorkloadType: enum ,
enableStorageConfigBlade: boolean ,
}
,
troubleshootingStatus:
{
rootCause: string ,
lastTriggerTimeUtc: string ,
startTimeUtc: string ,
endTimeUtc: string ,
troubleshootingScenario: enum ,
properties:
{
unhealthyReplicaInfo:
{
availabilityGroupName: string ,
}
,
}
,
}
,
assessmentSettings:
{
enable: boolean ,
runImmediately: boolean ,
schedule:
{
enable: boolean ,
weeklyInterval: integer ,
monthlyOccurrence: integer ,
dayOfWeek: enum ,
startTime: string ,
}
,
}
,
enableAutomaticUpgrade: boolean ,
additionalVmPatch: enum ,
virtualMachineIdentitySettings:
{
type: enum ,
resourceId: string ,
}
,
osType: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlVirtualMachines_Delete (updated)
Description Deletes a SQL virtual machine.
Reference Link ¶

⚶ Changes

{
  "#id": "SqlVirtualMachines_Delete",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    },
    {
      "#name": "subscriptionId",
      "Description": {
        "new": "The ID of the target subscription.",
        "old": "Subscription ID that identifies an Azure subscription."
      }
    },
    {
      "#name": "resourceGroupName",
      "Description": {
        "new": "The name of the resource group. The name is case insensitive.",
        "old": "Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
      }
    }
  ],
  "$responses": {
    "202": [
      {
        "@added_2c1b3f6971cb4ee8aae02d0cfc05a81b": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ]
  }
}

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
sqlVirtualMachineName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlVirtualMachines_FetchDCAssessment (updated)
Description Starts SQL best practices Assessment with Disk Config rules on SQL virtual machine
Reference Link ¶

⚶ Changes

{
  "#id": "SqlVirtualMachines_FetchDCAssessment",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    },
    {
      "#name": "subscriptionId",
      "Description": {
        "new": "The ID of the target subscription.",
        "old": "Subscription ID that identifies an Azure subscription."
      }
    },
    {
      "#name": "resourceGroupName",
      "Description": {
        "new": "The name of the resource group. The name is case insensitive.",
        "old": "Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
      }
    }
  ],
  "$responses": {
    "202": [
      {
        "@added_c76b214c5ca74325bbf695c3af5fef91": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ]
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/fetchDCAssessment
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
sqlVirtualMachineName: string ,
parameters:
{
runDiskConfigRules: boolean ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlVirtualMachines_Redeploy (updated)
Description Uninstalls and reinstalls the SQL IaaS Extension.
Reference Link ¶

⚶ Changes

{
  "#id": "SqlVirtualMachines_Redeploy",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    },
    {
      "#name": "subscriptionId",
      "Description": {
        "new": "The ID of the target subscription.",
        "old": "Subscription ID that identifies an Azure subscription."
      }
    },
    {
      "#name": "resourceGroupName",
      "Description": {
        "new": "The name of the resource group. The name is case insensitive.",
        "old": "Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
      }
    }
  ],
  "$responses": {
    "202": [
      {
        "@added_195cd73acc99451f9bddccccf1a106bf": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ]
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/redeploy
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
sqlVirtualMachineName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlVirtualMachines_StartAssessment (updated)
Description Starts SQL best practices Assessment on SQL virtual machine.
Reference Link ¶

⚶ Changes

{
  "#id": "SqlVirtualMachines_StartAssessment",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    },
    {
      "#name": "subscriptionId",
      "Description": {
        "new": "The ID of the target subscription.",
        "old": "Subscription ID that identifies an Azure subscription."
      }
    },
    {
      "#name": "resourceGroupName",
      "Description": {
        "new": "The name of the resource group. The name is case insensitive.",
        "old": "Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
      }
    }
  ],
  "$responses": {
    "202": [
      {
        "@added_fb75e7e5bd3f402189e0397f22069fdd": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ]
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/startAssessment
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
sqlVirtualMachineName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlVirtualMachineTroubleshoot_Troubleshoot (updated)
Description Starts SQL virtual machine troubleshooting.
Reference Link ¶

⚶ Changes

{
  "#id": "SqlVirtualMachineTroubleshoot_Troubleshoot",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "API version to use for the request."
      }
    },
    {
      "#name": "subscriptionId",
      "Description": {
        "new": "The ID of the target subscription.",
        "old": "Subscription ID that identifies an Azure subscription."
      }
    },
    {
      "#name": "resourceGroupName",
      "Description": {
        "new": "The name of the resource group. The name is case insensitive.",
        "old": "Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal."
      }
    }
  ],
  "$responses": {
    "202": [
      {
        "@added_83d10a38993f4cb6ac97099e4580f035": {
          "#name": "retry-after",
          "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.",
          "Type": "integer"
        }
      }
    ]
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/troubleshoot
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
sqlVirtualMachineName: string ,
parameters:
{
startTimeUtc: string ,
endTimeUtc: string ,
troubleshootingScenario: enum ,
properties:
{
unhealthyReplicaInfo:
{
availabilityGroupName: string ,
}
,
}
,
virtualMachineResourceId: string ,
}
,
}

⚐ Response (200)

{
startTimeUtc: string ,
endTimeUtc: string ,
troubleshootingScenario: enum ,
properties:
{
unhealthyReplicaInfo:
{
availabilityGroupName: string ,
}
,
}
,
virtualMachineResourceId: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}