Class VirtualNetworkProperties

java.lang.Object
com.azure.resourcemanager.devtestlabs.fluent.models.VirtualNetworkProperties

public final class VirtualNetworkProperties extends Object
Properties of a virtual network.
  • Constructor Details

    • VirtualNetworkProperties

      public VirtualNetworkProperties()
      Creates an instance of VirtualNetworkProperties class.
  • Method Details

    • allowedSubnets

      public List<Subnet> allowedSubnets()
      Get the allowedSubnets property: The allowed subnets of the virtual network.
      Returns:
      the allowedSubnets value.
    • withAllowedSubnets

      public VirtualNetworkProperties withAllowedSubnets(List<Subnet> allowedSubnets)
      Set the allowedSubnets property: The allowed subnets of the virtual network.
      Parameters:
      allowedSubnets - the allowedSubnets value to set.
      Returns:
      the VirtualNetworkProperties object itself.
    • description

      public String description()
      Get the description property: The description of the virtual network.
      Returns:
      the description value.
    • withDescription

      public VirtualNetworkProperties withDescription(String description)
      Set the description property: The description of the virtual network.
      Parameters:
      description - the description value to set.
      Returns:
      the VirtualNetworkProperties object itself.
    • externalProviderResourceId

      public String externalProviderResourceId()
      Get the externalProviderResourceId property: The Microsoft.Network resource identifier of the virtual network.
      Returns:
      the externalProviderResourceId value.
    • withExternalProviderResourceId

      public VirtualNetworkProperties withExternalProviderResourceId(String externalProviderResourceId)
      Set the externalProviderResourceId property: The Microsoft.Network resource identifier of the virtual network.
      Parameters:
      externalProviderResourceId - the externalProviderResourceId value to set.
      Returns:
      the VirtualNetworkProperties object itself.
    • externalSubnets

      public List<ExternalSubnet> externalSubnets()
      Get the externalSubnets property: The external subnet properties.
      Returns:
      the externalSubnets value.
    • subnetOverrides

      public List<SubnetOverride> subnetOverrides()
      Get the subnetOverrides property: The subnet overrides of the virtual network.
      Returns:
      the subnetOverrides value.
    • withSubnetOverrides

      public VirtualNetworkProperties withSubnetOverrides(List<SubnetOverride> subnetOverrides)
      Set the subnetOverrides property: The subnet overrides of the virtual network.
      Parameters:
      subnetOverrides - the subnetOverrides value to set.
      Returns:
      the VirtualNetworkProperties object itself.
    • createdDate

      public OffsetDateTime createdDate()
      Get the createdDate property: The creation date of the virtual network.
      Returns:
      the createdDate value.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: The provisioning status of the resource.
      Returns:
      the provisioningState value.
    • uniqueIdentifier

      public String uniqueIdentifier()
      Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
      Returns:
      the uniqueIdentifier value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.