Export (0) Print
Expand All

List Storage Accounts (Media Services)

Updated: December 10, 2014

The GET request method described in this topic returns a list of StorageAccountDetails for the Storage Account associated with the specified Media Services account. The data contract for StorageAccountDetails 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>/StorageAccounts

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

The data contract for StorageAccountDetails is defined as follows:

[DataContract] 
public class StorageAccountDetails 
{ 
    public StorageAccountDetails(); 

    [DataMember] 
    public string BlobStorageEndPoint { get; set; } 

    [DataMember] 
    public string StorageAccountName { get; set; } 

    [DataMember] 
    public bool IsDefault { get; set; } 
} 

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

See the ListStorageAccountDetails method in How to: Use Media Services Management REST API.

See Also

Show:
© 2015 Microsoft