Accounts - Get
Gets the properties of an Azure Video Indexer account.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VideoIndexer/accounts/{accountName}?api-version=2024-01-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
account
|
path | True |
string |
The name of the Azure Video Indexer account. Regex pattern: |
resource
|
path | True |
string |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string |
The ID of the target subscription. |
api-version
|
query | True |
string |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The Azure Video Indexer account properties were retrieved successfully. |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Get account
Sample request
GET https://management.azure.com/subscriptions/586d4f48-8f08-4a4e-96b7-e1892d6dba9e/resourceGroups/contoso-rg/providers/Microsoft.VideoIndexer/accounts/contosto-videoanalyzer?api-version=2024-01-01
Sample response
{
"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"
},
"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"
}
}
}
}
Definitions
Name | Description |
---|---|
Account |
An Azure Video Indexer account. |
created |
The type of identity that created the resource. |
Error |
Error definition. |
Error |
Error response. |
Managed |
Managed service identity (system assigned and/or user assigned identities) |
Managed |
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). |
provisioning |
Gets the status of the account at the time the operation was called. |
Storage |
The storage services details |
system |
Metadata pertaining to creation and last modification of the resource. |
User |
User assigned identity properties |
Account
An Azure Video Indexer account.
Name | Type | Default value | Description |
---|---|---|---|
id |
string |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
|
identity |
Managed service identity (system assigned and/or user assigned identities) |
||
location |
string |
The geo-location where the resource lives |
|
name |
string |
The name of the resource |
|
properties.accountId |
string |
00000000-0000-0000-0000-000000000000 |
The account's data-plane ID. This can be set only when connecting an existing classic account |
properties.accountName |
string |
The account's name |
|
properties.provisioningState |
Gets the status of the account at the time the operation was called. |
||
properties.storageServices |
The storage services details |
||
properties.tenantId |
string |
The account's tenant id |
|
properties.totalSecondsIndexed |
integer |
An integer representing the total seconds that have been indexed on the account |
|
systemData |
The system meta data relating to this resource. |
||
tags |
object |
Resource tags. |
|
type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
createdByType
The type of identity that created the resource.
Name | Type | Description |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
ErrorDefinition
Error definition.
Name | Type | Description |
---|---|---|
code |
string |
Service specific error code which serves as the substatus for the HTTP error code. |
details |
Internal error details. |
|
message |
string |
Description of the error. |
ErrorResponse
Error response.
Name | Type | Description |
---|---|---|
error |
The error details. |
ManagedServiceIdentity
Managed service identity (system assigned and/or user assigned identities)
Name | Type | Description |
---|---|---|
principalId |
string |
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. |
tenantId |
string |
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. |
type |
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). |
|
userAssignedIdentities |
<string,
User |
User-Assigned Identities |
ManagedServiceIdentityType
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
Name | Type | Description |
---|---|---|
None |
string |
|
SystemAssigned |
string |
|
SystemAssigned,UserAssigned |
string |
|
UserAssigned |
string |
provisioningState
Gets the status of the account at the time the operation was called.
Name | Type | Description |
---|---|---|
Accepted |
string |
|
Canceled |
string |
|
Deleting |
string |
|
Failed |
string |
|
Provisioning |
string |
|
Succeeded |
string |
StorageServicesForPutRequest
The storage services details
Name | Type | Description |
---|---|---|
resourceId |
string |
The storage services resource id |
userAssignedIdentity |
string |
The user assigned identity to be used to grant permissions |
systemData
Metadata pertaining to creation and last modification of the resource.
Name | Type | Description |
---|---|---|
createdAt |
string |
The timestamp of resource creation (UTC). |
createdBy |
string |
The identity that created the resource. |
createdByType |
The type of identity that created the resource. |
|
lastModifiedAt |
string |
The timestamp of resource last modification (UTC) |
lastModifiedBy |
string |
The identity that last modified the resource. |
lastModifiedByType |
The type of identity that last modified the resource. |
UserAssignedIdentity
User assigned identity properties
Name | Type | Description |
---|---|---|
clientId |
string |
The client ID of the assigned identity. |
principalId |
string |
The principal ID of the assigned identity. |