Share via


CloudServiceNetworkProfile Class

Definition

Network Profile for the cloud service.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.CloudServiceNetworkProfileTypeConverter))]
public class CloudServiceNetworkProfile : Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.ICloudServiceNetworkProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.CloudServiceNetworkProfileTypeConverter))>]
type CloudServiceNetworkProfile = class
    interface ICloudServiceNetworkProfile
    interface IJsonSerializable
Public Class CloudServiceNetworkProfile
Implements ICloudServiceNetworkProfile
Inheritance
CloudServiceNetworkProfile
Attributes
Implements

Constructors

CloudServiceNetworkProfile()

Creates an new CloudServiceNetworkProfile instance.

Properties

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

Slot type for the cloud service. Possible values are

Production

Staging

If not specified, the default value is Production.

SwappableCloudService

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CloudServiceNetworkProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CloudServiceNetworkProfile.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20220904.ICloudServiceNetworkProfile.

FromJsonString(String)

Creates a new instance of CloudServiceNetworkProfile, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CloudServiceNetworkProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to