Skip to content

Commit

Permalink
Disable creation of perimeter base rule (#24945)
Browse files Browse the repository at this point in the history
* Disable creation of perimeter base rule

* Made NSP rule readonly

* Added email/sms rule changes

* Minor fix
  • Loading branch information
vineetmimrot authored Jul 28, 2023
1 parent 5e2f303 commit 1fbe390
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 111 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -1081,48 +1081,6 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links/{linkName}/reconcile": {
"parameters": [
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/NetworkSecurityPerimeterNameParameter"
},
{
"$ref": "#/parameters/LinkNameParameter"
},
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
}
],
"post": {
"tags": [
"NspLinkReconcile"
],
"operationId": "NspLinkReconcile_Post",
"description": "Reconcile NSP link resource.",
"responses": {
"200": {
"description": "OK"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./network.json#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"NspLinkReconcile": {
"$ref": "./examples/NspLinkReconcile.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/linkReferences/{linkReferenceName}": {
"parameters": [
{
Expand Down Expand Up @@ -1257,48 +1215,6 @@
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/linkReferences/{linkReferenceName}/reconcile": {
"parameters": [
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/NetworkSecurityPerimeterNameParameter"
},
{
"$ref": "#/parameters/LinkReferenceNameParameter"
},
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
}
],
"post": {
"tags": [
"NspLinkReferenceReconcile"
],
"operationId": "NspLinkReferenceReconcile_Post",
"description": "Reconcile NSP linkReference resource.",
"responses": {
"200": {
"description": "OK"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./network.json#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"NspLinkReferenceReconcile": {
"$ref": "./examples/NspLinkReferenceReconcile.json"
}
}
}
}
},
"definitions": {
Expand Down Expand Up @@ -1522,12 +1438,13 @@
"description": "List of subscription ids"
},
"networkSecurityPerimeters": {
"readOnly": true,
"type": "array",
"items": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/PerimeterBasedAccessRule"
},
"description": "Inbound rule specified by the perimeter id."
"description": "Rule specified by the perimeter id."
},
"emailAddresses": {
"type": "array",
Expand Down Expand Up @@ -1559,6 +1476,7 @@
"type": "object",
"properties": {
"id": {
"readOnly": true,
"type": "string",
"description": "NSP id in the ARM id format."
},
Expand Down

0 comments on commit 1fbe390

Please sign in to comment.