SecurityUserRules interface

Interface representing a SecurityUserRules.

Methods

beginDelete(string, string, string, string, string, SecurityUserRulesDeleteOptionalParams)

Deletes a security user rule.

beginDeleteAndWait(string, string, string, string, string, SecurityUserRulesDeleteOptionalParams)

Deletes a security user rule.

createOrUpdate(string, string, string, string, string, SecurityUserRule, SecurityUserRulesCreateOrUpdateOptionalParams)

Creates or updates a security user rule.

get(string, string, string, string, string, SecurityUserRulesGetOptionalParams)

Gets a security user rule.

list(string, string, string, string, SecurityUserRulesListOptionalParams)

Lists all Security User Rules in a rule collection.

Method Details

beginDelete(string, string, string, string, string, SecurityUserRulesDeleteOptionalParams)

Deletes a security user rule.

function beginDelete(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, ruleName: string, options?: SecurityUserRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

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

networkManagerName

string

The name of the network manager.

configurationName

string

The name of the network manager Security Configuration.

ruleCollectionName

string

The name of the network manager security Configuration rule collection.

ruleName

string

The name of the rule.

options
SecurityUserRulesDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, string, string, SecurityUserRulesDeleteOptionalParams)

Deletes a security user rule.

function beginDeleteAndWait(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, ruleName: string, options?: SecurityUserRulesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

networkManagerName

string

The name of the network manager.

configurationName

string

The name of the network manager Security Configuration.

ruleCollectionName

string

The name of the network manager security Configuration rule collection.

ruleName

string

The name of the rule.

options
SecurityUserRulesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

createOrUpdate(string, string, string, string, string, SecurityUserRule, SecurityUserRulesCreateOrUpdateOptionalParams)

Creates or updates a security user rule.

function createOrUpdate(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, ruleName: string, securityUserRule: SecurityUserRule, options?: SecurityUserRulesCreateOrUpdateOptionalParams): Promise<SecurityUserRule>

Parameters

resourceGroupName

string

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

networkManagerName

string

The name of the network manager.

configurationName

string

The name of the network manager Security Configuration.

ruleCollectionName

string

The name of the network manager security Configuration rule collection.

ruleName

string

The name of the rule.

securityUserRule
SecurityUserRule

The security user rule to create or update

options
SecurityUserRulesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<SecurityUserRule>

get(string, string, string, string, string, SecurityUserRulesGetOptionalParams)

Gets a security user rule.

function get(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, ruleName: string, options?: SecurityUserRulesGetOptionalParams): Promise<SecurityUserRule>

Parameters

resourceGroupName

string

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

networkManagerName

string

The name of the network manager.

configurationName

string

The name of the network manager Security Configuration.

ruleCollectionName

string

The name of the network manager security Configuration rule collection.

ruleName

string

The name of the rule.

options
SecurityUserRulesGetOptionalParams

The options parameters.

Returns

Promise<SecurityUserRule>

list(string, string, string, string, SecurityUserRulesListOptionalParams)

Lists all Security User Rules in a rule collection.

function list(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, options?: SecurityUserRulesListOptionalParams): PagedAsyncIterableIterator<SecurityUserRule, SecurityUserRule[], PageSettings>

Parameters

resourceGroupName

string

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

networkManagerName

string

The name of the network manager.

configurationName

string

The name of the network manager Security Configuration.

ruleCollectionName

string

The name of the network manager security Configuration rule collection.

options
SecurityUserRulesListOptionalParams

The options parameters.

Returns