Skip to content

Commit

Permalink
Add missing private link fields for CDN version 2020-04-15 (#9858)
Browse files Browse the repository at this point in the history
* Add missing private link fields for CDN version 2020-04-15.

* Fix examples for CDN endpoint get, list, and update in 2020-04-15

* Fix CDN Endpoints_Update example.
  • Loading branch information
fore5fire authored Jun 25, 2020
1 parent 0177103 commit 496d55d
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4227,6 +4227,22 @@
"enabled": {
"description": "Origin is enabled for load balancing or not. By default, origin is always enabled.",
"type": "boolean"
},
"privateLinkAlias": {
"description": "The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'",
"type": "string"
},
"privateLinkResourceId": {
"description": "The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'",
"type": "string"
},
"privateLinkLocation": {
"description": "The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated",
"type": "string"
},
"privateLinkApprovalMessage": {
"description": "A custom message to be included in the approval request to connect to the Private Link.",
"type": "string"
}
},
"x-ms-azure-resource": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@
"originHostHeader": "www.someDomain1.net",
"priority": 1,
"weight": 50,
"enabled": true
"enabled": true,
"privateLinkResourceId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.Network/privateLinkServices/pls1",
"privateLinkLocation": "eastus",
"privateLinkApprovalMessage": "Please approve the connection request for this Private Link"
}
},
{
Expand Down Expand Up @@ -162,7 +165,10 @@
"originHostHeader": "www.someDomain1.net",
"priority": 1,
"weight": 50,
"enabled": true
"enabled": true,
"privateLinkResourceId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.Network/privateLinkServices/pls1",
"privateLinkLocation": "eastus",
"privateLinkApprovalMessage": "Please approve the connection request for this Private Link"
}
},
{
Expand Down Expand Up @@ -298,7 +304,10 @@
"originHostHeader": "www.someDomain1.net",
"priority": 1,
"weight": 50,
"enabled": true
"enabled": true,
"privateLinkResourceId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.Network/privateLinkServices/pls1",
"privateLinkLocation": "eastus",
"privateLinkApprovalMessage": "Please approve the connection request for this Private Link"
}
},
{
Expand Down Expand Up @@ -434,7 +443,10 @@
"originHostHeader": "www.someDomain1.net",
"priority": 1,
"weight": 50,
"enabled": true
"enabled": true,
"privateLinkResourceId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.Network/privateLinkServices/pls1",
"privateLinkLocation": "eastus",
"privateLinkApprovalMessage": "Please approve the connection request for this Private Link"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@
"originHostHeader": "www.someDomain2.net",
"priority": 2,
"weight": 50,
"enabled": true
"enabled": true,
"privateLinkResourceId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.Network/privateLinkServices/pls1",
"privateLinkLocation": "eastus",
"privateLinkApprovalMessage": "Please approve the connection request for this Private Link"
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@
"originHostHeader": "www.someDomain2.net",
"priority": 2,
"weight": 50,
"enabled": true
"enabled": true,
"privateLinkResourceId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.Network/privateLinkServices/pls1",
"privateLinkLocation": "eastus",
"privateLinkApprovalMessage": "Please approve the connection request for this Private Link"
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@
"originHostHeader": "www.someDomain2.net",
"priority": 2,
"weight": 50,
"enabled": true
"enabled": true,
"privateLinkResourceId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.Network/privateLinkServices/pls1",
"privateLinkLocation": "eastus",
"privateLinkApprovalMessage": "Please approve the connection request for this Private Link"
}
}
],
Expand Down Expand Up @@ -101,7 +104,10 @@
"originHostHeader": "www.someDomain2.net",
"priority": 2,
"weight": 50,
"enabled": true
"enabled": true,
"privateLinkResourceId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.Network/privateLinkServices/pls1",
"privateLinkLocation": "eastus",
"privateLinkApprovalMessage": "Please approve the connection request for this Private Link"
}
}
],
Expand Down

0 comments on commit 496d55d

Please sign in to comment.