Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.Network to update versio…
Browse files Browse the repository at this point in the history
…n preview/2021-02-01-preview for NSP Link feature (Azure#21617)

* Update NSP Link Swagger

* fix model validation
  • Loading branch information
vineetmimrot authored and anandanthony committed Dec 16, 2022
1 parent 68a7340 commit 7bb89ac
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"resourceGroupName": "rg1",
"networkSecurityPerimeterName": "nsp1",
"profileName": "profile1",
"accessRuleName": "accessRule1",
"parameters": {
"properties": {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"provisioningState": "Succeeded",
"autoApprovedRemotePerimeterResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2",
"remotePerimeterGuid": "guid",
"remotePerimeterLocation": "westus2",
"localInboundProfiles": [
"*"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"provisioningState": "Succeeded",
"autoApprovedRemotePerimeterResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2",
"remotePerimeterGuid": "guid",
"remotePerimeterLocation": "westus2",
"localInboundProfiles": [
"*"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"provisioningState": "Succeeded",
"autoApprovedRemotePerimeterResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2",
"remotePerimeterGuid": "guid",
"remotePerimeterLocation": "westus2",
"localInboundProfiles": [
"*"
],
Expand All @@ -48,6 +49,7 @@
"provisioningState": "Succeeded",
"autoApprovedRemotePerimeterResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2",
"remotePerimeterGuid": "guid",
"remotePerimeterLocation": "westus2",
"localInboundProfiles": [
"*"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"provisioningState": "Succeeded",
"remotePerimeterResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1",
"remotePerimeterGuid": "guid",
"remotePerimeterLocation": "westus2",
"localInboundProfiles": [
"*"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"provisioningState": "Succeeded",
"remotePerimeterResourceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1",
"remotePerimeterGuid": "guid",
"remotePerimeterLocation": "westus2",
"localInboundProfiles": [
"*"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1736,6 +1736,24 @@
"modelAsString": true
}
},
"NSPLinkProvisioningState": {
"type": "string",
"readOnly": true,
"description": "The current provisioning state of NSP Link/LinkReference.",
"enum": [
"Succeeded",
"Creating",
"Updating",
"Deleting",
"Accepted",
"Failed",
"WaitForRemoteCompletion"
],
"x-ms-enum": {
"name": "nspLinkProvisioningState",
"modelAsString": true
}
},
"NspAccessRuleReconcile": {
"type": "object",
"properties": {},
Expand Down Expand Up @@ -1779,7 +1797,7 @@
"properties": {
"provisioningState": {
"readOnly": true,
"$ref": "#/definitions/NSPProvisioningState",
"$ref": "#/definitions/NSPLinkProvisioningState",
"description": "The provisioning state of the NSP Link resource."
},
"autoApprovedRemotePerimeterResourceId": {
Expand All @@ -1795,6 +1813,11 @@
"type": "string",
"description": "Remote NSP Guid with which the link gets created."
},
"remotePerimeterLocation": {
"readOnly": true,
"type": "string",
"description": "Remote NSP location with which the link gets created."
},
"localInboundProfiles": {
"type": "array",
"items": {
Expand Down Expand Up @@ -1889,7 +1912,7 @@
"properties": {
"provisioningState": {
"readOnly": true,
"$ref": "#/definitions/NSPProvisioningState",
"$ref": "#/definitions/NSPLinkProvisioningState",
"description": "The provisioning state of the NSP LinkReference resource."
},
"remotePerimeterResourceId": {
Expand All @@ -1902,6 +1925,11 @@
"type": "string",
"description": "Remote NSP Guid with which the link is created."
},
"remotePerimeterLocation": {
"readOnly": true,
"type": "string",
"description": "Remote NSP location with which the link gets created."
},
"localInboundProfiles": {
"type": "array",
"items": {
Expand Down

0 comments on commit 7bb89ac

Please sign in to comment.