src/ServiceManagement/ServiceManagementRestProxy.php
private function _getRoleInstancePath($name, GetDeploymentOptions $options, $roleName)
    {
        $path = $this->_getDeploymentPath($name, $options).'/roleinstances';

        return "$path/$roleName";
    }
private function _getRoleInstancePath($name, GetDeploymentOptions $options, $roleName)
    {
        $path = $this->_getDeploymentPath($name, $options).'/roleinstances';

        return "$path/$roleName";
    }
private function _getRoleInstancePath ( $ name , GetDeploymentOptions $ options , $ roleName ) { $ path = $ this -> _getDeploymentPath ( $ name , $ options ) . '/roleinstances' ; return "$path/$roleName" ; }
Gets role instance path.

@param string               $name     The hosted service name
@param GetDeploymentOptions $options  The get deployment options
@param string               $roleName The role instance name

@return string
Gets role instance path .