共用方式為


Mediaservices interface

Interface representing a Mediaservices.

Methods

beginCreateOrUpdate(string, string, MediaService, MediaservicesCreateOrUpdateOptionalParams)

Creates or updates a Media Services account

beginCreateOrUpdateAndWait(string, string, MediaService, MediaservicesCreateOrUpdateOptionalParams)

Creates or updates a Media Services account

beginUpdate(string, string, MediaServiceUpdate, MediaservicesUpdateOptionalParams)

Updates an existing Media Services account

beginUpdateAndWait(string, string, MediaServiceUpdate, MediaservicesUpdateOptionalParams)

Updates an existing Media Services account

delete(string, string, MediaservicesDeleteOptionalParams)

Deletes a Media Services account

get(string, string, MediaservicesGetOptionalParams)

Get the details of a Media Services account

list(string, MediaservicesListOptionalParams)

List Media Services accounts in the resource group

listBySubscription(MediaservicesListBySubscriptionOptionalParams)

List Media Services accounts in the subscription.

listEdgePolicies(string, string, ListEdgePoliciesInput, MediaservicesListEdgePoliciesOptionalParams)

List all the media edge policies associated with the Media Services account.

syncStorageKeys(string, string, SyncStorageKeysInput, MediaservicesSyncStorageKeysOptionalParams)

Synchronizes storage account keys for a storage account associated with the Media Service account.

Method Details

beginCreateOrUpdate(string, string, MediaService, MediaservicesCreateOrUpdateOptionalParams)

Creates or updates a Media Services account

function beginCreateOrUpdate(resourceGroupName: string, accountName: string, parameters: MediaService, options?: MediaservicesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<MediaservicesCreateOrUpdateResponse>, MediaservicesCreateOrUpdateResponse>>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

parameters
MediaService

The request parameters

options
MediaservicesCreateOrUpdateOptionalParams

The options parameters.

Returns

beginCreateOrUpdateAndWait(string, string, MediaService, MediaservicesCreateOrUpdateOptionalParams)

Creates or updates a Media Services account

function beginCreateOrUpdateAndWait(resourceGroupName: string, accountName: string, parameters: MediaService, options?: MediaservicesCreateOrUpdateOptionalParams): Promise<MediaservicesCreateOrUpdateResponse>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

parameters
MediaService

The request parameters

options
MediaservicesCreateOrUpdateOptionalParams

The options parameters.

Returns

beginUpdate(string, string, MediaServiceUpdate, MediaservicesUpdateOptionalParams)

Updates an existing Media Services account

function beginUpdate(resourceGroupName: string, accountName: string, parameters: MediaServiceUpdate, options?: MediaservicesUpdateOptionalParams): Promise<PollerLike<PollOperationState<MediaservicesUpdateResponse>, MediaservicesUpdateResponse>>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

parameters
MediaServiceUpdate

The request parameters

options
MediaservicesUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<MediaservicesUpdateResponse>, MediaservicesUpdateResponse>>

beginUpdateAndWait(string, string, MediaServiceUpdate, MediaservicesUpdateOptionalParams)

Updates an existing Media Services account

function beginUpdateAndWait(resourceGroupName: string, accountName: string, parameters: MediaServiceUpdate, options?: MediaservicesUpdateOptionalParams): Promise<MediaservicesUpdateResponse>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

parameters
MediaServiceUpdate

The request parameters

options
MediaservicesUpdateOptionalParams

The options parameters.

Returns

delete(string, string, MediaservicesDeleteOptionalParams)

Deletes a Media Services account

function delete(resourceGroupName: string, accountName: string, options?: MediaservicesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

options
MediaservicesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, MediaservicesGetOptionalParams)

Get the details of a Media Services account

function get(resourceGroupName: string, accountName: string, options?: MediaservicesGetOptionalParams): Promise<MediaService>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

options
MediaservicesGetOptionalParams

The options parameters.

Returns

Promise<MediaService>

list(string, MediaservicesListOptionalParams)

List Media Services accounts in the resource group

function list(resourceGroupName: string, options?: MediaservicesListOptionalParams): PagedAsyncIterableIterator<MediaService, MediaService[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

options
MediaservicesListOptionalParams

The options parameters.

Returns

listBySubscription(MediaservicesListBySubscriptionOptionalParams)

List Media Services accounts in the subscription.

function listBySubscription(options?: MediaservicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<MediaService, MediaService[], PageSettings>

Parameters

options
MediaservicesListBySubscriptionOptionalParams

The options parameters.

Returns

listEdgePolicies(string, string, ListEdgePoliciesInput, MediaservicesListEdgePoliciesOptionalParams)

List all the media edge policies associated with the Media Services account.

function listEdgePolicies(resourceGroupName: string, accountName: string, parameters: ListEdgePoliciesInput, options?: MediaservicesListEdgePoliciesOptionalParams): Promise<EdgePolicies>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

parameters
ListEdgePoliciesInput

The request parameters

options
MediaservicesListEdgePoliciesOptionalParams

The options parameters.

Returns

Promise<EdgePolicies>

syncStorageKeys(string, string, SyncStorageKeysInput, MediaservicesSyncStorageKeysOptionalParams)

Synchronizes storage account keys for a storage account associated with the Media Service account.

function syncStorageKeys(resourceGroupName: string, accountName: string, parameters: SyncStorageKeysInput, options?: MediaservicesSyncStorageKeysOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

parameters
SyncStorageKeysInput

The request parameters

options
MediaservicesSyncStorageKeysOptionalParams

The options parameters.

Returns

Promise<void>