Microsoft.AzureArcData (preview:2025-06-01)

2025/09/16 • 74 new methods

Operations_List (new)
Description Lists all of the available Azure Data Services on Azure Arc API operations.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlManagedInstances_List (new)
Description List sqlManagedInstance resources in the subscription
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlManagedInstances
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
dataControllerId: string ,
admin: string ,
startTime: string ,
endTime: string ,
k8sRaw:
{
spec:
{
scheduling:
{
default:
{
resources:
{
requests: object ,
limits: object ,
}
,
}
,
}
,
replicas: integer ,
security:
{
adminLoginSecret: string ,
serviceCertificateSecret: string ,
activeDirectory:
{
connector:
{
name: string ,
namespace: string ,
}
,
accountName: string ,
keytabSecret: string ,
encryptionTypes:
[
string ,
]
,
}
,
transparentDataEncryption:
{
mode: string ,
protectorSecret: string ,
}
,
}
,
settings:
{
network:
{
forceencryption: integer ,
tlsciphers: string ,
tlsprotocols: string ,
}
,
}
,
}
,
}
,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
lastUploadedDate: string ,
provisioningState: string ,
activeDirectoryInformation:
{
keytabInformation:
{
keytab: string ,
}
,
}
,
licenseType: enum ,
clusterId: string ,
extensionId: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
sku:
{
name: enum ,
tier: enum ,
dev: boolean ,
size: string ,
family: string ,
capacity: integer ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlManagedInstances_ListByResourceGroup (new)
Description Gets all sqlManagedInstances in a resource group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
dataControllerId: string ,
admin: string ,
startTime: string ,
endTime: string ,
k8sRaw:
{
spec:
{
scheduling:
{
default:
{
resources:
{
requests: object ,
limits: object ,
}
,
}
,
}
,
replicas: integer ,
security:
{
adminLoginSecret: string ,
serviceCertificateSecret: string ,
activeDirectory:
{
connector:
{
name: string ,
namespace: string ,
}
,
accountName: string ,
keytabSecret: string ,
encryptionTypes:
[
string ,
]
,
}
,
transparentDataEncryption:
{
mode: string ,
protectorSecret: string ,
}
,
}
,
settings:
{
network:
{
forceencryption: integer ,
tlsciphers: string ,
tlsprotocols: string ,
}
,
}
,
}
,
}
,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
lastUploadedDate: string ,
provisioningState: string ,
activeDirectoryInformation:
{
keytabInformation:
{
keytab: string ,
}
,
}
,
licenseType: enum ,
clusterId: string ,
extensionId: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
sku:
{
name: enum ,
tier: enum ,
dev: boolean ,
size: string ,
family: string ,
capacity: integer ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlManagedInstances_Get (new)
Description Retrieves a SQL Managed Instance resource
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlManagedInstanceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
dataControllerId: string ,
admin: string ,
startTime: string ,
endTime: string ,
k8sRaw:
{
spec:
{
scheduling:
{
default:
{
resources:
{
requests: object ,
limits: object ,
}
,
}
,
}
,
replicas: integer ,
security:
{
adminLoginSecret: string ,
serviceCertificateSecret: string ,
activeDirectory:
{
connector:
{
name: string ,
namespace: string ,
}
,
accountName: string ,
keytabSecret: string ,
encryptionTypes:
[
string ,
]
,
}
,
transparentDataEncryption:
{
mode: string ,
protectorSecret: string ,
}
,
}
,
settings:
{
network:
{
forceencryption: integer ,
tlsciphers: string ,
tlsprotocols: string ,
}
,
}
,
}
,
}
,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
lastUploadedDate: string ,
provisioningState: string ,
activeDirectoryInformation:
{
keytabInformation:
{
keytab: string ,
}
,
}
,
licenseType: enum ,
clusterId: string ,
extensionId: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
sku:
{
name: enum ,
tier: enum ,
dev: boolean ,
size: string ,
family: string ,
capacity: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlManagedInstances_Create (new)
Description Creates or replaces a SQL Managed Instance resource
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlManagedInstanceName: string ,
sqlManagedInstance:
{
properties:
{
dataControllerId: string ,
admin: string ,
startTime: string ,
endTime: string ,
k8sRaw:
{
spec:
{
scheduling:
{
default:
{
resources:
{
requests: object ,
limits: object ,
}
,
}
,
}
,
replicas: integer ,
security:
{
adminLoginSecret: string ,
serviceCertificateSecret: string ,
activeDirectory:
{
connector:
{
name: string ,
namespace: string ,
}
,
accountName: string ,
keytabSecret: string ,
encryptionTypes:
[
string ,
]
,
}
,
transparentDataEncryption:
{
mode: string ,
protectorSecret: string ,
}
,
}
,
settings:
{
network:
{
forceencryption: integer ,
tlsciphers: string ,
tlsprotocols: string ,
}
,
}
,
}
,
}
,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
lastUploadedDate: string ,
provisioningState: string ,
activeDirectoryInformation:
{
keytabInformation:
{
keytab: string ,
}
,
}
,
licenseType: enum ,
clusterId: string ,
extensionId: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
sku:
{
name: enum ,
tier: enum ,
dev: boolean ,
size: string ,
family: string ,
capacity: integer ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
dataControllerId: string ,
admin: string ,
startTime: string ,
endTime: string ,
k8sRaw:
{
spec:
{
scheduling:
{
default:
{
resources:
{
requests: object ,
limits: object ,
}
,
}
,
}
,
replicas: integer ,
security:
{
adminLoginSecret: string ,
serviceCertificateSecret: string ,
activeDirectory:
{
connector:
{
name: string ,
namespace: string ,
}
,
accountName: string ,
keytabSecret: string ,
encryptionTypes:
[
string ,
]
,
}
,
transparentDataEncryption:
{
mode: string ,
protectorSecret: string ,
}
,
}
,
settings:
{
network:
{
forceencryption: integer ,
tlsciphers: string ,
tlsprotocols: string ,
}
,
}
,
}
,
}
,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
lastUploadedDate: string ,
provisioningState: string ,
activeDirectoryInformation:
{
keytabInformation:
{
keytab: string ,
}
,
}
,
licenseType: enum ,
clusterId: string ,
extensionId: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
sku:
{
name: enum ,
tier: enum ,
dev: boolean ,
size: string ,
family: string ,
capacity: integer ,
}
,
}

⚐ Response (201)

{
properties:
{
dataControllerId: string ,
admin: string ,
startTime: string ,
endTime: string ,
k8sRaw:
{
spec:
{
scheduling:
{
default:
{
resources:
{
requests: object ,
limits: object ,
}
,
}
,
}
,
replicas: integer ,
security:
{
adminLoginSecret: string ,
serviceCertificateSecret: string ,
activeDirectory:
{
connector:
{
name: string ,
namespace: string ,
}
,
accountName: string ,
keytabSecret: string ,
encryptionTypes:
[
string ,
]
,
}
,
transparentDataEncryption:
{
mode: string ,
protectorSecret: string ,
}
,
}
,
settings:
{
network:
{
forceencryption: integer ,
tlsciphers: string ,
tlsprotocols: string ,
}
,
}
,
}
,
}
,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
lastUploadedDate: string ,
provisioningState: string ,
activeDirectoryInformation:
{
keytabInformation:
{
keytab: string ,
}
,
}
,
licenseType: enum ,
clusterId: string ,
extensionId: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
sku:
{
name: enum ,
tier: enum ,
dev: boolean ,
size: string ,
family: string ,
capacity: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlManagedInstances_Delete (new)
Description Deletes a SQL Managed Instance resource
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlManagedInstanceName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

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

⚐ Response (204)

{}
SqlManagedInstances_Update (new)
Description Updates a SQL Managed Instance resource
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlManagedInstanceName: string ,
parameters:
{
tags: object ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
dataControllerId: string ,
admin: string ,
startTime: string ,
endTime: string ,
k8sRaw:
{
spec:
{
scheduling:
{
default:
{
resources:
{
requests: object ,
limits: object ,
}
,
}
,
}
,
replicas: integer ,
security:
{
adminLoginSecret: string ,
serviceCertificateSecret: string ,
activeDirectory:
{
connector:
{
name: string ,
namespace: string ,
}
,
accountName: string ,
keytabSecret: string ,
encryptionTypes:
[
string ,
]
,
}
,
transparentDataEncryption:
{
mode: string ,
protectorSecret: string ,
}
,
}
,
settings:
{
network:
{
forceencryption: integer ,
tlsciphers: string ,
tlsprotocols: string ,
}
,
}
,
}
,
}
,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
lastUploadedDate: string ,
provisioningState: string ,
activeDirectoryInformation:
{
keytabInformation:
{
keytab: string ,
}
,
}
,
licenseType: enum ,
clusterId: string ,
extensionId: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
sku:
{
name: enum ,
tier: enum ,
dev: boolean ,
size: string ,
family: string ,
capacity: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FailoverGroups_List (new)
Description List the failover groups associated with the given sql managed instance.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups
{
subscriptionId: string ,
resourceGroupName: string ,
sqlManagedInstanceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
partnerManagedInstanceId: string ,
spec:
{
sharedName: string ,
sourceMI: string ,
partnerMI: string ,
partnerMirroringURL: string ,
partnerMirroringCert: string ,
partnerSyncMode: enum ,
role: enum ,
}
,
status: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FailoverGroups_Create (new)
Description Creates or replaces a failover group resource.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}
{
subscriptionId: string ,
resourceGroupName: string ,
failoverGroupResource:
{
properties:
{
provisioningState: enum ,
partnerManagedInstanceId: string ,
spec:
{
sharedName: string ,
sourceMI: string ,
partnerMI: string ,
partnerMirroringURL: string ,
partnerMirroringCert: string ,
partnerSyncMode: enum ,
role: enum ,
}
,
status: object ,
}
,
}
,
sqlManagedInstanceName: string ,
failoverGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
partnerManagedInstanceId: string ,
spec:
{
sharedName: string ,
sourceMI: string ,
partnerMI: string ,
partnerMirroringURL: string ,
partnerMirroringCert: string ,
partnerSyncMode: enum ,
role: enum ,
}
,
status: object ,
}
,
}

⚐ Response (201)

{
properties:
{
provisioningState: enum ,
partnerManagedInstanceId: string ,
spec:
{
sharedName: string ,
sourceMI: string ,
partnerMI: string ,
partnerMirroringURL: string ,
partnerMirroringCert: string ,
partnerSyncMode: enum ,
role: enum ,
}
,
status: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FailoverGroups_Delete (new)
Description Deletes a failover group resource
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlManagedInstanceName: string ,
failoverGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

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

⚐ Response (204)

{}
FailoverGroups_Get (new)
Description Retrieves a failover group resource
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlManagedInstances/{sqlManagedInstanceName}/failoverGroups/{failoverGroupName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlManagedInstanceName: string ,
failoverGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
partnerManagedInstanceId: string ,
spec:
{
sharedName: string ,
sourceMI: string ,
partnerMI: string ,
partnerMirroringURL: string ,
partnerMirroringCert: string ,
partnerSyncMode: enum ,
role: enum ,
}
,
status: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerInstances_List (new)
Description List sqlServerInstance resources in the subscription
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlServerInstances
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
version: enum ,
edition: enum ,
containerResourceId: string ,
vmId: string ,
createTime: string ,
vCore: string ,
cores: string ,
status: enum ,
patchLevel: string ,
collation: string ,
dbMasterKeyExists: boolean ,
isHadrEnabled: boolean ,
traceFlags:
[
integer ,
]
,
currentVersion: string ,
instanceName: string ,
tcpDynamicPorts: string ,
tcpStaticPorts: string ,
productId: string ,
licenseType: enum ,
azureDefenderStatusLastUpdated: string ,
azureDefenderStatus: enum ,
provisioningState: string ,
lastInventoryUploadTime: string ,
lastUsageUploadTime: string ,
hostType: enum ,
alwaysOnRole: enum ,
databaseMirroringEndpoint:
{
endpointName: string ,
role: enum ,
isEncryptionEnabled: boolean ,
encryptionAlgorithm: enum ,
connectionAuth: enum ,
port: integer ,
isDynamicPort: boolean ,
ipAddress: string ,
certificateName: string ,
certificateExpiryDate: string ,
}
,
failoverCluster:
{
id: string ,
networkName: string ,
sqlInstanceIds:
[
string ,
]
,
hostNames:
[
string ,
]
,
hostIPAddresses:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
backupPolicy:
{
retentionPeriodDays: integer ,
fullBackupDays: integer ,
differentialBackupHours: integer ,
transactionLogBackupMinutes: integer ,
}
,
upgradeLockedUntil: string ,
monitoring:
{
enabled: boolean ,
}
,
migration:
{
assessment:
{
enabled: boolean ,
assessmentUploadTime: string ,
version: string ,
settings:
{
targetLocation: string ,
percentile: number ,
lookbackPeriodInDays: number ,
strategy: string ,
currency: string ,
discountPercentage: number ,
costOptions:
{
computeAndStorageCostOption: string ,
sqlLicenseCostOption: string ,
windowsLicenseCostOption: string ,
}
,
}
,
serverAssessments:
[
{
appliesToMigrationTargetPlatform: string ,
featureId: string ,
impactedObjects:
[
{
impactDetail: string ,
name: string ,
objectType: string ,
}
,
]
,
issueCategory: string ,
moreInformation: string ,
}
,
]
,
skuRecommendationResults:
{
azureSqlDatabase:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlManagedInstance:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlVirtualMachine:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
availableVmSkus:
[
string ,
]
,
virtualMachineFamily: string ,
}
,
computeSize: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
virtualMachineSize:
{
virtualMachineFamily: string ,
sizeName: string ,
computeSize: number ,
azureSkuName: string ,
vCPUsAvailable: number ,
maxNetworkInterfaces: number ,
}
,
dataDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
logDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
tempDbDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
}
,
}
,
}
,
impactedObjectsSummary:
{
azureSqlDatabase:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
azureSqlManagedInstance:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
}
,
}
,
}
,
bestPracticesAssessment:
{
enabled: boolean ,
schedule:
{
enabled: boolean ,
cronTrigger:
{
startTime: string ,
timeZone: string ,
expression: string ,
}
,
}
,
}
,
clientConnection:
{
enabled: boolean ,
}
,
serviceType: enum ,
maxServerMemoryMB: integer ,
isMicrosoftPkiCertTrustConfigured: boolean ,
isDigiCertPkiCertTrustConfigured: boolean ,
authentication:
{
mode: enum ,
sqlServerEntraIdentity:
[
{
identityType: enum ,
clientId: string ,
}
,
]
,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerInstances_ListByResourceGroup (new)
Description Gets all sqlServerInstances in a resource group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
version: enum ,
edition: enum ,
containerResourceId: string ,
vmId: string ,
createTime: string ,
vCore: string ,
cores: string ,
status: enum ,
patchLevel: string ,
collation: string ,
dbMasterKeyExists: boolean ,
isHadrEnabled: boolean ,
traceFlags:
[
integer ,
]
,
currentVersion: string ,
instanceName: string ,
tcpDynamicPorts: string ,
tcpStaticPorts: string ,
productId: string ,
licenseType: enum ,
azureDefenderStatusLastUpdated: string ,
azureDefenderStatus: enum ,
provisioningState: string ,
lastInventoryUploadTime: string ,
lastUsageUploadTime: string ,
hostType: enum ,
alwaysOnRole: enum ,
databaseMirroringEndpoint:
{
endpointName: string ,
role: enum ,
isEncryptionEnabled: boolean ,
encryptionAlgorithm: enum ,
connectionAuth: enum ,
port: integer ,
isDynamicPort: boolean ,
ipAddress: string ,
certificateName: string ,
certificateExpiryDate: string ,
}
,
failoverCluster:
{
id: string ,
networkName: string ,
sqlInstanceIds:
[
string ,
]
,
hostNames:
[
string ,
]
,
hostIPAddresses:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
backupPolicy:
{
retentionPeriodDays: integer ,
fullBackupDays: integer ,
differentialBackupHours: integer ,
transactionLogBackupMinutes: integer ,
}
,
upgradeLockedUntil: string ,
monitoring:
{
enabled: boolean ,
}
,
migration:
{
assessment:
{
enabled: boolean ,
assessmentUploadTime: string ,
version: string ,
settings:
{
targetLocation: string ,
percentile: number ,
lookbackPeriodInDays: number ,
strategy: string ,
currency: string ,
discountPercentage: number ,
costOptions:
{
computeAndStorageCostOption: string ,
sqlLicenseCostOption: string ,
windowsLicenseCostOption: string ,
}
,
}
,
serverAssessments:
[
{
appliesToMigrationTargetPlatform: string ,
featureId: string ,
impactedObjects:
[
{
impactDetail: string ,
name: string ,
objectType: string ,
}
,
]
,
issueCategory: string ,
moreInformation: string ,
}
,
]
,
skuRecommendationResults:
{
azureSqlDatabase:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlManagedInstance:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlVirtualMachine:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
availableVmSkus:
[
string ,
]
,
virtualMachineFamily: string ,
}
,
computeSize: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
virtualMachineSize:
{
virtualMachineFamily: string ,
sizeName: string ,
computeSize: number ,
azureSkuName: string ,
vCPUsAvailable: number ,
maxNetworkInterfaces: number ,
}
,
dataDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
logDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
tempDbDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
}
,
}
,
}
,
impactedObjectsSummary:
{
azureSqlDatabase:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
azureSqlManagedInstance:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
}
,
}
,
}
,
bestPracticesAssessment:
{
enabled: boolean ,
schedule:
{
enabled: boolean ,
cronTrigger:
{
startTime: string ,
timeZone: string ,
expression: string ,
}
,
}
,
}
,
clientConnection:
{
enabled: boolean ,
}
,
serviceType: enum ,
maxServerMemoryMB: integer ,
isMicrosoftPkiCertTrustConfigured: boolean ,
isDigiCertPkiCertTrustConfigured: boolean ,
authentication:
{
mode: enum ,
sqlServerEntraIdentity:
[
{
identityType: enum ,
clientId: string ,
}
,
]
,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerInstances_Get (new)
Description Retrieves a SQL Server Instance resource
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
version: enum ,
edition: enum ,
containerResourceId: string ,
vmId: string ,
createTime: string ,
vCore: string ,
cores: string ,
status: enum ,
patchLevel: string ,
collation: string ,
dbMasterKeyExists: boolean ,
isHadrEnabled: boolean ,
traceFlags:
[
integer ,
]
,
currentVersion: string ,
instanceName: string ,
tcpDynamicPorts: string ,
tcpStaticPorts: string ,
productId: string ,
licenseType: enum ,
azureDefenderStatusLastUpdated: string ,
azureDefenderStatus: enum ,
provisioningState: string ,
lastInventoryUploadTime: string ,
lastUsageUploadTime: string ,
hostType: enum ,
alwaysOnRole: enum ,
databaseMirroringEndpoint:
{
endpointName: string ,
role: enum ,
isEncryptionEnabled: boolean ,
encryptionAlgorithm: enum ,
connectionAuth: enum ,
port: integer ,
isDynamicPort: boolean ,
ipAddress: string ,
certificateName: string ,
certificateExpiryDate: string ,
}
,
failoverCluster:
{
id: string ,
networkName: string ,
sqlInstanceIds:
[
string ,
]
,
hostNames:
[
string ,
]
,
hostIPAddresses:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
backupPolicy:
{
retentionPeriodDays: integer ,
fullBackupDays: integer ,
differentialBackupHours: integer ,
transactionLogBackupMinutes: integer ,
}
,
upgradeLockedUntil: string ,
monitoring:
{
enabled: boolean ,
}
,
migration:
{
assessment:
{
enabled: boolean ,
assessmentUploadTime: string ,
version: string ,
settings:
{
targetLocation: string ,
percentile: number ,
lookbackPeriodInDays: number ,
strategy: string ,
currency: string ,
discountPercentage: number ,
costOptions:
{
computeAndStorageCostOption: string ,
sqlLicenseCostOption: string ,
windowsLicenseCostOption: string ,
}
,
}
,
serverAssessments:
[
{
appliesToMigrationTargetPlatform: string ,
featureId: string ,
impactedObjects:
[
{
impactDetail: string ,
name: string ,
objectType: string ,
}
,
]
,
issueCategory: string ,
moreInformation: string ,
}
,
]
,
skuRecommendationResults:
{
azureSqlDatabase:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlManagedInstance:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlVirtualMachine:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
availableVmSkus:
[
string ,
]
,
virtualMachineFamily: string ,
}
,
computeSize: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
virtualMachineSize:
{
virtualMachineFamily: string ,
sizeName: string ,
computeSize: number ,
azureSkuName: string ,
vCPUsAvailable: number ,
maxNetworkInterfaces: number ,
}
,
dataDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
logDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
tempDbDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
}
,
}
,
}
,
impactedObjectsSummary:
{
azureSqlDatabase:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
azureSqlManagedInstance:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
}
,
}
,
}
,
bestPracticesAssessment:
{
enabled: boolean ,
schedule:
{
enabled: boolean ,
cronTrigger:
{
startTime: string ,
timeZone: string ,
expression: string ,
}
,
}
,
}
,
clientConnection:
{
enabled: boolean ,
}
,
serviceType: enum ,
maxServerMemoryMB: integer ,
isMicrosoftPkiCertTrustConfigured: boolean ,
isDigiCertPkiCertTrustConfigured: boolean ,
authentication:
{
mode: enum ,
sqlServerEntraIdentity:
[
{
identityType: enum ,
clientId: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerInstances_Create (new)
Description Creates or replaces a SQL Server Instance resource
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
sqlServerInstance:
{
properties:
{
version: enum ,
edition: enum ,
containerResourceId: string ,
vmId: string ,
createTime: string ,
vCore: string ,
cores: string ,
status: enum ,
patchLevel: string ,
collation: string ,
dbMasterKeyExists: boolean ,
isHadrEnabled: boolean ,
traceFlags:
[
integer ,
]
,
currentVersion: string ,
instanceName: string ,
tcpDynamicPorts: string ,
tcpStaticPorts: string ,
productId: string ,
licenseType: enum ,
azureDefenderStatusLastUpdated: string ,
azureDefenderStatus: enum ,
provisioningState: string ,
lastInventoryUploadTime: string ,
lastUsageUploadTime: string ,
hostType: enum ,
alwaysOnRole: enum ,
databaseMirroringEndpoint:
{
endpointName: string ,
role: enum ,
isEncryptionEnabled: boolean ,
encryptionAlgorithm: enum ,
connectionAuth: enum ,
port: integer ,
isDynamicPort: boolean ,
ipAddress: string ,
certificateName: string ,
certificateExpiryDate: string ,
}
,
failoverCluster:
{
id: string ,
networkName: string ,
sqlInstanceIds:
[
string ,
]
,
hostNames:
[
string ,
]
,
hostIPAddresses:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
backupPolicy:
{
retentionPeriodDays: integer ,
fullBackupDays: integer ,
differentialBackupHours: integer ,
transactionLogBackupMinutes: integer ,
}
,
upgradeLockedUntil: string ,
monitoring:
{
enabled: boolean ,
}
,
migration:
{
assessment:
{
enabled: boolean ,
assessmentUploadTime: string ,
version: string ,
settings:
{
targetLocation: string ,
percentile: number ,
lookbackPeriodInDays: number ,
strategy: string ,
currency: string ,
discountPercentage: number ,
costOptions:
{
computeAndStorageCostOption: string ,
sqlLicenseCostOption: string ,
windowsLicenseCostOption: string ,
}
,
}
,
serverAssessments:
[
{
appliesToMigrationTargetPlatform: string ,
featureId: string ,
impactedObjects:
[
{
impactDetail: string ,
name: string ,
objectType: string ,
}
,
]
,
issueCategory: string ,
moreInformation: string ,
}
,
]
,
skuRecommendationResults:
{
azureSqlDatabase:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlManagedInstance:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlVirtualMachine:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
availableVmSkus:
[
string ,
]
,
virtualMachineFamily: string ,
}
,
computeSize: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
virtualMachineSize:
{
virtualMachineFamily: string ,
sizeName: string ,
computeSize: number ,
azureSkuName: string ,
vCPUsAvailable: number ,
maxNetworkInterfaces: number ,
}
,
dataDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
logDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
tempDbDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
}
,
}
,
}
,
impactedObjectsSummary:
{
azureSqlDatabase:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
azureSqlManagedInstance:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
}
,
}
,
}
,
bestPracticesAssessment:
{
enabled: boolean ,
schedule:
{
enabled: boolean ,
cronTrigger:
{
startTime: string ,
timeZone: string ,
expression: string ,
}
,
}
,
}
,
clientConnection:
{
enabled: boolean ,
}
,
serviceType: enum ,
maxServerMemoryMB: integer ,
isMicrosoftPkiCertTrustConfigured: boolean ,
isDigiCertPkiCertTrustConfigured: boolean ,
authentication:
{
mode: enum ,
sqlServerEntraIdentity:
[
{
identityType: enum ,
clientId: string ,
}
,
]
,
}
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
version: enum ,
edition: enum ,
containerResourceId: string ,
vmId: string ,
createTime: string ,
vCore: string ,
cores: string ,
status: enum ,
patchLevel: string ,
collation: string ,
dbMasterKeyExists: boolean ,
isHadrEnabled: boolean ,
traceFlags:
[
integer ,
]
,
currentVersion: string ,
instanceName: string ,
tcpDynamicPorts: string ,
tcpStaticPorts: string ,
productId: string ,
licenseType: enum ,
azureDefenderStatusLastUpdated: string ,
azureDefenderStatus: enum ,
provisioningState: string ,
lastInventoryUploadTime: string ,
lastUsageUploadTime: string ,
hostType: enum ,
alwaysOnRole: enum ,
databaseMirroringEndpoint:
{
endpointName: string ,
role: enum ,
isEncryptionEnabled: boolean ,
encryptionAlgorithm: enum ,
connectionAuth: enum ,
port: integer ,
isDynamicPort: boolean ,
ipAddress: string ,
certificateName: string ,
certificateExpiryDate: string ,
}
,
failoverCluster:
{
id: string ,
networkName: string ,
sqlInstanceIds:
[
string ,
]
,
hostNames:
[
string ,
]
,
hostIPAddresses:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
backupPolicy:
{
retentionPeriodDays: integer ,
fullBackupDays: integer ,
differentialBackupHours: integer ,
transactionLogBackupMinutes: integer ,
}
,
upgradeLockedUntil: string ,
monitoring:
{
enabled: boolean ,
}
,
migration:
{
assessment:
{
enabled: boolean ,
assessmentUploadTime: string ,
version: string ,
settings:
{
targetLocation: string ,
percentile: number ,
lookbackPeriodInDays: number ,
strategy: string ,
currency: string ,
discountPercentage: number ,
costOptions:
{
computeAndStorageCostOption: string ,
sqlLicenseCostOption: string ,
windowsLicenseCostOption: string ,
}
,
}
,
serverAssessments:
[
{
appliesToMigrationTargetPlatform: string ,
featureId: string ,
impactedObjects:
[
{
impactDetail: string ,
name: string ,
objectType: string ,
}
,
]
,
issueCategory: string ,
moreInformation: string ,
}
,
]
,
skuRecommendationResults:
{
azureSqlDatabase:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlManagedInstance:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlVirtualMachine:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
availableVmSkus:
[
string ,
]
,
virtualMachineFamily: string ,
}
,
computeSize: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
virtualMachineSize:
{
virtualMachineFamily: string ,
sizeName: string ,
computeSize: number ,
azureSkuName: string ,
vCPUsAvailable: number ,
maxNetworkInterfaces: number ,
}
,
dataDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
logDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
tempDbDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
}
,
}
,
}
,
impactedObjectsSummary:
{
azureSqlDatabase:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
azureSqlManagedInstance:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
}
,
}
,
}
,
bestPracticesAssessment:
{
enabled: boolean ,
schedule:
{
enabled: boolean ,
cronTrigger:
{
startTime: string ,
timeZone: string ,
expression: string ,
}
,
}
,
}
,
clientConnection:
{
enabled: boolean ,
}
,
serviceType: enum ,
maxServerMemoryMB: integer ,
isMicrosoftPkiCertTrustConfigured: boolean ,
isDigiCertPkiCertTrustConfigured: boolean ,
authentication:
{
mode: enum ,
sqlServerEntraIdentity:
[
{
identityType: enum ,
clientId: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (201)

{
properties:
{
version: enum ,
edition: enum ,
containerResourceId: string ,
vmId: string ,
createTime: string ,
vCore: string ,
cores: string ,
status: enum ,
patchLevel: string ,
collation: string ,
dbMasterKeyExists: boolean ,
isHadrEnabled: boolean ,
traceFlags:
[
integer ,
]
,
currentVersion: string ,
instanceName: string ,
tcpDynamicPorts: string ,
tcpStaticPorts: string ,
productId: string ,
licenseType: enum ,
azureDefenderStatusLastUpdated: string ,
azureDefenderStatus: enum ,
provisioningState: string ,
lastInventoryUploadTime: string ,
lastUsageUploadTime: string ,
hostType: enum ,
alwaysOnRole: enum ,
databaseMirroringEndpoint:
{
endpointName: string ,
role: enum ,
isEncryptionEnabled: boolean ,
encryptionAlgorithm: enum ,
connectionAuth: enum ,
port: integer ,
isDynamicPort: boolean ,
ipAddress: string ,
certificateName: string ,
certificateExpiryDate: string ,
}
,
failoverCluster:
{
id: string ,
networkName: string ,
sqlInstanceIds:
[
string ,
]
,
hostNames:
[
string ,
]
,
hostIPAddresses:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
backupPolicy:
{
retentionPeriodDays: integer ,
fullBackupDays: integer ,
differentialBackupHours: integer ,
transactionLogBackupMinutes: integer ,
}
,
upgradeLockedUntil: string ,
monitoring:
{
enabled: boolean ,
}
,
migration:
{
assessment:
{
enabled: boolean ,
assessmentUploadTime: string ,
version: string ,
settings:
{
targetLocation: string ,
percentile: number ,
lookbackPeriodInDays: number ,
strategy: string ,
currency: string ,
discountPercentage: number ,
costOptions:
{
computeAndStorageCostOption: string ,
sqlLicenseCostOption: string ,
windowsLicenseCostOption: string ,
}
,
}
,
serverAssessments:
[
{
appliesToMigrationTargetPlatform: string ,
featureId: string ,
impactedObjects:
[
{
impactDetail: string ,
name: string ,
objectType: string ,
}
,
]
,
issueCategory: string ,
moreInformation: string ,
}
,
]
,
skuRecommendationResults:
{
azureSqlDatabase:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlManagedInstance:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlVirtualMachine:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
availableVmSkus:
[
string ,
]
,
virtualMachineFamily: string ,
}
,
computeSize: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
virtualMachineSize:
{
virtualMachineFamily: string ,
sizeName: string ,
computeSize: number ,
azureSkuName: string ,
vCPUsAvailable: number ,
maxNetworkInterfaces: number ,
}
,
dataDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
logDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
tempDbDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
}
,
}
,
}
,
impactedObjectsSummary:
{
azureSqlDatabase:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
azureSqlManagedInstance:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
}
,
}
,
}
,
bestPracticesAssessment:
{
enabled: boolean ,
schedule:
{
enabled: boolean ,
cronTrigger:
{
startTime: string ,
timeZone: string ,
expression: string ,
}
,
}
,
}
,
clientConnection:
{
enabled: boolean ,
}
,
serviceType: enum ,
maxServerMemoryMB: integer ,
isMicrosoftPkiCertTrustConfigured: boolean ,
isDigiCertPkiCertTrustConfigured: boolean ,
authentication:
{
mode: enum ,
sqlServerEntraIdentity:
[
{
identityType: enum ,
clientId: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerInstances_Delete (new)
Description Deletes a SQL Server Instance resource
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

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

⚐ Response (204)

{}
SqlServerInstances_Update (new)
Description Updates a SQL Server Instance resource
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
parameters:
{
tags: object ,
properties:
{
version: enum ,
edition: enum ,
containerResourceId: string ,
vmId: string ,
createTime: string ,
vCore: string ,
cores: string ,
status: enum ,
patchLevel: string ,
collation: string ,
dbMasterKeyExists: boolean ,
isHadrEnabled: boolean ,
traceFlags:
[
integer ,
]
,
currentVersion: string ,
instanceName: string ,
tcpDynamicPorts: string ,
tcpStaticPorts: string ,
productId: string ,
licenseType: enum ,
azureDefenderStatusLastUpdated: string ,
azureDefenderStatus: enum ,
provisioningState: string ,
lastInventoryUploadTime: string ,
lastUsageUploadTime: string ,
hostType: enum ,
alwaysOnRole: enum ,
failoverCluster:
{
id: string ,
networkName: string ,
sqlInstanceIds:
[
string ,
]
,
hostNames:
[
string ,
]
,
hostIPAddresses:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
backupPolicy:
{
retentionPeriodDays: integer ,
fullBackupDays: integer ,
differentialBackupHours: integer ,
transactionLogBackupMinutes: integer ,
}
,
upgradeLockedUntil: string ,
monitoring:
{
enabled: boolean ,
}
,
migration:
{
assessment:
{
enabled: boolean ,
assessmentUploadTime: string ,
version: string ,
settings:
{
targetLocation: string ,
percentile: number ,
lookbackPeriodInDays: number ,
strategy: string ,
currency: string ,
discountPercentage: number ,
costOptions:
{
computeAndStorageCostOption: string ,
sqlLicenseCostOption: string ,
windowsLicenseCostOption: string ,
}
,
}
,
serverAssessments:
[
{
appliesToMigrationTargetPlatform: string ,
featureId: string ,
impactedObjects:
[
{
impactDetail: string ,
name: string ,
objectType: string ,
}
,
]
,
issueCategory: string ,
moreInformation: string ,
}
,
]
,
skuRecommendationResults:
{
azureSqlDatabase:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlManagedInstance:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlVirtualMachine:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
availableVmSkus:
[
string ,
]
,
virtualMachineFamily: string ,
}
,
computeSize: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
virtualMachineSize:
{
virtualMachineFamily: string ,
sizeName: string ,
computeSize: number ,
azureSkuName: string ,
vCPUsAvailable: number ,
maxNetworkInterfaces: number ,
}
,
dataDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
logDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
tempDbDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
}
,
}
,
}
,
impactedObjectsSummary:
{
azureSqlDatabase:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
azureSqlManagedInstance:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
}
,
}
,
}
,
bestPracticesAssessment:
{
enabled: boolean ,
schedule:
{
enabled: boolean ,
cronTrigger:
{
startTime: string ,
timeZone: string ,
expression: string ,
}
,
}
,
}
,
clientConnection:
{
enabled: boolean ,
}
,
serviceType: enum ,
authentication:
{
mode: enum ,
sqlServerEntraIdentity:
[
{
identityType: enum ,
clientId: string ,
}
,
]
,
}
,
databaseMirroringEndpoint:
{
endpointName: string ,
role: enum ,
isEncryptionEnabled: boolean ,
encryptionAlgorithm: enum ,
connectionAuth: enum ,
port: integer ,
isDynamicPort: boolean ,
ipAddress: string ,
certificateName: string ,
certificateExpiryDate: string ,
}
,
isMicrosoftPkiCertTrustConfigured: boolean ,
isDigiCertPkiCertTrustConfigured: boolean ,
maxServerMemoryMB: integer ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
version: enum ,
edition: enum ,
containerResourceId: string ,
vmId: string ,
createTime: string ,
vCore: string ,
cores: string ,
status: enum ,
patchLevel: string ,
collation: string ,
dbMasterKeyExists: boolean ,
isHadrEnabled: boolean ,
traceFlags:
[
integer ,
]
,
currentVersion: string ,
instanceName: string ,
tcpDynamicPorts: string ,
tcpStaticPorts: string ,
productId: string ,
licenseType: enum ,
azureDefenderStatusLastUpdated: string ,
azureDefenderStatus: enum ,
provisioningState: string ,
lastInventoryUploadTime: string ,
lastUsageUploadTime: string ,
hostType: enum ,
alwaysOnRole: enum ,
databaseMirroringEndpoint:
{
endpointName: string ,
role: enum ,
isEncryptionEnabled: boolean ,
encryptionAlgorithm: enum ,
connectionAuth: enum ,
port: integer ,
isDynamicPort: boolean ,
ipAddress: string ,
certificateName: string ,
certificateExpiryDate: string ,
}
,
failoverCluster:
{
id: string ,
networkName: string ,
sqlInstanceIds:
[
string ,
]
,
hostNames:
[
string ,
]
,
hostIPAddresses:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
backupPolicy:
{
retentionPeriodDays: integer ,
fullBackupDays: integer ,
differentialBackupHours: integer ,
transactionLogBackupMinutes: integer ,
}
,
upgradeLockedUntil: string ,
monitoring:
{
enabled: boolean ,
}
,
migration:
{
assessment:
{
enabled: boolean ,
assessmentUploadTime: string ,
version: string ,
settings:
{
targetLocation: string ,
percentile: number ,
lookbackPeriodInDays: number ,
strategy: string ,
currency: string ,
discountPercentage: number ,
costOptions:
{
computeAndStorageCostOption: string ,
sqlLicenseCostOption: string ,
windowsLicenseCostOption: string ,
}
,
}
,
serverAssessments:
[
{
appliesToMigrationTargetPlatform: string ,
featureId: string ,
impactedObjects:
[
{
impactDetail: string ,
name: string ,
objectType: string ,
}
,
]
,
issueCategory: string ,
moreInformation: string ,
}
,
]
,
skuRecommendationResults:
{
azureSqlDatabase:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlManagedInstance:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlVirtualMachine:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
availableVmSkus:
[
string ,
]
,
virtualMachineFamily: string ,
}
,
computeSize: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
virtualMachineSize:
{
virtualMachineFamily: string ,
sizeName: string ,
computeSize: number ,
azureSkuName: string ,
vCPUsAvailable: number ,
maxNetworkInterfaces: number ,
}
,
dataDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
logDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
tempDbDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
}
,
}
,
}
,
impactedObjectsSummary:
{
azureSqlDatabase:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
azureSqlManagedInstance:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
}
,
}
,
}
,
bestPracticesAssessment:
{
enabled: boolean ,
schedule:
{
enabled: boolean ,
cronTrigger:
{
startTime: string ,
timeZone: string ,
expression: string ,
}
,
}
,
}
,
clientConnection:
{
enabled: boolean ,
}
,
serviceType: enum ,
maxServerMemoryMB: integer ,
isMicrosoftPkiCertTrustConfigured: boolean ,
isDigiCertPkiCertTrustConfigured: boolean ,
authentication:
{
mode: enum ,
sqlServerEntraIdentity:
[
{
identityType: enum ,
clientId: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerInstances_getTelemetry (new)
Description Retrieves SQL Server instance telemetry
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/getTelemetry
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
sqlServerInstanceTelemetryRequest:
{
datasetName: string ,
startTime: string ,
endTime: string ,
interval: string ,
aggregationType: enum ,
databaseNames:
[
string ,
]
,
}
,
api-version: string ,
}

⚐ Response (200)

{
columns:
[
{
name: string ,
type: enum ,
}
,
]
,
rows:
[
string ,
]
,
nextLink: string ,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerInstances_getBestPracticesAssessment (new)
Description Retrieves SQL best practices assessment results for the SQL Server instance.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/getBestPracticesAssessment
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
sqlServerInstanceBpaRequest:
{
reportType: enum ,
reportId: string ,
skipToken: string ,
}
,
api-version: string ,
}

⚐ Response (200)

{
columns:
[
{
name: string ,
type: enum ,
}
,
]
,
rows:
[
string ,
]
,
nextLink: string ,
}

⚐ Response (202)

{
location: string ,
azure-asyncoperation: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerInstances_runMigrationAssessment (new)
Description Runs migration assessment for SQL Server instance
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/runMigrationAssessment
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
instanceName: string ,
jobStatus: enum ,
jobException: string ,
backgroundJob:
{
state: enum ,
executionState: enum ,
startTime: string ,
endTime: string ,
lastExecutionStatus: enum ,
lastExecutionTime: string ,
}
,
sequencerActions:
[
{
actionId: string ,
state: enum ,
result: enum ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerInstances_runBestPracticesAssessment (new)
Description The request to run SQL best practices assessment.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/runBestPracticesAssessment
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
instanceName: string ,
jobStatus: enum ,
jobException: string ,
backgroundJob:
{
state: enum ,
executionState: enum ,
startTime: string ,
endTime: string ,
lastExecutionStatus: enum ,
lastExecutionTime: string ,
}
,
sequencerActions:
[
{
actionId: string ,
state: enum ,
result: enum ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerInstances_getJobsStatus (new)
Description Gets jobs status details for sql arc resource
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/getJobsStatus
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
SqlServerInstanceJobsStatusRequest:
{
featureName: string ,
jobType: string ,
}
,
api-version: string ,
}

⚐ Response (200)

{
jobsStatus:
[
{
id: string ,
instanceName: string ,
jobStatus: enum ,
jobException: string ,
backgroundJob:
{
state: enum ,
executionState: enum ,
startTime: string ,
endTime: string ,
lastExecutionStatus: enum ,
lastExecutionTime: string ,
}
,
sequencerActions:
[
{
actionId: string ,
state: enum ,
result: enum ,
}
,
]
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerInstances_preUpgrade (new)
Description Request Upgrade Permission before upgrading.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/preUpgrade
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
version: enum ,
edition: enum ,
containerResourceId: string ,
vmId: string ,
createTime: string ,
vCore: string ,
cores: string ,
status: enum ,
patchLevel: string ,
collation: string ,
dbMasterKeyExists: boolean ,
isHadrEnabled: boolean ,
traceFlags:
[
integer ,
]
,
currentVersion: string ,
instanceName: string ,
tcpDynamicPorts: string ,
tcpStaticPorts: string ,
productId: string ,
licenseType: enum ,
azureDefenderStatusLastUpdated: string ,
azureDefenderStatus: enum ,
provisioningState: string ,
lastInventoryUploadTime: string ,
lastUsageUploadTime: string ,
hostType: enum ,
alwaysOnRole: enum ,
databaseMirroringEndpoint:
{
endpointName: string ,
role: enum ,
isEncryptionEnabled: boolean ,
encryptionAlgorithm: enum ,
connectionAuth: enum ,
port: integer ,
isDynamicPort: boolean ,
ipAddress: string ,
certificateName: string ,
certificateExpiryDate: string ,
}
,
failoverCluster:
{
id: string ,
networkName: string ,
sqlInstanceIds:
[
string ,
]
,
hostNames:
[
string ,
]
,
hostIPAddresses:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
backupPolicy:
{
retentionPeriodDays: integer ,
fullBackupDays: integer ,
differentialBackupHours: integer ,
transactionLogBackupMinutes: integer ,
}
,
upgradeLockedUntil: string ,
monitoring:
{
enabled: boolean ,
}
,
migration:
{
assessment:
{
enabled: boolean ,
assessmentUploadTime: string ,
version: string ,
settings:
{
targetLocation: string ,
percentile: number ,
lookbackPeriodInDays: number ,
strategy: string ,
currency: string ,
discountPercentage: number ,
costOptions:
{
computeAndStorageCostOption: string ,
sqlLicenseCostOption: string ,
windowsLicenseCostOption: string ,
}
,
}
,
serverAssessments:
[
{
appliesToMigrationTargetPlatform: string ,
featureId: string ,
impactedObjects:
[
{
impactDetail: string ,
name: string ,
objectType: string ,
}
,
]
,
issueCategory: string ,
moreInformation: string ,
}
,
]
,
skuRecommendationResults:
{
azureSqlDatabase:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlManagedInstance:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlVirtualMachine:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
availableVmSkus:
[
string ,
]
,
virtualMachineFamily: string ,
}
,
computeSize: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
virtualMachineSize:
{
virtualMachineFamily: string ,
sizeName: string ,
computeSize: number ,
azureSkuName: string ,
vCPUsAvailable: number ,
maxNetworkInterfaces: number ,
}
,
dataDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
logDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
tempDbDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
}
,
}
,
}
,
impactedObjectsSummary:
{
azureSqlDatabase:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
azureSqlManagedInstance:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
}
,
}
,
}
,
bestPracticesAssessment:
{
enabled: boolean ,
schedule:
{
enabled: boolean ,
cronTrigger:
{
startTime: string ,
timeZone: string ,
expression: string ,
}
,
}
,
}
,
clientConnection:
{
enabled: boolean ,
}
,
serviceType: enum ,
maxServerMemoryMB: integer ,
isMicrosoftPkiCertTrustConfigured: boolean ,
isDigiCertPkiCertTrustConfigured: boolean ,
authentication:
{
mode: enum ,
sqlServerEntraIdentity:
[
{
identityType: enum ,
clientId: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerInstances_postUpgrade (new)
Description Clean up after upgrading.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/postUpgrade
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
version: enum ,
edition: enum ,
containerResourceId: string ,
vmId: string ,
createTime: string ,
vCore: string ,
cores: string ,
status: enum ,
patchLevel: string ,
collation: string ,
dbMasterKeyExists: boolean ,
isHadrEnabled: boolean ,
traceFlags:
[
integer ,
]
,
currentVersion: string ,
instanceName: string ,
tcpDynamicPorts: string ,
tcpStaticPorts: string ,
productId: string ,
licenseType: enum ,
azureDefenderStatusLastUpdated: string ,
azureDefenderStatus: enum ,
provisioningState: string ,
lastInventoryUploadTime: string ,
lastUsageUploadTime: string ,
hostType: enum ,
alwaysOnRole: enum ,
databaseMirroringEndpoint:
{
endpointName: string ,
role: enum ,
isEncryptionEnabled: boolean ,
encryptionAlgorithm: enum ,
connectionAuth: enum ,
port: integer ,
isDynamicPort: boolean ,
ipAddress: string ,
certificateName: string ,
certificateExpiryDate: string ,
}
,
failoverCluster:
{
id: string ,
networkName: string ,
sqlInstanceIds:
[
string ,
]
,
hostNames:
[
string ,
]
,
hostIPAddresses:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
backupPolicy:
{
retentionPeriodDays: integer ,
fullBackupDays: integer ,
differentialBackupHours: integer ,
transactionLogBackupMinutes: integer ,
}
,
upgradeLockedUntil: string ,
monitoring:
{
enabled: boolean ,
}
,
migration:
{
assessment:
{
enabled: boolean ,
assessmentUploadTime: string ,
version: string ,
settings:
{
targetLocation: string ,
percentile: number ,
lookbackPeriodInDays: number ,
strategy: string ,
currency: string ,
discountPercentage: number ,
costOptions:
{
computeAndStorageCostOption: string ,
sqlLicenseCostOption: string ,
windowsLicenseCostOption: string ,
}
,
}
,
serverAssessments:
[
{
appliesToMigrationTargetPlatform: string ,
featureId: string ,
impactedObjects:
[
{
impactDetail: string ,
name: string ,
objectType: string ,
}
,
]
,
issueCategory: string ,
moreInformation: string ,
}
,
]
,
skuRecommendationResults:
{
azureSqlDatabase:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlManagedInstance:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlVirtualMachine:
{
recommendationStatus: enum ,
numberOfServerBlockerIssues: integer ,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
availableVmSkus:
[
string ,
]
,
virtualMachineFamily: string ,
}
,
computeSize: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
virtualMachineSize:
{
virtualMachineFamily: string ,
sizeName: string ,
computeSize: number ,
azureSkuName: string ,
vCPUsAvailable: number ,
maxNetworkInterfaces: number ,
}
,
dataDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
logDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
tempDbDiskSizes:
[
{
diskType: string ,
redundancy: string ,
size: string ,
caching: string ,
maxSizeInGib: number ,
maxThroughputInMbps: number ,
maxIops: number ,
}
,
]
,
}
,
}
,
}
,
impactedObjectsSummary:
{
azureSqlDatabase:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
azureSqlManagedInstance:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
}
,
}
,
}
,
bestPracticesAssessment:
{
enabled: boolean ,
schedule:
{
enabled: boolean ,
cronTrigger:
{
startTime: string ,
timeZone: string ,
expression: string ,
}
,
}
,
}
,
clientConnection:
{
enabled: boolean ,
}
,
serviceType: enum ,
maxServerMemoryMB: integer ,
isMicrosoftPkiCertTrustConfigured: boolean ,
isDigiCertPkiCertTrustConfigured: boolean ,
authentication:
{
mode: enum ,
sqlServerEntraIdentity:
[
{
identityType: enum ,
clientId: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerInstances_runManagedInstanceLinkAssessment (new)
Description Runs Managed Instance Link assessment for SQL Server instance
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/runManagedInstanceLinkAssessment
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
sqlServerInstanceManagedInstanceLinkAssessmentRequest:
{
azureManagedInstanceResourceId: string ,
azureManagedInstanceRole: enum ,
databaseNames:
[
string ,
]
,
availabilityGroupName: string ,
distributedAvailabilityGroupName: string ,
assessmentCategories:
[
string ,
]
,
sqlServerIpAddress: string ,
}
,
api-version: string ,
}

⚐ Response (200)

{
assessments:
[
{
name: string ,
category: enum ,
status: enum ,
information: string ,
additionalInformation: string ,
failingDbs:
[
string ,
]
,
}
,
]
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerLicenses_List (new)
Description List sqlServerLicense resources in the subscription
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlServerLicenses
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
billingPlan: enum ,
physicalCores: integer ,
licenseCategory: enum ,
activationState: enum ,
scopeType: enum ,
lastActivatedAt: string ,
lastDeactivatedAt: string ,
tenantId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerLicenses_ListByResourceGroup (new)
Description Gets all sqlServerLicenses in a resource group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
billingPlan: enum ,
physicalCores: integer ,
licenseCategory: enum ,
activationState: enum ,
scopeType: enum ,
lastActivatedAt: string ,
lastDeactivatedAt: string ,
tenantId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerLicenses_Get (new)
Description Retrieves a SQL Server license resource
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerLicenses/{sqlServerLicenseName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerLicenseName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
billingPlan: enum ,
physicalCores: integer ,
licenseCategory: enum ,
activationState: enum ,
scopeType: enum ,
lastActivatedAt: string ,
lastDeactivatedAt: string ,
tenantId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerLicenses_Create (new)
Description Creates or replaces a SQL Server license resource
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerLicenses/{sqlServerLicenseName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerLicenseName: string ,
sqlServerLicense:
{
properties:
{
billingPlan: enum ,
physicalCores: integer ,
licenseCategory: enum ,
activationState: enum ,
scopeType: enum ,
lastActivatedAt: string ,
lastDeactivatedAt: string ,
tenantId: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
billingPlan: enum ,
physicalCores: integer ,
licenseCategory: enum ,
activationState: enum ,
scopeType: enum ,
lastActivatedAt: string ,
lastDeactivatedAt: string ,
tenantId: string ,
}
,
}

⚐ Response (201)

{
properties:
{
billingPlan: enum ,
physicalCores: integer ,
licenseCategory: enum ,
activationState: enum ,
scopeType: enum ,
lastActivatedAt: string ,
lastDeactivatedAt: string ,
tenantId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerLicenses_Delete (new)
Description Deletes a SQL Server license resource
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerLicenses/{sqlServerLicenseName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerLicenseName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

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

⚐ Response (204)

{}
SqlServerLicenses_Update (new)
Description Updates a SQL Server license resource
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerLicenses/{sqlServerLicenseName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerLicenseName: string ,
parameters:
{
tags: object ,
properties:
{
billingPlan: enum ,
physicalCores: integer ,
licenseCategory: enum ,
activationState: enum ,
scopeType: enum ,
lastActivatedAt: string ,
lastDeactivatedAt: string ,
tenantId: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
billingPlan: enum ,
physicalCores: integer ,
licenseCategory: enum ,
activationState: enum ,
scopeType: enum ,
lastActivatedAt: string ,
lastDeactivatedAt: string ,
tenantId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataControllers_ListInSubscription (new)
Description List dataController resources in the subscription
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/dataControllers
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
infrastructure: enum ,
onPremiseProperty:
{
id: string ,
publicSigningKey: string ,
signingCertificateThumbprint: string ,
}
,
k8sRaw: object ,
uploadWatermark:
{
metrics: string ,
logs: string ,
usages: string ,
}
,
lastUploadedDate: string ,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
metricsDashboardCredential:
{
username: string ,
password: string ,
}
,
logsDashboardCredential:
{
username: string ,
password: string ,
}
,
logAnalyticsWorkspaceConfig:
{
workspaceId: string ,
primaryKey: string ,
}
,
uploadServicePrincipal:
{
clientId: string ,
tenantId: string ,
authority: string ,
clientSecret: string ,
}
,
provisioningState: string ,
clusterId: string ,
extensionId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataControllers_ListInGroup (new)
Description List dataController resources in the resource group
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
infrastructure: enum ,
onPremiseProperty:
{
id: string ,
publicSigningKey: string ,
signingCertificateThumbprint: string ,
}
,
k8sRaw: object ,
uploadWatermark:
{
metrics: string ,
logs: string ,
usages: string ,
}
,
lastUploadedDate: string ,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
metricsDashboardCredential:
{
username: string ,
password: string ,
}
,
logsDashboardCredential:
{
username: string ,
password: string ,
}
,
logAnalyticsWorkspaceConfig:
{
workspaceId: string ,
primaryKey: string ,
}
,
uploadServicePrincipal:
{
clientId: string ,
tenantId: string ,
authority: string ,
clientSecret: string ,
}
,
provisioningState: string ,
clusterId: string ,
extensionId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataControllers_PutDataController (new)
Description Creates or replaces a dataController resource
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}
{
subscriptionId: string ,
resourceGroupName: string ,
dataControllerResource:
{
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
infrastructure: enum ,
onPremiseProperty:
{
id: string ,
publicSigningKey: string ,
signingCertificateThumbprint: string ,
}
,
k8sRaw: object ,
uploadWatermark:
{
metrics: string ,
logs: string ,
usages: string ,
}
,
lastUploadedDate: string ,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
metricsDashboardCredential:
{
username: string ,
password: string ,
}
,
logsDashboardCredential:
{
username: string ,
password: string ,
}
,
logAnalyticsWorkspaceConfig:
{
workspaceId: string ,
primaryKey: string ,
}
,
uploadServicePrincipal:
{
clientId: string ,
tenantId: string ,
authority: string ,
clientSecret: string ,
}
,
provisioningState: string ,
clusterId: string ,
extensionId: string ,
}
,
}
,
dataControllerName: string ,
api-version: string ,
}

⚐ Response (200)

{
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
infrastructure: enum ,
onPremiseProperty:
{
id: string ,
publicSigningKey: string ,
signingCertificateThumbprint: string ,
}
,
k8sRaw: object ,
uploadWatermark:
{
metrics: string ,
logs: string ,
usages: string ,
}
,
lastUploadedDate: string ,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
metricsDashboardCredential:
{
username: string ,
password: string ,
}
,
logsDashboardCredential:
{
username: string ,
password: string ,
}
,
logAnalyticsWorkspaceConfig:
{
workspaceId: string ,
primaryKey: string ,
}
,
uploadServicePrincipal:
{
clientId: string ,
tenantId: string ,
authority: string ,
clientSecret: string ,
}
,
provisioningState: string ,
clusterId: string ,
extensionId: string ,
}
,
}

⚐ Response (201)

{
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
infrastructure: enum ,
onPremiseProperty:
{
id: string ,
publicSigningKey: string ,
signingCertificateThumbprint: string ,
}
,
k8sRaw: object ,
uploadWatermark:
{
metrics: string ,
logs: string ,
usages: string ,
}
,
lastUploadedDate: string ,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
metricsDashboardCredential:
{
username: string ,
password: string ,
}
,
logsDashboardCredential:
{
username: string ,
password: string ,
}
,
logAnalyticsWorkspaceConfig:
{
workspaceId: string ,
primaryKey: string ,
}
,
uploadServicePrincipal:
{
clientId: string ,
tenantId: string ,
authority: string ,
clientSecret: string ,
}
,
provisioningState: string ,
clusterId: string ,
extensionId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataControllers_DeleteDataController (new)
Description Deletes a dataController resource
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}
{
subscriptionId: string ,
resourceGroupName: string ,
dataControllerName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

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

⚐ Response (204)

{}
DataControllers_GetDataController (new)
Description Retrieves a dataController resource
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}
{
subscriptionId: string ,
resourceGroupName: string ,
dataControllerName: string ,
api-version: string ,
}

⚐ Response (200)

{
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
infrastructure: enum ,
onPremiseProperty:
{
id: string ,
publicSigningKey: string ,
signingCertificateThumbprint: string ,
}
,
k8sRaw: object ,
uploadWatermark:
{
metrics: string ,
logs: string ,
usages: string ,
}
,
lastUploadedDate: string ,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
metricsDashboardCredential:
{
username: string ,
password: string ,
}
,
logsDashboardCredential:
{
username: string ,
password: string ,
}
,
logAnalyticsWorkspaceConfig:
{
workspaceId: string ,
primaryKey: string ,
}
,
uploadServicePrincipal:
{
clientId: string ,
tenantId: string ,
authority: string ,
clientSecret: string ,
}
,
provisioningState: string ,
clusterId: string ,
extensionId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataControllers_PatchDataController (new)
Description Updates a dataController resource
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}
{
subscriptionId: string ,
resourceGroupName: string ,
dataControllerName: string ,
api-version: string ,
dataControllerResource:
{
tags: object ,
properties:
{
infrastructure: enum ,
onPremiseProperty:
{
id: string ,
publicSigningKey: string ,
signingCertificateThumbprint: string ,
}
,
k8sRaw: object ,
uploadWatermark:
{
metrics: string ,
logs: string ,
usages: string ,
}
,
lastUploadedDate: string ,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
metricsDashboardCredential:
{
username: string ,
password: string ,
}
,
logsDashboardCredential:
{
username: string ,
password: string ,
}
,
logAnalyticsWorkspaceConfig:
{
workspaceId: string ,
primaryKey: string ,
}
,
uploadServicePrincipal:
{
clientId: string ,
tenantId: string ,
authority: string ,
clientSecret: string ,
}
,
provisioningState: string ,
clusterId: string ,
extensionId: string ,
}
,
}
,
}

⚐ Response (200)

{
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
infrastructure: enum ,
onPremiseProperty:
{
id: string ,
publicSigningKey: string ,
signingCertificateThumbprint: string ,
}
,
k8sRaw: object ,
uploadWatermark:
{
metrics: string ,
logs: string ,
usages: string ,
}
,
lastUploadedDate: string ,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
metricsDashboardCredential:
{
username: string ,
password: string ,
}
,
logsDashboardCredential:
{
username: string ,
password: string ,
}
,
logAnalyticsWorkspaceConfig:
{
workspaceId: string ,
primaryKey: string ,
}
,
uploadServicePrincipal:
{
clientId: string ,
tenantId: string ,
authority: string ,
clientSecret: string ,
}
,
provisioningState: string ,
clusterId: string ,
extensionId: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ActiveDirectoryConnectors_List (new)
Description List the active directory connectors associated with the given data controller.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors
{
subscriptionId: string ,
resourceGroupName: string ,
dataControllerName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
domainServiceAccountLoginInformation:
{
username: string ,
password: string ,
}
,
provisioningState: string ,
spec:
{
activeDirectory:
{
realm: string ,
netbiosDomainName: string ,
serviceAccountProvisioning: enum ,
ouDistinguishedName: string ,
domainControllers:
{
primaryDomainController:
{
hostname: string ,
}
,
secondaryDomainControllers:
[
{
hostname: string ,
}
,
]
,
}
,
}
,
dns:
{
domainName: string ,
nameserverIPAddresses:
[
string ,
]
,
replicas: integer ,
preferK8sDnsForPtrLookups: boolean ,
}
,
}
,
status:
{
lastUpdateTime: string ,
observedGeneration: integer ,
state: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ActiveDirectoryConnectors_Create (new)
Description Creates or replaces an Active Directory connector resource.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}
{
subscriptionId: string ,
resourceGroupName: string ,
activeDirectoryConnectorResource:
{
properties:
{
domainServiceAccountLoginInformation:
{
username: string ,
password: string ,
}
,
provisioningState: string ,
spec:
{
activeDirectory:
{
realm: string ,
netbiosDomainName: string ,
serviceAccountProvisioning: enum ,
ouDistinguishedName: string ,
domainControllers:
{
primaryDomainController:
{
hostname: string ,
}
,
secondaryDomainControllers:
[
{
hostname: string ,
}
,
]
,
}
,
}
,
dns:
{
domainName: string ,
nameserverIPAddresses:
[
string ,
]
,
replicas: integer ,
preferK8sDnsForPtrLookups: boolean ,
}
,
}
,
status:
{
lastUpdateTime: string ,
observedGeneration: integer ,
state: string ,
}
,
}
,
}
,
dataControllerName: string ,
activeDirectoryConnectorName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
domainServiceAccountLoginInformation:
{
username: string ,
password: string ,
}
,
provisioningState: string ,
spec:
{
activeDirectory:
{
realm: string ,
netbiosDomainName: string ,
serviceAccountProvisioning: enum ,
ouDistinguishedName: string ,
domainControllers:
{
primaryDomainController:
{
hostname: string ,
}
,
secondaryDomainControllers:
[
{
hostname: string ,
}
,
]
,
}
,
}
,
dns:
{
domainName: string ,
nameserverIPAddresses:
[
string ,
]
,
replicas: integer ,
preferK8sDnsForPtrLookups: boolean ,
}
,
}
,
status:
{
lastUpdateTime: string ,
observedGeneration: integer ,
state: string ,
}
,
}
,
}

⚐ Response (201)

{
properties:
{
domainServiceAccountLoginInformation:
{
username: string ,
password: string ,
}
,
provisioningState: string ,
spec:
{
activeDirectory:
{
realm: string ,
netbiosDomainName: string ,
serviceAccountProvisioning: enum ,
ouDistinguishedName: string ,
domainControllers:
{
primaryDomainController:
{
hostname: string ,
}
,
secondaryDomainControllers:
[
{
hostname: string ,
}
,
]
,
}
,
}
,
dns:
{
domainName: string ,
nameserverIPAddresses:
[
string ,
]
,
replicas: integer ,
preferK8sDnsForPtrLookups: boolean ,
}
,
}
,
status:
{
lastUpdateTime: string ,
observedGeneration: integer ,
state: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ActiveDirectoryConnectors_Delete (new)
Description Deletes an Active Directory connector resource
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}
{
subscriptionId: string ,
resourceGroupName: string ,
dataControllerName: string ,
activeDirectoryConnectorName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

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

⚐ Response (204)

{}
ActiveDirectoryConnectors_Get (new)
Description Retrieves an Active Directory connector resource
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/dataControllers/{dataControllerName}/activeDirectoryConnectors/{activeDirectoryConnectorName}
{
subscriptionId: string ,
resourceGroupName: string ,
dataControllerName: string ,
activeDirectoryConnectorName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
domainServiceAccountLoginInformation:
{
username: string ,
password: string ,
}
,
provisioningState: string ,
spec:
{
activeDirectory:
{
realm: string ,
netbiosDomainName: string ,
serviceAccountProvisioning: enum ,
ouDistinguishedName: string ,
domainControllers:
{
primaryDomainController:
{
hostname: string ,
}
,
secondaryDomainControllers:
[
{
hostname: string ,
}
,
]
,
}
,
}
,
dns:
{
domainName: string ,
nameserverIPAddresses:
[
string ,
]
,
replicas: integer ,
preferK8sDnsForPtrLookups: boolean ,
}
,
}
,
status:
{
lastUpdateTime: string ,
observedGeneration: integer ,
state: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PostgresInstances_List (new)
Description List postgres Instance resources in the subscription
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/postgresInstances
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
dataControllerId: string ,
admin: string ,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
k8sRaw: object ,
lastUploadedDate: string ,
provisioningState: string ,
}
,
sku:
{
tier: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PostgresInstances_ListByResourceGroup (new)
Description Get a postgres Instances list by Resource group name.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
dataControllerId: string ,
admin: string ,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
k8sRaw: object ,
lastUploadedDate: string ,
provisioningState: string ,
}
,
sku:
{
tier: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PostgresInstances_Get (new)
Description Retrieves a postgres Instance resource
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}
{
subscriptionId: string ,
resourceGroupName: string ,
postgresInstanceName: string ,
api-version: string ,
}

⚐ Response (200)

{
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
dataControllerId: string ,
admin: string ,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
k8sRaw: object ,
lastUploadedDate: string ,
provisioningState: string ,
}
,
sku:
{
tier: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PostgresInstances_Create (new)
Description Creates or replaces a postgres Instance resource
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}
{
subscriptionId: string ,
resourceGroupName: string ,
postgresInstanceName: string ,
api-version: string ,
resource:
{
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
dataControllerId: string ,
admin: string ,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
k8sRaw: object ,
lastUploadedDate: string ,
provisioningState: string ,
}
,
sku:
{
tier: enum ,
}
,
}
,
}

⚐ Response (200)

{
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
dataControllerId: string ,
admin: string ,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
k8sRaw: object ,
lastUploadedDate: string ,
provisioningState: string ,
}
,
sku:
{
tier: enum ,
}
,
}

⚐ Response (201)

{
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
dataControllerId: string ,
admin: string ,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
k8sRaw: object ,
lastUploadedDate: string ,
provisioningState: string ,
}
,
sku:
{
tier: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PostgresInstances_Delete (new)
Description Deletes a postgres Instance resource
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}
{
subscriptionId: string ,
resourceGroupName: string ,
postgresInstanceName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

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

⚐ Response (204)

{}
PostgresInstances_Update (new)
Description Updates a postgres Instance resource
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/postgresInstances/{postgresInstanceName}
{
subscriptionId: string ,
resourceGroupName: string ,
postgresInstanceName: string ,
parameters:
{
tags: object ,
properties:
{
dataControllerId: string ,
admin: string ,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
k8sRaw: object ,
lastUploadedDate: string ,
provisioningState: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
dataControllerId: string ,
admin: string ,
basicLoginInformation:
{
username: string ,
password: string ,
}
,
k8sRaw: object ,
lastUploadedDate: string ,
provisioningState: string ,
}
,
sku:
{
tier: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerAvailabilityGroups_Create (new)
Description Creates or replaces an Arc Sql Server Availability Group.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerAvailabilityGroupResource:
{
properties:
{
availabilityGroupId: string ,
serverName: string ,
instanceName: string ,
vmId: string ,
collectionTimestamp: string ,
info:
{
failureConditionLevel: integer ,
healthCheckTimeout: integer ,
automatedBackupPreferenceDescription: string ,
version: integer ,
basicFeatures: boolean ,
dtcSupport: boolean ,
dbFailover: boolean ,
isDistributed: boolean ,
clusterTypeDescription: string ,
requiredSynchronizedSecondariesToCommit: integer ,
isContained: boolean ,
primaryReplica: string ,
primaryRecoveryHealthDescription: string ,
secondaryRecoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
replicationPartnerType: enum ,
listener:
{
dnsName: string ,
ipV4AddressesAndMasks:
[
{
ipAddress: string ,
mask: string ,
}
,
]
,
ipV6Addresses:
[
string ,
]
,
port: integer ,
}
,
}
,
replicas:
{
value:
[
{
replicaId: string ,
replicaName: string ,
replicaResourceId: string ,
configure:
{
endpointName: string ,
endpointUrl: string ,
endpointAuthenticationMode: enum ,
certificateName: string ,
endpointConnectLogin: string ,
availabilityMode: enum ,
availabilityModeDescription: string ,
failoverMode: enum ,
failoverModeDescription: string ,
sessionTimeout: integer ,
primaryAllowConnections: enum ,
primaryRoleAllowConnectionsDescription: string ,
secondaryAllowConnections: enum ,
secondaryRoleAllowConnectionsDescription: string ,
replicaCreateDate: string ,
replicaModifyDate: string ,
backupPriority: integer ,
readOnlyRoutingUrl: string ,
readWriteRoutingUrl: string ,
seedingMode: enum ,
seedingModeDescription: string ,
}
,
state:
{
availabilityGroupReplicaRole: string ,
operationalStateDescription: string ,
recoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
connectedStateDescription: string ,
lastConnectErrorDescription: string ,
lastConnectErrorTimestamp: string ,
}
,
}
,
]
,
nextLink: string ,
}
,
databases:
{
value:
[
{
databaseName: string ,
replicaName: string ,
isLocal: boolean ,
isPrimaryReplica: boolean ,
synchronizationStateDescription: string ,
isCommitParticipant: boolean ,
synchronizationHealthDescription: string ,
databaseStateDescription: string ,
isSuspended: boolean ,
suspendReasonDescription: string ,
}
,
]
,
nextLink: string ,
}
,
provisioningState: string ,
}
,
}
,
sqlServerInstanceName: string ,
availabilityGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
availabilityGroupId: string ,
serverName: string ,
instanceName: string ,
vmId: string ,
collectionTimestamp: string ,
info:
{
failureConditionLevel: integer ,
healthCheckTimeout: integer ,
automatedBackupPreferenceDescription: string ,
version: integer ,
basicFeatures: boolean ,
dtcSupport: boolean ,
dbFailover: boolean ,
isDistributed: boolean ,
clusterTypeDescription: string ,
requiredSynchronizedSecondariesToCommit: integer ,
isContained: boolean ,
primaryReplica: string ,
primaryRecoveryHealthDescription: string ,
secondaryRecoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
replicationPartnerType: enum ,
listener:
{
dnsName: string ,
ipV4AddressesAndMasks:
[
{
ipAddress: string ,
mask: string ,
}
,
]
,
ipV6Addresses:
[
string ,
]
,
port: integer ,
}
,
}
,
replicas:
{
value:
[
{
replicaId: string ,
replicaName: string ,
replicaResourceId: string ,
configure:
{
endpointName: string ,
endpointUrl: string ,
endpointAuthenticationMode: enum ,
certificateName: string ,
endpointConnectLogin: string ,
availabilityMode: enum ,
availabilityModeDescription: string ,
failoverMode: enum ,
failoverModeDescription: string ,
sessionTimeout: integer ,
primaryAllowConnections: enum ,
primaryRoleAllowConnectionsDescription: string ,
secondaryAllowConnections: enum ,
secondaryRoleAllowConnectionsDescription: string ,
replicaCreateDate: string ,
replicaModifyDate: string ,
backupPriority: integer ,
readOnlyRoutingUrl: string ,
readWriteRoutingUrl: string ,
seedingMode: enum ,
seedingModeDescription: string ,
}
,
state:
{
availabilityGroupReplicaRole: string ,
operationalStateDescription: string ,
recoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
connectedStateDescription: string ,
lastConnectErrorDescription: string ,
lastConnectErrorTimestamp: string ,
}
,
}
,
]
,
nextLink: string ,
}
,
databases:
{
value:
[
{
databaseName: string ,
replicaName: string ,
isLocal: boolean ,
isPrimaryReplica: boolean ,
synchronizationStateDescription: string ,
isCommitParticipant: boolean ,
synchronizationHealthDescription: string ,
databaseStateDescription: string ,
isSuspended: boolean ,
suspendReasonDescription: string ,
}
,
]
,
nextLink: string ,
}
,
provisioningState: string ,
}
,
}

⚐ Response (201)

{
properties:
{
availabilityGroupId: string ,
serverName: string ,
instanceName: string ,
vmId: string ,
collectionTimestamp: string ,
info:
{
failureConditionLevel: integer ,
healthCheckTimeout: integer ,
automatedBackupPreferenceDescription: string ,
version: integer ,
basicFeatures: boolean ,
dtcSupport: boolean ,
dbFailover: boolean ,
isDistributed: boolean ,
clusterTypeDescription: string ,
requiredSynchronizedSecondariesToCommit: integer ,
isContained: boolean ,
primaryReplica: string ,
primaryRecoveryHealthDescription: string ,
secondaryRecoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
replicationPartnerType: enum ,
listener:
{
dnsName: string ,
ipV4AddressesAndMasks:
[
{
ipAddress: string ,
mask: string ,
}
,
]
,
ipV6Addresses:
[
string ,
]
,
port: integer ,
}
,
}
,
replicas:
{
value:
[
{
replicaId: string ,
replicaName: string ,
replicaResourceId: string ,
configure:
{
endpointName: string ,
endpointUrl: string ,
endpointAuthenticationMode: enum ,
certificateName: string ,
endpointConnectLogin: string ,
availabilityMode: enum ,
availabilityModeDescription: string ,
failoverMode: enum ,
failoverModeDescription: string ,
sessionTimeout: integer ,
primaryAllowConnections: enum ,
primaryRoleAllowConnectionsDescription: string ,
secondaryAllowConnections: enum ,
secondaryRoleAllowConnectionsDescription: string ,
replicaCreateDate: string ,
replicaModifyDate: string ,
backupPriority: integer ,
readOnlyRoutingUrl: string ,
readWriteRoutingUrl: string ,
seedingMode: enum ,
seedingModeDescription: string ,
}
,
state:
{
availabilityGroupReplicaRole: string ,
operationalStateDescription: string ,
recoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
connectedStateDescription: string ,
lastConnectErrorDescription: string ,
lastConnectErrorTimestamp: string ,
}
,
}
,
]
,
nextLink: string ,
}
,
databases:
{
value:
[
{
databaseName: string ,
replicaName: string ,
isLocal: boolean ,
isPrimaryReplica: boolean ,
synchronizationStateDescription: string ,
isCommitParticipant: boolean ,
synchronizationHealthDescription: string ,
databaseStateDescription: string ,
isSuspended: boolean ,
suspendReasonDescription: string ,
}
,
]
,
nextLink: string ,
}
,
provisioningState: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerAvailabilityGroups_Delete (new)
Description Deletes an Arc Sql Server availability group resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
availabilityGroupName: string ,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerAvailabilityGroups_Get (new)
Description Retrieves an Arc Sql Server availability group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
availabilityGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
availabilityGroupId: string ,
serverName: string ,
instanceName: string ,
vmId: string ,
collectionTimestamp: string ,
info:
{
failureConditionLevel: integer ,
healthCheckTimeout: integer ,
automatedBackupPreferenceDescription: string ,
version: integer ,
basicFeatures: boolean ,
dtcSupport: boolean ,
dbFailover: boolean ,
isDistributed: boolean ,
clusterTypeDescription: string ,
requiredSynchronizedSecondariesToCommit: integer ,
isContained: boolean ,
primaryReplica: string ,
primaryRecoveryHealthDescription: string ,
secondaryRecoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
replicationPartnerType: enum ,
listener:
{
dnsName: string ,
ipV4AddressesAndMasks:
[
{
ipAddress: string ,
mask: string ,
}
,
]
,
ipV6Addresses:
[
string ,
]
,
port: integer ,
}
,
}
,
replicas:
{
value:
[
{
replicaId: string ,
replicaName: string ,
replicaResourceId: string ,
configure:
{
endpointName: string ,
endpointUrl: string ,
endpointAuthenticationMode: enum ,
certificateName: string ,
endpointConnectLogin: string ,
availabilityMode: enum ,
availabilityModeDescription: string ,
failoverMode: enum ,
failoverModeDescription: string ,
sessionTimeout: integer ,
primaryAllowConnections: enum ,
primaryRoleAllowConnectionsDescription: string ,
secondaryAllowConnections: enum ,
secondaryRoleAllowConnectionsDescription: string ,
replicaCreateDate: string ,
replicaModifyDate: string ,
backupPriority: integer ,
readOnlyRoutingUrl: string ,
readWriteRoutingUrl: string ,
seedingMode: enum ,
seedingModeDescription: string ,
}
,
state:
{
availabilityGroupReplicaRole: string ,
operationalStateDescription: string ,
recoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
connectedStateDescription: string ,
lastConnectErrorDescription: string ,
lastConnectErrorTimestamp: string ,
}
,
}
,
]
,
nextLink: string ,
}
,
databases:
{
value:
[
{
databaseName: string ,
replicaName: string ,
isLocal: boolean ,
isPrimaryReplica: boolean ,
synchronizationStateDescription: string ,
isCommitParticipant: boolean ,
synchronizationHealthDescription: string ,
databaseStateDescription: string ,
isSuspended: boolean ,
suspendReasonDescription: string ,
}
,
]
,
nextLink: string ,
}
,
provisioningState: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerAvailabilityGroups_Update (new)
Description Updates an existing Availability Group.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
availabilityGroupName: string ,
api-version: string ,
sqlServerAvailabilityGroupUpdate:
{
tags: object ,
properties:
{
availabilityGroupId: string ,
serverName: string ,
instanceName: string ,
vmId: string ,
collectionTimestamp: string ,
info:
{
failureConditionLevel: integer ,
healthCheckTimeout: integer ,
automatedBackupPreferenceDescription: string ,
version: integer ,
basicFeatures: boolean ,
dtcSupport: boolean ,
dbFailover: boolean ,
isDistributed: boolean ,
clusterTypeDescription: string ,
requiredSynchronizedSecondariesToCommit: integer ,
isContained: boolean ,
primaryReplica: string ,
primaryRecoveryHealthDescription: string ,
secondaryRecoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
replicationPartnerType: enum ,
listener:
{
dnsName: string ,
ipV4AddressesAndMasks:
[
{
ipAddress: string ,
mask: string ,
}
,
]
,
ipV6Addresses:
[
string ,
]
,
port: integer ,
}
,
}
,
replicas:
{
value:
[
{
replicaId: string ,
replicaName: string ,
replicaResourceId: string ,
configure:
{
endpointName: string ,
endpointUrl: string ,
endpointAuthenticationMode: enum ,
certificateName: string ,
endpointConnectLogin: string ,
availabilityMode: enum ,
availabilityModeDescription: string ,
failoverMode: enum ,
failoverModeDescription: string ,
sessionTimeout: integer ,
primaryAllowConnections: enum ,
primaryRoleAllowConnectionsDescription: string ,
secondaryAllowConnections: enum ,
secondaryRoleAllowConnectionsDescription: string ,
replicaCreateDate: string ,
replicaModifyDate: string ,
backupPriority: integer ,
readOnlyRoutingUrl: string ,
readWriteRoutingUrl: string ,
seedingMode: enum ,
seedingModeDescription: string ,
}
,
state:
{
availabilityGroupReplicaRole: string ,
operationalStateDescription: string ,
recoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
connectedStateDescription: string ,
lastConnectErrorDescription: string ,
lastConnectErrorTimestamp: string ,
}
,
}
,
]
,
nextLink: string ,
}
,
databases:
{
value:
[
{
databaseName: string ,
replicaName: string ,
isLocal: boolean ,
isPrimaryReplica: boolean ,
synchronizationStateDescription: string ,
isCommitParticipant: boolean ,
synchronizationHealthDescription: string ,
databaseStateDescription: string ,
isSuspended: boolean ,
suspendReasonDescription: string ,
}
,
]
,
nextLink: string ,
}
,
provisioningState: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
availabilityGroupId: string ,
serverName: string ,
instanceName: string ,
vmId: string ,
collectionTimestamp: string ,
info:
{
failureConditionLevel: integer ,
healthCheckTimeout: integer ,
automatedBackupPreferenceDescription: string ,
version: integer ,
basicFeatures: boolean ,
dtcSupport: boolean ,
dbFailover: boolean ,
isDistributed: boolean ,
clusterTypeDescription: string ,
requiredSynchronizedSecondariesToCommit: integer ,
isContained: boolean ,
primaryReplica: string ,
primaryRecoveryHealthDescription: string ,
secondaryRecoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
replicationPartnerType: enum ,
listener:
{
dnsName: string ,
ipV4AddressesAndMasks:
[
{
ipAddress: string ,
mask: string ,
}
,
]
,
ipV6Addresses:
[
string ,
]
,
port: integer ,
}
,
}
,
replicas:
{
value:
[
{
replicaId: string ,
replicaName: string ,
replicaResourceId: string ,
configure:
{
endpointName: string ,
endpointUrl: string ,
endpointAuthenticationMode: enum ,
certificateName: string ,
endpointConnectLogin: string ,
availabilityMode: enum ,
availabilityModeDescription: string ,
failoverMode: enum ,
failoverModeDescription: string ,
sessionTimeout: integer ,
primaryAllowConnections: enum ,
primaryRoleAllowConnectionsDescription: string ,
secondaryAllowConnections: enum ,
secondaryRoleAllowConnectionsDescription: string ,
replicaCreateDate: string ,
replicaModifyDate: string ,
backupPriority: integer ,
readOnlyRoutingUrl: string ,
readWriteRoutingUrl: string ,
seedingMode: enum ,
seedingModeDescription: string ,
}
,
state:
{
availabilityGroupReplicaRole: string ,
operationalStateDescription: string ,
recoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
connectedStateDescription: string ,
lastConnectErrorDescription: string ,
lastConnectErrorTimestamp: string ,
}
,
}
,
]
,
nextLink: string ,
}
,
databases:
{
value:
[
{
databaseName: string ,
replicaName: string ,
isLocal: boolean ,
isPrimaryReplica: boolean ,
synchronizationStateDescription: string ,
isCommitParticipant: boolean ,
synchronizationHealthDescription: string ,
databaseStateDescription: string ,
isSuspended: boolean ,
suspendReasonDescription: string ,
}
,
]
,
nextLink: string ,
}
,
provisioningState: string ,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerAvailabilityGroups_DetailView (new)
Description Retrieves detailed properties of the Availability Group.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}/getDetailView
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
availabilityGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
availabilityGroupId: string ,
serverName: string ,
instanceName: string ,
vmId: string ,
collectionTimestamp: string ,
info:
{
failureConditionLevel: integer ,
healthCheckTimeout: integer ,
automatedBackupPreferenceDescription: string ,
version: integer ,
basicFeatures: boolean ,
dtcSupport: boolean ,
dbFailover: boolean ,
isDistributed: boolean ,
clusterTypeDescription: string ,
requiredSynchronizedSecondariesToCommit: integer ,
isContained: boolean ,
primaryReplica: string ,
primaryRecoveryHealthDescription: string ,
secondaryRecoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
replicationPartnerType: enum ,
listener:
{
dnsName: string ,
ipV4AddressesAndMasks:
[
{
ipAddress: string ,
mask: string ,
}
,
]
,
ipV6Addresses:
[
string ,
]
,
port: integer ,
}
,
}
,
replicas:
{
value:
[
{
replicaId: string ,
replicaName: string ,
replicaResourceId: string ,
configure:
{
endpointName: string ,
endpointUrl: string ,
endpointAuthenticationMode: enum ,
certificateName: string ,
endpointConnectLogin: string ,
availabilityMode: enum ,
availabilityModeDescription: string ,
failoverMode: enum ,
failoverModeDescription: string ,
sessionTimeout: integer ,
primaryAllowConnections: enum ,
primaryRoleAllowConnectionsDescription: string ,
secondaryAllowConnections: enum ,
secondaryRoleAllowConnectionsDescription: string ,
replicaCreateDate: string ,
replicaModifyDate: string ,
backupPriority: integer ,
readOnlyRoutingUrl: string ,
readWriteRoutingUrl: string ,
seedingMode: enum ,
seedingModeDescription: string ,
}
,
state:
{
availabilityGroupReplicaRole: string ,
operationalStateDescription: string ,
recoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
connectedStateDescription: string ,
lastConnectErrorDescription: string ,
lastConnectErrorTimestamp: string ,
}
,
}
,
]
,
nextLink: string ,
}
,
databases:
{
value:
[
{
databaseName: string ,
replicaName: string ,
isLocal: boolean ,
isPrimaryReplica: boolean ,
synchronizationStateDescription: string ,
isCommitParticipant: boolean ,
synchronizationHealthDescription: string ,
databaseStateDescription: string ,
isSuspended: boolean ,
suspendReasonDescription: string ,
}
,
]
,
nextLink: string ,
}
,
provisioningState: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerInstances_GetAllAvailabilityGroups (new)
Description Retrieves full properties of all the Availability Groups in a SQL Server instance.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/getAllAvailabilityGroups
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
api-version: string ,
availabilityGroupRetrievalFilters:
{
availabilityGroupTypeFilter: enum ,
replicationPartnerTypeFilter: enum ,
}
,
}

⚐ Response (200)

{
value:
[
{
properties:
{
availabilityGroupId: string ,
serverName: string ,
instanceName: string ,
vmId: string ,
collectionTimestamp: string ,
info:
{
failureConditionLevel: integer ,
healthCheckTimeout: integer ,
automatedBackupPreferenceDescription: string ,
version: integer ,
basicFeatures: boolean ,
dtcSupport: boolean ,
dbFailover: boolean ,
isDistributed: boolean ,
clusterTypeDescription: string ,
requiredSynchronizedSecondariesToCommit: integer ,
isContained: boolean ,
primaryReplica: string ,
primaryRecoveryHealthDescription: string ,
secondaryRecoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
replicationPartnerType: enum ,
listener:
{
dnsName: string ,
ipV4AddressesAndMasks:
[
{
ipAddress: string ,
mask: string ,
}
,
]
,
ipV6Addresses:
[
string ,
]
,
port: integer ,
}
,
}
,
replicas:
{
value:
[
{
replicaId: string ,
replicaName: string ,
replicaResourceId: string ,
configure:
{
endpointName: string ,
endpointUrl: string ,
endpointAuthenticationMode: enum ,
certificateName: string ,
endpointConnectLogin: string ,
availabilityMode: enum ,
availabilityModeDescription: string ,
failoverMode: enum ,
failoverModeDescription: string ,
sessionTimeout: integer ,
primaryAllowConnections: enum ,
primaryRoleAllowConnectionsDescription: string ,
secondaryAllowConnections: enum ,
secondaryRoleAllowConnectionsDescription: string ,
replicaCreateDate: string ,
replicaModifyDate: string ,
backupPriority: integer ,
readOnlyRoutingUrl: string ,
readWriteRoutingUrl: string ,
seedingMode: enum ,
seedingModeDescription: string ,
}
,
state:
{
availabilityGroupReplicaRole: string ,
operationalStateDescription: string ,
recoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
connectedStateDescription: string ,
lastConnectErrorDescription: string ,
lastConnectErrorTimestamp: string ,
}
,
}
,
]
,
nextLink: string ,
}
,
databases:
{
value:
[
{
databaseName: string ,
replicaName: string ,
isLocal: boolean ,
isPrimaryReplica: boolean ,
synchronizationStateDescription: string ,
isCommitParticipant: boolean ,
synchronizationHealthDescription: string ,
databaseStateDescription: string ,
isSuspended: boolean ,
suspendReasonDescription: string ,
}
,
]
,
nextLink: string ,
}
,
provisioningState: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerAvailabilityGroups_Failover (new)
Description Request manual failover of the availability group to this server.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}/failover
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
availabilityGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
availabilityGroupId: string ,
serverName: string ,
instanceName: string ,
vmId: string ,
collectionTimestamp: string ,
info:
{
failureConditionLevel: integer ,
healthCheckTimeout: integer ,
automatedBackupPreferenceDescription: string ,
version: integer ,
basicFeatures: boolean ,
dtcSupport: boolean ,
dbFailover: boolean ,
isDistributed: boolean ,
clusterTypeDescription: string ,
requiredSynchronizedSecondariesToCommit: integer ,
isContained: boolean ,
primaryReplica: string ,
primaryRecoveryHealthDescription: string ,
secondaryRecoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
replicationPartnerType: enum ,
listener:
{
dnsName: string ,
ipV4AddressesAndMasks:
[
{
ipAddress: string ,
mask: string ,
}
,
]
,
ipV6Addresses:
[
string ,
]
,
port: integer ,
}
,
}
,
replicas:
{
value:
[
{
replicaId: string ,
replicaName: string ,
replicaResourceId: string ,
configure:
{
endpointName: string ,
endpointUrl: string ,
endpointAuthenticationMode: enum ,
certificateName: string ,
endpointConnectLogin: string ,
availabilityMode: enum ,
availabilityModeDescription: string ,
failoverMode: enum ,
failoverModeDescription: string ,
sessionTimeout: integer ,
primaryAllowConnections: enum ,
primaryRoleAllowConnectionsDescription: string ,
secondaryAllowConnections: enum ,
secondaryRoleAllowConnectionsDescription: string ,
replicaCreateDate: string ,
replicaModifyDate: string ,
backupPriority: integer ,
readOnlyRoutingUrl: string ,
readWriteRoutingUrl: string ,
seedingMode: enum ,
seedingModeDescription: string ,
}
,
state:
{
availabilityGroupReplicaRole: string ,
operationalStateDescription: string ,
recoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
connectedStateDescription: string ,
lastConnectErrorDescription: string ,
lastConnectErrorTimestamp: string ,
}
,
}
,
]
,
nextLink: string ,
}
,
databases:
{
value:
[
{
databaseName: string ,
replicaName: string ,
isLocal: boolean ,
isPrimaryReplica: boolean ,
synchronizationStateDescription: string ,
isCommitParticipant: boolean ,
synchronizationHealthDescription: string ,
databaseStateDescription: string ,
isSuspended: boolean ,
suspendReasonDescription: string ,
}
,
]
,
nextLink: string ,
}
,
provisioningState: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerAvailabilityGroups_ForceFailoverAllowDataLoss (new)
Description Request forced failover of the availability group to this server.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}/forceFailoverAllowDataLoss
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
availabilityGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
availabilityGroupId: string ,
serverName: string ,
instanceName: string ,
vmId: string ,
collectionTimestamp: string ,
info:
{
failureConditionLevel: integer ,
healthCheckTimeout: integer ,
automatedBackupPreferenceDescription: string ,
version: integer ,
basicFeatures: boolean ,
dtcSupport: boolean ,
dbFailover: boolean ,
isDistributed: boolean ,
clusterTypeDescription: string ,
requiredSynchronizedSecondariesToCommit: integer ,
isContained: boolean ,
primaryReplica: string ,
primaryRecoveryHealthDescription: string ,
secondaryRecoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
replicationPartnerType: enum ,
listener:
{
dnsName: string ,
ipV4AddressesAndMasks:
[
{
ipAddress: string ,
mask: string ,
}
,
]
,
ipV6Addresses:
[
string ,
]
,
port: integer ,
}
,
}
,
replicas:
{
value:
[
{
replicaId: string ,
replicaName: string ,
replicaResourceId: string ,
configure:
{
endpointName: string ,
endpointUrl: string ,
endpointAuthenticationMode: enum ,
certificateName: string ,
endpointConnectLogin: string ,
availabilityMode: enum ,
availabilityModeDescription: string ,
failoverMode: enum ,
failoverModeDescription: string ,
sessionTimeout: integer ,
primaryAllowConnections: enum ,
primaryRoleAllowConnectionsDescription: string ,
secondaryAllowConnections: enum ,
secondaryRoleAllowConnectionsDescription: string ,
replicaCreateDate: string ,
replicaModifyDate: string ,
backupPriority: integer ,
readOnlyRoutingUrl: string ,
readWriteRoutingUrl: string ,
seedingMode: enum ,
seedingModeDescription: string ,
}
,
state:
{
availabilityGroupReplicaRole: string ,
operationalStateDescription: string ,
recoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
connectedStateDescription: string ,
lastConnectErrorDescription: string ,
lastConnectErrorTimestamp: string ,
}
,
}
,
]
,
nextLink: string ,
}
,
databases:
{
value:
[
{
databaseName: string ,
replicaName: string ,
isLocal: boolean ,
isPrimaryReplica: boolean ,
synchronizationStateDescription: string ,
isCommitParticipant: boolean ,
synchronizationHealthDescription: string ,
databaseStateDescription: string ,
isSuspended: boolean ,
suspendReasonDescription: string ,
}
,
]
,
nextLink: string ,
}
,
provisioningState: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerAvailabilityGroups_CreateAvailabilityGroup (new)
Description Create a SQL Server availability group
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/createAvailabilityGroup
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
api-version: string ,
createAgConfiguration:
{
availabilityGroupName: string ,
replicas:
[
{
serverInstance: string ,
endpointName: string ,
endpointUrl: string ,
endpointAuthenticationMode: enum ,
certificateName: string ,
endpointConnectLogin: string ,
availabilityMode: enum ,
failoverMode: enum ,
seedingMode: enum ,
backupPriority: integer ,
secondaryRoleAllowConnections: enum ,
secondaryRoleReadOnlyRoutingUrl: string ,
primaryRoleAllowConnections: enum ,
primaryRoleReadOnlyRoutingList:
[
string ,
]
,
sessionTimeout: integer ,
}
,
]
,
databases:
[
string ,
]
,
automatedBackupPreference: enum ,
failureConditionLevel: integer ,
healthCheckTimeout: integer ,
dbFailover: enum ,
dtcSupport: enum ,
requiredSynchronizedSecondariesToCommit: integer ,
clusterType: enum ,
listener:
{
dnsName: string ,
ipV4AddressesAndMasks:
[
{
ipAddress: string ,
mask: string ,
}
,
]
,
ipV6Addresses:
[
string ,
]
,
port: integer ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
availabilityGroupId: string ,
serverName: string ,
instanceName: string ,
vmId: string ,
collectionTimestamp: string ,
info:
{
failureConditionLevel: integer ,
healthCheckTimeout: integer ,
automatedBackupPreferenceDescription: string ,
version: integer ,
basicFeatures: boolean ,
dtcSupport: boolean ,
dbFailover: boolean ,
isDistributed: boolean ,
clusterTypeDescription: string ,
requiredSynchronizedSecondariesToCommit: integer ,
isContained: boolean ,
primaryReplica: string ,
primaryRecoveryHealthDescription: string ,
secondaryRecoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
replicationPartnerType: enum ,
listener:
{
dnsName: string ,
ipV4AddressesAndMasks:
[
{
ipAddress: string ,
mask: string ,
}
,
]
,
ipV6Addresses:
[
string ,
]
,
port: integer ,
}
,
}
,
replicas:
{
value:
[
{
replicaId: string ,
replicaName: string ,
replicaResourceId: string ,
configure:
{
endpointName: string ,
endpointUrl: string ,
endpointAuthenticationMode: enum ,
certificateName: string ,
endpointConnectLogin: string ,
availabilityMode: enum ,
availabilityModeDescription: string ,
failoverMode: enum ,
failoverModeDescription: string ,
sessionTimeout: integer ,
primaryAllowConnections: enum ,
primaryRoleAllowConnectionsDescription: string ,
secondaryAllowConnections: enum ,
secondaryRoleAllowConnectionsDescription: string ,
replicaCreateDate: string ,
replicaModifyDate: string ,
backupPriority: integer ,
readOnlyRoutingUrl: string ,
readWriteRoutingUrl: string ,
seedingMode: enum ,
seedingModeDescription: string ,
}
,
state:
{
availabilityGroupReplicaRole: string ,
operationalStateDescription: string ,
recoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
connectedStateDescription: string ,
lastConnectErrorDescription: string ,
lastConnectErrorTimestamp: string ,
}
,
}
,
]
,
nextLink: string ,
}
,
databases:
{
value:
[
{
databaseName: string ,
replicaName: string ,
isLocal: boolean ,
isPrimaryReplica: boolean ,
synchronizationStateDescription: string ,
isCommitParticipant: boolean ,
synchronizationHealthDescription: string ,
databaseStateDescription: string ,
isSuspended: boolean ,
suspendReasonDescription: string ,
}
,
]
,
nextLink: string ,
}
,
provisioningState: string ,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerAvailabilityGroups_CreateDistributedAvailabilityGroup (new)
Description Create a SQL Server distributed availability group
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/createDistributedAvailabilityGroup
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
api-version: string ,
createDagConfiguration:
{
availabilityGroupName: string ,
primaryAvailabilityGroup:
{
availabilityGroup: string ,
listenerUrl: string ,
availabilityMode: enum ,
failoverMode: enum ,
seedingMode: enum ,
certificateConfiguration:
{
certificateName: string ,
}
,
}
,
secondaryAvailabilityGroup:
{
availabilityGroup: string ,
listenerUrl: string ,
availabilityMode: enum ,
failoverMode: enum ,
seedingMode: enum ,
certificateConfiguration:
{
certificateName: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
availabilityGroupId: string ,
serverName: string ,
instanceName: string ,
vmId: string ,
collectionTimestamp: string ,
info:
{
failureConditionLevel: integer ,
healthCheckTimeout: integer ,
automatedBackupPreferenceDescription: string ,
version: integer ,
basicFeatures: boolean ,
dtcSupport: boolean ,
dbFailover: boolean ,
isDistributed: boolean ,
clusterTypeDescription: string ,
requiredSynchronizedSecondariesToCommit: integer ,
isContained: boolean ,
primaryReplica: string ,
primaryRecoveryHealthDescription: string ,
secondaryRecoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
replicationPartnerType: enum ,
listener:
{
dnsName: string ,
ipV4AddressesAndMasks:
[
{
ipAddress: string ,
mask: string ,
}
,
]
,
ipV6Addresses:
[
string ,
]
,
port: integer ,
}
,
}
,
replicas:
{
value:
[
{
replicaId: string ,
replicaName: string ,
replicaResourceId: string ,
configure:
{
endpointName: string ,
endpointUrl: string ,
endpointAuthenticationMode: enum ,
certificateName: string ,
endpointConnectLogin: string ,
availabilityMode: enum ,
availabilityModeDescription: string ,
failoverMode: enum ,
failoverModeDescription: string ,
sessionTimeout: integer ,
primaryAllowConnections: enum ,
primaryRoleAllowConnectionsDescription: string ,
secondaryAllowConnections: enum ,
secondaryRoleAllowConnectionsDescription: string ,
replicaCreateDate: string ,
replicaModifyDate: string ,
backupPriority: integer ,
readOnlyRoutingUrl: string ,
readWriteRoutingUrl: string ,
seedingMode: enum ,
seedingModeDescription: string ,
}
,
state:
{
availabilityGroupReplicaRole: string ,
operationalStateDescription: string ,
recoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
connectedStateDescription: string ,
lastConnectErrorDescription: string ,
lastConnectErrorTimestamp: string ,
}
,
}
,
]
,
nextLink: string ,
}
,
databases:
{
value:
[
{
databaseName: string ,
replicaName: string ,
isLocal: boolean ,
isPrimaryReplica: boolean ,
synchronizationStateDescription: string ,
isCommitParticipant: boolean ,
synchronizationHealthDescription: string ,
databaseStateDescription: string ,
isSuspended: boolean ,
suspendReasonDescription: string ,
}
,
]
,
nextLink: string ,
}
,
provisioningState: string ,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerAvailabilityGroups_AddDatabases (new)
Description Request adding database(s) to an existing availability group.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}/addDatabases
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
availabilityGroupName: string ,
api-version: string ,
databases:
{
values:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
properties:
{
availabilityGroupId: string ,
serverName: string ,
instanceName: string ,
vmId: string ,
collectionTimestamp: string ,
info:
{
failureConditionLevel: integer ,
healthCheckTimeout: integer ,
automatedBackupPreferenceDescription: string ,
version: integer ,
basicFeatures: boolean ,
dtcSupport: boolean ,
dbFailover: boolean ,
isDistributed: boolean ,
clusterTypeDescription: string ,
requiredSynchronizedSecondariesToCommit: integer ,
isContained: boolean ,
primaryReplica: string ,
primaryRecoveryHealthDescription: string ,
secondaryRecoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
replicationPartnerType: enum ,
listener:
{
dnsName: string ,
ipV4AddressesAndMasks:
[
{
ipAddress: string ,
mask: string ,
}
,
]
,
ipV6Addresses:
[
string ,
]
,
port: integer ,
}
,
}
,
replicas:
{
value:
[
{
replicaId: string ,
replicaName: string ,
replicaResourceId: string ,
configure:
{
endpointName: string ,
endpointUrl: string ,
endpointAuthenticationMode: enum ,
certificateName: string ,
endpointConnectLogin: string ,
availabilityMode: enum ,
availabilityModeDescription: string ,
failoverMode: enum ,
failoverModeDescription: string ,
sessionTimeout: integer ,
primaryAllowConnections: enum ,
primaryRoleAllowConnectionsDescription: string ,
secondaryAllowConnections: enum ,
secondaryRoleAllowConnectionsDescription: string ,
replicaCreateDate: string ,
replicaModifyDate: string ,
backupPriority: integer ,
readOnlyRoutingUrl: string ,
readWriteRoutingUrl: string ,
seedingMode: enum ,
seedingModeDescription: string ,
}
,
state:
{
availabilityGroupReplicaRole: string ,
operationalStateDescription: string ,
recoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
connectedStateDescription: string ,
lastConnectErrorDescription: string ,
lastConnectErrorTimestamp: string ,
}
,
}
,
]
,
nextLink: string ,
}
,
databases:
{
value:
[
{
databaseName: string ,
replicaName: string ,
isLocal: boolean ,
isPrimaryReplica: boolean ,
synchronizationStateDescription: string ,
isCommitParticipant: boolean ,
synchronizationHealthDescription: string ,
databaseStateDescription: string ,
isSuspended: boolean ,
suspendReasonDescription: string ,
}
,
]
,
nextLink: string ,
}
,
provisioningState: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerAvailabilityGroups_RemoveDatabases (new)
Description Request removing database(s) from an existing availability group.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups/{availabilityGroupName}/removeDatabases
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
availabilityGroupName: string ,
api-version: string ,
databases:
{
values:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
properties:
{
availabilityGroupId: string ,
serverName: string ,
instanceName: string ,
vmId: string ,
collectionTimestamp: string ,
info:
{
failureConditionLevel: integer ,
healthCheckTimeout: integer ,
automatedBackupPreferenceDescription: string ,
version: integer ,
basicFeatures: boolean ,
dtcSupport: boolean ,
dbFailover: boolean ,
isDistributed: boolean ,
clusterTypeDescription: string ,
requiredSynchronizedSecondariesToCommit: integer ,
isContained: boolean ,
primaryReplica: string ,
primaryRecoveryHealthDescription: string ,
secondaryRecoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
replicationPartnerType: enum ,
listener:
{
dnsName: string ,
ipV4AddressesAndMasks:
[
{
ipAddress: string ,
mask: string ,
}
,
]
,
ipV6Addresses:
[
string ,
]
,
port: integer ,
}
,
}
,
replicas:
{
value:
[
{
replicaId: string ,
replicaName: string ,
replicaResourceId: string ,
configure:
{
endpointName: string ,
endpointUrl: string ,
endpointAuthenticationMode: enum ,
certificateName: string ,
endpointConnectLogin: string ,
availabilityMode: enum ,
availabilityModeDescription: string ,
failoverMode: enum ,
failoverModeDescription: string ,
sessionTimeout: integer ,
primaryAllowConnections: enum ,
primaryRoleAllowConnectionsDescription: string ,
secondaryAllowConnections: enum ,
secondaryRoleAllowConnectionsDescription: string ,
replicaCreateDate: string ,
replicaModifyDate: string ,
backupPriority: integer ,
readOnlyRoutingUrl: string ,
readWriteRoutingUrl: string ,
seedingMode: enum ,
seedingModeDescription: string ,
}
,
state:
{
availabilityGroupReplicaRole: string ,
operationalStateDescription: string ,
recoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
connectedStateDescription: string ,
lastConnectErrorDescription: string ,
lastConnectErrorTimestamp: string ,
}
,
}
,
]
,
nextLink: string ,
}
,
databases:
{
value:
[
{
databaseName: string ,
replicaName: string ,
isLocal: boolean ,
isPrimaryReplica: boolean ,
synchronizationStateDescription: string ,
isCommitParticipant: boolean ,
synchronizationHealthDescription: string ,
databaseStateDescription: string ,
isSuspended: boolean ,
suspendReasonDescription: string ,
}
,
]
,
nextLink: string ,
}
,
provisioningState: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerAvailabilityGroups_List (new)
Description List the availability group associated with the given Arc Sql Server.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/availabilityGroups
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
availabilityGroupId: string ,
serverName: string ,
instanceName: string ,
vmId: string ,
collectionTimestamp: string ,
info:
{
failureConditionLevel: integer ,
healthCheckTimeout: integer ,
automatedBackupPreferenceDescription: string ,
version: integer ,
basicFeatures: boolean ,
dtcSupport: boolean ,
dbFailover: boolean ,
isDistributed: boolean ,
clusterTypeDescription: string ,
requiredSynchronizedSecondariesToCommit: integer ,
isContained: boolean ,
primaryReplica: string ,
primaryRecoveryHealthDescription: string ,
secondaryRecoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
replicationPartnerType: enum ,
listener:
{
dnsName: string ,
ipV4AddressesAndMasks:
[
{
ipAddress: string ,
mask: string ,
}
,
]
,
ipV6Addresses:
[
string ,
]
,
port: integer ,
}
,
}
,
replicas:
{
value:
[
{
replicaId: string ,
replicaName: string ,
replicaResourceId: string ,
configure:
{
endpointName: string ,
endpointUrl: string ,
endpointAuthenticationMode: enum ,
certificateName: string ,
endpointConnectLogin: string ,
availabilityMode: enum ,
availabilityModeDescription: string ,
failoverMode: enum ,
failoverModeDescription: string ,
sessionTimeout: integer ,
primaryAllowConnections: enum ,
primaryRoleAllowConnectionsDescription: string ,
secondaryAllowConnections: enum ,
secondaryRoleAllowConnectionsDescription: string ,
replicaCreateDate: string ,
replicaModifyDate: string ,
backupPriority: integer ,
readOnlyRoutingUrl: string ,
readWriteRoutingUrl: string ,
seedingMode: enum ,
seedingModeDescription: string ,
}
,
state:
{
availabilityGroupReplicaRole: string ,
operationalStateDescription: string ,
recoveryHealthDescription: string ,
synchronizationHealthDescription: string ,
connectedStateDescription: string ,
lastConnectErrorDescription: string ,
lastConnectErrorTimestamp: string ,
}
,
}
,
]
,
nextLink: string ,
}
,
databases:
{
value:
[
{
databaseName: string ,
replicaName: string ,
isLocal: boolean ,
isPrimaryReplica: boolean ,
synchronizationStateDescription: string ,
isCommitParticipant: boolean ,
synchronizationHealthDescription: string ,
databaseStateDescription: string ,
isSuspended: boolean ,
suspendReasonDescription: string ,
}
,
]
,
nextLink: string ,
}
,
provisioningState: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerDatabases_Create (new)
Description Creates or replaces an Arc Sql Server Database.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerDatabaseResource:
{
properties:
{
collationName: string ,
databaseCreationDate: string ,
compatibilityLevel: integer ,
sizeMB: number ,
logFileSizeMB: number ,
dataFileSizeMB: number ,
spaceAvailableMB: number ,
state: enum ,
isReadOnly: boolean ,
recoveryMode: enum ,
databaseOptions:
{
isAutoCloseOn: boolean ,
isAutoShrinkOn: boolean ,
isAutoCreateStatsOn: boolean ,
isAutoUpdateStatsOn: boolean ,
isRemoteDataArchiveEnabled: boolean ,
isMemoryOptimizationEnabled: boolean ,
isEncrypted: boolean ,
isTrustworthyOn: boolean ,
isHekatonFilesOn: boolean ,
numberOfHekatonFiles: number ,
}
,
backupInformation:
{
lastFullBackup: string ,
lastLogBackup: string ,
}
,
backupPolicy:
{
retentionPeriodDays: integer ,
fullBackupDays: integer ,
differentialBackupHours: integer ,
transactionLogBackupMinutes: integer ,
}
,
earliestRestoreDate: string ,
createMode: enum ,
sourceDatabaseId: string ,
vmId: string ,
restorePointInTime: string ,
provisioningState: string ,
lastDatabaseUploadTime: string ,
migration:
{
assessment:
{
assessmentUploadTime: string ,
databaseAssessments:
[
{
appliesToMigrationTargetPlatform: string ,
featureId: string ,
issueCategory: string ,
moreInformation: string ,
}
,
]
,
targetReadiness:
{
azureSqlDatabase:
{
numOfBlockerIssues: integer ,
recommendationStatus: enum ,
impactedObjectsSummary:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlManagedInstance:
{
numOfBlockerIssues: integer ,
recommendationStatus: enum ,
impactedObjectsSummary:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlVirtualMachine:
{
numOfBlockerIssues: integer ,
recommendationStatus: enum ,
impactedObjectsSummary:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
}
,
}
,
}
,
}
,
}
,
sqlServerInstanceName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
collationName: string ,
databaseCreationDate: string ,
compatibilityLevel: integer ,
sizeMB: number ,
logFileSizeMB: number ,
dataFileSizeMB: number ,
spaceAvailableMB: number ,
state: enum ,
isReadOnly: boolean ,
recoveryMode: enum ,
databaseOptions:
{
isAutoCloseOn: boolean ,
isAutoShrinkOn: boolean ,
isAutoCreateStatsOn: boolean ,
isAutoUpdateStatsOn: boolean ,
isRemoteDataArchiveEnabled: boolean ,
isMemoryOptimizationEnabled: boolean ,
isEncrypted: boolean ,
isTrustworthyOn: boolean ,
isHekatonFilesOn: boolean ,
numberOfHekatonFiles: number ,
}
,
backupInformation:
{
lastFullBackup: string ,
lastLogBackup: string ,
}
,
backupPolicy:
{
retentionPeriodDays: integer ,
fullBackupDays: integer ,
differentialBackupHours: integer ,
transactionLogBackupMinutes: integer ,
}
,
earliestRestoreDate: string ,
createMode: enum ,
sourceDatabaseId: string ,
vmId: string ,
restorePointInTime: string ,
provisioningState: string ,
lastDatabaseUploadTime: string ,
migration:
{
assessment:
{
assessmentUploadTime: string ,
databaseAssessments:
[
{
appliesToMigrationTargetPlatform: string ,
featureId: string ,
issueCategory: string ,
moreInformation: string ,
}
,
]
,
targetReadiness:
{
azureSqlDatabase:
{
numOfBlockerIssues: integer ,
recommendationStatus: enum ,
impactedObjectsSummary:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlManagedInstance:
{
numOfBlockerIssues: integer ,
recommendationStatus: enum ,
impactedObjectsSummary:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlVirtualMachine:
{
numOfBlockerIssues: integer ,
recommendationStatus: enum ,
impactedObjectsSummary:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
}
,
}
,
}
,
}
,
}

⚐ Response (201)

{
properties:
{
collationName: string ,
databaseCreationDate: string ,
compatibilityLevel: integer ,
sizeMB: number ,
logFileSizeMB: number ,
dataFileSizeMB: number ,
spaceAvailableMB: number ,
state: enum ,
isReadOnly: boolean ,
recoveryMode: enum ,
databaseOptions:
{
isAutoCloseOn: boolean ,
isAutoShrinkOn: boolean ,
isAutoCreateStatsOn: boolean ,
isAutoUpdateStatsOn: boolean ,
isRemoteDataArchiveEnabled: boolean ,
isMemoryOptimizationEnabled: boolean ,
isEncrypted: boolean ,
isTrustworthyOn: boolean ,
isHekatonFilesOn: boolean ,
numberOfHekatonFiles: number ,
}
,
backupInformation:
{
lastFullBackup: string ,
lastLogBackup: string ,
}
,
backupPolicy:
{
retentionPeriodDays: integer ,
fullBackupDays: integer ,
differentialBackupHours: integer ,
transactionLogBackupMinutes: integer ,
}
,
earliestRestoreDate: string ,
createMode: enum ,
sourceDatabaseId: string ,
vmId: string ,
restorePointInTime: string ,
provisioningState: string ,
lastDatabaseUploadTime: string ,
migration:
{
assessment:
{
assessmentUploadTime: string ,
databaseAssessments:
[
{
appliesToMigrationTargetPlatform: string ,
featureId: string ,
issueCategory: string ,
moreInformation: string ,
}
,
]
,
targetReadiness:
{
azureSqlDatabase:
{
numOfBlockerIssues: integer ,
recommendationStatus: enum ,
impactedObjectsSummary:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlManagedInstance:
{
numOfBlockerIssues: integer ,
recommendationStatus: enum ,
impactedObjectsSummary:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlVirtualMachine:
{
numOfBlockerIssues: integer ,
recommendationStatus: enum ,
impactedObjectsSummary:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
}
,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerDatabases_Delete (new)
Description Deletes an Arc Sql Server database resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerDatabases_Get (new)
Description Retrieves an Arc Sql Server database.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
databaseName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
collationName: string ,
databaseCreationDate: string ,
compatibilityLevel: integer ,
sizeMB: number ,
logFileSizeMB: number ,
dataFileSizeMB: number ,
spaceAvailableMB: number ,
state: enum ,
isReadOnly: boolean ,
recoveryMode: enum ,
databaseOptions:
{
isAutoCloseOn: boolean ,
isAutoShrinkOn: boolean ,
isAutoCreateStatsOn: boolean ,
isAutoUpdateStatsOn: boolean ,
isRemoteDataArchiveEnabled: boolean ,
isMemoryOptimizationEnabled: boolean ,
isEncrypted: boolean ,
isTrustworthyOn: boolean ,
isHekatonFilesOn: boolean ,
numberOfHekatonFiles: number ,
}
,
backupInformation:
{
lastFullBackup: string ,
lastLogBackup: string ,
}
,
backupPolicy:
{
retentionPeriodDays: integer ,
fullBackupDays: integer ,
differentialBackupHours: integer ,
transactionLogBackupMinutes: integer ,
}
,
earliestRestoreDate: string ,
createMode: enum ,
sourceDatabaseId: string ,
vmId: string ,
restorePointInTime: string ,
provisioningState: string ,
lastDatabaseUploadTime: string ,
migration:
{
assessment:
{
assessmentUploadTime: string ,
databaseAssessments:
[
{
appliesToMigrationTargetPlatform: string ,
featureId: string ,
issueCategory: string ,
moreInformation: string ,
}
,
]
,
targetReadiness:
{
azureSqlDatabase:
{
numOfBlockerIssues: integer ,
recommendationStatus: enum ,
impactedObjectsSummary:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlManagedInstance:
{
numOfBlockerIssues: integer ,
recommendationStatus: enum ,
impactedObjectsSummary:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlVirtualMachine:
{
numOfBlockerIssues: integer ,
recommendationStatus: enum ,
impactedObjectsSummary:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
}
,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerDatabases_Update (new)
Description Updates an existing database.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases/{databaseName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
databaseName: string ,
api-version: string ,
sqlServerDatabaseUpdate:
{
tags: object ,
properties:
{
collationName: string ,
databaseCreationDate: string ,
compatibilityLevel: integer ,
sizeMB: number ,
logFileSizeMB: number ,
dataFileSizeMB: number ,
spaceAvailableMB: number ,
state: enum ,
isReadOnly: boolean ,
recoveryMode: enum ,
databaseOptions:
{
isAutoCloseOn: boolean ,
isAutoShrinkOn: boolean ,
isAutoCreateStatsOn: boolean ,
isAutoUpdateStatsOn: boolean ,
isRemoteDataArchiveEnabled: boolean ,
isMemoryOptimizationEnabled: boolean ,
isEncrypted: boolean ,
isTrustworthyOn: boolean ,
isHekatonFilesOn: boolean ,
numberOfHekatonFiles: number ,
}
,
backupInformation:
{
lastFullBackup: string ,
lastLogBackup: string ,
}
,
backupPolicy:
{
retentionPeriodDays: integer ,
fullBackupDays: integer ,
differentialBackupHours: integer ,
transactionLogBackupMinutes: integer ,
}
,
earliestRestoreDate: string ,
createMode: enum ,
sourceDatabaseId: string ,
vmId: string ,
restorePointInTime: string ,
provisioningState: string ,
lastDatabaseUploadTime: string ,
migration:
{
assessment:
{
assessmentUploadTime: string ,
databaseAssessments:
[
{
appliesToMigrationTargetPlatform: string ,
featureId: string ,
issueCategory: string ,
moreInformation: string ,
}
,
]
,
targetReadiness:
{
azureSqlDatabase:
{
numOfBlockerIssues: integer ,
recommendationStatus: enum ,
impactedObjectsSummary:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlManagedInstance:
{
numOfBlockerIssues: integer ,
recommendationStatus: enum ,
impactedObjectsSummary:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlVirtualMachine:
{
numOfBlockerIssues: integer ,
recommendationStatus: enum ,
impactedObjectsSummary:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
}
,
}
,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
collationName: string ,
databaseCreationDate: string ,
compatibilityLevel: integer ,
sizeMB: number ,
logFileSizeMB: number ,
dataFileSizeMB: number ,
spaceAvailableMB: number ,
state: enum ,
isReadOnly: boolean ,
recoveryMode: enum ,
databaseOptions:
{
isAutoCloseOn: boolean ,
isAutoShrinkOn: boolean ,
isAutoCreateStatsOn: boolean ,
isAutoUpdateStatsOn: boolean ,
isRemoteDataArchiveEnabled: boolean ,
isMemoryOptimizationEnabled: boolean ,
isEncrypted: boolean ,
isTrustworthyOn: boolean ,
isHekatonFilesOn: boolean ,
numberOfHekatonFiles: number ,
}
,
backupInformation:
{
lastFullBackup: string ,
lastLogBackup: string ,
}
,
backupPolicy:
{
retentionPeriodDays: integer ,
fullBackupDays: integer ,
differentialBackupHours: integer ,
transactionLogBackupMinutes: integer ,
}
,
earliestRestoreDate: string ,
createMode: enum ,
sourceDatabaseId: string ,
vmId: string ,
restorePointInTime: string ,
provisioningState: string ,
lastDatabaseUploadTime: string ,
migration:
{
assessment:
{
assessmentUploadTime: string ,
databaseAssessments:
[
{
appliesToMigrationTargetPlatform: string ,
featureId: string ,
issueCategory: string ,
moreInformation: string ,
}
,
]
,
targetReadiness:
{
azureSqlDatabase:
{
numOfBlockerIssues: integer ,
recommendationStatus: enum ,
impactedObjectsSummary:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlManagedInstance:
{
numOfBlockerIssues: integer ,
recommendationStatus: enum ,
impactedObjectsSummary:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlVirtualMachine:
{
numOfBlockerIssues: integer ,
recommendationStatus: enum ,
impactedObjectsSummary:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
}
,
}
,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerDatabases_List (new)
Description List the databases associated with the given Arc Sql Server.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerInstances/{sqlServerInstanceName}/databases
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerInstanceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
collationName: string ,
databaseCreationDate: string ,
compatibilityLevel: integer ,
sizeMB: number ,
logFileSizeMB: number ,
dataFileSizeMB: number ,
spaceAvailableMB: number ,
state: enum ,
isReadOnly: boolean ,
recoveryMode: enum ,
databaseOptions:
{
isAutoCloseOn: boolean ,
isAutoShrinkOn: boolean ,
isAutoCreateStatsOn: boolean ,
isAutoUpdateStatsOn: boolean ,
isRemoteDataArchiveEnabled: boolean ,
isMemoryOptimizationEnabled: boolean ,
isEncrypted: boolean ,
isTrustworthyOn: boolean ,
isHekatonFilesOn: boolean ,
numberOfHekatonFiles: number ,
}
,
backupInformation:
{
lastFullBackup: string ,
lastLogBackup: string ,
}
,
backupPolicy:
{
retentionPeriodDays: integer ,
fullBackupDays: integer ,
differentialBackupHours: integer ,
transactionLogBackupMinutes: integer ,
}
,
earliestRestoreDate: string ,
createMode: enum ,
sourceDatabaseId: string ,
vmId: string ,
restorePointInTime: string ,
provisioningState: string ,
lastDatabaseUploadTime: string ,
migration:
{
assessment:
{
assessmentUploadTime: string ,
databaseAssessments:
[
{
appliesToMigrationTargetPlatform: string ,
featureId: string ,
issueCategory: string ,
moreInformation: string ,
}
,
]
,
targetReadiness:
{
azureSqlDatabase:
{
numOfBlockerIssues: integer ,
recommendationStatus: enum ,
impactedObjectsSummary:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlManagedInstance:
{
numOfBlockerIssues: integer ,
recommendationStatus: enum ,
impactedObjectsSummary:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
azureSqlVirtualMachine:
{
numOfBlockerIssues: integer ,
recommendationStatus: enum ,
impactedObjectsSummary:
[
{
featureId: string ,
numberImpacted: number ,
issueCategory: string ,
}
,
]
,
monthlyCost:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
sqlLicenseCost: number ,
windowsLicenseCost: number ,
totalCost: number ,
}
,
monthlyCostOptions:
[
{
keyName: string ,
keyValue:
{
computeCost: number ,
storageCost: number ,
iopsCost: number ,
}
,
}
,
]
,
targetSku:
{
category:
{
computeTier: string ,
hardwareType: string ,
sqlPurchasingModel: string ,
sqlServiceTier: string ,
zoneRedundancyAvailable: boolean ,
}
,
computeSize: number ,
storageMaxSizeInMb: number ,
predictedDataSizeInMb: number ,
predictedLogSizeInMb: number ,
maxStorageIops: number ,
maxThroughputMBps: number ,
}
,
}
,
}
,
}
,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerEsuLicenses_List (new)
Description List sqlServerEsuLicense resources in the subscription
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureArcData/sqlServerEsuLicenses
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
billingPlan: enum ,
version: enum ,
uniqueId: string ,
physicalCores: integer ,
activationState: enum ,
scopeType: enum ,
activatedAt: string ,
terminatedAt: string ,
tenantId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerEsuLicenses_ListByResourceGroup (new)
Description Gets all sqlServerEsuLicenses in a resource group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
billingPlan: enum ,
version: enum ,
uniqueId: string ,
physicalCores: integer ,
activationState: enum ,
scopeType: enum ,
activatedAt: string ,
terminatedAt: string ,
tenantId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerEsuLicenses_Get (new)
Description Retrieves a SQL Server ESU license resource
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerEsuLicenses/{sqlServerEsuLicenseName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerEsuLicenseName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
billingPlan: enum ,
version: enum ,
uniqueId: string ,
physicalCores: integer ,
activationState: enum ,
scopeType: enum ,
activatedAt: string ,
terminatedAt: string ,
tenantId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerEsuLicenses_Create (new)
Description Creates or replaces a SQL Server ESU license resource
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerEsuLicenses/{sqlServerEsuLicenseName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerEsuLicenseName: string ,
sqlServerEsuLicense:
{
properties:
{
billingPlan: enum ,
version: enum ,
uniqueId: string ,
physicalCores: integer ,
activationState: enum ,
scopeType: enum ,
activatedAt: string ,
terminatedAt: string ,
tenantId: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
billingPlan: enum ,
version: enum ,
uniqueId: string ,
physicalCores: integer ,
activationState: enum ,
scopeType: enum ,
activatedAt: string ,
terminatedAt: string ,
tenantId: string ,
}
,
}

⚐ Response (201)

{
properties:
{
billingPlan: enum ,
version: enum ,
uniqueId: string ,
physicalCores: integer ,
activationState: enum ,
scopeType: enum ,
activatedAt: string ,
terminatedAt: string ,
tenantId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SqlServerEsuLicenses_Delete (new)
Description Deletes a SQL Server ESU license resource
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerEsuLicenses/{sqlServerEsuLicenseName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerEsuLicenseName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

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

⚐ Response (204)

{}
SqlServerEsuLicenses_Update (new)
Description Updates a SQL Server ESU license resource
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerEsuLicenses/{sqlServerEsuLicenseName}
{
subscriptionId: string ,
resourceGroupName: string ,
sqlServerEsuLicenseName: string ,
parameters:
{
tags: object ,
properties:
{
billingPlan: enum ,
version: enum ,
uniqueId: string ,
physicalCores: integer ,
activationState: enum ,
scopeType: enum ,
activatedAt: string ,
terminatedAt: string ,
tenantId: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
billingPlan: enum ,
version: enum ,
uniqueId: string ,
physicalCores: integer ,
activationState: enum ,
scopeType: enum ,
activatedAt: string ,
terminatedAt: string ,
tenantId: string ,
}
,
}

⚐ Response (default)

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