Class NetworkProfile

java.lang.Object
com.azure.resourcemanager.appplatform.models.NetworkProfile

public final class NetworkProfile extends Object
Service network profile payload.
  • Constructor Details

    • NetworkProfile

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

    • serviceRuntimeSubnetId

      public String serviceRuntimeSubnetId()
      Get the serviceRuntimeSubnetId property: Fully qualified resource Id of the subnet to host Azure Spring Apps Service Runtime.
      Returns:
      the serviceRuntimeSubnetId value.
    • withServiceRuntimeSubnetId

      public NetworkProfile withServiceRuntimeSubnetId(String serviceRuntimeSubnetId)
      Set the serviceRuntimeSubnetId property: Fully qualified resource Id of the subnet to host Azure Spring Apps Service Runtime.
      Parameters:
      serviceRuntimeSubnetId - the serviceRuntimeSubnetId value to set.
      Returns:
      the NetworkProfile object itself.
    • appSubnetId

      public String appSubnetId()
      Get the appSubnetId property: Fully qualified resource Id of the subnet to host customer apps in Azure Spring Apps.
      Returns:
      the appSubnetId value.
    • withAppSubnetId

      public NetworkProfile withAppSubnetId(String appSubnetId)
      Set the appSubnetId property: Fully qualified resource Id of the subnet to host customer apps in Azure Spring Apps.
      Parameters:
      appSubnetId - the appSubnetId value to set.
      Returns:
      the NetworkProfile object itself.
    • serviceCidr

      public String serviceCidr()
      Get the serviceCidr property: Azure Spring Apps service reserved CIDR.
      Returns:
      the serviceCidr value.
    • withServiceCidr

      public NetworkProfile withServiceCidr(String serviceCidr)
      Set the serviceCidr property: Azure Spring Apps service reserved CIDR.
      Parameters:
      serviceCidr - the serviceCidr value to set.
      Returns:
      the NetworkProfile object itself.
    • serviceRuntimeNetworkResourceGroup

      public String serviceRuntimeNetworkResourceGroup()
      Get the serviceRuntimeNetworkResourceGroup property: Name of the resource group containing network resources of Azure Spring Apps Service Runtime.
      Returns:
      the serviceRuntimeNetworkResourceGroup value.
    • withServiceRuntimeNetworkResourceGroup

      public NetworkProfile withServiceRuntimeNetworkResourceGroup(String serviceRuntimeNetworkResourceGroup)
      Set the serviceRuntimeNetworkResourceGroup property: Name of the resource group containing network resources of Azure Spring Apps Service Runtime.
      Parameters:
      serviceRuntimeNetworkResourceGroup - the serviceRuntimeNetworkResourceGroup value to set.
      Returns:
      the NetworkProfile object itself.
    • appNetworkResourceGroup

      public String appNetworkResourceGroup()
      Get the appNetworkResourceGroup property: Name of the resource group containing network resources for customer apps in Azure Spring Apps.
      Returns:
      the appNetworkResourceGroup value.
    • withAppNetworkResourceGroup

      public NetworkProfile withAppNetworkResourceGroup(String appNetworkResourceGroup)
      Set the appNetworkResourceGroup property: Name of the resource group containing network resources for customer apps in Azure Spring Apps.
      Parameters:
      appNetworkResourceGroup - the appNetworkResourceGroup value to set.
      Returns:
      the NetworkProfile object itself.
    • outboundIPs

      public NetworkProfileOutboundIPs outboundIPs()
      Get the outboundIPs property: Desired outbound IP resources for Azure Spring Apps resource.
      Returns:
      the outboundIPs value.
    • requiredTraffics

      public List<RequiredTraffic> requiredTraffics()
      Get the requiredTraffics property: Required inbound or outbound traffics for Azure Spring Apps resource.
      Returns:
      the requiredTraffics value.
    • ingressConfig

      public IngressConfig ingressConfig()
      Get the ingressConfig property: Ingress configuration payload for Azure Spring Apps resource.
      Returns:
      the ingressConfig value.
    • withIngressConfig

      public NetworkProfile withIngressConfig(IngressConfig ingressConfig)
      Set the ingressConfig property: Ingress configuration payload for Azure Spring Apps resource.
      Parameters:
      ingressConfig - the ingressConfig value to set.
      Returns:
      the NetworkProfile object itself.
    • outboundType

      public String outboundType()
      Get the outboundType property: The egress traffic type of Azure Spring Apps VNet instances.
      Returns:
      the outboundType value.
    • withOutboundType

      public NetworkProfile withOutboundType(String outboundType)
      Set the outboundType property: The egress traffic type of Azure Spring Apps VNet instances.
      Parameters:
      outboundType - the outboundType value to set.
      Returns:
      the NetworkProfile object itself.
    • validate

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