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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET