@@ -183,6 +183,30 @@ def __init__(self, **kwargs):
183183 self .persistent_disk = kwargs .get ('persistent_disk' , None )
184184
185185
186+ class AvailableRuntimeVersions (Model ):
187+ """AvailableRuntimeVersions.
188+
189+ Variables are only populated by the server, and will be ignored when
190+ sending a request.
191+
192+ :ivar value: A list of all supported runtime versions.
193+ :vartype value:
194+ list[~azure.mgmt.appplatform.v2019_05_01_preview.models.SupportedRuntimeVersion]
195+ """
196+
197+ _validation = {
198+ 'value' : {'readonly' : True },
199+ }
200+
201+ _attribute_map = {
202+ 'value' : {'key' : 'value' , 'type' : '[SupportedRuntimeVersion]' },
203+ }
204+
205+ def __init__ (self , ** kwargs ):
206+ super (AvailableRuntimeVersions , self ).__init__ (** kwargs )
207+ self .value = None
208+
209+
186210class BindingResource (ProxyResource ):
187211 """Binding resource payload.
188212
@@ -725,20 +749,24 @@ class DeploymentInstance(Model):
725749 :vartype reason: str
726750 :ivar discovery_status: Discovery status of the deployment instance
727751 :vartype discovery_status: str
752+ :ivar start_time: Start time of the deployment instance
753+ :vartype start_time: str
728754 """
729755
730756 _validation = {
731757 'name' : {'readonly' : True },
732758 'status' : {'readonly' : True },
733759 'reason' : {'readonly' : True },
734760 'discovery_status' : {'readonly' : True },
761+ 'start_time' : {'readonly' : True },
735762 }
736763
737764 _attribute_map = {
738765 'name' : {'key' : 'name' , 'type' : 'str' },
739766 'status' : {'key' : 'status' , 'type' : 'str' },
740767 'reason' : {'key' : 'reason' , 'type' : 'str' },
741768 'discovery_status' : {'key' : 'discoveryStatus' , 'type' : 'str' },
769+ 'start_time' : {'key' : 'startTime' , 'type' : 'str' },
742770 }
743771
744772 def __init__ (self , ** kwargs ):
@@ -747,6 +775,7 @@ def __init__(self, **kwargs):
747775 self .status = None
748776 self .reason = None
749777 self .discovery_status = None
778+ self .start_time = None
750779
751780
752781class DeploymentResource (ProxyResource ):
@@ -859,13 +888,16 @@ class DeploymentSettings(Model):
859888 :type memory_in_gb: int
860889 :param jvm_options: JVM parameter
861890 :type jvm_options: str
891+ :param net_core_main_entry_path: The path to the .NET executable relative
892+ to zip root
893+ :type net_core_main_entry_path: str
862894 :param instance_count: Instance count, basic tier should be in range (1,
863895 25), standard tier should be in range (1, 500). Default value: 1 .
864896 :type instance_count: int
865897 :param environment_variables: Collection of environment variables
866898 :type environment_variables: dict[str, str]
867899 :param runtime_version: Runtime version. Possible values include:
868- 'Java_8', 'Java_11'
900+ 'Java_8', 'Java_11', 'NetCore_31'
869901 :type runtime_version: str or
870902 ~azure.mgmt.appplatform.v2019_05_01_preview.models.RuntimeVersion
871903 """
@@ -874,6 +906,7 @@ class DeploymentSettings(Model):
874906 'cpu' : {'key' : 'cpu' , 'type' : 'int' },
875907 'memory_in_gb' : {'key' : 'memoryInGB' , 'type' : 'int' },
876908 'jvm_options' : {'key' : 'jvmOptions' , 'type' : 'str' },
909+ 'net_core_main_entry_path' : {'key' : 'netCoreMainEntryPath' , 'type' : 'str' },
877910 'instance_count' : {'key' : 'instanceCount' , 'type' : 'int' },
878911 'environment_variables' : {'key' : 'environmentVariables' , 'type' : '{str}' },
879912 'runtime_version' : {'key' : 'runtimeVersion' , 'type' : 'str' },
@@ -884,6 +917,7 @@ def __init__(self, **kwargs):
884917 self .cpu = kwargs .get ('cpu' , 1 )
885918 self .memory_in_gb = kwargs .get ('memory_in_gb' , 1 )
886919 self .jvm_options = kwargs .get ('jvm_options' , None )
920+ self .net_core_main_entry_path = kwargs .get ('net_core_main_entry_path' , None )
887921 self .instance_count = kwargs .get ('instance_count' , 1 )
888922 self .environment_variables = kwargs .get ('environment_variables' , None )
889923 self .runtime_version = kwargs .get ('runtime_version' , None )
@@ -1174,6 +1208,9 @@ def __init__(self, **kwargs):
11741208class NetworkProfile (Model ):
11751209 """Service network profile payload.
11761210
1211+ Variables are only populated by the server, and will be ignored when
1212+ sending a request.
1213+
11771214 :param service_runtime_subnet_id: Fully qualified resource Id of the
11781215 subnet to host Azure Spring Cloud Service Runtime
11791216 :type service_runtime_subnet_id: str
@@ -1188,14 +1225,23 @@ class NetworkProfile(Model):
11881225 :param app_network_resource_group: Name of the resource group containing
11891226 network resources of Azure Spring Cloud Apps
11901227 :type app_network_resource_group: str
1228+ :ivar outbound_ips: Desired outbound IP resources for Azure Spring Cloud
1229+ instance.
1230+ :vartype outbound_ips:
1231+ ~azure.mgmt.appplatform.v2019_05_01_preview.models.NetworkProfileOutboundIPs
11911232 """
11921233
1234+ _validation = {
1235+ 'outbound_ips' : {'readonly' : True },
1236+ }
1237+
11931238 _attribute_map = {
11941239 'service_runtime_subnet_id' : {'key' : 'serviceRuntimeSubnetId' , 'type' : 'str' },
11951240 'app_subnet_id' : {'key' : 'appSubnetId' , 'type' : 'str' },
11961241 'service_cidr' : {'key' : 'serviceCidr' , 'type' : 'str' },
11971242 'service_runtime_network_resource_group' : {'key' : 'serviceRuntimeNetworkResourceGroup' , 'type' : 'str' },
11981243 'app_network_resource_group' : {'key' : 'appNetworkResourceGroup' , 'type' : 'str' },
1244+ 'outbound_ips' : {'key' : 'outboundIPs' , 'type' : 'NetworkProfileOutboundIPs' },
11991245 }
12001246
12011247 def __init__ (self , ** kwargs ):
@@ -1205,6 +1251,30 @@ def __init__(self, **kwargs):
12051251 self .service_cidr = kwargs .get ('service_cidr' , None )
12061252 self .service_runtime_network_resource_group = kwargs .get ('service_runtime_network_resource_group' , None )
12071253 self .app_network_resource_group = kwargs .get ('app_network_resource_group' , None )
1254+ self .outbound_ips = None
1255+
1256+
1257+ class NetworkProfileOutboundIPs (Model ):
1258+ """Desired outbound IP resources for Azure Spring Cloud instance.
1259+
1260+ Variables are only populated by the server, and will be ignored when
1261+ sending a request.
1262+
1263+ :ivar public_ips: A list of public IP addresses.
1264+ :vartype public_ips: list[str]
1265+ """
1266+
1267+ _validation = {
1268+ 'public_ips' : {'readonly' : True },
1269+ }
1270+
1271+ _attribute_map = {
1272+ 'public_ips' : {'key' : 'publicIPs' , 'type' : '[str]' },
1273+ }
1274+
1275+ def __init__ (self , ** kwargs ):
1276+ super (NetworkProfileOutboundIPs , self ).__init__ (** kwargs )
1277+ self .public_ips = None
12081278
12091279
12101280class OperationDetail (Model ):
@@ -1702,6 +1772,34 @@ def __init__(self, **kwargs):
17021772 self .scale_type = kwargs .get ('scale_type' , None )
17031773
17041774
1775+ class SupportedRuntimeVersion (Model ):
1776+ """Supported deployment runtime version descriptor.
1777+
1778+ :param value: The raw value which could be passed to deployment CRUD
1779+ operations. Possible values include: 'Java_8', 'Java_11', 'NetCore_31'
1780+ :type value: str or
1781+ ~azure.mgmt.appplatform.v2019_05_01_preview.models.SupportedRuntimeValue
1782+ :param platform: The platform of this runtime version (possible values:
1783+ "Java" or ".NET"). Possible values include: 'Java', '.NET Core'
1784+ :type platform: str or
1785+ ~azure.mgmt.appplatform.v2019_05_01_preview.models.SupportedRuntimePlatform
1786+ :param version: The detailed version (major.minor) of the platform.
1787+ :type version: str
1788+ """
1789+
1790+ _attribute_map = {
1791+ 'value' : {'key' : 'value' , 'type' : 'str' },
1792+ 'platform' : {'key' : 'platform' , 'type' : 'str' },
1793+ 'version' : {'key' : 'version' , 'type' : 'str' },
1794+ }
1795+
1796+ def __init__ (self , ** kwargs ):
1797+ super (SupportedRuntimeVersion , self ).__init__ (** kwargs )
1798+ self .value = kwargs .get ('value' , None )
1799+ self .platform = kwargs .get ('platform' , None )
1800+ self .version = kwargs .get ('version' , None )
1801+
1802+
17051803class TemporaryDisk (Model ):
17061804 """Temporary disk payload.
17071805
@@ -1800,7 +1898,7 @@ class UserSourceInfo(Model):
18001898 """Source information for a deployment.
18011899
18021900 :param type: Type of the source uploaded. Possible values include: 'Jar',
1803- 'Source'
1901+ 'NetCoreZip', ' Source'
18041902 :type type: str or
18051903 ~azure.mgmt.appplatform.v2019_05_01_preview.models.UserSourceType
18061904 :param relative_path: Relative path of the storage which stores the source
0 commit comments