Skip to content

Commit

Permalink
Fixing live validation correctness error for BackupProtectableItems_L…
Browse files Browse the repository at this point in the history
…ist (#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]>
  • Loading branch information
2 people authored and suxi-ms committed Apr 24, 2023
1 parent 528039f commit b012ea2
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4717,6 +4717,23 @@
"$ref": "#/definitions/PrivateEndpoint",
"description": "Gets or sets private endpoint associated with the private endpoint connection"
},
"groupIds": {
"description": "Group Ids for the Private Endpoint",
"type": "array",
"items": {
"description": "GroupId for the PrivateEndpointConnection - AzureBackup, AzureBackup_secondary or AzureSiteRecovery",
"enum": [
"AzureBackup",
"AzureBackup_secondary",
"AzureSiteRecovery"
],
"type": "string",
"x-ms-enum": {
"name": "VaultSubResourceType",
"modelAsString": true
}
}
},
"privateLinkServiceConnectionState": {
"$ref": "#/definitions/PrivateLinkServiceConnectionState",
"description": "Gets or sets private link service connection state"
Expand Down Expand Up @@ -4759,7 +4776,7 @@
"description": "Gets or sets description",
"type": "string"
},
"actionRequired": {
"actionsRequired": {
"description": "Gets or sets actions required",
"type": "string"
}
Expand Down Expand Up @@ -10096,15 +10113,15 @@
],
"x-ms-discriminator-value": "SAPHanaDBInstance"
},
"AzureVmWorkloadSAPHanaHSR": {
"description": "Azure VM workload-specific protectable item representing SAP HANA Dbinstance.",
"AzureVmWorkloadSAPHanaHSRProtectableItem": {
"description": "Azure VM workload-specific protectable item representing HANA HSR.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AzureVmWorkloadProtectableItem"
}
],
"x-ms-discriminator-value": "SAPHanaHSR"
"x-ms-discriminator-value": "HanaHSRContainer"
},
"AzureVmWorkloadSAPHanaSystemWorkloadItem": {
"description": "Azure VM workload-specific workload item representing SAP HANA System.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Approved by [email protected]"
}
},
"groupIds": [
"AzureBackup_secondary"
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Approved by [email protected]"
}
},
"groupIds": [
"AzureBackup_secondary"
]
}
}
},
Expand All @@ -32,7 +35,10 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Approved by [email protected]"
}
},
"groupIds": [
"AzureBackup_secondary"
]
}
},
"headers": {
Expand All @@ -53,7 +59,10 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Approved by [email protected]"
}
},
"groupIds": [
"AzureBackup_secondary"
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4717,6 +4717,23 @@
"$ref": "#/definitions/PrivateEndpoint",
"description": "Gets or sets private endpoint associated with the private endpoint connection"
},
"groupIds": {
"description": "Group Ids for the Private Endpoint",
"type": "array",
"items": {
"description": "GroupId for the PrivateEndpointConnection - AzureBackup, AzureBackup_secondary or AzureSiteRecovery",
"enum": [
"AzureBackup",
"AzureBackup_secondary",
"AzureSiteRecovery"
],
"type": "string",
"x-ms-enum": {
"name": "VaultSubResourceType",
"modelAsString": true
}
}
},
"privateLinkServiceConnectionState": {
"$ref": "#/definitions/PrivateLinkServiceConnectionState",
"description": "Gets or sets private link service connection state"
Expand Down Expand Up @@ -4759,7 +4776,7 @@
"description": "Gets or sets description",
"type": "string"
},
"actionRequired": {
"actionsRequired": {
"description": "Gets or sets actions required",
"type": "string"
}
Expand Down Expand Up @@ -10166,15 +10183,15 @@
],
"x-ms-discriminator-value": "SAPHanaDBInstance"
},
"AzureVmWorkloadSAPHanaHSR": {
"description": "Azure VM workload-specific protectable item representing SAP HANA Dbinstance.",
"AzureVmWorkloadSAPHanaHSRProtectableItem": {
"description": "Azure VM workload-specific protectable item representing HANA HSR.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AzureVmWorkloadProtectableItem"
}
],
"x-ms-discriminator-value": "SAPHanaHSR"
"x-ms-discriminator-value": "HanaHSRContainer"
},
"AzureVmWorkloadSAPHanaSystemWorkloadItem": {
"description": "Azure VM workload-specific workload item representing SAP HANA System.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Approved by [email protected]"
}
},
"groupIds": [
"AzureBackup_secondary"
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Approved by [email protected]"
}
},
"groupIds": [
"AzureBackup_secondary"
]
}
}
},
Expand All @@ -32,7 +35,10 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Approved by [email protected]"
}
},
"groupIds": [
"AzureBackup_secondary"
]
}
},
"headers": {
Expand All @@ -53,7 +59,10 @@
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Approved by [email protected]"
}
},
"groupIds": [
"AzureBackup_secondary"
]
}
}
}
Expand Down

0 comments on commit b012ea2

Please sign in to comment.