-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Monitor privatelinkscopes accessmodesettings - api version 2021-07 pr…
…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
Showing
21 changed files
with
1,869 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
...crosoft.Insights/preview/2021-07-01-preview/examples/PrivateEndpointConnectionDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
.../Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateEndpointConnectionGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
...Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateEndpointConnectionList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...crosoft.Insights/preview/2021-07-01-preview/examples/PrivateEndpointConnectionUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
....Insights/preview/2021-07-01-preview/examples/PrivateLinkScopePrivateLinkResourceGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...ights/preview/2021-07-01-preview/examples/PrivateLinkScopePrivateLinkResourceListGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...crosoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopedResourceDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
.../Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopedResourceGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
50 changes: 50 additions & 0 deletions
50
...Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopedResourceList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
...crosoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopedResourceUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
Oops, something went wrong.