Skip to content

Commit

Permalink
Private links (#13945)
Browse files Browse the repository at this point in the history
* remove name validation from client side

* remove name check from deploymentScripts swagger

* create privateLinks swagger

* add all private link commands

* add PLA and RMPL capabilities to swagger

* update privateLink swagger

* add rmpl to custom words

* fix semantic validation errors

* update resourcemanager readme

* fix semanticvalidation errors

* add correct resourceGroupName param

* add examples for privateLink

* fix prettier errors

* Update specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/privateLinks.json

Co-authored-by: JianyeXi <59603451+jianyexi@users.noreply.github.com>

* fix ModelValidation Errors

* fix prettier errors

* fix prettier errors

* add read only to properties

* add resource extension

* add example to privateLink

* fix some prettier issues

* ran prettiercheck

* fix errors

* semanticValidation errors

* add suppression to readme

* add 204 delete operation

* MissingType Object fix

* add suppresion for list operation

* fix prettier errors

* fix package tag for privatelinks

Co-authored-by: JianyeXi <59603451+jianyexi@users.noreply.github.com>
  • Loading branch information
tjegbejimba and jianyexi authored Jul 18, 2021
1 parent 1bed774 commit 19707b7
Show file tree
Hide file tree
Showing 10 changed files with 723 additions and 0 deletions.
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1605,6 +1605,7 @@ rhel
RIRs
rmem
Rmem
rmpl
Rolledback
Rollforward
rollouts
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"plaId": "00000000-0000-0000-0000-000000000000",
"groupId": "my-management-group",
"api-version": "2020-05-01"
},
"responses": {
"200": {
"headers": {}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "my-resource-group",
"api-version": "2020-05-01",
"rmplName": "my-rmplName"
},
"responses": {
"200": {
"headers": {}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"groupId": "my-management-group",
"api-version": "2020-05-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"privateLink": "00000000-0000-0000-0000-000000000000",
"publicNetworkAccess": "Enabled",
"tenantID": "06b3ccb8-1384-4bcc-aec7-852f6d57161b",
"scope": "/providers/Microsoft.Management/managementGroups/my-management-group"
},
"id": "00000000-0000-0000-0000-000000000000",
"type": "Microsoft.Authorization/privateLinkAssociations",
"name": "my-pla"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "my-resource-group",
"api-version": "2020-05-01",
"rmplName": "my-rmplName"
},
"responses": {
"200": {
"body": {
"properties": {
"privateEndpointConnections": []
},
"id": "00000000-0000-0000-0000-000000000000",
"name": "my-pla",
"type": "Microsoft.Authorization/privateLinkAssociations",
"location": "eastus"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2020-05-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"privateEndpointConnections": []
},
"id": "00000000-0000-0000-0000-000000000000",
"name": "my-pla",
"type": "Microsoft.Authorization/privateLinkAssociations",
"location": "eastus"
},
{
"properties": {
"privateEndpointConnections": []
},
"id": "00000000-0000-0000-0000-000000000001",
"name": "my-pla2",
"type": "Microsoft.Authorization/privateLinkAssociations",
"location": "eastus"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"plaId": "00000000-0000-0000-0000-000000000000",
"groupId": "my-management-group",
"api-version": "2020-05-01",
"parameters": {
"privateLink": "00000000-0000-0000-0000-000000000000",
"publicNetworkAccess": "Enabled"
}
},
"responses": {
"200": {
"body": {
"properties": {
"privateLink": "00000000-0000-0000-0000-000000000000",
"publicNetworkAccess": "Enabled",
"tenantID": "06b3ccb8-1384-4bcc-aec7-852f6d57161b",
"scope": "/providers/Microsoft.Management/managementGroups/my-management-group"
},
"id": "00000000-0000-0000-0000-000000000000",
"type": "Microsoft.Authorization/privateLinkAssociations",
"name": "my-pla"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "my-resource-group",
"api-version": "2020-05-01",
"rmplName": "my-rmplName",
"parameters": {
"location": "eastus"
}
},
"responses": {
"200": {
"body": {
"properties": {
"privateEndpointConnections": []
},
"id": "00000000-0000-0000-0000-000000000000",
"name": "my-pla",
"type": "Microsoft.Authorization/privateLinkAssociations",
"location": "eastus"
}
}
}
}
Loading

0 comments on commit 19707b7

Please sign in to comment.