Microsoft.DatabaseWatcher (stable:2025-01-02)

2025/01/10 • 24 new methods

Operations_List (new)
Description List the operations for the provider
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Watchers_ListBySubscription (new)
Description List Watcher resources by subscription ID
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
datastore:
{
adxClusterResourceId: string ,
kustoClusterDisplayName: string ,
kustoClusterUri: string ,
kustoDataIngestionUri: string ,
kustoDatabaseName: string ,
kustoManagementUrl: string ,
kustoOfferingType: enum ,
}
,
status: enum ,
provisioningState: enum ,
defaultAlertRuleIdentityResourceId: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Watchers_ListByResourceGroup (new)
Description List Watcher resources by resource group
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
datastore:
{
adxClusterResourceId: string ,
kustoClusterDisplayName: string ,
kustoClusterUri: string ,
kustoDataIngestionUri: string ,
kustoDatabaseName: string ,
kustoManagementUrl: string ,
kustoOfferingType: enum ,
}
,
status: enum ,
provisioningState: enum ,
defaultAlertRuleIdentityResourceId: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
datastore:
{
adxClusterResourceId: string ,
kustoClusterDisplayName: string ,
kustoClusterUri: string ,
kustoDataIngestionUri: string ,
kustoDatabaseName: string ,
kustoManagementUrl: string ,
kustoOfferingType: enum ,
}
,
status: enum ,
provisioningState: enum ,
defaultAlertRuleIdentityResourceId: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (default)

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

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
watcherName: string ,
resource:
{
properties:
{
datastore:
{
adxClusterResourceId: string ,
kustoClusterDisplayName: string ,
kustoClusterUri: string ,
kustoDataIngestionUri: string ,
kustoDatabaseName: string ,
kustoManagementUrl: string ,
kustoOfferingType: enum ,
}
,
status: enum ,
provisioningState: enum ,
defaultAlertRuleIdentityResourceId: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
datastore:
{
adxClusterResourceId: string ,
kustoClusterDisplayName: string ,
kustoClusterUri: string ,
kustoDataIngestionUri: string ,
kustoDatabaseName: string ,
kustoManagementUrl: string ,
kustoOfferingType: enum ,
}
,
status: enum ,
provisioningState: enum ,
defaultAlertRuleIdentityResourceId: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
properties:
{
datastore:
{
adxClusterResourceId: string ,
kustoClusterDisplayName: string ,
kustoClusterUri: string ,
kustoDataIngestionUri: string ,
kustoDatabaseName: string ,
kustoManagementUrl: string ,
kustoOfferingType: enum ,
}
,
status: enum ,
provisioningState: enum ,
defaultAlertRuleIdentityResourceId: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Watchers_Update (new)
Description Update a Watcher
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
watcherName: string ,
properties:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
tags: object ,
properties:
{
datastore:
{
adxClusterResourceId: string ,
kustoClusterDisplayName: string ,
kustoClusterUri: string ,
kustoDataIngestionUri: string ,
kustoDatabaseName: string ,
kustoManagementUrl: string ,
kustoOfferingType: enum ,
}
,
defaultAlertRuleIdentityResourceId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
datastore:
{
adxClusterResourceId: string ,
kustoClusterDisplayName: string ,
kustoClusterUri: string ,
kustoDataIngestionUri: string ,
kustoDatabaseName: string ,
kustoManagementUrl: string ,
kustoOfferingType: enum ,
}
,
status: enum ,
provisioningState: enum ,
defaultAlertRuleIdentityResourceId: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Watchers_Delete (new)
Description Delete a Watcher
Reference Link ¶

⚼ Request

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

⚐ Response (202)

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

⚐ Response (204)

{}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
alertRuleResourceId: string ,
createdWithProperties: enum ,
creationTime: string ,
provisioningState: enum ,
alertRuleTemplateId: string ,
alertRuleTemplateVersion: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
alertRuleResourceId: string ,
createdWithProperties: enum ,
creationTime: string ,
provisioningState: enum ,
alertRuleTemplateId: string ,
alertRuleTemplateVersion: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/alertRuleResources/{alertRuleResourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
watcherName: string ,
alertRuleResourceName: string ,
resource:
{
properties:
{
alertRuleResourceId: string ,
createdWithProperties: enum ,
creationTime: string ,
provisioningState: enum ,
alertRuleTemplateId: string ,
alertRuleTemplateVersion: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
alertRuleResourceId: string ,
createdWithProperties: enum ,
creationTime: string ,
provisioningState: enum ,
alertRuleTemplateId: string ,
alertRuleTemplateVersion: string ,
}
,
}

⚐ Response (201)

{
properties:
{
alertRuleResourceId: string ,
createdWithProperties: enum ,
creationTime: string ,
provisioningState: enum ,
alertRuleTemplateId: string ,
alertRuleTemplateVersion: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AlertRuleResources_Delete (new)
Description Delete a AlertRuleResource
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/alertRuleResources/{alertRuleResourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
watcherName: string ,
alertRuleResourceName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
startTime: string ,
endTime: string ,
status: enum ,
issues:
[
{
errorCode: string ,
errorMessage: string ,
additionalDetails: string ,
recommendationMessage: string ,
recommendationUrl: string ,
relatedResourceId: string ,
relatedResourceType: string ,
}
,
]
,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
startTime: string ,
endTime: string ,
status: enum ,
issues:
[
{
errorCode: string ,
errorMessage: string ,
additionalDetails: string ,
recommendationMessage: string ,
recommendationUrl: string ,
relatedResourceId: string ,
relatedResourceType: string ,
}
,
]
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
HealthValidations_StartValidation (new)
Description Starts health validation for a watcher.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DatabaseWatcher/watchers/{watcherName}/healthValidations/{healthValidationName}/startValidation
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
watcherName: string ,
healthValidationName: string ,
}

⚐ Response (200)

{
properties:
{
startTime: string ,
endTime: string ,
status: enum ,
issues:
[
{
errorCode: string ,
errorMessage: string ,
additionalDetails: string ,
recommendationMessage: string ,
recommendationUrl: string ,
relatedResourceId: string ,
relatedResourceType: string ,
}
,
]
,
provisioningState: enum ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

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

⚼ 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 (new)
Description Get a SharedPrivateLinkResource
Reference Link ¶

⚼ 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 (new)
Description Create a SharedPrivateLinkResource
Reference Link ¶

⚼ 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 ,
}
,
]
,
}
,
}
SharedPrivateLinkResources_Delete (new)
Description Delete a SharedPrivateLinkResource
Reference Link ¶

⚼ Request

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

⚐ Response (202)

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

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Watchers_Start (new)
Description The action to start monitoring all targets configured for a database watcher.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
datastore:
{
adxClusterResourceId: string ,
kustoClusterDisplayName: string ,
kustoClusterUri: string ,
kustoDataIngestionUri: string ,
kustoDatabaseName: string ,
kustoManagementUrl: string ,
kustoOfferingType: enum ,
}
,
status: enum ,
provisioningState: enum ,
defaultAlertRuleIdentityResourceId: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Watchers_Stop (new)
Description The action to stop monitoring all targets configured for a database watcher.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
datastore:
{
adxClusterResourceId: string ,
kustoClusterDisplayName: string ,
kustoClusterUri: string ,
kustoDataIngestionUri: string ,
kustoDatabaseName: string ,
kustoManagementUrl: string ,
kustoOfferingType: enum ,
}
,
status: enum ,
provisioningState: enum ,
defaultAlertRuleIdentityResourceId: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

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

⚼ 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 (new)
Description Get a Target
Reference Link ¶

⚼ 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 (new)
Description Create a Target
Reference Link ¶

⚼ 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 ,
}
,
]
,
}
,
}
Targets_Delete (new)
Description Delete a Target
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

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