Share via


ArmBatchModelFactory.BatchIPRule(BatchIPRuleAction, String) Method

Definition

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