SubnetData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class representing the Subnet data model. Subnet in a virtual network resource.
public class SubnetData : Azure.ResourceManager.Network.Models.NetworkWritableResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.SubnetData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.SubnetData>
public class SubnetData : Azure.ResourceManager.Network.Models.NetworkWritableResourceData
type SubnetData = class
inherit NetworkWritableResourceData
interface IJsonModel<SubnetData>
interface IPersistableModel<SubnetData>
type SubnetData = class
inherit NetworkWritableResourceData
Public Class SubnetData
Inherits NetworkWritableResourceData
Implements IJsonModel(Of SubnetData), IPersistableModel(Of SubnetData)
Public Class SubnetData
Inherits NetworkWritableResourceData
- Inheritance
- Implements
Constructors
SubnetData() |
Initializes a new instance of SubnetData. |
Properties
AddressPrefix |
The address prefix for the subnet. |
AddressPrefixes |
List of address prefixes for the subnet. |
ApplicationGatewayIPConfigurations |
Application gateway IP configurations of virtual network resource. |
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. |
Delegations |
An array of references to the delegations on the subnet. |
ETag |
A unique read-only string that changes whenever the resource is updated. |
Id |
Resource ID. (Inherited from NetworkWritableResourceData) |
IPAllocations |
Array of IpAllocation which reference this subnet. |
IPConfigurationProfiles |
Array of IP configuration profiles which reference this subnet. |
IPConfigurations |
An array of references to the network interface IP configurations using subnet. |
Name |
Resource name. (Inherited from NetworkWritableResourceData) |
NatGatewayId |
Gets or sets Id. |
NetworkSecurityGroup |
The reference to the NetworkSecurityGroup resource. |
PrivateEndpointNetworkPolicy |
Enable or Disable apply network policies on private end point in the subnet. |
PrivateEndpoints |
An array of references to private endpoints. |
PrivateLinkServiceNetworkPolicy |
Enable or Disable apply network policies on private link service in the subnet. |
ProvisioningState |
The provisioning state of the subnet resource. |
Purpose |
A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties. |
ResourceNavigationLinks |
An array of references to the external resources using subnet. |
ResourceType |
Resource type. (Inherited from NetworkWritableResourceData) |
RouteTable |
The reference to the RouteTable resource. |
ServiceAssociationLinks |
An array of references to services injecting into this subnet. |
ServiceEndpointPolicies |
An array of service endpoint policies. |
ServiceEndpoints |
An array of service endpoints. |
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. |
Explicit Interface Implementations
Applies to
Azure SDK for .NET