ArmBatchModelFactory.BatchEndpointAccessProfile 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.
Network access profile for Batch endpoint.
public static Azure.ResourceManager.Batch.Models.BatchEndpointAccessProfile BatchEndpointAccessProfile(Azure.ResourceManager.Batch.Models.BatchEndpointAccessDefaultAction defaultAction = Azure.ResourceManager.Batch.Models.BatchEndpointAccessDefaultAction.Allow, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Batch.Models.BatchIPRule> ipRules = default);
static member BatchEndpointAccessProfile : Azure.ResourceManager.Batch.Models.BatchEndpointAccessDefaultAction * seq<Azure.ResourceManager.Batch.Models.BatchIPRule> -> Azure.ResourceManager.Batch.Models.BatchEndpointAccessProfile
Public Shared Function BatchEndpointAccessProfile (Optional defaultAction As BatchEndpointAccessDefaultAction = Azure.ResourceManager.Batch.Models.BatchEndpointAccessDefaultAction.Allow, Optional ipRules As IEnumerable(Of BatchIPRule) = Nothing) As BatchEndpointAccessProfile
Parameters
- defaultAction
- BatchEndpointAccessDefaultAction
Default action for endpoint access. It is only applicable when publicNetworkAccess is enabled.
- ipRules
- IEnumerable<BatchIPRule>
Array of IP ranges to filter client IP address.
Returns
A new BatchEndpointAccessProfile instance for mocking.