public function setServiceProperties(
        ServiceProperties $serviceProperties,
        ServiceOptions $options = null
    ) {
        $this->setServicePropertiesAsync($serviceProperties, $options)->wait();
    }