Get Media Services Account Details


It is now recommended to use the Azure Resource Manager (ARM) REST API endpoints, as described in Media Services management REST API reference.

The GET request method described in this topic returns an AccountDetails object for the specified Media Services account. The data contract for AccountDetails is defined later in this topic.

The request may be specified as follows (replace <subscription-id> with your subscription ID, and <accountName> with your account name):

Method Request URI
GET https://endpoint/<subscriptionId>/services/mediaservices/Accounts/<accountName>

A successful operation returns status code 200 (OK). For information about error codes, see Media Services Management Error Codes.

Data Contract

The data contract for AccountDetails is defined as follows:

public class AccountDetails   
    public AccountDetails();   

    public string AccountKey { get; set; }   

    public AccountKeys AccountKeys { get; set; }   

    public string AccountName { get; set; }   

    public string AccountRegion { get; set; }   

    public string StorageAccountName { get; set; } }  

For more information about request and response formats, see Media Services Operations REST


See How to: Use Media Services Management REST API.