Subnet interface
Subnet in a virtual network resource.
- Extends
Properties
address |
The address prefix for the subnet. |
address |
List of address prefixes for the subnet. |
application |
Application gateway IP configurations of virtual network resource. |
default |
Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet. |
delegations | An array of references to the delegations on the subnet. |
etag | A unique read-only string that changes whenever the resource is updated. NOTE: This property will not be serialized. It can only be populated by the server. |
ip |
Array of IpAllocation which reference this subnet. |
ip |
Array of IP configuration profiles which reference this subnet. NOTE: This property will not be serialized. It can only be populated by the server. |
ip |
An array of references to the network interface IP configurations using subnet. NOTE: This property will not be serialized. It can only be populated by the server. |
name | The name of the resource that is unique within a resource group. This name can be used to access the resource. |
nat |
Nat gateway associated with this subnet. |
network |
The reference to the NetworkSecurityGroup resource. |
private |
Enable or Disable apply network policies on private end point in the subnet. |
private |
An array of references to private endpoints. NOTE: This property will not be serialized. It can only be populated by the server. |
private |
Enable or Disable apply network policies on private link service in the subnet. |
provisioning |
The provisioning state of the subnet resource. NOTE: This property will not be serialized. It can only be populated by the server. |
purpose | A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties. NOTE: This property will not be serialized. It can only be populated by the server. |
resource |
An array of references to the external resources using subnet. NOTE: This property will not be serialized. It can only be populated by the server. |
route |
The reference to the RouteTable resource. |
service |
An array of references to services injecting into this subnet. NOTE: This property will not be serialized. It can only be populated by the server. |
service |
An array of service endpoint policies. |
service |
An array of service endpoints. |
sharing |
Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty. |
type | Resource type. |
Inherited Properties
id | Resource ID. |
Property Details
addressPrefix
The address prefix for the subnet.
addressPrefix?: string
Property Value
string
addressPrefixes
List of address prefixes for the subnet.
addressPrefixes?: string[]
Property Value
string[]
applicationGatewayIPConfigurations
Application gateway IP configurations of virtual network resource.
applicationGatewayIPConfigurations?: ApplicationGatewayIPConfiguration[]
Property Value
defaultOutboundAccess
Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet.
defaultOutboundAccess?: boolean
Property Value
boolean
delegations
An array of references to the delegations on the subnet.
delegations?: Delegation[]
Property Value
etag
A unique read-only string that changes whenever the resource is updated. NOTE: This property will not be serialized. It can only be populated by the server.
etag?: string
Property Value
string
ipAllocations
Array of IpAllocation which reference this subnet.
ipAllocations?: SubResource[]
Property Value
ipConfigurationProfiles
Array of IP configuration profiles which reference this subnet. NOTE: This property will not be serialized. It can only be populated by the server.
ipConfigurationProfiles?: IPConfigurationProfile[]
Property Value
ipConfigurations
An array of references to the network interface IP configurations using subnet. NOTE: This property will not be serialized. It can only be populated by the server.
ipConfigurations?: IPConfiguration[]
Property Value
name
The name of the resource that is unique within a resource group. This name can be used to access the resource.
name?: string
Property Value
string
natGateway
networkSecurityGroup
The reference to the NetworkSecurityGroup resource.
networkSecurityGroup?: NetworkSecurityGroup
Property Value
privateEndpointNetworkPolicies
Enable or Disable apply network policies on private end point in the subnet.
privateEndpointNetworkPolicies?: string
Property Value
string
privateEndpoints
An array of references to private endpoints. NOTE: This property will not be serialized. It can only be populated by the server.
privateEndpoints?: PrivateEndpoint[]
Property Value
privateLinkServiceNetworkPolicies
Enable or Disable apply network policies on private link service in the subnet.
privateLinkServiceNetworkPolicies?: string
Property Value
string
provisioningState
The provisioning state of the subnet resource. NOTE: This property will not be serialized. It can only be populated by the server.
provisioningState?: string
Property Value
string
purpose
A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties. NOTE: This property will not be serialized. It can only be populated by the server.
purpose?: string
Property Value
string
resourceNavigationLinks
An array of references to the external resources using subnet. NOTE: This property will not be serialized. It can only be populated by the server.
resourceNavigationLinks?: ResourceNavigationLink[]
Property Value
routeTable
serviceAssociationLinks
An array of references to services injecting into this subnet. NOTE: This property will not be serialized. It can only be populated by the server.
serviceAssociationLinks?: ServiceAssociationLink[]
Property Value
serviceEndpointPolicies
An array of service endpoint policies.
serviceEndpointPolicies?: ServiceEndpointPolicy[]
Property Value
serviceEndpoints
An array of service endpoints.
serviceEndpoints?: ServiceEndpointPropertiesFormat[]
Property Value
sharingScope
Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
sharingScope?: string
Property Value
string
type
Resource type.
type?: string
Property Value
string