ArmNetworkModelFactory.MatchedRule(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of MatchedRule.
public static Azure.ResourceManager.Network.Models.MatchedRule MatchedRule (string ruleName = default, string action = default);
static member MatchedRule : string * string -> Azure.ResourceManager.Network.Models.MatchedRule
Public Shared Function MatchedRule (Optional ruleName As String = Nothing, Optional action As String = Nothing) As MatchedRule
Parameters
- ruleName
- String
Name of the matched network security rule.
- action
- String
The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'.
Returns
A new MatchedRule instance for mocking.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET