DefaultSecurityRules interface

Interface representing a DefaultSecurityRules.

Methods

get(string, string, string, DefaultSecurityRulesGetOptionalParams)

Get the specified default network security rule.

list(string, string, DefaultSecurityRulesListOptionalParams)

Gets all default security rules in a network security group.

Method Details

get(string, string, string, DefaultSecurityRulesGetOptionalParams)

Get the specified default network security rule.

function get(resourceGroupName: string, networkSecurityGroupName: string, defaultSecurityRuleName: string, options?: DefaultSecurityRulesGetOptionalParams): Promise<SecurityRule>

Parameters

resourceGroupName

string

The name of the resource group.

networkSecurityGroupName

string

The name of the network security group.

defaultSecurityRuleName

string

The name of the default security rule.

options
DefaultSecurityRulesGetOptionalParams

The options parameters.

Returns

Promise<SecurityRule>

list(string, string, DefaultSecurityRulesListOptionalParams)

Gets all default security rules in a network security group.

function list(resourceGroupName: string, networkSecurityGroupName: string, options?: DefaultSecurityRulesListOptionalParams): PagedAsyncIterableIterator<SecurityRule, SecurityRule[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

networkSecurityGroupName

string

The name of the network security group.

options
DefaultSecurityRulesListOptionalParams

The options parameters.

Returns