Subnet Class

Definition

Subnet in a virtual network resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Subnet : Microsoft.Azure.Management.Network.Models.SubResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Subnet = class
    inherit SubResource
Public Class Subnet
Inherits SubResource
Inheritance
Attributes

Constructors

Subnet()

Initializes a new instance of the Subnet class.

Subnet(String, String, IList<String>, NetworkSecurityGroup, RouteTable, SubResource, IList<ServiceEndpointPropertiesFormat>, IList<ServiceEndpointPolicy>, IList<PrivateEndpoint>, IList<IPConfiguration>, IList<IPConfigurationProfile>, IList<SubResource>, IList<ResourceNavigationLink>, IList<ServiceAssociationLink>, IList<Delegation>, String, String, String, String, IList<ApplicationGatewayIPConfiguration>, String, String, String)

Initializes a new instance of the Subnet class.

Properties

AddressPrefix

Gets or sets the address prefix for the subnet.

AddressPrefixes

Gets or sets list of address prefixes for the subnet.

ApplicationGatewayIpConfigurations

Gets or sets application gateway IP configurations of virtual network resource.

Delegations

Gets or sets an array of references to the delegations on the subnet.

Etag

Gets a unique read-only string that changes whenever the resource is updated.

Id

Gets or sets resource ID.

(Inherited from SubResource)
IpAllocations

Gets or sets array of IpAllocation which reference this subnet.

IpConfigurationProfiles

Gets array of IP configuration profiles which reference this subnet.

IpConfigurations

Gets an array of references to the network interface IP configurations using subnet.

Name

Gets or sets the name of the resource that is unique within a resource group. This name can be used to access the resource.

NatGateway

Gets or sets nat gateway associated with this subnet.

NetworkSecurityGroup

Gets or sets the reference to the NetworkSecurityGroup resource.

PrivateEndpointNetworkPolicies

Gets or sets enable or Disable apply network policies on private end point in the subnet. Possible values include: 'Enabled', 'Disabled'

PrivateEndpoints

Gets an array of references to private endpoints.

PrivateLinkServiceNetworkPolicies

Gets or sets enable or Disable apply network policies on private link service in the subnet. Possible values include: 'Enabled', 'Disabled'

ProvisioningState

Gets the provisioning state of the subnet resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

Purpose

Gets a read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.

ResourceNavigationLinks

Gets an array of references to the external resources using subnet.

RouteTable

Gets or sets the reference to the RouteTable resource.

ServiceAssociationLinks

Gets an array of references to services injecting into this subnet.

ServiceEndpointPolicies

Gets or sets an array of service endpoint policies.

ServiceEndpoints

Gets or sets an array of service endpoints.

Type

Gets or sets resource type.

Applies to