From acc8adf392a2a4aceb333b34f0ac34b52c29b264 Mon Sep 17 00:00:00 2001 From: Matthew Christopher Date: Fri, 4 Nov 2022 15:48:34 -0700 Subject: [PATCH 1/3] Azure SQL ARM ID annotations --- .../stable/2021-11-01/DatabaseExtensions.json | 2 + .../stable/2021-11-01/Databases.json | 46 ++++++++++++++++++- .../stable/2021-11-01/FailoverGroups.json | 11 ++++- .../stable/2021-11-01/JobAgents.json | 1 + .../stable/2021-11-01/ManagedDatabases.json | 10 +++- .../stable/2021-11-01/ManagedInstances.json | 22 ++++++++- .../ServerVulnerabilityAssessments.json | 2 + .../stable/2021-11-01/Servers.json | 12 ++++- .../stable/2021-11-01/SyncAgents.json | 3 +- .../stable/2021-11-01/SyncGroups.json | 3 +- .../stable/2021-11-01/SyncMembers.json | 13 +++++- .../2021-11-01/VirtualNetworkRules.json | 10 +++- 12 files changed, 122 insertions(+), 13 deletions(-) diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/DatabaseExtensions.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/DatabaseExtensions.json index 60e7ff86e44e..1505558fba67 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/DatabaseExtensions.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/DatabaseExtensions.json @@ -399,6 +399,7 @@ "storageAccountResourceId": { "description": "The resource id for the storage account used to store BACPAC file. If set, private endpoint connection will be created for the storage account. Must match storage account used for StorageUri parameter.", "type": "string", + "format": "arm-id", "x-ms-mutability": [ "create" ] @@ -406,6 +407,7 @@ "sqlServerResourceId": { "description": "The resource id for the SQL server which is the target of this request. If set, private endpoint connection will be created for the SQL server. Must match server which is target of the operation.", "type": "string", + "format": "arm-id", "x-ms-mutability": [ "create" ] diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/Databases.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/Databases.json index d1894a1e4af7..2610b05c4ee4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/Databases.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/Databases.json @@ -926,11 +926,20 @@ }, "elasticPoolId": { "description": "The resource identifier of the elastic pool containing this database.", - "type": "string" + "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Sql/servers/elasticPools" + } + ] + } }, "sourceDatabaseId": { "description": "The resource identifier of the source database associated with create operation of this database.", "type": "string", + "format": "arm-id", "x-ms-mutability": [ "create" ] @@ -1021,6 +1030,7 @@ "recoveryServicesRecoveryPointId": { "description": "The resource identifier of the recovery point associated with create operation of this database.", "type": "string", + "format": "arm-id", "x-ms-mutability": [ "create" ] @@ -1028,6 +1038,14 @@ "longTermRetentionBackupResourceId": { "description": "The resource identifier of the long term retention backup associated with create operation of this database.", "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Sql/locations/longTermRetentionBackups" + } + ] + }, "x-ms-mutability": [ "create" ] @@ -1035,6 +1053,7 @@ "recoverableDatabaseId": { "description": "The resource identifier of the recoverable database associated with create operation of this database.", "type": "string", + "format": "arm-id", "x-ms-mutability": [ "create" ] @@ -1042,6 +1061,7 @@ "restorableDroppedDatabaseId": { "description": "The resource identifier of the restorable dropped database associated with create operation of this database.", "type": "string", + "format": "arm-id", "x-ms-mutability": [ "create" ] @@ -1200,6 +1220,7 @@ "sourceResourceId": { "description": "The resource identifier of the source associated with the create operation of this database.\r\n\r\nThis property is only supported for DataWarehouse edition and allows to restore across subscriptions.\r\n\r\nWhen sourceResourceId is specified, sourceDatabaseId, recoverableDatabaseId, restorableDroppedDatabaseId and sourceDatabaseDeletionDate must not be specified and CreateMode must be PointInTimeRestore, Restore or Recover.\r\n\r\nWhen createMode is PointInTimeRestore, sourceResourceId must be the resource ID of the existing database or existing sql pool, and restorePointInTime must be specified.\r\n\r\nWhen createMode is Restore, sourceResourceId must be the resource ID of restorable dropped database or restorable dropped sql pool.\r\n\r\nWhen createMode is Recover, sourceResourceId must be the resource ID of recoverable database or recoverable sql pool.\r\n\r\nWhen source subscription belongs to a different tenant than target subscription, “x-ms-authorization-auxiliary” header must contain authentication token for the source tenant. For more details about “x-ms-authorization-auxiliary” header see https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/authenticate-multi-tenant ", "type": "string", + "format": "arm-id", "x-ms-mutability": [ "create" ] @@ -1290,11 +1311,20 @@ }, "elasticPoolId": { "description": "The resource identifier of the elastic pool containing this database.", - "type": "string" + "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Sql/servers/elasticPools" + } + ] + } }, "sourceDatabaseId": { "description": "The resource identifier of the source database associated with create operation of this database.", "type": "string", + "format": "arm-id", "x-ms-mutability": [ "create" ] @@ -1385,6 +1415,7 @@ "recoveryServicesRecoveryPointId": { "description": "The resource identifier of the recovery point associated with create operation of this database.", "type": "string", + "format": "arm-id", "x-ms-mutability": [ "create" ] @@ -1392,6 +1423,14 @@ "longTermRetentionBackupResourceId": { "description": "The resource identifier of the long term retention backup associated with create operation of this database.", "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Sql/locations/longTermRetentionBackups" + } + ] + }, "x-ms-mutability": [ "create" ] @@ -1406,6 +1445,7 @@ "restorableDroppedDatabaseId": { "description": "The resource identifier of the restorable dropped database associated with create operation of this database.", "type": "string", + "format": "arm-id", "x-ms-mutability": [ "create" ] @@ -1806,6 +1846,7 @@ "storageAccountResourceId": { "description": "The resource id for the storage account used to store BACPAC file. If set, private endpoint connection will be created for the storage account. Must match storage account used for StorageUri parameter.", "type": "string", + "format": "arm-id", "x-ms-mutability": [ "create" ] @@ -1813,6 +1854,7 @@ "sqlServerResourceId": { "description": "The resource id for the SQL server which is the target of this request. If set, private endpoint connection will be created for the SQL server. Must match server which is target of the operation.", "type": "string", + "format": "arm-id", "x-ms-mutability": [ "create" ] diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/FailoverGroups.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/FailoverGroups.json index 6fce67461dfb..bd6a4f2b4637 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/FailoverGroups.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/FailoverGroups.json @@ -498,7 +498,15 @@ "description": "List of databases in the failover group.", "type": "array", "items": { - "type": "string" + "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Sql/servers/databases" + } + ] + } } } } @@ -595,6 +603,7 @@ "properties": { "id": { "description": "Resource identifier of the partner server.", + "format": "arm-id", "type": "string" }, "location": { diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/JobAgents.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/JobAgents.json index 6ef2cc328ddc..bbee5181d339 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/JobAgents.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/JobAgents.json @@ -326,6 +326,7 @@ "databaseId": { "description": "Resource ID of the database to store job metadata in.", "type": "string", + "format": "arm-id", "x-ms-mutability": [ "read", "create" diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/ManagedDatabases.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/ManagedDatabases.json index 6c90c1354e59..63b9d4074e5d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/ManagedDatabases.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/ManagedDatabases.json @@ -589,7 +589,8 @@ "properties": { "destinationManagedDatabaseId": { "description": "The destination managed database ID", - "type": "string" + "type": "string", + "format": "arm-id" } } }, @@ -692,6 +693,7 @@ "sourceDatabaseId": { "description": "The resource identifier of the source database associated with create operation of this database.", "type": "string", + "format": "arm-id", "x-ms-mutability": [ "create" ] @@ -699,6 +701,7 @@ "restorableDroppedDatabaseId": { "description": "The restorable dropped database resource id to restore when creating this database.", "type": "string", + "format": "arm-id", "x-ms-mutability": [ "create" ] @@ -718,6 +721,7 @@ "recoverableDatabaseId": { "description": "The resource identifier of the recoverable database associated with create operation of this database.", "type": "string", + "format": "arm-id", "x-ms-mutability": [ "create" ] @@ -725,6 +729,7 @@ "longTermRetentionBackupResourceId": { "description": "The name of the Long Term Retention backup to be used for restore of this managed database.", "type": "string", + "format": "arm-id", "x-ms-mutability": [ "create" ] @@ -754,7 +759,8 @@ "properties": { "destinationManagedDatabaseId": { "description": "The destination managed database ID", - "type": "string" + "type": "string", + "format": "arm-id" }, "operationMode": { "description": "The move operation mode.", diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/ManagedInstances.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/ManagedInstances.json index 09968b102ffb..ff2208888738 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/ManagedInstances.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/ManagedInstances.json @@ -863,7 +863,15 @@ }, "subnetId": { "description": "Subnet resource ID for the managed instance.", - "type": "string" + "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + } }, "state": { "description": "The state of the managed instance.", @@ -907,6 +915,7 @@ }, "dnsZonePartner": { "description": "The resource id of another managed instance whose DNS zone this managed instance will share after creation.", + "format": "arm-id", "type": "string", "x-ms-mutability": [ "create" @@ -919,6 +928,7 @@ "sourceManagedInstanceId": { "description": "The resource identifier of the source managed instance associated with create operation of this instance.", "type": "string", + "format": "arm-id", "x-ms-mutability": [ "create" ] @@ -1011,7 +1021,15 @@ }, "primaryUserAssignedIdentityId": { "description": "The resource id of a user assigned identity to be used by default.", - "type": "string" + "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedIdentity/userAssignedIdentities" + } + ] + } }, "keyId": { "description": "A CMK URI of the key to use for encryption.", diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/ServerVulnerabilityAssessments.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/ServerVulnerabilityAssessments.json index 6fe66d3167f6..ea98d9329f0b 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/ServerVulnerabilityAssessments.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/ServerVulnerabilityAssessments.json @@ -298,6 +298,7 @@ "storageContainerSasKey": { "description": "A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required. Applies only if the storage account is not behind a Vnet or a firewall", "type": "string", + "x-ms-secret": true, "x-ms-mutability": [ "create", "update" @@ -306,6 +307,7 @@ "storageAccountAccessKey": { "description": "Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. Applies only if the storage account is not behind a Vnet or a firewall", "type": "string", + "x-ms-secret": true, "x-ms-mutability": [ "create", "update" diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/Servers.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/Servers.json index a0a5fee817e4..b638199f3f56 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/Servers.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/Servers.json @@ -651,6 +651,7 @@ "storageAccountResourceId": { "description": "The resource id for the storage account used to store BACPAC file. If set, private endpoint connection will be created for the storage account. Must match storage account used for StorageUri parameter.", "type": "string", + "format": "arm-id", "x-ms-mutability": [ "create" ] @@ -658,6 +659,7 @@ "sqlServerResourceId": { "description": "The resource id for the SQL server which is the target of this request. If set, private endpoint connection will be created for the SQL server. Must match server which is target of the operation.", "type": "string", + "format": "arm-id", "x-ms-mutability": [ "create" ] @@ -957,7 +959,15 @@ }, "primaryUserAssignedIdentityId": { "description": "The resource id of a user assigned identity to be used by default.", - "type": "string" + "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedIdentity/userAssignedIdentities" + } + ] + } }, "federatedClientId": { "format": "uuid", diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/SyncAgents.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/SyncAgents.json index b6fc817389fa..30c894c0c227 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/SyncAgents.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/SyncAgents.json @@ -475,7 +475,8 @@ }, "syncDatabaseId": { "description": "ARM resource id of the sync database in the sync agent.", - "type": "string" + "type": "string", + "format": "arm-id" }, "lastAliveTime": { "format": "date-time", diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/SyncGroups.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/SyncGroups.json index df6cd8f92754..69caa73c7d79 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/SyncGroups.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/SyncGroups.json @@ -938,7 +938,8 @@ }, "syncDatabaseId": { "description": "ARM resource id of the sync database in the sync group.", - "type": "string" + "type": "string", + "format": "arm-id" }, "hubDatabaseUserName": { "description": "User name for the sync group hub database credential.", diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/SyncMembers.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/SyncMembers.json index 06a1caa3ee93..c1ce2c783a15 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/SyncMembers.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/SyncMembers.json @@ -638,7 +638,15 @@ }, "syncAgentId": { "description": "ARM resource id of the sync agent in the sync member.", - "type": "string" + "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Sql/servers/syncAgents" + } + ] + } }, "sqlServerDatabaseId": { "format": "uuid", @@ -647,7 +655,8 @@ }, "syncMemberAzureDatabaseResourceId": { "description": "ARM resource id of the sync member logical database, for sync members in Azure.", - "type": "string" + "type": "string", + "format": "arm-id" }, "usePrivateLinkConnection": { "description": "Whether to use private link connection.", diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/VirtualNetworkRules.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/VirtualNetworkRules.json index d94503123740..187611553b1f 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/VirtualNetworkRules.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/VirtualNetworkRules.json @@ -261,7 +261,15 @@ "properties": { "virtualNetworkSubnetId": { "description": "The ARM resource id of the virtual network subnet.", - "type": "string" + "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + } }, "ignoreMissingVnetServiceEndpoint": { "description": "Create firewall rule before the virtual network has vnet service endpoint enabled.", From e62b8f43922f15b5b57e810c1ea23366f2ca2921 Mon Sep 17 00:00:00 2001 From: Matthew Christopher Date: Thu, 19 Jan 2023 14:39:36 -0800 Subject: [PATCH 2/3] Fix secret annotations --- .../stable/2021-11-01/DatabaseSecurityAlertPolicies.json | 1 + .../stable/2021-11-01/DatabaseVulnerabilityAssessments.json | 2 ++ .../stable/2021-11-01/ServerSecurityAlertPolicies.json | 1 + 3 files changed, 4 insertions(+) diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/DatabaseSecurityAlertPolicies.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/DatabaseSecurityAlertPolicies.json index 2d2184a0a6a4..946b83d27878 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/DatabaseSecurityAlertPolicies.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/DatabaseSecurityAlertPolicies.json @@ -298,6 +298,7 @@ }, "storageAccountAccessKey": { "description": "Specifies the identifier key of the Threat Detection audit storage account.", + "x-ms-secret": true, "type": "string" }, "retentionDays": { diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/DatabaseVulnerabilityAssessments.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/DatabaseVulnerabilityAssessments.json index e971b8546824..bffcd8dd50c3 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/DatabaseVulnerabilityAssessments.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/DatabaseVulnerabilityAssessments.json @@ -311,6 +311,7 @@ "storageContainerSasKey": { "description": "A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required. Applies only if the storage account is not behind a Vnet or a firewall", "type": "string", + "x-ms-secret": true, "x-ms-mutability": [ "create", "update" @@ -319,6 +320,7 @@ "storageAccountAccessKey": { "description": "Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. Applies only if the storage account is not behind a Vnet or a firewall", "type": "string", + "x-ms-secret": true, "x-ms-mutability": [ "create", "update" diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/ServerSecurityAlertPolicies.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/ServerSecurityAlertPolicies.json index 665926f9980e..582d5b90a791 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/ServerSecurityAlertPolicies.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/ServerSecurityAlertPolicies.json @@ -242,6 +242,7 @@ }, "storageAccountAccessKey": { "description": "Specifies the identifier key of the Threat Detection audit storage account.", + "x-ms-secret": true, "type": "string" }, "retentionDays": { From 40deb8c800b47317969bcedbeb6ace78397e1107 Mon Sep 17 00:00:00 2001 From: Matthew Christopher Date: Tue, 14 Feb 2023 10:17:26 -0800 Subject: [PATCH 3/3] Fix samples --- .../2021-11-01/examples/DatabaseSecurityAlertCreateMax.json | 2 -- .../2021-11-01/examples/DatabaseSecurityAlertCreateMin.json | 2 -- .../stable/2021-11-01/examples/DatabaseSecurityAlertGet.json | 1 - .../examples/DatabaseSecurityAlertListByDatabase.json | 1 - .../2021-11-01/examples/ServerSecurityAlertsCreateMax.json | 1 - .../2021-11-01/examples/ServerSecurityAlertsCreateMin.json | 1 - .../stable/2021-11-01/examples/ServerSecurityAlertsGet.json | 1 - .../2021-11-01/examples/ServerSecurityAlertsListByServer.json | 1 - 8 files changed, 10 deletions(-) diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/DatabaseSecurityAlertCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/DatabaseSecurityAlertCreateMax.json index 5b0747236fd1..1dc84f5be0bd 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/DatabaseSecurityAlertCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/DatabaseSecurityAlertCreateMax.json @@ -50,7 +50,6 @@ "Usage_Anomaly" ], "retentionDays": 6, - "storageAccountAccessKey": "", "storageEndpoint": "https://mystorage.blob.core.windows.net" } } @@ -80,7 +79,6 @@ "Usage_Anomaly" ], "retentionDays": 6, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", "storageEndpoint": "https://mystorage.blob.core.windows.net" } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/DatabaseSecurityAlertCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/DatabaseSecurityAlertCreateMin.json index 21958669f50c..cdd7fa051d8d 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/DatabaseSecurityAlertCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/DatabaseSecurityAlertCreateMin.json @@ -32,7 +32,6 @@ "emailAddresses": [], "disabledAlerts": [], "retentionDays": 0, - "storageAccountAccessKey": "", "storageEndpoint": "" } } @@ -56,7 +55,6 @@ "emailAddresses": [], "disabledAlerts": [], "retentionDays": 0, - "storageAccountAccessKey": "", "storageEndpoint": "" } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/DatabaseSecurityAlertGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/DatabaseSecurityAlertGet.json index f0d0ba3013d3..b2659bc19682 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/DatabaseSecurityAlertGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/DatabaseSecurityAlertGet.json @@ -32,7 +32,6 @@ "Usage_Anomaly" ], "retentionDays": 0, - "storageAccountAccessKey": "", "creationTime": "2020-04-03T04:41:33.937Z" } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/DatabaseSecurityAlertListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/DatabaseSecurityAlertListByDatabase.json index 3be5a4e60c77..0b4add697fa0 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/DatabaseSecurityAlertListByDatabase.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/DatabaseSecurityAlertListByDatabase.json @@ -33,7 +33,6 @@ "Usage_Anomaly" ], "retentionDays": 0, - "storageAccountAccessKey": "", "storageEndpoint": "", "creationTime": "2020-04-03T04:41:33.937Z" } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/ServerSecurityAlertsCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/ServerSecurityAlertsCreateMax.json index 11418c768852..7a223dcc3ec4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/ServerSecurityAlertsCreateMax.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/ServerSecurityAlertsCreateMax.json @@ -47,7 +47,6 @@ "Usage_Anomaly" ], "retentionDays": 5, - "storageAccountAccessKey": "", "storageEndpoint": "https://mystorage.blob.core.windows.net" } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/ServerSecurityAlertsCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/ServerSecurityAlertsCreateMin.json index a6b52f0fc977..0cba03844c26 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/ServerSecurityAlertsCreateMin.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/ServerSecurityAlertsCreateMin.json @@ -35,7 +35,6 @@ "" ], "retentionDays": 0, - "storageAccountAccessKey": "", "storageEndpoint": "https://mystorage.blob.core.windows.net" } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/ServerSecurityAlertsGet.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/ServerSecurityAlertsGet.json index 7bf386c4db5d..6aef0e6610e4 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/ServerSecurityAlertsGet.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/ServerSecurityAlertsGet.json @@ -31,7 +31,6 @@ "Access_Anomaly" ], "retentionDays": 0, - "storageAccountAccessKey": "", "storageEndpoint": "https://mystorage.blob.core.windows.net" } } diff --git a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/ServerSecurityAlertsListByServer.json b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/ServerSecurityAlertsListByServer.json index 653f6cd88539..d3faf8f6ea09 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/ServerSecurityAlertsListByServer.json +++ b/specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/ServerSecurityAlertsListByServer.json @@ -32,7 +32,6 @@ "Access_Anomaly" ], "retentionDays": 0, - "storageAccountAccessKey": "", "storageEndpoint": "https://mystorage.blob.core.windows.net" } }