Microsoft.DatabaseWatcher (preview:2024-10-01)

2025/02/20 • 6 updated methods

SharedPrivateLinkResources_ListByWatcher (updated)
Description List SharedPrivateLinkResource resources by Watcher
Reference Link ¶

⚶ Changes

{
  "#id": "SharedPrivateLinkResources_ListByWatcher",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "#name": "dnsZone",
                "Description": {
                  "new": "The DNS zone segment to be included in the DNS name of the shared private link. Value is required for Azure Data Explorer clusters and SQL managed instances, and must be omitted for SQL logical servers and key vaults. The value is the second segment of the host FQDN name of the resource that the shared private link resource is for. For example: if the host name is 'adx-cluster-21187695.eastus.kusto.windows.net', then the value is 'eastus'; if the host name is 'sql-mi-23961134.767d5869f605.database.windows.net', then the value is '767d5869f605'.",
                  "old": "The DNS zone to be included in the DNS name of the shared private link. Value is required for Azure Data Explorer clusters and SQL managed instances. The value to use is the second segment of the host FQDN name of the resource that the shared private link resource is for."
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/sharedPrivateLinkResources
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
watcherName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
privateLinkResourceId: string ,
groupId: string ,
requestMessage: string ,
dnsZone: string ,
status: enum ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SharedPrivateLinkResources_Get (updated)
Description Get a SharedPrivateLinkResource
Reference Link ¶

⚶ Changes

{
  "#id": "SharedPrivateLinkResources_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "dnsZone",
            "Description": {
              "new": "The DNS zone segment to be included in the DNS name of the shared private link. Value is required for Azure Data Explorer clusters and SQL managed instances, and must be omitted for SQL logical servers and key vaults. The value is the second segment of the host FQDN name of the resource that the shared private link resource is for. For example: if the host name is 'adx-cluster-21187695.eastus.kusto.windows.net', then the value is 'eastus'; if the host name is 'sql-mi-23961134.767d5869f605.database.windows.net', then the value is '767d5869f605'.",
              "old": "The DNS zone to be included in the DNS name of the shared private link. Value is required for Azure Data Explorer clusters and SQL managed instances. The value to use is the second segment of the host FQDN name of the resource that the shared private link resource is for."
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
watcherName: string ,
sharedPrivateLinkResourceName: string ,
}

⚐ Response (200)

{
properties:
{
privateLinkResourceId: string ,
groupId: string ,
requestMessage: string ,
dnsZone: string ,
status: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SharedPrivateLinkResources_Create (updated)
Description Create a SharedPrivateLinkResource
Reference Link ¶

⚶ Changes

{
  "#id": "SharedPrivateLinkResources_Create",
  "$parameters": {
    "resource": {
      "$properties": {
        "properties": [
          {
            "#name": "dnsZone",
            "Description": {
              "new": "The DNS zone segment to be included in the DNS name of the shared private link. Value is required for Azure Data Explorer clusters and SQL managed instances, and must be omitted for SQL logical servers and key vaults. The value is the second segment of the host FQDN name of the resource that the shared private link resource is for. For example: if the host name is 'adx-cluster-21187695.eastus.kusto.windows.net', then the value is 'eastus'; if the host name is 'sql-mi-23961134.767d5869f605.database.windows.net', then the value is '767d5869f605'.",
              "old": "The DNS zone to be included in the DNS name of the shared private link. Value is required for Azure Data Explorer clusters and SQL managed instances. The value to use is the second segment of the host FQDN name of the resource that the shared private link resource is for."
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "dnsZone",
            "Description": {
              "new": "The DNS zone segment to be included in the DNS name of the shared private link. Value is required for Azure Data Explorer clusters and SQL managed instances, and must be omitted for SQL logical servers and key vaults. The value is the second segment of the host FQDN name of the resource that the shared private link resource is for. For example: if the host name is 'adx-cluster-21187695.eastus.kusto.windows.net', then the value is 'eastus'; if the host name is 'sql-mi-23961134.767d5869f605.database.windows.net', then the value is '767d5869f605'.",
              "old": "The DNS zone to be included in the DNS name of the shared private link. Value is required for Azure Data Explorer clusters and SQL managed instances. The value to use is the second segment of the host FQDN name of the resource that the shared private link resource is for."
            }
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "#name": "dnsZone",
            "Description": {
              "new": "The DNS zone segment to be included in the DNS name of the shared private link. Value is required for Azure Data Explorer clusters and SQL managed instances, and must be omitted for SQL logical servers and key vaults. The value is the second segment of the host FQDN name of the resource that the shared private link resource is for. For example: if the host name is 'adx-cluster-21187695.eastus.kusto.windows.net', then the value is 'eastus'; if the host name is 'sql-mi-23961134.767d5869f605.database.windows.net', then the value is '767d5869f605'.",
              "old": "The DNS zone to be included in the DNS name of the shared private link. Value is required for Azure Data Explorer clusters and SQL managed instances. The value to use is the second segment of the host FQDN name of the resource that the shared private link resource is for."
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
watcherName: string ,
sharedPrivateLinkResourceName: string ,
resource:
{
properties:
{
privateLinkResourceId: string ,
groupId: string ,
requestMessage: string ,
dnsZone: string ,
status: enum ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
privateLinkResourceId: string ,
groupId: string ,
requestMessage: string ,
dnsZone: string ,
status: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
properties:
{
privateLinkResourceId: string ,
groupId: string ,
requestMessage: string ,
dnsZone: string ,
status: enum ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Targets_ListByWatcher (updated)
Description List Target resources by Watcher
Reference Link ¶

⚶ Changes

{
  "#id": "Targets_ListByWatcher",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "#name": "connectionServerName",
                "Description": {
                  "new": "The FQDN host name of the server to use in the connection string when connecting to a target. For example, for an Azure SQL logical server in the Azure commercial cloud, the value might be 'sql-logical-server-22092780.database.windows.net'; for an Azure SQL managed instance in the Azure commercial cloud, the value might be 'sql-mi-39441134.767d5869f605.database.windows.net'. Port number and instance name must be specified separately.",
                  "old": "The server name to use in the connection string when connecting to a target. Port number and instance name must be specified separately."
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/targets
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
watcherName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
targetType: string ,
targetAuthenticationType: enum ,
targetVault:
{
akvResourceId: string ,
akvTargetUser: string ,
akvTargetPassword: string ,
}
,
connectionServerName: string ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Targets_Get (updated)
Description Get a Target
Reference Link ¶

⚶ Changes

{
  "#id": "Targets_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "connectionServerName",
            "Description": {
              "new": "The FQDN host name of the server to use in the connection string when connecting to a target. For example, for an Azure SQL logical server in the Azure commercial cloud, the value might be 'sql-logical-server-22092780.database.windows.net'; for an Azure SQL managed instance in the Azure commercial cloud, the value might be 'sql-mi-39441134.767d5869f605.database.windows.net'. Port number and instance name must be specified separately.",
              "old": "The server name to use in the connection string when connecting to a target. Port number and instance name must be specified separately."
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/targets/{targetName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
watcherName: string ,
targetName: string ,
}

⚐ Response (200)

{
properties:
{
targetType: string ,
targetAuthenticationType: enum ,
targetVault:
{
akvResourceId: string ,
akvTargetUser: string ,
akvTargetPassword: string ,
}
,
connectionServerName: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Targets_CreateOrUpdate (updated)
Description Create a Target
Reference Link ¶

⚶ Changes

{
  "#id": "Targets_CreateOrUpdate",
  "$parameters": {
    "resource": {
      "$properties": {
        "properties": [
          {
            "#name": "connectionServerName",
            "Description": {
              "new": "The FQDN host name of the server to use in the connection string when connecting to a target. For example, for an Azure SQL logical server in the Azure commercial cloud, the value might be 'sql-logical-server-22092780.database.windows.net'; for an Azure SQL managed instance in the Azure commercial cloud, the value might be 'sql-mi-39441134.767d5869f605.database.windows.net'. Port number and instance name must be specified separately.",
              "old": "The server name to use in the connection string when connecting to a target. Port number and instance name must be specified separately."
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "connectionServerName",
            "Description": {
              "new": "The FQDN host name of the server to use in the connection string when connecting to a target. For example, for an Azure SQL logical server in the Azure commercial cloud, the value might be 'sql-logical-server-22092780.database.windows.net'; for an Azure SQL managed instance in the Azure commercial cloud, the value might be 'sql-mi-39441134.767d5869f605.database.windows.net'. Port number and instance name must be specified separately.",
              "old": "The server name to use in the connection string when connecting to a target. Port number and instance name must be specified separately."
            }
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "#name": "connectionServerName",
            "Description": {
              "new": "The FQDN host name of the server to use in the connection string when connecting to a target. For example, for an Azure SQL logical server in the Azure commercial cloud, the value might be 'sql-logical-server-22092780.database.windows.net'; for an Azure SQL managed instance in the Azure commercial cloud, the value might be 'sql-mi-39441134.767d5869f605.database.windows.net'. Port number and instance name must be specified separately.",
              "old": "The server name to use in the connection string when connecting to a target. Port number and instance name must be specified separately."
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/targets/{targetName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
watcherName: string ,
targetName: string ,
resource:
{
properties:
{
targetType: string ,
targetAuthenticationType: enum ,
targetVault:
{
akvResourceId: string ,
akvTargetUser: string ,
akvTargetPassword: string ,
}
,
connectionServerName: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
targetType: string ,
targetAuthenticationType: enum ,
targetVault:
{
akvResourceId: string ,
akvTargetUser: string ,
akvTargetPassword: string ,
}
,
connectionServerName: string ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
targetType: string ,
targetAuthenticationType: enum ,
targetVault:
{
akvResourceId: string ,
akvTargetUser: string ,
akvTargetPassword: string ,
}
,
connectionServerName: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

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