AdminRuleCollections interface
Interface representing a AdminRuleCollections.
Methods
begin |
Deletes an admin rule collection. |
begin |
Deletes an admin rule collection. |
create |
Creates or updates an admin rule collection. |
get(string, string, string, string, Admin |
Gets a network manager security admin configuration rule collection. |
list(string, string, string, Admin |
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.
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.
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
The options parameters.
Returns
Promise<AdminRuleCollection>
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.
The options parameters.
Returns
Promise<AdminRuleCollection>
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.
The options parameters.