BatchIPRule Constructors
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.
Overloads
| Name | Description |
|---|---|
| BatchIPRule(String) |
Initializes a new instance of BatchIPRule. |
| BatchIPRule(BatchIPRuleAction, String) |
Initializes a new instance of BatchIPRule. |
BatchIPRule(String)
- Source:
- BatchIPRule.cs
- Source:
- BatchIPRule.cs
Initializes a new instance of BatchIPRule.
public BatchIPRule(string value);
new Azure.ResourceManager.Batch.Models.BatchIPRule : string -> Azure.ResourceManager.Batch.Models.BatchIPRule
Public Sub New (value As String)
Parameters
- value
- String
IPv4 address, or IPv4 address range in CIDR format.
Exceptions
value is null.
Applies to
BatchIPRule(BatchIPRuleAction, String)
- Source:
- BatchIPRule.cs
Initializes a new instance of BatchIPRule.
public BatchIPRule(Azure.ResourceManager.Batch.Models.BatchIPRuleAction action, string value);
new Azure.ResourceManager.Batch.Models.BatchIPRule : Azure.ResourceManager.Batch.Models.BatchIPRuleAction * string -> Azure.ResourceManager.Batch.Models.BatchIPRule
Public Sub New (action As BatchIPRuleAction, value As String)
Parameters
- action
- BatchIPRuleAction
Action when client IP address is matched.
- value
- String
IPv4 address, or IPv4 address range in CIDR format.
Exceptions
value is null.