NetworkSecurityGroup Constructors
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.
Overloads
NetworkSecurityGroup() |
Initializes a new instance of the NetworkSecurityGroup class. |
NetworkSecurityGroup(String, String, String, String, IDictionary<String, String>, Nullable<Boolean>, IList<SecurityRule>, IList<SecurityRule>, IList<NetworkInterface>, IList<Subnet>, IList<FlowLog>, String, String, String) |
Initializes a new instance of the NetworkSecurityGroup class. |
NetworkSecurityGroup()
Initializes a new instance of the NetworkSecurityGroup class.
public NetworkSecurityGroup ();
Public Sub New ()
Applies to
NetworkSecurityGroup(String, String, String, String, IDictionary<String, String>, Nullable<Boolean>, IList<SecurityRule>, IList<SecurityRule>, IList<NetworkInterface>, IList<Subnet>, IList<FlowLog>, String, String, String)
Initializes a new instance of the NetworkSecurityGroup class.
public NetworkSecurityGroup (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, bool? flushConnection = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SecurityRule> securityRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SecurityRule> defaultSecurityRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.NetworkInterface> networkInterfaces = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.Subnet> subnets = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.FlowLog> flowLogs = default, string resourceGuid = default, string provisioningState = default, string etag = default);
new Microsoft.Azure.Management.Network.Models.NetworkSecurityGroup : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SecurityRule> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SecurityRule> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.NetworkInterface> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.Subnet> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.FlowLog> * string * string * string -> Microsoft.Azure.Management.Network.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 flushConnection As Nullable(Of Boolean) = 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 flowLogs As IList(Of FlowLog) = Nothing, Optional resourceGuid As String = Nothing, Optional provisioningState As String = Nothing, Optional etag As String = Nothing)
Parameters
- id
- String
Resource ID.
- name
- String
Resource name.
- type
- String
Resource type.
- location
- String
Resource location.
- tags
- IDictionary<String,String>
Resource tags.
When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
- securityRules
- IList<SecurityRule>
A collection of security rules of the network security group.
- defaultSecurityRules
- IList<SecurityRule>
The default security rules of network security group.
- networkInterfaces
- IList<NetworkInterface>
A collection of references to network interfaces.
- resourceGuid
- String
The resource GUID property of the network security group resource.
- provisioningState
- String
The provisioning state of the network security group resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
- etag
- String
A unique read-only string that changes whenever the resource is updated.