CloudServiceNetworkProfile Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CloudServiceNetworkProfile() |
Initializes a new instance of the CloudServiceNetworkProfile class. |
CloudServiceNetworkProfile(IList<LoadBalancerConfiguration>, SubResource) |
Initializes a new instance of the CloudServiceNetworkProfile class. |
CloudServiceNetworkProfile(IList<LoadBalancerConfiguration>, String, SubResource) |
Initializes a new instance of the CloudServiceNetworkProfile class. |
CloudServiceNetworkProfile()
Initializes a new instance of the CloudServiceNetworkProfile class.
public CloudServiceNetworkProfile ();
Public Sub New ()
Applies to
CloudServiceNetworkProfile(IList<LoadBalancerConfiguration>, SubResource)
Initializes a new instance of the CloudServiceNetworkProfile class.
public CloudServiceNetworkProfile (System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.LoadBalancerConfiguration> loadBalancerConfigurations, Microsoft.Azure.Management.Compute.Models.SubResource swappableCloudService);
new Microsoft.Azure.Management.Compute.Models.CloudServiceNetworkProfile : System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.LoadBalancerConfiguration> * Microsoft.Azure.Management.Compute.Models.SubResource -> Microsoft.Azure.Management.Compute.Models.CloudServiceNetworkProfile
Public Sub New (loadBalancerConfigurations As IList(Of LoadBalancerConfiguration), swappableCloudService As SubResource)
Parameters
- loadBalancerConfigurations
- IList<LoadBalancerConfiguration>
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.
- swappableCloudService
- SubResource
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.
Applies to
CloudServiceNetworkProfile(IList<LoadBalancerConfiguration>, String, SubResource)
Initializes a new instance of the CloudServiceNetworkProfile class.
public CloudServiceNetworkProfile (System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.LoadBalancerConfiguration> loadBalancerConfigurations = default, string slotType = default, Microsoft.Azure.Management.Compute.Models.SubResource swappableCloudService = default);
new Microsoft.Azure.Management.Compute.Models.CloudServiceNetworkProfile : System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.LoadBalancerConfiguration> * string * Microsoft.Azure.Management.Compute.Models.SubResource -> Microsoft.Azure.Management.Compute.Models.CloudServiceNetworkProfile
Public Sub New (Optional loadBalancerConfigurations As IList(Of LoadBalancerConfiguration) = Nothing, Optional slotType As String = Nothing, Optional swappableCloudService As SubResource = Nothing)
Parameters
- loadBalancerConfigurations
- IList<LoadBalancerConfiguration>
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.
- slotType
- String
Possible values include: 'Production', 'Staging'
- swappableCloudService
- SubResource
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.