ArmBatchModelFactory.BatchIPRule(BatchIPRuleAction, 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 BatchIPRule.
public static Azure.ResourceManager.Batch.Models.BatchIPRule BatchIPRule (Azure.ResourceManager.Batch.Models.BatchIPRuleAction action = default, string value = default);
static member BatchIPRule : Azure.ResourceManager.Batch.Models.BatchIPRuleAction * string -> Azure.ResourceManager.Batch.Models.BatchIPRule
Public Shared Function BatchIPRule (Optional action As BatchIPRuleAction = Nothing, Optional value As String = Nothing) As BatchIPRule
Parameters
- action
- BatchIPRuleAction
Action when client IP address is matched.
- value
- String
IPv4 address, or IPv4 address range in CIDR format.
Returns
A new BatchIPRule instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET