你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CloudServiceNetworkProfile Class

Network Profile for the cloud service.

Inheritance
azure.mgmt.compute._serialization.Model
CloudServiceNetworkProfile

Constructor

CloudServiceNetworkProfile(*, load_balancer_configurations: List[_models.LoadBalancerConfiguration] | None = None, slot_type: str | _models.CloudServiceSlotType | None = None, swappable_cloud_service: _models.SubResource | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
load_balancer_configurations

List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.

slot_type

Slot type for the cloud service. Possible values are <br />``<br />Production<br />``<br />Staging<br />``<br /> If not specified, the default value is Production. Known values are: "Production" and "Staging".

swappable_cloud_service

The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.

Variables

Name Description
load_balancer_configurations

List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.

slot_type

Slot type for the cloud service. Possible values are <br />``<br />Production<br />``<br />Staging<br />``<br /> If not specified, the default value is Production. Known values are: "Production" and "Staging".

swappable_cloud_service

The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.