Share via


Subnet Constructors

Definition

Overloads

Subnet()

Initializes a new instance of the Subnet class.

Subnet(String, Nullable<Boolean>, String, String, String)

Initializes a new instance of the Subnet class.

Subnet()

Initializes a new instance of the Subnet class.

public Subnet ();
Public Sub New ()

Applies to

Subnet(String, Nullable<Boolean>, String, String, String)

Initializes a new instance of the Subnet class.

public Subnet (string name, bool? enableIpv6 = default, string privateEndpointNetworkPolicies = default, string privateLinkServiceNetworkPolicies = default, string networkSecurityGroupId = default);
new Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.Subnet : string * Nullable<bool> * string * string * string -> Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.Subnet
Public Sub New (name As String, Optional enableIpv6 As Nullable(Of Boolean) = Nothing, Optional privateEndpointNetworkPolicies As String = Nothing, Optional privateLinkServiceNetworkPolicies As String = Nothing, Optional networkSecurityGroupId As String = Nothing)

Parameters

name
String

Subnet name.

enableIpv6
Nullable<Boolean>

Indicates wether to enable Ipv6 or not. If not provided, it will take the same configuration as the cluster.

privateEndpointNetworkPolicies
String

Enable or Disable apply network policies on private end point in the subnet. Possible values include: 'enabled', 'disabled'

privateLinkServiceNetworkPolicies
String

Enable or Disable apply network policies on private link service in the subnet. Possible values include: 'enabled', 'disabled'

networkSecurityGroupId
String

Full resource id for the network security group.

Applies to