Partager via


NetworkSecurityGroup Constructors

Definition

Overloads

NetworkSecurityGroup()
NetworkSecurityGroup(String, String, String, String, IDictionary<String, String>, IList<SecurityRule>, IList<SecurityRule>, IList<NetworkInterface>, IList<Subnet>, String, String, String)

NetworkSecurityGroup()

public NetworkSecurityGroup ();
Public Sub New ()

Applies to

NetworkSecurityGroup(String, String, String, String, IDictionary<String, String>, IList<SecurityRule>, IList<SecurityRule>, IList<NetworkInterface>, IList<Subnet>, String, String, String)

public NetworkSecurityGroup (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models.SecurityRule> securityRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models.SecurityRule> defaultSecurityRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models.NetworkInterface> networkInterfaces = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models.Subnet> subnets = default, string resourceGuid = default, string provisioningState = default, string etag = default);
new Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models.NetworkSecurityGroup : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models.SecurityRule> * System.Collections.Generic.IList<Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models.SecurityRule> * System.Collections.Generic.IList<Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models.NetworkInterface> * System.Collections.Generic.IList<Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models.Subnet> * string * string * string -> Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models.NetworkSecurityGroup
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional securityRules As IList(Of SecurityRule) = Nothing, Optional defaultSecurityRules As IList(Of SecurityRule) = Nothing, Optional networkInterfaces As IList(Of NetworkInterface) = Nothing, Optional subnets As IList(Of Subnet) = Nothing, Optional resourceGuid As String = Nothing, Optional provisioningState As String = Nothing, Optional etag As String = Nothing)

Parameters

id
String
name
String
type
String
location
String
securityRules
IList<SecurityRule>
defaultSecurityRules
IList<SecurityRule>
networkInterfaces
IList<NetworkInterface>
subnets
IList<Subnet>
resourceGuid
String
provisioningState
String
etag
String

Applies to