次の方法で共有


NetworkSecurityGroup Constructors

Definition

Overloads

NetworkSecurityGroup()

Initializes a new instance of the NetworkSecurityGroup class.

NetworkSecurityGroup(String, String, String, String, IDictionary<String, String>, 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>, 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, System.Collections.Generic.IList<Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.SecurityRule> securityRules = default, System.Collections.Generic.IList<Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.SecurityRule> defaultSecurityRules = default, System.Collections.Generic.IList<Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.NetworkInterface> networkInterfaces = default, System.Collections.Generic.IList<Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.Subnet> subnets = default, System.Collections.Generic.IList<Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.FlowLog> flowLogs = default, string resourceGuid = default, string provisioningState = default, string etag = default);
new Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.NetworkSecurityGroup : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.SecurityRule> * System.Collections.Generic.IList<Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.SecurityRule> * System.Collections.Generic.IList<Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.NetworkInterface> * System.Collections.Generic.IList<Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.Subnet> * System.Collections.Generic.IList<Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.FlowLog> * string * string * string -> Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.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 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.

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.

subnets
IList<Subnet>

A collection of references to subnets.

flowLogs
IList<FlowLog>

A collection of references to flow log resources.

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.

Applies to