SubnetArgs

data class SubnetArgs(val addressPrefix: Output<String>? = null, val addressPrefixes: Output<List<String>>? = null, val applicationGatewayIPConfigurations: Output<List<ApplicationGatewayIPConfigurationArgs>>? = null, val defaultOutboundAccess: Output<Boolean>? = null, val delegations: Output<List<DelegationArgs>>? = null, val etag: Output<String>? = null, val id: Output<String>? = null, val ipAllocations: Output<List<SubResourceArgs>>? = null, val ipamPoolPrefixAllocations: Output<List<IpamPoolPrefixAllocationArgs>>? = null, val name: Output<String>? = null, val natGateway: Output<SubResourceArgs>? = null, val networkSecurityGroup: Output<NetworkSecurityGroupArgs>? = null, val privateEndpointNetworkPolicies: Output<Either<String, VirtualNetworkPrivateEndpointNetworkPolicies>>? = null, val privateLinkServiceNetworkPolicies: Output<Either<String, VirtualNetworkPrivateLinkServiceNetworkPolicies>>? = null, val provisioningState: Output<String>? = null, val resourceNavigationLinks: Output<List<ResourceNavigationLinkArgs>>? = null, val routeTable: Output<RouteTableArgs>? = null, val serviceAssociationLinks: Output<List<ServiceAssociationLinkArgs>>? = null, val serviceEndpointPolicies: Output<List<ServiceEndpointPolicyArgs>>? = null, val serviceEndpoints: Output<List<ServiceEndpointPropertiesFormatArgs>>? = null, val sharingScope: Output<Either<String, SharingScope>>? = null, val type: Output<String>? = null) : ConvertibleToJava<SubnetArgs>

Subnet in a virtual network resource.

Constructors

Link copied to clipboard
constructor(addressPrefix: Output<String>? = null, addressPrefixes: Output<List<String>>? = null, applicationGatewayIPConfigurations: Output<List<ApplicationGatewayIPConfigurationArgs>>? = null, defaultOutboundAccess: Output<Boolean>? = null, delegations: Output<List<DelegationArgs>>? = null, etag: Output<String>? = null, id: Output<String>? = null, ipAllocations: Output<List<SubResourceArgs>>? = null, ipamPoolPrefixAllocations: Output<List<IpamPoolPrefixAllocationArgs>>? = null, name: Output<String>? = null, natGateway: Output<SubResourceArgs>? = null, networkSecurityGroup: Output<NetworkSecurityGroupArgs>? = null, privateEndpointNetworkPolicies: Output<Either<String, VirtualNetworkPrivateEndpointNetworkPolicies>>? = null, privateLinkServiceNetworkPolicies: Output<Either<String, VirtualNetworkPrivateLinkServiceNetworkPolicies>>? = null, provisioningState: Output<String>? = null, resourceNavigationLinks: Output<List<ResourceNavigationLinkArgs>>? = null, routeTable: Output<RouteTableArgs>? = null, serviceAssociationLinks: Output<List<ServiceAssociationLinkArgs>>? = null, serviceEndpointPolicies: Output<List<ServiceEndpointPolicyArgs>>? = null, serviceEndpoints: Output<List<ServiceEndpointPropertiesFormatArgs>>? = null, sharingScope: Output<Either<String, SharingScope>>? = null, type: Output<String>? = null)

Properties

Link copied to clipboard
val addressPrefix: Output<String>? = null

The address prefix for the subnet.

Link copied to clipboard
val addressPrefixes: Output<List<String>>? = null

List of address prefixes for the subnet.

Link copied to clipboard

Application gateway IP configurations of virtual network resource.

Link copied to clipboard
val defaultOutboundAccess: Output<Boolean>? = null

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.

Link copied to clipboard
val delegations: Output<List<DelegationArgs>>? = null

An array of references to the delegations on the subnet.

Link copied to clipboard
val etag: Output<String>? = null

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

Link copied to clipboard
val id: Output<String>? = null

Resource ID.

Link copied to clipboard
val ipAllocations: Output<List<SubResourceArgs>>? = null

Array of IpAllocation which reference this subnet.

Link copied to clipboard

A list of IPAM Pools for allocating IP address prefixes.

Link copied to clipboard
val name: Output<String>? = null

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

Link copied to clipboard
val natGateway: Output<SubResourceArgs>? = null

Nat gateway associated with this subnet.

Link copied to clipboard

The reference to the NetworkSecurityGroup resource.

Link copied to clipboard

Enable or Disable apply network policies on private end point in the subnet.

Link copied to clipboard

Enable or Disable apply network policies on private link service in the subnet.

Link copied to clipboard
val provisioningState: Output<String>? = null

The provisioning state of the resource.

Link copied to clipboard

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

Link copied to clipboard
val routeTable: Output<RouteTableArgs>? = null

The reference to the RouteTable resource.

Link copied to clipboard

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

Link copied to clipboard

An array of service endpoint policies.

Link copied to clipboard

An array of service endpoints.

Link copied to clipboard
val sharingScope: Output<Either<String, SharingScope>>? = null

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.

Link copied to clipboard
val type: Output<String>? = null

Resource type.

Functions

Link copied to clipboard
open override fun toJava(): SubnetArgs