-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Video Indexer Private Endpoint Onboarding #29266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ms-bogdan-rotaru
merged 12 commits into
main
from
feature/tshaiman/vi-private-endpoint-onboarding
Jun 12, 2024
Merged
Changes from 10 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
869948f
base commit
tshaiman 2ebd3fb
docs
tshaiman 985b724
adding private link support
tshaiman 538835e
examples for private endpoint
tshaiman fbf07a7
register AllowPublicAccess field for Private Endpoint
tshaiman 13ef5d8
allign common types version
tshaiman be32ebb
no default on Patch
tshaiman 0b175c5
MI
tshaiman e6c739b
OperationListResult
tshaiman 244a5cb
privare link resource pageble
tshaiman ec9b65d
move to common-types operations
tshaiman 63c96c2
video-indexer instead analyzer
tshaiman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
61 changes: 61 additions & 0 deletions
61
...preview/examples/PrivateEndpointConnections/PrivateEndpointConnection_CreateOrUpdate.json
This file contains hidden or 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,61 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "test-rg", | ||
| "accountName": "contoso", | ||
| "privateEndpointConnectionName": "peexample01", | ||
| "api-version": "2024-06-01-preview", | ||
| "body": { | ||
| "properties": { | ||
| "privateLinkServiceConnectionState": { | ||
| "status": "Approved", | ||
| "description": "Auto-Approved" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.VideoIndexer/accounts/contoso/privateEndpointConnections/peexample01", | ||
| "name": "peexample01", | ||
| "type": "Microsoft.VideoIndexer/accounts/privateEndpointConnections", | ||
| "properties": { | ||
| "provisioningState": "Succeeded", | ||
| "privateEndpoint": { | ||
| "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/peexample01" | ||
| }, | ||
| "privateLinkServiceConnectionState": { | ||
| "status": "Approved", | ||
| "description": "Auto-Approved", | ||
| "actionsRequired": "None" | ||
| }, | ||
| "groupIds": [ | ||
| "groupId" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| "201": { | ||
| "body": { | ||
| "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.VideoIndexer/accounts/contoso/privateEndpointConnections/peexample01", | ||
| "name": "peexample01", | ||
| "type": "Microsoft.VideoIndexer/accounts/privateEndpointConnections", | ||
| "properties": { | ||
| "provisioningState": "Succeeded", | ||
| "privateEndpoint": { | ||
| "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/peexample01" | ||
| }, | ||
| "privateLinkServiceConnectionState": { | ||
| "status": "Approved", | ||
| "description": "Auto-Approved", | ||
| "actionsRequired": "None" | ||
| }, | ||
| "groupIds": [ | ||
| "groupId" | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
17 changes: 17 additions & 0 deletions
17
...4-06-01-preview/examples/PrivateEndpointConnections/PrivateEndpointConnection_Delete.json
This file contains hidden or 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,17 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "test-rg", | ||
| "accountName": "contoso", | ||
| "privateEndpointConnectionName": "peexample01", | ||
| "api-version": "2024-06-01-preview" | ||
| }, | ||
| "responses": { | ||
| "202": { | ||
| "headers": { | ||
| "Location": "https://management.azure.com/providers/Microsoft.VideoIndexer/locations/westus2/operationStatuses/00000000-0000-0000-0000-000000000000*427E3E07F4C0A3DCD66951C42FD7BCD794AEAC5E321728AFBDCAA7C02E9CD4D3?api-version=2024-06-01-preview" | ||
| } | ||
| }, | ||
| "204": {} | ||
| } | ||
| } |
32 changes: 32 additions & 0 deletions
32
...2024-06-01-preview/examples/PrivateEndpointConnections/PrivateEndpointConnection_Get.json
This file contains hidden or 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,32 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "test-rg", | ||
| "accountName": "contoso", | ||
| "privateEndpointConnectionName": "peexample01", | ||
| "api-version": "2024-06-01-preview" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.VideoIndexer/accounts/contoso/privateEndpointConnections/peexample01", | ||
| "name": "peexample01", | ||
| "type": "Microsoft.VideoIndexer/accounts/privateEndpointConnections", | ||
| "properties": { | ||
| "provisioningState": "Succeeded", | ||
| "privateEndpoint": { | ||
| "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/peexample01" | ||
| }, | ||
| "privateLinkServiceConnectionState": { | ||
| "status": "Approved", | ||
| "description": "Auto-Approved", | ||
| "actionsRequired": "None" | ||
| }, | ||
| "groupIds": [ | ||
| "groupId" | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
35 changes: 35 additions & 0 deletions
35
...-preview/examples/PrivateEndpointConnections/PrivateEndpointConnection_ListByAccount.json
This file contains hidden or 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,35 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "test-rg", | ||
| "accountName": "contoso", | ||
| "api-version": "2024-06-01-preview" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.VideoIndexer/accounts/contoso/privateEndpointConnections/peexample01", | ||
| "name": "peexample01", | ||
| "type": "Microsoft.VideoIndexer/accounts/privateEndpointConnections", | ||
| "properties": { | ||
| "provisioningState": "Succeeded", | ||
| "privateEndpoint": { | ||
| "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/peexample01" | ||
| }, | ||
| "privateLinkServiceConnectionState": { | ||
| "status": "Approved", | ||
| "description": "Auto-Approved", | ||
| "actionsRequired": "None" | ||
| }, | ||
| "groupIds": [ | ||
| "groupId" | ||
| ] | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
27 changes: 27 additions & 0 deletions
27
...er/preview/2024-06-01-preview/examples/PrivateLinkResources/PrivateLinkResources_Get.json
This file contains hidden or 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,27 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "test-rg", | ||
| "accountName": "contoso", | ||
| "groupId": "avi", | ||
| "api-version": "2024-06-01-preview" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.VideoIndexer/accounts/contoso/privateLinkResources/avi", | ||
| "name": "avi", | ||
| "type": "Microsoft.VideoIndexer/accounts/privateLinkResources", | ||
| "properties": { | ||
| "groupId": "avi", | ||
| "requiredMembers": [ | ||
| "avi" | ||
| ], | ||
| "requiredZoneNames": [ | ||
| "privatelink.avi.microsoft.com" | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
30 changes: 30 additions & 0 deletions
30
.../2024-06-01-preview/examples/PrivateLinkResources/PrivateLinkResources_ListByAccount.json
This file contains hidden or 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-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "test-rg", | ||
| "accountName": "contoso", | ||
| "api-version": "2024-06-01-preview" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.VideoIndexer/accounts/contoso/privateLinkResources/avi", | ||
| "name": "avi", | ||
| "type": "Microsoft.VideoIndexer/accounts/privateLinkResources", | ||
| "properties": { | ||
| "groupId": "avi", | ||
| "requiredMembers": [ | ||
| "avi" | ||
| ], | ||
| "requiredZoneNames": [ | ||
| "privatelink.avi.microsoft.com" | ||
| ] | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
17 changes: 17 additions & 0 deletions
17
....VideoIndexer/preview/2024-06-01-preview/examples/ViAccountCheckNameAvailabilityFree.json
This file contains hidden or 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,17 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2024-06-01-preview", | ||
| "subscriptionId": "586d4f48-8f08-4a4e-96b7-e1892d6dba9e", | ||
| "checkNameAvailabilityParameters": { | ||
| "name": "vi1", | ||
| "type": "Microsoft.VideoIndexer/accounts" | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "nameAvailable": true | ||
| } | ||
| } | ||
| } | ||
| } |
19 changes: 19 additions & 0 deletions
19
...VideoIndexer/preview/2024-06-01-preview/examples/ViAccountCheckNameAvailabilityTaken.json
This file contains hidden or 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,19 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2024-06-01-preview", | ||
| "subscriptionId": "586d4f48-8f08-4a4e-96b7-e1892d6dba9e", | ||
| "checkNameAvailabilityParameters": { | ||
| "name": "vi1", | ||
| "type": "Microsoft.VideoIndexer/accounts" | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "nameAvailable": false, | ||
| "reason": "AlreadyExists", | ||
| "message": "Resource name already exists" | ||
| } | ||
| } | ||
| } | ||
| } |
13 changes: 13 additions & 0 deletions
13
...e-manager/Microsoft.VideoIndexer/preview/2024-06-01-preview/examples/ViAccountDelete.json
This file contains hidden or 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,13 @@ | ||
| { | ||
| "parameters": { | ||
| "accountName": "contosto-videoanalyzer", | ||
| "resourceGroupName": "contoso-rg", | ||
| "api-version": "2024-06-01-preview", | ||
| "subscriptionId": "b04775c3-63fa-40f3-9430-139d2e5522d3" | ||
| }, | ||
| "responses": { | ||
| "200": {}, | ||
| "202": {}, | ||
| "204": {} | ||
| } | ||
| } | ||
46 changes: 46 additions & 0 deletions
46
...urce-manager/Microsoft.VideoIndexer/preview/2024-06-01-preview/examples/ViAccountGet.json
This file contains hidden or 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,46 @@ | ||
| { | ||
| "parameters": { | ||
| "accountName": "contosto-videoanalyzer", | ||
| "resourceGroupName": "contoso-rg", | ||
| "api-version": "2024-06-01-preview", | ||
| "subscriptionId": "586d4f48-8f08-4a4e-96b7-e1892d6dba9e" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/586d4f48-8f08-4a4e-96b7-e1892d6dba9e/resourceGroups/contoso-videoanalyzer-rg/providers/Microsoft.VideoIndexer/accounts/contoso-videoanalyzer", | ||
| "name": "vi1", | ||
| "type": "Microsoft.VideoIndexer/accounts", | ||
| "location": "NorthEurope", | ||
| "tags": {}, | ||
| "properties": { | ||
| "tenantId": "8c406f87-77ac-4ebb-a401-e8562450630e", | ||
| "accountId": "462af7c5-d1f6-4b91-86e3-8bc5e8a61574", | ||
| "accountName": "contosto-videoanalyzer", | ||
|
tshaiman marked this conversation as resolved.
Outdated
|
||
| "storageServices": { | ||
| "resourceId": "/subscriptions/xxx/resourceGroups/contoso-videoanalyzer-rg/providers/Microsoft.Storage/storageAccounts/contoso-videoanalyzer-ms", | ||
| "userAssignedIdentity": "/subscriptions/xxx/resourceGroups/contoso-videoanalyzer-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-videoanalyzer-mi" | ||
| }, | ||
| "openAiServices": { | ||
| "resourceId": "/subscriptions/xxx/resourceGroups/contoso-videoanalyzer-rg/providers/Microsoft.CognitiveServices/accounts/contoso-viopenai-ms", | ||
| "userAssignedIdentity": "/subscriptions/xxx/resourceGroups/contoso-videoanalyzer-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-videoanalyzer-mi2" | ||
| }, | ||
| "provisioningState": "Succeeded" | ||
| }, | ||
| "identity": { | ||
| "type": "UserAssigned", | ||
| "userAssignedIdentities": { | ||
| "/subscriptions/xxx/resourceGroups/contoso-videoanalyzer-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-videoanalyzer-mi": { | ||
| "principalId": "a661c16c-ee39-46e7-93f6-7fb80d17ef13", | ||
| "clientId": "92e65ecf-0fae-432e-8272-fedb6edb96c7" | ||
| }, | ||
| "/subscriptions/xxx/resourceGroups/contoso-videoanalyzer-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-videoanalyzer-mi2": { | ||
| "principalId": "d2844978-40e3-4b7d-af13-cb6eeebd2726", | ||
| "clientId": "433ac7cb-6071-4052-ba31-65d9e26e21ed" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
48 changes: 48 additions & 0 deletions
48
.../preview/2024-06-01-preview/examples/ViAccountPatch/PatchAccountWithSystemAssignedMi.json
This file contains hidden or 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": { | ||
| "accountName": "contosto-videoanalyzer", | ||
| "resourceGroupName": "contoso-videoanalyzer-rg", | ||
| "api-version": "2024-06-01-preview", | ||
| "subscriptionId": "b04775c3-63fa-40f3-9430-139d2e5522d3", | ||
| "parameters": { | ||
| "properties": { | ||
| "storageServices": {}, | ||
| "openAiServices": { | ||
| "resourceId": "/subscriptions/xxx/resourceGroups/contoso-videoanalyzer-rg/providers/Microsoft.CognitiveServices/accounts/contoso-viopenai-ms" | ||
| } | ||
| }, | ||
| "identity": { | ||
| "type": "SystemAssigned" | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/586d4f48-8f08-4a4e-96b7-e1892d6dba9e/resourceGroups/contoso-videoanalyzer-rg/providers/Microsoft.VideoIndexer/accounts/contoso-videoanalyzer", | ||
| "name": "contosto-videoanalyzer", | ||
| "location": "NorthEurope", | ||
| "type": "Microsoft.VideoIndexer/accounts", | ||
| "tags": {}, | ||
| "properties": { | ||
| "tenantId": "8c406f87-77ac-4ebb-a401-e8562450630e", | ||
| "accountId": "462af7c5-d1f6-4b91-86e3-8bc5e8a61574", | ||
| "accountName": "contosto-videoanalyzer", | ||
| "storageServices": { | ||
| "resourceId": "/subscriptions/xxx/resourceGroups/contoso-videoanalyzer-rg/providers/Microsoft.Storage/storageAccounts/contoso-videoanalyzer-ms" | ||
| }, | ||
| "openAiServices": { | ||
| "resourceId": "/subscriptions/xxx/resourceGroups/contoso-videoanalyzer-rg/providers/Microsoft.CognitiveServices/accounts/contoso-viopenai-ms" | ||
| }, | ||
| "totalSecondsIndexed": 0, | ||
| "provisioningState": "Succeeded" | ||
| }, | ||
| "identity": { | ||
| "principalId": "43a83441-c17f-4e06-84a3-2eaf86668da7", | ||
| "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", | ||
| "type": "SystemAssigned" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.