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

CloudServiceNetworkProfile 类

定义

云服务的网络配置文件。

public class CloudServiceNetworkProfile
type CloudServiceNetworkProfile = class
Public Class CloudServiceNetworkProfile
继承
CloudServiceNetworkProfile

构造函数

CloudServiceNetworkProfile()

初始化 CloudServiceNetworkProfile 类的新实例。

CloudServiceNetworkProfile(IList<LoadBalancerConfiguration>, String, SubResource)

初始化 CloudServiceNetworkProfile 类的新实例。

CloudServiceNetworkProfile(IList<LoadBalancerConfiguration>, SubResource)

初始化 CloudServiceNetworkProfile 类的新实例。

属性

LoadBalancerConfigurations

获取或设置负载均衡器配置的列表。 云服务最多可以有两个负载均衡器配置,对应于一个公共负载均衡器和一个内部负载均衡器。

SlotType

获取或设置可能的值,包括:“Production”、“Staging”

SwappableCloudService

获取或设置包含目标 IP 的云服务的 ID 引用,主题云服务可以与之执行交换。 此属性在设置后无法更新。 此 ID 引用的可交换云服务必须存在,否则将引发错误。

适用于