AccessPolicies interface

Interface representing a AccessPolicies.

Methods

createOrUpdate(string, string, string, AccessPolicyEntity, AccessPoliciesCreateOrUpdateOptionalParams)

Creates a new access policy resource or updates an existing one with the given name.

delete(string, string, string, AccessPoliciesDeleteOptionalParams)

Deletes an existing access policy resource with the given name.

get(string, string, string, AccessPoliciesGetOptionalParams)

Retrieves an existing access policy resource with the given name.

list(string, string, AccessPoliciesListOptionalParams)

Retrieves all existing access policy resources, along with their JSON representations.

update(string, string, string, AccessPolicyEntity, AccessPoliciesUpdateOptionalParams)

Updates individual properties of an existing access policy resource with the given name.

Method Details

createOrUpdate(string, string, string, AccessPolicyEntity, AccessPoliciesCreateOrUpdateOptionalParams)

Creates a new access policy resource or updates an existing one with the given name.

function createOrUpdate(resourceGroupName: string, accountName: string, accessPolicyName: string, parameters: AccessPolicyEntity, options?: AccessPoliciesCreateOrUpdateOptionalParams): Promise<AccessPolicyEntity>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The Azure Video Analyzer account name.

accessPolicyName

string

The Access Policy name.

parameters
AccessPolicyEntity

The request parameters

options
AccessPoliciesCreateOrUpdateOptionalParams

The options parameters.

Returns

delete(string, string, string, AccessPoliciesDeleteOptionalParams)

Deletes an existing access policy resource with the given name.

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The Azure Video Analyzer account name.

accessPolicyName

string

The Access Policy name.

options
AccessPoliciesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, AccessPoliciesGetOptionalParams)

Retrieves an existing access policy resource with the given name.

function get(resourceGroupName: string, accountName: string, accessPolicyName: string, options?: AccessPoliciesGetOptionalParams): Promise<AccessPolicyEntity>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The Azure Video Analyzer account name.

accessPolicyName

string

The Access Policy name.

options
AccessPoliciesGetOptionalParams

The options parameters.

Returns

list(string, string, AccessPoliciesListOptionalParams)

Retrieves all existing access policy resources, along with their JSON representations.

function list(resourceGroupName: string, accountName: string, options?: AccessPoliciesListOptionalParams): PagedAsyncIterableIterator<AccessPolicyEntity, AccessPolicyEntity[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The Azure Video Analyzer account name.

options
AccessPoliciesListOptionalParams

The options parameters.

Returns

update(string, string, string, AccessPolicyEntity, AccessPoliciesUpdateOptionalParams)

Updates individual properties of an existing access policy resource with the given name.

function update(resourceGroupName: string, accountName: string, accessPolicyName: string, parameters: AccessPolicyEntity, options?: AccessPoliciesUpdateOptionalParams): Promise<AccessPolicyEntity>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The Azure Video Analyzer account name.

accessPolicyName

string

The Access Policy name.

parameters
AccessPolicyEntity

The request parameters

options
AccessPoliciesUpdateOptionalParams

The options parameters.

Returns