Share via


ArmBatchModelFactory.NetworkSecurityProfile Method

Definition

Initializes a new instance of NetworkSecurityProfile.

public static Azure.ResourceManager.Batch.Models.NetworkSecurityProfile NetworkSecurityProfile (string name = default, int? accessRulesVersion = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Batch.Models.BatchAccessRule> accessRules = default, int? diagnosticSettingsVersion = default, System.Collections.Generic.IEnumerable<string> enabledLogCategories = default);
static member NetworkSecurityProfile : string * Nullable<int> * seq<Azure.ResourceManager.Batch.Models.BatchAccessRule> * Nullable<int> * seq<string> -> Azure.ResourceManager.Batch.Models.NetworkSecurityProfile
Public Shared Function NetworkSecurityProfile (Optional name As String = Nothing, Optional accessRulesVersion As Nullable(Of Integer) = Nothing, Optional accessRules As IEnumerable(Of BatchAccessRule) = Nothing, Optional diagnosticSettingsVersion As Nullable(Of Integer) = Nothing, Optional enabledLogCategories As IEnumerable(Of String) = Nothing) As NetworkSecurityProfile

Parameters

name
String

Name of the profile.

accessRulesVersion
Nullable<Int32>

Current access rules version.

accessRules
IEnumerable<BatchAccessRule>

List of Access Rules.

diagnosticSettingsVersion
Nullable<Int32>

Current diagnostic settings version.

enabledLogCategories
IEnumerable<String>

List of log categories that are enabled.

Returns

A new NetworkSecurityProfile instance for mocking.

Applies to