共用方式為


AssetFilters interface

Interface representing a AssetFilters.

Methods

createOrUpdate(string, string, string, string, AssetFilter, AssetFiltersCreateOrUpdateOptionalParams)

Creates or updates an Asset Filter associated with the specified Asset.

delete(string, string, string, string, AssetFiltersDeleteOptionalParams)

Deletes an Asset Filter associated with the specified Asset.

get(string, string, string, string, AssetFiltersGetOptionalParams)

Get the details of an Asset Filter associated with the specified Asset.

list(string, string, string, AssetFiltersListOptionalParams)

List Asset Filters associated with the specified Asset.

update(string, string, string, string, AssetFilter, AssetFiltersUpdateOptionalParams)

Updates an existing Asset Filter associated with the specified Asset.

Method Details

createOrUpdate(string, string, string, string, AssetFilter, AssetFiltersCreateOrUpdateOptionalParams)

Creates or updates an Asset Filter associated with the specified Asset.

function createOrUpdate(resourceGroupName: string, accountName: string, assetName: string, filterName: string, parameters: AssetFilter, options?: AssetFiltersCreateOrUpdateOptionalParams): Promise<AssetFilter>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

assetName

string

The Asset name.

filterName

string

The Asset Filter name

parameters
AssetFilter

The request parameters

options
AssetFiltersCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<AssetFilter>

delete(string, string, string, string, AssetFiltersDeleteOptionalParams)

Deletes an Asset Filter associated with the specified Asset.

function delete(resourceGroupName: string, accountName: string, assetName: string, filterName: string, options?: AssetFiltersDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

assetName

string

The Asset name.

filterName

string

The Asset Filter name

options
AssetFiltersDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, AssetFiltersGetOptionalParams)

Get the details of an Asset Filter associated with the specified Asset.

function get(resourceGroupName: string, accountName: string, assetName: string, filterName: string, options?: AssetFiltersGetOptionalParams): Promise<AssetFilter>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

assetName

string

The Asset name.

filterName

string

The Asset Filter name

options
AssetFiltersGetOptionalParams

The options parameters.

Returns

Promise<AssetFilter>

list(string, string, string, AssetFiltersListOptionalParams)

List Asset Filters associated with the specified Asset.

function list(resourceGroupName: string, accountName: string, assetName: string, options?: AssetFiltersListOptionalParams): PagedAsyncIterableIterator<AssetFilter, AssetFilter[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

assetName

string

The Asset name.

options
AssetFiltersListOptionalParams

The options parameters.

Returns

update(string, string, string, string, AssetFilter, AssetFiltersUpdateOptionalParams)

Updates an existing Asset Filter associated with the specified Asset.

function update(resourceGroupName: string, accountName: string, assetName: string, filterName: string, parameters: AssetFilter, options?: AssetFiltersUpdateOptionalParams): Promise<AssetFilter>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

assetName

string

The Asset name.

filterName

string

The Asset Filter name

parameters
AssetFilter

The request parameters

options
AssetFiltersUpdateOptionalParams

The options parameters.

Returns

Promise<AssetFilter>