ArmBatchModelFactory.NetworkSecurityProfile 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 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.
- accessRules
- IEnumerable<BatchAccessRule>
List of Access Rules.
- enabledLogCategories
- IEnumerable<String>
List of log categories that are enabled.
Returns
A new NetworkSecurityProfile 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