AccessPolicies interface

Interface representing a AccessPolicies.

Methods

createOrUpdate(string, string, string, AccessPolicyCreateOrUpdateParameters, AccessPoliciesCreateOrUpdateOptionalParams)

Create or update an access policy in the specified environment.

delete(string, string, string, AccessPoliciesDeleteOptionalParams)

Deletes the access policy with the specified name in the specified subscription, resource group, and environment

get(string, string, string, AccessPoliciesGetOptionalParams)

Gets the access policy with the specified name in the specified environment.

listByEnvironment(string, string, AccessPoliciesListByEnvironmentOptionalParams)

Lists all the available access policies associated with the environment.

update(string, string, string, AccessPolicyUpdateParameters, AccessPoliciesUpdateOptionalParams)

Updates the access policy with the specified name in the specified subscription, resource group, and environment.

Method Details

createOrUpdate(string, string, string, AccessPolicyCreateOrUpdateParameters, AccessPoliciesCreateOrUpdateOptionalParams)

Create or update an access policy in the specified environment.

function createOrUpdate(resourceGroupName: string, environmentName: string, accessPolicyName: string, parameters: AccessPolicyCreateOrUpdateParameters, options?: AccessPoliciesCreateOrUpdateOptionalParams): Promise<AccessPolicyResource>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

environmentName

string

The name of the Time Series Insights environment associated with the specified resource group.

accessPolicyName

string

Name of the access policy.

parameters
AccessPolicyCreateOrUpdateParameters

Parameters for creating an access policy.

options
AccessPoliciesCreateOrUpdateOptionalParams

The options parameters.

Returns

delete(string, string, string, AccessPoliciesDeleteOptionalParams)

Deletes the access policy with the specified name in the specified subscription, resource group, and environment

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

environmentName

string

The name of the Time Series Insights environment associated with the specified resource group.

accessPolicyName

string

The name of the Time Series Insights access policy associated with the specified environment.

options
AccessPoliciesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, AccessPoliciesGetOptionalParams)

Gets the access policy with the specified name in the specified environment.

function get(resourceGroupName: string, environmentName: string, accessPolicyName: string, options?: AccessPoliciesGetOptionalParams): Promise<AccessPolicyResource>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

environmentName

string

The name of the Time Series Insights environment associated with the specified resource group.

accessPolicyName

string

The name of the Time Series Insights access policy associated with the specified environment.

options
AccessPoliciesGetOptionalParams

The options parameters.

Returns

listByEnvironment(string, string, AccessPoliciesListByEnvironmentOptionalParams)

Lists all the available access policies associated with the environment.

function listByEnvironment(resourceGroupName: string, environmentName: string, options?: AccessPoliciesListByEnvironmentOptionalParams): Promise<AccessPolicyListResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

environmentName

string

The name of the Time Series Insights environment associated with the specified resource group.

options
AccessPoliciesListByEnvironmentOptionalParams

The options parameters.

Returns

update(string, string, string, AccessPolicyUpdateParameters, AccessPoliciesUpdateOptionalParams)

Updates the access policy with the specified name in the specified subscription, resource group, and environment.

function update(resourceGroupName: string, environmentName: string, accessPolicyName: string, accessPolicyUpdateParameters: AccessPolicyUpdateParameters, options?: AccessPoliciesUpdateOptionalParams): Promise<AccessPolicyResource>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

environmentName

string

The name of the Time Series Insights environment associated with the specified resource group.

accessPolicyName

string

The name of the Time Series Insights access policy associated with the specified environment.

accessPolicyUpdateParameters
AccessPolicyUpdateParameters

Request object that contains the updated information for the access policy.

options
AccessPoliciesUpdateOptionalParams

The options parameters.

Returns