Skip to content

Commit

Permalink
Monitor privatelinkscopes accessmodesettings - api version 2021-07 pr…
Browse files Browse the repository at this point in the history
…eview (#15246)

* new api-version clone

* use common types

* Update privateLinkScopes_API.json

* Update privateLinkScopes_API.json

* add new access mode settings

* Update privateLinkScopes_API.json

* access mode

* access mode

* PEs common type

* Update privateLinkScopes_API.json

* make access mode settings required

* Update privateLinkScopes_API.json

* add required property to example
  • Loading branch information
arolshan authored Sep 2, 2021
1 parent c52d1e5 commit 332c1c6
Show file tree
Hide file tree
Showing 21 changed files with 1,869 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "MyResourceGroup",
"scopeName": "MyPrivateLinkScope",
"privateEndpointConnectionName": "private-endpoint-connection-name",
"api-version": "2021-07-01-preview"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "MyResourceGroup",
"scopeName": "MyPrivateLinkScope",
"privateEndpointConnectionName": "private-endpoint-connection-name",
"api-version": "2021-07-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name",
"name": "private-endpoint-connection-name",
"type": "Microsoft.Insights/privateLinkScopes/privateEndpointConnections",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
"actionsRequired": "None"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "MyResourceGroup",
"scopeName": "MyPrivateLinkScope",
"api-version": "2021-07-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name-2",
"name": "private-endpoint-connection-name",
"type": "Microsoft.Insights/privateLinkScopes/privateEndpointConnections",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
"actionsRequired": "None"
}
}
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name-2",
"name": "private-endpoint-connection-name-2",
"type": "Microsoft.Insights/privateLinkScopes/privateEndpointConnections",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name-2"
},
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "Please approve my connection.",
"actionsRequired": "None"
}
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "MyResourceGroup",
"scopeName": "MyPrivateLinkScope",
"privateEndpointConnectionName": "private-endpoint-connection-name",
"api-version": "2021-07-01-preview",
"parameters": {
"properties": {
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Approved by [email protected]"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name",
"name": "private-endpoint-connection-name",
"type": "Microsoft.Insights/privateLinkScopes/privateEndpointConnections",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Approved by [email protected]",
"actionsRequired": "None"
}
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "MyResourceGroup",
"scopeName": "MyPrivateLinkScope",
"api-version": "2021-07-01-preview",
"groupName": "azuremonitor"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/privateLinkResources/azuremonitor",
"name": "azuremonitor",
"type": "Microsoft.Insights/privateLinkScopes/privateLinkResources",
"properties": {
"groupId": "azuremonitor",
"requiredMembers": [
"api",
"global.in.ai",
"profiler",
"live",
"snapshot",
"agentsolutionpackstore",
"dce-global"
],
"requiredZoneNames": [
"privatelink.monitor.azure.com",
"privatelink.oms.opinsights.azure.com",
"privatelink.ods.opinsights.azure.com",
"privatelink.agentsvc.azure-automation.net",
"privatelink.blob.core.windows.net"
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "MyResourceGroup",
"scopeName": "MyPrivateLinkScope",
"api-version": "2021-07-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/privateLinkResources/azuremonitor",
"name": "azuremonitor",
"type": "Microsoft.Insights/privateLinkScopes/privateLinkResources",
"properties": {
"groupId": "azuremonitor",
"requiredMembers": [
"api",
"global.in.ai",
"profiler",
"live",
"snapshot",
"agentsolutionpackstore",
"dce-global"
],
"requiredZoneNames": [
"privatelink.monitor.azure.com",
"privatelink.oms.opinsights.azure.com",
"privatelink.ods.opinsights.azure.com",
"privatelink.agentsvc.azure-automation.net",
"privatelink.blob.core.windows.net"
]
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "MyResourceGroup",
"scopeName": "MyPrivateLinkScope",
"name": "scoped-resource-name",
"api-version": "2021-07-01-preview"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "MyResourceGroup",
"scopeName": "MyPrivateLinkScope",
"name": "scoped-resource-name",
"api-version": "2021-07-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/scopedResources/scoped-resource-name",
"name": "scoped-resource-name",
"type": "Microsoft.Insights/privateLinkScopes/scopedResources",
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2021-06-16T12:59:57.051056Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-06-16T12:59:57.051056Z"
},
"properties": {
"linkedResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/components/my-component",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "MyResourceGroup",
"scopeName": "MyPrivateLinkScope",
"api-version": "2021-07-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/scopedResources/scoped-resource-name",
"name": "scoped-resource-name",
"type": "Microsoft.Insights/privateLinkScopes/scopedResources",
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2021-06-16T12:59:57.051056Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-06-16T12:59:57.051056Z"
},
"properties": {
"linkedResourceId": "/subscriptions/00000000-0000-2222-3333-444444444444/resourceGroups/MyComponentResourceGroup/providers/Microsoft.Insights/components/my-component",
"provisioningState": "Succeeded"
}
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/scopedResources/other-scoped-resource-name",
"name": "other-scoped-resource-name",
"type": "Microsoft.Insights/privateLinkScopes/scopedResources",
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2021-06-16T12:59:57.051056Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-06-16T12:59:57.051056Z"
},
"properties": {
"linkedResourceId": "/subscriptions/00000000-3333-2222-5555-444444444444/resourceGroups/MyWorkspaceResourceGroup/providers/Microsoft.OperationalInsights/workspaces/my-workspace",
"provisioningState": "Provisioning"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "MyResourceGroup",
"scopeName": "MyPrivateLinkScope",
"name": "scoped-resource-name",
"api-version": "2021-07-01-preview",
"parameters": {
"properties": {
"linkedResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/components/my-component"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/scopedResources/scoped-resource-name",
"name": "scoped-resource-name",
"type": "Microsoft.Insights/privateLinkScopes/scopedResources",
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2021-06-16T12:59:57.051056Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-06-16T12:59:57.051056Z"
},
"properties": {
"linkedResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/components/my-component",
"provisioningState": "Succeeded"
}
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/scopedResources/scoped-resource-name",
"name": "scoped-resource-name",
"type": "Microsoft.Insights/privateLinkScopes/scopedResources",
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "2021-06-16T12:59:57.051056Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-06-16T12:59:57.051056Z"
},
"properties": {
"linkedResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/components/my-component",
"provisioningState": "Succeeded"
}
}
},
"202": {}
}
}
Loading

0 comments on commit 332c1c6

Please sign in to comment.