AdminRuleCollections interface

Interface representing a AdminRuleCollections.

Methods

beginDelete(string, string, string, string, AdminRuleCollectionsDeleteOptionalParams)

Deletes an admin rule collection.

beginDeleteAndWait(string, string, string, string, AdminRuleCollectionsDeleteOptionalParams)

Deletes an admin rule collection.

createOrUpdate(string, string, string, string, AdminRuleCollection, AdminRuleCollectionsCreateOrUpdateOptionalParams)

Creates or updates an admin rule collection.

get(string, string, string, string, AdminRuleCollectionsGetOptionalParams)

Gets a network manager security admin configuration rule collection.

list(string, string, string, AdminRuleCollectionsListOptionalParams)

Lists all the rule collections in a security admin configuration, in a paginated format.

Method Details

beginDelete(string, string, string, string, AdminRuleCollectionsDeleteOptionalParams)

Deletes an admin rule collection.

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

Parameters

resourceGroupName

string

The name of the resource group.

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
AdminRuleCollectionsDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, string, AdminRuleCollectionsDeleteOptionalParams)

Deletes an admin rule collection.

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

Parameters

resourceGroupName

string

The name of the resource group.

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
AdminRuleCollectionsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

createOrUpdate(string, string, string, string, AdminRuleCollection, AdminRuleCollectionsCreateOrUpdateOptionalParams)

Creates or updates an admin rule collection.

function createOrUpdate(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, ruleCollection: AdminRuleCollection, options?: AdminRuleCollectionsCreateOrUpdateOptionalParams): Promise<AdminRuleCollection>

Parameters

resourceGroupName

string

The name of the resource group.

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.

ruleCollection
AdminRuleCollection

The Rule Collection to create or update

options
AdminRuleCollectionsCreateOrUpdateOptionalParams

The options parameters.

Returns

get(string, string, string, string, AdminRuleCollectionsGetOptionalParams)

Gets a network manager security admin configuration rule collection.

function get(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, options?: AdminRuleCollectionsGetOptionalParams): Promise<AdminRuleCollection>

Parameters

resourceGroupName

string

The name of the resource group.

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
AdminRuleCollectionsGetOptionalParams

The options parameters.

Returns

list(string, string, string, AdminRuleCollectionsListOptionalParams)

Lists all the rule collections in a security admin configuration, in a paginated format.

function list(resourceGroupName: string, networkManagerName: string, configurationName: string, options?: AdminRuleCollectionsListOptionalParams): PagedAsyncIterableIterator<AdminRuleCollection, AdminRuleCollection[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

networkManagerName

string

The name of the network manager.

configurationName

string

The name of the network manager Security Configuration.

options
AdminRuleCollectionsListOptionalParams

The options parameters.

Returns