Share via


VMRoleIP [SPFSDK][VMROLE]

 

Applies To: Windows Azure Pack

The VMRoleIP object represents a load-balanced network adapter.

Syntax

{
    "NetworkAdapterName": "String",
    "LoadbalancerConfigurationName": "String",
    "VIP": "String"
}

Properties

Important

For more information about the Access column, see Property Access [SPFSDK][VMROLE].

Name

Type

Access

Description

NetworkAdapterName

String

R

The name of the network adapter defined in the the ResourceDefinition.

The full path to a ResourceDefinition network adapter is: ResourceDefinition.ResourceContainer.ContainerDefinition.NetworkProfile.NetworkAdapters.

LoadbalancerConfigurationName

String

R

The name of the load balancer that the network adapter uses.

VIP

String

R

The IP address.

Remarks

The following code example provides a sample VMRoleIP object.

"VMRoleInstanceView": {
    "InstanceCount": "Integer",
    "ResolvedResourceDefinition": {},
    "VIPs": [
        {
            "NetworkAdapterName": "NetworkAdapterA",
            "LoadbalancerConfigurationName": "LoadBalancer1",
            "VIP": "1.0.0.1"
        },
        {
            "NetworkAdapterName": "NetworkAdapterB",
            "LoadbalancerConfigurationName": "LoadBalancer1",
            "VIP": "1.0.0.2"
        }

    ]
}

See Also

VMRoleInstanceView [SPFSDK][VMROLE]
VirtualMachineRole (Instance) [SPFSDK][VMROLE]
ResourceDefinition [SPFSDK][VMROLE]
VMRoleInstanceView [SPFSDK][VMROLE]
Property Access [SPFSDK][VMROLE]