Class NetworkProfile


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

      • NetworkProfile

        public NetworkProfile()
    • Method Detail

      • serviceRuntimeSubnetId

        public String serviceRuntimeSubnetId()
        Get the serviceRuntimeSubnetId property: Fully qualified resource Id of the subnet to host Azure Spring Cloud 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 Cloud 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 Azure Spring Cloud Apps.
        Returns:
        the appSubnetId value.
      • withAppSubnetId

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

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

        public NetworkProfile withServiceCidr​(String serviceCidr)
        Set the serviceCidr property: Azure Spring Cloud 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 Cloud 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 Cloud 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 of Azure Spring Cloud Apps.
        Returns:
        the appNetworkResourceGroup value.
      • withAppNetworkResourceGroup

        public NetworkProfile withAppNetworkResourceGroup​(String appNetworkResourceGroup)
        Set the appNetworkResourceGroup property: Name of the resource group containing network resources of Azure Spring Cloud 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 Cloud instance.
        Returns:
        the outboundIPs value.
      • requiredTraffics

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

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