def create_namespace(self, name, region):
        '''
        Create a new service bus namespace.

        name: Name of the service bus namespace to create.
        region: Region to create the namespace in.
        '''
        _validate_not_none('name', name)
        return self._perform_put(self._get_path('services/serviceBus/Namespaces', name),
                                 _ServiceBusManagementXmlSerializer.namespace_to_xml(name, region));
    def create_namespace(self, name, region):
        '''
        Create a new service bus namespace.

        name: Name of the service bus namespace to create.
        region: Region to create the namespace in.
        '''
        _validate_not_none('name', name)
        return self._perform_put(
            self._get_path('services/serviceBus/Namespaces', name),
            _ServiceBusManagementXmlSerializer.namespace_to_xml(name, region))
    def create_namespace(self, name, region):
        """
        Create a new service bus namespace.

        name:
            Name of the service bus namespace to create.
        region:
            Region to create the namespace in.
        """
        _validate_not_none("name", name)

        return self._perform_put(
            self._get_path("services/serviceBus/Namespaces", name),
            _ServiceBusManagementXmlSerializer.namespace_to_xml(region),
        )