SubnetResponse

data class SubnetResponse(val addressPrefix: String? = null, val addressPrefixes: List<String>? = null, val applicationGatewayIPConfigurations: List<ApplicationGatewayIPConfigurationResponse>? = null, val defaultOutboundAccess: Boolean? = null, val delegations: List<DelegationResponse>? = null, val etag: String, val id: String? = null, val interfaceEndpoints: List<InterfaceEndpointResponse>? = null, val ipAllocations: List<SubResourceResponse>? = null, val ipConfigurationProfiles: List<IPConfigurationProfileResponse>, val ipConfigurations: List<IPConfigurationResponse>, val ipamPoolPrefixAllocations: List<IpamPoolPrefixAllocationResponse>? = null, val name: String? = null, val natGateway: SubResourceResponse? = null, val networkSecurityGroup: NetworkSecurityGroupResponse? = null, val privateEndpointNetworkPolicies: String? = null, val privateEndpoints: List<PrivateEndpointResponse>, val privateLinkServiceNetworkPolicies: String? = null, val provisioningState: String, val purpose: String, val resourceNavigationLinks: List<ResourceNavigationLinkResponse>, val routeTable: RouteTableResponse? = null, val serviceAssociationLinks: List<ServiceAssociationLinkResponse>, val serviceEndpointPolicies: List<ServiceEndpointPolicyResponse>? = null, val serviceEndpoints: List<ServiceEndpointPropertiesFormatResponse>? = null, val sharingScope: String? = null, val type: String? = null)

Subnet in a virtual network resource.

Constructors

Link copied to clipboard
constructor(addressPrefix: String? = null, addressPrefixes: List<String>? = null, applicationGatewayIPConfigurations: List<ApplicationGatewayIPConfigurationResponse>? = null, defaultOutboundAccess: Boolean? = null, delegations: List<DelegationResponse>? = null, etag: String, id: String? = null, interfaceEndpoints: List<InterfaceEndpointResponse>? = null, ipAllocations: List<SubResourceResponse>? = null, ipConfigurationProfiles: List<IPConfigurationProfileResponse>, ipConfigurations: List<IPConfigurationResponse>, ipamPoolPrefixAllocations: List<IpamPoolPrefixAllocationResponse>? = null, name: String? = null, natGateway: SubResourceResponse? = null, networkSecurityGroup: NetworkSecurityGroupResponse? = null, privateEndpointNetworkPolicies: String? = null, privateEndpoints: List<PrivateEndpointResponse>, privateLinkServiceNetworkPolicies: String? = null, provisioningState: String, purpose: String, resourceNavigationLinks: List<ResourceNavigationLinkResponse>, routeTable: RouteTableResponse? = null, serviceAssociationLinks: List<ServiceAssociationLinkResponse>, serviceEndpointPolicies: List<ServiceEndpointPolicyResponse>? = null, serviceEndpoints: List<ServiceEndpointPropertiesFormatResponse>? = null, sharingScope: String? = null, type: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val addressPrefix: String? = null

The address prefix for the subnet.

Link copied to clipboard

List of address prefixes for the subnet.

Link copied to clipboard

Application gateway IP configurations of virtual network resource.

Link copied to clipboard

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

An array of references to the delegations on the subnet.

Link copied to clipboard

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

Link copied to clipboard
val id: String? = null

Resource ID.

Link copied to clipboard

An array of references to interface endpoints

Link copied to clipboard

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

Array of IP configuration profiles which reference this subnet.

Link copied to clipboard

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

Link copied to clipboard
val name: 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

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

An array of references to private endpoints.

Link copied to clipboard

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

Link copied to clipboard

The provisioning state of the subnet resource.

Link copied to clipboard

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

Link copied to clipboard

An array of references to the external resources using subnet.

Link copied to clipboard

The reference to the RouteTable resource.

Link copied to clipboard

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: String? = 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: String? = null

Resource type.