Skip to content

Commit b012ea2

Browse files
iwrinshowShashwat Trivedi
authored andcommitted
Fixing live validation correctness error for BackupProtectableItems_List (#23600)
* Fixing live validation correctness error for BackupProtectableItems_List * Fixing bms.json for PrivateEndpointConnection addition of groupIds * Making changes in the version 2023-01-01 --------- Co-authored-by: Shashwat Trivedi <[email protected]>
1 parent 528039f commit b012ea2

File tree

6 files changed

+74
-16
lines changed

6 files changed

+74
-16
lines changed

specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-01-01/bms.json

+21-4
Original file line numberDiff line numberDiff line change
@@ -4717,6 +4717,23 @@
47174717
"$ref": "#/definitions/PrivateEndpoint",
47184718
"description": "Gets or sets private endpoint associated with the private endpoint connection"
47194719
},
4720+
"groupIds": {
4721+
"description": "Group Ids for the Private Endpoint",
4722+
"type": "array",
4723+
"items": {
4724+
"description": "GroupId for the PrivateEndpointConnection - AzureBackup, AzureBackup_secondary or AzureSiteRecovery",
4725+
"enum": [
4726+
"AzureBackup",
4727+
"AzureBackup_secondary",
4728+
"AzureSiteRecovery"
4729+
],
4730+
"type": "string",
4731+
"x-ms-enum": {
4732+
"name": "VaultSubResourceType",
4733+
"modelAsString": true
4734+
}
4735+
}
4736+
},
47204737
"privateLinkServiceConnectionState": {
47214738
"$ref": "#/definitions/PrivateLinkServiceConnectionState",
47224739
"description": "Gets or sets private link service connection state"
@@ -4759,7 +4776,7 @@
47594776
"description": "Gets or sets description",
47604777
"type": "string"
47614778
},
4762-
"actionRequired": {
4779+
"actionsRequired": {
47634780
"description": "Gets or sets actions required",
47644781
"type": "string"
47654782
}
@@ -10096,15 +10113,15 @@
1009610113
],
1009710114
"x-ms-discriminator-value": "SAPHanaDBInstance"
1009810115
},
10099-
"AzureVmWorkloadSAPHanaHSR": {
10100-
"description": "Azure VM workload-specific protectable item representing SAP HANA Dbinstance.",
10116+
"AzureVmWorkloadSAPHanaHSRProtectableItem": {
10117+
"description": "Azure VM workload-specific protectable item representing HANA HSR.",
1010110118
"type": "object",
1010210119
"allOf": [
1010310120
{
1010410121
"$ref": "#/definitions/AzureVmWorkloadProtectableItem"
1010510122
}
1010610123
],
10107-
"x-ms-discriminator-value": "SAPHanaHSR"
10124+
"x-ms-discriminator-value": "HanaHSRContainer"
1010810125
},
1010910126
"AzureVmWorkloadSAPHanaSystemWorkloadItem": {
1011010127
"description": "Azure VM workload-specific workload item representing SAP HANA System.",

specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-01-01/examples/PrivateEndpointConnection/GetPrivateEndpointConnection.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020
"privateLinkServiceConnectionState": {
2121
"status": "Approved",
2222
"description": "Approved by [email protected]"
23-
}
23+
},
24+
"groupIds": [
25+
"AzureBackup_secondary"
26+
]
2427
}
2528
}
2629
}

specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-01-01/examples/PrivateEndpointConnection/PutPrivateEndpointConnection.json

+12-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
"privateLinkServiceConnectionState": {
1515
"status": "Approved",
1616
"description": "Approved by [email protected]"
17-
}
17+
},
18+
"groupIds": [
19+
"AzureBackup_secondary"
20+
]
1821
}
1922
}
2023
},
@@ -32,7 +35,10 @@
3235
"privateLinkServiceConnectionState": {
3336
"status": "Approved",
3437
"description": "Approved by [email protected]"
35-
}
38+
},
39+
"groupIds": [
40+
"AzureBackup_secondary"
41+
]
3642
}
3743
},
3844
"headers": {
@@ -53,7 +59,10 @@
5359
"privateLinkServiceConnectionState": {
5460
"status": "Approved",
5561
"description": "Approved by [email protected]"
56-
}
62+
},
63+
"groupIds": [
64+
"AzureBackup_secondary"
65+
]
5766
}
5867
}
5968
}

specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/bms.json

+21-4
Original file line numberDiff line numberDiff line change
@@ -4717,6 +4717,23 @@
47174717
"$ref": "#/definitions/PrivateEndpoint",
47184718
"description": "Gets or sets private endpoint associated with the private endpoint connection"
47194719
},
4720+
"groupIds": {
4721+
"description": "Group Ids for the Private Endpoint",
4722+
"type": "array",
4723+
"items": {
4724+
"description": "GroupId for the PrivateEndpointConnection - AzureBackup, AzureBackup_secondary or AzureSiteRecovery",
4725+
"enum": [
4726+
"AzureBackup",
4727+
"AzureBackup_secondary",
4728+
"AzureSiteRecovery"
4729+
],
4730+
"type": "string",
4731+
"x-ms-enum": {
4732+
"name": "VaultSubResourceType",
4733+
"modelAsString": true
4734+
}
4735+
}
4736+
},
47204737
"privateLinkServiceConnectionState": {
47214738
"$ref": "#/definitions/PrivateLinkServiceConnectionState",
47224739
"description": "Gets or sets private link service connection state"
@@ -4759,7 +4776,7 @@
47594776
"description": "Gets or sets description",
47604777
"type": "string"
47614778
},
4762-
"actionRequired": {
4779+
"actionsRequired": {
47634780
"description": "Gets or sets actions required",
47644781
"type": "string"
47654782
}
@@ -10166,15 +10183,15 @@
1016610183
],
1016710184
"x-ms-discriminator-value": "SAPHanaDBInstance"
1016810185
},
10169-
"AzureVmWorkloadSAPHanaHSR": {
10170-
"description": "Azure VM workload-specific protectable item representing SAP HANA Dbinstance.",
10186+
"AzureVmWorkloadSAPHanaHSRProtectableItem": {
10187+
"description": "Azure VM workload-specific protectable item representing HANA HSR.",
1017110188
"type": "object",
1017210189
"allOf": [
1017310190
{
1017410191
"$ref": "#/definitions/AzureVmWorkloadProtectableItem"
1017510192
}
1017610193
],
10177-
"x-ms-discriminator-value": "SAPHanaHSR"
10194+
"x-ms-discriminator-value": "HanaHSRContainer"
1017810195
},
1017910196
"AzureVmWorkloadSAPHanaSystemWorkloadItem": {
1018010197
"description": "Azure VM workload-specific workload item representing SAP HANA System.",

specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/PrivateEndpointConnection/GetPrivateEndpointConnection.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020
"privateLinkServiceConnectionState": {
2121
"status": "Approved",
2222
"description": "Approved by [email protected]"
23-
}
23+
},
24+
"groupIds": [
25+
"AzureBackup_secondary"
26+
]
2427
}
2528
}
2629
}

specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/PrivateEndpointConnection/PutPrivateEndpointConnection.json

+12-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
"privateLinkServiceConnectionState": {
1515
"status": "Approved",
1616
"description": "Approved by [email protected]"
17-
}
17+
},
18+
"groupIds": [
19+
"AzureBackup_secondary"
20+
]
1821
}
1922
}
2023
},
@@ -32,7 +35,10 @@
3235
"privateLinkServiceConnectionState": {
3336
"status": "Approved",
3437
"description": "Approved by [email protected]"
35-
}
38+
},
39+
"groupIds": [
40+
"AzureBackup_secondary"
41+
]
3642
}
3743
},
3844
"headers": {
@@ -53,7 +59,10 @@
5359
"privateLinkServiceConnectionState": {
5460
"status": "Approved",
5561
"description": "Approved by [email protected]"
56-
}
62+
},
63+
"groupIds": [
64+
"AzureBackup_secondary"
65+
]
5766
}
5867
}
5968
}

0 commit comments

Comments
 (0)