다음을 통해 공유


NetworkSecurityGroupInner Constructors

Definition

Overloads

NetworkSecurityGroupInner()

Initializes a new instance of the NetworkSecurityGroupInner class.

NetworkSecurityGroupInner(String, String, String, String, IDictionary<String, String>, IList<SecurityRuleInner>, IList<SecurityRuleInner>, IList<NetworkInterfaceInner>, IList<SubnetInner>, String, ProvisioningState, String)

Initializes a new instance of the NetworkSecurityGroupInner class.

NetworkSecurityGroupInner()

Initializes a new instance of the NetworkSecurityGroupInner class.

public NetworkSecurityGroupInner ();
Public Sub New ()

Applies to

NetworkSecurityGroupInner(String, String, String, String, IDictionary<String, String>, IList<SecurityRuleInner>, IList<SecurityRuleInner>, IList<NetworkInterfaceInner>, IList<SubnetInner>, String, ProvisioningState, String)

Initializes a new instance of the NetworkSecurityGroupInner class.

public NetworkSecurityGroupInner (string location = default, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.SecurityRuleInner> securityRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.SecurityRuleInner> defaultSecurityRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.NetworkInterfaceInner> networkInterfaces = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.SubnetInner> subnets = default, string resourceGuid = default, Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState provisioningState = default, string etag = default);
new Microsoft.Azure.Management.Network.Fluent.Models.NetworkSecurityGroupInner : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.SecurityRuleInner> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.SecurityRuleInner> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.NetworkInterfaceInner> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.SubnetInner> * string * Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState * string -> Microsoft.Azure.Management.Network.Fluent.Models.NetworkSecurityGroupInner
Public Sub New (Optional location As String = Nothing, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional securityRules As IList(Of SecurityRuleInner) = Nothing, Optional defaultSecurityRules As IList(Of SecurityRuleInner) = Nothing, Optional networkInterfaces As IList(Of NetworkInterfaceInner) = Nothing, Optional subnets As IList(Of SubnetInner) = Nothing, Optional resourceGuid As String = Nothing, Optional provisioningState As ProvisioningState = Nothing, Optional etag As String = Nothing)

Parameters

location
String
id
String
name
String
type
String
securityRules
IList<SecurityRuleInner>

A collection of security rules of the network security group.

defaultSecurityRules
IList<SecurityRuleInner>

The default security rules of network security group.

networkInterfaces
IList<NetworkInterfaceInner>

A collection of references to network interfaces.

subnets
IList<SubnetInner>

A collection of references to subnets.

resourceGuid
String

The resource GUID property of the network security group resource.

provisioningState
ProvisioningState

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.

Applies to