-
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.
New API Version From 2024-04-01, Including Total Minutes Indexed (#30684
) * First commit - deep copy * Added new field * Editting Readme * another update to readme * Last update for readme.md * Changed and compared to Mani's PR 5 months ago
- Loading branch information
1 parent
57c8663
commit a6c483b
Showing
24 changed files
with
1,954 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
....VideoIndexer/preview/2024-09-23-preview/examples/ViAccountCheckNameAvailabilityFree.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,17 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-09-23-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-09-23-preview/examples/ViAccountCheckNameAvailabilityTaken.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,19 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-09-23-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-09-23-preview/examples/ViAccountDelete.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,13 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "contosto-videoanalyzer", | ||
"resourceGroupName": "contoso-rg", | ||
"api-version": "2024-09-23-preview", | ||
"subscriptionId": "b04775c3-63fa-40f3-9430-139d2e5522d3" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
...urce-manager/Microsoft.VideoIndexer/preview/2024-09-23-preview/examples/ViAccountGet.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,46 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "contosto-videoanalyzer", | ||
"resourceGroupName": "contoso-rg", | ||
"api-version": "2024-09-23-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", | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
.../preview/2024-09-23-preview/examples/ViAccountPatch/PatchAccountWithSystemAssignedMi.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,49 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "contosto-videoanalyzer", | ||
"resourceGroupName": "contoso-videoanalyzer-rg", | ||
"api-version": "2024-09-23-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, | ||
"totalMinutesIndexed": 0, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"identity": { | ||
"principalId": "43a83441-c17f-4e06-84a3-2eaf86668da7", | ||
"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", | ||
"type": "SystemAssigned" | ||
} | ||
} | ||
} | ||
} | ||
} |
66 changes: 66 additions & 0 deletions
66
...er/preview/2024-09-23-preview/examples/ViAccountPatch/PatchAccountWithUserAssignedMi.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,66 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "contosto-videoanalyzer", | ||
"resourceGroupName": "contosto-videoanalyzer-rg", | ||
"api-version": "2024-09-23-preview", | ||
"subscriptionId": "b04775c3-63fa-40f3-9430-139d2e5522d3", | ||
"parameters": { | ||
"properties": { | ||
"storageServices": { | ||
"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" | ||
} | ||
}, | ||
"identity": { | ||
"type": "UserAssigned", | ||
"userAssignedIdentities": { | ||
"/subscriptions/xxx/resourceGroups/contoso-videoanalyzer-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-videoanalyzer-mi": {}, | ||
"/subscriptions/xxx/resourceGroups/contoso-videoanalyzer-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-videoanalyzer-mi2": {} | ||
} | ||
} | ||
} | ||
}, | ||
"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", | ||
"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" | ||
}, | ||
"totalSecondsIndexed": 0, | ||
"totalMinutesIndexed": 0, | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
72 changes: 72 additions & 0 deletions
72
...preview/examples/ViAccountPut/ConnectClassicAccountToArmAccountUsingSystemAssignedMI.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,72 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "contosto-videoanalyzer", | ||
"resourceGroupName": "contosto-videoanalyzer-rg", | ||
"api-version": "2024-09-23-preview", | ||
"subscriptionId": "b04775c3-63fa-40f3-9430-139d2e5522d3", | ||
"parameters": { | ||
"location": "NorthEurope", | ||
"properties": { | ||
"accountId": "462af7c5-d1f6-4b91-86e3-8bc5e8a61574", | ||
"storageServices": { | ||
"resourceId": "/subscriptions/xxx/resourceGroups/contoso-videoanalyzer-rg/providers/Microsoft.Storage/storageAccounts/contoso-videoanalyzer-ms" | ||
} | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/586d4f48-8f08-4a4e-96b7-e1892d6dba9e/resourceGroups/contoso-videoanalyzer-rg/providers/Microsoft.VideoIndexer/accounts/contosto-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" | ||
}, | ||
"totalSecondsIndexed": 0, | ||
"totalMinutesIndexed": 0, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"identity": { | ||
"principalId": "43a83441-c17f-4e06-84a3-2eaf86668da7", | ||
"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", | ||
"type": "SystemAssigned" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/586d4f48-8f08-4a4e-96b7-e1892d6dba9e/resourceGroups/contoso-videoanalyzer-rg/providers/Microsoft.VideoIndexer/accounts/contosto-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" | ||
}, | ||
"totalSecondsIndexed": 0, | ||
"totalMinutesIndexed": 0, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"identity": { | ||
"principalId": "43a83441-c17f-4e06-84a3-2eaf86668da7", | ||
"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", | ||
"type": "SystemAssigned" | ||
} | ||
} | ||
} | ||
} | ||
} |
86 changes: 86 additions & 0 deletions
86
...3-preview/examples/ViAccountPut/ConnectClassicAccountToArmAccountUsingUserAssignedMi.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,86 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "contosto-videoanalyzer", | ||
"resourceGroupName": "contosto-videoanalyzer-rg", | ||
"api-version": "2024-09-23-preview", | ||
"subscriptionId": "b04775c3-63fa-40f3-9430-139d2e5522d3", | ||
"parameters": { | ||
"location": "NorthEurope", | ||
"properties": { | ||
"accountId": "462af7c5-d1f6-4b91-86e3-8bc5e8a61574", | ||
"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" | ||
} | ||
}, | ||
"identity": { | ||
"type": "UserAssigned", | ||
"userAssignedIdentities": { | ||
"/subscriptions/xxx/resourceGroups/contoso-videoanalyzer-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-videoanalyzer-mi": {} | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/586d4f48-8f08-4a4e-96b7-e1892d6dba9e/resourceGroups/contoso-videoanalyzer-rg/providers/Microsoft.VideoIndexer/accounts/contosto-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", | ||
"userAssignedIdentity": "/subscriptions/xxx/resourceGroups/contoso-videoanalyzer-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-videoanalyzer-mi" | ||
}, | ||
"totalSecondsIndexed": 0, | ||
"totalMinutesIndexed": 0, | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/586d4f48-8f08-4a4e-96b7-e1892d6dba9e/resourceGroups/contoso-videoanalyzer-rg/providers/Microsoft.VideoIndexer/accounts/contosto-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", | ||
"userAssignedIdentity": "/subscriptions/xxx/resourceGroups/contoso-videoanalyzer-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-videoanalyzer-mi" | ||
}, | ||
"totalSecondsIndexed": 0, | ||
"totalMinutesIndexed": 0, | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.