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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET